Ticket business processing method and system, electronic equipment and computer program product

By parsing and detecting booking request messages in the aviation service system and generating ticket processing applications, the problem of low ticket booking efficiency for various travel tools is solved, and efficient ticket processing and a one-stop service experience are achieved.

CN120706600APending Publication Date: 2025-09-26TRAVELSKY TECHNOLOGY LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510827307.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

The existing aviation service system is unable to effectively integrate ticketing information for multiple modes of transportation, resulting in low booking efficiency and cumbersome processing procedures when passengers book tickets for multiple modes of transportation. It is unable to provide a one-stop service experience and is unable to respond and adjust itineraries in real time.

Method used

By receiving the booking request message from the front-end system, parsing and extracting the booking information, performing detection and filtering, generating a ticket processing application, and triggering the ticketing operation, the transaction information management system is used to process the itinerary booking to ensure data integrity and accuracy.

Benefits of technology

It has improved the efficiency of ticket booking processing for various travel tools, simplified the processing process, and improved passengers' travel experience and the overall efficiency of the service system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120706600A_ABST
    Figure CN120706600A_ABST
Patent Text Reader

Abstract

The invention discloses a ticket business processing method and system, electronic equipment and a computer program product. The method relates to the field of civil aviation services, and comprises the following steps: receiving a reservation request message sent by a front-end system, and analyzing the reservation request message to obtain reservation request data; m pieces of reservation information are extracted from the reservation request data, the M pieces of reservation information are detected, N pieces of reservation information passing detection are obtained, the N pieces of reservation information are sent to a transaction information management system, and the transaction information management system is used for conducting travel reservation processing according to the N pieces of reservation information; and receiving reply information sent by the transaction information management system, generating a ticket business processing application based on the reply information, and triggering ticket business operation based on the ticket business processing application. According to the invention, the technical problems of low booking efficiency and tedious processing flow during ticket booking processing of various travel tools for travelers in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of civil aviation services, and more specifically, to a ticket processing method, system, electronic equipment, and computer program product. Background Art

[0002] With the development of the aviation industry, passengers' requirements for flight experience are constantly increasing. Aviation agencies focus on the construction of value-added service systems, striving to enhance product value by providing a variety of additional services, thereby helping passengers improve the comfort and convenience of travel.

[0003] However, while value-added services have significantly enriched airline product lines, basic airfare services remain insufficient to meet the diverse and personalized needs of passengers. Especially in today's fast-paced lifestyle, passengers are seeking "one-click" travel solutions, where they can purchase their airfare and simultaneously arrange for multiple modes of transportation, achieving a truly "one-ticket" travel experience.

[0004] However, the current aviation service system generally has the following problems: First, passengers need to pay for tickets for various modes of transportation on different platforms. This process is lengthy and complicated, which not only wastes passengers' time, but also leads to inconsistency in itinerary planning and information confusion. In addition, the intermodal transport capacity between multiple modes of transportation such as air-rail, air-land, and air-water is insufficient. Existing technologies cannot directly connect and integrate the resources of other transportation service providers, making it impossible to provide a one-stop service experience. Furthermore, ticket information and service data between different modes of transportation are not interconnected, which affects passengers' travel efficiency and quality of experience. Current technology fails to fully consider the diversity of passengers' transfer needs and cannot respond and adjust itineraries in real time, resulting in many inconveniences for passengers when facing emergencies or modifying their itineraries.

[0005] There are technical problems in related technologies such as low booking efficiency and complicated processing procedures when processing ticket bookings for passengers using multiple means of transportation. No effective solution has been proposed yet. Summary of the Invention

[0006] The main purpose of this application is to provide a ticket processing method, system, electronic device and computer program product to solve the technical problems in the related art of low booking efficiency and complicated processing procedures when processing ticket bookings for multiple travel tools for passengers.

[0007] To achieve the above-mentioned objectives, according to one aspect of the present application, a ticket processing method is provided. The method comprises: receiving a reservation request message sent by a front-end system, parsing the reservation request message to obtain reservation request data, wherein the reservation request message is used to indicate a passenger's request to reserve a ticket; extracting M reservation information from the reservation request data, testing the M reservation information to obtain N reservation information that pass the test, and sending the N reservation information to a transaction information management system, wherein the transaction information management system is used to perform itinerary reservation processing based on the N reservation information, where M is greater than N and M and N are positive integers; receiving reply information sent by the transaction information management system, generating a ticket processing application based on the reply information, and triggering a ticketing operation based on the ticket processing application, wherein the reply information includes at least one of the following: reservation result information and itinerary status information.

[0008] Furthermore, parsing the reservation request message to obtain reservation request data includes: extracting the request header field of the reservation request message, creating an object instance of the reservation request message according to the request header field, and obtaining a reservation object instance; obtaining an interface field rule, and having a parsing code parse the reservation object instance according to the interface field rule to obtain parsed reservation data, and determining whether the parsed reservation data is an empty field; if the parsed reservation data is not an empty field, determining the parsed reservation data as reservation request data.

[0009] Furthermore, before detecting the M reservation information, the method also includes: after sending an order request to the order query system, receiving a reservation record data set returned by the order query system, converting the format of the reservation record data set to obtain a converted record data set, wherein the order request is used to indicate a query for passenger ticket reservation records; using each converted record data in the converted record data set as a primary key, locating operation records of multiple historical time periods, and forming an object record data set from the operation records of the multiple historical time periods; integrating the converted record data set and the object record data set to obtain a reservation management data set, wherein the reservation management data set includes Y reservation management data, each reservation management data includes passenger information, reservation detail data, additional data, transaction records and status data, and Y is a positive integer; and performing the step of detecting the M reservation information according to the reservation management data set.

[0010] Furthermore, testing the M pieces of booking information to obtain N pieces of booking information that pass the test includes: extracting flight segment information from each piece of booking information to obtain M pieces of flight segment information, and determining whether data matching each piece of flight segment information exists in the booking management data set; if A pieces of data matching the M pieces of flight segment information exist in the booking management data set, extracting A pieces of flight segment information matching the A pieces of data, where A is less than or equal to M and is a positive integer; and performing product table testing on the booking information associated with the A pieces of flight segment information to obtain N pieces of booking information that pass the test.

[0011] Furthermore, the reservation information associated with A flight segment information is subjected to a product table test to obtain N reservation information that pass the test, including: extracting query fields from the A reservation information to obtain A group of query fields, and obtaining the aviation product table, wherein each group of query fields at least includes service type, product type, aviation type and reservation code; determining whether there is a unique query record corresponding to the A group of query fields in the aviation product table, if there are B unique query records in the aviation product table corresponding to the B group of query fields in the A group of query fields, determining whether the reservation information corresponding to the B group of query fields complies with the preset protocol, wherein A is greater than or equal to B and B is a positive integer; in the case that there are N reservation information that comply with the preset protocol among the B reservation information, N reservation information that pass the test is obtained.

[0012] Furthermore, before generating a ticket processing application based on the reply information, the method also includes: parsing the reply information to obtain a reply information field, wherein the reply information field includes at least: information name, information attributes and information content; converting the format of the reply information field to obtain a converted information field, and generating a ticket processing application based on the converted information field.

