Information query method and device, storage medium and electronic equipment

By receiving and analyzing query requests, obtaining flight information collection and querying ticket prices, the problem that air ticket sales agents need to query multiple office ticket prices is solved, and the query efficiency is improved.

CN119719460APending Publication Date: 2025-03-28TRAVELSKY TECHNOLOGY LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411782605.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Air ticket sales agents need to conduct multiple inquiries to obtain air ticket prices for their multiple offices, resulting in less efficient inquiry.

Method used

Provides an information query method, by receiving a query request, analyzing and obtaining multiple numbered information, determining a set of flight information, and querying the ticket price of each number based on the set, and finally returning the result to the target object.

Benefits of technology

Reduce the number of times you query the air ticket price, improve the query efficiency, and enable air ticket sales agents to quickly obtain air ticket prices in their multiple offices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119719460A_ABST
    Figure CN119719460A_ABST
Patent Text Reader

Abstract

The invention discloses an information query method and device, a storage medium and electronic equipment, and relates to the technical field of information. The method comprises the steps of receiving a query request sent by a target object; analyzing the query request to obtain a plurality of pieces of number information; determining a flight information set according to the multiple pieces of number information; and based on the flight information set, querying the air ticket price of each number corresponding to the target object, and returning the queried air ticket price of each number corresponding to the target object to the target object. According to the method and the device, the problem that the air ticket price query efficiency is relatively low since the air ticket selling agent needs to query for multiple times to query the air ticket prices of multiple numbers of the agent in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information technology, and in particular to an information query method and device, a storage medium, and an electronic device. Background Art

[0002] In today's era, the Internet is fully popularized and digital technology is developing rapidly. In this era of economic prosperity, travel methods have undergone earth-shaking changes, and there are more and more travel methods for travel users to choose from. Since flying has low time costs and airlines have introduced a variety of preferential policies to attract users, flying has gradually become the mainstream choice for more and more people. In addition, in order to gain more market share, airlines allow ticket sales agents to assist them in ticket sales, and each ticket sales agent may have multiple office numbers (numbers).

[0003] Since each ticket sales agent has multiple offices, and different offices may enjoy different price discount policies, it is necessary to query the ticket prices of multiple offices of the ticket sales agent in a ticket price search, which has become a basic requirement of the ticket sales agent. However, in the related art, when the ticket sales agent queries the ticket prices of multiple office numbers corresponding to it, it needs to perform multiple queries to query the ticket prices of multiple numbers of the agent, resulting in low efficiency in querying ticket prices.

[0004] With regard to the problem in the related art that the ticket sales agent needs to conduct multiple inquiries to find out the ticket prices of multiple numbers of the agent, resulting in low efficiency in querying ticket prices, no effective solution has been proposed yet. Summary of the invention

[0005] The main purpose of the present application is to provide an information query method and device, a storage medium and an electronic device to solve the problem in the related art that an air ticket sales agent needs to conduct multiple queries to query the prices of multiple numbered air tickets of the agent, resulting in low efficiency in querying air ticket prices.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, an information query method is provided. The method comprises: receiving a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered tickets corresponding to the target object; parsing the query request to obtain multiple numbered information, wherein the multiple numbered information at least includes the information of multiple numbered tickets corresponding to the target object; determining a flight information set based on the multiple numbered information, wherein the flight information set at least includes the flight information of each number corresponding to the target object; based on the flight information set, querying the ticket price of each number corresponding to the target object, and returning the queried ticket price of each number corresponding to the target object to the target object.

[0007] Furthermore, determining the flight information set based on the multiple numbering information includes: performing authentication processing on the target object based on the multiple numbering information to determine whether the target object has the authority to query the multiple numbered ticket prices; if the target object does not have the authority to query the multiple numbered ticket prices, then prohibiting the query of each numbered ticket price corresponding to the target object, and sending a first prompt message to the target object, wherein the first prompt message is used to prompt the target object that it does not have the authority to query the multiple numbered ticket prices; if the target object has the authority to query the multiple numbered ticket prices, then determining the flight information set based on the number of the multiple numbers.

[0008] Furthermore, determining the flight information set based on the number of the multiple numbers includes: judging whether the number of the multiple numbers is greater than a preset number; if the number of the multiple numbers is greater than the preset number, prohibiting the query of the air ticket price of each number corresponding to the target object, and sending a second prompt message to the target object, wherein the second prompt message is used to prompt the target object that the number of numbers input by the target object is greater than the preset number; if the number of the multiple numbers is not greater than the preset number, determining the flight information set based on each number corresponding to the target object.

[0009] Furthermore, determining the flight information set according to each number corresponding to the target object includes: determining the itinerary information that needs to be queried for the target object based on the query request; obtaining multiple flight information according to the itinerary information and each number corresponding to the target object, wherein the multiple flight information at least includes information on available flights for each number corresponding to the target object; filtering the multiple flight information to obtain multiple flight information that meets preset conditions; and aggregating the multiple flight information that meets the preset conditions to determine the flight information set.

[0010] Furthermore, based on the flight information set, querying the ticket price of each number corresponding to the target object includes: based on the flight information set, obtaining the flight information of each number corresponding to the target object; and querying the ticket price of each number corresponding to the target object based on the flight information of each number corresponding to the target object and each number corresponding to the target object.

[0011] Furthermore, based on the flight information of each number corresponding to the target object and each number corresponding to the target object, querying the ticket price of each number corresponding to the target object includes: combining the flight information of each number corresponding to the target object and each number corresponding to the target object to generate a calculation request set, wherein the calculation request set includes multiple fare calculation requests, each fare calculation request is used to request the calculation of the ticket price of each number corresponding to the target object; based on the calculation request set, calculating the price of each cabin of each flight of each number corresponding to the target object; based on the price of each cabin of each flight of each number corresponding to the target object, querying the ticket price of each number corresponding to the target object.

[0012] Furthermore, returning the ticket price of each number corresponding to the queried target object to the target object includes: summarizing the ticket price of each number corresponding to the queried target object to obtain a target document; converting the format of the target document to obtain a target document in a preset format, and returning the target document in the preset format to the target object.

[0013] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an information query device is provided. The device includes: a first receiving unit, which is used to receive a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered tickets corresponding to the target object; a first processing unit, which is used to parse and process the query request to obtain multiple numbered information, wherein the multiple numbered information at least includes the information of multiple numbered tickets corresponding to the target object; a first determining unit, which is used to determine a flight information set based on the multiple numbered information, wherein the flight information set at least includes the flight information of each number corresponding to the target object; a second processing unit, which is used to query the ticket price of each number corresponding to the target object based on the flight information set, and return the queried ticket price of each number corresponding to the target object to the target object.

