Order synchronization message processing method and device, storage medium and electronic equipment
By analyzing the flight information of the unified order in the open passenger booking system, extracting and using the target segment information to generate order synchronization messages, the inefficiency problem caused by the high complexity of the information in the existing technology is solved, and efficient and accurate order synchronization messages are achieved.
Patent Information
- Application Number
- CN202411792296.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-04
AI Technical Summary
After the unified order changes in the open passenger booking system, the information of the flight segments that generate order synchronization messages is complex, resulting in low efficiency in generating and sending order synchronization messages.
By obtaining flight-related information in the target unified order, analyzing and extracting target segment information that complies with preset rules, determining the link information and segment information of the sending carrier object, and generating and sending order synchronization messages.
It reduces the complexity of generating order synchronization packets, makes message generation more automated and accurate, improves the efficiency of message generation and sending, ensures the real-time and consistency of order information, and improves the efficiency of passenger booking management.
Smart Images

Figure CN119762176A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, storage medium and electronic device for processing order synchronization messages. Background Art
[0002] The open passenger reservation system of the Computer Reservation System (CRS) manages and maintains a unified order (Customer Travel Record, CTR) based on open platform storage technology. The unified order records the data of the entire process of passenger travel from booking sales, passenger services to travel delivery. The open passenger reservation system is responsible for the synchronization and management of CTR order data, and implements the booking transaction and order synchronization process based on CTR order data. It synchronizes the unified order of the distribution agent sales channel to the airline system to generate a bundled order, provides a channel for the airline's customers to manage the unified order of the open passenger reservation system, and relies on the order synchronization message service to support airlines in real-time tracking of changes in passenger reservation status under the agent distribution system, eliminating information mismatches between the unified order of the reservation system and the bundled order of the airline system.
[0003] After booking the airline's inventory segments in the open passenger reservation system and completing the unified order update, it is necessary to send order synchronization messages to each airline system respectively, and wait for the return response to be received before updating the bundled order record numbers generated by the airline system to the unified order in the open passenger reservation system database one by one. The more common update is to generate a synchronization message after the flight-related content (for example, passengers, segments, special services, ticketing information, other service information, etc.) in the unified order is updated. The segment information part in the synchronization message is particularly important and is the key information entry for the airline system to process after receiving the synchronization message. However, in the prior art, after the unified order in the open passenger reservation system is changed, the complexity of the segment information generated in the order synchronization message is relatively high, resulting in low efficiency in generating and sending the order synchronization message.
[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, device, storage medium and electronic device for processing order synchronization messages, so as to at least solve the technical problem in the prior art that after the unified order in the open passenger reservation system is changed, the complexity of the flight segment information generated in the order synchronization message is high, resulting in low efficiency in generating and sending the order synchronization message.
[0006] According to one aspect of an embodiment of the present invention, a method for processing an order synchronization message is provided, comprising: obtaining flight-related information in a target unified order, and analyzing the flight-related information in the target unified order to obtain target flight segment information that complies with preset rules, wherein the target unified order is a unified order in which the flight-related information is updated; determining link information of a message carrier object and flight segment information of the message carrier object based on the target flight segment information, wherein the message carrier object is used to carry message-related information; generating an order synchronization message based on the link information and the flight segment information, and sending the order synchronization message to the corresponding target airline system.
[0007] Further, the flight-related information in the target unified order is analyzed to obtain target flight segment information that meets preset rules, including: extracting the airline two-letter code from the flight-related information in the target unified order, and matching the airline two-letter code with the preset flight segment keyword; if the airline two-letter code is the same as the preset flight segment keyword, the flight segment information to which the airline two-letter code belongs is used as the target flight segment information.
[0008] Furthermore, the link information of the messaging carrier object and the flight segment information of the messaging carrier object are determined based on the target flight segment information, including: extracting the airline two-letter code from the target flight segment information, and using the airline two-letter code as a key value index; determining the link information of the messaging carrier object based on the key value index; and determining the flight segment information of the messaging carrier object based on the link information of the messaging carrier object.
[0009] Furthermore, the link information includes at least message address information, message protocol information and message type information, wherein the link information of the message carrier object is determined based on the key value index, including: querying the telegram address configuration table based on the key value index to obtain the message address information; querying the protocol configuration table based on the key value index to obtain the message protocol information; querying the message type configuration table based on the key value index to obtain the message type information.
[0010] Further, the flight segment information of the messaging carrier object is determined based on the link information of the messaging carrier object, including: if the messaging type information is the target messaging type information, the first flight segment information is obtained from the flight related information in the target unified order, wherein the target messaging type information is one of the following: the preceding arrival flight type, the subsequent connecting flight type, and the first flight segment information is used to characterize the supplementary flight segment information corresponding to the target flight segment information; the flight segment information of the messaging carrier object is formed based on the first flight segment information and the target flight segment information.
[0011] Furthermore, an order synchronization message is generated based on the link information and the flight segment information, including: performing splicing processing based on the message type information and the flight segment information to obtain the flight segment field content of the order synchronization message; and encapsulating the flight segment field content of the order synchronization message based on the message protocol information to obtain the order synchronization message.
[0012] Furthermore, after sending the order synchronization message to the corresponding target airline system, the method also includes: receiving a response message returned by the target airline system, and parsing the response message to obtain the record number of the bundled order in the target airline system corresponding to the target unified order; updating the record number of the bundled order to the target unified order to achieve information synchronization between the target unified order and the bundled order.
[0013] According to another aspect of an embodiment of the present invention, there is also provided a device for processing order synchronization messages, including: an acquisition module, used to acquire flight-related information in a target unified order, and analyze the flight-related information in the target unified order to obtain target flight segment information that complies with preset rules, wherein the target unified order is a unified order in which flight-related information is updated; a first determination module, used to determine link information of a message carrier object and flight segment information of the message carrier object based on the target flight segment information, wherein the message carrier object is used to carry message-related information; a first processing module, used to generate an order synchronization message based on the link information and the flight segment information, and send the order synchronization message to the corresponding target airline system.
[0014] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the above-mentioned method for processing order synchronization messages is implemented.
[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for processing order synchronization messages when running.
[0016] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, which includes one or more processors; a memory for storing one or more programs, so that when the one or more programs are executed by the one or more processors, the one or more processors are implemented to run the programs, wherein the programs are configured to execute the above-mentioned method for processing order synchronization messages when running.
[0017] In an embodiment of the present invention, flight-related information in a target unified order is first obtained, and the flight-related information in the target unified order is analyzed to obtain target flight segment information that complies with preset rules, wherein the target unified order is a unified order in which flight-related information is updated, and then the link information of the messaging carrier object and the flight segment information of the messaging carrier object are determined based on the target flight segment information, wherein the messaging carrier object is used to carry messaging-related information, and then an order synchronization message is generated based on the link information and the flight segment information, and the order synchronization message is sent to the corresponding target airline system.
[0018] In the above process, by analyzing the flight-related information in the target unified order, the target segment information that meets the preset rules can be obtained, so that the link information of the departure message carrier object and the segment information of the transmission message carrier object can be determined according to the target segment information, and then the order synchronization message can be generated according to the link information and the segment information, which reduces the complexity of generating the order synchronization message, makes the message generation more automated and accurate, improves the efficiency of message generation and sending, improves the response speed of interaction with the airline system, ensures the consistency and real-time nature of the order information between the open passenger reservation system and the airline system, and improves the efficiency and accuracy of passenger reservation management.
[0019] It can be seen that through the technical solution of the present invention, the purpose of efficiently and accurately generating an order synchronization message containing flight-related update information after a unified order is changed is achieved, thereby achieving the technical effect of improving the efficiency of generating and sending order synchronization messages, and further solving the technical problem in the prior art that after a unified order is changed in an open passenger reservation system, the complexity of the flight segment information for generating an order synchronization message is high, resulting in low efficiency in generating and sending order synchronization messages. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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:
[0021] Figure 1 is a flowchart of an optional method for processing order synchronization messages according to an embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of an optional processing flow of an order synchronization message according to an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of an optional order synchronization message processing system according to an embodiment of the present invention;
[0024] Figure 4is a schematic diagram of system interaction of an optional order synchronization message according to an embodiment of the present invention;
[0025] Figure 5 is a schematic diagram of an optional order synchronization message processing device according to an embodiment of the present invention;
[0026] Figure 6 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] 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.
[0028] 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.
[0029] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in the present invention are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between the system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0030] Example 1
[0031] According to an embodiment of the present invention, an embodiment of a method for processing order synchronization messages 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.
[0032] Figure 1 is a flowchart of an optional method for processing order synchronization messages according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0033] Step S101, obtaining flight related information in a target unified order, and analyzing the flight related information in the target unified order to obtain target flight segment information that complies with preset rules, wherein the target unified order is a unified order in which flight related information is updated.
[0034] In the above steps, the application system, processor, electronic device and other devices can be used as the execution subject. Optionally, the order synchronization message processing system of the open passenger reservation system of the agent distribution system can be used as the execution subject. The unified order (i.e., the target unified order) in which the flight-related information in the open passenger reservation system is updated is obtained through the order synchronization message processing system, and the flight-related contents such as passengers, flight segments, special services, and other service information of the unified order are queried to obtain the flight-related information in the target unified order. Among them, the flight-related information refers to the passengers, flight segments, special services, ticketing information, other service information, etc. involved in the unified order.
[0035] The target segment information is the valid segment in the updated unified order, and the preset rules include the following: the segment attributes are complete, including the airline two-letter code, flight number, flight date, class, departure and arrival city pairs, segment status and number of seats; the segment does not exceed the system agreed date range; the segment status is within the system agreed range. That is, a valid segment refers to a segment with complete segment attributes, a segment that does not exceed the system agreed date range, and a segment status within the system agreed range. Optionally, by analyzing the flight-related information in the target unified order, the target segment information (i.e., valid segment) that meets the preset rules can be obtained. For example, by analyzing the order change content, the airline two-letter code or complete flight information in the flight-related content involved in this update is matched with the preset segment keyword, and the valid segment can be determined.
[0036] Step S102, determining the link information of the message carrier object and the flight segment information of the message carrier object according to the target flight segment information, wherein the message carrier object is used to carry the message related information.
[0037] Optionally, the message carrier object is a carrier of message information. For example, the message carrier object is an operable program object used to represent a message sending method, including a message address, a message sending protocol, a message type, a message segment set, and the like.
[0038] Optionally, the link information of the message carrier object includes the message address, message protocol and message type, and the flight segment information of the message carrier object refers to the flight segment set of the message carrier object. Optionally, the airline message carrier object set is initialized, and the link information of the message carrier object and the flight segment information of the message carrier object can be determined based on the valid flight segment.
[0039] Step S103: Generate an order synchronization message based on the link information and the flight segment information, and send the order synchronization message to the corresponding target airline system.
[0040] Optionally, an order synchronization message can be generated based on the link information and the flight segment information, that is, the order synchronization message is spliced by the flight segment information of the message carrier object, encapsulated according to the preset message protocol standard, and then the message sending service is adapted according to the message protocol standard in the message carrier object, and the order synchronization message flight segment content is sent in parallel to the corresponding target airline system.
[0041] Based on the scheme defined by the above steps S101 to S103, it can be known that in an embodiment of the present invention, the flight-related information in the target unified order is first obtained, and the flight-related information in the target unified order is analyzed to obtain the target flight segment information that meets the preset rules, wherein the target unified order is a unified order in which the flight-related information is updated, and then the link information of the messaging carrier object and the flight segment information of the messaging carrier object are determined based on the target flight segment information, wherein the messaging carrier object is used to carry the messaging-related information, and then an order synchronization message is generated based on the link information and the flight segment information, and the order synchronization message is sent to the corresponding target airline system.
[0042] It is easy to notice that in the above process, by analyzing the flight-related information in the target unified order, the target segment information that meets the preset rules can be obtained, so that the link information of the departure message carrier object and the segment information of the transmission message carrier object can be determined based on the target segment information, and then the order synchronization message can be generated based on the link information and the segment information, which reduces the complexity of generating order synchronization messages, makes message generation more automated and accurate, improves the efficiency of message generation and sending, improves the response speed of interaction with the airline system, ensures the consistency and real-time nature of the order information between the open passenger reservation system and the airline system, and improves the efficiency and accuracy of passenger reservation management.
[0043] It can be seen that through the technical solution of the present invention, the purpose of efficiently and accurately generating an order synchronization message containing flight-related update information after a unified order is changed is achieved, thereby achieving the technical effect of improving the efficiency of generating and sending order synchronization messages, and further solving the technical problem in the prior art that after a unified order is changed in an open passenger reservation system, the complexity of the flight segment information for generating an order synchronization message is high, resulting in low efficiency in generating and sending order synchronization messages.
[0044] In an optional embodiment, the flight-related information in the target unified order is analyzed to obtain target segment information that meets preset rules, including: extracting the airline two-letter code from the flight-related information in the target unified order, and matching the airline two-letter code with a preset segment keyword; if the airline two-letter code is the same as the preset segment keyword, then using the segment information to which the airline two-letter code belongs as the target segment information.
[0045] Optionally, in the process of analyzing the order change content, the airline two-letter code can be extracted from the flight-related information in the target unified order, and the airline two-letter code can be matched with the preset segment keyword. If the airline two-letter code is the same as the preset segment keyword, the segment information to which the airline two-letter code belongs is used as the valid segment. For example, the preset segment keyword includes multiple preset segments (such as CA111, CX882, etc.), the airline two-letter code extracted from the flight-related information in the target unified order is CA, and the segment to which it belongs is CA111, then CA111 can be used as the valid segment.
[0046] It should be noted that accurate determination of valid flight segments is achieved by matching the two-letter code of the airline with the preset flight segment keywords.
[0047] In an optional embodiment, the link information of the messaging carrier object and the flight segment information of the messaging carrier object are determined based on the target flight segment information, including: extracting the airline two-letter code from the target flight segment information, and using the airline two-letter code as a key index; determining the link information of the messaging carrier object based on the key index; determining the flight segment information of the messaging carrier object based on the link information of the messaging carrier object.
[0048] Optionally, in the process of determining the link information of the message carrier object and the flight segment information of the message carrier object based on the target flight segment information, the airline two-letter code is first extracted from the target flight segment information, and the airline two-letter code is used as the key value index. Then, the link information of the message carrier object can be determined based on the key value index, and then the flight segment information of the message carrier object can be determined based on the link information of the message carrier object.
[0049] In an optional embodiment, the link information includes at least message address information, message protocol information and message type information, wherein the link information of the message carrier object is determined based on the key value index, including: querying the telegram address configuration table based on the key value index to obtain the message address information; querying the protocol configuration table based on the key value index to obtain the message protocol information; querying the message type configuration table based on the key value index to obtain the message type information.
[0050] Optionally, after extracting the airline two-letter code from the target flight segment information and using the airline two-letter code as a key value index, the telegram address configuration table can be queried based on the key value index to obtain the message address information, the protocol configuration table can be queried based on the key value index to obtain the message protocol information, and the message type configuration table can be queried based on the key value index to obtain the message type information. For example, extract the airline two-letter code of the valid flight segment as a key value index, query the telegram address configuration table to determine the receiving airline system synchronization message address (i.e., message address information), query the airline's domestic and international attributes and bilateral direct connection protocol data configuration table (i.e., protocol configuration table) to determine the message protocol (i.e., message protocol information), and query the order update item status and special identification (i.e., message type configuration table) to determine the message type (i.e., message type information).
[0051] It should be noted that by using the two-letter airline code as a key value index for query, the synchronization message address, message protocol and message type can be accurately determined.
[0052] In an optional embodiment, the flight segment information of the messaging carrier object is determined based on the link information of the messaging carrier object, including: if the messaging type information is the target messaging type information, the first flight segment information is obtained from the flight related information in the target unified order, wherein the target messaging type information is one of the following: the preceding arrival flight type, the subsequent connecting flight type, the first flight segment information is used to characterize the supplementary flight segment information corresponding to the target flight segment information; the flight segment information of the messaging carrier object is formed based on the first flight segment information and the target flight segment information.
[0053] Optionally, in the process of determining the flight segment information of the message carrier object according to the link information of the message carrier object, if the message type information is the target message type information, the first flight segment information is obtained from the flight related information in the target unified order, and the flight segment information of the message carrier object is formed according to the first flight segment information and the target flight segment information. Among them, the previous arrival flight type is the NAR (new arrival) type, specifically, the arrival city of the newly added flight segment is equal to the departure city of the existing flight segment, and the newly added flight segment and the existing flight segment are not in the same airline system, then for the airline of the existing flight segment, the message type is the newly added previous arrival flight NAR type. The subsequent connecting flight type is the NCO (new continuation) type, specifically, the departure city of the newly added flight segment is equal to the arrival city of the existing flight segment, and the newly added flight segment and the existing flight segment are not in the same airline system, and the time is within 24 hours, then for the airline of the existing flight segment, the message type is the newly added subsequent connecting flight NCO type.
[0054] Specifically, if the address of the airline's message object is not empty, poll the airline's message objects in the collection and build the airline's synchronization message segment information component: first traverse the set of segment-related items of other types in the unified order except the segment itself that are updated this time, and the traversal order is special service item set, ticketing item set, and auxiliary service item set. If a valid segment is matched, it is added to the segment collection of the airline's message object; then traverse the segment collection in the unified order. If there is a valid segment updated this time, it is added to the segment collection of the airline's message object.
[0055] Furthermore, after obtaining the main segment item set of the segment set, it is necessary to supplement the segments according to the message type. For example, to add a previous arrival flight type, the segments in the order are sorted according to the date size and the departure and arrival time. The current main segment needs to find the previous connecting segment and add it to the message set; to add a subsequent connecting flight type, it is necessary to find the next connecting segment and add it to the airline's message object.
[0056] For example, a unified order already exists for flight CA111 from Beijing Capital Terminal 3 to Hong Kong Terminal 1 on December 29, 2023, and an additional booking is made for flight CX882 from Hong Kong Terminal 1 to Los Angeles Terminal B on December 29, 2023. Since CA and CX belong to different airline systems, for the CA111 segment, the CX882 segment satisfies the subsequent departure segment, and for the CX882 segment, the CA111 segment is a connecting segment. Therefore, for the segment component of the airline system to which CA belongs, the main segment (i.e., the valid segment) is CA111, and CX882 is added to the reporting component as a supplementary segment (i.e., the first segment information).
[0057] In an optional embodiment, an order synchronization message is generated based on link information and flight segment information, including: performing splicing processing based on message type information and flight segment information to obtain flight segment field content of the order synchronization message; and encapsulating the flight segment field content of the order synchronization message based on message protocol information to obtain the order synchronization message.
[0058] Optionally, the segment field content of the order synchronization message may be obtained by performing splicing processing based on the message type information and the segment information, and the segment field content of the order synchronization message may be encapsulated based on the message protocol information to obtain the order synchronization message.
[0059] For example, poll the airline's message object set to determine the validity of the message object: there is at least one valid segment in the message object segment set. If valid, splice the segment information. The basic segment splicing fields include: the market's two-letter airline code, the market's flight number, the market's cabin information, the flight date, the departure and arrival time, the synchronization status code, and the requested number of seats. Special types of segments also require additional splicing of related fields. For example, bundled sales segments require additional splicing of the same group of segment bundle identifiers. Splice the message header and message body according to the message protocol, and perform encapsulation processing to obtain the order synchronization message, which reduces the complexity of generating synchronization messages to send segment information after unified order changes.
[0060] Optionally, the message sending service is adapted according to the message protocol standard in the message sending object, and the order synchronization message segment content is sent in parallel to the corresponding airline system. By sending synchronization messages in parallel, the information synchronization process is accelerated and the system interaction response speed is improved.
[0061] In an optional embodiment, after sending the order synchronization message to the corresponding target airline system, a response message returned by the target airline system is received, and the response message is parsed to obtain the record number of the bundled order in the target airline system corresponding to the target unified order; the record number of the bundled order is updated to the target unified order to achieve information synchronization between the target unified order and the bundled order.
[0062] Optionally, after sending the order synchronization message to the corresponding target airline system, the response message returned by the target airline system is received, and the response message is parsed to obtain the record number of the bundled order in the target airline system corresponding to the target unified order, and then the record number of the bundled order is updated to the target unified order to achieve information synchronization between the target unified order and the bundled order. For example, according to the request protocol type in the message object corresponding to the return object, the reply message parsing process corresponding to the protocol is matched, and by parsing the airline system return information, a unified return object is encapsulated, including the bundled message object and the return information, and the record number information of the bundled order in the airline system is updated to the unified order in the open passenger reservation system database.
[0063] In an optional embodiment, it is possible to use Figure 2 The schematic diagram shown in the figure realizes the automatic generation of order synchronization messages to the airline system after updating the unified order based on the open passenger reservation system. Figure 2 is a schematic diagram of an optional processing flow of order synchronization messages according to an embodiment of the present invention, such as Figure 2 As shown, first obtain the unified order, receive the structured information characters through the interface, map and transform them into operable program objects, then initialize the airline message object set, and query the unified order passengers, flight segments, special services, other service information and other flight-related content.
[0064] Further, the order change content is determined. The order change content is analyzed, and the airline two-letter code or complete flight information in the flight-related content involved in this update is matched with the flight segments in the order. If a valid flight segment is matched, the airline two-letter code of the valid flight segment is extracted as the key value index, the telegram address configuration table is queried to determine the synchronization message address of the receiving airline system, the domestic and foreign attributes of the airline and the bilateral direct connection protocol data configuration table are queried to determine the message protocol, the order update item status and special identification are queried to determine the message type, and the above three attributes are written into the order synchronization message object. If the message object is created for the first time, the order synchronization message object is added to the message object collection. Optionally, if the order adds / modifies the passenger name item, because it involves a change in passenger information, and the passenger information change involves all flight segments in the unified order, the message addresses corresponding to all valid flight segments in the order are added to the receiving airline message collection. If the order adds a special service item, the message address corresponding to the airline information in the special service item and the message address corresponding to all valid flight segments in the order are added to the receiving airline message collection. If the status of a flight segment is modified, the message address corresponding to the flight segment is added to the message collection of the receiving airline.
[0065] Optionally, the message address is a seven-character address, consisting of a three-character city code + a two-character office code + a two-character supplier code.
[0066] Optionally, the order synchronization between the open passenger reservation system and the airline system follows three protocols: the agent system and domestic airline system telegram message interaction standard (Pseudo Electronic Data Interchange For Administration, Commerce and Trans-Port, referred to as Pseudo EDIFACT), the international standard telegram message interaction standard (Electronic Data Interchange For Administration, Commerce and Trans-Port, referred to as EDIFACT) and the international asynchronous telegram message interaction standard (Teletype Message, referred to as TTY).
[0067] Optionally, analyze the order update item status and special identifier to determine the order modification involved in this operation, and determine the synchronization message update type, including the order context identifier: the order separation identifier determines the separation type (DVD type), the passenger name modification identifier determines the CHNT type, the passenger name deletion identifier determines the REDNM type, and the order deletion identifier determines the CANX type. Among them, the order context identifier refers to the operation identifier temporarily recorded during the order processing interface request process, which is used to analyze the modification type. The other two special types require analysis of the flight segment item in the order:
[0068] (1) NAR (new arrival) type: If the arrival city of the newly added segment is equal to the departure city of the existing segment, and the newly added segment and the existing segment are not in the same airline system, then for the airline of the existing segment, the message type is the NAR type of the newly added preceding arrival flight.
[0069] (2) NCO (new continuation) type: If the departure city of the newly added segment is equal to the arrival city of the existing segment, and the newly added segment and the existing segment are not in the same airline system, and the time is within 24 hours, then for the airline of the existing segment, the message type is the NCO type for adding a subsequent connecting flight. For the scenario where it is both a NAR segment and an NCO segment, it is considered to be of NCO type.
[0070] If none of the above types is used, the message type is the standard combined modification type (AIRIMP type).
[0071] Furthermore, the flight segment information of the synchronization message object is constructed. Poll the synchronization message sending object set of the receiving airline system, construct the flight segment information involved in each synchronization message, and traverse in the agreed type order: the flight segment related item set of other types except the flight segment in the unified order (for example, the special service item set, other service item set, ticketing item set and auxiliary service item set) that matches the valid flight segment; the valid flight segment updated this time; add supplementary flight segments according to the message type. The above three eligible flight segments are added to the flight segment set of the airline's message object.
[0072] For example, a special service item is newly added to the order, which is divided into automatic format and non-automatic format. The special service item in automatic format is strongly associated with the flight segment. The matching flight segment information fields of the special service item in automatic format (for example, in-flight meals, unaccompanied children, and pre-selected seats) include: flight number, flight suffix, cabin class, flight date, departure and arrival time, and starting and arrival airports; the special service item in non-automatic format (for example, hotel reservation) is weakly associated with the flight segment, and the matching flight segment information of the special service item in non-automatic format includes: airline two-letter code. The flight segment information fields in the special service item are extracted and compared with the valid flight segment information fields of the order one by one. If all are the same and match the valid flight segment, the valid flight segment is added to the flight segment collection of the receiving airline system synchronization message sending object.
[0073] Auxiliary service information refers to the additional service information of the airline (for example, VIP lounge). The two-letter code information of the airline in the auxiliary service item is extracted and matched with the valid flight segments in the order.
[0074] Other information items refer to the general information of the airline (for example, contact number, email address), including the following situations: the airline field is a two-letter code for a designated airline (for example, CA represents Air China, MU represents China Eastern Airlines), which matches the valid flight segments with the same two-letter code of the airline in the order; the airline field is a wildcard two-letter code for the airline (for example, YY), which matches all valid flight segments in the current order.
[0075] After obtaining the main segment item set, it is necessary to supplement the segments according to the message type. For example, for the NAR type, the segments in the order are sorted according to the date size and departure and arrival time. The current main segment needs to find the previous connecting segment to add to the segment set of the receiving airline system synchronization message sending object; for the NCO type, find the next connecting segment to add to the segment set of the receiving airline system synchronization message sending object.
[0076] Furthermore, message splicing is performed. Poll the airline's message object set to determine the validity of the message object: there is at least one valid segment in the message object segment set. If valid, the segment information is spliced. The basic segment splicing fields include: the market side airline two-letter code, the market side flight number, the market side cabin information, the flight date, the departure and arrival time, the synchronization status code, and the requested number of seats. Special types of segments also require additional splicing related fields. For example, bundled sales segments require additional splicing of the same group of segment bundle identifiers.
[0077] Furthermore, the message is sent. A unified message object is encapsulated, including the two-letter code of the receiving airline, the message session sequence number, the message protocol standard type, and the message body. The message sending service is adapted according to the message protocol standard in the message object, and sent to each airline system in parallel.
[0078] Further, report processing is performed. According to the request protocol type in the message object corresponding to the report object, the reply message parsing process corresponding to the protocol is matched, and by parsing the report information of the airline system, a unified report object is encapsulated, including the bundled message object and the report information, and the record number information of the bundled order of the airline system is updated to the unified order of the open passenger reservation system database.
[0079] Figure 3 is a schematic diagram of an optional order synchronization message processing system according to an embodiment of the present invention, such as Figure 3 As shown, the system includes an acquisition unit and a processing unit. The acquisition unit includes a unified order acquisition subunit and a unified order change content determination subunit. The processing unit includes a message object segment set construction subunit, a synchronization message segment content splicing subunit, and a synchronization message sending and reporting processing subunit.
[0080] The subunit for obtaining unified orders is mainly responsible for initializing the collection of airline message objects, querying flight-related content such as passengers, flight segments, special services, and other service information of unified orders. The subunit for determining unified order changes is mainly responsible for analyzing order changes, matching the airline two-letter code or complete flight information in the flight-related content involved in this update with the flight segments in the order, and if a valid flight segment is matched, extracting the airline two-letter code of the valid flight segment as the key value index, querying the telegram address configuration table to determine the synchronization message address of the receiving airline system, querying the domestic and foreign attributes of the airline and the bilateral direct connection protocol data configuration table to determine the message protocol, querying the order update item status and special identification to determine the message type, and writing the above three attributes into the order synchronization message object. If the message object is created for the first time, the order synchronization message object is added to the message object collection.
[0081] The sending object segment set construction subunit is mainly responsible for polling the receiving airline system synchronization message sending object set, building each synchronization message involving segment information, and traversing in the agreed type order: the updated segment related item set of other types except the segment in the unified order (for example, special service item set, other service item set, ticketing item set and auxiliary service item set) matches the valid segment; the valid segment updated this time; adding supplementary segments according to the sending type. The above three eligible segments are added to the segment set of the airline's sending object.
[0082] The synchronization message segment content splicing subunit is mainly responsible for polling the airline's message object set and judging the validity of the message object: there is at least one valid segment in the message object segment set. If valid, the segment information is spliced. The basic segment splicing fields include: the market side airline two-letter code, the market side flight number, the market side cabin information, the flight date, the departure and arrival time, the synchronization status code, and the number of seats requested. Special types of segments also require additional splicing related fields. For example, bundled sales segments require additional splicing of the same group of segment bundle identifiers.
[0083] The synchronous message sending and report processing subunit is mainly responsible for encapsulating a unified message object, including the two-letter code of the receiving airline, the message session sequence number, the message protocol standard type, and the message body. The message sending service is adapted according to the message protocol standard in the message object and sent to each airline system in parallel. According to the request protocol type in the message object corresponding to the report object, the reply message parsing process corresponding to the protocol is matched, and the report information of the airline system is parsed to encapsulate a unified report object, including the bundled message object and the report information, and the record number information of the bundled order of the airline system is updated to the unified order of the open passenger reservation system database.
[0084] Figure 4 is a schematic diagram of an optional system interaction of order synchronization messages according to an embodiment of the present invention, such as Figure 4As shown, after receiving the upstream user request, the order management module of the open passenger reservation system of the agent distribution system modifies the unified order and stores it in the database, generates an interface-oriented structured agent order object, and calls the order synchronization message module. The order synchronization message module obtains the structured agent order object through the interface to determine the order change, that is, analyzes the flight-related items updated in the unified order this time. If a valid flight segment is matched, the airline two-letter code of the valid flight segment is extracted as the key value index, the telegram address configuration table is queried to determine the receiving airline system synchronization message address, the domestic and foreign attributes of the airline and the bilateral direct connection protocol data configuration table are queried to determine the message protocol, the order update item status and special identification are queried to determine the message type, and the above three attributes are written into the order synchronization message object. If the message object is created for the first time, the order synchronization message object is added to the message object collection. If the airline's message object collection is not empty, poll the collection, build the synchronous message segment components of each airline on the receiving side, and traverse in the agreed type order: the set of segment-related items of this update other types in the unified order except for the segment (for example, the special service item set, other service item set, ticketing item set and auxiliary service item set) matches the valid segment; the valid segment updated this time; add supplementary segments according to the message type. The above three eligible segments are added to the segment collection of the airline's message object. Then perform synchronous message splicing, poll the airline's message object collection, and splice the synchronous message segment content, including: the market side airline two-character code, market space flight number, market space information, flight date, departure and arrival time, status code, requested number of seats, and segment bundling group number. Then send the synchronous message, adapt the message sending service according to the message protocol standard in the message object, and send the order synchronization message segment content to each airline system in parallel. The airline incoming report processing module of the airline system receives the order synchronization message, uses the message type and flight segment information in the synchronization message as the message parsing entry, updates the bundled order in the airline system database, and synchronously returns a report with the airline bundled order record number information. The order synchronization message module of the open passenger reservation system of the agent distribution system parses the airline system report information through the interface, encapsulates a unified report object, including the bundled message object and report information, and updates the bundled order record number information of each airline system one by one to the unified order in the open passenger reservation system database.
[0085] To facilitate the understanding of the core processing logic of the present invention, generation and processing of synchronization message segment information in three scenarios of order update are provided.
[0086] Scenario 1: Create an order. For example, book flight CA111 from Beijing Capital Terminal 3 to Hong Kong Terminal 1 on December 29, 2023, and create a new unified order.
[0087] First, obtain the unified order. When determining the change content, poll all valid items of the order. Segment CA111 is used as the update item. Determine the number of message sets to be 1, the message address to be the seven-character address of the airline system where CA is located, the message type to be AIRIMP, and the message protocol to be Pseudo EDIFACT. Then construct the synchronous message component (i.e., the message carrier object). For the message carrier object of the airline system where CA is located, the main segment is CA111. Since the order is a single segment, there is no need to add a supplementary segment. Then follow the message protocol to splice the message.
[0088] So far, this scenario triggers the generation of a CA synchronization message. According to the message sending address and message sending protocol, the airline system is called through the interface to send a synchronization message to the airline system where the CA is located. After receiving the correct synchronization message, the airline system where the CA is located creates an airline system bundle order, returns the generated bundle order record number information, and adds it to the unified order in the open passenger reservation system database.
[0089] Scenario 2: Based on the unified order in Scenario 1, add the special service item of pre-selected seats for flight CA111.
[0090] First, obtain the unified order. When determining the change content, poll all valid items of the order. The pre-selected seat special service item is used as the update item. The pre-selected seat special service item is an automatically generated format and strongly associated with the flight segment. It matches the CA111 flight segment, determines that the number of message sets is 1, the message address is the seven-character address of the airline system where CA is located, the message type is AIRIMP, and the message protocol is Pseudo EDIFACT. Then build the synchronous message component. For the message component of the airline system where CA is located, the main flight segment is CA111. Since the order is a single flight segment, there is no need to add a supplementary flight segment. Then follow the message protocol to splice the message.
[0091] So far, this scenario triggers the generation of a CA synchronization message. According to the message address and message protocol, the single thread calls the airline system through the interface and sends a synchronization message to the airline system where CA is located. After receiving the correct synchronization message, the airline system where CA is located updates the bundled order of the airline system and returns the latest record number information of the bundled order to update it to the unified order in the open passenger reservation system database.
[0092] Scenario 3: Add a subsequent departure to the order based on Scenario 2. For example, the unified order already has flight CA111 from Beijing Capital Terminal 3 to Hong Kong Terminal 1 on December 29, 2023, and adds flight CX882 from Hong Kong Terminal 1 to Los Angeles Terminal B on December 29, 2023.
[0093] First, obtain the unified order. When determining the change content, since CA and CX belong to different airline systems, for the CA111 segment, the CX882 segment satisfies the subsequent departure segment, and for the CX882 segment, the CA111 segment belongs to the connecting segment. Therefore, the number of message set addresses is determined to be 2: the message address of the airline system where CA is located, the message type is NCO, and the message protocol followed is Pseudo EDIFACT; the message address of the airline system where CX is located, the message type is AIRIMP, and the message protocol followed is EDIFACT. Then, the synchronous message component is constructed. For the message object segment component of the airline system where CA is located, the main segment is CA111, because the message type is NCO, CX882 is added to the message component as a supplementary segment; for the message object segment component of the airline system where CX is located, the main segment is CX882, and CA111 is added to the message component as a connecting segment. Then, the message splicing is performed in accordance with the message protocol.
[0094] So far, this scenario has triggered the generation of two synchronization messages. According to the message address and message protocol, multiple threads concurrently call the airline system through the interface to send synchronization messages to the airline system where CA is located and the airline system where CX is located. After receiving the correct synchronization message, the airline system where CA is located and the airline system where CX is located update the bundled order of the airline system, return the latest record number information of the bundled order, and update it to the unified order in the open passenger reservation system database.
[0095] It can be seen that through the technical solution of the present invention, the purpose of efficiently and accurately generating an order synchronization message containing flight-related update information after a unified order is changed is achieved, thereby achieving the technical effect of improving the efficiency of generating and sending order synchronization messages, and further solving the technical problem in the prior art that after a unified order is changed in an open passenger reservation system, the complexity of the flight segment information for generating an order synchronization message is high, resulting in low efficiency in generating and sending order synchronization messages.
[0096] Example 2
[0097] According to an embodiment of the present invention, an embodiment of a device for processing order synchronization messages is provided, wherein: Figure 5 is a schematic diagram of an optional order synchronization message processing device according to an embodiment of the present invention, such as Figure 5As shown, the device includes: an acquisition module 501, which is used to acquire flight-related information in a target unified order, and analyze the flight-related information in the target unified order to obtain target flight segment information that meets preset rules, wherein the target unified order is a unified order in which flight-related information is updated; a first determination module 502, which is used to determine the link information of a message carrier object and the flight segment information of the message carrier object based on the target flight segment information, wherein the message carrier object is used to carry message-related information; a first processing module 503, which is used to generate an order synchronization message based on the link information and the flight segment information, and send the order synchronization message to the corresponding target airline system.
[0098] It should be noted that the above-mentioned acquisition module 501, first determination module 502 and first processing module 503 correspond to steps S101 to S103 in the above-mentioned embodiment, and the examples and application scenarios implemented by the three modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.
[0099] Optionally, the acquisition module includes: a second processing module, used to extract the airline two-letter code from the flight-related information in the target unified order, and match the airline two-letter code with a preset segment keyword; a second determination module, used to use the segment information to which the airline two-letter code belongs as the target segment information if the airline two-letter code is the same as the preset segment keyword.
[0100] Optionally, the first determination module includes: a third determination module, used to extract the airline two-letter code from the target flight segment information and use the airline two-letter code as a key value index; a fourth determination module, used to determine the link information of the messaging carrier object based on the key value index; and a fifth determination module, used to determine the flight segment information of the messaging carrier object based on the link information of the messaging carrier object.
[0101] Optionally, the fourth determination module includes: a first query module, used to query the telegram address configuration table based on the key value index to obtain the message address information; a second query module, used to query the protocol configuration table based on the key value index to obtain the message protocol information; a third query module, used to query the message type configuration table based on the key value index to obtain the message type information.
[0102] Optionally, the fifth determination module includes: a third processing module, which is used to obtain the first flight segment information from the flight-related information in the target unified order if the message type information is the target message type information, wherein the target message type information is one of the following: the previous arrival flight type, the subsequent connecting flight type, and the first flight segment information is used to characterize the supplementary flight segment information corresponding to the target flight segment information; and a fourth processing module, which is used to compose the flight segment information of the message carrier object based on the first flight segment information and the target flight segment information.
[0103] Optionally, the first processing module includes: a fifth processing module, used to perform splicing processing based on the message type information and the flight segment information to obtain the flight segment field content of the order synchronization message; a sixth processing module, used to encapsulate the flight segment field content of the order synchronization message based on the message protocol information to obtain the order synchronization message.
[0104] Optionally, the processing device for order synchronization messages also includes: a receiving module, which is used to receive a response message returned by the target airline system after sending the order synchronization message to the corresponding target airline system, and parse the response message to obtain the record number of the bundled order in the target airline system corresponding to the target unified order; an updating module, which is used to update the record number of the bundled order to the target unified order to achieve information synchronization between the target unified order and the bundled order.
[0105] Example 3
[0106] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the above-mentioned method for processing order synchronization messages is implemented.
[0107] Example 4
[0108] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for processing order synchronization messages when running.
[0109] Example 5
[0110] According to another aspect of an embodiment of the present invention, an electronic device is provided, wherein: Figure 6 is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as Figure 6 As shown, the electronic device includes one or more processors; a memory for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors are used to run the programs, wherein the programs are set to execute the above-mentioned order synchronization message processing method when running. When the processor executes the program, the following steps are implemented: obtaining flight-related information in the target unified order, and analyzing the flight-related information in the target unified order to obtain target flight segment information that meets the preset rules, wherein the target unified order is a unified order in which the flight-related information is updated; determining the link information of the message carrier object and the flight segment information of the message carrier object based on the target flight segment information, wherein the message carrier object is used to carry the message-related information; generating an order synchronization message based on the link information and the flight segment information, and sending the order synchronization message to the corresponding target airline system.
[0111] Optionally, when the processor executes the program, the following steps are also implemented: extracting the airline two-letter code from the flight-related information in the target unified order, and matching the airline two-letter code with a preset segment keyword; if the airline two-letter code is the same as the preset segment keyword, the segment information to which the airline two-letter code belongs is used as the target segment information.
[0112] Optionally, when the processor executes the program, the following steps are also implemented: extracting the airline two-letter code from the target flight segment information, and using the airline two-letter code as a key value index; determining the link information of the messaging carrier object based on the key value index; and determining the flight segment information of the messaging carrier object based on the link information of the messaging carrier object.
[0113] Optionally, when the processor executes the program, the following steps are also implemented: querying the telegram address configuration table based on the key value index to obtain the message address information; querying the protocol configuration table based on the key value index to obtain the message protocol information; querying the message type configuration table based on the key value index to obtain the message type information.
[0114] Optionally, the processor further implements the following steps when executing the program: if the message type information is the target message type information, obtaining the first flight segment information from the flight related information in the target unified order, wherein the target message type information is one of the following: the preceding arrival flight type, the subsequent connecting flight type, and the first flight segment information is used to characterize the supplementary flight segment information corresponding to the target flight segment information; and forming the flight segment information of the message carrier object based on the first flight segment information and the target flight segment information.
[0115] Optionally, the processor also implements the following steps when executing the program: performing splicing processing based on the message type information and the flight segment information to obtain the flight segment field content of the order synchronization message; and encapsulating the flight segment field content of the order synchronization message based on the message protocol information to obtain the order synchronization message.
[0116] Optionally, the processor also implements the following steps when executing the program: after sending the order synchronization message to the corresponding target airline system, receiving a response message returned by the target airline system, and parsing the response message to obtain the record number of the bundled order in the target airline system corresponding to the target unified order; updating the record number of the bundled order to the target unified order to achieve information synchronization between the target unified order and the bundled order.
[0117] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0118] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0119] 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.
[0120] 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.
[0121] 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.
[0122] 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.
[0123] 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.
[0124] 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 order synchronization messages, characterized in that: include: Acquire flight-related information in a target unified order, and analyze the flight-related information in the target unified order to obtain target flight segment information that meets preset rules, wherein the target unified order is a unified order in which flight-related information is updated; Determine the link information of the message carrier object and the flight segment information of the message carrier object according to the target flight segment information, wherein the message carrier object is used to carry the message related information; An order synchronization message is generated according to the link information and the flight segment information, and the order synchronization message is sent to a corresponding target airline system.
2. The method according to claim 1, characterized in that Analyze the flight-related information in the target unified order to obtain target flight segment information that meets preset rules, including: Extracting the two-letter code of the airline from the flight-related information in the target unified order, and matching the two-letter code of the airline with a preset flight segment keyword; If the two-letter code of the airline is the same as the preset flight segment keyword, the flight segment information to which the two-letter code of the airline belongs is used as the target flight segment information.
3. The method according to claim 2, characterized in that Determining the link information of the message carrier object and the flight segment information of the message carrier object according to the target flight segment information includes: Extract the airline two-letter code from the target flight segment information, and use the airline two-letter code as a key value index; Determine the link information of the message carrier object based on the key value index; The flight segment information of the message carrier object is determined according to the link information of the message carrier object.
4. The method according to claim 3, characterized in that The link information at least includes message address information, message protocol information and message type information, wherein determining the link information of the message carrier object based on the key value index includes: Based on the key value index, query the telegram address configuration table to obtain the message sending address information; Query the protocol configuration table based on the key value index to obtain the message sending protocol information; The message type configuration table is queried based on the key value index to obtain the message type information.
5. The method according to claim 4, characterized in that Determining the flight segment information of the message carrier object according to the link information of the message carrier object includes: If the message type information is the target message type information, the first flight segment information is obtained from the flight related information in the target unified order, wherein the target message type information is one of the following: the preceding arrival flight type, the subsequent connecting flight type, and the first flight segment information is used to represent the supplementary flight segment information corresponding to the target flight segment information; The flight segment information of the message carrier object is composed according to the first flight segment information and the target flight segment information.
6. The method according to claim 4, characterized in that Generating an order synchronization message according to the link information and the flight segment information, including: Perform splicing processing according to the message type information and the flight segment information to obtain the flight segment field content of the order synchronization message; The flight segment field content of the order synchronization message is encapsulated according to the message sending protocol information to obtain the order synchronization message.
7. The method according to claim 1, characterized in that After sending the order synchronization message to the corresponding target airline system, the method further includes: Receiving a response message returned by the target airline system, parsing the response message, and obtaining a record number of a bundled order in the target airline system corresponding to the target unified order; The record number of the bundled order is updated into the target unified order to achieve information synchronization between the target unified order and the bundled order.
8. A device for processing order synchronization messages, characterized in that: include: an acquisition module, used to acquire flight-related information in a target unified order, and analyze the flight-related information in the target unified order to obtain target flight segment information that meets preset rules, wherein the target unified order is a unified order in which flight-related information is updated; A first determination module is used to determine the link information of the message carrier object and the segment information of the message carrier object according to the target segment information, wherein the message carrier object is used to carry the message related information; The first processing module is used to generate an order synchronization message according to the link information and the flight segment information, and send the order synchronization message to a corresponding target airline system.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the method for processing order synchronization messages described in any one of claims 1 to 7 when running.
10. An electronic device, characterized in that: The electronic device includes one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to run the programs, wherein the program is configured to execute the method for processing order synchronization messages described in any one of claims 1 to 7 during runtime.
Citation Information
Cited By
Cross-system reservation record synchronization method and device and storage medium
CN121711357A