[0013] Furthermore, triggering a ticketing operation based on a ticketing processing application includes: parsing the ticketing processing application to obtain an order number, and obtaining ticketing object information based on the order number, wherein the ticketing object information is used to indicate ticketing information for different travel services, wherein the travel services include at least: flight services, passenger services; generating a ticketing processing message based on the ticketing object information, and sending the ticketing processing message to a service management system, wherein the service management system is used to provide ticketing processing operations for different travel services; upon receiving the ticketing status information sent by the service management system, sending the ticketing status information to the client.

[0014] To achieve the above-mentioned objectives, according to another aspect of the present application, a ticket processing system is provided. The system includes: a front-end system for generating a reservation request message based on a passenger's request to reserve a ticket, and sending the reservation request message to an order management system; the order management system for parsing the reservation request message to obtain reservation request data, extracting M reservation information from the reservation request data, testing the M reservation information to obtain N reservation information that pass the test, and sending the N reservation information to a transaction information management system; and further for receiving reply information sent by the transaction information management system, generating a ticket processing application based on the reply information, and triggering a ticketing operation based on the ticket processing application, where N is a positive integer; and the transaction information management system for generating reply information based on the N reservation information, where the reply information includes at least one of the following: reservation result information and itinerary status information.

[0015] To achieve the above-mentioned purpose, according to another aspect of the present application, a ticket processing device is provided. The device includes: a first receiving unit, configured to receive a reservation request message sent by a front-end system, parse the reservation request message, and obtain reservation request data, wherein the reservation request message is used to indicate a passenger's request to reserve a ticket; an extraction unit, configured to extract M reservation information from the reservation request data, perform tests on the M reservation information, obtain N reservation information that pass the tests, and send the N reservation information to a transaction information management system, wherein the transaction information management system is configured to perform itinerary reservation processing based on the N reservation information, where M is greater than N and M and N are positive integers; and a second receiving unit, configured to receive reply information sent by the transaction information management system, generate a ticket processing application based on the reply information, and trigger a ticketing operation based on the ticket processing application, wherein the reply information includes at least one of the following: reservation result information and itinerary status information.

[0016] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program runs, the device where the computer-readable storage medium is located is controlled to execute any of the above-mentioned ticket processing methods.

[0017] According to another aspect of an embodiment of the present invention, an electronic device is also provided, including one or more processors and a memory, wherein the memory stores an executable program, and the processor is used to run the program, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any of the above-mentioned ticket processing methods.

[0018] According to another aspect of an embodiment of the present invention, a computer program product is provided. The computer program product includes a computer program, wherein when the computer program is executed by a processor, any one of the above-mentioned ticket processing methods is implemented.

[0019] In an embodiment of the present application, a ticket processing method is adopted, by receiving a reservation request message sent by a front-end system, parsing the reservation request message, and obtaining reservation request data, wherein the reservation request message is used to indicate a passenger's request to reserve a ticket; extracting M reservation information from the reservation request data, and testing the M reservation information to obtain N reservation information that pass the test, and sending the N reservation information to a transaction information management system, wherein the transaction information management system is used to perform itinerary reservation processing based on the N reservation information, where M is greater than N, and M and N are positive integers; receiving a reply message sent by the transaction information management system, generating a ticket processing application based on the reply information, and triggering a ticket processing application based on the ticket processing application. Ticketing operation, wherein the reply information includes at least one of the following: booking result information and itinerary status information, which solves the technical problems of low booking efficiency and cumbersome processing procedures when processing ticket bookings for multiple travel tools for passengers in related technologies. By parsing and extracting the received booking request message, testing the multiple booking information extracted, and sending the booking information that passes the test to the transaction information management system, after receiving the reply information sent by the transaction information management system, a ticket processing application is generated based on the reply information, and a ticketing operation is triggered based on the ticket processing application, thereby achieving the technical effect of improving the efficiency of ticket booking processing for multiple travel tools for passengers and simplifying the processing procedure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which constitute part of this application, are intended to provide a further understanding of this application. The exemplary embodiments and descriptions of this application are intended to explain this application and do not constitute an improper limitation on this application. In the accompanying drawings:

[0021] Figure 1 It is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a ticket processing method;

[0022] Figure 2 is a flowchart of a ticket processing method provided in accordance with an embodiment of the present application;

[0023] Figure 3 is a schematic diagram of a ticket processing system provided according to an embodiment of the present application;

[0024] Figure 4 is a schematic diagram of a ticket processing system provided according to an embodiment of the present application;

[0025] Figure 5 is a processing flow chart of a reservation module provided according to an embodiment of the present application;

[0026] Figure 6 is a processing flow chart of the filtering module provided according to an embodiment of the present application;

[0027] Figure 7 This is a processing flow chart of the ticket issuing module provided according to an embodiment of the present application;

[0028] Figure 8 is a schematic diagram of an optional ticket processing system provided according to an embodiment of the present application;

[0029] Figure 9 is a schematic diagram of a ticket processing device provided according to an embodiment of the present application;

[0030] Figure 10 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0033] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set up between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0034] It should be noted that the collected information used in this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse use.

[0035] Example 1

[0036] According to an embodiment of the present application, an embodiment of a method for processing tickets is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0037] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 It is a hardware structure diagram of a computer terminal (or mobile device) for implementing a ticket processing method, such as Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more ( Figure 1 The computer system 102 includes a processor 102 (the processor 102 may include but is not limited to a microcontroller unit (MCU) or a programmable logic device (FPGA)), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, the computer system 102 may 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 the BUS), a network interface, a keyboard, a cursor control device, a power supply, and / or a camera. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.

[0038] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuitry may be a single independent processing module, or may be incorporated in whole or in part into any of the other components of the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuitry serves as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0039] 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 ticket processing method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the above-mentioned ticket processing method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0040] The transmission device 106 is used to receive or send data via a network. A specific example of the aforementioned network may include a wireless network provided by the communications provider of the computer terminal 10. In one embodiment, the transmission device 106 includes a network interface controller (NIC) and a network interface, which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0041] The display may be, for example, a touch screen liquid crystal display (LCD), which enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0042] Under the above operating environment, this application provides Figure 2 The ticket processing method shown. Figure 2 This is a flowchart of a ticket processing method according to an embodiment of the present application. Figure 2 As shown, the method includes the following steps:

[0043] Step S201: receiving a reservation request message sent by a front-end system, parsing the reservation request message, and obtaining reservation request data, wherein the reservation request message is used to indicate a passenger's request to reserve a ticket.

[0044] Specifically, in order to achieve seamless connection between flights and passenger transportation and facilitate passengers' travel, passengers can first book tickets through the front-end system (Sales GUI, SGUI), that is, passengers can obtain the required flights and passenger schedules through inquiries, select the appropriate schedule, fill in relevant information to book passenger tickets. At this time, the front-end system can generate a booking request message based on the passenger's booked ticket information and other related content, and pass the message to the order management system through the access layer and the interface provided by the ASOM (Order Management Software-Ancillary Services Operation Module) additional service through the RPC protocol (Remote Procedure Call Protocol). The booking request message may include the passenger's personal information, flight information, transportation service requirements, traffic information items, remarks, fare information items, additional service requirements and payment information.

[0045] After receiving the above message, the order management system can parse and convert the reservation request message through parsing algorithms and rules, converting the original data contained in the message into a data structure that can be recognized and processed within the system. After the message parsing is completed, the obtained data is checked for integrity and consistency to obtain the reservation request data. It should be noted that if the input content is empty or the parsing fails during the conversion process, an error prompt will be given to ensure the integrity of the data structure; if no error is reported, the process will continue to execute.