[0014] Furthermore, the first determination unit includes: a first processing subunit, used to authenticate the target object based on the multiple numbering information, and determine whether the target object has the authority to query the multiple numbered ticket prices; a second processing subunit, used to prohibit querying the ticket price of each number corresponding to the target object if the target object does not have the authority to query the multiple numbered ticket prices, and send a first prompt message to the target object, wherein the first prompt message is used to prompt the target object that it does not have the authority to query the multiple numbered ticket prices; a first determination subunit, used to determine the flight information set based on the number of the multiple numbers if the target object has the authority to query the multiple numbered ticket prices.

[0015] Furthermore, the first determination subunit includes: a first judgment module, used to judge whether the number of the multiple numbers is greater than a preset number; a first processing module, used to prohibit querying the air ticket price of each number corresponding to the target object if the number of the multiple numbers is greater than the preset number, and send a second prompt message to the target object, wherein the second prompt message is used to prompt the target object that the number of numbers input by the target object is greater than the preset number; a first determination module, used to determine the flight information set according to each number corresponding to the target object if the number of the multiple numbers is not greater than the preset number.

[0016] Furthermore, the first determination module includes: a first determination submodule, used to determine the itinerary information that the target object needs to query based on the query request; a second determination submodule, used to obtain multiple flight information based on the itinerary information and each number corresponding to the target object, wherein the multiple flight information at least includes information on available flights for each number corresponding to the target object; a first processing submodule, used to filter the multiple flight information to obtain multiple flight information that meets preset conditions; and a second processing submodule, used to aggregate the multiple flight information that meets the preset conditions to determine the flight information set.

[0017] Furthermore, the second processing unit includes: a first acquisition subunit, used to acquire the flight information of each number corresponding to the target object based on the flight information set; and a first query subunit, used to query the air ticket price of each number corresponding to the target object based on the flight information of each number corresponding to the target object and each number corresponding to the target object.

[0018] Furthermore, the first query sub-unit includes: a first generation module, used to combine the flight information of each number corresponding to the target object and each number corresponding to the target object to generate a calculation request set, wherein the calculation request set includes multiple fare calculation requests, and each fare calculation request is used to request the calculation of the ticket price of each number corresponding to the target object; a first calculation module, used to calculate the price of each cabin of each flight of each number corresponding to the target object based on the calculation request set; a first query module, used to query the ticket price of each number corresponding to the target object based on the price of each cabin of each flight of each number corresponding to the target object.

[0019] Furthermore, the second processing unit includes: a first summarizing subunit, used to summarize the ticket prices of each number corresponding to the queried target object to obtain a target document; a third processing subunit, used to convert the format of the target document to obtain a target document in a preset format, and return the target document in the preset format to the target object.

[0020] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a program, wherein the program executes any one of the above-mentioned information query methods.

[0021] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is provided, which includes one or more processors and a memory, and the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned information query methods.

[0022] Through the present application, the following steps are adopted: receiving a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered tickets corresponding to the target object; parsing the query request to obtain multiple numbered information, wherein the multiple numbered information at least includes the multiple numbered information corresponding to the target object; determining a flight information set based on the multiple numbered information, wherein the flight information set at least includes the flight information of each number corresponding to the target object; based on the flight information set, querying the price of each numbered ticket corresponding to the target object, and returning the queried price of each numbered ticket corresponding to the target object to the target object, thereby solving the problem in the related art that a ticket sales agent needs to perform multiple queries to query the prices of multiple numbered tickets of the agent, resulting in low efficiency in querying ticket prices. By analyzing and processing a fare search request (i.e., a query request), each office number (i.e., multiple number information) corresponding to the ticket sales agent (i.e., the target object) is obtained, and then the flight information of each office is queried according to the office number (i.e., multiple number information) corresponding to the ticket sales agent (i.e., the target object), and then the ticket price of each office is queried based on the flight information of each office, and the queried ticket price of each office is returned to the ticket sales agent (i.e., the target object), thereby reducing the number of queries for the ticket prices of multiple offices of the ticket sales agent, thereby achieving the effect of improving the efficiency of querying ticket prices. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0024] Figure 1 The process of the information query method provided in the embodiment of the present application is as follows Figure 1 ;

[0025] Figure 2 is a schematic diagram of an information query system provided according to an embodiment of the present application;

[0026] Figure 3 The process of the information query method provided in the embodiment of the present application is as follows Figure 2 ;

[0027] Figure 4 is a schematic diagram of an information query device provided according to an embodiment of the present application;

[0028] Figure 5 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

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

[0031] 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 interchanged where appropriate, so that the embodiments of the present application described here. 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.

[0032] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set 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 relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0033] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0034] XML is the abbreviation of Extensible Markup Language. It is a markup language used to describe data. It is designed to transmit and store data so that information can be shared between different systems. XML uses tags to identify the structure and meaning of data. These tags can be customized, so they can be used to describe various types of data.

[0035] The present invention is described below in conjunction with preferred implementation steps. Figure 1 The process of the information query method provided in the embodiment of the present application is as follows Figure 1 ,like Figure 1 As shown, the method comprises the following steps:

[0036] Step S101, receiving a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered air tickets corresponding to the target object.

[0037] For example, the target object may be a ticket sales agent, the multiple numbers may be multiple office numbers corresponding to each ticket sales agent, and the query request may be a request to query the ticket prices of multiple office numbers (corresponding to the multiple numbers) of the ticket sales agent. For example, a query request for querying the ticket prices of multiple offices (corresponding to the multiple numbers) of the ticket sales agent sent by the ticket sales agent (corresponding to the target object) may be received first.

[0038] Step S102: parse the query request to obtain a plurality of numbering information, wherein the plurality of numbering information at least includes information of a plurality of numbers corresponding to the target object.

[0039] For example, the user request (corresponding to the above-mentioned query request) can be parsed and the office (corresponding to the above-mentioned multiple numbering information) in the user request (corresponding to the above-mentioned query request) can be parsed out, that is, multiple office numbers (corresponding to the above-mentioned multiple numbering information) corresponding to the user (i.e., the ticket sales agent, corresponding to the above-mentioned target object) can be parsed out.

