Leg data processing method, system and device
By using the inter-airline relationship type configuration table to handle booking segment requests carrying codeshare direct-connected segments, the problem that existing systems cannot effectively handle such requests is solved, and more efficient system processing and service quality is achieved.
Patent Information
- Application Number
- CN202411833996.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-22
AI Technical Summary
The existing civil aviation open passenger booking system cannot effectively process the subscription segment request messages carrying code sharing direct connection type segments.
The inter-airline relationship type configuration table is used to extract the relationship type field corresponding to the airline ID carried in the booking segment request, and perform corresponding processing based on the value of the relationship type field, including sending the booking request ITAREQ message and updating the segment status in the customer travel record CTR database.
It realizes effective processing of booking segment requests for direct-connected segments carrying code sharing, improves the targeted system processing and service effectiveness, and reduces problem work orders for system users.
Smart Images

Figure CN119862975A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data processing technology, and in particular, relates to a method, system and device for processing flight segment data. Background Art
[0002] The unified order customer travel record database (Customer Travel Record, CTR) based on open platform storage technology is the core data of the civil aviation open passenger reservation system, recording the data of the entire process of passenger travel from reservation sales, passenger services to travel delivery. The civil aviation open passenger reservation system is responsible for the synchronization and management of CTR database data. Based on the order data in the CTR database, it realizes the reservation transaction process, provides flight and additional service product reservations for airlines and agent customers, and provides differentiated reservation services based on passenger value, supports the reservation and retail needs of airlines and agents, and tracks changes in passenger reservation status.
[0003] When the civil aviation company reservation front-end system sends a flight segment reservation request message to the civil aviation open passenger reservation system, the civil aviation open passenger reservation system receives and processes the flight segment request and returns the processing result to the civil aviation company reservation front-end system.
[0004] However, the above processing of the flight segment booking request message can only be used when the flight segment carried in the flight segment booking request message is an ordinary flight segment, wherein the ordinary flight segment refers to a one-way flight segment of a domestic airline. When the flight segment carried in the flight segment booking request message is not an ordinary flight segment, such as a code-sharing determined flight segment, there is currently no corresponding processing method, so it is necessary to propose a flight segment data processing method to process the flight segment booking request message that carries a non-ordinary flight segment. Summary of the invention
[0005] To solve the above problems, the present disclosure provides a method, system and device for processing flight segment data, which adopts an airline relationship type configuration table to process a booking flight segment request message carrying a code-sharing direct connection type flight segment.
[0006] In a first aspect, a method for processing flight segment data is provided, the method comprising:
[0007] Receiving a flight segment booking request message sent by a civil aviation company's booking front-end system, wherein the flight segment booking request message carries a flight segment type, a first airline ID, and a second airline ID, wherein the flight segment types include: a common flight segment, an information flight segment, a flight segment with unknown arrival status, and a confirmed flight segment;
[0008] When the segment type in the flight segment booking request message is a confirmed segment, extracting a relationship type field corresponding to the first airline ID and the second airline ID carried in the flight segment booking request message from a stored relationship type configuration table; wherein the relationship type configuration table includes a correspondence between an airline ID, another airline ID and a relationship type field, wherein the relationship type includes: a code-sharing direct connection type, a direct connection protocol type and a non-direct connection type;
[0009] When the extracted relationship type field is a code-sharing direct connection type, a reservation request I TAREQ message is sent to the second airline system;
[0010] receiving a booking result I TARES message sent by the second airline system, and changing the flight segment status in the customer travel record CTR database based on the I TARES message;
[0011] The changed flight segment status in the CTR database is carried in the scheduled flight segment response message and sent to the civil aviation company's reservation front-end system.
[0012] Furthermore, the method further comprises:
[0013] When the value of the extracted relationship type field is the direct connection protocol type, extracting the direct connection protocol field corresponding to the first airline ID and the second airline ID carried in the flight segment booking request message from the stored direct connection protocol configuration table; wherein the direct connection protocol configuration table includes a correspondence between an airline ID, another airline ID, and the direct connection protocol field;
[0014] When the extracted direct connection agreement field value indicates that a direct connection agreement exists, sending a reservation request I TAREQ message to the second airline system;
[0015] The changed flight segment status in the CTR database is carried in the scheduled flight segment response message and sent to the civil aviation company's reservation front-end system.
[0016] Furthermore, when the extracted value of the direct connection protocol field indicates that a direct connection protocol exists, before sending the reservation request ITAREQ message to the second airline system, the method further includes:
[0017] Extracting the legal field value corresponding to the second airline ID from the stored legal airline configuration table;
[0018] Sending a reservation request I TAREQ message to the second airline system, including:
[0019] When the extracted legal field value indicates legality, a reservation request ITAREQ message is sent to the second airline system.
[0020] Furthermore, when the extracted legal field value does not indicate legality, a prompt message is carried in a scheduled flight segment response message and sent to the civil aviation company's reservation front-end system, wherein the prompt message indicates that no subsequent processing will be performed.
[0021] Furthermore, the method further comprises:
[0022] When the segment type in the flight segment booking request message is an information segment or an unknown arrival segment, the prompt information is carried in the flight segment booking response message and sent to the civil aviation company booking front-end system, wherein the prompt information is not to be processed later.
[0023] Furthermore, when the value of the extracted relationship type field is a non-direct connection type, a prompt message is carried in a scheduled flight segment response message and sent to the civil aviation company reservation front-end system, wherein the prompt message is not to be processed subsequently.
[0024] In a second aspect, a flight segment data processing system is provided, the system comprising: a civil aviation company reservation front-end system, a civil aviation open passenger reservation system, a second airline system and a customer travel record CTR database;
[0025] Civil aviation company reservation front-end system, used to send reservation segment request messages and receive reservation segment response messages;
[0026] The civil aviation open passenger reservation system is used to receive a flight segment reservation request message sent by a civil aviation company reservation front-end system, and when the flight segment type in the flight segment reservation request message is a confirmed flight segment, extract the relationship type field corresponding to the first airline ID and the second airline ID carried in the flight segment reservation request message from the stored relationship type configuration table; when the extracted relationship type field is a code sharing direct connection type, send a reservation request ITAREQ message to the second airline system; receive a reservation result I TARES message sent by the second airline system, and change the flight segment status in the customer travel record CTR database based on the I TARES message; carry the changed flight segment status in the CTR database in a scheduled flight segment response message and send it to the civil aviation company reservation front-end system, wherein the relationship type configuration table contains a corresponding relationship between an airline ID, another airline ID and a relationship type field, and the relationship types include: code sharing direct connection type, direct connection protocol type and non-direct connection type; the flight segment reservation request message carries the flight segment type, the first airline ID and the second airline ID, and the flight segment types include: ordinary flight segment, information flight segment, flight segment with unknown arrival status and confirmed flight segment;
[0027] The second airline system is used to receive a booking request I TAREQ message and send a booking result I TARES message;
[0028] Customer Travel Record (CTR) database is used to store flight segment status.
[0029] In a third aspect, a flight segment data processing device is provided, the device comprising: a reservation request receiving module, a flight segment type processing module and a code sharing processing module; wherein:
[0030] A reservation request receiving module is used to receive a flight segment reservation request message sent by a civil aviation company reservation front-end system, wherein the flight segment reservation request message carries a flight segment type, a first airline ID, and a second airline ID, wherein the flight segment types include: a common flight segment, an information flight segment, a flight segment with unknown arrival status, and a confirmed flight segment;
[0031] A segment type processing module, used for determining the segment type in the booking segment request message, and triggering the code sharing processing module when the segment type in the booking segment request message is a confirmed segment;
[0032] The code sharing processing module is used to extract the relationship type field corresponding to the first airline ID and the second airline ID carried in the booking segment request message from the stored relationship type configuration table; when the value of the extracted relationship type field is the code sharing direct connection type, send a booking request I TAREQ message to the second airline system; receive the booking result I TARES message sent by the second airline system, and change the segment status in the customer travel record CTR database based on the I TARES message; carry the changed segment status in the CTR database in the booking segment response message and send it to the civil aviation company booking front-end system; wherein the relationship type configuration table contains the corresponding relationship between an airline ID, another airline ID and the relationship type field, and the relationship types include: code sharing direct connection type, direct connection protocol type and non-direct connection type.
[0033] Furthermore, the device also includes:
[0034] The direct connection protocol processing module is used to extract the direct connection protocol field corresponding to the first airline ID and the second airline ID carried in the booking segment request message from the stored direct connection protocol configuration table when the extracted relationship type field value is the direct connection protocol type; send the booking request I TAREQ message to the second airline system when the extracted direct connection protocol field value indicates the existence of the direct connection agreement; carry the changed segment status in the CTR database in the booking segment response message and send it to the civil aviation company booking front-end system, wherein the direct connection protocol configuration table contains the correspondence between an airline ID, another airline ID and the direct connection protocol field.
[0035] Further, the device also includes: an airline verification module;
[0036] The direct connection protocol processing module is further configured to trigger the airline verification module before sending the reservation request I TAREQ message to the second airline system when the extracted direct connection protocol field value indicates that the direct connection protocol exists, and send the reservation request I TAREQ message to the second airline system when the airline verification module determines that the extracted legal field value indicates legality;
[0037] The airline verification module is used to extract the legal field value corresponding to the second airline ID from the stored legal airline configuration table before sending the reservation request I TAREQ message to the second airline system when the extracted direct connection agreement field value indicates the existence of the direct connection agreement, determine that the extracted legal field value indicates legality, and trigger the direct connection agreement processing module.
[0038] In a fourth aspect, an electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0039] Memory, used to store computer programs;
[0040] The processor is used to implement the steps of the above method when executing the program stored in the memory.
[0041] In a fifth aspect, a computer storage medium is provided, wherein a computer program is stored in the computer storage medium, and the computer program implements the steps of the above method when executed by a processor.
[0042] Compared with the prior art, the present invention has the following advantages:
[0043] The solution of the disclosed embodiment enables the existing civil aviation open passenger reservation system to provide corresponding effective processing methods for the flight segment reservation request containing special flight segments such as foreign airline segments or code-sharing segments, thereby improving the pertinence of system processing, thereby improving the effectiveness of system services, and reducing the number of problem work orders for the system by system users.
[0044] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or be understood by implementing the present disclosure. The purpose and other advantages of the present disclosure can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0046] Figure 1 A schematic diagram of a method for processing flight segment data according to an embodiment of the present disclosure is shown;
[0047] Figure 2 A schematic diagram of a flight segment data processing system according to an embodiment of the present disclosure is shown;
[0048] Figure 3 A schematic diagram of interaction between flight segment data processing systems according to an embodiment of the present disclosure is shown;
[0049] Figure 4 A block diagram of a flight segment data processing device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0051] Figure 1 The flight segment data processing method according to the embodiment of the present disclosure is shown as follows: Figure 1 As shown, a flight segment data processing method according to an embodiment of the present disclosure includes the following steps:
[0052] Step 101: The civil aviation open passenger reservation system receives a flight segment reservation request message sent by a civil aviation company reservation front-end system;
[0053] The flight segment booking request message includes the flight segment type, the first airline ID, the first airline flight number, the first airline flight class, the first airline flight date, the second airline ID, the second airline flight number, the second airline flight class and the second airline flight date.
[0054] Among them, the flight segment types include: ordinary flight segments, information flight segments, flight segments with unknown arrival conditions and confirmed flight segments. Here, information flight segments, flight segments with unknown arrival conditions and confirmed flight segments are special flight segments. Among them, information flight segments refer to virtual flight segments that do not actually exist; confirmed flight segments refer to real flight segments with confirmed departure and arrival information, which are not one-way flights of domestic airlines.
[0055] Step 102: the civil aviation open passenger reservation system determines whether the flight segment type in the flight segment reservation request message is not a common flight segment. If the determination result is yes, step 103 is executed; if not, step 109 is executed;
[0056] Specifically, the value of the segment type field in the flight segment booking request message may be extracted, and the value may be used to determine whether it is a special segment.
[0057] Step 103: the civil aviation open passenger reservation system determines whether the read flight segment type is a confirmed flight segment, if so, executes step 104; if not, executes step 110;
[0058] Here, if it is determined that the read segment type is not a confirmed segment, it can be determined that the read segment type is an information segment or an unknown arrival segment, and in this case, step 110 needs to be executed;
[0059] Step 104: the civil aviation open passenger reservation system extracts the relationship type field between the first airline and the second airline from the stored inter-airline relationship type configuration table and the first airline ID and the second airline ID in the flight segment reservation request message;
[0060] The civil aviation open passenger reservation system stores an airline relationship type configuration table, which configures the correspondence between an airline ID, another airline ID and a relationship type field; the relationship types here include: code-sharing direct connection type, direct connection agreement type and non-direct connection type.
[0061] For cooperative sales between two airlines, for example, China Southern Airlines actually operates a flight A and Air China can also sell this flight A, then the relationship type between China Southern Airlines and Air China may be a code-sharing direct connection type or a direct connection agreement type.
[0062] Step 105: The civil aviation open passenger reservation system determines that the value of the extracted relationship type field is a code sharing direct connection type. If not, step 106 is executed; if so, step 109 is executed;
[0063] Step 106: the civil aviation open passenger reservation system extracts the direct connection protocol field corresponding to the first airline ID and the second airline ID carried in the flight segment reservation request message from the stored direct connection protocol configuration table;
[0064] Step 107: Determine whether the extracted direct connection protocol field value indicates the existence of a direct connection protocol, if so, execute step 108; if not, execute step 110;
[0065] The civil aviation open passenger reservation system stores a direct connection agreement configuration table, which configures the correspondence between an airline ID, another airline ID and the direct connection agreement type field value. For example, when the field value is Y, it means that an airline has a direct connection agreement with another airline.
[0066] Step 108: the civil aviation open passenger reservation system extracts the legal field value corresponding to the second airline ID from the stored legal airline configuration table, and determines whether the extracted legal field value indicates legality. If so, step 109 is executed; if not, step 110 is executed;
[0067] The legal airline configuration table stores airline IDs and legal field values.
[0068] The Civil Aviation Open Passenger Reservation System stores a table of legal airline configurations, and airlines outside the scope of the direct connection agreement type are configured as legal airlines. Airlines within the scope of the direct connection agreement type are not legal airlines.
[0069] Step 109: the civil aviation open passenger reservation system sends a reservation request ITAREQ message to the second airline system.
[0070] The TAREQ message for sending a reservation request includes the first airline ID, the first airline flight number, the first airline flight class, the first airline flight date, the second airline ID, the second airline flight number, the second airline flight class and the second airline flight date information.
[0071] Afterwards, the civil aviation open passenger reservation system receives the reservation result I TARES message sent back by the second airline system, and then changes the status of the CTR database from the flight segment pending confirmation status to the flight segment confirmed status, and carries the changed flight segment status in the CTR database in the scheduled flight segment response message and sends it to the civil aviation company reservation front-end system.
[0072] Step 110: The civil aviation open passenger reservation system sends the prompt information in the scheduled flight segment response message to the civil aviation company reservation front-end system, and the prompt information is that no subsequent processing will be performed.
[0073] The present disclosure can process special segment requests and non-special segment requests, wherein the special segment requests include: information segment requests, unknown arrival segment requests and confirmed segment requests, and the confirmed segment requests are subdivided into confirmed segment requests of code-sharing direct connection type, confirmed segment requests of non-direct connection type, confirmed segment requests of airlines outside the scope of direct connection agreement type, and confirmed segment requests of airlines within the scope of direct connection agreement type; airlines outside the scope of direct connection agreement type are also illegal airlines, and airlines within the scope of direct connection agreement type are also legal airlines. The specific processing process of these types of segment requests using the solution of the embodiment of the present disclosure is as follows:
[0074] Assuming that the received booking segment request message Q1 is a non-special segment request, the process of processing it using the method disclosed in the present invention is: step 101→step 102→step 110;
[0075] Assuming that the received booking segment request message Q2 is an information segment or an unknown arrival segment request, the process of processing it using the method disclosed in the present invention is: step 101 → step 102 → step 103 → step 110;
[0076] Assuming that the received booking segment request message Q3 is a code-sharing direct connection type confirmation segment request, the process of processing it using the method disclosed in the present invention is: step 101→step 102→step 103→step 104→step 105→step 109;
[0077] Assuming that the received booking segment request message Q4 is a non-direct type of confirmed segment request, the process of processing it using the method disclosed in the present invention is: step 101→step 102→step 103→step 104→step 105→step 106→step 107→step 110;
[0078] Assuming that the received booking segment request message Q5 is a confirmed segment request of an airline outside the scope of the direct connection agreement type, the process of processing it using the method disclosed in the present invention is: step 101→step 102→step 103→step 104→step 105→step 106→step 107→step 108→step 110;
[0079] Assuming that the received booking segment request message Q6 is a confirmed segment request of an airline within the scope of the direct connection protocol type, the process of processing it using the method disclosed in the present invention is: step 101→step 102→step 103→step 104→step 105→step 106→step 107→step 108→step 109.
[0080] Figure 2A schematic diagram of a flight segment data processing system of a civil aviation open passenger reservation system according to an embodiment of the present disclosure is shown. The system includes: a civil aviation company reservation front-end system 21, a civil aviation open passenger reservation system 22, a second airline system 23 and a customer travel record CTR database 24;
[0081] The civil aviation company reservation front-end system 21 is used to send a reservation segment request message and receive a reservation segment response message;
[0082] The civil aviation open passenger reservation system 22 is used to receive a flight segment reservation request message sent by a civil aviation company reservation front-end system, and when the flight segment type in the flight segment reservation request message is a confirmed flight segment, extract the relationship type field corresponding to the first airline ID and the second airline ID carried in the flight segment reservation request message from the stored relationship type configuration table; when the extracted relationship type field is a code sharing direct connection type, send a reservation request ITAREQ message to the second airline system; receive a reservation result I TARES message sent by the second airline system, and change the flight segment status in the customer travel record CTR database based on the I TARES message; carry the changed flight segment status in the CTR database in a scheduled flight segment response message and send it to the civil aviation company reservation front-end system, wherein the relationship type configuration table contains a corresponding relationship between an airline ID, another airline ID and a relationship type field, and the relationship types include: code sharing direct connection type, direct connection protocol type and non-direct connection type; the flight segment reservation request message carries the flight segment type, the first airline ID and the second airline ID, and the flight segment types include: ordinary flight segment, information flight segment, flight segment with unknown arrival status and confirmed flight segment;
[0083] The second airline system 23 is used to receive a booking request I TAREQ message and send a booking result I TARES message;
[0084] The customer travel record CTR database 24 is used to store the flight segment status.
[0085] Figure 3 The diagram of the interaction between the flight segment data processing systems when the relationship type is a code-sharing direct connection type booking flight segment request is given in FIG. Figure 3 The Civil Aviation Open Passenger Reservation System of China changes the CTR database by sending a change segment status request message to the CTR database. The CTR database changes the segment data and changes the segment from a pending confirmation status to a confirmed status. Then the CTR database sends a change segment status response message to the Civil Aviation Open Passenger Reservation System.
[0086] Preferably, the civil aviation open passenger reservation system 22 is further used to extract the direct connection protocol field corresponding to the first airline ID and the second airline ID carried in the booking segment request message from the stored direct connection protocol configuration table when the extracted relationship type field value is the direct connection protocol type; wherein the direct connection protocol configuration table includes the correspondence between an airline ID, another airline ID and the direct connection protocol field; when the extracted direct connection protocol field value indicates the existence of a direct connection agreement, send a booking request I TAREQ message to the second airline system; carry the changed segment status in the CTR database in the booking segment response message and send it to the civil aviation company booking front-end system.
[0087] Preferably, the civil aviation open passenger reservation system 22 is also used to extract the legal field value corresponding to the second airline ID from the stored legal airline configuration table before sending the reservation request I TAREQ message to the second airline system when the extracted direct connection protocol field value indicates the existence of a direct connection agreement; and send the reservation request I TAREQ message to the second airline system when the extracted legal field value indicates legality.
[0088] Preferably, the civil aviation open passenger reservation system 22 is also used to carry a prompt message in the scheduled flight segment response message and send it to the civil aviation company reservation front-end system when the extracted legal field value does not indicate legality, wherein the prompt message is not to perform subsequent processing.
[0089] Preferably, the civil aviation open passenger reservation system 22 is also used to carry the prompt information in the reservation segment response message and send it to the civil aviation company reservation front-end system when the segment type in the reservation segment request message is an information segment or an unknown arrival segment, wherein the prompt information is not subject to subsequent processing.
[0090] Figure 4 A flight segment data processing device according to an embodiment of the present disclosure is shown, including a reservation request receiving module 31, a flight segment type processing module 32 and a code sharing processing module 33; wherein:
[0091] The booking request receiving module 31 is used to receive a flight segment booking request message sent by a civil aviation company booking front-end system, wherein the flight segment booking request message carries a flight segment type, a first airline ID and a second airline ID, wherein the flight segment types include: a common flight segment, an information flight segment, a flight segment with unknown arrival status and a confirmed flight segment;
[0092] The segment type processing module 32 is used to determine the segment type in the booking segment request message, and trigger the code sharing processing module when the segment type in the booking segment request message is a confirmed segment;
[0093] The code sharing processing module 33 is used to extract the relationship type field corresponding to the first airline ID and the second airline ID carried in the booking segment request message from the stored relationship type configuration table; when the value of the extracted relationship type field is the code sharing direct connection type, send a booking request I TAREQ message to the second airline system; receive the booking result I TARES message sent by the second airline system, and change the segment status in the customer travel record CTR database based on the I TARES message; carry the changed segment status in the CTR database in the booking segment response message and send it to the civil aviation company booking front-end system; wherein the relationship type configuration table contains the corresponding relationship between an airline ID, another airline ID and the relationship type field, and the relationship types include: code sharing direct connection type, direct connection protocol type and non-direct connection type.
[0094] Furthermore, it also includes:
[0095] The direct connection protocol processing module 34 is used to extract the direct connection protocol field corresponding to the first airline ID and the second airline ID carried in the booking segment request message from the stored direct connection protocol configuration table when the extracted relationship type field value is the direct connection protocol type; send a booking request I TAREQ message to the second airline system when the extracted direct connection protocol field value indicates the existence of a direct connection agreement; carry the changed segment status in the CTR database in the booking segment response message and send it to the civil aviation company booking front-end system, wherein the direct connection protocol configuration table contains the correspondence between an airline ID, another airline ID and the direct connection protocol field.
[0096] Further, the direct connection protocol processing module 34 is further configured to trigger the airline verification module before sending the reservation request I TAREQ message to the second airline system when the extracted direct connection protocol field value indicates that there is a direct connection protocol, and send the reservation request I TAREQ message to the second airline system when the airline verification module determines that the extracted legal field value indicates legality;
[0097] The device further comprises: an airline verification module 35, which is used to extract a legal field value corresponding to the second airline ID from the stored legal airline configuration table before sending a reservation request ITAREQ message to the second airline system when the extracted direct connection protocol field value indicates the existence of a direct connection protocol, determine that the extracted legal field value indicates legality, and trigger the direct connection protocol processing module.
[0098] The flight segment processing method and device based on the civil aviation open passenger reservation system of the embodiment of the present invention can solve the problem of the need to process foreign flight segments or code-sharing segments when receiving and processing the special flight segment reservation request in the current civil aviation open passenger reservation system. Before the implementation of the present invention, the existing system could not distinguish the special assignment of the foreign flight segments or code-sharing segments, nor could it use different methods to process them respectively. After the implementation of the present invention, the existing civil aviation open passenger reservation system can provide corresponding effective processing methods for the flight segment reservation request containing special flight segments such as foreign flight segments or code-sharing segments, thereby improving the pertinence of the system processing, thereby improving the effectiveness of the system service and reducing the number of problem work orders for the system by system users.
[0099] Based on the same inventive concept as the above disclosed content, the present disclosure also provides an electronic device accordingly. The electronic device of the present disclosure embodiment includes at least one electrically connected processor and only one memory, the memory is electrically connected to the processor, wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method as described above.
[0100] It should be noted that the electrical connection between the above-mentioned units does not necessarily mean the connection between lines. An indirect connection method can be applied to the embodiments of the present disclosure as long as the purpose of the present disclosure is achieved.
[0101] Based on the same inventive concept, the present invention also provides a storage medium, which stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method as described above.
[0102] Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A method for processing flight segment data, characterized in that: The method comprises: Receiving a flight segment booking request message sent by a civil aviation company's booking front-end system, wherein the flight segment booking request message carries a flight segment type, a first airline ID, and a second airline ID, wherein the flight segment types include: a common flight segment, an information flight segment, a flight segment with unknown arrival status, and a confirmed flight segment; When the segment type in the flight segment booking request message is a confirmed segment, extracting a relationship type field corresponding to the first airline ID and the second airline ID carried in the flight segment booking request message from a stored relationship type configuration table; wherein the relationship type configuration table includes a correspondence between an airline ID, another airline ID and a relationship type field, wherein the relationship type includes: a code-sharing direct connection type, a direct connection protocol type and a non-direct connection type; When the extracted relationship type field is a code-sharing direct connection type, a reservation request ITAREQ message is sent to the second airline system; receiving a booking result ITARES message sent by the second airline system, and changing the flight segment status in the customer travel record CTR database based on the ITARES message; The changed flight segment status in the CTR database is carried in the scheduled flight segment response message and sent to the civil aviation company's reservation front-end system.
2. The method according to claim 1, characterized in that The method further comprises: When the value of the extracted relationship type field is the direct connection protocol type, extracting the direct connection protocol field corresponding to the first airline ID and the second airline ID carried in the flight segment booking request message from the stored direct connection protocol configuration table; wherein the direct connection protocol configuration table includes a correspondence between an airline ID, another airline ID, and the direct connection protocol field; When the extracted direct connection agreement field value indicates that a direct connection agreement exists, sending a reservation request ITAREQ message to the second airline system; The changed flight segment status in the CTR database is carried in the scheduled flight segment response message and sent to the civil aviation company's reservation front-end system.
3. The method according to claim 2, characterized in that When the extracted value of the direct connection protocol field indicates that a direct connection protocol exists, before sending the reservation request ITAREQ message to the second airline system, the method further includes: Extracting the legal field value corresponding to the second airline ID from the stored legal airline configuration table; Send a reservation request ITAREQ message to the second airline system, including: When the extracted legal field value indicates legality, a reservation request ITAREQ message is sent to the second airline system.
4. The method according to claim 3, characterized in that When the extracted legal field value does not indicate legality, a prompt message is carried in a scheduled flight segment response message and sent to the civil aviation company's reservation front-end system, wherein the prompt message is not to be processed subsequently.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the segment type in the flight segment booking request message is an information segment or an unknown arrival segment, the prompt information is carried in the flight segment booking response message and sent to the civil aviation company booking front-end system, wherein the prompt information is not to be processed later.
6. The method according to any one of claims 1 to 4, characterized in that: When the value of the extracted relationship type field is a non-direct connection type, the prompt information is carried in the scheduled flight segment response message and sent to the civil aviation company's reservation front-end system, wherein the prompt information is not to be processed subsequently.
7. A flight segment data processing system, characterized in that: The system includes: a civil aviation company reservation front-end system, a civil aviation open passenger reservation system, a second airline system and a customer travel record CTR database; Civil aviation company reservation front-end system, used to send reservation segment request messages and receive reservation segment response messages; The civil aviation open passenger reservation system is used to receive a flight segment reservation request message sent by a civil aviation company reservation front-end system, and when the flight segment type in the flight segment reservation request message is a confirmed flight segment, extract the relationship type field corresponding to the first airline ID and the second airline ID carried in the flight segment reservation request message from the stored relationship type configuration table; when the extracted relationship type field is a code sharing direct connection type, send a reservation request ITAREQ message to the second airline system; receive a reservation result ITARES message sent by the second airline system, and change the flight segment status in the customer travel record CTR database based on the ITARES message; carry the changed flight segment status in the CTR database in a scheduled flight segment response message and send it to the civil aviation company reservation front-end system, wherein the relationship type configuration table contains a corresponding relationship between an airline ID, another airline ID and a relationship type field, and the relationship types include: code sharing direct connection type, direct connection protocol type and non-direct connection type; the flight segment reservation request message carries the flight segment type, the first airline ID and the second airline ID, and the flight segment types include: ordinary flight segment, information flight segment, flight segment with unknown arrival status and confirmed flight segment; The second airline system is used to receive the booking request ITAREQ message and send the booking result ITARES message; Customer Travel Record (CTR) database is used to store flight segment status.
8. A flight segment data processing device, characterized in that: The device comprises: a reservation request receiving module, a flight segment type processing module and a code sharing processing module; wherein: A reservation request receiving module is used to receive a flight segment reservation request message sent by a civil aviation company reservation front-end system, wherein the flight segment reservation request message carries a flight segment type, a first airline ID, and a second airline ID, wherein the flight segment types include: a common flight segment, an information flight segment, a flight segment with unknown arrival status, and a confirmed flight segment; A segment type processing module, used for determining the segment type in the booking segment request message, and triggering the code sharing processing module when the segment type in the booking segment request message is a confirmed segment; The code sharing processing module is used to extract the relationship type field corresponding to the first airline ID and the second airline ID carried in the booking segment request message from the stored relationship type configuration table; when the extracted relationship type field is a code sharing direct connection type, send a booking request ITAREQ message to the second airline system; receive a booking result ITARES message sent by the second airline system, and change the segment status in the customer travel record CTR database based on the ITARES message; carry the changed segment status in the CTR database in a booking segment response message and send it to the civil aviation company booking front-end system; wherein the relationship type configuration table contains the corresponding relationship between an airline ID, another airline ID and the relationship type field, and the relationship types include: code sharing direct connection type, direct connection protocol type and non-direct connection type.
9. The device according to claim 8, characterized in that Also includes: The direct connection protocol processing module is used to extract the direct connection protocol field corresponding to the first airline ID and the second airline ID carried in the booking segment request message from the stored direct connection protocol configuration table when the extracted relationship type field value is the direct connection protocol type; send the booking request ITAREQ message to the second airline system when the extracted direct connection protocol field value indicates the existence of the direct connection agreement; carry the changed segment status in the CTR database in the booking segment response message and send it to the civil aviation company booking front-end system, wherein the direct connection protocol configuration table contains the correspondence between an airline ID, another airline ID and the direct connection protocol field.
10. The device according to claim 9, characterized in that The device also includes: an airline verification module; The direct connection protocol processing module is further used to trigger the airline verification module before sending the reservation request ITAREQ message to the second airline system when the extracted direct connection protocol field value indicates that the direct connection protocol exists, and send the reservation request ITAREQ message to the second airline system when the airline verification module determines that the extracted legal field value indicates legality; The airline verification module is used to extract the legal field value corresponding to the second airline ID from the stored legal airline configuration table before sending the reservation request ITAREQ message to the second airline system when the extracted direct connection agreement field value indicates the existence of a direct connection agreement, determine that the extracted legal field value indicates legality, and trigger the direct connection agreement processing module.
11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor, for implementing the steps of any method described in claims 1-6 when executing a program stored in a memory.
12. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods of claims 1-6 are implemented.