[0046] In step S202, M reservation information is extracted from the reservation request data, and the M reservation information is tested to obtain N reservation information that pass the test. The N reservation information is sent to the transaction information management system, where the transaction information management system is used to process the itinerary reservation based on the N reservation information, where M is greater than N, and M and N are positive integers.

[0047] Specifically, after obtaining the reservation request data, reservation information representing the service needs of multiple passengers can be extracted from the reservation request data. Due to the complexity of passenger ticket booking situations and the diverse types of request data, in order to reduce the pressure of subsequent processes, it is necessary to perform data layered filtering on the validity and compliance of the request data, that is, to test the above-mentioned reservation information, so as to obtain multiple reservation information that have passed the test or filtering. For example, the reservation information can be checked for information integrity and feasibility, and PNR (Passenger Name Record) filtering, "CATALOG" filtering, product definition table filtering and IEMD (Interline Electronic Miscellaneous Document, a technical standard) protocol filtering can also be performed.

[0048] Furthermore, after screening out multiple booking information that have passed the test, these booking information that have passed the test can be sent to a transaction information management system (which can be "China Communications Information") for further processing. After receiving the above-mentioned booking information that has passed the test, the transaction information management system can plan the passenger's itinerary based on this information, including flights, intermodal transportation services, etc., coordinate the resource allocation of various transportation modes, and perform booking operations to ensure that passengers can smoothly transfer within the scheduled time.

[0049] Step S203: Receive the reply information sent by the transaction information management system, generate a ticket processing application based on the reply information, and trigger a ticketing operation based on the ticket processing application, wherein the reply information includes at least one of the following: booking result information and itinerary status information.

[0050] Specifically, after receiving the reservation information that has passed the above test, the transaction information management system can perform operations such as ticket reservation based on the reservation information. Based on the results of these operations, it can generate a reply message containing information such as whether the reservation was successful and the specific status of the ticketed itinerary, and send this information to the order management system. The order management system can then verify the reservation transaction based on the reply message and, after ensuring that all transaction information is accurate, trigger ticketing operations, such as ticket issuance for various travel modes.

[0051] The ticket processing method provided in the embodiment of the present application receives a reservation request message sent by a front-end system, parses the reservation request message, and obtains reservation request data, wherein the reservation request message is used to indicate a passenger's request to book a ticket; extracts M reservation information from the reservation request data, and detects the M reservation information to obtain N reservation information that passes the detection, and sends the N reservation information to a transaction information management system, wherein the transaction information management system is used to perform itinerary reservation processing based on the N reservation information, where M is greater than N, and M and N are positive integers; receives a reply message sent by the transaction information management system, generates a ticket processing application based on the reply information, and triggers the ticket processing based on the ticket processing application. operation, wherein the reply information includes at least one of the following: booking result information and itinerary status information, which solves the technical problems of low booking efficiency and cumbersome processing procedures when processing ticket bookings for multiple travel tools for passengers in related technologies. By parsing and extracting the received booking request message, testing the multiple booking information extracted, sending the booking information that passes the test to the transaction information management system, and after receiving the reply information sent by the transaction information management system, generating a ticket processing application based on the reply information, and triggering the ticketing operation based on the ticket processing application, thereby achieving the technical effect of improving the efficiency of ticket booking processing for multiple travel tools for passengers and simplifying the processing procedure.

[0052] Optionally, in the ticket processing method provided in the embodiment of the present application, parsing the reservation request message to obtain the reservation request data includes: extracting the request header field of the reservation request message, creating an object instance of the reservation request message according to the request header field, and obtaining a reservation object instance; obtaining the interface field rule, and having the parsing code parse the reservation object instance according to the interface field rule to obtain the parsed reservation data, and determining whether the parsed reservation data is an empty field; if the parsed reservation data is not an empty field, determining the parsed reservation data as the reservation request data.

[0053] Specifically, after receiving a reservation request message sent by the front-end system, in order to parse the message, the request header field in the message can be first extracted. The request header field refers to the forefront part of the message and includes basic information about the message transmission, such as the request version number, message type, sender and receiver identifiers, request timestamp, passenger unique identifier, remarks, operation type (booking, modification, cancellation), or the source system of the request. After reading and parsing the header information, the extracted request header information can be converted into an object that can be passed as a parameter to subsequent processing functions or modules. In other words, the extracted request header data is encapsulated into a program object, and an object instance of the reservation request message is created according to the interface field rules, thereby obtaining a reservation object instance.

[0054] Furthermore, interface field rules that ensure compatibility and interoperability between various systems can be obtained, and then the reservation object instance can be parsed into structured data using the rules and parsing code to obtain the parsed reservation data.

[0055] Furthermore, the parsed booking data is checked to determine whether there are any empty fields, that is, any fields that are not filled in or missing data are identified and marked. If there are no empty fields in the parsed booking data, it means that the data is complete and meets the subsequent processing conditions. The subsequent process can continue to prepare for subsequent booking processing, ticketing operations and customer service; on the contrary, if the incoming content is empty or the parsing fails, it is necessary to activate the error correction mechanism and send a supplementary request through the front-end system until the data is complete.

[0056] This embodiment parses the reservation request message to ensure that the system can accurately understand the passenger's reservation needs, avoid processing failures due to incorrect data format or incomplete information, improve the service success rate and passenger satisfaction, and enhance the overall efficiency of the system.

[0057] Optionally, in the ticket processing method provided in the embodiment of the present application, before detecting the M reservation information, the method also includes: after sending an order request to the order query system, receiving a reservation record data set returned by the order query system, converting the format of the reservation record data set to obtain a converted record data set, wherein the order request is used to indicate a query for passenger ticket reservation records; using each converted record data in the converted record data set as a primary key, locating operation records of multiple historical time periods, and forming an object record data set from the operation records of multiple historical time periods; integrating the converted record data set and the object record data set to obtain a reservation management data set, wherein the reservation management data set includes Y reservation management data, each reservation management data includes passenger information, reservation details data, additional data, transaction records and status data, and Y is a positive integer; and performing the step of detecting the M reservation information according to the reservation management data set.

[0058] Specifically, when a passenger submits an order request through the front-end system, the booking request message corresponding to the request is received by the order management system. Before filtering and checking the booking information obtained by parsing the booking request message, an order request can first be sent to the Order Retrieval (OR) system to obtain the passenger's booking record. The request can include the order number, passenger name or ID number to instruct the order retrieval system to query the booking records related to the passenger.

[0059] After receiving the request, the order query system invokes the disk-reading tool ANT to access the raw data from the reservation host system or other reservation hosts. This raw data includes various passenger reservation information, such as flight details, seat selection, special service requests, and payment information. The order query system compiles this data into a reservation record dataset (also known as a PNR (Passenger Name Record) object) and returns it to the order management system.

[0060] After receiving the above data set, the order management system can first convert the data format to match its internal data structure and operation requirements, such as parsing, cleaning and reorganizing the data to ensure that all information complies with the system's format standards, and then form a converted record data set with the converted data.

[0061] Furthermore, the order management system needs to call the CTR (the order synchronization module within the order management system) to obtain the CBR (Computerized Booking Record) object associated with the PNR. The CTR is used to coordinate and synchronize passenger booking information on the booking host. Through the CTR, the order management system can obtain the latest and detailed passenger booking status and historical operation records. Since the PNR number is a unique identifier that accurately points to the passenger's booking record in the booking host system, each record in the converted record dataset (i.e., the PNR number) can be used as a primary key to query the operation records associated with it for multiple historical time periods. These operation records for these historical time periods are then combined into an object record dataset (i.e., a specific CBR object). The converted record dataset and the object record dataset are then integrated to form a booking management dataset. This integration of the CBR object and the PNR object creates the order management system's internal data logical structure, namely the CTR data (also known as the booking management dataset). The CTR data contains not only basic passenger information and flight details, but also the latest service changes, payment status, and interline information.

[0062] It's important to note that a PNR object is different from a Computerized Booking Record (CBR) object. A PNR is a standard record format used to store passenger booking information, primarily including the passenger's name, contact information, flight information, seat preferences, etc. A CBR is used to store a passenger's specific booking record, containing more detailed information such as the latest booking status, any reservation changes, and interline information.

[0063] This embodiment integrates the converted record dataset and the object record dataset, so that the order management system has a more comprehensive view of passenger bookings, avoiding errors caused by incompatible data formats or missing information, thereby improving processing speed and accuracy and facilitating subsequent logical processing and decision-making.

[0064] Optionally, in the ticket processing method provided in the embodiment of the present application, testing M pieces of booking information to obtain N pieces of booking information that pass the test includes: extracting flight segment information from each piece of booking information to obtain M pieces of flight segment information, and determining whether there is data matching each flight segment information in the booking management data set; if there are A pieces of data matching the M flight segment information in the booking management data set, extracting A pieces of flight segment information matching the A pieces of data, where A is less than or equal to M and A is a positive integer; and performing product table testing on the booking information associated with the A pieces of flight segment information to obtain N pieces of booking information that pass the test.

[0065] Specifically, when checking booking information, the flight segment information and passenger information corresponding to each booking information can be first extracted, where the flight segment information may include the airline code, flight number, departure point, destination, departure time, and arrival time. The passenger information is then compared with the passengers contained in the booking management dataset, and the flight segment information is compared with the flight information of each passenger in the booking management dataset. If there are multiple matching data in the booking management dataset, the test is successful. At this time, the data corresponding to these matching data can be filtered from the booking information, that is, A flight segment information is obtained; conversely, if no data matches the flight segment information or passenger information, the test fails, and a failure message needs to be prompted.

[0066] For the A booking information that are successfully matched, further product table detection can be performed, such as CATALOG filtering, product definition table filtering, and IEMD protocol (also known as EMD intermodal protocol) filtering, to obtain multiple booking information that finally pass the detection.

[0067] This embodiment accurately extracts and matches flight segment information and passenger information to ensure accurate identification of flights and services related to passenger reservations, thereby improving the accuracy and efficiency of data processing. Product table testing verifies whether the reservation information for each flight segment meets current service standards and availability, avoiding invalid reservations or service conflicts, and enhancing service reliability and customer satisfaction.

[0068] Optionally, in the ticket processing method provided in the embodiment of the present application, the reservation information associated with A flight segment information is subjected to product table detection to obtain N reservation information that pass the detection, including: extracting query fields from the A reservation information to obtain A group of query fields, and obtaining the aviation product table, wherein each group of query fields includes at least service type, product type, aviation type and reservation code; judging whether there is a unique query record corresponding to the A group of query fields in the aviation product table, if there are B unique query records in the aviation product table corresponding to the B group of query fields in the A group of query fields, judging whether the reservation information corresponding to the B group of query fields complies with the preset protocol, wherein A is greater than or equal to B, and B is a positive integer; in the case where there are N reservation information that comply with the preset protocol among the B reservation information, N reservation information that pass the detection is obtained.

[0069] Specifically, after filtering out the booking information that matches the passenger and flight information contained in the booking management data set from multiple booking information, a product table test can also be performed on it. First, the key query fields can be extracted from the booking information that has passed the flight segment information verification and passenger information verification. For example, if CATALOG filtering is performed, query fields such as airline, serviceType, subProduct, and subCode can be extracted from the booking information. Then, based on the above information, the received CATALOG data is queried and stored in the aviation product table of the database. If the query result is only one corresponding data, the test passes, that is, there is a unique query record corresponding to the query field in the aviation product table; if the query result is not unique or there is no corresponding data, failure is returned and a failure message is prompted.

[0070] After CATALOG filtering, you can also obtain the multiple query fields mentioned above that have unique query records, and obtain the reservation information corresponding to these query fields. Then, query fields such as reason code (subCode), service type (serviceType), request type (requestType) and product type (ssrCode) are extracted from these reservation information. These query fields are compared with the product definition table. If the data cannot be queried or the query result is not unique, a failure is returned and a failure message is prompted. If a unique corresponding data can be queried, that is, there is a unique query record corresponding to the query field in the product definition table, protocol filtering is performed.

[0071] When performing protocol filtering, first obtain multiple booking information with unique query records corresponding to the query fields, then obtain query fields such as the sales airline (VC), operating airline (OC) and service name queried from the product definition table from these booking information, and use these query fields as conditions to query the intermodal agreement table. If the query result is empty or the result is not unique, it returns failure and prompts that it does not comply with the intermodal agreement and ticket issuance is not allowed; if a unique corresponding data can be queried, multiple booking information that has passed the test will be obtained.

[0072] This embodiment detects reservation information through multiple filtering methods, improves the accuracy and efficiency of data processing, reduces risks, facilitates efficient allocation of resources, avoids invalid reservations or service conflicts, and enhances service reliability and customer satisfaction.

[0073] Optionally, in the ticket processing method provided in the embodiment of the present application, before generating a ticket processing application based on the reply information, the method also includes: parsing the reply information to obtain a reply information field, wherein the reply information field includes at least: information name, information attributes and information content; formatting the reply information field to obtain a converted information field, and generating a ticket processing application based on the converted information field.

[0074] Specifically, after receiving the reply message, it can first be parsed using pre-set parsing rules to decompose the reply message into several reply information fields, each of which carries important information fragments, such as message name, partition key, message attributes, message tags, message content, etc. Among them, the information name is used to identify the type of information, the information attributes provide additional description about the information, and the information content is the specific value or description of the information.

[0075] Furthermore, because the original response information fields may not conform to the standard format for internal system processing, these fields need to be converted to the platform information format. Finally, based on the converted information fields, a specific ticket processing application can be generated to ensure the integrity and standardization of the application information. The application includes necessary elements such as passenger information, flight segment details, service requirements, price information, and operation instructions, and is submitted to the corresponding system or service interface for subsequent processing.

[0076] This embodiment parses and standardizes the format of reply information, thereby being able to more accurately and quickly understand the information fed back by the external system, reduce delays in the processing process, improve overall service efficiency, enhance the standardization of ticket processing, and strengthen data collaboration and interoperability between different systems.

[0077] Optionally, in the ticket processing method provided in the embodiment of the present application, triggering a ticketing operation based on a ticket processing application includes: parsing the ticket processing application to obtain an order number, and obtaining ticket object information based on the order number, wherein the ticket object information is used to indicate ticketing information for different travel services, wherein the travel services include at least: flight services, passenger services; generating a ticket processing message based on the ticket object information, and sending the ticket processing message to a service management system, wherein the service management system is used to provide ticket processing operations for different travel services; upon receiving the ticketing status information sent by the service management system, sending the ticketing status information to the client.