[0040] Step S103, determining a flight information set according to the plurality of number information, wherein the flight information set at least includes flight information of each number corresponding to the target object.

[0041] For example, the available flight information of each office (corresponding to each number) in the query request (corresponding to the query request) can be obtained to obtain the flight information set. The available flights can be the seats of the flight you want to query and / or the seats of the available flights.

[0042] Step S104, based on the flight information set, query the ticket price of each number corresponding to the target object, and return the query ticket price of each number corresponding to the target object to the target object.

[0043] For example, the queried flight information can be combined with each office respectively, and the ticket price of each office number (corresponding to each number above) of the ticket sales agent (corresponding to the above target object) can be queried, and then the ticket price of each office number (corresponding to each number above) of the queried ticket sales agent (corresponding to the above target object) can be returned to the user (i.e., the ticket sales agent, corresponding to the above target object).

[0044] Through the above steps S101 to S104, by analyzing and processing a fare search request (i.e., a query request), each office number (i.e., multiple number information) corresponding to the ticket sales agent (i.e., the target object) is obtained, and then the flight information of each office is queried according to the office number (i.e., multiple number information) corresponding to the ticket sales agent (i.e., the target object), and then the ticket price of each office is queried based on the flight information of each office, and the queried ticket price of each office is returned to the ticket sales agent (i.e., the target object), thereby reducing the number of queries for the ticket prices of multiple offices of the ticket sales agent, thereby achieving the effect of improving the efficiency of querying ticket prices.

[0045] Optionally, in the information query method provided in the embodiment of the present application, determining the flight information set based on multiple numbered information includes: performing authentication processing on the target object based on the multiple numbered information to determine whether the target object has the authority to query the ticket prices of multiple numbers; if the target object does not have the authority to query the ticket prices of multiple numbers, then querying the ticket price of each number corresponding to the target object is prohibited, and a first prompt message is sent to the target object, wherein the first prompt message is used to prompt the target object that the target object does not have the authority to query the ticket prices of multiple numbers; if the target object has the authority to query the ticket prices of multiple numbers, then determining the flight information set based on the number of multiple numbers.

[0046] For example, the user information (corresponding to the above-mentioned multiple number information) in the user request (corresponding to the above-mentioned query request) is parsed, the user (i.e., the ticket sales agent, corresponding to the above-mentioned target object) is authenticated, and it is determined whether the user (i.e., the ticket sales agent, corresponding to the above-mentioned target object) has the authority to use the search system and whether the user (i.e., the ticket sales agent, corresponding to the above-mentioned target object) has opened multiple office permissions; when the user (i.e., the ticket sales agent, corresponding to the above-mentioned target object) authentication fails, the system prompts an "illegal user" error (corresponding to the above-mentioned first prompt information); when the user (i.e., the ticket sales agent, corresponding to the above-mentioned When the user (i.e., the ticket sales agent, corresponding to the target object) has not activated the multi-office query permission, a prompt "Multi-office permission has not been activated" (corresponding to the first prompt information mentioned above) is displayed; when the user (i.e., the ticket sales agent, corresponding to the target object) is successfully authenticated and when the user (i.e., the ticket sales agent, corresponding to the target object) has activated the multi-office query permission, the available flights (corresponding to the above-mentioned flight information set) of each office (corresponding to the above-mentioned number) in the request (corresponding to the above-mentioned query request) can be queried according to the number of offices (corresponding to the number of the above-mentioned multiple numbers) in the request (corresponding to the above-mentioned query request).

[0047] Through the above solution, it can be ensured that users who have access to the search system and have opened multiple office permissions can query available flights for each office.

[0048] Optionally, in the information query method provided in the embodiment of the present application, determining the flight information set based on the number of multiple numbers includes: judging whether the number of multiple numbers is greater than a preset number; if the number of multiple numbers is greater than the preset number, prohibiting the query of the air ticket price of each number corresponding to the target object, and sending a second prompt message to the target object, wherein the second prompt message is used to prompt the target object that the number of numbers input by the target object is greater than the preset number; if the number of multiple numbers is not greater than the preset number, determining the flight information set based on each number corresponding to the target object.

[0049] For example, when the user (i.e., the ticket sales agent, corresponding to the above-mentioned target object) is successfully authenticated, and when the user (i.e., the ticket sales agent, corresponding to the above-mentioned target object) opens the multi-office query permission, it can be determined whether the number of offices (corresponding to the number of the above-mentioned multiple numbers) in the request (corresponding to the above-mentioned query request) exceeds the maximum number of offices allowed to be input (corresponding to the above-mentioned preset number); if the number of offices (corresponding to the number of the above-mentioned multiple numbers) in the request (corresponding to the above-mentioned query request) exceeds the maximum number of offices allowed to be input (corresponding to the above-mentioned preset number), querying the ticket price of each office number (corresponding to each of the above numbers) of the ticket sales agent (corresponding to the above-mentioned target object) is prohibited, and a prompt "exceeding the maximum number of offices" (corresponding to the above-mentioned second prompt information) is displayed; if the number of offices (corresponding to the number of the above-mentioned multiple numbers) in the request (corresponding to the above-mentioned query request) does not exceed the maximum number of offices allowed to be input (corresponding to the above-mentioned preset number), the available flights (corresponding to the above-mentioned flight information set) of each office (corresponding to each of the above numbers) in the request (corresponding to the above-mentioned query request) can be queried.

[0050] In summary, through the permission control of multiple offices, the number of users who can use this function and the number of offices that can be carried are effectively controlled, which plays a certain protective role in the performance of the freight rate search system.

[0051] Optionally, in the information query method provided in the embodiment of the present application, determining a flight information set according to each number corresponding to the target object includes: determining the itinerary information that the target object needs to query based on the query request; obtaining multiple flight information according to the itinerary information and each number corresponding to the target object, wherein the multiple flight information at least includes information on available flights for each number corresponding to the target object; filtering the multiple flight information to obtain multiple flight information that meets preset conditions; and aggregating the multiple flight information that meets the preset conditions to determine the flight information set.

[0052] For example, the itinerary information in the user request message header can be obtained first, and then each office (corresponding to each number mentioned above) can be combined with the itinerary information to query the available flights of each office (corresponding to each number mentioned above) in the request, and each flight is verified, and the flights that meet the conditions (corresponding to the above preset conditions) are retained, and the flights that meet the conditions (corresponding to the above preset conditions) are aggregated together to obtain the above flight information set. For example, the above preset condition is that the first-class cabin of the flight needs to be queried, and the above flights that meet the conditions (corresponding to the above preset conditions) can be the first-class cabin of the flight.

[0053] Through the above solution, each office is combined with the itinerary information to efficiently query flight information.

[0054] Optionally, in the information query method provided in an embodiment of the present application, querying the ticket price of each number corresponding to the target object based on the flight information set includes: obtaining the flight information of each number corresponding to the target object based on the flight information set; and querying the ticket price of each number corresponding to the target object based on the flight information of each number corresponding to the target object and each number corresponding to the target object.

[0055] For example, the flight information of each office number (corresponding to each number mentioned above) of the ticket sales agent (corresponding to the target object mentioned above) can be obtained from the flight information set, and then the office information (corresponding to each number mentioned above) can be combined with the flight information to query the ticket price information.

[0056] Through the above solution, the information of each office is combined with the flight information, so that the air ticket price information can be queried quickly and accurately.

[0057] Optionally, in the information query method provided in the embodiment of the present application, based on the flight information of each number corresponding to the target object and each number corresponding to the target object, querying the ticket price of each number corresponding to the target object includes: combining the flight information of each number corresponding to the target object and each number corresponding to the target object to generate a calculation request set, wherein the calculation request set includes multiple fare calculation requests, each fare calculation request is used to request the calculation of the ticket price of each number corresponding to the target object; based on the calculation request set, calculating the price of each cabin of each flight of each number corresponding to the target object; based on the price of each cabin of each flight of each number corresponding to the target object, querying the ticket price of each number corresponding to the target object.

[0058] For example, the queried flight information is combined with each office (corresponding to each number mentioned above) respectively to assemble a request for querying the air ticket price (corresponding to the fare calculation request mentioned above), and then according to the constructed calculation request (corresponding to the fare calculation request), the price of each cabin of each flight of each office (corresponding to each number mentioned above) of the air ticket sales agent (corresponding to the above target object) is queried respectively, and then the price of each cabin of each flight of each office (corresponding to each number mentioned above) of the air ticket sales agent (corresponding to the above target object) queried is used as the air ticket price of each office number (corresponding to each number mentioned above) of the air ticket sales agent (corresponding to the above target object).

[0059] Through the above scheme, according to the constructed calculation request, the air ticket price information can be queried quickly and accurately.

[0060] Optionally, in the information query method provided in the embodiment of the present application, returning the ticket price of each number corresponding to the queried target object to the target object includes: summarizing the ticket price of each number corresponding to the queried target object to obtain a target document; converting the format of the target document to obtain a target document in a preset format, and returning the target document in the preset format to the target object.

[0061] For example, the ticket prices of each office number (corresponding to each number mentioned above) of the ticket sales agent (corresponding to the above target object) finally queried can be summarized into a document file (corresponding to the above target document), and then the document file (corresponding to the above target document) can be formatted into XML format (corresponding to the above preset format), and then the document in XML format (corresponding to the above preset format) is returned to the ticket sales agent (corresponding to the above target object).

[0062] Through the above solution, the queried air ticket prices can be returned to the user in a specific format of the returned results, so that the front-end user can parse the results.

[0063] For example, in order to facilitate the ticket sales agent (corresponding to the above-mentioned target object) to query the ticket prices of multiple offices (corresponding to the above-mentioned multiple numbers) of the ticket sales agent (corresponding to the above-mentioned target object), the fare search system expands the current interface to allow agent users (corresponding to the above-mentioned target object) to enter multiple office numbers (corresponding to the above-mentioned multiple numbers) at the same time to query the ticket, and in order to ensure the good experience of the agent (corresponding to the above-mentioned target object) when querying the ticket, the system sets the maximum number of offices when the user (corresponding to the above-mentioned target object) queries to prevent the system from responding too long due to excessive calculation.

[0064] For example, in this embodiment, a method for searching for fares in multiple offices is provided. The purpose is to solve the problem that a ticket agent (corresponding to the target object mentioned above) can query the ticket prices of different offices (corresponding to the numbers mentioned above) of the agent (corresponding to the target object mentioned above) in one ticket search. The detailed technical solution is as follows:

[0065] For example, a field for inputting multiple offices (corresponding to the multiple numbers mentioned above) is added to the request (corresponding to the above-mentioned query request), allowing the user (corresponding to the above-mentioned target object) to input multiple offices (corresponding to the multiple numbers mentioned above) in one query. After the search system obtains the user's (corresponding to the above-mentioned target object) request (corresponding to the above-mentioned query request), it parses whether the request (corresponding to the above-mentioned query request) is a multi-office request. If it is a multi-office request, the office (corresponding to the above-mentioned multiple numbers) in the request is parsed. The search system queries the user configuration table based on the user information in the request, verifies whether the user (corresponding to the above-mentioned target object) has enabled the query permission for multiple offices, and whether the number of offices input by the user (corresponding to the above-mentioned target object) exceeds the number configured in the configuration table. After the above verification is passed, the available flight information of these offices (corresponding to the above-mentioned multiple numbers) is queried, and the flight information is filtered. Each office (corresponding to each number) in the request (corresponding to the above query request) is combined with the flight information respectively to assemble a request for querying fares (corresponding to the above fare calculation request), querying fare information (corresponding to the above ticket price for each number), and processing the obtained fare results (corresponding to the above ticket price for each number) accordingly and outputting them to the user (corresponding to the above target object).

[0066] 1. System composition

[0067] For example, Figure 2 is a schematic diagram of an information query system provided according to an embodiment of the present application, such as Figure 2 As shown, the system design components in this embodiment include five parts: a request processing module, a flight query module, a calculation engine module, a calculation result processing module and a data processing module.

[0068] Request processing module: responsible for parsing user requests (corresponding to the above-mentioned query requests), authenticating user requests, and determining whether the user (corresponding to the above-mentioned target object) has opened the relevant permissions of the search system.

[0069] Flight query module: query the available flights of each office (corresponding to each number above) in the query request (corresponding to the above query request), and process the queried flight results for subsequent query of freight rates.

[0070] Calculation engine module: combines the queried flight information with each office (corresponding to each number mentioned above) to form a request for querying air ticket prices (corresponding to the above-mentioned fare calculation request), and calculates and screens air ticket prices.

[0071] Calculation result processing module: integrates the qualified air ticket prices (corresponding to the air ticket prices of each number mentioned above) and returns them to the user (corresponding to the target object mentioned above) in a specific format of the return result so that the front-end user can parse the result.

[0072] Data processing module: stores data information related to freight rates, rules, user configuration, brands, etc. released by various airlines, and updates this data to the server memory information regularly.

[0073] 2. Implementation principle

[0074] For example, Figure 3 The process of the information query method provided in the embodiment of the present application is as follows Figure 2 ,like Figure 3 As shown, the information query method includes the following steps:

[0075] Step 1: Request verification

[0076] Parse the user information in the user request (corresponding to the above query request), authenticate the user (corresponding to the above target object), and determine whether the user (corresponding to the above target object) has the authority to use the search system and whether the user has opened multiple office (corresponding to the above multiple numbers) permissions.

[0077] a) When the user (corresponding to the target object mentioned above) fails to authenticate, the system prompts an "illegal user" error.

[0078] b) When the user (corresponding to the target object mentioned above) has not enabled multi-office query permissions, a message "Multi-office permissions not enabled" will be displayed.

[0079] c) When the number of offices (corresponding to the above-mentioned multiple numbers) in the request (corresponding to the above-mentioned query request) exceeds the maximum number of offices allowed to be entered in the configuration table, a prompt "Exceeded the maximum number of offices" is displayed.

[0080] Step 2: Flight Query

[0081] The available flights of each office (corresponding to each number mentioned above) in the query request (corresponding to the query request mentioned above) are checked, and each flight is verified, and the flights that meet the conditions are retained, so as to construct the freight rate calculation request (corresponding to the freight rate calculation request mentioned above).

[0082] Step 3: Calculate airfare

[0083] According to the calculation request constructed in step 2 (corresponding to the above-mentioned freight rate calculation request), the price of each cabin of each flight of each office (corresponding to each of the above-mentioned numbers) is queried respectively (corresponding to the ticket price of each of the above-mentioned numbers).

[0084] Step 4: Calculation result processing

[0085] The queried air ticket prices (corresponding to the air ticket prices of each number mentioned above) are formatted and output according to the search system output result interface document.

[0086] For example, in order to better understand the technical solution of this embodiment, this embodiment will be described using the itinerary of Wuhan WUH-Harbin HRB (the request carries 4 offices: CTU446, CAN636, WUH141 and CKG137).

[0087] (1) Request (corresponding to the above query request) verification

[0088] Obtain the user (corresponding to the target object) information, itinerary information and office information (corresponding to the multiple numbers) in the user (corresponding to the target object) request (corresponding to the query request) header, and determine whether the user is a legitimate user, whether the multiple office (corresponding to the multiple numbers) permission is enabled, and whether the number of offices requested to be carried exceeds the maximum allowed value. In this example:

[0089] 1) This user exists in the configuration table, so the user (corresponding to the target object mentioned above) is authenticated successfully.

[0090] 2) Multiple offices have been enabled in the configuration table, and the maximum number of offices configured is 20. This request (corresponding to the above query request) carries 4 offices, so the request (corresponding to the above query request) passes the verification.

[0091] (2) Flight search

[0092] When querying AV (flight), the office and itinerary information are combined into the following AV request (request to query flight):

[0093] 1) Main office and itinerary combination: SHA717 WUH-HRB 2023-12-24;

[0094] 2) Office: CTU446 and itinerary combination: CTU446 WUH-HRB 2023-12-24;

[0095] 3) Office: CAN636 and itinerary combination: CAN636 WUH-HRB 2023-12-24;

[0096] 4) Office: WUH141 and itinerary combination: WUH141 WUH-HRB 2023-12-24;

[0097] 5) Office: CKG137 and itinerary combination: CKG137 WUH-HRB 2023-12-24.

[0098] The following flight information results are obtained respectively:

[0099] 1)SHA717 WUHHRB GJ5097 24DEC23 YA / BA / HA / LA / P5 / GS / VQ / UQ;

[0100] 2)CTU446 WUHHRB GJ5097 24DEC23 YA / BA / HA / LA / P5 / GS / VQ / UQ;

[0101] 3)CAN636 WUHHRB GJ5097 24DEC23 YA / BA / HA / LA / P5 / GS / VQ / UQ;

[0102] 4)WUH141 WUHHRB GJ5097 24DEC23 YA / BA / HA / LA / P5 / GS / VQ / UQ;

[0103] 5)CKG137 WUHHRB GJ5097 24DEC23 YA / BA / HA / LA / P5 / GS / VQ / UQ.

[0104] Among them, GJ5097 is the flight number, and YA / BA / HA / LA / ...... are the cabin class and cabin status.

[0105] (3) Freight rate calculation

[0106] Freight calculation request 1:

[0107] Office: SHA717;

[0108] Ori: WUH (place of departure);

[0109] Des:HRB(destination);

[0110] DepatureDate: 24DEC23 (departure date);

[0111] RoutFlight: WUH-HRB 24DEC2023 class groups: YBHLP. Freight calculation request 2:

[0112] Office: CTU446;

[0113] Ori: WUH (place of departure);

[0114] Des:HRB(destination);

[0115] DepatureDate: 24DEC23 (departure date);

[0116] RoutFlight: WUH-HRB 24DEC2023 class groups: YBHLP. Freight calculation request 3:

[0117] Office: CAN636;

[0118] Ori: WUH (place of departure);

[0119] Des:HRB(destination);

[0120] DepatureDate: 24DEC23 (departure date);

[0121] RoutFlight: WUH-HRB 24DEC2023 class groups: YBHLP. Freight calculation request 4:

[0122] Office: WUH141;

[0123] Ori: WUH (place of departure);

[0124] Des:HRB(destination);

[0125] DepatureDate: 24DEC23 (departure date);

[0126] RoutFlight: WUH-HRB 24DEC2023 class groups: YBHLP.

[0127] Freight calculation request 5:

[0128] Office: CKG137;

[0129] Ori: WUH (place of departure);

[0130] Des:HRB(destination);

[0131] DepatureDate: 24DEC23 (departure date);

[0132] RoutFlight: WUH-HRB 24DEC2023 class groups: YBHLP.

[0133] The calculation results are as follows:

[0134] Office:CAN636:

[0135] pricingsolution1 (freight calculation result): WUH-HRB 24DEC2023 Y 1280.00;

[0136] Pricingsolution2 (freight calculation result): WUH-HRB 24DEC2023 B 1300.00.

[0137] Office: CTU446:

