CN112965978B - Method and device for confirming relationship between passengers and pedestrians, electronic equipment and storage medium - Google Patents

Method and device for confirming relationship between passengers and pedestrians, electronic equipment and storage medium Download PDF

Info

Publication number
CN112965978B
CN112965978B CN202110259369.4A CN202110259369A CN112965978B CN 112965978 B CN112965978 B CN 112965978B CN 202110259369 A CN202110259369 A CN 202110259369A CN 112965978 B CN112965978 B CN 112965978B
Authority
CN
China
Prior art keywords
passenger
flight
information
passengers
relationship
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110259369.4A
Other languages
Chinese (zh)
Other versions
CN112965978A (en
Inventor
蔡盛
刘艳芳
聂盼盼
王帅
乔玉洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Travelsky Technology Co Ltd
Original Assignee
China Travelsky Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Technology Co Ltd filed Critical China Travelsky Technology Co Ltd
Priority to CN202110259369.4A priority Critical patent/CN112965978B/en
Publication of CN112965978A publication Critical patent/CN112965978A/en
Application granted granted Critical
Publication of CN112965978B publication Critical patent/CN112965978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Computational Linguistics (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method, a device, electronic equipment and a storage medium for confirming the relationship between passengers and pedestrians, wherein the method comprises the following steps: when the real-time passenger panoramic information corresponding to the passenger is changed, obtaining a passenger identity identification number ID of the unique identification passenger based on the acquired passenger identity information and the passenger historical riding data; acquiring a passenger-to-flight information group of all passengers on a corresponding flight in the process of changing the flight state into the arrival state; based on the historical passenger-to-flight information group stored in the data table, calculating the number of passengers containing the same passenger ID combination to flight information; and if the number is more than or equal to 2, determining that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship. In the scheme, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, so that the aim of optimizing the traveling experience of the passengers based on the confirmed relationship between the passengers and the pedestrians is fulfilled.

Description

Method and device for confirming relationship between passengers and pedestrians, electronic equipment and storage medium
Technical Field
The present invention relates to the field of government data service technologies, and in particular, to a method and apparatus for confirming a passenger's relationship, an electronic device, and a storage medium.
Background
At present, when passengers take a plane to go out, the relationship between the passengers and the passengers is very important passenger behavior data.
In the prior art, the relationship of passengers and pedestrians is generally based on the same flight and pedestrians, and when new reservations are generated for passengers, more targeted and more focused services cannot be provided at different reservation stages of the passengers according to the existing relationship of the passengers and pedestrians, and the traveling experience of the passengers cannot be optimized.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a method, a device, an electronic device and a storage medium for confirming the relationship between a passenger and a pedestrian, so as to achieve the purpose of optimizing the travel experience of the passenger.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
the first aspect of the embodiment of the invention discloses a method for confirming the relationship between a passenger and a pedestrian, which comprises the following steps:
when the real-time passenger panoramic information corresponding to the passenger is changed, acquiring the passenger data and the passenger history passenger data of the passenger, and acquiring a passenger identity identification number ID of a uniquely identified passenger based on the passenger identity information and the passenger history passenger data;
acquiring a passenger-to-flight information group corresponding to all passengers on the flight in the process of changing the flight state of the flight from a take-off state to an arrival state, and storing the passenger-to-flight information group in a data table, wherein the passenger-to-flight information group consists of a passenger ID combination and flight information;
Based on the historical passenger pair flight information group stored in the data table, calculating the number of passengers comprising the same passenger ID combination to flight information;
and if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passengers corresponding to the passenger ID combination are passenger-passenger relationship.
Optionally, after determining that the passenger corresponding to the passenger ID number combination is a passenger of the same passenger, the method further includes:
acquiring navigation information of the fellow passenger, wherein the navigation information comprises passenger information, fellow flight leg information, seat information, luggage information and each trip target label;
and storing the navigation information of the fellow passenger in a pre-established historical travel fellow passenger relationship result table.
Optionally, the method further comprises:
acquiring a query request, wherein the query request comprises a passenger ID and query conditions;
and inquiring the historical travel peer relationship result table based on the inquiry request to obtain peer information meeting inquiry conditions.
Optionally, the method further comprises:
acquiring an expansion request, wherein the expansion request comprises a passenger ID and pedestrian information change or new information;
and changing or newly adding the peer information corresponding to the passenger ID stored in the historical travel peer relationship result table based on the expansion request.
Optionally, in the process that the flight status of the flight is changed from the take-off status to the arrival status, the passenger-to-flight information set corresponding to all passengers on the flight is obtained and stored in a data table, including:
acquiring the passenger IDs of all passengers on the flight in the process of changing the flight state of the flight from the take-off state to the arrival state, and sequencing all the passenger IDs;
based on the sorting, carrying out pairwise permutation and combination on all the passenger IDs to obtain a passenger pair;
combining each passenger pair with the flight information of the flight by adopting a key-value pair mode to obtain passenger pair flight information, and integrating all the passenger pair flight information to obtain a passenger pair flight information group, wherein the passenger pair is used as a key, the flight information is used as a value, and the passenger pair flight information group is a key-value information group;
the key-value information set is stored in a data table in a key-value to key-value manner.
The second aspect of the embodiment of the invention discloses a device for confirming the relationship between a passenger and a pedestrian, which comprises the following components:
the first processing module is used for acquiring the riding data and the historical riding data of the passengers when the real-time panoramic information of the passengers corresponding to the passengers is changed, and acquiring the ID of the passenger identification number for uniquely identifying the passengers based on the passenger identification information and the historical riding data of the passengers;
The second processing module is used for acquiring a passenger-to-flight information group corresponding to all passengers on the flight in the process that the flight state of the flight is changed from a take-off state to an arrival state, and storing the passenger-to-flight information group in a data table, wherein the passenger-to-flight information group is composed of a passenger ID combination and flight information;
the calculation module is used for calculating the number of the passengers comprising the same passenger ID combination and the flight information based on the historical passenger pair flight information group stored in the data table;
and the determining module is used for determining that the passengers corresponding to the passenger ID combination are passenger co-workers if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2.
Optionally, the method further comprises: a storage module;
the storage module is used for acquiring the navigation information of the fellow passenger, wherein the navigation information comprises passenger information, fellow flight navigation section information, seat information, luggage information and each trip target label, and the navigation information of the fellow passenger is stored in a pre-established historical trip fellow passenger relationship result table.
Optionally, the method further comprises: a query module;
the query module is used for obtaining a query request, wherein the query request comprises a passenger ID and query conditions, and based on the query request, the historical travel peer relationship result table is queried to obtain peer information meeting the query conditions.
The third aspect of the embodiment of the invention discloses an electronic device, which is used for running a program, wherein the program runs to execute the method for confirming the relationship between the passenger and the pedestrian, which is disclosed in the first aspect of the embodiment of the invention.
The fourth aspect of the embodiment of the invention discloses a computer storage medium, which comprises a program for confirming the relationship between passengers and pedestrians, wherein the program realizes the method for confirming the relationship between passengers and pedestrians, which is disclosed in the first aspect of the embodiment of the invention, when being executed by a processor.
Based on the above method, device, electronic device and storage medium for confirming the relationship between passengers and pedestrians, provided by the embodiment of the invention, the confirming method comprises the following steps: when the real-time passenger panoramic information corresponding to the passenger is changed, acquiring the passenger data and the passenger history passenger data of the passenger, and acquiring a passenger identity identification number ID of a uniquely identified passenger based on the passenger identity information and the passenger history passenger data; acquiring a passenger-to-flight information group corresponding to all passengers on the flight in the process of changing the flight state of the flight from a take-off state to an arrival state, and storing the passenger-to-flight information group in a data table, wherein the passenger-to-flight information group consists of a passenger ID combination and flight information; based on the historical passenger pair flight information group stored in the data table, calculating the number of passengers comprising the same passenger ID combination to flight information; and if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passengers corresponding to the passenger ID combination are passenger-passenger relationship. In the scheme, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, so that the aim of optimizing the traveling experience of the passengers based on the confirmed relationship between the passengers and the pedestrians is fulfilled.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for confirming a relationship between a passenger and a pedestrian according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a passenger to a flight information group for acquiring a flight with a flight status of up to the status according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another method for confirming a relationship between a passenger and a pedestrian according to an embodiment of the present invention;
fig. 4 is a flowchart of another method for confirming a passenger's peer relationship according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for confirming a passenger's relationship according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for confirming a relationship between a passenger and a pedestrian according to an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of another device for confirming a relationship between a passenger and a pedestrian according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a structure for confirming a relationship between a passenger and a pedestrian according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As known from the background art, when a new reservation is generated for a passenger, more targeted and more focused services cannot be provided at different reservation stages of the passenger according to the existing relation between the passenger and the pedestrian, and the travel experience of the passenger cannot be optimized.
Therefore, the embodiment of the invention provides a method, a device, electronic equipment and a storage medium for confirming the relationship between passengers and pedestrians.
Referring to fig. 1, a flow chart of a method for confirming a relationship between a passenger and a pedestrian provided by an embodiment of the present invention is shown, where the method for confirming a relationship between a passenger and a pedestrian includes the following steps:
step S101: when the real-time passenger panoramic information corresponding to the passenger is changed, passenger taking data and passenger history taking data of the passenger are obtained, and a passenger identity identification number (Identity Document, ID) for uniquely identifying the passenger is obtained based on the passenger identity information and the passenger history taking data.
In step S101, when a passenger goes out by using a plurality of identity documents, the passenger is identified as the same person, and the passenger is fused into a passenger identification number ID, which uniquely identifies the passenger.
The real-time passenger panoramic information comprises preset information, ticket outlet information, security check information and check-in and check-out information, wherein the preset information comprises preset time, preset agent information, flight section information, passenger personal information and the like, the ticket outlet information comprises ticket numbers, payment information, continuous ticket information and the like, the security check information comprises security check time, security check channels, whether the passenger passes through the security check channel and the like, and the check-in and check-out information comprises check-out flight information, check-in and check-out modes and the like.
In step S101, the real-time passenger panoramic information corresponding to the passenger is obtained in advance, and the specific obtaining process includes the following steps:
step S11: and in the process of the reservation of the passengers, if a new passenger journey change is monitored, triggering the host real-time data acquisition system to generate a real-time message, and pushing the real-time message to the big data platform.
In step S11, the messages may be classified into a seat reservation message, a ticket message, a passenger departure check-out message, a flight change message, etc. according to the service type.
The message is pushed by the passenger with a change in journey, for example: new seats, seat changes, passenger check-in changes, flight status changes, etc.
Real-time messages are pushed to the large data platform at a response rate on the order of milliseconds.
In the specific implementation process of step S11, in the process of the passenger reservation riding, once a new passenger journey change is monitored, the host real-time data acquisition system is triggered to generate a real-time message, and the real-time message is pushed to the big data platform.
Step S12: and the real-time data processing operation of the big data platform updates the passenger riding data and the latest state of the flight in real time according to the type and the content of the message.
In the specific implementation process of step S12, the passenger boarding data and the latest state of the flight are updated in real time according to the type and the message content of the message pushed to the big data platform by the real-time data processing operation of the big data platform.
For example: the message type is seat reservation message, the message content is changed from original seat number 36A to 45A, and the real-time data processing operation of the big data platform updates the passenger riding data and the latest state of the flight in real time according to the seat reservation message and the seat numbers before and after the change.
Step S13: and updating the riding data of the passengers in real time based on the latest message combination, and generating real-time passenger panoramic information.
In step S13, the combination of the messages generally includes passenger reservation information, flight information, responsibility agency, deck, passenger identity information, etc., wherein the passenger reservation information includes reservation time, flight information, tax information, product code, etc., and the passenger boarding information includes flight information, passenger identity information, boarding channel, etc.
In the specific implementation step S13, the riding data of the passengers are updated in real time according to the latest message combination, and real-time passenger panoramic information is generated.
For example: and (3) forming the latest message combination based on the seat reservation message and the seat numbers before and after the change in the step (S12), updating the riding data of the passengers in real time according to the formed latest message combination, and generating the panoramic information of the passengers.
In the embodiment of the invention, the real-time passenger riding data is real-time data based on a booking system, a ticket system and an departure system.
In the specific implementation step S101, in the process of reserving the passenger, if the real-time passenger panoramic information corresponding to the passenger is detected to be changed, passenger riding data and passenger history riding data are acquired, and based on the acquired passenger riding data and passenger history riding data, a passenger identity identification number ID uniquely identifying the passenger is obtained according to the identity information of the passenger and the passenger history riding data.
Step S102: and in the process of changing the flight state of the flight from the take-off state to the arrival state, acquiring the passenger-to-flight information sets of all passengers on the corresponding flight, and storing the passenger-to-flight information sets in a data table.
In step S102, the passenger-to-flight information group is composed of a passenger ID combination and flight information.
The passenger-to-flight information group is composed of a plurality of pieces of passenger-to-flight information, and each piece of passenger-to-flight information is composed of two passenger ID numbers and flight information.
The flight information includes a flight date, an airline two-code, a flight number, an departure airport IATA three-code, and an arrival airport IATA three-code.
For example: the flight date of a certain flight is 20200305, the flight number is XY003, the departure airport is AAA, and the arrival airport is BBB.
In the specific implementation process of step S102, in the process of changing the flight status of the flight from the departure status to the arrival status, that is, when all passengers on the flight have completed the journey, the passenger-to-flight information sets of all passengers on the corresponding flight are acquired, and all the passenger-to-flight information sets are stored in the data table.
Optionally, in the step S102, in the process of changing the flight status of the flight from the take-off status to the arrival status, a process of acquiring the passenger-to-flight information set corresponding to all passengers on the flight and storing the passenger-to-flight information set in a data table is referred to fig. 2, which shows a flow chart of acquiring the passenger-to-flight information set of the flight with the arrival status according to the embodiment of the present invention, specifically including the following steps:
Step S201: and in the process of changing the flight state of the flight from the take-off state to the arrival state, acquiring the passenger IDs of all passengers on the flight, and sequencing all the passenger IDs.
In step S201, all passenger IDs are ordered in the order of the alphabet from a to Z, that is, in ascending order. Alternatively, the arrangement may be performed in a reverse order.
In the specific implementation step S201, in the process of changing the flight status of the flight from the take-off status to the arrival status, that is, when all passengers on the flight have completed the journey, the passenger IDs of all the passengers on the flight are obtained, and the ascending order of all the passenger IDs is performed.
For example, three passengers may be on a flight, their passenger IDs are B, A, C, and the passenger IDs of the three passengers are ranked in ascending order, resulting in a ranking of ABC.
In the embodiment of the present invention, the passenger IDs of the three passengers may be arranged in descending order, and the obtained order is CBA.
It should be noted that, the order of sorting the passenger IDs is not limited to the sorting order disclosed in the above embodiment of the present invention, and may be set by a technician based on the technical requirements.
Step S202: and (5) carrying out pairwise permutation and combination on all the passenger IDs based on the sequencing to obtain a passenger pair.
In the specific implementation process of step S202, all the passenger IDs are arranged and combined in pairs according to the obtained sorting order, so as to obtain corresponding passenger pairs.
For example: based on the order ABC of ascending sort of passenger IDs in step S201 described above, three passenger pairs AB, AC, BC are generated.
Step S203: and combining the flight information of each passenger pair and the flights by adopting a key-value pair mode to obtain the passenger pair flight information, and integrating all the passenger pair flight information to obtain a passenger pair flight information group.
In the embodiment of the invention, the big data platform is Hbase storage and uses a key-value storage structure.
In step S203, the passenger pair is used as a key, the flight information is used as a value, and the passenger pair flight information group is a key-value information group.
In the specific implementation process of step S203, under the condition that each passenger pair is obtained, combining the obtained passenger pair with the flight information of the flight by adopting a key-value pair key-value mode, obtaining the passenger pair flight information, and integrating all the passenger pair flight information to obtain the passenger pair flight information group.
For example: the flight date of a certain FLT-01 flight is 20200101, the flight number is XX001, the departure airport is YYY, the arrival airport is ZZZ, and the flight information can be combined into 20200101-XX001-YYY-ZZZ.
Three passengers are arranged on the FLT-01 flight, the ID of each passenger is A, B and C, and ascending sequencing is carried out to obtain three passenger pairs of AB, AC and BC.
And combining the flight information of each passenger pair with the flight by adopting a key-value pair key-value mode to obtain the passenger pair flight information, as shown in table 1.
Table 1:
key value
AB 20200101-XX001-YYY-ZZZ
AC 20200101-XX001-YYY-ZZZ
BC 20200101-XX001-YYY-ZZZ
also for example: the flight date of a certain FLT-02 flight is 20200201, the flight number is YY001, the departure airport is EEE, the arrival airport is FFF, and the flight information can be combined into 20200201-YY001-EEE-FFF.
Three passengers are arranged on the FLT-02 flight, the ID of each passenger is B, C and D, and ascending sequencing is carried out to obtain three passenger pairs of BC, BD and CD.
And combining the flight information of each passenger pair and the flight by adopting a key-value pair mode to obtain the passenger pair flight information, as shown in table 2.
Table 2:
key value
BC 20200201-YY001-EEE-FFF
BD 20200201-YY001-EEE-FFF
CD 20200201-YY001-EEE-FFF
and integrating the passenger pair flight information of the FLT-01 and the FLT-02 together to obtain a passenger pair flight information set, namely a key-value information set, as shown in the table 3.
Table 3:
key value
AB 20200101-XX001-YYY-ZZZ
AC 20200101-XX001-YYY-ZZZ
BC 20200101-XX001-YYY-ZZZ
BC 20200201-YY001-EEE-FFF
BD 20200201-YY001-EEE-FFF
CD 20200201-YY001-EEE-FFF
alternatively, all of the vast to passenger pair flight information sets may be stored in an Hbase table.
Step S204: the key-value information sets are stored in the data table in a key-value to key-value manner.
In the process of specifically implementing step S204, when the key-value information set is obtained, the obtained key-value information set is stored in the data table in a key-value-to-key-value manner.
Step S103: based on the historical passenger-to-flight information group stored in the data table, the number of passenger-to-flight information containing the same passenger ID combination is calculated.
In the specific implementation step S103, the passenger pairs are grouped and summarized according to the key value based on the historical passenger pair flight information group stored in the data table, that is, the passenger pairs combined by the same passenger ID are grouped and summarized, and the number of values corresponding to the same key is calculated, that is, the number of times with the same journey is calculated.
Step S104: if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship.
Taking the example in step S203 as an example, the number of corresponding value pairs of BC passengers is 2, that is, BC is 2 times passed by the same passenger, that is, the B passenger and the C passenger are in a same-passenger relationship with each other, according to the data shown in table 3.
The method for confirming the relationship between the passengers and the pedestrians provided by the embodiment of the invention comprises the following steps: when the real-time passenger panoramic information corresponding to the passenger is changed, acquiring the passenger data and the passenger history passenger data of the passenger, and acquiring a passenger identity identification number ID of a uniquely identified passenger based on the passenger identity information and the passenger history passenger data; acquiring a passenger-to-flight information group corresponding to all passengers on the flight in the process of changing the flight state of the flight from a take-off state to an arrival state, and storing the passenger-to-flight information group in a data table, wherein the passenger-to-flight information group consists of a passenger ID combination and flight information; based on the historical passenger pair flight information group stored in the data table, calculating the number of passengers comprising the same passenger ID combination to flight information; and if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passengers corresponding to the passenger ID combination are passenger-passenger relationship. In the scheme, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, so that the aim of optimizing the traveling experience of the passengers based on the confirmed relationship between the passengers and the pedestrians is fulfilled.
Based on the above method for confirming the relationship between a passenger and a pedestrian shown in fig. 1 according to the embodiment of the present invention, referring to fig. 3, a flow chart of another method for confirming the relationship between a passenger and a pedestrian provided by the embodiment of the present invention is shown, which includes the following steps:
step S301: when the real-time passenger panoramic information corresponding to the passenger is changed, passenger taking data and passenger history taking data of the passenger are obtained, and a passenger identity identification number ID for uniquely identifying the passenger is obtained based on the passenger identity information and the passenger history taking data.
Step S302: and in the process of changing the flight state of the flight from the take-off state to the arrival state, acquiring the passenger-to-flight information sets of all passengers on the corresponding flight, and storing the passenger-to-flight information sets in a data table.
Step S303: based on the historical passenger-to-flight information group stored in the data table, the number of passenger-to-flight information containing the same passenger ID combination is calculated.
Step S304: if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship.
The specific execution process of step S301 to step S304 is the same as that of step S101 to step S104 disclosed in fig. 1, and specific reference is made to the description thereof.
Step S305: and acquiring navigation information of the fellow passengers.
In step S305, the travel information includes passenger information, travel section information of flights in the same class, seat information, baggage information, and each trip target tag.
In the specific implementation process of step S305, in the case where it is determined that the passenger corresponding to the passenger ID number combination is a co-passenger, navigation information of the co-passenger is acquired based on the determined passenger ID number combination.
Step S306: and storing the navigation information of the fellow passenger in a pre-established historical travel fellow passenger relationship result table.
In the specific implementation process of step S306, a history travel co-traveler relationship result table is pre-established, and the acquired navigation information of the co-traveler is stored in the table.
Alternatively, in combination with the example in step S203, the B-passengers in the B-passenger and the C-passenger, which are in a co-passenger relationship with each other, may be stored in a manner such that the co-passenger relationship of the BC-passengers is integrated as shown in table 4.
Table 4:
alternatively, the massive passenger co-worker relationship may be stored in a pre-established historical travel co-worker relationship result table in a storage manner shown in table 4.
According to the method for confirming the relationship between the passengers and the pedestrians, which is provided by the embodiment of the invention, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, and the obtained relationship between the passengers and the pedestrians is stored in the historical travel relationship result table according to a set storage mode, so that the traveling experience of the passengers is optimized by using the confirmed relationship between the passengers and the pedestrians in the follow-up process.
Based on the above-mentioned method for confirming the pedestrian relationship shown in fig. 1 and 3 according to the embodiment of the present invention, referring to fig. 4, a flowchart of another method for confirming the pedestrian relationship provided by the embodiment of the present invention is shown, including the following steps:
step S401: when the real-time passenger panoramic information corresponding to the passenger is changed, passenger taking data and passenger history taking data of the passenger are obtained, and a passenger identity identification number ID for uniquely identifying the passenger is obtained based on the passenger identity information and the passenger history taking data.
Step S402: and in the process of changing the flight state of the flight from the take-off state to the arrival state, acquiring the passenger-to-flight information sets of all passengers on the corresponding flight, and storing the passenger-to-flight information sets in a data table.
Step S403: based on the historical passenger-to-flight information group stored in the data table, the number of passenger-to-flight information containing the same passenger ID combination is calculated.
Step S404: if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship.
The specific execution process of step S401 to step S404 is the same as step S101 to step S104 disclosed in fig. 1, and specific reference is made to the description thereof.
Step S405: and acquiring navigation information of the fellow passengers.
Step S406: and storing the navigation information of the fellow passenger in a pre-established historical travel fellow passenger relationship result table.
The specific execution process of step S405 to step S406 is the same as that of step S305 to step S306 disclosed in fig. 3, and is specifically referred to herein and will not be repeated.
Step S407: a query request is obtained.
Wherein the query request includes the passenger ID and the query condition.
In the embodiment of the invention, the query condition can be a user requirement or a specific requirement.
In the specific implementation process of step S407, certain conditions are designated according to the user requirements to query the peer relationship, for example, the peer information of the seat close, the peer information of the travel purpose for business travel, the peer information of the travel purpose for travel, etc. may be queried, or certain travel characteristics or passenger labels may be supplemented to the history travel peer relationship result table according to the specific requirements, and the query conditions are diversified, which is not limited herein.
Step S408: based on the query request, the historical travel peer relationship result table is queried, and peer information meeting the query condition is obtained.
In the specific implementation process of step S408, the peer information of the peer passengers stored in the history travel peer-to-peer relationship result table is queried based on the query condition, and peer information satisfying the query condition is obtained.
According to the method for confirming the relationship between the passengers and the pedestrians, which is provided by the embodiment of the invention, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, the obtained relationship between the passengers and the pedestrians is stored in the historical travel relationship result table according to a set storage mode, the relationship between the passengers and the pedestrians is inquired based on the user demand or specific inquiry conditions in the follow-up process, and the aim of optimizing the traveling experience of the passengers is further realized based on the inquiry result.
Based on the above-mentioned method for confirming the relationship between passengers and pedestrians shown in fig. 1, 3 and 4 according to the embodiment of the present invention, referring to fig. 5, a flowchart of another method for confirming the relationship between passengers and pedestrians provided by the embodiment of the present invention is shown, including the following steps:
step S501: when the real-time passenger panoramic information corresponding to the passenger is changed, passenger taking data and passenger history taking data of the passenger are obtained, and a passenger identity identification number ID for uniquely identifying the passenger is obtained based on the passenger identity information and the passenger history taking data.
Step S502: and in the process of changing the flight state of the flight from the take-off state to the arrival state, acquiring the passenger-to-flight information sets of all passengers on the corresponding flight, and storing the passenger-to-flight information sets in a data table.
Step S503: based on the historical passenger-to-flight information group stored in the data table, the number of passenger-to-flight information containing the same passenger ID combination is calculated.
Step S504: if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship.
The specific execution process of step S501 to step S504 is the same as that of step S101 to step S104 disclosed in fig. 1, and specific reference is made to the description thereof.
Step S505: and acquiring navigation information of the fellow passengers.
Step S506: and storing the navigation information of the fellow passenger in a pre-established historical travel fellow passenger relationship result table.
The specific execution process of step S505 to step S506 is the same as that of step S305 to step S306 disclosed in fig. 3, and specific reference is made to the description thereof.
Step S506: an expansion request is obtained.
Wherein the expansion request includes the passenger ID and the peer information change or newly-added information.
Step S507: based on the expansion request, the peer information corresponding to the passenger ID stored in the history travel peer relationship result table is changed or newly added.
In the specific implementation step S507, the passenger ID stored in the history travel passenger relationship result table is changed or newly added based on the passenger ID in the expansion condition, for example, other passenger behavior information, tag information, and the like are added.
Based on the method for confirming the relationship between the passengers and the pedestrians, which is provided by the embodiment of the invention, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, and the obtained relationship between the passengers and the pedestrians is stored in a historical travel relationship result table according to a set storage mode, so that conditions are provided for changing and newly adding the information of the passengers and the pedestrians subsequently. The aim of optimizing the travel experience of the passengers based on the confirmed passenger co-worker relationship is further achieved.
Corresponding to the method for confirming the relationship between passengers and pedestrians shown in fig. 1 in the above embodiment of the present invention, the embodiment of the present invention further correspondingly provides a device for confirming the relationship between passengers and pedestrians, referring to fig. 6, where the device includes: a first processing module 601, a second processing module 602, a computing module 603 and a determining module 604.
The first processing module 601 is configured to obtain boarding data and historical boarding data of a passenger when real-time panoramic information of the passenger corresponding to the passenger is changed, and obtain a passenger identity ID uniquely identifying the passenger based on the passenger identity information and the historical boarding data of the passenger.
The second processing module 602 is configured to obtain a passenger-to-flight information set of all passengers on the corresponding flight and store the passenger-to-flight information set in the data table during a process of changing the flight status of the flight from the take-off status to the arrival status.
Wherein, the passenger-to-flight information group is composed of a passenger ID combination and flight information.
Optionally, the second processing module 602 is specifically configured to: acquiring the passenger IDs of all passengers on the flight in the process of changing the flight state of the flight from the take-off state to the arrival state, and sequencing all the passenger IDs; based on the sorting, all the passenger IDs are arranged and combined pairwise to obtain a passenger pair; combining the flight information of each passenger pair with the flight by adopting a key-value pair mode to obtain passenger pair flight information, and integrating all the passenger pair flight information to obtain a passenger pair flight information group, wherein the passenger pair is used as a key, the flight information is used as a value, and the passenger pair flight information group is a key-value information group; the key-value information sets are stored in the data table in a key-value to key-value manner. A calculating module 603, configured to calculate the number of passengers including the same passenger ID combination for the flight information based on the historical passenger pair flight information group stored in the data table.
And the determining module 604 is configured to determine that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship if the number of passenger-to-flight information including the same passenger ID combination is greater than or equal to 2.
According to the device for confirming the relationship between the passenger and the pedestrian, which is provided by the embodiment of the invention, when the real-time passenger panoramic information corresponding to the passenger is changed, the riding data of the passenger and the historical riding data of the passenger are obtained, and the passenger identity identification number ID of the uniquely identified passenger is obtained based on the passenger identity information and the historical riding data of the passenger; acquiring a passenger-to-flight information group corresponding to all passengers on the flight in the process of changing the flight state of the flight from a take-off state to an arrival state, and storing the passenger-to-flight information group in a data table, wherein the passenger-to-flight information group consists of a passenger ID combination and flight information; based on the historical passenger pair flight information group stored in the data table, calculating the number of passengers comprising the same passenger ID combination to flight information; and if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passengers corresponding to the passenger ID combination are passenger-passenger relationship. In the scheme, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, so that the aim of optimizing the traveling experience of the passengers based on the confirmed relationship between the passengers and the pedestrians is fulfilled.
Based on the above-mentioned confirmation device for the relationship between the passengers and the pedestrians shown in fig. 6, in conjunction with fig. 6, as shown in fig. 7, the confirmation device for the relationship between the passengers and the pedestrians is further provided with a storage module 605, a query module 606 and an expansion module 607.
The storage module 605 is configured to obtain voyage information of a co-travel passenger, where the voyage information includes passenger information, co-travel flight leg information, seat information, baggage information, and each trip target tag, and store the voyage information of the co-travel passenger in a pre-established historical travel co-travel relationship result table.
The query module 606 is configured to obtain a query request, where the query request includes a passenger ID and a query condition, and obtain peer information satisfying the query condition based on the query request and querying a historical travel peer relationship result table.
The expansion module 607 is configured to obtain an expansion request, where the expansion request includes a passenger ID and peer information change or new information, and change or new add peer information corresponding to the passenger ID stored in the historical travel peer relationship result table based on the expansion request.
According to the device for confirming the relationship between the passengers and the pedestrians, which is provided by the embodiment of the invention, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, so that the aim of optimizing the traveling experience of the passengers based on the confirmed relationship between the passengers and the pedestrians is fulfilled.
Based on the confirmation device for the relationship between passengers and pedestrians disclosed by the embodiment of the invention, each module and each unit can be realized by a hardware device consisting of a processor and a memory. The method comprises the following steps: the respective modules and units described above are stored in the memory as program units, and the processor executes the program units stored in the memory to realize data processing.
The processor comprises a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel may be provided with one or more, and data processing is achieved by adjusting kernel parameters.
An embodiment of the invention provides a storage medium comprising a program for confirming a pedestrian-to-pedestrian relationship, wherein the program, when executed by a processor, implements a method for confirming a pedestrian-to-pedestrian relationship according to any one of claims 1 to 5.
The embodiment of the invention provides a processor for running a program, wherein the program runs to execute a method for confirming the relationship between passengers disclosed in fig. 1.
An embodiment of the present invention provides an electronic device 80, as shown in fig. 8, which illustrates a schematic structural diagram of the electronic device 80 provided in the embodiment of the present invention.
The electronic device in the embodiment of the invention can be a server, a PC, a PAD, a mobile phone and the like.
The electronic device comprises at least one processor 801, and at least one memory 802 connected to the processor, and a bus 803.
The processor 801 and the memory 802 communicate with each other via a bus 803. A processor 801 for executing programs stored in the memory 802.
A memory 802 for storing a program for at least: when the real-time passenger panoramic information corresponding to the passenger is changed, acquiring passenger data and passenger history passenger data of the passenger, and acquiring a passenger identity identification number ID of the unique identification passenger based on the passenger identity information and the passenger history passenger data; in the process that the flight state of the flight is changed from the take-off state to the arrival state, a passenger-to-flight information group of all passengers on the corresponding flight is acquired and stored in a data table, wherein the passenger-to-flight information group consists of a passenger ID combination and flight information; based on the historical passenger-to-flight information group stored in the data table, calculating the number of passengers containing the same passenger ID combination to flight information; if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship.
The present application also provides a computer program product adapted to perform, when executed on an electronic device, a program initialized with the method steps of:
when the real-time passenger panoramic information corresponding to the passenger is changed, acquiring passenger data and passenger history passenger data of the passenger, and acquiring a passenger identity identification number ID of the unique identification passenger based on the passenger identity information and the passenger history passenger data; in the process that the flight state of the flight is changed from the take-off state to the arrival state, a passenger-to-flight information group of all passengers on the corresponding flight is acquired and stored in a data table, wherein the passenger-to-flight information group consists of a passenger ID combination and flight information; based on the historical passenger-to-flight information group stored in the data table, calculating the number of passengers containing the same passenger ID combination to flight information; if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, the device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transshipment) such as modulated data signals and carrier waves.
Based on the method and the device for confirming the passengers disclosed by the embodiment of the invention, as shown in fig. 9, the embodiment of the invention can also adopt the structure of fig. 9 to display the implementation principle of the method and the device for confirming the passengers disclosed by the embodiment of the invention.
In fig. 9, the structure is mainly composed of a real-time passenger panoramic view, a constructed passenger-to-flight information group, a passenger co-pedestrian relationship calculation model and a passenger co-pedestrian query service.
The real-time passenger panoramic view is used for triggering the host real-time data acquisition system to generate a real-time message and pushing the real-time message to the big data platform if a new passenger travel change is monitored in the process of reserving a passenger; the real-time data processing operation of the big data platform updates the passenger riding data and the latest state of the flight in real time according to the type and the content of the message; and updating the riding data of the passengers in real time based on the latest message combination, and generating a real-time passenger panoramic view.
Constructing a passenger-to-flight information group, which is used for acquiring the passenger IDs of all passengers on the flight and sequencing all the passenger IDs in the process that the flight state of the flight is changed from the take-off state to the arrival state; based on the sorting, all the passenger IDs are arranged and combined pairwise to obtain a passenger pair; combining the flight information of each passenger pair with the flight by adopting a key-value pair key-value mode to obtain passenger pair flight information, and integrating all the passenger pair flight information to obtain a passenger pair flight information group; the key-value information set is stored in a data table in a key-value to key-value manner.
The passenger co-worker relationship calculation model is used for calculating the number of passengers comprising the same passenger ID combination and the flight information based on the historical passenger pair flight information group stored in the data table; if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passenger corresponding to the passenger ID combination is a passenger co-worker relationship.
And the passenger and pedestrian inquiry service is used for acquiring an inquiry request, inquiring the historical travel and pedestrian relation result table based on the inquiry request, and acquiring the pedestrian information meeting the inquiry condition.
According to the device for confirming the relationship between the passengers and the pedestrians, which is provided by the embodiment of the invention, the relationship between the passengers and the pedestrians is confirmed based on the historical data of a large number of passengers, so that the aim of optimizing the traveling experience of the passengers based on the confirmed relationship between the passengers and the pedestrians is fulfilled.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A method for confirming a passenger's co-worker relationship, the method comprising:
when the real-time passenger panoramic information corresponding to the passenger is changed, acquiring the passenger data and the passenger history passenger data of the passenger, and acquiring a passenger identity identification number ID of the unique identification passenger based on the passenger identity information and the passenger history passenger data; the real-time passenger panoramic information comprises preset information, ticket issuing information, security check information and departure information;
acquiring a passenger-to-flight information group corresponding to all passengers on the flight in the process of changing the flight state of the flight from a take-off state to an arrival state, and storing the passenger-to-flight information group in a data table, wherein the passenger-to-flight information group consists of a passenger ID combination and flight information;
based on the historical passenger pair flight information group stored in the data table, calculating the number of passengers comprising the same passenger ID combination to flight information;
if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2, determining that the passengers corresponding to the passenger ID combination are passenger-passenger relationship;
and in the process of changing the flight state of the flight from the take-off state to the arrival state, acquiring the passenger-to-flight information group corresponding to all passengers on the flight, and storing the passenger-to-flight information group in a data table, wherein the method comprises the following steps of:
Acquiring the passenger IDs of all passengers on the flight in the process of changing the flight state of the flight from the take-off state to the arrival state, and sequencing all the passenger IDs;
based on the sorting, carrying out pairwise permutation and combination on all the passenger IDs to obtain a passenger pair;
combining each passenger pair with the flight information of the flight by adopting a key-value pair mode to obtain passenger pair flight information, and integrating all the passenger pair flight information to obtain a passenger pair flight information group, wherein the passenger pair is used as a key, the flight information is used as a value, and the passenger pair flight information group is a key-value information group;
the key-value information set is stored in a data table in a key-value to key-value manner.
2. The method of claim 1, further comprising, after determining that the passenger corresponding to the passenger ID number combination is a co-passenger:
acquiring navigation information of the fellow passenger, wherein the navigation information comprises passenger information, fellow flight leg information, seat information, luggage information and each trip target label;
and storing the navigation information of the fellow passenger in a pre-established historical travel fellow passenger relationship result table.
3. The method as recited in claim 2, further comprising:
acquiring a query request, wherein the query request comprises a passenger ID and query conditions;
and inquiring the historical travel peer relationship result table based on the inquiry request to obtain peer information meeting inquiry conditions.
4. The method as recited in claim 2, further comprising:
acquiring an expansion request, wherein the expansion request comprises a passenger ID and pedestrian information change or new information;
and changing or newly adding the peer information corresponding to the passenger ID stored in the historical travel peer relationship result table based on the expansion request.
5. A device for confirming a passenger's co-pedestrian relationship, the device comprising:
the first processing module is used for acquiring the riding data and the historical riding data of the passengers when the real-time panoramic information of the passengers corresponding to the passengers is changed, and obtaining the ID of the passenger identification number for uniquely identifying the passengers based on the ID information and the historical riding data of the passengers; the real-time passenger panoramic information comprises preset information, ticket issuing information, security check information and departure information;
The second processing module is used for acquiring a passenger-to-flight information group corresponding to all passengers on the flight in the process of changing the flight state of the flight from the take-off state to the arrival state, and storing the passenger-to-flight information group in a data table, wherein the passenger-to-flight information group is composed of a passenger ID combination and flight information;
the calculation module is used for calculating the number of the passengers comprising the same passenger ID combination and the flight information based on the historical passenger pair flight information group stored in the data table;
the determining module is used for determining that the passengers corresponding to the passenger ID combination are passenger co-workers if the number of the passengers containing the same passenger ID combination to the flight information is more than or equal to 2;
and in the process of changing the flight state of the flight from the take-off state to the arrival state, acquiring a passenger-to-flight information group corresponding to all passengers on the flight, and storing the passenger-to-flight information group in a data table, wherein the method comprises the following steps of:
acquiring the passenger IDs of all passengers on the flight in the process of changing the flight state of the flight from the take-off state to the arrival state, and sequencing all the passenger IDs;
based on the sorting, carrying out pairwise permutation and combination on all the passenger IDs to obtain a passenger pair;
Combining each passenger pair with the flight information of the flight by adopting a key-value pair mode to obtain passenger pair flight information, and integrating all the passenger pair flight information to obtain a passenger pair flight information group, wherein the passenger pair is used as a key, the flight information is used as a value, and the passenger pair flight information group is a key-value information group;
the key-value information set is stored in a data table in a key-value to key-value manner.
6. The apparatus as recited in claim 5, further comprising: a storage module;
the storage module is used for acquiring navigation information of the co-travel passengers after determining that the passengers corresponding to the passenger ID number combination are co-travel passengers, wherein the navigation information comprises passenger information, co-travel flight section information, seat information, luggage information and each trip target label, and storing the navigation information of the co-travel passengers in a pre-established history travel co-travel person relation result table.
7. The apparatus as recited in claim 6, further comprising: a query module;
the query module is used for obtaining a query request, wherein the query request comprises a passenger ID and query conditions, and based on the query request, the historical travel peer relationship result table is queried to obtain peer information meeting the query conditions.
8. An electronic device for running a program, wherein the program is run to perform the method for confirming a passenger-to-pedestrian relationship according to any one of claims 1 to 4.
9. A computer storage medium comprising a program for confirming a relationship between a passenger and a pedestrian, wherein the program when executed by a processor implements the method for confirming a relationship between a passenger and a pedestrian as claimed in any one of claims 1 to 4.
CN202110259369.4A 2021-03-10 2021-03-10 Method and device for confirming relationship between passengers and pedestrians, electronic equipment and storage medium Active CN112965978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110259369.4A CN112965978B (en) 2021-03-10 2021-03-10 Method and device for confirming relationship between passengers and pedestrians, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110259369.4A CN112965978B (en) 2021-03-10 2021-03-10 Method and device for confirming relationship between passengers and pedestrians, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112965978A CN112965978A (en) 2021-06-15
CN112965978B true CN112965978B (en) 2024-02-09

Family

ID=76277536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110259369.4A Active CN112965978B (en) 2021-03-10 2021-03-10 Method and device for confirming relationship between passengers and pedestrians, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112965978B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110276272A (en) * 2019-05-30 2019-09-24 罗普特科技集团股份有限公司 Confirm method, apparatus, the storage medium of same administrative staff's relationship of label personnel
KR20190125124A (en) * 2018-04-27 2019-11-06 (주) 케이씨넷 System and method for making an patten analysis of traveler and companion based on big data
CN110807117A (en) * 2018-08-03 2020-02-18 深圳云天励飞技术有限公司 User relationship prediction method and device and computer readable storage medium
CN110837512A (en) * 2019-11-15 2020-02-25 北京市商汤科技开发有限公司 Visitor information management method and device, electronic equipment and storage medium
CN111078922A (en) * 2019-10-15 2020-04-28 深圳市商汤科技有限公司 Information processing method and device and storage medium
CN111191601A (en) * 2019-12-31 2020-05-22 深圳云天励飞技术有限公司 Method, device, server and storage medium for identifying peer users
CN111274287A (en) * 2020-01-16 2020-06-12 北京旷视科技有限公司 Method and device for mining information of people group in same row and electronic equipment
CN111488835A (en) * 2020-04-13 2020-08-04 北京爱笔科技有限公司 Method and device for identifying fellow persons
KR20200109101A (en) * 2019-03-12 2020-09-22 대한민국(관세청장) Traveler information analysis system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489823B2 (en) * 2017-03-31 2019-11-26 Adobe Inc. Service system to determine journeys based on companion relationship

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190125124A (en) * 2018-04-27 2019-11-06 (주) 케이씨넷 System and method for making an patten analysis of traveler and companion based on big data
CN110807117A (en) * 2018-08-03 2020-02-18 深圳云天励飞技术有限公司 User relationship prediction method and device and computer readable storage medium
KR20200109101A (en) * 2019-03-12 2020-09-22 대한민국(관세청장) Traveler information analysis system and method
CN110276272A (en) * 2019-05-30 2019-09-24 罗普特科技集团股份有限公司 Confirm method, apparatus, the storage medium of same administrative staff's relationship of label personnel
CN111078922A (en) * 2019-10-15 2020-04-28 深圳市商汤科技有限公司 Information processing method and device and storage medium
CN110837512A (en) * 2019-11-15 2020-02-25 北京市商汤科技开发有限公司 Visitor information management method and device, electronic equipment and storage medium
CN111191601A (en) * 2019-12-31 2020-05-22 深圳云天励飞技术有限公司 Method, device, server and storage medium for identifying peer users
CN111274287A (en) * 2020-01-16 2020-06-12 北京旷视科技有限公司 Method and device for mining information of people group in same row and electronic equipment
CN111488835A (en) * 2020-04-13 2020-08-04 北京爱笔科技有限公司 Method and device for identifying fellow persons

Also Published As

Publication number Publication date
CN112965978A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
US10252461B2 (en) Cognitive-based driving anomaly detection based on spatio-temporal landscape-specific driving models
US11200517B2 (en) Redistribution based on real time presence data
CN110647563B (en) Data processing method, device and equipment thereof
CN110717794A (en) Freight rate calculation processing method and device
US11246005B2 (en) Safety geofence zone deployment
US20180181973A1 (en) Method of determining crowd dynamics
CN111104585B (en) Question recommending method and device
CN110838041B (en) Virtual resource activity processing method and device, computer equipment and storage medium
US11501402B2 (en) Dynamic geofence zones for ride sharing
JP6726581B2 (en) Management device
CN110009124B (en) Data processing method, server and system for determining bus stop
US9589230B1 (en) Entity location traceability and prediction
CN109614406B (en) Class search method and device, electronic equipment and readable storage medium
CN112965978B (en) Method and device for confirming relationship between passengers and pedestrians, electronic equipment and storage medium
CN111274348A (en) Service feature data extraction method and device and electronic equipment
WO2017058150A1 (en) Vehicle usage pattern evaluation
CN109359877B (en) Vehicle scheduling method, server and vehicle system
US20180032963A1 (en) Context Oriented Assessment for Travel Companionship
Avi et al. Application of innovative technologies in the tourism and hospitality industry of Bangladesh: The present scenario
CN116166735A (en) Aviation data processing method and device, electronic equipment and storage medium
US20230186362A1 (en) Efficient shopping support system for maas environment
US20180365599A1 (en) Updating an entire itinerary based on modifying a single travel reservation
US10803728B1 (en) Dynamically networked integrated swarm sensor tracking
EP3057041A1 (en) Travel activity tracking system
KR20200127882A (en) Vacation Information and Suggestion System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant