Seat reservation record processing method and device and storage medium
By parsing and updating the reservation record database, the problem of low synchronization efficiency in the separation of foreign airline orders was solved, and real-time data synchronization between the host reservation system and the agent distribution system was realized, improving data consistency and integrity.
Patent Information
- Application Number
- CN202512057581.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-21
AI Technical Summary
In existing technologies, the synchronization efficiency of separate booking records for foreign airline orders between the main booking system and the agent distribution system is low, resulting in data inconsistency and increasing operational costs and business risks.
By receiving and parsing telex messages transmitted from foreign airline systems, reservation change information and record numbers are obtained. The original records of the target system are queried. After the preset separation conditions are met, the reservation record database is updated, and the updated information is transmitted to the host distribution system to achieve synchronization.
It improved the efficiency of booking record synchronization and data consistency during the separation of foreign airline orders, reduced the need for manual intervention, and ensured data integrity between systems.
Smart Images

Figure CN121903035A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of civil aviation information technology, and more specifically, to a method, apparatus and storage medium for processing reservation records. Background Technology
[0002] Air travel passenger flight booking demands are showing an increasingly diversified and personalized trend. Foreign airlines (hereinafter referred to as "foreign airlines") may experience common issues during the booking process, such as flight delays, cancellations, and passenger refunds and changes. Especially in foreign airline bookings made jointly by multiple passengers, if one passenger experiences itinerary changes or other problems, it often affects the processing efficiency and accuracy of the entire order. Therefore, passenger separation operations are needed to mitigate these risks. This operation allows airlines to process booking records with changes individually, thereby minimizing disruption to the travel plans of other passengers on the same booking. Airline reservation systems (mainline reservations) and agent distribution systems (mainline distributions) are used to complete order separation operations in the civil aviation sector.
[0003] However, when processing passenger separation messages from agents for foreign airlines, the main distribution system often fails to synchronize the separated information to the main reservation system in a timely and accurate manner, leading to frequent data inconsistencies between the systems. This problem currently relies on manual intervention, which not only increases operational costs but also introduces data chaos and business risks.
[0004] There is currently no effective solution to the problem of low synchronization efficiency of reservation records when foreign airline orders are separated in related technologies. Summary of the Invention
[0005] The main objective of this application is to provide a method, apparatus, and storage medium for processing reservation records, in order to solve the problem of low synchronization efficiency of reservation records when foreign airline orders are separated in related technologies.
[0006] To achieve the above objectives, according to one aspect of this application, a method for processing reservation records is provided. This method is applied to a target system, which is a host distribution system undergoing data migration. The method includes: receiving a telex message regarding order separation transmitted by a first foreign airline system, and parsing the telex message to obtain reservation modification information and a first reservation record number, wherein the first reservation record number conforms to the numbering and encoding rules of a first database in the host distribution system; querying the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number; updating the reservation record database based on the reservation modification information and the original reservation record when the reservation modification information and the original reservation record meet preset separation conditions, obtaining an updated reservation record database and reservation record update information; and transmitting the first reservation record number and reservation record update information to the host distribution system, so that the host distribution system updates the first database based on the first reservation record number and reservation record update information.
[0007] Further, parsing the telex message to obtain reservation change information and the first reservation record number includes: converting the format of the telex message to obtain a format-converted object; extracting the first reservation record number, passenger information, flight segment information, and service information from the format-converted object; and determining the reservation change information based on the passenger information, flight segment information, and service information.
[0008] Furthermore, after querying the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number, the method further includes: determining the target number of passengers to be separated and the target passenger information based on the reservation modification information; determining the original number of passengers and multiple original passenger information based on the original reservation record; if the target number of passengers is less than the original number of passengers, and the multiple original passenger information includes the target passenger information, then it is determined that the reservation modification information and the original reservation record meet the preset separation conditions.
[0009] Furthermore, the reservation record database is updated based on the reservation modification information and the original reservation record to obtain the updated reservation record database and reservation record update information, including: adding sub-reservation records of the original reservation record in the reservation record database based on the reservation modification information, and assigning a target number to the sub-reservation record, wherein the target number conforms to the numbering and coding rules of the reservation record database; deleting the data corresponding to the reservation modification information in the original reservation record to obtain the updated original reservation record; determining the updated reservation record database based on the sub-reservation record and the updated original reservation record, and determining the reservation record update information based on the sub-reservation record and the target number.
[0010] Furthermore, the process of adding a sub-reservation record based on the reservation modification information to the original reservation record includes: extracting target passenger information, a first information item, and a second information item from the original reservation record that belong to the same passenger as the passenger in the reservation modification information, wherein the first information item is an information item that differs between the target passenger and other passengers in the original reservation record, and the second information item is an information item that is the same as the target passenger and other passengers in the original reservation record; adjusting the first information item according to the reservation modification information to obtain the adjusted first information item; generating a sub-reservation record based on the target passenger information, the adjusted first information item, and the second information item, and adding the sub-reservation record to the reservation record database.
[0011] Furthermore, after parsing the telex message, the method also includes: if the parsing result of the telex message includes second foreign airline information corresponding to the second foreign airline system, the reservation record update information is pushed to the second foreign airline system based on the second foreign airline information, so that the second foreign airline system updates the third database based on the reservation record update information; if the original reservation record includes the flight information of the hosting airline, the first reservation record number and the reservation record update information are transmitted to the host reservation system corresponding to the flight information of the hosting airline, so that the host reservation system updates the second database based on the first reservation record number and the reservation record update information.
[0012] To achieve the above objectives, according to another aspect of this application, a reservation record processing method is provided, applied to a host distribution system. The method includes: receiving a first reservation record number and reservation record update information as described above; performing an order separation operation on the distribution reservation record corresponding to the first reservation record number in the first database of the host distribution system based on the reservation record update information to obtain a distribution sub-reservation record and a distribution sub-reservation record number; and transmitting the distribution sub-reservation record number to a target system.
[0013] To achieve the above objectives, according to another aspect of this application, a reservation record processing apparatus is provided. Applied to a target system, which is a host distribution system undergoing data migration, the apparatus includes: a message receiving unit, configured to receive a telex message regarding order separation transmitted from a first foreign airline system, and parse the telex message to obtain reservation modification information and a first reservation record number, wherein the first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system; a record query unit, configured to query the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number; a data updating unit, configured to update the reservation record database based on the reservation modification information and the original reservation record when the reservation modification information and the original reservation record meet preset separation conditions, to obtain an updated reservation record database and reservation record update information; and an information transmission unit, configured to transmit the first reservation record number and reservation record update information to the host distribution system, so that the host distribution system updates the first database based on the first reservation record number and reservation record update information.
[0014] Furthermore, the message receiving unit includes: a format conversion module for converting the format of the telex message to obtain a format-converted object; an information extraction module for extracting the first reservation record number, passenger information, flight segment information, and service information from the format-converted object; and an information determination module for determining reservation modification information based on the passenger information, flight segment information, and service information.
[0015] Furthermore, the device also includes: a target information determination unit, used to query the reservation record database of the target system according to the first reservation record number to obtain the original reservation record corresponding to the first reservation record number, and then determine the target number of passengers to be separated and the target passenger information according to the reservation modification information; a record parsing unit, used to determine the original number of passengers and multiple original passenger information according to the original reservation record; and a condition judgment unit, used to determine that the reservation modification information and the original reservation record meet the preset separation conditions if the target number of passengers is less than the original number of passengers and the multiple original passenger information includes the target passenger information.
[0016] Furthermore, the data update unit includes: an addition module, used to add sub-reservation records of the original reservation record in the reservation record database according to the reservation modification information, and assign a target number to the sub-reservation record, wherein the target number conforms to the numbering and coding rules of the reservation record database; a deletion module, used to delete the data corresponding to the reservation modification information in the original reservation record to obtain the updated original reservation record; and an update information determination module, used to determine the updated reservation record database based on the sub-reservation record and the updated original reservation record, and to determine the reservation record update information based on the sub-reservation record and the target number.
[0017] Furthermore, the newly added modules include: an extraction submodule, used to extract target passenger information, a first information item, and a second information item from the original reservation record that belong to the same passenger as the reservation modification information, wherein the first information item is the information item that differs between the target passenger and other passengers in the original reservation record, and the second information item is the information item that is the same as the target passenger and other passengers in the original reservation record; an adjustment submodule, used to adjust the first information item according to the reservation modification information to obtain the adjusted first information item; and a generation submodule, used to generate a sub-reservation record based on the target passenger information, the adjusted first information item, and the second information item, and add the sub-reservation record to the reservation record database.
[0018] Furthermore, the device also includes: a push unit, configured to, after parsing the telex message, if the parsing result of the telex message includes second foreign airline information corresponding to the second foreign airline system, push the reservation record update information to the second foreign airline system based on the second foreign airline information, so that the second foreign airline system updates the third database based on the reservation record update information; and a reservation transmission unit, configured to, if the original reservation record includes flight information of the hosting airline, transmit the first reservation record number and the reservation record update information to the host reservation system corresponding to the flight information of the hosting airline, so that the host reservation system updates the second database based on the first reservation record number and the reservation record update information.
[0019] According to another aspect of this application, a computer-readable storage medium is provided, which includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform any kind of reservation record processing method.
[0020] According to another aspect of this application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a processing method for performing any kind of reservation record.
[0021] According to another aspect of this application, a computer program product is provided, including computer instructions, which, when executed by a processor, implement the steps of the reservation record processing method described above.
[0022] In this embodiment, by receiving a telex message regarding order separation transmitted from a first foreign airline system and parsing the message, reservation modification information and a first reservation record number are obtained. The first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system. A query is performed in the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to that number. If the reservation modification information and the original reservation record meet preset separation conditions, the reservation record database is updated based on the reservation modification information and the original reservation record to obtain an updated reservation record database and reservation record update information. The first reservation record number and reservation record update information are transmitted to the host distribution system, enabling the host distribution system to update the first database based on the first reservation record number and reservation record update information. This solves the technical problem of low synchronization efficiency of reservation records for foreign airline order separation in the prior art.
[0023] By receiving and parsing the telex messages from the first foreign airline system, the reservation modification information and the first reservation record number are obtained, and then the original reservation record is retrieved. This not only efficiently updates the reservation record database but also generates reservation record update information. The first reservation record number and reservation record update information are transmitted to the host distribution system, realizing real-time and effective synchronization of reservation records between the target system and the host distribution system for foreign airline order separation. This improves the data consistency and integrity of reservation records during the order separation process and increases the efficiency of reservation record synchronization for foreign airline order separation. Attached Figure Description
[0024] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0025] Figure 1 A hardware block diagram of a computer terminal for implementing a reservation record processing method is shown.
[0026] Figure 2 This is a flowchart of a method for processing reservation records according to an embodiment of this application;
[0027] Figure 3 This is a schematic diagram of a reservation record processing device provided according to an embodiment of this application;
[0028] Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0031] It should be noted that the information collected in this application (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of this data all comply with relevant laws, regulations, and standards, necessary confidentiality measures have been taken, and they do not violate public order and good morals. Corresponding access points are provided for users to choose to authorize or refuse. For example, interfaces are set up between this system and relevant users or organizations, providing users with corresponding access points to choose to agree to or refuse automated decision-making results; if the user chooses to refuse, the process proceeds to the expert decision-making stage.
[0032] Example 1
[0033] According to an embodiment of this application, a method embodiment for processing reservation records is also provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0034] The method embodiment provided in Embodiment 1 of this application can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1A hardware block diagram of a computer terminal (or mobile device) for implementing a reservation record processing method is shown. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0035] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).
[0036] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the reservation record processing method in this embodiment. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby implementing the aforementioned reservation record processing method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0037] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0038] The display can be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or mobile device).
[0039] Under the aforementioned operating environment, this application provides the following: Figure 2 The method for processing reservation records shown is applied to the target system, which is the host distribution system for which data migration is to be performed. Figure 2 This is a flowchart of a method for processing reservation records according to Embodiment 1 of this application.
[0040] Step S201: Receive the telex message about order separation transmitted by the first foreign airline system, and parse the telex message to obtain the reservation modification information and the first reservation record number, wherein the first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system.
[0041] Optionally, the system can listen for and receive telex messages about order separation pushed from the first foreign airline's system transmission bus, and use line-by-line parsing to convert the message information in the telex messages into a standardized object format to obtain information such as destination address, source address, first reservation record number (i.e., the hosting airline's reservation record number), first foreign airline's reservation record number, passenger name, flight segment information, special service requests, and other additional services, laying the data foundation for subsequent steps. Reservation modification information refers to the passenger information in the telex message that requires order separation, such as passenger name and flight segment information (assuming the passenger's intended flight segment has changed, this segment information is the modified flight segment information in the reservation record, used as the basis for subsequent updates to the reservation record database).
[0042] Step S202: Query the reservation record database of the target system according to the first reservation record number to obtain the original reservation record corresponding to the first reservation record number.
[0043] Optionally, the complete reservation record data corresponding to the first reservation record number can be obtained from the reservation record database based on the first reservation record number, that is, the original reservation record. Based on the original reservation record and reservation modification information, it can be determined whether the preset separation conditions are met. The preset separation conditions are also the conditions for order separation.
[0044] Step S203: If the reservation modification information and the original reservation record meet the preset separation conditions, update the reservation record database based on the reservation modification information and the original reservation record to obtain the updated reservation record database and reservation record update information.
[0045] For example, if the reservation modification information and the original reservation record meet the preset separation conditions, assuming the original reservation record is an order purchased together by four passengers (A, B, C, and D), and the reservation modification information is that passenger A needs to modify the flight segment information, then a sub-reservation record of the original reservation record (i.e., passenger A's new reservation record) can be added to the reservation record database based on the reservation modification information and the original reservation record, and the original reservation record is updated accordingly, thus obtaining the updated reservation record database. The reservation record update information is determined based on the sub-reservation record and its target number in the reservation record database.
[0046] Step S204: The first reservation record number and reservation record update information are transmitted to the host distribution system so that the host distribution system can update the first database based on the first reservation record number and reservation record update information.
[0047] For example, the first reservation record number and its update information can be transmitted to the host distribution system in real time, allowing the host distribution system to use these information as the basis for updates. Based on this, the host distribution system can update its own database and persistently store the update results. This ensures complete data consistency between the reservation records in the target system and the host distribution system.
[0048] In summary, by receiving and parsing the telex messages from the first foreign airline system to obtain reservation modification information and the first reservation record number, and then retrieving the original reservation record, the system not only efficiently updates the reservation record database but also generates reservation record update information. The first reservation record number and the reservation record update information are then transmitted to the host distribution system. This achieves real-time and effective synchronization of reservation records between the target system and the host distribution system for foreign airline order separation, improving data consistency and integrity during the order separation process and increasing the efficiency of reservation record synchronization for foreign airline order separation.
[0049] To improve the synchronization efficiency of reservation records for separate foreign airline orders, optionally, parsing the telex message to obtain reservation modification information and the first reservation record number includes: converting the format of the telex message to obtain a format-converted object; extracting the first reservation record number, passenger information, flight segment information, and service information from the format-converted object; and determining the reservation modification information based on the passenger information, flight segment information, and service information.
[0050] For example, telex messages can be converted according to the international AIRIMP standard (an aviation messaging standard). The converted result is an object (a data format). The converted object is then parsed line by line to obtain data such as destination address, source address, first reservation record number (i.e., the custodian airline's reservation record number), first foreign airline reservation record number, passenger name, flight segment information, special service requests, and other ancillary services. Passenger information, flight segment information, and service information are then combined to obtain reservation change information. Changes in reservation change information can include modifications to passenger information (e.g., name change), flight segment information (e.g., flight change), or service information (e.g., meal order modification).
[0051] In summary, by converting the format of telex messages to obtain a format-converted object, the first reservation record number, passenger information, flight segment information, and service information can be extracted from the format-converted object. Based on the passenger information, flight segment information, and service information, reservation modification information can be determined, thereby improving the synchronization efficiency of reservation records for foreign airline orders.
[0052] To improve the synchronization efficiency of reservation records for the separation of foreign airline orders, optionally, after querying the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number, the method further includes: determining the target number of passengers to be separated and the target passenger information based on the reservation modification information; determining the original number of passengers and multiple original passenger information based on the original reservation record; if the target number of passengers is less than the original number of passengers, and the multiple original passenger information includes the target passenger information, then it is determined that the reservation modification information and the original reservation record meet the preset separation conditions.
[0053] Optionally, the reservation change information can be parsed to obtain the target passenger quantity and target passenger information for the order to be separated. For example, if the target passenger quantity is 1, the target passenger information could be the name DDD, to clarify which passenger information has changed. The original reservation record contains complete original order information, including the original passenger quantity and original passenger information. For example, if the original passenger quantity is 4, multiple original passenger information could be names AAA, BBB, CCC, and DDD. Preset separation conditions can include quantity conditions and information consistency conditions. For example, the quantity condition is that the target passenger quantity is less than the original passenger quantity, and the information consistency condition is that the target passenger information is overwritten by multiple original passenger information, that is, multiple original passenger information includes the target passenger information (e.g., multiple original passenger information includes the name DDD). If it is determined that the reservation change information and the original reservation record do not meet the preset separation conditions, an error message is output.
[0054] In summary, by determining the target number of passengers and their information based on reservation modification information, and by determining the original number of passengers and multiple original passenger information based on the original reservation records, if the target number of passengers is less than the original number of passengers, and the target passenger information is included among the multiple original passenger information, then the reservation modification information and the original reservation records are determined to meet the preset separation conditions. This improves the accuracy of order separation and the synchronization efficiency of reservation records for foreign airline order separation.
[0055] To improve the synchronization efficiency of reservation records for separate foreign airline orders, optionally, the reservation record database is updated based on reservation modification information and the original reservation record. The updated reservation record database and reservation record update information include: adding sub-reservation records of the original reservation record in the reservation record database based on the reservation modification information, and assigning a target number to the sub-reservation record, wherein the target number conforms to the numbering and coding rules of the reservation record database; deleting the data corresponding to the reservation modification information in the original reservation record to obtain the updated original reservation record; determining the updated reservation record database based on the sub-reservation record and the updated original reservation record, and determining the reservation record update information based on the sub-reservation record and the target number.
[0056] Optionally, a sub-reservation record can be added to the reservation record database based on the reservation modification information. (The original reservation record is also the parent reservation record, which is related to the sub-reservation record. The sub-reservation record stores the first reservation record number of the parent reservation record (assuming the parent reservation record is assigned a number from the target system's order record database, the sub-reservation record can store the target system's order record database number of the parent reservation record). The parent reservation record stores the target number of the sub-reservation record. The sub-reservation record is a record generated from the parent reservation record through an order separation operation.) For example, multiple original passenger information can be names AAA, BBB, CCC, and DDD. Based on the reservation modification information, the name of the target passenger information to be separated is obtained as DDD. A corresponding sub-reservation record is added for the reservation modification information of the passenger with the name DDD. The sub-reservation record includes the passenger information, flight information, and service information of the passenger with the name DDD. Once a sub-reservation record is generated, a target number from the reservation record database can be assigned to it. This target number follows the numbering rules of the reservation record database, and data related to the reservation change information is deleted from the original reservation record. In other words, the updated original reservation record only contains reservation information such as passenger information, flight segment information, and service information for passengers named AAA, BBB, and CCC. The primary key of the sub-reservation record in the reservation record database is a combination of the target number and the third reservation record number assigned to it in the host distribution system. This dual identification ensures data uniqueness and accurate association. It should be noted that for any reservation record with a newly assigned number conforming to the numbering rules of the reservation record database (e.g., the aforementioned sub-reservation record assigned a target number), the number conforming to the numbering rules of the reservation record database is used as a unique identifier in the host reservation system, host distribution system, and target system, gradually migrating data to the target system. The sub-reservation record and the target number can be used to define the reservation record update information. After generating and storing the aforementioned sub-order records in the order record database, a reply message can be composed of the target number, the first reservation record number, and the reservation modification information, and then sent to the first foreign airline system.
[0057] In summary, by adding sub-reservation records to the original reservation records based on reservation modification information and assigning target numbers to the sub-reservation records; deleting data in the original reservation records corresponding to the reservation modification information to obtain updated original reservation records; determining the updated reservation record database based on the sub-reservation records and the updated original reservation records; and determining the reservation record update information based on the sub-reservation records and the target numbers, the synchronization efficiency of reservation records for separate foreign airline orders has been improved.
[0058] To improve the synchronization efficiency of reservation records for separate foreign airline orders, optionally, adding a sub-reservation record based on the reservation modification information of the original reservation record includes: extracting target passenger information, a first information item, and a second information item from the original reservation record that belong to the same passenger as the reservation modification information, wherein the first information item is an information item that differs between the target passenger and other passengers in the original reservation record, and the second information item is an information item that is the same as the target passenger and other passengers in the original reservation record; adjusting the first information item according to the reservation modification information to obtain the adjusted first information item; generating a sub-reservation record based on the target passenger information, the adjusted first information item, and the second information item, and adding the sub-reservation record to the reservation record database.
[0059] Optionally, the target passenger (e.g., a passenger named DDD) can be identified based on the reservation change information. The target passenger information, a first information item, and a second information item corresponding to the target passenger can be obtained from the original reservation record. The first information item is a non-shared information item (that is, information items that are different between the passenger named DDD and other passengers in the original order record, such as changes to the service information of the passenger named DDD). The second information item is a shared information item (that is, information items that are the same between the passenger named DDD and other passengers in the original order record, such as the same flight segment information of these passengers). Assuming the reservation change information involves a passenger named DDD whose service information has been changed from meal A to meal B, the following steps are taken: Extract the target passenger information (i.e., DDD's passenger information), the first information item (i.e., DDD's meal is A), and the second information item (i.e., flight segment information) from the original reservation record. Adjust the first information item according to the reservation change information to obtain the adjusted first information item (i.e., DDD's meal is B). Merge the target passenger information, the adjusted first information item, and the second information item to obtain a sub-reservation record, and add the sub-reservation record to the reservation record database. Furthermore, the first information item in the original reservation record can be updated synchronously (e.g., changing the first information item from 4 meals A to 3 meals A, and changing the target passenger from 4 to 3 people), resulting in an updated original reservation record.
[0060] In summary, by extracting the target passenger information, the first information item, and the second information item that belong to the same passenger as the reservation modification information from the original reservation record; adjusting the first information item according to the reservation modification information to obtain the adjusted first information item; generating a sub-reservation record based on the target passenger information, the adjusted first information item, and the second information item, and adding the sub-reservation record to the reservation record database, the synchronization efficiency of reservation records for separate foreign airline orders is improved.
[0061] To improve the synchronization efficiency of reservation records for separate foreign airline orders, optionally, after parsing the telex message, the method further includes: if the parsing result of the telex message includes second foreign airline information corresponding to the second foreign airline system, pushing the reservation record update information to the second foreign airline system based on the second foreign airline information, so that the second foreign airline system updates the third database based on the reservation record update information; if the original reservation record includes flight information of the hosting airline, transmitting the first reservation record number and reservation record update information to the host reservation system corresponding to the flight information of the hosting airline, so that the host reservation system updates the second database based on the first reservation record number and reservation record update information.
[0062] Optionally, after parsing the telex message, if the parsing results detect second foreign airline information corresponding to a second foreign airline system (e.g., the second foreign airline information includes foreign airline H and its corresponding second foreign airline reservation record number), the reservation record update information (i.e., sub-reservation record and target number) can be pushed to the foreign airline H's system to ensure cross-airline data consistency. The managed airline flight information refers to the flight information of the airline hosted in the host reservation system. If the original reservation record includes managed airline flight information, the first reservation record number and reservation record update information can be transmitted to the host reservation system in a timely manner, allowing the host reservation system to obtain the first reservation record number and reservation record update information as the basis for updates. Based on this, the host reservation system can update its second database (e.g., it can match the second reservation record number corresponding to the first reservation record number in the second database to determine the data entry to be updated) and persistently store the update results of the second database. This ensures complete data consistency among the reservation records of the target system, the host distribution system, and the host reservation system.
[0063] In summary, if the parsing result of the telex message includes the second foreign airline information corresponding to the second foreign airline system, the reservation record update information is pushed to the second foreign airline system based on the second foreign airline information, so that the second foreign airline system updates the third database based on the reservation record update information. If the original reservation record includes the flight information of the hosting airline, the first reservation record number and the reservation record update information are transmitted to the host reservation system corresponding to the flight information of the hosting airline, so that the host reservation system updates the second database based on the first reservation record number and the reservation record update information. When the original reservation record includes the flight information of the hosting airline, the efficiency of the target system synchronizing with the host reservation system is improved, and the synchronization efficiency of reservation records for the separation of foreign airline orders is also improved.
[0064] It should be noted that the steps shown in the flowchart in 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 may be executed in a different order than that shown here.
[0065] Example 2
[0066] According to an embodiment of this application, another method for synchronizing reservation records across systems is also provided, applied to a host distribution system. The method includes: receiving a first reservation record number and reservation record update information as described in the reservation record processing method above; performing an order separation operation on the distribution reservation record corresponding to the first reservation record number in the first database of the host distribution system based on the reservation record update information to obtain a distribution sub-reservation record and a distribution sub-reservation record number; and transmitting the distribution sub-reservation record number to the target system.
[0067] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0068] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0069] Example 3
[0070] This application also provides a reservation record processing apparatus. It should be noted that the reservation record processing apparatus of this application can be used to execute the reservation record processing method provided in this application. The reservation record processing apparatus provided in this application will be described below.
[0071] According to an embodiment of this application, an apparatus for implementing the above-described method for processing reservation records is also provided, applied to a target system, which is a host distribution system undergoing data migration, such as... Figure 3 As shown, the device includes:
[0072] The message receiving unit 301 is used to receive the telex message about order separation transmitted by the first foreign airline system, and to parse the telex message to obtain the reservation change information and the first reservation record number, wherein the first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system.
[0073] The record query unit 302 is used to query the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number.
[0074] The data update unit 303 is used to update the reservation record database based on the reservation change information and the original reservation record when the reservation change information and the original reservation record meet the preset separation conditions, so as to obtain the updated reservation record database and the reservation record update information.
[0075] The information transmission unit 304 is used to transmit the first reservation record number and reservation record update information to the host distribution system, so that the host distribution system can update the first database based on the first reservation record number and reservation record update information.
[0076] The reservation record processing apparatus provided in this application embodiment receives a telex message about order separation transmitted by a first foreign airline system through a message receiving unit 301, and parses the telex message to obtain reservation modification information and a first reservation record number. The first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system. The record query unit 302 queries the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number. If the reservation modification information and the original reservation record meet the preset separation conditions, the data update unit 303 updates the reservation record database based on the reservation modification information and the original reservation record to obtain the updated reservation record database and reservation record update information. The information transmission unit 304 transmits the first reservation record number and reservation record update information to the host distribution system so that the host distribution system updates the first database based on the first reservation record number and reservation record update information, thus solving the problem of low synchronization efficiency of reservation records regarding the separation of foreign airline orders in related technologies. This, in turn, improves the efficiency of synchronizing reservation records for separate foreign airline orders.
[0077] Optionally, in the reservation record processing apparatus provided in this application embodiment, the message receiving unit 301 includes: a format conversion module, used to convert the format of the telex message to obtain a format-converted object; an information extraction module, used to extract the first reservation record number, passenger information, flight segment information and service information from the format-converted object; and an information determination module, used to determine the reservation modification information based on the passenger information, flight segment information and service information.
[0078] Optionally, in the reservation record processing apparatus provided in this application embodiment, the apparatus further includes: a target information determination unit, configured to, after querying the reservation record database of the target system according to the first reservation record number to obtain the original reservation record corresponding to the first reservation record number, determine the target number of passengers to be separated and the target passenger information according to the reservation modification information; a record parsing unit, configured to determine the original number of passengers and multiple original passenger information according to the original reservation record; and a condition judgment unit, configured to, if the target number of passengers is less than the original number of passengers and the multiple original passenger information includes the target passenger information, determine that the reservation modification information and the original reservation record meet the preset separation conditions.
[0079] Optionally, in the reservation record processing apparatus provided in this application embodiment, the data update unit 303 includes: an addition module, used to add a sub-reservation record of the original reservation record in the reservation record database according to the reservation modification information, and assign a target number to the sub-reservation record, wherein the target number conforms to the numbering and coding rules of the reservation record database; a deletion module, used to delete the data corresponding to the reservation modification information in the original reservation record to obtain the updated original reservation record; and an update information determination module, used to determine the updated reservation record database according to the sub-reservation record and the updated original reservation record, and determine the reservation record update information according to the sub-reservation record and the target number.
[0080] Optionally, in the reservation record processing apparatus provided in this application embodiment, the newly added module includes: an extraction submodule, used to extract target passenger information, a first information item, and a second information item from the original reservation record that belong to the same passenger as the reservation modification information, wherein the first information item is an information item that differs between the target passenger and other passengers in the original reservation record, and the second information item is an information item that is the same as the target passenger and other passengers in the original reservation record; an adjustment submodule, used to adjust the first information item according to the reservation modification information to obtain the adjusted first information item; and a generation submodule, used to generate a sub-reservation record based on the target passenger information, the adjusted first information item, and the second information item, and add the sub-reservation record to the reservation record database.
[0081] Optionally, in the reservation record processing apparatus provided in this application embodiment, the apparatus further includes: a push unit, configured to, after parsing the telex message, if the parsing result of the telex message includes second foreign airline information corresponding to the second foreign airline system, push the reservation record update information to the second foreign airline system based on the second foreign airline information, so that the second foreign airline system updates the third database based on the reservation record update information; and a reservation transmission unit, configured to, if the original reservation record includes flight information of the hosting airline, transmit the first reservation record number and the reservation record update information to the host reservation system corresponding to the flight information of the hosting airline, so that the host reservation system updates the second database based on the first reservation record number and the reservation record update information.
[0082] It should be noted that the message receiving unit 301, record query unit 302, data update unit 303, and information transmission unit 304 mentioned above correspond to steps S201 to S204 in Embodiment 1. The instances and application scenarios implemented by the units and corresponding steps are the same, but are not limited to the content disclosed in Embodiment 1. It should be noted that the above modules or units can be hardware or software components stored in memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The above modules can also be part of the device and run in the computer terminal 10 provided in Embodiment 1.
[0083] Example 4
[0084] Embodiments of this application may provide an electronic device. Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application. Figure 4 As shown, the electronic device may include: one or more ( Figure 4 (Only one is shown) Processor 402, memory 404, memory controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.
[0085] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the methods and apparatus in the embodiments of this application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby implementing the above-described methods. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0086] The processor can access information and applications stored in memory via a transmission device to perform the following steps: receiving a telex message regarding order separation transmitted by the first foreign airline system, parsing the telex message to obtain reservation modification information and a first reservation record number, wherein the first reservation record number conforms to the numbering and encoding rules of the first database in the host reservation system; querying the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number; updating the reservation record database based on the reservation modification information and the original reservation record when the reservation modification information and the original reservation record meet preset separation conditions, obtaining an updated reservation record database and reservation record update information; transmitting the first reservation record number and reservation record update information to the host distribution system so that the host distribution system updates the first database based on the first reservation record number and reservation record update information.
[0087] The processor can also call the information and application program stored in the memory through the transmission device to perform the following steps: convert the format of the telex message to obtain the converted object; extract the first reservation record number, passenger information, flight segment information and service information from the converted object; and determine the reservation change information based on the passenger information, flight segment information and service information.
[0088] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: determine the target number of passengers to be separated from the order and the target passenger information based on the reservation modification information; determine the original number of passengers and multiple original passenger information based on the original reservation record; if the target number of passengers is less than the original number of passengers, and the multiple original passenger information includes the target passenger information, then determine that the reservation modification information and the original reservation record meet the preset separation conditions.
[0089] The processor can also call the information and application program stored in the memory through the transmission device to perform the following steps: In the reservation record database, add a sub-reservation record of the original reservation record according to the reservation change information, and assign a target number to the sub-reservation record, wherein the target number conforms to the numbering and coding rules of the reservation record database; delete the data corresponding to the reservation change information in the original reservation record to obtain the updated original reservation record; determine the updated reservation record database based on the sub-reservation record and the updated original reservation record, and determine the reservation record update information based on the sub-reservation record and the target number.
[0090] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: extracting target passenger information, a first information item, and a second information item from the original reservation record that belong to the same passenger as the reservation modification information, wherein the first information item is an information item that differs between the target passenger and other passengers in the original reservation record, and the second information item is an information item that is the same as the target passenger and other passengers in the original reservation record; adjusting the first information item according to the reservation modification information to obtain the adjusted first information item; generating a sub-reservation record based on the target passenger information, the adjusted first information item, and the second information item, and adding the sub-reservation record to the reservation record database.
[0091] The processor can also call the information and application program stored in the memory through the transmission device to perform the following steps: if the parsing result of the telex message includes the second foreign airline information corresponding to the second foreign airline system, push the reservation record update information to the second foreign airline system according to the second foreign airline information, so that the second foreign airline system updates the third database based on the reservation record update information; if the original reservation record includes the flight information of the hosting airline, transmit the first reservation record number and the reservation record update information to the host reservation system corresponding to the flight information of the hosting airline, so that the host reservation system updates the second database based on the first reservation record number and the reservation record update information.
[0092] This application provides a solution for processing reservation records. By receiving a telex message regarding order separation from a first foreign airline system and parsing the message, reservation modification information and a first reservation record number are obtained. The first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system. A query is performed in the target system's reservation record database based on the first reservation record number to obtain the original reservation record corresponding to that number. If the reservation modification information and the original reservation record meet preset separation conditions, the reservation record database is updated based on these two information, resulting in an updated reservation record database and reservation record update information. The first reservation record number and reservation record update information are then transmitted to the host distribution system, enabling the host distribution system to update the first database based on the first reservation record number and the update information. This solves the technical problem of low synchronization efficiency for reservation records related to foreign airline order separation in the prior art.
[0093] Those skilled in the art will understand that Figure 4 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones, tablets, handheld computers, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 4This does not limit the structure of the aforementioned electronic device. For example, electronic devices may also include components that are more... Figure 4 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 4 The different configurations shown.
[0094] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0095] Example 5
[0096] Embodiments of this application also provide a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the reservation record processing method provided in Embodiment 1.
[0097] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.
[0098] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: receiving a telex message regarding order separation transmitted by the first foreign airline system, and parsing the telex message to obtain reservation modification information and a first reservation record number, wherein the first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system; querying the reservation record database of the target system according to the first reservation record number to obtain the original reservation record corresponding to the first reservation record number; updating the reservation record database according to the reservation modification information and the original reservation record when the reservation modification information and the original reservation record meet the preset separation conditions, to obtain the updated reservation record database and reservation record update information; transmitting the first reservation record number and reservation record update information to the host distribution system so that the host distribution system updates the first database based on the first reservation record number and reservation record update information.
[0099] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: converting the format of a telex message to obtain a format-converted object; extracting the first reservation record number, passenger information, flight segment information, and service information from the format-converted object; and determining reservation modification information based on the passenger information, flight segment information, and service information.
[0100] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: determining the target number of passengers to be separated and the target passenger information based on the reservation modification information; determining the original number of passengers and multiple original passenger information based on the original reservation record; if the target number of passengers is less than the original number of passengers, and the multiple original passenger information includes the target passenger information, then determining that the reservation modification information and the original reservation record meet the preset separation conditions.
[0101] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: in the reservation record database, adding a sub-reservation record of the original reservation record based on the reservation modification information, and assigning a target number to the sub-reservation record, wherein the target number conforms to the numbering and coding rules of the reservation record database; deleting the data corresponding to the reservation modification information in the original reservation record to obtain the updated original reservation record; determining the updated reservation record database based on the sub-reservation record and the updated original reservation record, and determining the reservation record update information based on the sub-reservation record and the target number.
[0102] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: extracting target passenger information, a first information item, and a second information item from the original reservation record that belong to the same passenger as the reservation modification information, wherein the first information item is an information item that differs between the target passenger and other passengers in the original reservation record, and the second information item is an information item that is the same as the target passenger and other passengers in the original reservation record; adjusting the first information item according to the reservation modification information to obtain the adjusted first information item; generating a sub-reservation record based on the target passenger information, the adjusted first information item, and the second information item, and adding the sub-reservation record to the reservation record database.
[0103] Optionally, in this embodiment, the computer-readable storage medium is further configured to store program code for performing the following steps: if the parsing result of the telex message includes second foreign airline information corresponding to the second foreign airline system, the reservation record update information is pushed to the second foreign airline system based on the second foreign airline information, so that the second foreign airline system updates the third database based on the reservation record update information; if the original reservation record includes flight information of the hosting airline, the first reservation record number and reservation record update information are transmitted to the host reservation system corresponding to the flight information of the hosting airline, so that the host reservation system updates the second database based on the first reservation record number and reservation record update information.
[0104] This application also provides a computer program product, which, when executed on a data processing device, is adapted to perform the steps of a method for processing reservation records.
[0105] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0106] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0107] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0108] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0109] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0110] If the integrated unit is implemented as 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 this application, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0111] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for processing reservation records, characterized in that, Applied to a target system, wherein the target system is a host distribution system for which data migration is to be performed, the method includes: The system receives a telex message from the first foreign airline system regarding order separation and parses the telex message to obtain reservation modification information and a first reservation record number, wherein the first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system. The original reservation record corresponding to the first reservation record number is obtained by querying the reservation record database of the target system based on the first reservation record number. If the reservation modification information and the original reservation record meet the preset separation conditions, the reservation record database is updated based on the reservation modification information and the original reservation record to obtain the updated reservation record database and reservation record update information. The first reservation record number and the reservation record update information are transmitted to the host distribution system so that the host distribution system updates the first database based on the first reservation record number and the reservation record update information.
2. The method according to claim 1, characterized in that, Parsing the telex message yields the reservation modification information and the first reservation record number, including: The format of the telex message is converted to obtain the converted object. Extract the first reservation record number, passenger information, flight segment information, and service information from the object after format conversion; The reservation change information is determined based on the passenger information, the flight segment information, and the service information.
3. The method according to claim 1, characterized in that, After querying the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number, the method further includes: Based on the reservation modification information, determine the target number of passengers and their information for the order to be separated; The original number of passengers and multiple original passenger information are determined based on the original reservation records; If the target number of passengers is less than the original number of passengers, and the target passenger information is included in the multiple original passenger information, then the reservation modification information and the original reservation record are determined to meet the preset separation condition.
4. The method according to claim 1, characterized in that, The reservation record database is updated based on the reservation modification information and the original reservation record to obtain the updated reservation record database and reservation record update information, including: In the reservation record database, a sub-reservation record of the original reservation record is added according to the reservation modification information, and a target number is assigned to the sub-reservation record, wherein the target number conforms to the numbering and coding rules of the reservation record database; Delete the data corresponding to the reservation modification information in the original reservation record to obtain the updated original reservation record; The updated reservation record database is determined based on the sub-reservation record and the updated original reservation record, and the reservation record update information is determined based on the sub-reservation record and the target number.
5. The method according to claim 4, characterized in that, The sub-reservation records added based on the reservation modification information of the original reservation record include: Extract the target passenger information, first information item, and second information item from the original reservation record that belong to the same passenger as the reservation change information. The first information item is an information item that differs between the target passenger and other passengers in the original reservation record, and the second information item is an information item that is the same as the target passenger and other passengers in the original reservation record. The first information item is adjusted based on the reservation change information to obtain the adjusted first information item; The sub-reservation record is generated based on the target passenger information, the adjusted first information item, and the second information item, and then added to the reservation record database.
6. The method according to claim 4, characterized in that, After parsing the telex message, the method further includes: If the parsing result of the telex message includes the second foreign airline information corresponding to the second foreign airline system, the reservation record update information is pushed to the second foreign airline system based on the second foreign airline information, so that the second foreign airline system updates the third database based on the reservation record update information; If the original reservation record includes flight information of the managed airline, the first reservation record number and the reservation record update information are transmitted to the host reservation system corresponding to the managed airline flight information, so that the host reservation system updates the second database based on the first reservation record number and the reservation record update information.
7. A method for processing reservation records, characterized in that, Applied to a host distribution system, the method includes: Receive the first reservation record number and reservation record update information in any one of the reservation record processing methods of claims 1-6; Based on the reservation record update information, an order separation operation is performed on the distribution reservation record corresponding to the first reservation record number in the first database of the host distribution system to obtain the distribution sub-reservation record and the distribution sub-reservation record number; The sub-reservation record number of the distributor is transmitted to the target system.
8. A reservation record processing device, characterized in that, Applied to a target system, wherein the target system is a host distribution system for which data migration is to be performed, the method includes: The message receiving unit is used to receive the telex message about order separation transmitted by the first foreign airline system, and to parse the telex message to obtain reservation modification information and the first reservation record number, wherein the first reservation record number conforms to the numbering and encoding rules of the first database in the host distribution system. The record query unit is used to query the reservation record database of the target system based on the first reservation record number to obtain the original reservation record corresponding to the first reservation record number. The data update unit is used to update the reservation record database based on the reservation change information and the original reservation record when the reservation change information and the original reservation record meet the preset separation conditions, so as to obtain the updated reservation record database and reservation record update information. The information transmission unit is used to transmit the first reservation record number and the reservation record update information to the host distribution system, so that the host distribution system updates the first database based on the first reservation record number and the reservation record update information.
9. 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, it controls the device on which the computer-readable storage medium is located to perform the reservation record processing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, performs the method for processing reservation records as described in any one of claims 1 to 7.
11. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the steps of the reservation record processing method according to any one of claims 1 to 7.
