Method, system, device and medium for querying airline pre-sale data
By acquiring and processing airline pre-sale data, it solves the problem of untimely and unintuitive ticket pre-sale data updates, realizes real-time data monitoring and notification mechanisms, and improves the rational allocation of airport resources and work efficiency.
Patent Information
- Application Number
- CN202210155353.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-21
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-02-21
AI Technical Summary
In the existing technology, ticket pre-sale data cannot be updated in time and cannot be presented intuitively, resulting in inefficiency and waste of airport resource allocation.
By obtaining the pre-sale system data of each airline, an independent pre-sale data group is established, the data is extracted and output based on the user's query instructions, and the data completion is monitored in real time. If the preset threshold is not reached, a notification is sent to prompt the airline to update. data.
Realizing the timely update of airline pre-sales data, ensuring that the airport receives valid data, it is convenient to estimate passenger flow and rationally allocate resources, and improve work efficiency.
Smart Images

Figure CN114529029B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method, system, device and medium for querying airline pre-sale data. Background Art
[0002] In the online service platform, it is necessary to obtain the pre-sale data of each airline in real time, analyze and judge the pre-sale data, and send it to the airport so that the airport can estimate passenger flow and reasonably allocate resources, such as the number of check-in counters and security checkpoints. However, the pre-sale data of air tickets currently relies on manual input, and it is impossible to judge the timeliness of the data, the data cannot be updated in time, and the presentation of the data is not intuitive enough, which will reduce the efficiency of resource allocation of airport personnel and cause waste of airport resources. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the defects in the prior art that air ticket pre-sale data cannot be updated in time and cannot be presented intuitively, and to provide a method, system, device and medium for querying airline pre-sale data.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] As a first aspect of the present invention, a method for querying airline pre-sale data is provided, comprising:
[0006] Obtaining pre-sale system data of each airline, wherein the pre-sale system data refers to the data in the pre-sale system owned by each airline;
[0007] Establishing independent pre-sale data groups for different airlines, wherein the pre-sale data groups contain airline pre-sale data, and the airline pre-sale data includes any one or more of the following data: entry status data, flight number data, scheduled departure time data, departure place data, destination data, maximum number of seats data, and pre-sale ticket quantity data;
[0008] Selecting the airline pre-sale data based on a user's data query instruction, wherein the data query instruction includes any one of the following instructions: a date query instruction, an airline query instruction;
[0009] Output the airline pre-sale data and send it to the airport.
[0010] Preferably, when the date query instruction is received, the step of selecting the airline pre-sale data based on the user's data query instruction includes:
[0011] Extracting the pre-sale data group corresponding to the date query instruction;
[0012] Extracting airline pre-sale data from the pre-sale data group;
[0013] and / or,
[0014] When the airline query instruction is received, the step of selecting corresponding airline pre-sale data from the pre-sale data group based on the user's data query instruction includes:
[0015] Extracting the pre-sale data group corresponding to the airline query instruction;
[0016] Extract the airline pre-sale data in the pre-sale data group.
[0017] Preferably, the step of outputting the airline pre-sale data includes:
[0018] The completion degree of the airline pre-sale data is obtained, where the completion degree represents the ratio of the number of flights of the airline pre-sale data received within a preset time period to the number of flights of the airline pre-sale data that have been received.
[0019] Preferably, the step of obtaining the completion degree of the airline pre-sale data includes:
[0020] Determine whether the completion degree of the airline's pre-sale data is within a preset threshold. If not, send a notification message to prompt the airline to update the pre-sale system data.
[0021] As a second aspect of the present invention, a system for querying airline pre-sale data is provided, comprising:
[0022] An acquisition module is used to acquire the pre-sale system data of each airline company, wherein the pre-sale system data refers to the data in the pre-sale system owned by each airline company;
[0023] A grouping module is used to establish independent pre-sale data groups according to different airlines, wherein the pre-sale data groups contain airline pre-sale data, and the airline pre-sale data includes any one or more of the following data: entry status data, flight number data, planned departure time data, departure place data, destination data, maximum number of seats data, and pre-sale ticket quantity data;
[0024] A selection module is used to select the airline pre-sale data based on the user's data query instruction, and the data query instruction includes any one of the following instructions: date query instruction, airline query instruction
[0025] An output module, used to output the airline pre-sale data;
[0026] The sending module is used to send the airline pre-sale data to the airport.
[0027] Preferably, the query system further includes:
[0028] A first group of extraction modules, used to extract the pre-sale data group corresponding to the date query instruction;
[0029] A first extraction module, used to extract airline pre-sale data from the pre-sale data group;
[0030] A second group of extraction modules is used to extract the pre-sale data group corresponding to the airline query instruction;
[0031] The second extraction module is used to extract the airline pre-sale data in the pre-sale data group.
[0032] Preferably, the query system further includes:
[0033] The completion degree acquisition module is used to obtain the completion degree of the airline pre-sale data, and the completion degree represents the ratio of the number of flights of the airline pre-sale data received within a preset time period to the number of flights of the airline pre-sale data that have been received.
[0034] Preferably, the query system further includes:
[0035] The judgment module is used to judge whether the completion degree of the airline's pre-sale data is within a preset threshold. If not, a notification message is sent, and the notification message is used to prompt the airline to update the pre-sale system data.
[0036] As a third aspect of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for querying airline pre-sale data as described in any one of the above items is implemented.
[0037] As a fourth aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for querying airline pre-sale data described in any one of the above items is implemented.
[0038] The positive and progressive effects of the present invention are:
[0039] The query method, system, device and medium for airline pre-sale data provided by the present invention can directly connect with the airline platform, update data in a timely manner, ensure the timeliness of airline pre-sale data, and monitor the data of each airline in real time. If data is missing, the corresponding airline is notified in time to supplement the data so that the airport can receive valid data, which is convenient for the airport to estimate passenger flow, set up an appropriate number of security checkpoints, and reasonably allocate airport resources to improve the work efficiency of the airport. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A flowchart of a method for querying airline pre-sale data provided by an exemplary embodiment of the present invention;
[0041] Figure 2 A schematic diagram of a module of a system for querying airline pre-sale data provided by an exemplary embodiment of the present invention;
[0042] Figure 3 The present invention provides a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0043] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0044] Figure 1 A flowchart of a method for querying airline pre-sale data provided by an exemplary embodiment of the present invention is shown in FIG. Figure 1 As shown, the method mainly includes the following steps:
[0045] Step 101: Obtain pre-sale system data of each airline.
[0046] In this step, the pre-sale system data refers to the data in each airline's own pre-sale system, where the data source channels of each airline's own pre-sale system include but are not limited to one or more of the following: each airline's own official website, cooperative suppliers, and online travel platforms.
[0047] In one embodiment, the pre-sale system of each airline is also provided with a pre-sale system data management platform, and the data in the pre-sale system data management platform serves as a source of supplementary data.
[0048] Step 102: Establish independent pre-sale data groups for different airlines, and the pre-sale data groups contain airline pre-sale data. The airline pre-sale data includes any one or more of the following data: entry status data, flight number data, scheduled departure time data, departure data, destination data, maximum number of seats data, and pre-sale ticket quantity data. A variety of airline pre-sale data allows staff to accurately determine whether the ticket quantity is accurate.
[0049] Step 103: Select the airline pre-sale data based on the user's data query instruction, where the data query instruction includes any one of the following instructions: a date query instruction, an airline query instruction.
[0050] In this step, if a date query instruction is received, step 1031 is executed to extract the pre-sale data group corresponding to the date query instruction; if an airline query instruction is received, step 1032 is executed to extract the pre-sale data group corresponding to the airline query instruction.
[0051] Step 104: extract airline pre-sale data from the pre-sale data group.
[0052] Step 105: Output the airline pre-sale data and send it to the airport. The airport can reasonably arrange airport resources, such as the number of check-in counters and security checkpoints, based on the airline pre-sale data to avoid wasting airport resources.
[0053] Step 106: Obtain the completion rate of the airline's pre-sale data.
[0054] In this step, the degree of completion represents the ratio of the number of flights of the airline pre-sale data received within a preset time period to the number of flights of the airline pre-sale data that has been received.
[0055] In one embodiment, the degree of completion may be expressed in the form of, but not limited to, a bar graph, which may intuitively provide the information required by the staff.
[0056] Step 107: Determine whether the completion rate of the airline's pre-sale data is within a preset threshold.
[0057] If the completion rate of the airline's pre-sale data is not within the preset threshold, step 108 is executed to send a notification message, which is used to prompt the airline to update the pre-sale system data.
[0058] In one embodiment, if the completion rate of pre-sale data of most airlines is not within the preset threshold, a notification message is sent to all airlines to prompt each airline to enter or update data; if the completion rate of pre-sale data of only one airline is not within the preset threshold, a notification message is sent to this airline alone. For example, if a certain airline expects to sell 300 tickets tomorrow, but has only sold 180 tickets so far, and the completion rate has not reached the preset threshold of 100%, a notification message will be sent to this airline to prompt it.
[0059] Figure 2 A schematic diagram of a module of a query system for airline pre-sale data provided by an exemplary embodiment of the present invention, wherein the modules of the query system include:
[0060] Acquisition module 201, used to acquire pre-sale system data of each airline company, the pre-sale system data refers to the data in the pre-sale system owned by each airline company;
[0061] The grouping module 202 is used to establish independent pre-sale data groups according to different airlines, and the pre-sale data groups include airline pre-sale data, and the airline pre-sale data includes any one or more of the following data: entry status data, flight number data, scheduled departure time data, departure place data, destination data, maximum number of seats data, and pre-sale ticket quantity data;
[0062] The selection module 203 is used to select airline pre-sale data based on the user's data query instruction, and the data query instruction includes any one of the following instructions: date query instruction, airline query instruction
[0063] Output module 204, used to output airline pre-sale data;
[0064] The sending module 205 is used to send the airline pre-sale data to the airport.
[0065] The first group extraction module 206 is used to extract the pre-sale data group corresponding to the date query instruction;
[0066] The first extraction module 207 is used to extract airline pre-sale data from the pre-sale data group;
[0067] The second group of extraction modules 208 is used to extract the pre-sale data group corresponding to the airline query instruction;
[0068] The second extraction module 209 is used to extract the airline pre-sale data in the pre-sale data group.
[0069] The completion degree acquisition module 210 is used to obtain the completion degree of the airline pre-sale data, where the completion degree represents the ratio of the number of flights of the airline pre-sale data received within a preset time period to the number of flights of the airline pre-sale data that have been received.
[0070] The judgment module 211 is used to judge whether the completion degree of the airline's pre-sale data is within a preset threshold. If not, a notification message is sent to prompt the airline to update the pre-sale system data.
[0071] The query platform for airline pre-sale data provided by the present invention can enable staff to clearly see the pre-sale data of each airline and reasonably arrange airport resources, such as the number of check-in counters and security checkpoints, thereby improving the work efficiency of the airport and enhancing the travel experience of customers.
[0072] Figure 3 A schematic diagram of the structure of an electronic device provided for an exemplary embodiment of the present invention, the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above-mentioned method for querying airline pre-sale data when executing the program. Figure 3 The electronic device 30 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0073] The electronic device 30 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 30 may include, but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).
[0074] The bus 33 includes a data bus, an address bus, and a control bus.
[0075] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .
[0076] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0077] The processor 31 executes various functional applications and data processing by running the computer program stored in the memory 32, such as the above-mentioned method for querying the airline pre-sale data.
[0078] The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model-generated device 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. As shown, the network adapter 26 communicates with other modules of the model-generated device 30 via a bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the model-generated device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (RAID) systems, tape drives, and data backup storage systems.
[0079] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0080] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for querying airline pre-sale data in the above embodiment is implemented.
[0081] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0082] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes a program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute the method for querying airline pre-sale data in the above embodiment.
[0083] The program code for executing the present invention may be written in any combination of one or more programming languages, and the program code may be executed entirely on the user device, partially on the user device, as a separate software package, partially on the user device, partially on a remote device, or entirely on a remote device.
[0084] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A method for querying airline pre-sale data, characterized in that: include: Obtaining pre-sale system data of each airline, wherein the pre-sale system data refers to the data in the pre-sale system owned by each airline; Establishing independent pre-sale data groups for different airlines, wherein the pre-sale data groups contain airline pre-sale data, and the airline pre-sale data includes any one or more of the following data: entry status data, flight number data, scheduled departure time data, departure place data, destination data, maximum number of seats data, and pre-sale ticket quantity data; Selecting the airline pre-sale data based on a user's data query instruction, wherein the data query instruction includes any one of the following instructions: a date query instruction, an airline query instruction; Output the airline pre-sale data and send it to the airport; Obtaining the completion degree of the airline pre-sale data, where the completion degree represents the ratio of the number of flights of the airline pre-sale data received within a preset time period to the number of flights of the airline pre-sale data already received; Determine whether the completion degree of the airline's pre-sale data is within a preset threshold. If not, send a notification message to prompt the airline to update the pre-sale system data.
2. The method for querying airline pre-sale data according to claim 1, characterized in that: When the date query instruction is received, the step of selecting the airline pre-sale data based on the user's data query instruction includes: Extracting the pre-sale data group corresponding to the date query instruction; Extracting airline pre-sale data from the pre-sale data group; and / or, When the airline query instruction is received, the step of selecting corresponding airline pre-sale data from the pre-sale data group based on the user's data query instruction includes: Extracting the pre-sale data group corresponding to the airline query instruction; Extract the airline pre-sale data in the pre-sale data group.
3. A query system for airline pre-sale data, characterized in that: include: An acquisition module is used to acquire the pre-sale system data of each airline company, wherein the pre-sale system data refers to the data in the pre-sale system owned by each airline company; A grouping module is used to establish independent pre-sale data groups according to different airlines, wherein the pre-sale data groups contain airline pre-sale data, and the airline pre-sale data includes any one or more of the following data: entry status data, flight number data, planned departure time data, departure place data, destination data, maximum number of seats data, and pre-sale ticket quantity data; A selection module is used to select the airline pre-sale data based on the user's data query instruction, and the data query instruction includes any one of the following instructions: date query instruction, airline query instruction An output module, used to output the airline pre-sale data; A sending module, used to send the airline pre-sale data to the airport; A completion degree acquisition module, used to acquire the completion degree of the airline pre-sale data, wherein the completion degree represents the ratio of the number of flights of the airline pre-sale data received within a preset time period to the number of flights of the airline pre-sale data already received; The judgment module is used to judge whether the completion degree of the airline's pre-sale data is within a preset threshold. If not, a notification message is sent, and the notification message is used to prompt the airline to update the pre-sale system data.
4. The query system for airline pre-sale data as claimed in claim 3, characterized in that: The query system also includes: A first group of extraction modules, used to extract the pre-sale data group corresponding to the date query instruction; A first extraction module, used to extract airline pre-sale data from the pre-sale data group; and / or, A second group of extraction modules is used to extract the pre-sale data group corresponding to the airline query instruction; The second extraction module is used to extract the airline pre-sale data in the pre-sale data group.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for querying airline pre-sale data according to any one of claims 1-2 is implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for querying airline pre-sale data described in any one of claims 1-2 is implemented.
Citation Information
Patent Citations
Smart tourism comprehensive service platform
CN105976073A
Data processing system and method
CN108860223A