[0138] pricingsolution1 (freight calculation result): WUH-HRB 24DEC2023 Y 1480.00;

[0139] Pricingsolution2 (freight calculation result): WUH-HRB 24DEC2023 B 1600.00. ......

[0141] The calculation results of other offices are not repeated here.

[0142] (4) Calculation result processing

[0143] The final calculation result (corresponding to the ticket price of each number mentioned above) is formatted into XML (Extensible Markup Language) and then returned to the user (corresponding to the target object mentioned above).

[0144] For example, this embodiment proposes a method for searching fares in multiple offices (corresponding to the multiple numbers mentioned above). By analyzing and processing a request case, a multi-office fare query is performed to display the airfare information of multiple offices to the user. Moreover, the airfare information of multiple offices (corresponding to the multiple numbers mentioned above) can be returned through a single fare search request, reducing the number of queries. In addition, the permission control of multiple offices (corresponding to the multiple numbers mentioned above) effectively controls the number of users who can use this function and the number of offices that can be carried, which plays a certain protective role in the performance of the fare search system.

[0145] Moreover, in this embodiment, the flight query module combines each office (corresponding to the above-mentioned multiple numbers) with the itinerary information, and can efficiently query the flight information. And by combining the information of each office (corresponding to the above-mentioned multiple numbers) with the flight information, the air ticket price information can be quickly and accurately queried.

[0146] In summary, the information query method provided in the embodiment of the present application receives a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered air tickets corresponding to the target object; the query request is parsed and processed to obtain multiple numbered information, wherein the multiple numbered information at least includes the multiple numbered information corresponding to the target object; a flight information set is determined based on the multiple numbered information, wherein the flight information set at least includes the flight information of each number corresponding to the target object; based on the flight information set, the price of each numbered air ticket corresponding to the target object is queried, and the price of each numbered air ticket corresponding to the queried target object is returned to the target object, thereby solving the problem in the related art that the air ticket sales agent needs to perform multiple queries to query the prices of multiple numbered air tickets of the agent, resulting in low efficiency in querying air ticket prices. By analyzing and processing a fare search request (i.e., a query request), each office number (i.e., multiple number information) corresponding to the ticket sales agent (i.e., the target object) is obtained, and then the flight information of each office is queried according to the office number (i.e., multiple number information) corresponding to the ticket sales agent (i.e., the target object), and then the ticket price of each office is queried based on the flight information of each office, and the queried ticket price of each office is returned to the ticket sales agent (i.e., the target object), thereby reducing the number of queries for the ticket prices of multiple offices of the ticket sales agent, thereby achieving the effect of improving the efficiency of querying ticket prices.

[0147] 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.

[0148] The embodiment of the present application also provides an information query device. It should be noted that the information query device of the embodiment of the present application can be used to execute the information query method provided by the embodiment of the present application. The information query device provided by the embodiment of the present application is introduced below.

[0149] Figure 4 Schematic diagram of an information query device provided according to an embodiment of the present application. Figure 4 As shown, the device includes: a first receiving unit 401, a first processing unit 402, a first determining unit 403 and a second processing unit 404.

[0150] Specifically, the first receiving unit 401 is used to receive a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered air tickets corresponding to the target object;

[0151] The first processing unit 402 is used to parse the query request to obtain a plurality of number information, wherein the plurality of number information at least includes information of a plurality of numbers corresponding to the target object;

[0152] The first determining unit 403 is used to determine a flight information set according to the plurality of number information, wherein the flight information set at least includes flight information of each number corresponding to the target object;

[0153] The second processing unit 404 is used to query the ticket price of each number corresponding to the target object based on the flight information set, and return the query ticket price of each number corresponding to the target object to the target object.

[0154] In summary, the information query device provided by the embodiment of the present application receives a query request sent by the target object through the first receiving unit 401, wherein the query request is used to request to query the prices of multiple numbered tickets corresponding to the target object; the first processing unit 402 parses and processes the query request to obtain multiple numbering information, wherein the multiple numbering information at least includes the multiple numbering information corresponding to the target object; the first determination unit 403 determines the flight information set based on the multiple numbering information, wherein the flight information set at least includes the flight information of each number corresponding to the target object; the second processing unit 404 queries the ticket price of each number corresponding to the target object based on the flight information set, and returns the queried ticket price of each number corresponding to the target object to the target object, which solves the problem in the related art that the ticket sales agent needs to perform multiple queries to query the ticket prices of multiple numbers of the agent, resulting in low efficiency in querying ticket prices. By analyzing and processing a fare search request (i.e., a query request), each office number (i.e., multiple number information) corresponding to the ticket sales agent (i.e., the target object) is obtained, and then the flight information of each office is queried according to the office number (i.e., multiple number information) corresponding to the ticket sales agent (i.e., the target object), and then the ticket price of each office is queried based on the flight information of each office, and the queried ticket price of each office is returned to the ticket sales agent (i.e., the target object), thereby reducing the number of queries for the ticket prices of multiple offices of the ticket sales agent, thereby achieving the effect of improving the efficiency of querying ticket prices.

[0155] Optionally, in the information query device provided in the embodiment of the present application, the first determination unit includes: a first processing sub-unit, used to perform authentication processing on the target object based on multiple numbering information, and determine whether the target object has the authority to query the ticket prices of multiple numbers; a second processing sub-unit, used to prohibit querying the ticket price of each number corresponding to the target object if the target object does not have the authority to query the ticket prices of multiple numbers, and send a first prompt message to the target object, wherein the first prompt message is used to prompt the target object that it does not have the authority to query the ticket prices of multiple numbers; the first determination sub-unit, used to determine the flight information set based on the number of multiple numbers if the target object has the authority to query the ticket prices of multiple numbers.

[0156] Optionally, in the information query device provided in the embodiment of the present application, the first determination subunit includes: a first judgment module, used to determine whether the number of multiple numbers is greater than a preset number; a first processing module, used to prohibit querying the air ticket price of each number corresponding to the target object if the number of multiple numbers is greater than the preset number, and send a second prompt message to the target object, wherein the second prompt message is used to prompt the target object that the number of numbers input by the target object is greater than the preset number; a first determination module, used to determine the flight information set according to each number corresponding to the target object if the number of multiple numbers is not greater than the preset number.