[0078] Specifically, after receiving a ticket processing request, the application can be parsed to extract its core information, thereby obtaining the order number associated with the specific reservation service. The order number is then used to locate all ticket object information related to the order. Furthermore, after obtaining complete ticket object information, this information can be integrated to generate a ticket processing message according to a predefined format and structure. This message contains all necessary ticketing information and service requirements, allowing the service management system to accurately and seamlessly execute ticketing operations. Finally, the generated ticket processing message is sent to the service management system, which processes ticket issuance or other ticketing operations based on the information contained in the message.

[0079] After the service management system completes the ticketing operation, it can generate ticketing status information including whether the ticketing is successful, the ticketing time, ticketing details, etc. At this time, the ticketing status information can be fed back to the client to ensure that passengers can timely understand the latest status of ticketing processing.

[0080] This embodiment provides real-time feedback on ticket issuance status, allowing passengers to immediately know the results of their reservations, effectively reducing waiting time and improving overall passenger satisfaction. It not only improves service efficiency, but also increases the transparency of ticketing operations and enhances the flexibility and processing capabilities of the service management system.

[0081] The embodiment of the present application also provides a ticket processing system. It should be noted that the ticket processing system of the embodiment of the present application can be used to execute the ticket processing method provided in the embodiment of the present application. The following introduces the ticket processing system provided in the embodiment of the present application.

[0082] Figure 3 is a schematic diagram of a ticket processing system provided according to an embodiment of the present application, such as Figure 3 As shown, the system includes:

[0083] The front-end system 301 is configured to generate a reservation request message based on a passenger's request for ticket reservation and send the reservation request message to the order management system 302;

[0084] Specifically, the front-end system 301 can refer to "SGUI", which is a business operation interface that can provide additional services such as ticket control, processing, query statistics and other functions. After receiving requests for booking tickets submitted by passengers through different channels (such as websites, mobile applications, etc.), the front-end system 301 can process and format this information to generate a booking request message that meets the standards of the order management system 302, and send the message to the order management system 302 for further processing and execution of the passenger's booking request.

[0085] The order management system 302 is configured to parse the reservation request message to obtain reservation request data, extract M reservation information from the reservation request data, perform tests on the M reservation information, obtain N reservation information that pass the tests, and send the N reservation information to the transaction information management system 303. The order management system 302 is further configured to receive a reply from the transaction information management system 303, generate a ticket processing application based on the reply, and trigger a ticketing operation based on the ticket processing application, where N is a positive integer.

[0086] Specifically, the order management system 302 may refer to an ASOM module. Figure 4 is a schematic diagram of a ticket processing system provided according to an embodiment of the present application, such as Figure 4 As shown, the system includes a reservation module, a filtering module, a monitoring module, a ticketing module, and a query module, and can perform a ticket booking process based on a reservation request message. Among them, the reservation module is mainly responsible for the passenger's booking information. The passenger obtains the required flight and passenger schedule through query, selects the appropriate schedule, and fills in the relevant information to book a passenger ticket. The filtering module is used to manage the filtering rules, that is, to filter the request content and process the header information and content of the request. The module analyzes the header and body request content respectively, compares the standard data structure and product specifications, returns the filtering results, and issues an error response and prompts for content that does not meet the rules. The monitoring module is used to monitor the processing results of the transaction information management system 303 and convert them into an open platform data format. The ticketing module is used to receive open platform data, retrieve the transaction information stored during the reservation, analyze and integrate it, call the ticketing system to perform ticketing operations, and store the results. The query module can perform ticketing query operations, such as querying air and passenger ticket reservations and ticketing status. If the process fails, it can also display the process blocking point so that the staff can accurately locate the problem.

[0087] first, Figure 5 is a processing flow chart of the reservation module provided according to an embodiment of the present application, such as Figure 5As shown, the reservation module receives the reservation request from the front-end system 301. That is, after receiving the above-mentioned reservation request message, it first extracts the request header information into the object, then parses and extracts the request message according to the provided interface field definition to obtain the reservation information, and converts it into the reservation information after parsing for management. It should be noted that if the incoming content is empty or the parsing fails during the conversion process, it needs to be received again to ensure the integrity of the data structure; if there is no error, the filtering module is called to perform standard filtering on the reservation information. After obtaining the reservation information that meets the standard, the information required by the electronic data interchange platform is extracted, and the reservation information is converted according to the interface field and format of the electronic data interchange platform. Then, a conversion request message based on the electronic data interchange platform is generated (that is, the external system object information is constructed), and a request is sent to the electronic data interchange platform. At the same time, the call results such as the reservation status, the header information of the reservation request, and the request message are stored in the database. After the reservation is successful, an order number containing the current status can be returned, and then a query can be performed based on the order number.

[0088] Furthermore, Figure 6 is a processing flow chart of the filtering module provided according to an embodiment of the present application, such as Figure 6 As shown, when the filtering module is used to perform standard filtering on the reservation information, PNR filtering, CATALOG filtering, product definition table filtering, and IEMD protocol filtering can be performed respectively, that is, the extracted reservation information is tested, and multiple reservation information that passes the test is obtained, and the reservation information is sent to the transaction information management system 303.

[0089] Furthermore, the system waits for and receives the reply information sent by the transaction information management system 303, generates a ticket processing application based on the received reply information, and finally triggers the ticket issuance process through the ticket processing application. Figure 7 This is a processing flow chart of the ticket issuing module provided in accordance with an embodiment of the present application, such as Figure 7As shown, when a ticketing operation is triggered, after receiving a reservation request and processing it through the reservation and filtering modules, the ticket issuing module introduces the aforementioned ticket processing application. After receiving the application, the ticket issuing module also needs to query all data related to the order from the database (DB), and the database returns the data to the order management system 302. Then, based on the complete information obtained, the ticket issuing module constructs a ticket issuance request message and calls the system interface of the ticket system (Electronic Miscellaneous Document, EMD) to request EMD ticket issuance. The ticket issuing module also interacts with the reservation host system (Inventory Control System, ICS) to update the passenger's reservation record (i.e., update the SVC), for example, adding or modifying SVC (Service Value Code) items and REMARK (Remark) items, recording the ticket issuance details of the EMD service, and maintaining the real-time nature of the reservation record. Finally, the ticket issuing module updates the updated data, including ticket issuance status, timestamp, EMD ticket number, and other information, to the ticket issuance information in the database for subsequent queries or use by other system modules, completing the task loop of the ticket issuing module.

[0090] The transaction information management system 303 is configured to generate reply information based on the N reservation information, wherein the reply information includes at least one of the following: reservation result information and itinerary status information.

[0091] Specifically, the transaction information management system 303 is responsible for processing reservation information and generating response messages to ensure that passengers receive timely and accurate reservation results and itinerary status feedback. When the order management system 302 generates multiple reservations, the transaction information management system 303 verifies and processes each one. Once the reservation information is processed, a response message containing the reservation results or itinerary status is generated.

