A method and related device for replacing border inspection system reply message
By receiving and parsing check-in verification request messages, saving passenger information and constructing reply messages, the check-in delay problem caused by abnormal border inspection system is solved, and the travel experience of passengers is improved.
Patent Information
- Application Number
- CN202210343541.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-02
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-04-02
AI Technical Summary
An abnormal border inspection system or link problems may cause passengers to delay time during check-in, affecting their travel experience.
Provide a method and device for replies to the border inspection system, receive the check-in verification request message, parse and save passenger information, construct a reply message to indicate the verification pass, and send a reply message according to the airline identification. Priority is given to replying to airlines and avoid waiting for reply from the border inspection system.
Even if the border inspection system cannot verify passenger information, the airline will be given priority by constructing check-in reply messages to avoid delaying passenger check-in and improving passengers' travel experience.
Smart Images

Figure CN114817398B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and a related device for replacing a reply message of a border inspection system. Background Art
[0002] Passengers entering or leaving China need to verify their information in real time during the check-in process. Specifically, the airline sends the passenger's data to the technical gateway, which then sends the passenger data to the border inspection system for real-time verification. After the border inspection system sends the verification results to the technical gateway, the technical gateway returns the results to the airline. Only passengers who pass the verification can be issued boarding passes by the check-in staff.
[0003] However, if the border inspection system is unable to perform verification, such as the border inspection system is abnormal and cannot process the passenger verification content, or there is a problem with the link and it cannot be sent to the border inspection system, it will delay passenger check-in and make the passenger's travel experience poor. Summary of the invention
[0004] In response to the above problems, the present application provides a method and related device for replacing the border inspection system reply message, so as to improve the travel experience of passengers.
[0005] Based on this, the embodiments of the present application disclose the following technical solutions:
[0006] On the one hand, an embodiment of the present application provides a method for replacing a border inspection system reply message, the method comprising:
[0007] Receive the check-in verification request message;
[0008] Parsing the check-in verification request message to obtain the identifier of the airline that sent the check-in verification request message and passenger information of one or more passengers included in the check-in verification request message;
[0009] The passenger information is saved in a database, and a check-in reply message is constructed, where the check-in reply message is used to indicate that the passenger information verification has passed;
[0010] The check-in reply message is sent to the airline according to the identifier of the airline.
[0011] On the other hand, the present application provides a device for replacing a border inspection system reply message, the device comprising:
[0012] A receiving unit, used for receiving a check-in verification request message;
[0013] A parsing unit, configured to parse the check-in verification request message, and obtain an identifier of the airline that sends the check-in verification request message, and passenger information of one or more passengers included in the check-in verification request message;
[0014] An execution unit, used for saving the passenger information to a database and constructing a check-in reply message, wherein the check-in reply message is used for indicating that the passenger information verification has passed;
[0015] The returning unit is used to send the check-in reply message to the airline according to the identifier of the airline.
[0016] On the other hand, the present application provides a computer device, the device comprising a processor and a memory:
[0017] The memory is used to store program code and transmit the program code to the processor;
[0018] The processor is used to execute the method described in the above aspects according to the instructions in the program code.
[0019] On the other hand, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method described in the above aspects.
[0020] On the other hand, an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method described in the above aspects.
[0021] Compared with the prior art, the advantages of the above technical solution of the present application are:
[0022] After receiving the check-in verification request message, the check-in verification request message is parsed to obtain the identifier of the airline that sent the check-in verification request message, as well as the passenger information of one or more passengers included in the check-in verification request. The passenger information is saved in the database so that the passenger information can be sent to the border inspection system for verification later. In addition, it is necessary to construct a check-in reply message to indicate that the passenger information has been verified, and send the check-in reply message to the airline according to the airline's identifier. Therefore, even if the border inspection system cannot verify the passenger information, the check-in reply message is constructed to give priority to the airline, which will not delay the passenger check-in and improve the passenger's travel experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0024] Figure 1 A flowchart of a method for replacing a border inspection system reply message provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of a device for replacing a border inspection system reply message provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0031] The method for replacing the border inspection system reply message provided in the present application can be applied to devices with the function of replacing the border inspection system reply message, such as terminal devices and servers. The terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto; the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and the present application does not limit this.
[0032] As a possible implementation method, the device may be a civil aviation passenger information advance check gateway (Gateway of Interactive Advance Passenger Processing, GAPP) system, and the GAPP system supports the advance passenger information (Advance Passenger Information, API) real-time verification function.
[0033] It should be noted that in order to meet the needs of border inspection for the entry and exit of civil aviation passengers, a border inspection security gateway system construction project (Gateway of Border Security, abbreviated GBS) was established. GBS includes the GAPP system and the GPNR system. Among them, the civil aviation passenger information advance gateway (Gateway of PNR Push, GPNR) system supports the processing of flight passenger PNR information sent by airlines at various time points, follows the IATA PNRGOV standard, and provides Internet Message Queue (Internet Message Queue) access to foreign airlines. The following are explained separately.
[0034] (1) The message exchange between the GAPP system and airlines adopts the IATA / WCO / ICO PAXLST / CUSRES message standard. For some small airlines or some sites that are not capable of sending standard messages, websites that provide bulk passenger data can be used by airlines to verify passengers.
[0035] (2) The GPNR system processes the messages at each time point, including the time point when the airline sends the PNRGOV message. It stores the blacklist data, compares the PNR data sent by the airline with the blacklist data, and pushes the comparison results to the government agencies. It synchronizes the data to the Air China data platform.
[0036] After GBS is established, the real-time verification of passenger information is as follows: the airline sends the passenger data to the technical gateway, the technical gateway sends the passenger data to the GAPP system, and the GAPP system sends the passenger data to the border inspection system so that the border inspection system can perform real-time verification of the passenger data.
[0037] Combine the following Figure 1 , taking the GAPP system as the execution subject, a method for replacing the border inspection system reply message provided by the embodiment of the present application is introduced. Figure 1 , this figure is a flowchart of a method for replacing a border inspection system reply message provided in an embodiment of the present application, and the method may include S101-S104.
[0038] S101: receiving a check-in verification request message.
[0039] The GAPP system receives check-in verification request messages sent by one or more airlines.
[0040] S102: Parse the check-in verification request message to obtain the identifier of the airline that sent the check-in verification request message and passenger information of one or more passengers included in the check-in verification request message.
[0041] As a possible implementation, the check-in verification request includes at least two fields, namely, the field "AIRLINE_CODE" for identifying the airline code (identification of the airline), and the field for identifying a passenger information. It is understandable that if the check-in verification request message includes information of multiple passengers, the information of multiple passengers can be carried by increasing the field length of the check-in verification request message.
[0042] As a possible implementation, the check-in verification request may also include a field "WHETHER_REPLY" for identifying whether the airline has a proxy reply function. If WHETHER_REPLY=1, the airline has enabled the proxy reply function, and if WHETHER_REPLY=0, the airline has disabled the proxy reply function.
[0043] S103: Save the passenger information to the database and construct a check-in reply message.
[0044] The check-in reply message carries a field for indicating that the passenger information included in the check-in verification request message has passed verification. For example, if the check-in verification request message includes the passenger information of one passenger, the field value can be set to "0Z", where 0 indicates verification passed and Z is used as a reserved bit. If the check-in verification request message includes the passenger information of 5 passengers, the field value can be set to "00000".
[0045] The passenger information of one or more passengers included in the check-in verification request is saved in a database, for example, a data table, so that the passenger information can be sent to the border inspection system for verification regularly, thereby ensuring the security of passenger information verification, and synchronizing the passenger information with the border inspection system, so that the border inspection system will not miss the passenger verification request and cause passenger data loss.
[0046] S104: Sending a check-in reply message to the airline according to the airline's identifier.
[0047] Therefore, after receiving the check-in reply message, the airline can check in all passengers who have passed the verification because the check-in reply message carries a field indicating that the passenger information has been verified. The check-in staff can issue boarding passes without waiting for the border inspection system to reply, which improves the speed at which the airline receives the check-in reply message and the speed at which passengers check in. In addition, even if the border inspection system cannot verify the passenger information, the check-in reply message can be constructed to give priority to the airline, which will not delay the passenger check-in and improve the passenger's travel experience.
[0048] It can be seen from the above technical solution that after receiving the check-in verification request message, the check-in verification request message is parsed to obtain the identifier of the airline that sent the check-in verification request message, as well as the passenger information of one or more passengers included in the check-in verification request. The passenger information is saved in the database so that the passenger information can be sent to the border inspection system for verification later. In addition, it is necessary to construct a check-in reply message to indicate that the passenger information has been verified, and send the check-in reply message to the airline according to the airline's identifier. Therefore, even if the border inspection system cannot verify the passenger information, the check-in reply message is constructed to give priority to replying to the airline, which will not delay the passenger check-in and improve the passenger's travel experience.
[0049] As a possible implementation method, before executing S103, it can be determined whether the border inspection system is abnormal. When the border inspection system is abnormal, the border inspection system reply message is replaced to further ensure the accuracy of passenger information verification. Specifically. Send a confirmation system status message to the border inspection system, and receive a system status message returned by the border inspection system, wherein the system status message is used to indicate whether the border inspection system is normal, that is, the border inspection system is normal if it can verify the passenger information, and abnormal if it cannot verify the passenger information. If the border inspection system is determined to be abnormal according to the system status message, after parsing the check-in verification request message, execute S103 and S104 until the border inspection system returns to normal.
[0050] Therefore, by continuously interacting with the border inspection system through messages, it is determined whether the border inspection system is abnormal. When the border inspection system is abnormal, the GAPP system no longer sends real-time verification data (i.e. passenger information) to the border inspection. Instead, the GAPP system automatically generates a message to reply to the passenger's successful check-in (i.e. check-in reply message) and returns it to the airline to ensure that passengers can check in normally, so that passengers are unaware of whether the border inspection system is abnormal or not, thereby improving their travel experience.
[0051] Furthermore, when the GAPP system replaces the border inspection system to reply (i.e., the proxy reply function is turned on), the corresponding compensation plan will also be activated. Specifically, during the period when the GAPP system turns on the proxy reply function, the passenger information will be stored in the database. When the GAPP system turns off the proxy reply function, the passenger information during the period when the proxy reply function is turned on will be sent to the border inspection system, thereby truly achieving the purpose of not missing any passenger verification when the border inspection system fails.
[0052] For example, if the border inspection system changes from abnormal to normal, that is, the border inspection system returns to normal, the passenger information saved in the database during the period when the border inspection system was abnormal is sent to the border inspection system.
[0053] As a possible implementation, during the period when the border inspection system is abnormal, the passenger information of one or more passengers included in the check-in verification request can be identified, such as marking the passenger information with a proxy reply mark, and saving the identified passenger information to a database, so that the passenger information with the proxy reply mark can be sent to the border inspection system for synchronization later. Alternatively, during the period when the border inspection system is abnormal, the passenger information is saved to the target database, and during the period when the border inspection system is normal, the passenger information is saved to other databases, and the target database is not the same database as the other databases.
[0054] As a possible implementation method, if it is determined based on the airline's identification that the airline has the proxy reply function, execute S103 and S104; if it is determined based on the airline's identification that the airline does not have the proxy reply function, send a check-in verification request message to the border inspection system and wait for the border inspection system to reply.
[0055] In order to make the technical solution provided by the embodiment of the present application clearer, the method for replacing the border inspection system reply message provided by the embodiment of the present application is explained below with an example.
[0056] S201: The GAPP system receives a check-in verification request message.
[0057] The check-in verification request message may be in JSON format.
[0058] S202: The GAPP system parses the check-in verification request message to obtain the identifier of the airline that sent the check-in verification request message, and passenger information of one or more passengers included in the check-in verification request message.
[0059] S203: The GAPP system saves the passenger information to a database.
[0060] S204: Determine whether the airline has a proxy reply function based on the airline's identifier. If so, execute S205; if not, execute S207.
[0061] S205: The GAPP system constructs a check-in reply message, which carries a field for indicating that the passenger information has passed verification.
[0062] The check-in reply message may be a message in cusres format.
[0063] S206: The GAPP system sends the check-in reply message to the airline according to the airline's identifier.
[0064] S207: The GAPP system sends the check-in verification request message to the border inspection system.
[0065] The check-in verification request message may be in JSON format.
[0066] S208: The GAPP system receives the real check-in reply message returned by the border inspection system, wherein the real check-in reply message includes a field for indicating that the passenger information verification has passed or a field for indicating that the passenger information verification is different.
[0067] S209: The GAPP system parses the real check-in reply message.
[0068] The real check-in reply message may be a message in JSON format.
[0069] S210: The GAPP system constructs a reply message for returning to the airline based on the real check-in reply message.
[0070] The format of the reply message may be a message in cusres format.
[0071] Furthermore, the GAPP system determines whether the airline has turned on the proxy reply function based on the WHETHER_REPLY field. If the airline is in a state where a proxy reply is required, the activation time will be recorded. From this time on, all passenger data of the airline will be marked with a proxy reply mark. When the WHETHER_REPLY field changes from on to off, the database will retrieve all passenger information with the proxy reply mark from the time the airline is on to the time it is off, and send it to the border inspection system after processing.
[0072] It should be noted that the compensation mechanism is a polling query, which regularly queries the database reply field. If the reply field changes within a period of time, the compensation mechanism will be triggered to synchronize the passenger data of this time period to the border inspection system.
[0073] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0074] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0075] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0076] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0077] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0078] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0079] In addition to the method for replacing the border inspection system reply message provided in the embodiment of the present application, a device for replacing the border inspection system reply message is also provided, such as Figure 2 As shown, including:
[0080] The receiving unit 201 is used to receive a check-in verification request message;
[0081] A parsing unit 202, configured to parse the check-in verification request message, and obtain the identifier of the airline that sent the check-in verification request message, and passenger information of one or more passengers included in the check-in verification request message;
[0082] An execution unit 203 is used to save the passenger information to a database and construct a check-in reply message, where the check-in reply message is used to indicate that the passenger information verification has passed;
[0083] The returning unit 204 is configured to send the check-in reply message to the airline according to the identifier of the airline.
[0084] As a possible implementation manner, the device further includes a sending unit;
[0085] The sending unit is used to send a message confirming the system status to the border inspection system;
[0086] The receiving unit 201 is used to receive a system status message returned by the border inspection system, where the system status message is used to indicate whether the border inspection system is normal;
[0087] The execution unit 203 is used to save the passenger information to the database and construct a check-in reply message and subsequent steps after receiving the check-in verification request message if it is determined that the border inspection system is abnormal according to the system status message, until the border inspection system returns to normal.
[0088] As a possible implementation manner, the device further includes a synchronization unit, configured to:
[0089] If the border inspection system returns to normal, the passenger information stored in the database during the abnormal period of the border inspection system is sent to the border inspection system.
[0090] As a possible implementation manner, the execution unit 203 is used to:
[0091] marking the passenger information and saving the marked passenger information to a database; or,
[0092] The passenger information is saved in a target database, and the target database is different from a database that stores passenger information when the border inspection system is normal.
[0093] As a possible implementation manner, the execution unit 203 is used to:
[0094] If it is determined according to the airline's identifier that the airline has a proxy reply function, the steps of saving the passenger information to a database, constructing a check-in reply message, and subsequent steps are executed;
[0095] If it is determined according to the airline's identifier that the airline does not have a proxy reply function, the check-in verification request message is sent to the border inspection system.
[0096] It can be seen from the above technical solution that after receiving the check-in verification request message, the check-in verification request message is parsed to obtain the identifier of the airline that sent the check-in verification request message, as well as the passenger information of one or more passengers included in the check-in verification request. The passenger information is saved in the database so that the passenger information can be sent to the border inspection system for verification later. In addition, it is necessary to construct a check-in reply message to indicate that the passenger information has been verified, and send the check-in reply message to the airline according to the airline's identifier. Therefore, even if the border inspection system cannot verify the passenger information, the check-in reply message is constructed to give priority to replying to the airline, which will not delay the passenger check-in and improve the passenger's travel experience.
[0097] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0098] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0099] Reference below Figure 3 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0100] like Figure 3 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0101] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0102] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: receives a check-in verification request message;
[0103] Parsing the check-in verification request message to obtain the identifier of the airline that sent the check-in verification request message and passenger information of one or more passengers included in the check-in verification request message;
[0104] The passenger information is saved in a database, and a check-in reply message is constructed, wherein the check-in reply message carries a field for indicating that the passenger information has been verified;
[0105] The check-in reply message is sent to the airline according to the identifier of the airline.
[0106] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0107] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0108] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0109] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0110] According to one or more embodiments of the present application, [Example 1] provides a method for replacing a border inspection system reply message, the method comprising:
[0111] Receive the check-in verification request message;
[0112] Parsing the check-in verification request message to obtain the identifier of the airline that sent the check-in verification request message and passenger information of one or more passengers included in the check-in verification request message;
[0113] The passenger information is saved in a database, and a check-in reply message is constructed, wherein the check-in reply message carries a field for indicating that the passenger information has been verified;
[0114] According to the identification of the airline, the check-in reply message is sent to the airline. According to one or more embodiments of the present application, [Example 2] provides a method for replacing the border inspection system reply message, the method further comprising:
[0115] Send a message to the border inspection system to confirm the system status;
[0116] receiving a system status message returned by the border inspection system, wherein the system status message is used to indicate whether the border inspection system is normal;
[0117] If it is determined that the border inspection system is abnormal according to the system status message, after parsing the check-in verification request message, the passenger information is saved to the database, and a check-in reply message and subsequent steps are constructed until the border inspection system returns to normal.
[0118] According to one or more embodiments of the present application, [Example 3] provides a method for replacing a border inspection system reply message, the method further comprising:
[0119] If the border inspection system returns to normal, the passenger information stored in the database during the abnormal period of the border inspection system is sent to the border inspection system.
[0120] According to one or more embodiments of the present application, [Example 4] provides a method for replacing a border inspection system reply message, wherein the method of saving the passenger information to a database includes:
[0121] marking the passenger information and saving the marked passenger information to a database; or,
[0122] The passenger information is saved in a target database, and the target database is different from a database that stores passenger information when the border inspection system is normal.
[0123] According to one or more embodiments of the present application, [Example 5] provides a method for replacing a border inspection system reply message, the method further comprising:
[0124] If it is determined according to the airline's identifier that the airline has a proxy reply function, the steps of saving the passenger information to a database, constructing a check-in reply message, and subsequent steps are executed;
[0125] If it is determined according to the airline's identifier that the airline does not have a proxy reply function, the check-in verification request message is sent to the border inspection system.
[0126] According to one or more embodiments of the present application, [Example 6] provides a device for replacing a border inspection system reply message, the device comprising:
[0127] A receiving unit, used for receiving a check-in verification request message;
[0128] A parsing unit, configured to parse the check-in verification request message, and obtain an identifier of the airline that sends the check-in verification request message, and passenger information of one or more passengers included in the check-in verification request message;
[0129] An execution unit, used for saving the passenger information to a database and constructing a check-in reply message, wherein the check-in reply message is used for indicating that the passenger information verification has passed;
[0130] The returning unit is used to send the check-in reply message to the airline according to the identifier of the airline.
[0131] According to one or more embodiments of the present application, [Example 7] provides a device for replacing a border inspection system reply message, the device further comprising a sending unit;
[0132] The sending unit is used to send a message confirming the system status to the border inspection system;
[0133] The receiving unit is used to receive a system status message returned by the border inspection system, where the system status message is used to indicate whether the border inspection system is normal;
[0134] The execution unit is used to, if it is determined according to the system status message that the border inspection system is abnormal, after receiving the check-in verification request message, execute the steps of saving the passenger information to the database, constructing a check-in reply message and subsequent steps until the border inspection system returns to normal.
[0135] According to one or more embodiments of the present application, [Example 8] provides a device for replacing a border inspection system reply message, the device further comprising a synchronization unit, configured to:
[0136] If the border inspection system returns to normal, the passenger information stored in the database during the abnormal period of the border inspection system is sent to the border inspection system.
[0137] According to one or more embodiments of the present application, [Example 9] provides a device for replacing a border inspection system reply message, wherein the execution unit is used to:
[0138] marking the passenger information and saving the marked passenger information to a database; or,
[0139] The passenger information is saved in a target database, and the target database is different from a database that stores passenger information when the border inspection system is normal.
[0140] According to one or more embodiments of the present application, [Example 10] provides a device for replacing a border inspection system reply message, wherein the execution unit is configured to:
[0141] If it is determined according to the airline's identifier that the airline has a proxy reply function, the steps of saving the passenger information to a database, constructing a check-in reply message, and subsequent steps are executed;
[0142] If it is determined according to the airline's identifier that the airline does not have a proxy reply function, the check-in verification request message is sent to the border inspection system.
[0143] According to one or more embodiments of the present application, [Example 11] provides an electronic device, characterized in that it includes:
[0144] one or more processors;
[0145] a storage device having one or more programs stored thereon,
[0146] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of [Example 1] to [Example 5].
[0147] According to one or more embodiments of the present application, [Example 12] provides a computer-readable medium on which a computer program is stored, wherein when the program is executed by a processor, the method described in any one of [Example 1] to [Example 5] is implemented.
[0148] According to one or more embodiments of the present application, [Example 13] provides a computer program product, including a computer program or instructions; when the computer program or instructions are executed by a processor, the method described in any one of [Example 1] to [Example 5] is executed.
[0149] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0150] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0151] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
Claims
1. A method for replacing a border inspection system reply message, characterized in that: The method comprises: Receive the check-in verification request message; Parsing the check-in verification request message to obtain the identifier of the airline that sent the check-in verification request message and passenger information of one or more passengers included in the check-in verification request message; The passenger information is saved in a database, and a check-in reply message is constructed, wherein the check-in reply message carries a field for indicating that the passenger information has been verified; sending the check-in reply message to the airline according to the airline's identifier; The method further comprises: Send a message to the border inspection system to confirm the system status; receiving a system status message returned by the border inspection system, wherein the system status message is used to indicate whether the border inspection system is normal; If the border inspection system is determined to be abnormal according to the system status message, after parsing the check-in verification request message, the passenger information is saved to the database, and a check-in reply message and subsequent steps are constructed until the border inspection system returns to normal.
2. The method according to claim 1, characterized in that: The method further comprises: If the border inspection system returns to normal, the passenger information stored in the database during the abnormal period of the border inspection system is sent to the border inspection system.
3. The method according to claim 1, characterized in that The step of storing the passenger information in a database includes: marking the passenger information and saving the marked passenger information to a database; or, The passenger information is saved in a target database, and the target database is different from a database that stores passenger information when the border inspection system is normal.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: If it is determined according to the airline's identifier that the airline has a proxy reply function, the steps of saving the passenger information to a database, constructing a check-in reply message, and subsequent steps are executed; If it is determined according to the airline's identifier that the airline does not have a proxy reply function, the check-in verification request message is sent to the border inspection system.
5. A device for replacing the reply message of the border inspection system, characterized in that: The device comprises: A receiving unit, used for receiving a check-in verification request message; A parsing unit, configured to parse the check-in verification request message, and obtain an identifier of the airline that sends the check-in verification request message, and passenger information of one or more passengers included in the check-in verification request message; An execution unit, used for saving the passenger information to a database and constructing a check-in reply message, wherein the check-in reply message is used for indicating that the passenger information verification has passed; A returning unit, configured to send the check-in reply message to the airline according to the identifier of the airline; The device also includes a sending unit; The sending unit is used to send a message confirming the system status to the border inspection system; The receiving unit is used to receive a system status message returned by the border inspection system, where the system status message is used to indicate whether the border inspection system is normal; The execution unit is used to, if it is determined that the border inspection system is abnormal according to the system status message, save the passenger information to the database after receiving the check-in verification request message, and construct a check-in reply message and subsequent steps until the border inspection system returns to normal.
6. An electronic device, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.
7. A computer-readable medium, characterized in that A computer program is stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
8. A computer program product, characterized in that The method comprises a computer program or an instruction; when the computer program or the instruction is executed by a processor, the method according to any one of claims 1 to 4 is performed.