[0157] Optionally, in the information query device provided in the embodiment of the present application, the first determination module includes: a first determination sub-module, used to determine the itinerary information that the target object needs to query based on the query request; a second determination sub-module, used to obtain multiple flight information based on the itinerary information and each number corresponding to the target object, wherein the multiple flight information at least includes information on available flights for each number corresponding to the target object; a first processing sub-module, used to filter the multiple flight information to obtain multiple flight information that meets preset conditions; and a second processing sub-module, used to aggregate the multiple flight information that meets the preset conditions to determine a set of flight information.

[0158] Optionally, in the information query device provided in an embodiment of the present application, the second processing unit includes: a first acquisition sub-unit, used to obtain flight information of each number corresponding to the target object based on a flight information set; a first query sub-unit, used to query the air ticket price of each number corresponding to the target object based on the flight information of each number corresponding to the target object and each number corresponding to the target object.

[0159] Optionally, in the information query device provided in the embodiment of the present application, the first query sub-unit includes: a first generation module, used to combine the flight information of each number corresponding to the target object and each number corresponding to the target object, to generate a calculation request set, wherein the calculation request set includes multiple fare calculation requests, and each fare calculation request is used to request the calculation of the ticket price of each number corresponding to the target object; a first calculation module, used to calculate the price of each cabin of each flight of each number corresponding to the target object based on the calculation request set; a first query module, used to query the ticket price of each number corresponding to the target object based on the price of each cabin of each flight of each number corresponding to the target object.

[0160] Optionally, in the information query device provided in the embodiment of the present application, the second processing unit includes: a first aggregation subunit, used to aggregate the ticket prices of each number corresponding to the queried target object to obtain a target document; a third processing subunit, used to convert the format of the target document to obtain a target document in a preset format, and return the target document in the preset format to the target object.

[0161] The information query device includes a processor and a memory. The above-mentioned first receiving unit 401, first processing unit 402, first determination unit 403 and second processing unit 404 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0162] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the efficiency of querying air ticket prices can be improved by adjusting kernel parameters.

[0163] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0164] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the information query method is implemented.

[0165] An embodiment of the present invention provides a processor, which is used to run a program, wherein the information query method is executed when the program is running.

[0166] like Figure 5As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: receiving a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered tickets corresponding to the target object; parsing the query request to obtain multiple numbered information, wherein the multiple numbered information at least includes the multiple numbered information corresponding to the target object; determining a flight information set based on the multiple numbered information, wherein the flight information set at least includes the flight information of each number corresponding to the target object; based on the flight information set, querying the price of each numbered ticket corresponding to the target object, and returning the queried price of each numbered ticket corresponding to the target object to the target object.

[0167] When the processor executes the program, the following steps are also implemented: determining a flight information set based on multiple numbering information includes: performing authentication processing on a target object based on the multiple numbering information to determine whether the target object has the authority to query the ticket prices of multiple numbers; if the target object does not have the authority to query the ticket prices of multiple numbers, querying the ticket price of each number corresponding to the target object is prohibited, and a first prompt message is sent to the target object, wherein the first prompt message is used to prompt the target object that the target object does not have the authority to query the ticket prices of multiple numbers; if the target object has the authority to query the ticket prices of multiple numbers, determining a flight information set based on the number of multiple numbers.

[0168] When the processor executes the program, the following steps are also implemented: determining a flight information set based on the number of multiple numbers includes: judging whether the number of multiple numbers is greater than a preset number; if the number of multiple numbers is greater than the preset number, prohibiting the query of the air ticket price of each number corresponding to the target object, and sending a second prompt message to the target object, wherein the second prompt message is used to prompt the target object that the number of numbers input by the target object is greater than the preset number; if the number of multiple numbers is not greater than the preset number, determining a flight information set based on each number corresponding to the target object.

[0169] When the processor executes the program, the following steps are also implemented: determining a flight information set according to each number corresponding to the target object includes: determining the itinerary information that the target object needs to query according to the query request; obtaining multiple flight information according to the itinerary information and each number corresponding to the target object, wherein the multiple flight information at least includes information on available flights for each number corresponding to the target object; filtering the multiple flight information to obtain multiple flight information that meets preset conditions; and aggregating the multiple flight information that meets the preset conditions to determine the flight information set.

[0170] When the processor executes the program, the following steps are also implemented: based on the flight information set, querying the ticket price of each number corresponding to the target object includes: based on the flight information set, obtaining the flight information of each number corresponding to the target object; based on the flight information of each number corresponding to the target object and each number corresponding to the target object, querying the ticket price of each number corresponding to the target object.

[0171] When the processor executes the program, the following steps are also implemented: based on the flight information of each number corresponding to the target object and each number corresponding to the target object, querying the ticket price of each number corresponding to the target object includes: combining the flight information of each number corresponding to the target object and each number corresponding to the target object to generate a calculation request set, wherein the calculation request set includes multiple fare calculation requests, and each fare calculation request is used to request the calculation of the ticket price of each number corresponding to the target object; based on the calculation request set, calculating the price of each cabin of each flight of each number corresponding to the target object; based on the price of each cabin of each flight of each number corresponding to the target object, querying the ticket price of each number corresponding to the target object.

[0172] When the processor executes the program, the following steps are also implemented: returning the ticket price of each number corresponding to the queried target object to the target object, including: summarizing the ticket price of each number corresponding to the queried target object to obtain a target document; converting the format of the target document to obtain a target document in a preset format, and returning the target document in the preset format to the target object.

[0173] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0174] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: receiving a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered air tickets corresponding to the target object; parsing the query request to obtain multiple numbered information, wherein the multiple numbered information at least includes the multiple numbered information corresponding to the target object; determining a flight information set based on the multiple numbered information, wherein the flight information set at least includes the flight information of each number corresponding to the target object; based on the flight information set, querying the air ticket price of each number corresponding to the target object, and returning the queried air ticket price of each number corresponding to the target object to the target object.

[0175] When executed on a data processing device, it is also suitable for executing a program that is initialized with the following method steps: determining a flight information set based on multiple numbering information includes: performing authentication processing on a target object based on the multiple numbering information to determine whether the target object has the authority to query the ticket prices of multiple numbers; if the target object does not have the authority to query the ticket prices of multiple numbers, then querying the ticket price of each number corresponding to the target object is prohibited, and a first prompt message is sent to the target object, wherein the first prompt message is used to prompt the target object that it does not have the authority to query the ticket prices of multiple numbers; if the target object has the authority to query the ticket prices of multiple numbers, then determining the flight information set based on the number of multiple numbers.