[0092] The ticket processing system provided in the embodiment of the present application is configured to generate a reservation request message based on a passenger's request for ticket reservation through a front-end system 301, and send the reservation request message to an order management system 302; the order management system 302 is configured to parse the reservation request message to obtain reservation request data, extract M reservation information from the reservation request data, test the M reservation information, obtain N reservation information that pass the test, and send the N reservation information to a transaction information management system 303; the system is further configured to receive a reply message sent by the transaction information management system 303, generate a ticket processing application based on the reply information, and trigger a ticketing operation based on the ticket processing application, wherein N is a positive integer; the transaction information management system 303 is configured to generate a reply message based on the N reservation information, wherein In the embodiment, the reply information includes at least one of the following: booking result information and itinerary status information, which solves the technical problems of low booking efficiency and complicated processing procedures when processing ticket bookings for multiple travel tools for passengers in related technologies. Through the coordinated operation of the front-end system 301, the order management system 302 and the transaction information management system 303, the received booking request message is parsed and extracted, the multiple booking information extracted are tested, and the booking information that passes the test is sent to the transaction information management system. After receiving the reply information sent by the transaction information management system, a ticket processing application is generated based on the reply information, and a ticketing operation is triggered based on the ticket processing application, thereby achieving the technical effect of improving the efficiency of ticket booking processing for multiple travel tools for passengers and simplifying the processing procedures.

[0093] The present application also provides a ticket processing system. Figure 8 is a schematic diagram of an optional ticket processing system provided according to an embodiment of the present application, such as Figure 8 As shown in the figure, the system includes: front-end system (SGUI), access layer of distributed model (Service Availability Tool, SAT), order management system (ASOM), transaction information management system (CCIT), ticket system (Electronic Miscellaneous Document, EMD), electronic data interchange platform (Electronic Data Interchange Link, EDILINK), message exchange system (Message Exchange System, MES) and reservation host system (Inventory Control System, ICS).

[0094] When a passenger makes a ticket reservation on the front-end system, the front-end system generates a reservation request based on the passenger's selections and sends it to the order management system via the distributed model's access layer. Upon receiving the request, the order management system's reservation module immediately parses the passenger's detailed information and verifies its accuracy through a filtering module. The reservation information is then sent to the electronic data interchange platform via the message exchange system. The electronic data interchange platform forwards this information to CCCC to coordinate the confirmation of flight and high-speed rail reservations. Furthermore, a monitoring module in the order management system monitors CCCC's responses in real time to ensure accurate message reception and processing. After CCCC confirms that all services are available, it generates a unified confirmation message and returns it to the order management system via the electronic data interchange platform and message exchange system. Upon receiving the confirmation message, the order management system's ticketing module consolidates the ticket information for various modes of transportation and stores it in a database, providing a data foundation for subsequent query and management.

[0095] Furthermore, the order management system calls the ticketing system to complete the issuance of high-speed rail tickets and synchronizes the PNR records in the booking host system. At this time, the booking host system can send a feedback message to the order management system to ensure the consistency of all service information and ensure that the passenger's flight booking status is synchronized. At this time, the order management system can return a reservation report to the front-end system through SAT to indicate the end of the booking process.

[0096] When a passenger initiates a query request through the front-end system, hoping to know the current booking and ticketing status, the query module of the order management system extracts all order-related information from the database according to the request. After the query module integrates the information, it feeds back the latest status to the front-end system. The front-end system then generates query return information and returns it to the front-end system through the access layer of the distributed model.

[0097] This embodiment not only simplifies the travel booking process for passengers through the interactive operation of multiple systems, but also improves the service level and competitiveness of the industry, thereby achieving the technical effect of improving the efficiency of ticket booking processing for passengers for various travel tools and simplifying the processing process.

[0098] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0099] Example 2

[0100] The embodiment of the present application also provides a ticket processing device. It should be noted that the ticket processing device of the embodiment of the present application can be used to execute the ticket processing method provided in the embodiment of the present application. The ticket processing device provided in the embodiment of the present application is introduced below.

[0101] According to an embodiment of the present application, a device for implementing the above-mentioned ticket processing method is also provided. Figure 9 Schematic diagram of a ticket processing device according to an embodiment of the present application. Figure 9 As shown, the device includes: a first receiving unit 90, an extracting unit 91, and a second receiving unit 92.

[0102] The first receiving unit 90 is configured to receive a reservation request message sent by the front-end system, parse the reservation request message, and obtain reservation request data, wherein the reservation request message is used to indicate a passenger's request for ticket reservation.

[0103] Extraction unit 91 is configured to extract M reservation information from the reservation request data, perform tests on the M reservation information, obtain N reservation information that pass the tests, and send the N reservation information to a transaction information management system. The transaction information management system is configured to process the itinerary reservation based on the N reservation information, where M is greater than N and both M and N are positive integers.

[0104] The second receiving unit 92 is used to receive the reply information sent by the transaction information management system, generate a ticket processing application based on the reply information, and trigger the ticketing operation based on the ticket processing application, wherein the reply information includes at least one of the following: booking result information and itinerary status information.

[0105] The ticket processing device provided by the embodiment of the present application receives a reservation request message sent by the front-end system through a first receiving unit 90, parses the reservation request message, and obtains reservation request data, wherein the reservation request message is used to indicate a passenger's request to reserve a ticket; an extraction unit 91 extracts M reservation information from the reservation request data, and detects the M reservation information to obtain N reservation information that pass the detection, and sends the N reservation information to a transaction information management system, wherein the transaction information management system is used to perform itinerary reservation processing based on the N reservation information, where M is greater than N, and M and N are positive integers; a second receiving unit 92 receives a reply message sent by the transaction information management system, generates a ticket processing application based on the reply information, and generates a ticket processing application based on the reply information. The ticket processing application triggers a ticketing operation, wherein the reply information includes at least one of the following: booking result information and itinerary status information, which solves the technical problems of low booking efficiency and cumbersome processing procedures when processing ticket bookings for multiple travel tools for passengers in related technologies. By parsing and extracting the received booking request message, testing the multiple booking information extracted, and sending the booking information that passes the test to the transaction information management system, after receiving the reply information sent by the transaction information management system, a ticket processing application is generated based on the reply information, and a ticketing operation is triggered based on the ticket processing application, thereby achieving the technical effect of improving the efficiency of ticket booking processing for multiple travel tools for passengers and simplifying the processing procedure.

[0106] Optionally, in the ticket processing device provided in the embodiment of the present application, the first receiving unit 90 includes: a first extraction module, used to extract the request header field of the reservation request message, create an object instance of the reservation request message according to the request header field, and obtain a reservation object instance; an acquisition module, used to obtain the interface field rule, and the parsing code parses the reservation object instance according to the interface field rule to obtain the parsed reservation data, and determines whether the parsed reservation data is an empty field; a determination module, used to determine the parsed reservation data as reservation request data when the parsed reservation data is not an empty field.

[0107] Optionally, in the ticket processing device provided in the embodiment of the present application, the device also includes: a third receiving unit, used to receive a booking record data set returned by the order query system after sending an order request to the order query system before detecting the M booking information, and convert the format of the booking record data set to obtain a converted record data set, wherein the order request is used to indicate the query of the passenger's ticket booking record; a positioning unit, used to use each converted record data in the converted record data set as a primary key to locate the operation records of multiple historical time periods, and the operation records of multiple historical time periods constitute an object record data set; an integration unit, used to integrate the converted record data set and the object record data set to obtain a booking management data set, wherein the booking management data set includes Y booking management data, each booking management data includes passenger information, booking details data, additional data, transaction records and status data, and Y is a positive integer; an execution unit, used to execute the step of detecting the M booking information according to the booking management data set.

