Method and system for processing interlink check-in request between departure systems and electronic equipment
By determining the forwarding target and calling the interface request of the corresponding module in the inter-departure system, the problems of low processing efficiency and complex logic in the prior art are solved, and more efficient and stable inter-haul check-in request processing is achieved.
Patent Information
- Application Number
- CN202411906517.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2044-12-23
AI Technical Summary
In the prior art, the processing efficiency of inter-join check-in requests between departure systems is low, prone to errors and complex logic, and the manual configuration of message parameters is cumbersome, which is easily restricted by experience and knowledge, resulting in configuration errors and affecting processing efficiency.
It provides a method for handling inter-travel check-in requests between departure systems. By receiving inter-travel check-in requests, it determines that the forwarding target is an external departure system or an open departure system, and calls the interface requests of the corresponding module based on the message type to generate response messages to improve processing efficiency.
Through this method, the processing efficiency of inter-trip check-in requests between departure systems is improved, the possibility of manual configuration errors is reduced, the processing logic is simplified, and the stability and flexibility of the system are improved.
Smart Images

Figure CN119835314A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of aviation and information processing, and in particular to a method, system and electronic equipment for processing a connecting check-in request between departure systems. Background Art
[0002] With the continuous development of transportation information technology, civil aviation travel has become increasingly complicated. Passengers usually need to transfer multiple times to reach their destination, which may involve flights of different airlines. For this type of travel, through-trip check-in can be used to realize the flow of flight information, self-service check-in for passengers, or connection of luggage transportation, etc., to simplify the check-in process for passengers and improve their travel experience.
[0003] In the related art, the interline check-in between different departure systems is usually based on the serial processing of messages, which has problems such as low processing efficiency, prone to errors, and complex processing logic. In addition, the manual configuration process of message parameters is cumbersome and easily limited by the experience and knowledge of the configuration personnel, which may lead to message configuration errors, thereby affecting the efficiency of interline check-in processing.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a method, system and electronic device for processing a connecting check-in request between departure systems, so as to at least solve the technical problem of low processing efficiency of connecting check-in requests between departure systems in the prior art.
[0006] According to one aspect of an embodiment of the present invention, a method for processing a connecting check-in request between departure systems is provided, which is applied to an open departure system, comprising: in response to receiving a connecting check-in request, determining a forwarding target of the connecting check-in request based on a first request message corresponding to the connecting check-in request, wherein the forwarding target includes one of the following: an external departure system and an open departure system; in response to the forwarding target being the open departure system, invoking an interface request of a first module based on a message type of the first request message, and generating a first response message; and returning the first response message to the external departure system.
[0007] Optionally, determining a forwarding target of the connecting check-in request based on a first request message corresponding to the connecting check-in request includes: determining requested flight information in the first request message; and determining a forwarding target of the connecting check-in request based on a flight diversion rule corresponding to the requested flight information.
[0008] Optionally, based on the flight diversion rules corresponding to the requested flight information, determining the forwarding target of the connecting check-in request includes: determining whether the requested flight information belongs to an open departure system based on the flight diversion rules corresponding to the requested flight information; in response to the requested flight information belonging to the open departure system, determining the forwarding target to be an external departure system; in response to the requested flight information not belonging to the open departure system, determining the forwarding target to be an open departure system.
[0009] Optionally, based on the message type of the first request message, calling the interface request of the first module to generate a first response message, including: converting the first request message into a request parameter corresponding to the first module based on the message type; calling the interface request of the first module based on the request parameter to generate a first response message.
[0010] Optionally, the first request message is converted into request parameters corresponding to the first module based on the message type, including: in response to the message type being a boarding pass reprint request, a passenger check-in request, or a check-in cancellation request, the first request message is converted into request parameters corresponding to the check-in module; in response to the message type being a seat map request, the first request message is converted into request parameters corresponding to the seat module; in response to the message type being a passenger list request, the first request message is converted into request parameters corresponding to the passenger record module; in response to the message type being an update request, the first request message is converted into request parameters corresponding to the check-in module or the baggage module.
[0011] Optionally, converting the first request message into request parameters corresponding to the check-in module or the baggage module includes: determining a target object that the first request message requests to be modified; in response to the target object being baggage information, converting the first request message into request parameters corresponding to the baggage module; in response to the target object being passenger seat information, converting the first request message into request parameters corresponding to the check-in module.
[0012] Optionally, the first request message is converted into a request parameter corresponding to the first module based on the message type, including: verifying the connecting check-in request based on the message type to obtain a verification result, wherein the verification result is used to characterize whether the connecting check-in service is opened between the requesting airlines; in response to the verification result characterizing that the connecting check-in service is opened between the requesting airlines, the first request message is converted into a request parameter corresponding to the first module based on the message type.
[0013] Optionally, in response to the forwarding target being an external departure system, the method further includes: based on the message sending rule corresponding to the connecting check-in request, calling the second module to construct the passenger information corresponding to the connecting check-in request into a second request message; based on the address rule corresponding to the connecting check-in request, sending the second request message to the external departure system; receiving a second response message returned by the external departure system; and updating the passenger information in the open departure system based on the second response message.
[0014] Optionally, the above method also includes: determining the connecting true and false travel information corresponding to the multiple passenger information based on multiple passenger information in the open departure system and the connecting identification information corresponding to each passenger information; deduplicating the real travel information corresponding to the multiple passenger information to obtain the passenger information corresponding to the connecting check-in request.
[0015] Optionally, updating the passenger information in the open departure system based on the second response message includes: determining target real travel information in the open departure system based on the boarding number and requested flight segment of the requesting system in the second response message; determining target connecting false travel information according to the target real travel information and the connecting flight segment information in the second response message; and updating the target connecting false travel information based on the passenger information in the second response message.
[0016] Optionally, based on the boarding number and requested flight segment of the requesting system in the second response message, determining the target real travel information in the open departure system includes: parsing the second response message to obtain preset identification information; determining whether the external departure system and the open departure system are successfully connected based on the preset identification information; in response to the successful connection between the external departure system and the open departure system, determining the target real travel information based on the boarding number and requested flight segment of the requesting system.
[0017] According to another aspect of an embodiment of the present invention, there is further provided a system for processing a connecting check-in request between departure systems, which is arranged in an open departure system and includes: a departure connecting module, which is used to receive a connecting check-in request and determine a forwarding target of the connecting check-in request based on a first request message corresponding to the connecting check-in request, wherein the forwarding target includes one of the following: an external departure system and an open departure system; a departure control module, which is used to call an interface request of a first module based on a message type of the first request message in response to the forwarding target being the open departure system, generate a first response message, and return the first response message to the departure connecting module, wherein the first module includes at least one of the following: a check-in module, a seat module, a passenger record module, and a baggage module; and the departure connecting module is further used to send the first response message to the external departure system.
[0018] Optionally, the system further includes: a second module, including at least one of the following: a check-in module, a seat module, a passenger record module and a baggage module, used to, in response to the forwarding target being an external departure system, construct the passenger information corresponding to the connecting check-in request into a second request message based on the message sending rule corresponding to the connecting check-in request; a message connection module, used to send the second request message to the external departure system based on the address rule corresponding to the connecting check-in request, and receive a second response message returned by the external departure system; the second module is also used to update the passenger information in the open departure system based on the second response message.
[0019] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.
[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0021] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0023] According to another aspect of the embodiments of the present invention, a computer program is provided. When the computer program is executed by a processor, the methods in the embodiments of the present invention are implemented.
[0024] In an embodiment of the present invention, in response to receiving a connecting check-in request, based on a first request message corresponding to the connecting check-in request, a forwarding target of the connecting check-in request is determined, wherein the forwarding target includes one of the following: an external departure system and an open departure system; in response to the forwarding target being the open departure system, based on the message type of the first request message, an interface request of the first module is called to generate a first response message; and the first response message is returned to the external departure system. It is easy to notice that, in the case of determining that the connecting check-in request is sent to the open departure system, the corresponding interface request of the first module can be flexibly called based on the message type of the first request message to process the connecting check-in request, thereby connecting the external departure system to the open departure system, achieving the purpose of effectively processing the connecting check-in request, thereby achieving the technical effect of improving the processing efficiency of the connecting check-in request between departure systems, and thus solving the technical problem of low processing efficiency of the connecting check-in request between departure systems in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0026] Figure 1is a flow chart of a method for processing a connecting check-in request between departure systems according to an embodiment of the present invention;
[0027] Figure 2 is a schematic diagram of an optional method for processing a connecting check-in request between departure systems according to an embodiment of the present invention;
[0028] Figure 3 is a schematic diagram of an optional method for processing a connecting check-in request between departure systems according to an embodiment of the present invention;
[0029] Figure 4 is a schematic diagram of a system for processing a connecting check-in request between departure systems according to an embodiment of the present invention;
[0030] Figure 5 It is a schematic diagram of a device for processing a connecting check-in request between departure systems according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] According to an embodiment of the present invention, a method for processing a connecting check-in request between departure systems is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0034] Figure 1is a flow chart of a method for processing a connecting check-in request between departure systems according to an embodiment of the present invention. Figure 1 As shown, the method is applied to an open departure system and comprises the following steps:
[0035] Step S102: in response to receiving the connecting check-in request, determining a forwarding target of the connecting check-in request based on a first request message corresponding to the connecting check-in request.
[0036] The forwarding target includes one of the following: an external departure system and an open departure system.
[0037] The above-mentioned open departure system is a computer real-time network system that can be used to check in passengers, calculate aircraft loading, control flights, and automatically process telegrams. The open departure system is usually developed or maintained by airlines or third-party service providers. The open departure system can exchange data and collaborate with external systems.
[0038] The above-mentioned external departure system can be used to exchange passenger information between different airlines or airports. When a passenger's itinerary involves connecting flights operated by different airlines and different airlines use different open departure systems, the open departure system needs to interact with the external departure system to ensure the consistency and integrity of passenger information between different open departure systems. External departure systems may follow different technical standards and business rules.
[0039] The open departure system and the external departure system can be realized through the international standard Electronic Data Interchange (EDI) protocol to ensure the correct transmission and analysis of data. Through the standardized communication mechanism, passenger information such as boarding passes, seat information, baggage status, etc. between different systems can be accurately transmitted and processed, thereby supporting services such as through check-in and baggage direct check-in, improving passenger experience and airline operating efficiency.
[0040] The above-mentioned connecting check-in request can be used to check in for multiple flights at one time. The connecting check-in request may include but is not limited to: passenger identity, flight information, check-in status, etc., which are not limited here and can be determined as needed. The connecting check-in request can be an important means to improve the convenience of passenger travel and the operating efficiency of airlines. Depending on the system to which the flight belongs, connecting check-in can be divided into connecting check-in within the departure system and connecting check-in between departure systems. Connecting check-in within the departure system refers to the check-in service for flights in the same departure system. Connecting check-in between departure systems refers to the check-in service for flights of the same airline or flights of different airlines in different departure systems.
[0041] The above-mentioned first request message may be an electronic data exchange message when the external departure system interacts with the open departure system for interline check-in. The first request message may include but is not limited to: sender identification, receiver identification, service identification, forwarding identification, type identification, request information or passenger information, etc. The first request message is not limited here and can be determined as needed. The purpose of the first request message is to request the open departure system to provide passengers with check-in services for subsequent flight segments. Check-in services include but are not limited to boarding pass printing, seat allocation, passenger information update, baggage handling, etc. The check-in services are not limited here and can be determined as needed.
[0042] The above forwarding target may include one of the following: an external departure system and an open departure system. The forwarding target is not limited here and can be determined as needed. In the case where the forwarding target is an external departure system, the external departure system can parse the connecting check-in request and further distribute the service, and then return the service response message to the open departure system. In the case where the forwarding target is an open departure system, the open departure system can return passenger information based on the connecting check-in request to facilitate smooth connecting check-in.
[0043] In an optional embodiment, after receiving the connecting check-in request, the open departure system may parse the connecting check-in request based on a preset parsing library, parsing function or regular expression, and determine the first request message corresponding to the connecting check-in request. Alternatively, the first request message may be selected and constructed through middleware. Alternatively, the staff may select the parsed content of the connecting check-in request and generate the first request message.
[0044] Further, after obtaining the first request message, the forwarding target can be predicted by a machine learning model. The machine learning model is trained by historical data, and the machine learning model can predict the forwarding target. Alternatively, the forwarding target can also be determined by a forwarding identifier in the first request message. Alternatively, the forwarding target of the connecting check-in request can also be determined by a staff member after manually analyzing the first request message.
[0045] Step S104, in response to the forwarding target being an open departure system, based on the message type of the first request message, the interface request of the first module is called to generate a first response message.
[0046] The first module mentioned above can be used to process different businesses in the check-in service. By calling the first module, the interaction between connecting information can be realized. According to different connecting businesses, the first module may include but is not limited to: a check-in module, a seat module, a passenger record module, and a baggage module. The first module is not limited here and can be determined as needed. There are multiple businesses in the open departure system. The interface of the first module to be called can be further determined according to the message type, and different first response messages can be generated for different interface requests.
[0047] The first response message may be an electronic data exchange message generated by the first module for the first request message. The content of the first response message may be different based on the message type. The first response message may facilitate the interaction of the connecting information with the external departure system.
[0048] In an optional embodiment, when it is determined that the forwarding target is an open departure system, the message type of the first request message can be identified by an identification model. The identification model can be a random forest, a support vector machine, or a decision tree, etc. The identification model is not limited here and can be determined as needed. Alternatively, the type identifier in the first request message can be read by a parser to determine the message type of the first request message. Further, the first request message can be parsed based on the message type, and the parsed information can be converted into the interface parameters of the first module, so that the first module processes according to the interface parameters and returns the first response message.
[0049] Step S106: Return the first response message to the external departure system.
[0050] Returning the first response message to the external departure system can ensure accurate, timely and complete information exchange between the external departure system and the open departure system, thereby supporting efficient through check-in processing. The first response message contains processing and confirmation information for the through check-in request. Therefore, through the first response message, the synchronization and consistency of the passenger's through check-in information can be ensured, and request processing failures can also be located.
[0051] In an optional embodiment, the first response message may be returned to the external departure system through the exchange center. Alternatively, the first response message may be returned to the external departure system through asynchronous communication via a message queue. Alternatively, the first response message may be returned to the external departure system via a file transfer protocol.
[0052] In an embodiment of the present invention, in response to receiving a connecting check-in request, based on a first request message corresponding to the connecting check-in request, a forwarding target of the connecting check-in request is determined, wherein the forwarding target includes one of the following: an external departure system and an open departure system; in response to the forwarding target being the open departure system, based on the message type of the first request message, an interface request of the first module is called to generate a first response message; and the first response message is returned to the external departure system. It is easy to notice that, in the case of determining that the connecting check-in request is sent to the open departure system, the corresponding interface request of the first module can be flexibly called based on the message type of the first request message to process the connecting check-in request, thereby connecting the external departure system to the open departure system, achieving the purpose of effectively processing the connecting check-in request, thereby achieving the technical effect of improving the processing efficiency of the connecting check-in request between departure systems, and thus solving the technical problem of low processing efficiency of the connecting check-in request between departure systems in the prior art.
[0053] Optionally, determining a forwarding target of the connecting check-in request based on a first request message corresponding to the connecting check-in request includes: determining requested flight information in the first request message; and determining a forwarding target of the connecting check-in request based on a flight diversion rule corresponding to the requested flight information.
[0054] In an optional embodiment, the first request message may be parsed by a preset parsing rule, regular expression or parser to determine the requested flight information in the first request message. Then, the flight diversion rule corresponding to the requested flight information is queried through the flight database, or the flight diversion rule is determined through a dynamic rule table, thereby determining the forwarding target of the connecting check-in request.
[0055] Through intelligent analysis of flight information, it is possible to quickly determine whether the connecting check-in request needs to be forwarded to the external departure system, further optimizing the processing flow of connecting check-in requests.
[0056] Optionally, based on the flight diversion rules corresponding to the requested flight information, determining the forwarding target of the connecting check-in request includes: determining whether the requested flight information belongs to an open departure system based on the flight diversion rules corresponding to the requested flight information; in response to the requested flight information belonging to the open departure system, determining the forwarding target to be an external departure system; in response to the requested flight information not belonging to the open departure system, determining the forwarding target to be an open departure system.
[0057] In an optional embodiment, the flight diversion rules may be determined by threshold diversion rules, or may be manually preset. Furthermore, the flight diversion rules corresponding to the requested flight information may be determined by hash value comparison or field query to determine whether the requested flight information belongs to the open departure system. When it is determined through the flight diversion rules that the requested flight information belongs to the open departure system, the connecting check-in request needs to be forwarded to the external departure system so that the external departure system updates the connecting check-in information of the passenger. When the requested flight information does not belong to the open departure system, the connecting check-in request needs to be forwarded to the open departure system so that the open departure system provides services for passengers who need connecting check-in.
[0058] Through the forwarding mechanism of connecting check-in requests, the accuracy of request processing can be improved, and the flexibility of the departure system can be enhanced, which facilitates the transmission of connecting check-in requests between different departure systems to achieve rapid processing of connecting check-in.
[0059] Optionally, based on the message type of the first request message, calling the interface request of the first module to generate a first response message, including: converting the first request message into a request parameter corresponding to the first module based on the message type; calling the interface request of the first module based on the request parameter to generate a first response message.
[0060] In an optional embodiment, a conversion dictionary can be defined based on the message type, and then the conversion dictionary can be queried by the message type to convert the first request message into a request parameter corresponding to the first module. Alternatively, the first request message can be converted into a request parameter corresponding to the first module by a converter corresponding to the message type, and then based on the corresponding converter. Then, the business logic function of the first module is called based on the request parameter to generate a first response message after processing by the business logic function. Alternatively, the interface request of the first module is called through the middleware, and after processing by the first module, the first response message is returned through the middleware. Alternatively, the first module can also be called through a microservice, and after processing by the first module, the first response message is returned.
[0061] By using the message type, the corresponding first module interface can be automatically called, which improves the level of automated processing. When processing requests such as reprinting boarding passes, seat allocation, and passenger list updates for connecting check-ins, the processing speed and accuracy can be improved by calling different first module interfaces.
[0062] Optionally, the first request message is converted into request parameters corresponding to the first module based on the message type, including: in response to the message type being a boarding pass reprint request, a passenger check-in request, or a check-in cancellation request, the first request message is converted into request parameters corresponding to the check-in module; in response to the message type being a seat map request, the first request message is converted into request parameters corresponding to the seat module; in response to the message type being a passenger list request, the first request message is converted into request parameters corresponding to the passenger record module; in response to the message type being an update request, the first request message is converted into request parameters corresponding to the check-in module or the baggage module.
[0063] For different message types, the corresponding processing modules can be accurately called, which improves the efficiency and accuracy of request processing. When processing complex connecting check-in requests, it can ensure that all connecting check-in requests are processed correctly, improving the quality of passenger services.
[0064] According to different connecting services, the first module can be divided into a check-in module, a seat module, a passenger record module or a baggage module, so that when connecting check-in requests of different message types are received, different business modules are called to process them respectively, thereby improving the processing efficiency of connecting check-in requests.
[0065] Specifically, for a message type of a boarding pass reprint request, a passenger check-in request, or a check-in cancellation request, the first request message can be converted into a request parameter corresponding to the check-in module, so that the message can be processed by the check-in module, and the corresponding response message can be obtained, thereby improving the accuracy of message processing. For a message type of a seat map request, the first request message can be converted into a request parameter corresponding to the seat module to call the seat module. For a message type of a passenger list request, the first request message can be converted into a request parameter corresponding to the passenger record module to call the passenger record module. For a message type of an update request, the first request message can be converted into a request parameter corresponding to the check-in module or the baggage module to call the check-in module or the baggage module.
[0066] Optionally, converting the first request message into request parameters corresponding to the check-in module or the baggage module includes: determining a target object that the first request message requests to be modified; in response to the target object being baggage information, converting the first request message into request parameters corresponding to the baggage module; in response to the target object being passenger seat information, converting the first request message into request parameters corresponding to the check-in module.
[0067] In connecting flights, seat and baggage change processing is particularly important because in connecting flights, passengers' seat and baggage information needs to be coordinated and synchronized between different airlines and different departure systems. For example, if a passenger reduces luggage in a certain flight segment, the luggage information needs to be updated in time to the departure system of the subsequent flight segment to avoid problems with luggage handling in transit or at the final destination.
[0068] In an optional embodiment, the target object to be modified by the first request message can be determined by semantic recognition. Alternatively, it can be determined by field parsing whether the field to be modified in the first request message is a field related to luggage or seats. Alternatively, the target object to be modified by the first request message can be determined by a rule engine. And when it is determined that the target object is luggage information, the first request message can be converted into request parameters corresponding to the luggage module to call the luggage module for change processing. Alternatively, when it is determined that the target object is passenger seat information, the first request message can be converted into request parameters corresponding to the check-in module to call the check-in module for change processing. By determining the target object to be modified, the module to be called can be located more accurately, which can improve the efficiency of request processing.
[0069] Optionally, the first request message is converted into a request parameter corresponding to the first module based on the message type, including: verifying the connecting check-in request based on the message type to obtain a verification result, wherein the verification result is used to characterize whether the connecting check-in service is opened between the requesting airlines; in response to the verification result characterizing that the connecting check-in service is opened between the requesting airlines, the first request message is converted into a request parameter corresponding to the first module based on the message type.
[0070] Through the verification mechanism, it can be ensured that requests are only processed when the connecting check-in service is opened between airlines, avoiding invalid operations and improving the security of request processing.
[0071] In an optional embodiment, the through check-in request may be verified by a state machine, verification rules, etc. When the verification result indicates that the through check-in service is requested to be opened between airlines, the first request message is converted into a request parameter corresponding to the first module based on the message type, so as to use the first module to process the request.
[0072] Optionally, in response to the forwarding target being an external departure system, the method further includes: based on the message sending rule corresponding to the connecting check-in request, calling the second module to construct the passenger information corresponding to the connecting check-in request into a second request message; based on the address rule corresponding to the connecting check-in request, sending the second request message to the external departure system; receiving a second response message returned by the external departure system; and updating the passenger information in the open departure system based on the second response message.
[0073] By constructing and sending the second request message, effective communication with the external departure system is achieved, ensuring real-time synchronization of passenger information between different airlines to improve the accuracy of request processing.
[0074] In an optional embodiment, when it is determined that the forwarding target is an external departure system, the connecting check-in request needs to be sent to the external departure system. Optionally, the connecting check-in request can be processed by a service orchestrator. Specifically, the service orchestrator can be called according to the connecting check-in request so that the service orchestrator can construct the passenger information into a second request message according to a preset construction rule to achieve subsequent synchronization of passenger information between different departure systems. Then, through the address configuration service, a connection with the external departure system is established so as to send the second request message to the external departure system. The service orchestrator continuously monitors the second response message of the external departure system. After receiving the second response message, the service orchestrator parses the second response message and updates the passenger information in the open departure system.
[0075] In another optional embodiment, the connecting check-in request can be processed through a message queue. Specifically, the open departure system parses the connecting check-in request, determines the rule for constructing the second request message, and publishes it to the message queue. The second module obtains the connecting check-in request by monitoring the message queue, processes the connecting check-in request according to the construction rule table, and constructs the second request message. The second module uses a pre-configured address to send the second request message to the external departure system through a network request. After the external departure system returns the second response message, the second module receives and parses the message, and then republishes the update information to the message queue. Then, when the update information queue is monitored, the passenger information in the open departure system is updated based on the passenger information returned by the external departure system.
[0076] Optionally, the above method also includes: determining the connecting true and false travel information corresponding to the multiple passenger information based on multiple passenger information in the open departure system and the connecting identification information corresponding to each passenger information; deduplicating the real travel information corresponding to the multiple passenger information to obtain the passenger information corresponding to the connecting check-in request.
[0077] The above-mentioned real travel information can be the full amount of passenger information in the open departure system that can be used for various business operations. The above-mentioned fake travel information can be used to identify the connecting information of the passenger, and the fake travel information is associated with the connecting segment.
[0078] The deduplication mechanism can ensure the effectiveness of passenger information processing, avoid duplication of information processing, and improve the efficiency of information processing. When processing large-scale connecting check-in requests, the application of this method can significantly reduce the system load and increase the speed of information processing.
[0079] In an optional embodiment, the passenger information corresponding to the connecting check-in request can be obtained by querying the database and deduplicating. A plurality of passenger information and connecting identifiers are obtained from the database, and the passenger information includes real travel information or fake travel information. Then, according to the connecting identifier in the passenger information, the real travel information and the fake travel information are classified. For the classified real travel information list, a deduplication algorithm is used to eliminate duplicate records. Based on the fake travel information and the real travel information after deduplication, the passenger information is determined to ensure the uniqueness of the passenger and avoid repeated processing.
[0080] In another optional embodiment, passenger information can be determined based on dynamic processing of a microservice architecture. In a microservice architecture, the processing of connecting check-in requests can be dynamically assigned to multiple microservices to achieve efficient and flexible information processing. By calling multiple microservices, real travel and fake travel information, as well as related connecting identifications, are collected separately, and then aggregated into a central service to separate and deduplicate real and fake travel information. A hash table can be used to deduplicate real travel information to ensure the uniqueness of real travel information. After deduplication, a second request message can be constructed according to the rules corresponding to the connecting check-in request, and distributed through an event bus or a message queue for subsequent connecting check-in processing.
[0081] Optionally, updating the passenger information in the open departure system based on the second response message includes: determining target real travel information in the open departure system based on the boarding number and requested flight segment of the requesting system in the second response message; determining target connecting false travel information according to the target real travel information and the connecting flight segment information in the second response message; and updating the target connecting false travel information based on the passenger information in the second response message.
[0082] The update mechanism enables real-time update of passenger information, ensuring the latest status of passenger information in the departure system. When processing requests for reprinting boarding passes and seat changes for connecting flights, this update process can ensure that passenger information is real-time and accurate, improving passenger service satisfaction.
[0083] In an optional embodiment, passenger information can be updated by publishing and subscribing to events to achieve high concurrency and decoupling of the departure system. After parsing the second response message, the update information can be encapsulated into an event and published to the event bus. Then, through the event subscriber, such as the passenger information update service, the event bus is monitored, and after receiving the update event, the boarding number and flight segment information in the event are used to query the target real travel information. The subscriber performs an update operation and applies the connecting flight segment information in the second response message to the target connecting fake travel information. After the update operation is completed, the subscriber publishes a new event to notify the passenger that the information has been updated.
[0084] In another optional embodiment, the passenger information can be updated by the service orchestrator. After parsing the second response message, the update task can be forwarded to the service orchestrator. The service orchestrator can call the real travel information service to query the target real travel information, and then call the connecting trip information service to locate the target connecting trip fake travel information. The service orchestrator calls the passenger update service to synchronize the passenger information in the second response message with the target connecting trip fake travel information to ensure the accuracy and consistency of the passenger information.
[0085] Optionally, based on the boarding number and requested flight segment of the requesting system in the second response message, determining the target real travel information in the open departure system includes: parsing the second response message to obtain preset identification information; determining whether the external departure system and the open departure system are successfully connected based on the preset identification information; in response to the successful connection between the external departure system and the open departure system, determining the target real travel information based on the boarding number and requested flight segment of the requesting system.
[0086] By analyzing and judging the preset identification information, it is possible to accurately determine whether the connecting operation is successful, further improving the accuracy and efficiency of information processing. When processing complex check-in requests for connecting flights, this process can ensure that the departure system can accurately identify and process the results of the connecting operation, improving the stability of the departure system and the security of passenger information.
[0087] In an optional embodiment, the second response message can be parsed by a parsing rule or a parser to obtain preset identification information for determining whether the external departure system and the open departure system are successfully connected. Alternatively, it is also possible to identify the preset field in the second response message, thereby determining whether the external departure system and the open departure system are successfully connected based on the preset identification information corresponding to the preset field. Furthermore, in the case where the external departure system and the open departure system are successfully connected, the passenger information query service can be called to pass in the boarding number and the requested flight segment of the requesting system to determine the target real travel information. Alternatively, based on the boarding number and the requested flight segment of the requesting system, the target real travel information is queried in the database of the open departure system.
[0088] Figure 2 is a schematic diagram of an optional method for processing a connecting check-in request between departure systems according to an embodiment of the present invention, such as Figure 2 As shown, the method includes:
[0089] A connecting check-in request is received and the connecting check-in request is parsed to obtain a first request message.
[0090] It is determined in turn whether the message type of the first request message is a message for reprinting boarding pass, seat map, passenger information, connecting check-in, dropping off passengers, and modification. If the message type of the first request message is not the above type, an error message is returned.
[0091] In response to the message type of the first request message being a reprint boarding pass, it is further determined whether the reprint boarding pass is enabled between the departure systems. If the reprint boarding pass is enabled between the departure systems, the first request message is converted into a request parameter for the reprint boarding pass, thereby invoking a passenger service module interface request based on the request parameter for the reprint boarding pass, and returning a first response message. If the reprint boarding pass is not enabled between the departure systems, an error message is directly returned.
[0092] In response to the message type of the first request message being a seat map, it is further determined whether the seat map query is enabled between departure systems. If the seat map query is enabled between departure systems, the first request message is converted into a request parameter for querying the seat map, thereby invoking the seat module interface request based on the request parameter for querying the seat map, and returning a first response message. If the seat map query is not enabled between departure systems, an error message is directly returned.
[0093] In response to the message type of the first request message being passenger information, it is further determined whether the passenger information query between departure systems is enabled. If the passenger information query between departure systems is enabled, the first request message is converted into a request parameter for querying passenger information, thereby invoking a passenger record module interface request based on the request parameter for querying passenger information, and returning a first response message. If the passenger information query between departure systems is not enabled, an error message is directly returned.
[0094] In response to the message type of the first request message being through check-in, it is further determined whether through check-in is enabled between the departure systems. If through check-in is enabled between the departure systems, the first request message is converted into a request parameter of a passenger service, thereby invoking a passenger service module interface request based on the request parameter of the passenger service, and returning a first response message. If through check-in is not enabled between the departure systems, an error message is directly returned.
[0095] In response to the message type of the first request message being to drop off a passenger, it is further determined whether connecting check-in is enabled between departure systems. In the case where connecting check-in is enabled between departure systems, the first request message is converted into a request parameter of a passenger service, thereby invoking a passenger service module interface request based on the request parameter of the passenger service, and returning a first response message.
[0096] In response to the message type of the first request message being update, it is further determined whether the inter-departure check-in is enabled between the departure systems. In the case where the inter-departure check-in is enabled between the departure systems, the first request message is converted into a request parameter of the passenger service, thereby invoking the passenger service module interface request based on the request parameter of the passenger service, and returning a first response message.
[0097] Figure 3is a schematic diagram of an optional method for processing a connecting check-in request between departure systems according to an embodiment of the present invention, such as Figure 3 As shown, the method includes:
[0098] Generate an outbound connecting flight list. Further based on the outbound connecting flight list, determine whether to open the connecting flight check-in service. If the connecting flight check-in is opened, further determine whether there are connecting flight restrictions. If the connecting flight check-in is not opened, directly return the interface response data.
[0099] If there is no connection restriction, a second request message is constructed. If there is a connection restriction, the interface response data is directly returned.
[0100] Further, according to the address, the connection module is called to transmit the second request message between different departure systems.
[0101] After receiving the response message, the passenger information is updated and the interface response data is returned.
[0102] According to another aspect of an embodiment of the present invention, an embodiment of a system for processing a connecting check-in request between departure systems is also provided. It should be noted that the system can be used to execute the above-mentioned method for processing a connecting check-in request between departure systems.
[0103] Figure 4 is a schematic diagram of a system for processing a connecting check-in request between departure systems according to an embodiment of the present invention. Figure 4 As shown, the system is arranged in an open departure system, and includes: a departure connection module, used to receive a connection check-in request, and determine a forwarding target of the connection check-in request based on a first request message corresponding to the connection check-in request, wherein the forwarding target includes one of the following: an external departure system and an open departure system; a departure control module, used to call an interface request of a first module based on a message type of the first request message in response to the forwarding target being an open departure system, generate a first response message, and return the first response message to the departure connection module, wherein the first module includes at least one of the following: a check-in module, a seat module, a passenger record module, and a baggage module; the departure connection module is also used to send the first response message to the external departure system.
[0104] The system for processing connecting check-in requests between departure systems not only improves the efficiency and accuracy of request processing, but also enhances the flexibility and stability of the open departure system by intelligently identifying and processing connecting check-in requests.
[0105] Optionally, the system further includes: a second module, including at least one of the following: a check-in module, a seat module, a passenger record module and a baggage module, used to, in response to the forwarding target being an external departure system, construct the passenger information corresponding to the connecting check-in request into a second request message based on the message sending rule corresponding to the connecting check-in request; a message connection module, used to send the second request message to the external departure system based on the address rule corresponding to the connecting check-in request, and receive a second response message returned by the external departure system; the second module is also used to update the passenger information in the open departure system based on the second response message.
[0106] By setting up the second module and the message connection module, the processing system can achieve efficient communication with the external departure system, ensuring real-time synchronization and updating of passenger information. When processing cross-border connecting flight check-in requests, this can ensure that passenger information is accurately transmitted between airlines around the world, improving the global consistency of passenger services, while also strengthening the information security and data management capabilities of the open departure system.
[0107] According to an embodiment of the present invention, an embodiment of a device for processing a connecting check-in request between departure systems is provided. It should be noted that the device can be used to execute the above-mentioned method for processing a connecting check-in request between departure systems.
[0108] Figure 5 is a schematic diagram of a processing device for a connecting check-in request between departure systems according to an embodiment of the present invention. Figure 5 As shown, the device comprises:
[0109] The departure connecting module 52 is used to determine, in response to receiving the connecting check-in request, a forwarding target of the connecting check-in request based on a first request message corresponding to the connecting check-in request, wherein the forwarding target includes one of the following: an external departure system and an open departure system; the departure control module 54 is used to call the interface request of the first module and generate a first response message based on the message type of the first request message in response to the forwarding target being the open departure system; the departure connecting module is also used to return the first response message to the external departure system.
[0110] Optionally, the departure connecting module is further used to determine the requested flight information in the first request message; and determine the forwarding target of the connecting check-in request based on the flight diversion rule corresponding to the requested flight information.
[0111] Optionally, the departure connecting module is further used to determine whether the requested flight information belongs to an open departure system based on the flight diversion rules corresponding to the requested flight information; in response to the requested flight information belonging to the open departure system, determine the forwarding target to be an external departure system; in response to the requested flight information not belonging to the open departure system, determine the forwarding target to be an open departure system.
[0112] Optionally, the departure control module is further used to convert the first request message into a request parameter corresponding to the first module based on the message type; call the interface request of the first module based on the request parameter to generate a first response message.
[0113] Optionally, the departure control module is further used to, in response to a message type of a boarding pass reprint request, a passenger check-in request, or a check-in cancellation request, convert the first request message into a request parameter corresponding to the check-in module; in response to a message type of a seat map request, convert the first request message into a request parameter corresponding to the seat module; in response to a message type of a passenger list request, convert the first request message into a request parameter corresponding to the passenger record module; in response to a message type of an update request, convert the first request message into a request parameter corresponding to the check-in module or the baggage module.
[0114] Optionally, the departure control module is also used to determine the target object requested to be modified by the first request message; in response to the target object being baggage information, convert the first request message into request parameters corresponding to the baggage module; in response to the target object being passenger seat information, convert the first request message into request parameters corresponding to the check-in module.
[0115] Optionally, the departure control module is further used to verify the connecting check-in request based on the message type to obtain a verification result, wherein the verification result is used to indicate whether the connecting check-in service is opened between the requesting airlines; in response to the verification result indicating that the connecting check-in service is opened between the requesting airlines, the first request message is converted into a request parameter corresponding to the first module based on the message type.
[0116] Optionally, in response to the forwarding target being an external departure system, the above-mentioned device also includes a departure information processing module, which is used to call the second module to construct the passenger information corresponding to the connecting check-in request into a second request message based on the message sending rule corresponding to the connecting check-in request; send the second request message to the external departure system based on the address rule corresponding to the connecting check-in request; receive a second response message returned by the external departure system; and update the passenger information in the open departure system based on the second response message.
[0117] Optionally, the departure information processing module is also used to determine the connecting true and false travel information corresponding to the multiple passenger information based on the multiple passenger information in the open departure system and the connecting identification information corresponding to each passenger information; deduplicate the real travel information corresponding to the multiple passenger information to obtain the passenger information corresponding to the connecting check-in request.
[0118] Optionally, the departure information processing module is further used to determine the target real travel information in the open departure system based on the boarding number and the requested flight segment of the requesting system in the second response message; determine the target connecting fake travel information based on the target real travel information and the connecting flight segment information in the second response message; and update the target connecting fake travel information based on the passenger information in the second response message.
[0119] Optionally, the departure information processing module is also used to parse the second response message to obtain preset identification information; based on the preset identification information, determine whether the external departure system and the open departure system are successfully connected; in response to the external departure system and the open departure system being successfully connected, determine the target real travel information based on the boarding number and requested flight segment of the requesting system.
[0120] An embodiment of the present application further provides an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in various embodiments of the present invention when running.
[0121] An embodiment of the present application further provides a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0122] An embodiment of the present application further provides a computer program product, including a computer program, which implements the methods in various embodiments of the present invention when executed by a processor.
[0123] An embodiment of the present application further provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0124] The embodiments of the present application further provide a computer program, which implements the methods in the above-mentioned embodiments of the present invention when executed by a processor.
[0125] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0126] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0127] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0128] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0129] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0130] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for processing a connecting check-in request between departure systems, characterized in that: Applied to an open departure system, the method comprises: In response to receiving a connecting check-in request, determining a forwarding target of the connecting check-in request based on a first request message corresponding to the connecting check-in request, wherein the forwarding target includes one of the following: an external departure system and the open departure system; In response to the forwarding target being the open departure system, based on the message type of the first request message, calling the interface request of the first module to generate a first response message; The first response message is returned to the external departure system.
2. The method according to claim 1, characterized in that Determining, based on the first request message corresponding to the connecting check-in request, a forwarding target of the connecting check-in request, includes: Determining requested flight information in the first request message; Based on the flight diversion rule corresponding to the requested flight information, a forwarding target of the connecting check-in request is determined.
3. The method according to claim 2, characterized in that Determining a forwarding target of the connecting check-in request based on a flight diversion rule corresponding to the requested flight information includes: Determining whether the requested flight information belongs to the open departure system based on the flight diversion rule corresponding to the requested flight information; In response to the requested flight information belonging to the open departure system, determining the forwarding target to be the external departure system; In response to the requested flight information not belonging to the open departure system, determining the forwarding target to be the open departure system.
4. The method according to claim 1, characterized in that Based on the message type of the first request message, calling the interface request of the first module to generate a first response message includes: Converting the first request message into a request parameter corresponding to the first module based on the message type; The interface request of the first module is called based on the request parameters to generate the first response message.
5. The method according to claim 4, characterized in that Converting the first request message into a request parameter corresponding to the first module based on the message type includes: In response to the message type being a boarding pass reprint request, a passenger check-in request, or a check-in cancellation request, converting the first request message into a request parameter corresponding to the check-in module; In response to the message type being a seat map request, converting the first request message into a request parameter corresponding to a seat module; In response to the message type being a passenger list request, converting the first request message into a request parameter corresponding to a passenger record module; In response to the message type being an update request, the first request message is converted into a request parameter corresponding to a check-in module or a baggage module.
6. The method according to claim 5, characterized in that Converting the first request message into request parameters corresponding to the check-in module or the baggage module includes: Determine a target object that the first request message requests to modify; In response to the target object being baggage information, converting the first request message into a request parameter corresponding to the baggage module; In response to the target object being passenger seat information, the first request message is converted into a request parameter corresponding to the check-in module.
7. The method according to any one of claims 4 to 6, characterized in that Converting the first request message into a request parameter corresponding to the first module based on the message type includes: Verifying the through check-in request based on the message type to obtain a verification result, wherein the verification result is used to indicate whether the through check-in service is available between the requesting airlines; In response to the verification result indicating that the airlines are requested to open the connecting check-in service, the first request message is converted into a request parameter corresponding to the first module based on the message type.
8. The method according to claim 1, characterized in that In response to the forwarding target being the external departure system, the method further includes: Based on the message sending rule corresponding to the connecting check-in request, calling the second module to construct the passenger information corresponding to the connecting check-in request into a second request message; sending the second request message to the external departure system based on the address rule corresponding to the connecting check-in request; receiving a second response message returned by the external departure system; The passenger information in the open departure system is updated based on the second response message.
9. The method according to claim 8, characterized in that The method further comprises: Based on the multiple passenger information in the open departure system and the connecting flight identification information corresponding to each passenger information, determining the connecting flight true and false travel information corresponding to the multiple passenger information; The real travel information corresponding to the multiple passenger information is deduplicated to obtain the passenger information corresponding to the connecting check-in request.
10. The method according to claim 8, characterized in that Updating the passenger information in the open departure system based on the second response message includes: Determine the target real travel information in the open departure system based on the boarding number of the requesting system and the requested flight segment in the second response message; Determine target connecting fake travel information according to the target real travel information and the connecting flight segment information in the second response message; Based on the passenger information in the second response message, the target connecting trip information is updated.
11. The method according to claim 9, characterized in that Determining target real travel information in the open departure system based on the boarding number of the requesting system and the requested flight segment in the second response message includes: Parsing the second response message to obtain preset identification information; Based on the preset identification information, determining whether the external departure system and the open departure system are successfully connected; In response to the successful connection between the external departure system and the open departure system, the target real travel information is determined based on the boarding number of the requesting system and the requested flight segment.
12. A system for processing inter-departure check-in requests, characterized in that: Set up in the open departure system, including: A departure connecting module, configured to receive a connecting check-in request, and determine a forwarding target of the connecting check-in request based on a first request message corresponding to the connecting check-in request, wherein the forwarding target includes one of the following: an external departure system and the open departure system; a departure control module, configured to, in response to the forwarding target being the open departure system, invoke an interface request of a first module based on a message type of the first request message, generate a first response message, and return the first response message to the departure connection module, wherein the first module includes at least one of the following: a check-in module, a seat module, a passenger record module, and a baggage module; The departure connection module is further configured to send the first response message to the external departure system.
13. The system according to claim 12, characterized in that Also includes: The second module includes at least one of the following: a check-in module, a seat module, a passenger record module, and a baggage module, configured to construct the passenger information corresponding to the connecting check-in request into a second request message based on a message sending rule corresponding to the connecting check-in request in response to the forwarding target being the external departure system; a message connection module, configured to send the second request message to the external departure system based on the address rule corresponding to the connecting check-in request, and receive a second response message returned by the external departure system; The second module is further configured to update the passenger information in the open departure system based on the second response message.
14. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 11 when running.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 11.
16. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Method and device for automatically opening departure check-in machine
CN111950984A
Information interaction method and related equipment
CN113315842A
Information verification method for international passenger check-in and related equipment
CN118013486A
Authority control method and device based on departure system, and related equipment
CN118228227A
Common use departure control method and system
WO2017037235A1