[0176] When executed on a data processing device, it is also suitable for executing a program that is initialized with the following method steps: determining a flight information set based on the number of multiple numbers includes: judging whether the number of multiple numbers is greater than a preset number; if the number of multiple numbers is greater than the preset number, prohibiting the query of the air ticket price of each number corresponding to the target object, and sending a second prompt message to the target object, wherein the second prompt message is used to prompt the target object that the number of numbers input by the target object is greater than the preset number; if the number of multiple numbers is not greater than the preset number, determining a flight information set based on each number corresponding to the target object.

[0177] When executed on a data processing device, it is also suitable for executing a program that is initialized with the following method steps: determining a flight information set according to each number corresponding to a target object includes: determining the itinerary information that the target object needs to query based on a query request; obtaining multiple flight information according to the itinerary information and each number corresponding to the target object, wherein the multiple flight information at least includes information on available flights for each number corresponding to the target object; filtering the multiple flight information to obtain multiple flight information that meets preset conditions; and aggregating the multiple flight information that meets the preset conditions to determine a flight information set.

[0178] When executed on a data processing device, it is also suitable for executing a program that is initialized with the following method steps: based on a flight information set, querying the ticket price of each number corresponding to the target object includes: based on the flight information set, obtaining the flight information of each number corresponding to the target object; based on the flight information of each number corresponding to the target object and each number corresponding to the target object, querying the ticket price of each number corresponding to the target object.

[0179] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: based on the flight information of each number corresponding to the target object and each number corresponding to the target object, querying the ticket price of each number corresponding to the target object includes: combining the flight information of each number corresponding to the target object and each number corresponding to the target object to generate a calculation request set, wherein the calculation request set includes multiple fare calculation requests, and each fare calculation request is used to request the calculation of the ticket price of each number corresponding to the target object; based on the calculation request set, calculating the price of each cabin of each flight of each number corresponding to the target object; based on the price of each cabin of each flight of each number corresponding to the target object, querying the ticket price of each number corresponding to the target object.

[0180] When executed on a data processing device, it is also suitable for executing a program that is initialized with the following method steps: returning the ticket price of each number corresponding to the queried target object to the target object, including: summarizing the ticket price of each number corresponding to the queried target object to obtain a target document; converting the format of the target document to obtain a target document in a preset format, and returning the target document in the preset format to the target object.

[0181] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0182] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0183] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0184] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0185] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0186] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0187] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0188] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0189] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0190] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. An information query method, characterized in that: include: Receive a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered air tickets corresponding to the target object; Parsing the query request to obtain a plurality of numbering information, wherein the plurality of numbering information at least includes information of a plurality of numbers corresponding to the target object; Determine a flight information set according to the multiple number information, wherein the flight information set at least includes flight information of each number corresponding to the target object; Based on the flight information set, the ticket price of each number corresponding to the target object is queried, and the queried ticket price of each number corresponding to the target object is returned to the target object.

2. The method according to claim 1, characterized in that Determining the flight information set according to the plurality of number information includes: According to the plurality of number information, the target object is authenticated to determine whether the target object has the authority to query the prices of the plurality of numbered tickets; If the target object does not have the authority to query the prices of the multiple numbered tickets, querying the price of each numbered ticket corresponding to the target object is prohibited, and a first prompt message is sent to the target object, wherein the first prompt message is used to prompt the target object that the target object does not have the authority to query the prices of the multiple numbered tickets; If the target object has the authority to query the air ticket prices of the multiple numbers, the flight information set is determined according to the number of the multiple numbers.

3. The method according to claim 2, characterized in that Determining the flight information set according to the number of the multiple numbers includes: Determining whether the number of the plurality of numbers is greater than a preset number; If the number of the multiple numbers is greater than the preset number, it is prohibited to query the air ticket price of each number corresponding to the target object, and a second prompt message is sent to the target object, wherein the second prompt message is used to prompt that the number of numbers input by the target object is greater than the preset number; If the number of the multiple numbers is not greater than the preset number, the flight information set is determined according to each number corresponding to the target object.

4. The method according to claim 3, characterized in that: According to each number corresponding to the target object, determining the flight information set includes: Determining the itinerary information that the target object needs to query according to the query request; According to the itinerary information and each number corresponding to the target object, a plurality of flight information is obtained, wherein the plurality of flight information at least includes information of available flights of each number corresponding to the target object; Filtering the multiple flight information to obtain multiple flight information that meets preset conditions; The plurality of flight information meeting the preset conditions are aggregated to determine the flight information set.

5. The method according to claim 1, characterized in that Based on the flight information set, querying the ticket price of each number corresponding to the target object includes: Based on the flight information set, obtain flight information of each number corresponding to the target object; According to the flight information of each number corresponding to the target object and each number corresponding to the target object, the ticket price of each number corresponding to the target object is queried.

6. The method according to claim 5, characterized in that According to the flight information of each number corresponding to the target object and each number corresponding to the target object, querying the ticket price of each number corresponding to the target object includes: Combine the flight information of each number corresponding to the target object and each number corresponding to the target object to generate a calculation request set, wherein the calculation request set includes multiple fare calculation requests, each fare calculation request is used to request the calculation of the ticket price of each number corresponding to the target object; Calculate the price of each cabin of each flight number corresponding to the target object according to the calculation request set; Based on the price of each cabin of each flight number corresponding to the target object, the price of each ticket number corresponding to the target object is queried.

7. The method according to claim 1, characterized in that Returning the ticket price of each number corresponding to the queried target object to the target object includes: Summarize the ticket prices of each number corresponding to the target object queried to obtain the target document; The format of the target document is converted to obtain a target document in a preset format, and the target document in the preset format is returned to the target object.

8. An information query device, characterized in that: include: A first receiving unit is used to receive a query request sent by a target object, wherein the query request is used to request to query the prices of multiple numbered air tickets corresponding to the target object; A first processing unit is configured to parse the query request to obtain a plurality of numbering information, wherein the plurality of numbering information at least includes information of a plurality of numbers corresponding to the target object; A first determining unit, configured to determine a flight information set according to the plurality of number information, wherein the flight information set at least includes flight information of each number corresponding to the target object; The second processing unit is used to query the ticket price of each number corresponding to the target object based on the flight information set, and return the query ticket price of each number corresponding to the target object to the target object.

9. A computer-readable storage medium, characterized in that: The storage medium stores a program, wherein the program executes the information query method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the information query method described in any one of claims 1 to 7.