[0108] Optionally, in the ticket processing device provided in the embodiment of the present application, the extraction unit 91 includes: a second extraction module, used to extract flight segment information from each booking information, obtain M flight segment information, and determine whether there is data matching each flight segment information in the booking management data set; a third extraction module, used to extract A flight segment information matching the A data if there are A data matching the M flight segment information in the booking management data set, where A is less than or equal to M and A is a positive integer; a detection module, used to perform product table detection on the booking information associated with the A flight segment information, and obtain N booking information that passes the detection.

[0109] Optionally, in the ticket processing device provided in the embodiment of the present application, the extraction unit 91 includes: a fourth extraction module, used to extract query fields from A reservation information, obtain A group of query fields, and obtain an aviation product table, wherein each group of query fields includes at least service type, product type, aviation type and reservation code; a judgment module, used to judge whether there is a unique query record corresponding to the A group of query fields in the aviation product table, if there are B unique query records in the aviation product table corresponding to the B group of query fields in the A group of query fields, judge whether the reservation information corresponding to the B group of query fields complies with the preset protocol, wherein A is greater than or equal to B, and B is a positive integer; an obtaining module, used to obtain N reservation information that has passed the test when there are N reservation information that comply with the preset protocol in the B reservation information.

[0110] Optionally, in the ticket processing device provided in the embodiment of the present application, the device also includes: a parsing unit, used to parse the reply information before generating a ticket processing application based on the reply information to obtain a reply information field, wherein the reply information field includes at least: information name, information attributes and information content; a conversion unit, used to convert the format of the reply information field to obtain a converted information field, and generate a ticket processing application based on the converted information field.

[0111] Optionally, in the ticket processing device provided in the embodiment of the present application, the second receiving unit 92 includes: a parsing module, used to parse the ticket processing application, obtain the order number, and obtain the ticket object information according to the order number, wherein the ticket object information is used to indicate the ticket information of different travel services, wherein the travel service includes at least: flight service, passenger service; a generation module, used to generate a ticket processing message according to the ticket object information, and send the ticket processing message to the service management system, wherein the service management system is used to provide ticket processing operations for different travel services; a sending module, used to send the ticket issuance status information to the client upon receiving the ticket issuance status information sent by the service management system.

[0112] It should be noted that the first receiving unit 90, the extraction unit 91, and the second receiving unit 92 described above correspond to steps S201 to S203 in Example 1. The examples and application scenarios implemented by the above units and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n). The above units can also be part of a device and can be run in the computer terminal 10 provided in Example 1.

[0113] Example 3

[0114] The embodiment of the present application may provide a computer terminal, which may be any computer terminal device in a computer terminal group. Optionally, in this embodiment, the computer terminal may also be replaced by a terminal device such as a mobile terminal or an electronic device.

[0115] Optionally, in this embodiment, the computer terminal may be located in at least one network device among a plurality of network devices of a computer network.

[0116] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the ticket processing method: receiving a reservation request message sent by the front-end system, parsing the reservation request message to obtain reservation request data, wherein the reservation request message is used to indicate the passenger's request to reserve a ticket; extracting M reservation information from the reservation request data, and testing the M reservation information to obtain N reservation information that pass the test, and sending the N reservation information to the transaction information management system, wherein the transaction information management system is used to perform itinerary reservation processing based on the N reservation information, M is greater than N, and M and N are positive integers; receiving reply information sent by the transaction information management system, generating a ticket processing application based on the reply information, and triggering a ticketing operation based on the ticket processing application, wherein the reply information includes at least one of the following: reservation result information and itinerary status information.

[0117] Optionally, the computer terminal may execute the program code of the following steps in the ticket processing method: extracting the request header field of the reservation request message, creating an object instance of the reservation request message according to the request header field, and obtaining a reservation object instance; obtaining an interface field rule, and having a parsing code parse the reservation object instance according to the interface field rule to obtain parsed reservation data, and determining whether the parsed reservation data is an empty field; if the parsed reservation data is not an empty field, determining the parsed reservation data as reservation request data.

[0118] Optionally, the computer terminal may execute the program code of the following steps in the ticket processing method: after sending an order request to the order query system, receiving a reservation record data set returned by the order query system, converting the format of the reservation record data set to obtain a converted record data set, wherein the order request is used to indicate a query for passenger ticket reservation records; using each converted record data in the converted record data set as a primary key, locating operation records for multiple historical time periods, and forming an object record data set from the operation records for multiple historical time periods; integrating the converted record data set and the object record data set to obtain a reservation management data set, wherein the reservation management data set includes Y reservation management data, each reservation management data includes passenger information, reservation detail data, additional data, transaction records, and status data, and Y is a positive integer; and performing a step of detecting M reservation information according to the reservation management data set.

[0119] Optionally, the computer terminal may execute the program code for the following steps in the ticket processing method: extracting flight segment information from each booking information to obtain M flight segment information, and determining whether there is data matching each flight segment information in the booking management data set; if there are A data matching the M flight segment information in the booking management data set, extracting A flight segment information matching the A data, where A is less than or equal to M and is a positive integer; and performing product table detection on the booking information associated with the A flight segment information to obtain N booking information that passes the detection.

[0120] Optionally, the computer terminal may execute the program code of the following steps in the ticket processing method: extracting query fields from A pieces of reservation information to obtain A groups of query fields, and obtaining an airline product table, wherein each group of query fields includes at least service type, product type, airline type, and reservation code; determining whether there is a unique query record corresponding to the A group of query fields in the airline product table; if there are B unique query records in the airline product table corresponding to the B group of query fields in the A group of query fields, determining whether the reservation information corresponding to the B group of query fields complies with the preset protocol, wherein A is greater than or equal to B, and B is a positive integer; in the case where there are N pieces of reservation information that comply with the preset protocol among the B pieces of reservation information, obtaining N pieces of reservation information that have passed the test.

[0121] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the ticket processing method: parsing the reply information to obtain a reply information field, wherein the reply information field at least includes: information name, information attributes and information content; converting the format of the reply information field to obtain a converted information field, and generating a ticket processing application based on the converted information field.

[0122] Optionally, the above-mentioned computer terminal can execute the program code of the following steps in the ticket processing method: parse the ticket processing application to obtain the order number, and obtain the ticket object information based on the order number, wherein the ticket object information is used to indicate the ticket information of different travel services, wherein the travel services include at least: flight services, passenger services; generate a ticket processing message based on the ticket object information, and send the ticket processing message to the service management system, wherein the service management system is used to provide ticket processing operations for different travel services; upon receiving the ticketing status information sent by the service management system, send the ticketing status information to the client.

[0123] Optionally, Figure 10 This is a structural block diagram of an electronic device according to an embodiment of the present application. Figure 10 As shown, the electronic device may include: one or more ( Figure 10Only one is shown) processor 1002, memory 1004, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.

[0124] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the ticket processing method and device in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned ticket processing method. The memory may include a high-speed random access memory, and may also include a 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 a memory remotely located relative to the processor, and these remote memories can be connected to the terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, corporate intranet, local area network, mobile communication network and combinations thereof.

[0125] The processor may call the information and application stored in the memory through the transmission device to execute the above steps in the above ticket processing method.

[0126] According to the embodiment of the present application, a ticket processing scheme is provided. By receiving a reservation request message sent by a front-end system, parsing the reservation request message, and obtaining reservation request data, wherein the reservation request message is used to indicate a passenger's request to book a ticket; extracting M reservation information from the reservation request data, and testing the M reservation information to obtain N reservation information that pass the test, and sending the N reservation information to the transaction information management system, wherein the transaction information management system is used to process itinerary reservations based on the N reservation information, where M is greater than N, and M and N are positive integers; receiving a reply message sent by the transaction information management system, generating a ticket processing application based on the reply information, and triggering a ticketing operation based on the ticket processing application, wherein the reply The information includes at least one of the following: booking result information and itinerary status information, which solves the technical problems of low booking efficiency and cumbersome processing procedures when processing ticket bookings for multiple travel tools for passengers in related technologies. By parsing and extracting the received booking request message, testing the multiple booking information extracted, and sending the booking information that passes the test to the transaction information management system, after receiving the reply information sent by the transaction information management system, a ticket processing application is generated based on the reply information, and a ticketing operation is triggered based on the ticket processing application, thereby achieving the technical effect of improving the efficiency of ticket booking processing for multiple travel tools for passengers and simplifying the processing procedure.

[0127] It can be understood by those skilled in the art that Figure 10The structure shown is for illustration only, and the electronic device may also be a smart phone, a tablet computer, a PDA, a mobile internet device (MID), a PAD or other terminal device. Figure 10 It does not limit the structure of the above electronic device. For example, the electronic device may also include Figure 10 More or fewer components (such as network interfaces, display devices, etc.) shown in, or with Figure 10 Different configurations shown.

[0128] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0129] Example 4

[0130] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the ticket processing method provided in the first embodiment.

[0131] Optionally, in this embodiment, the storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0132] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: receiving a reservation request message sent by a front-end system, parsing the reservation request message to obtain reservation request data, wherein the reservation request message is used to indicate a passenger's request to reserve a ticket; extracting M reservation information from the reservation request data, and testing the M reservation information to obtain N reservation information that pass the test, and sending the N reservation information to a transaction information management system, wherein the transaction information management system is used to perform itinerary reservation processing based on the N reservation information, M is greater than N, and M and N are positive integers; receiving reply information sent by the transaction information management system, generating a ticket processing application based on the reply information, and triggering a ticketing operation based on the ticket processing application, wherein the reply information includes at least one of the following: reservation result information and itinerary status information.

[0133] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing the steps of the ticket processing method.

[0134] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0135] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0136] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0137] Units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0138] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0139] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program code.

[0140] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A ticket processing method, characterized in that: Applied to order management systems, including: Receiving a reservation request message sent by a front-end system, parsing the reservation request message to obtain reservation request data, wherein the reservation request message is used to indicate a passenger's request to reserve a ticket; Extracting M reservation information from the reservation request data, testing the M reservation information to obtain N reservation information that pass the test, and sending the N reservation information to a transaction information management system, wherein the transaction information management system is configured to process the itinerary reservation based on the N reservation information, where M is greater than N, and M and N are positive integers; Receive a reply message sent by the transaction information management system, generate a ticket processing application based on the reply message, and trigger a ticketing operation based on the ticket processing application, wherein the reply message includes at least one of the following: booking result information and itinerary status information.

2. The method according to claim 1, characterized in that Parsing the reservation request message to obtain reservation request data includes: Extracting a request header field of the reservation request message, creating an object instance of the reservation request message according to the request header field, and obtaining a reservation object instance; Obtaining an interface field rule, parsing the reservation object instance using the interface field rule by a parsing code to obtain parsed reservation data, and determining whether the parsed reservation data is an empty field; In a case where the parsed reservation data is not the empty field, the parsed reservation data is determined as the reservation request data.

3. The method according to claim 1, characterized in that Before detecting the M pieces of reservation information, the method further includes: After sending an order request to an order query system, receiving a reservation record dataset returned by the order query system, and converting the reservation record dataset into a format to obtain a converted record dataset, wherein the order request is used to instruct a query on the passenger's ticket reservation record; Using each converted record data in the converted record data set as a primary key, locating operation records of multiple historical time periods, and forming an object record data set from the operation records of the multiple historical time periods; Integrating the converted record dataset and the object record dataset to obtain a reservation management dataset, wherein the reservation management dataset includes Y reservation management data, each reservation management data includes passenger information, reservation detail data, additional data, transaction records, and status data, and Y is a positive integer; The step of detecting the M reservation information is performed according to the reservation management data set.

4. The method according to claim 3, characterized in that The M reservation information is tested, and N reservation information that passes the test is obtained, including: Extracting flight segment information from each reservation information to obtain M flight segment information, and determining whether there is data matching each flight segment information in the reservation management data set; If there are A pieces of data in the reservation management data set that match the M pieces of flight segment information, extracting A pieces of flight segment information that match the A pieces of data, where A is less than or equal to M and is a positive integer; The booking information associated with the A flight segment information is subjected to a product table check to obtain the N booking information that pass the check.

5. The method according to claim 4, characterized in that The booking information associated with the A flight segment information is tested on the product table, and the N booking information that pass the test are obtained, including: Extract query fields from A booking information to obtain A groups of query fields, and obtain an airline product table, where each group of query fields includes at least service type, product type, airline type, and booking code; Determine whether there is a unique query record corresponding to the query field group A in the airline product table; if there are B unique query records corresponding to the query field group B in the query field group A in the airline product table, determine whether the reservation information corresponding to the query field group B complies with a preset protocol, where A is greater than or equal to B and B is a positive integer; In the case that there are N pieces of reservation information that comply with the preset protocol among the B pieces of reservation information, the N pieces of reservation information that have passed the test are obtained.

6. The method according to claim 1, wherein Before generating a ticket processing application based on the reply information, the method further includes: Parsing the reply information to obtain a reply information field, wherein the reply information field at least includes: a message name, message attributes, and message content; The reply information field is formatted to obtain a converted information field, and the ticket processing application is generated based on the converted information field.

7. The method according to claim 1, characterized in that Triggering ticketing operations based on the ticket processing application includes: Parsing the ticket processing application to obtain an order number, and obtaining ticket object information according to the order number, wherein the ticket object information is used to indicate ticket information of different travel services, wherein the travel services include at least flight services and passenger services; generating a ticket processing message according to the ticket object information, and sending the ticket processing message to a service management system, wherein the service management system is used to provide ticket processing operations for different travel services; When the ticket issuance status information is received from the service management system, the ticket issuance status information is sent to the client.

8. A ticket processing system, characterized in that: include: A front-end system is configured to generate a reservation request message based on a passenger's request for ticket reservation and send the reservation request message to an order management system; The order management system is configured to parse the reservation request message to obtain reservation request data, extract M reservation information from the reservation request data, perform tests on the M reservation information to obtain N reservation information that pass the tests, and send the N reservation information to the transaction information management system; further configured to receive reply information sent by the transaction information management system, generate a ticket processing application based on the reply information, and trigger a ticketing operation based on the ticket processing application, where N is a positive integer; The transaction information management system is configured to generate the reply information based on the N reservation information, wherein the reply information includes at least one of the following: reservation result information and itinerary status information.

9. An electronic device, characterized in that: include: a memory storing an executable program; A processor is used to run the program, wherein the program, when running, executes the ticket processing method according to any one of claims 1 to 7.

10. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the steps of the ticket processing method according to any one of claims 1 to 7 are implemented.