A ticket search method and device, electronic device, and storage medium

By finding the target brand combination with the lowest brand level in the air ticket search system and verifying the fare rules, the problem of low search efficiency in the mixed brand combination mode is solved, and the fare results are quickly fed back, which improves the user experience.

CN116910370BActive Publication Date: 2025-09-30TRAVELSKY TECHNOLOGY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310929374.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-26
Publication Date
2025-09-30
Estimated Expiration
2043-07-26

AI Technical Summary

Technical Problem

Under the mixed-brand combination mode, the search efficiency of the air ticket search system is low, causing users to wait for results for too long, affecting the passenger experience.

Method used

After receiving the air ticket query request, based on the user's itinerary preference information, the target brand combination with the lowest brand level is found from the brand combination, and the fare rules are verified, and the fare results are generated and fed back in batches.

Benefits of technology

It improves the system search performance, reduces the time users wait for results, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116910370B_ABST
    Figure CN116910370B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for searching passenger tickets, an electronic device, and a storage medium, comprising: receiving an air ticket query request; when the queried air ticket itinerary is the first leg of a journey and the user uses a brand multiple call mode and a mixed brand mode, searching for a target brand combination with the lowest brand level from the brand combinations corresponding to the air ticket itinerary; when the queried air ticket itinerary is not the first leg of a journey, searching for a selected brand combination that meets the selection information contained in the air ticket query request from all brand combinations, and combining the selected brand combination with a low-level brand combination corresponding to the non-first leg of the journey to obtain a target brand combination; verifying the fare corresponding to the target brand combination based on flight information and itinerary preference information; when the fare corresponding to the target brand combination includes a fare corresponding to a verified standard brand combination, generating a fare result based on the standard brand combination, the target flight combination, and the fare corresponding to the standard brand combination; and integrating and displaying the fare result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of international air ticket search, and in particular to a method and device for searching passenger tickets, an electronic device, and a storage medium. Background Art

[0002] To maximize fare profits, airlines have implemented various marketing strategies, with brand marketing being a common practice. Because brands encompass a wide range of fare benefits (such as rescheduling, refunds, and upgrades) and options, there are numerous brand combinations. Different brand combinations offer varying benefits, leading to multiple branding results for passengers on the same flight.

[0003] Therefore, users can call the search system and select a brand combination method in the preference information column of the request message. Then, the search system will find all brand combination results based on the brand combination method selected by the user, and then verify the fare rules for all brand combination results. The brand combination results that do not meet the fare rule verification will be deleted, and then the brand combination results that meet the fare rule verification will be calculated to obtain the fare of the brand combination results. Finally, the flight, fare and other information will be generated into a result message and fed back to the passenger.

[0004] Because the search system will find more brand combination results for the mixed brand combination method than for other brand combination methods, if the user chooses the mixed brand combination method when the journey has many segments, the brand combination results found by the search system will increase exponentially, which will easily make the search efficiency of the search system low, causing the user to wait for a long time before receiving the result message fed back by the search system, which will bring a poor experience to the passengers. Summary of the Invention

[0005] Based on the above-mentioned deficiencies of the existing technology, the present application provides a ticket search method and device, electronic device, and storage medium to solve the problem that the existing technology is based on a mixed-brand combination mode and it takes too long to feedback the results to passengers.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] The first aspect of the present application provides a ticket search method, comprising:

[0008] Receive a flight ticket search request; wherein the flight ticket search request includes at least the flight itinerary queried by the user and the itinerary preference information of the user;

[0009] When the air ticket itinerary queried by the user is the first leg of the itinerary and the user uses the brand multiple call mode and the mixed brand mode, searching for the target brand combination with the lowest brand level from the brand combinations corresponding to the air ticket itinerary;

[0010] When the air ticket itinerary queried by the user is a non-first segment, searching for a selected brand combination that meets the flight combination and the selected brand information included in the air ticket query request from all brand combinations, and combining the selected brand combination with the lower-level brand combination corresponding to the non-first segment to obtain a target brand combination; wherein the lower-level brand combination corresponding to the non-first segment refers to the brand combination with the lowest brand level among the brand combinations corresponding to the non-first segment;

[0011] Based on the flight information and the itinerary preference information, verify the fare rules for the fare corresponding to the target brand combination;

[0012] If there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the target brand combination, a fare result is generated based on the standard brand combination, the target flight combination and the fare corresponding to the standard brand combination;

[0013] The generated freight rate results are integrated and displayed.

[0014] Optionally, in the above-mentioned ticket search method, before searching for a target brand combination with the lowest brand level from the brand combinations corresponding to the ticket itinerary, the method further includes:

[0015] Searching for a target fare combination that meets the fare requirements in the itinerary preference information from the fare combinations corresponding to the air ticket itinerary; wherein the fare combination corresponding to the air ticket itinerary refers to a combination of the fares of each flight corresponding to the air ticket itinerary;

[0016] According to the freight rate information of the target freight rate combination, searching the brand corresponding to the target freight rate combination from the brand standard table;

[0017] The target fare combination and the brands corresponding to the target fare combination are combined to obtain a brand combination, and the brand combination is determined as the brand combination corresponding to the air ticket itinerary.

[0018] Optionally, in the above-mentioned ticket search method, after verifying the fare rules of the fare corresponding to the target brand combination based on the flight information and the itinerary preference information, the method further includes:

[0019] When the fare corresponding to the target brand combination fails to pass the fare rule verification, a message indicating that no results are available is fed back to the user.

[0020] Optionally, in the above-mentioned ticket search method, after verifying the fare rules of the fare corresponding to the target brand combination based on the flight information and the itinerary preference information, the method further includes:

[0021] Non-standard brand combinations that fail to pass the freight rate rule verification in the target brand combination are eliminated.

[0022] Optionally, in the above-mentioned ticket search method, the method further includes:

[0023] When the air ticket itinerary queried by the user is the first leg of the itinerary and the user has not used the brand calling mode and the mixed brand mode, the fare rules corresponding to the brand combination corresponding to the air ticket itinerary are verified based on the flight information and the itinerary preference information;

[0024] When there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the brand combination corresponding to the ticket itinerary, generating a fare result based on the standard brand combination, the target flight combination and the fare corresponding to the standard brand combination;

[0025] The generated freight rate results are integrated and displayed.

[0026] Optionally, in the above-mentioned ticket search method, searching for a target brand combination with the lowest brand level from the brand combinations corresponding to the ticket itinerary includes:

[0027] Find the brand level field of the brand combination corresponding to the air ticket itinerary from the brand standard table;

[0028] A target brand hierarchy field with the lowest brand hierarchy is searched from the brand hierarchy fields of the brand combination corresponding to the air ticket itinerary, and the brand combination corresponding to the target brand hierarchy field is determined as the target brand combination.

[0029] A second aspect of the present application provides a ticket search device, comprising:

[0030] A receiving unit, configured to receive a flight ticket search request; wherein the flight ticket search request includes at least the flight itinerary queried by the user and the itinerary preference information of the user;

[0031] A first search unit is configured to search for a target brand combination with the lowest brand level from among the brand combinations corresponding to the air ticket itinerary when the air ticket itinerary queried by the user is the first leg of the itinerary and the user uses a brand multiple call mode and a mixed brand mode;

[0032] A second search unit is configured to, when the air ticket itinerary queried by the user is a non-first segment, search from all brand combinations for a selected brand combination that matches the flight combination and the selected brand information included in the air ticket query request, and combine the selected brand combination with a lower-level brand combination corresponding to the non-first segment to obtain a target brand combination; wherein the lower-level brand combination corresponding to the non-first segment refers to a brand combination with the lowest brand level among the brand combinations corresponding to the non-first segment;

[0033] a first verification unit, configured to verify fare rules for the fare corresponding to the target brand combination based on the flight information and the itinerary preference information;

[0034] A first generating unit is configured to generate a fare result based on the standard brand combination, the target flight combination, and the fare corresponding to the standard brand combination when there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the target brand combination;

[0035] The first display unit is used to integrate and display the generated freight rate results.

[0036] Optionally, the above-mentioned ticket search device further includes:

[0037] a third searching unit configured to search, from the fare combinations corresponding to the air ticket itinerary, for a target fare combination that meets the fare requirements in the itinerary preference information; wherein the fare combination corresponding to the air ticket itinerary refers to a combination of fares for each flight corresponding to the air ticket itinerary;

[0038] a fourth searching unit, configured to search a brand corresponding to the target fare combination from a brand standard table according to the fare information of the target fare combination;

[0039] The combining unit is configured to combine the target fare combination and the brands corresponding to the target fare combination to obtain a brand combination, and determine the brand combination as the brand combination corresponding to the air ticket itinerary.

[0040] Optionally, the above-mentioned ticket search device further includes:

[0041] The feedback unit is configured to feed back information indicating that no results are available to the user when the fare corresponding to the target brand combination fails to pass the fare rule verification.

[0042] Optionally, the above-mentioned ticket search device further includes:

[0043] The elimination unit is used to eliminate non-standard brand combinations that fail to pass the freight rate rule verification in the target brand combination.

[0044] Optionally, the above-mentioned ticket search device further includes:

[0045] A second verification unit is configured to, when the air ticket itinerary queried by the user is the first leg of the itinerary and the user has not used the brand calling mode and the mixed brand mode, perform fare rule verification on the fare corresponding to the brand combination corresponding to the air ticket itinerary based on the flight information and the itinerary preference information;

[0046] A second generating unit is configured to generate a fare result based on the standard brand combination, the target flight combination, and the fare corresponding to the standard brand combination when there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the brand combination corresponding to the ticket itinerary;

[0047] The second display unit is used to integrate and display the generated freight rate results.

[0048] Optionally, in the above-mentioned ticket search device, the first search unit includes:

[0049] A fifth search unit, configured to search the brand level field of the brand combination corresponding to the air ticket itinerary from the brand standard table;

[0050] The sixth search unit is configured to search for a target brand hierarchy field with the lowest brand hierarchy from the brand hierarchy fields of the brand combination corresponding to the air ticket itinerary, and determine the brand combination corresponding to the target brand hierarchy field as the target brand combination.

[0051] A third aspect of the present application provides an electronic device, including:

[0052] one or more processing devices;

[0053] a memory having one or more programs stored therein;

[0054] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement a passenger ticket search method as described in any one of the above.

[0055] In a fourth aspect, the present application provides a computer storage medium for storing a computer program, which, when executed, is used to implement a ticket search method as described in any one of the above items.

[0056] The present application provides a passenger ticket search method, which receives a ticket query request, wherein the ticket search request includes at least the ticket itinerary inquired by the user and the user's itinerary preference information. When the ticket itinerary inquired by the user is the first leg of the itinerary and the user uses the brand multiple call mode and the mixed brand mode, a target brand combination with the lowest brand level is searched from the brand combinations corresponding to the ticket itinerary. When the ticket itinerary inquired by the user is not the first leg of the itinerary, a selected brand combination that meets the flight combination and the selected brand information included in the ticket query request is searched from all brand combinations. The selected brand combination and the lower-level brand combination corresponding to the non-first leg of the itinerary are combined to obtain a target brand combination. Then, based on the flight information and itinerary preference information, a fare rule check is performed on the fare corresponding to the target brand combination. When the fare corresponding to the target brand combination includes a fare corresponding to a standard brand combination that passes the fare rule check, a fare result is generated based on the standard brand combination, the target flight combination, and the fare corresponding to the standard brand combination. Finally, the generated fare result is integrated and displayed. This enables the verification of the fares corresponding to the target brand combination based on the user's itinerary preference information in the mixed-brand mode, and then generates results by verifying the standard brand combination and its corresponding flight combination and fares, and feeds the results back to the user in batches. This not only meets the user's needs, but also ensures the system search performance and reduces the time users wait for results. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.

[0058] Figure 1 A flowchart of a ticket search method provided in an embodiment of the present application;

[0059] Figure 2 A schematic diagram of the structure of first-segment trip preference information provided in an embodiment of the present application;

[0060] Figure 3 A schematic diagram of the structure of non-first segment trip preference information provided in an embodiment of the present application;

[0061] Figure 4 A schematic diagram of the structure of non-first segment trip preference information provided in an embodiment of the present application;

[0062] Figure 5 A flowchart of a method for obtaining a brand combination corresponding to an air ticket itinerary provided in an embodiment of the present application;

[0063] Figure 6 A flowchart of a method for determining a target brand combination provided in an embodiment of the present application;

[0064] Figure 7 A flowchart of a method for providing feedback on freight rate results provided in another embodiment of the present application;

[0065] Figure 8 A schematic diagram of the structure of a mixed brand combination quantity comparison chart provided in an embodiment of the present application;

[0066] Figure 9 A schematic diagram of the structure of a ticket search device provided in another embodiment of the present application;

[0067] Figure 10 A schematic structural diagram of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0069] In this application, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

[0070] The embodiment of the present application provides a method for searching for a ticket, such as Figure 1 As shown, the specific steps include:

[0071] S101: Receive a flight ticket query request.

[0072] The air ticket search request at least includes the air ticket itinerary queried by the user and the user's itinerary preference information.

[0073] It should be noted that this embodiment of the application is for itineraries with two or more segments, and the user specifies a mixed-brand combination mode. In addition, in this embodiment of the application, the user will fill in their itinerary preferences based on the flight itinerary they are inquiring about. Therefore, the itinerary preference information in the flight query request will vary depending on the flight itinerary the user is inquiring about, and the subsequent fare results recommended to the user will also vary. Therefore, it is necessary to determine the flight itinerary the user is inquiring about. When the flight itinerary the user is inquiring about is the first segment of the itinerary, step S102 is executed. When the flight itinerary the user is inquiring about is not the first segment of the itinerary, step S103 is executed.

[0074] Therefore, when the flight itinerary that the user queries is the first leg of the journey, the structure diagram of the first leg preference information in the flight query request is as follows: Figure 2 As shown, the fields in the specific figure are used to record the user's itinerary preferences, where multCabinComboMode=ALL_MODE indicates that the user uses the mixed-brand combination mode, and splitVirtualCabinDisplay=ture indicates that the user has called the brand fare search multiple times.

[0075] When the flight itinerary queried by the user is not the first leg of the journey, the structural diagram of the non-first leg of the journey preference information in the flight query request is as follows: Figure 3 as well as Figure 4 As shown, Figure 3 ①Flight information, ②Brand information and Figure 4 The three parts of ③ itinerary preferences are the main fields used in this application example. Specifically, ① flight information (flights) is the information of a segment recording a trip, and the flight selected for the first and current segments of the trip needs to be specified in the ticket query request. The main contents of flight information include the marketing airline, flight number, carrier airline, flight number, origin, destination, departure and arrival date and time, aircraft model, available cabin space, etc. ② Brand information is the selected brand name filled in the corresponding itinerary. ③ Itinerary preference is a field for whether the user uses the mixed brand mode.

[0076] It should also be noted that Figure 2 、 Figure 3 as well as Figure 4 The other fields in the query mainly describe whether to return airport construction taxes and fees, whether to use multi-class search mode, whether to return horizontal fare information, whether to allow the return of airline cross-selling prices, whether to query only VIP customer fares, specify the issuing airline, the maximum number of results allowed to be returned, specify the brand combination mode, etc.

[0077] Optionally, the user can fill in his or her own travel preferences and itinerary through the query page provided by the system, and then send a flight ticket query request through the interface provided by the system.

[0078] S102. When the air ticket itinerary queried by the user is the first leg of the itinerary and the user uses the brand multiple call mode and the mixed brand mode, search for the target brand combination with the lowest brand level from the brand combinations corresponding to the air ticket itinerary.

[0079] It should be noted that when it is determined that the air ticket itinerary inquired by the user is the first leg of the itinerary, it is also necessary to determine whether the user has selected the mixed brand combination mode based on the itinerary preference information. Therefore, when the air ticket itinerary inquired by the user is the first leg of the itinerary, and the user uses the brand multiple call mode and the mixed brand mode, it is necessary to find the target brand combination with the lowest brand level from the brand combination corresponding to the air ticket itinerary. Because the higher the brand level, the higher the corresponding price, and the lower the brand level, the lower the corresponding price, so in order to improve the user experience and reduce expenses, it is necessary to find the lowest-priced target brand combination from the brand combination corresponding to the air ticket itinerary in advance.

[0080] Optionally, before searching for the target brand combination with the lowest brand level from the brand combination corresponding to the air ticket itinerary, it is necessary to first obtain the brand combination corresponding to the air ticket itinerary. Therefore, in another embodiment of the present application, Figure 5 As shown, before searching for the target brand combination with the lowest brand level from the brand combinations corresponding to the air ticket itinerary in step S102, another step is performed including:

[0081] S501. Searching for a target fare combination that meets the fare requirements in the itinerary preference information from the fare combinations corresponding to the air ticket itinerary.

[0082] The fare combination corresponding to the air ticket itinerary refers to the combination of the fares of each flight corresponding to the air ticket itinerary.

[0083] It should be noted that, since the fare combinations corresponding to the air ticket itinerary have different fares, the user will fill in the required range of the relevant fares in the itinerary preference information in advance to avoid the system recommending a higher-priced fare combination, so step S501 needs to be executed.

[0084] S502: According to the freight rate information of the target freight rate combination, search the brand corresponding to the target freight rate combination from the brand standard table.

[0085] Specifically, the fare information for a target fare combination may include the flight's origin and destination, key fare information (farebasiscode), the issuing airline, and the cabin number. The brand standard table refers to a standard table within the airline industry, used to store brand-related information. Each brand in the brand standard table has corresponding fare information. Therefore, after obtaining a target fare combination that meets user requirements, the brand corresponding to the target fare combination must be searched for in the brand standard table based on the fare information.

[0086] S503: Combine the target fare combination and the brands corresponding to the target fare combination to obtain a brand combination, and determine the brand combination as the brand combination corresponding to the air ticket itinerary.

[0087] It should be noted that only after combining the fare combination with the brand can the rights and interests corresponding to the brand fare be obtained, so step S503 needs to be executed.

[0088] Optionally, in another embodiment of the present application, a specific implementation of step S102 is as follows: Figure 6 As shown, the following steps are included:

[0089] S601. Search the brand level field of the brand combination corresponding to the air ticket itinerary from the brand standard table.

[0090] Specifically, in an embodiment of the present application, when you want to find the brand combination with the lowest brand level from the brand combination corresponding to the air ticket itinerary, you need to know the brand level field of the brand combination corresponding to the air ticket itinerary. The brand-related information data stored in the brand standard table has a special brand level field that reflects the level it belongs to. Therefore, you can find the brand level field of the brand combination corresponding to the air ticket itinerary in advance from the brand standard table.

[0091] S602: Search the target brand hierarchy field with the lowest brand hierarchy from the brand hierarchy fields of the brand combination corresponding to the air ticket itinerary, and determine the brand combination corresponding to the target brand hierarchy field as the target brand combination.

[0092] It should be noted that finding the target brand combination with the lowest brand level can, to a certain extent, streamline the query pressure of brand data, improve query efficiency, and also reduce users' spending on freight rates.

[0093] S103. When the air ticket itinerary queried by the user is not the first leg of the journey, a selected brand combination that meets the flight combination and the selected brand information included in the air ticket query request is searched from all brand combinations, and the selected brand combination and the lower-level brand combination corresponding to the non-first leg of the journey are combined to obtain a target brand combination.

[0094] It should be noted that if the air ticket itinerary inquired by the user is not the first leg of the journey, the user will select one of the brand combinations in advance based on the fare results of the previous leg of the journey fed back by the system. At the same time, in the mixed-brand mode, the brand combination and flight of the first leg of the journey are also confirmed in advance based on the user's selection. Then the user will generate a ticket query request with the inquired air ticket itinerary and the selected brand information and flight combination and send it to the system. Therefore, when the air ticket itinerary inquired by the user is not the first leg of the journey, the air ticket query request will include not only the air ticket itinerary inquired by the user and the user's itinerary preference information, but also the brand information and flight combination selected by the user.

[0095] It should also be noted that when the air ticket itinerary inquired by the user is not the first leg of the itinerary, the system needs to search for the corresponding selected brand combination from all brand combinations based on the brand information selected by the user, and combine the selected brand combination and the brand combination corresponding to the non-first leg of the itinerary. Among them, the low-level brand combination corresponding to the non-first leg of the itinerary refers to the brand combination with the lowest brand level in the brand combination corresponding to the non-first leg of the itinerary. Therefore, in order to feedback the lowest-priced brand combination to the user, it is necessary to combine the selected brand combination and the brand combination corresponding to the non-first leg of the itinerary in advance to obtain the target brand combination with the lowest price.

[0096] S104: Based on the flight information and itinerary preference information, verify the fare rules for the fare corresponding to the target brand combination.

[0097] Specifically, step S104 is performed to verify whether the fare corresponding to the target brand combination can be found and associated with the corresponding flight combination, whether the fares of multiple itineraries can be combined, whether the relevant fares can be refunded or changed, how much the handling fee is, the sales restrictions of the relevant fares, etc., and also to calculate the taxes and fees corresponding to the fare, and what kind of services the user can enjoy with the fare (e.g., a certain number of kilograms of free luggage), etc., so as to satisfy the user. In addition, brand combinations that do not meet the user's needs can be filtered out based on the user's needs in the itinerary preference information. For example, if the user has set a rule to only search for direct flights, the brand combinations corresponding to the connecting flights will be filtered out from the target brand combination.

[0098] Therefore, when there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the target brand combination, step S105 is executed.

[0099] Optionally, in the embodiment of the application, after the freight rates corresponding to the target brand combinations are verified according to the freight rate rules, there may be brand combinations that fail the freight rate rule verification. Therefore, after step S104, the following steps may be further performed:

[0100] Eliminate non-standard brand combinations in the target brand combination that fail to pass the freight rate rule verification.

[0101] Specifically, when the freight rates corresponding to the target brand combinations are verified according to the freight rate rules, there may be standard brand combinations that pass the freight rate rule verification and non-standard brand combinations that fail the freight rate rule verification in the target brand combinations. Therefore, in order to facilitate the system to directly know which standard brand combinations pass the freight rate rule verification from each target brand combination, thereby improving feedback efficiency, the non-standard brand combinations that fail the freight rate rule verification can be eliminated from each target brand combination in advance.

[0102] Optionally, in the application embodiment, after step S104, the method further includes:

[0103] When the freight rate corresponding to the target brand combination fails to pass the freight rate rule verification, the user is fed back a message indicating that no results are available.

[0104] Specifically, this information is used to promptly remind the user that there is no available brand combination for the air ticket itinerary currently being inquired about, so that the user does not have to wait for the query results.

[0105] S105. When there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the target brand combination, generate a fare result based on the standard brand combination, the target flight combination, and the fare corresponding to the standard brand combination.

[0106] Specifically, if the fares corresponding to the target brand combination include fares corresponding to standard brand combinations that have passed the fare rule verification, a fare result is generated based on the standard brand combination, the target flight combinations corresponding to the standard brand combination, and the fares, so that subsequent users can view and select them. The target flight combinations corresponding to the standard brand combination refer to the flight combinations that are associated with the standard brand combination.

[0107] S106: Integrate and display the generated freight rate results.

[0108] Optionally, the generated fare results can be integrated and displayed on an interactive interface, such as the interface of a ticket purchase app or a page on the official website of each airline.

[0109] Optionally, when the air ticket itinerary queried by the user is the first leg of the journey, it is possible that the user has not used the brand calling mode and the mixed brand mode. Therefore, in another embodiment of the present application, when the air ticket itinerary queried by the user is the first leg of the journey and the user has not used the brand calling mode and the mixed brand mode, a method for feeding back the fare result to the user is also involved. Optionally, as Figure 7 As shown, another embodiment of the present application provides a method for feedback of freight rate results, comprising the following steps:

[0110] S701. When the air ticket itinerary queried by the user is the first leg of the itinerary and the user has not used the brand calling mode or the mixed brand mode, the fare rules corresponding to the brand combination corresponding to the air ticket itinerary are verified based on the flight information and itinerary preference information.

[0111] It should be noted that if the user is querying for the first leg of a flight and has not used the brand call mode or the mixed brand mode, there is no search for the lowest brand combination. Therefore, the fare rule verification is performed directly on the fares corresponding to the brand combination corresponding to the flight. Therefore, if a fare corresponding to the brand combination corresponding to the flight exists that passes the fare rule verification, step S702 is executed.

[0112] It should also be noted that the specific implementation of step S701 can refer to step S104 accordingly, and will not be repeated here.

[0113] S702. When there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fares corresponding to the brand combination corresponding to the air ticket itinerary, generate a fare result based on the standard brand combination, the target flight combination corresponding to the standard brand combination, and the fare.

[0114] It should be noted that the specific implementation of step S702 can refer to step S105 accordingly, and will not be repeated here.

[0115] S703: Integrate and display the generated freight rate results.

[0116] It should be noted that the specific implementation of step S703 can refer to step S106 accordingly, and will not be repeated here.

[0117] In the embodiment of the present application, the user selects a brand product every time he obtains the fare result for a journey, which is conducive to continuously refining the subsequent query conditions, thereby filtering candidate data for the system.

[0118] Therefore, the system is called multiple times according to the number of itinerary segments, and the system will return the fare results corresponding to the itinerary segments in batches according to the number of itinerary segments. This allows users to see some of the available results in a shorter time, which to a certain extent avoids the problem of users waiting for a long time. Therefore, no matter how many itinerary segments there are, the method provided in the embodiment of the present application will return the fare results corresponding to the itinerary segments in batches. For example, assuming that the user's air ticket itinerary is a three-segment itinerary of Beijing-Hong Kong-Tokyo-Los Angeles, and the user chooses a mixed brand combination mode. If Beijing-Hong Kong corresponds to m brand products, Hong Kong-Tokyo corresponds to n brand products, and Tokyo-Los Angeles corresponds to z brand products, the system according to the prior art needs to find m×n×z brand combinations for rule verification, screening, and calculation. However, the method provided in the embodiment of the present application will return the results to the user in 3 times. Assuming a positive integer m≤n≤z, then the levels corresponding to brand 1 to brand z are from low to high (the corresponding prices are also from low to high).

[0119] The system first generates m lowest-level brand combinations based on m brand combinations. The first set of brand combinations includes: Brand 1-1 = (Brand 1 + Brand 1 + Brand 1), Brand 1-2 = (Brand 2 + Brand 1 + Brand 1), Brand 1-3 = (Brand 3 + Brand 1 + Brand 1), and so on, up to Brand 1-m = (Brand m + Brand 1 + Brand 1). The system verifies the rules based on these m brand combinations and presents the lowest available price. If all m brand combination products are available, the user can select one of the solutions from the first returned results for a second call.

[0120] Based on the above, the brand corresponding to the first segment of the trip has been determined (assuming the user selected brand combination 1-1). Then when processing the second request, the system faces 1×n×1 brand combination data, that is, the brand combination set for the second segment is: brand combination 2-1 = (brand 1 + brand 1 + brand 1), brand combination 2-2 = (brand 1 + brand 2 + brand 1), brand combination 2-3 = (brand 1 + brand 3 + brand 1), until brand combination 2-n = (brand 1 + brand n + brand 1). The system performs rule verification based on n brand combinations, and the user makes a second choice based on the verification results. Assuming the user selects brand combination 2-3, it can be understood that brand 1 was selected in the first segment and brand 3 was selected in the second segment.

[0121] Similarly, the brand combination data for the third time is 1×1×z, that is, the brand combination set of the third segment is: brand combination 3-1 = (brand 1 + brand 3 + brand 1), brand combination 3-2 = (brand 1 + brand 3 + brand 2), brand combination 3-3 = (brand 1 + brand 3 + brand 3), until brand combination 3-z = (brand 1 + brand 3 + brand z). The system verifies based on the above z brand combinations, and the user makes a third choice based on the verification result. Assuming that the user chooses brand combination 3-2, it can be understood that brand 1 was selected in the first segment, brand 3 was selected in the second segment, and brand 2 was selected in the third segment.

[0122] Based on the above method, the brand portfolio order of magnitude changes from the original m×n×z (approximately exponential) to (m+n+z) linear. Figure 8 The left part is the data volume effect corresponding to the system of the prior art, and the right part is the data volume effect corresponding to the method provided in the embodiment of the present application.

[0123] The present application provides a passenger ticket search method, which receives a ticket query request, wherein the ticket search request includes at least the ticket itinerary inquired by the user and the user's itinerary preference information. When the ticket itinerary inquired by the user is the first leg of the itinerary and the user uses the brand multiple call mode and the mixed brand mode, a target brand combination with the lowest brand level is searched from the brand combinations corresponding to the ticket itinerary. When the ticket itinerary inquired by the user is not the first leg of the itinerary, a selected brand combination that meets the flight combination and the selected brand information included in the ticket query request is searched from all brand combinations. The selected brand combination and the lower-level brand combination corresponding to the non-first leg of the itinerary are combined to obtain a target brand combination. Then, based on the flight information and itinerary preference information, a fare rule check is performed on the fare corresponding to the target brand combination. When the fare corresponding to the target brand combination includes a fare corresponding to a standard brand combination that passes the fare rule check, a fare result is generated based on the standard brand combination, the target flight combination, and the fare corresponding to the standard brand combination. Finally, the generated fare result is integrated and displayed. This enables the verification of the fares corresponding to the target brand combination based on the user's itinerary preference information in the mixed-brand mode, and then generates results by verifying the standard brand combination and its corresponding flight combination and fares, and feeds the results back to the user in batches. This not only meets the user's needs, but also ensures the system search performance and reduces the time users wait for results.

[0124] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0125] Although the operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.

[0126] Another embodiment of the present application provides a ticket search device, such as Figure 9As shown, it includes the following units:

[0127] The receiving unit 901 is configured to receive a flight ticket search request, wherein the flight ticket search request includes at least the flight itinerary that the user is searching for and the user's itinerary preference information.

[0128] The first search unit 902 is used to search for a target brand combination with the lowest brand level from the brand combinations corresponding to the air ticket itinerary when the air ticket itinerary queried by the user is the first leg of the itinerary and the user uses the brand multiple call mode and the mixed brand mode.

[0129] The second search unit 903 is used to search for a selected brand combination that meets the flight combination and selected brand information included in the ticket query request from all brand combinations when the flight itinerary queried by the user is not the first leg of the itinerary, and combine the selected brand combination and the lower-level brand combination corresponding to the non-first leg of the itinerary to obtain a target brand combination.

[0130] Among them, the low-level brand combination corresponding to the non-first leg of the journey refers to the brand combination with the lowest brand level among the brand combinations corresponding to the non-first leg of the journey.

[0131] The first verification unit 904 is configured to verify fare rules for the fare corresponding to the target brand combination based on the flight information and itinerary preference information.

[0132] The first generating unit 905 is configured to generate a fare result based on the standard brand combination, the target flight combination, and the fare corresponding to the standard brand combination when there is a fare corresponding to the standard brand combination that passes the fare rule verification among the fare corresponding to the target brand combination.

[0133] The first display unit 906 is used to integrate and display the generated freight rate results.

[0134] It should be noted that the specific working process of the above-mentioned units in the embodiment of the present application can refer to steps S101 to S106 in the above-mentioned method embodiment, and will not be repeated here.

[0135] Optionally, another embodiment of the present application provides a ticket search device, further comprising:

[0136] The third search unit is configured to search for a target fare combination that meets the fare requirements in the itinerary preference information from the fare combinations corresponding to the air ticket itinerary, wherein the fare combination corresponding to the air ticket itinerary refers to a combination of the fares of each flight corresponding to the air ticket itinerary.

[0137] The fourth search unit is configured to search the brand corresponding to the target fare combination from the brand standard table according to the fare information of the target fare combination.

[0138] The combination unit is used to combine the target fare combination and the brands corresponding to the target fare combination to obtain a brand combination, and determine the brand combination as the brand combination corresponding to the air ticket itinerary.

[0139] Optionally, another embodiment of the present application provides a ticket search device, further comprising:

[0140] The feedback unit is used to feedback to the user that no results are available when the freight rate corresponding to the target brand combination fails to pass the freight rate rule verification.

[0141] Optionally, another embodiment of the present application provides a ticket search device, further comprising:

[0142] The elimination unit is used to eliminate non-standard brand combinations that fail to pass the freight rate rule verification in the target brand combination.

[0143] Optionally, another embodiment of the present application provides a ticket search device, further comprising:

[0144] The second verification unit is used to verify the fare rules of the brand combination corresponding to the air ticket itinerary based on flight information and itinerary preference information when the air ticket itinerary queried by the user is the first leg of the itinerary and the user has not used the brand calling mode and the mixed brand mode.

[0145] The second generating unit is used to generate a fare result based on the standard brand combination, the target flight combination and the fare corresponding to the standard brand combination when there is a fare corresponding to the standard brand combination that has passed the fare rule verification among the fare corresponding to the brand combination corresponding to the air ticket itinerary.

[0146] The second display unit is used to integrate and display the generated freight rate results.

[0147] Optionally, in a ticket search device provided in another embodiment of the present application, the first search unit 902 includes:

[0148] The fifth search unit is used to search the brand level field of the brand combination corresponding to the air ticket itinerary from the brand standard table.

[0149] The sixth search unit is configured to search for a target brand hierarchy field with the lowest brand hierarchy from the brand hierarchy fields of the brand combination corresponding to the air ticket itinerary, and determine the brand combination corresponding to the target brand hierarchy field as the target brand combination.

[0150] It should be noted that the specific working process of each unit provided in the above embodiments of the present application can refer to the corresponding steps in the above method embodiments, and will not be repeated here.

[0151] Another embodiment of the present application provides an electronic device, such as Figure 10 , which shows a schematic structural diagram of an electronic device 1000 suitable for implementing the embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, electronic devices such as desktop computers, laptop computers, tablet computers, and vehicle-mounted terminals.

[0152] like Figure 10 As shown, the electronic device 1000 includes one or more processing devices 1001, such as a central processing unit (CPU), a graphics processing unit (GPU), etc., and a memory 1002 on which one or more programs are stored. When the one or more programs are executed by the one or more processing devices 1001, the one or more processing devices 1001 implement a ticket search method as provided in any of the above embodiments.

[0153] Optionally, the electronic device may also include other components, see also Figure 10 , the processing device 1001, the read-only memory ROM 1002 and the random access memory RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004. Typically, the following devices can be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display, a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 10 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.

[0154] Another embodiment of the present application provides a computer storage medium for storing a computer program. When the computer program is executed, it is used to implement a ticket search method as provided in any of the above embodiments.

[0155] Computer storage media includes 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 disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic 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 transitory media such as modulated data signals and carrier waves.

[0156] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0157] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for searching for passenger tickets, characterized in that: include: Receive a flight ticket query request; wherein the flight ticket query request includes at least the flight itinerary inquired by the user and the itinerary preference information of the user; When the air ticket itinerary queried by the user is the first leg of the itinerary and the user uses the brand multiple call mode and the mixed brand mode, searching for the target brand combination with the lowest brand level from the brand combinations corresponding to the air ticket itinerary; When the air ticket itinerary queried by the user is a non-first segment, searching for a selected brand combination that meets the flight combination and the selected brand information included in the air ticket query request from all brand combinations, and combining the selected brand combination with the lower-level brand combination corresponding to the non-first segment to obtain a target brand combination; wherein the lower-level brand combination corresponding to the non-first segment refers to the brand combination with the lowest brand level among the brand combinations corresponding to the non-first segment; Based on the flight information and the itinerary preference information, verify the fare rules for the fare corresponding to the target brand combination; If there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the target brand combination, a fare result is generated based on the standard brand combination, the target flight combination and the fare corresponding to the standard brand combination; Integrate and display the generated freight rate results; The step of searching for a target brand combination with the lowest brand level from the brand combinations corresponding to the air ticket itinerary includes: Find the brand level field of the brand combination corresponding to the air ticket itinerary from the brand standard table; A target brand hierarchy field with the lowest brand hierarchy is searched from the brand hierarchy fields of the brand combination corresponding to the air ticket itinerary, and the brand combination corresponding to the target brand hierarchy field is determined as the target brand combination.

2. The method according to claim 1, characterized in that Before searching for the target brand combination with the lowest brand level from the brand combinations corresponding to the air ticket itinerary, the method further includes: Searching for a target fare combination that meets the fare requirements in the itinerary preference information from the fare combinations corresponding to the air ticket itinerary; wherein the fare combination corresponding to the air ticket itinerary refers to a combination of the fares of each flight corresponding to the air ticket itinerary; According to the freight rate information of the target freight rate combination, searching the brand corresponding to the target freight rate combination from the brand standard table; The target fare combination and the brands corresponding to the target fare combination are combined to obtain a brand combination, and the brand combination is determined as the brand combination corresponding to the air ticket itinerary.

3. The method according to claim 1, characterized in that After verifying the fare rules of the fare corresponding to the target brand combination based on the flight information and the itinerary preference information, the method further includes: When the fare corresponding to the target brand combination fails to pass the fare rule verification, a message indicating that no results are available is fed back to the user.

4. The method according to claim 1, wherein After verifying the fare rules for the fare corresponding to the target brand combination based on the flight information and the itinerary preference information, the method further includes: Non-standard brand combinations that fail to pass the freight rate rule verification in the target brand combination are eliminated.

5. The method according to claim 1, wherein Also includes: When the air ticket itinerary queried by the user is the first leg of the itinerary and the user has not used the brand calling mode and the mixed brand mode, the fare rules corresponding to the brand combination corresponding to the air ticket itinerary are verified based on the flight information and the itinerary preference information; When there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the brand combination corresponding to the ticket itinerary, generating a fare result based on the standard brand combination, the target flight combination and the fare corresponding to the standard brand combination; The generated freight rate results are integrated and displayed.

6. A ticket search device, characterized in that: include: A receiving unit, configured to receive a ticket query request; wherein the ticket query request includes at least the ticket itinerary queried by the user and the itinerary preference information of the user; A first search unit is configured to search for a target brand combination with the lowest brand level from among the brand combinations corresponding to the air ticket itinerary when the air ticket itinerary queried by the user is the first leg of the itinerary and the user uses a brand multiple call mode and a mixed brand mode; A second search unit is configured to, when the air ticket itinerary queried by the user is a non-first segment, search from all brand combinations for a selected brand combination that matches the flight combination and the selected brand information included in the air ticket query request, and combine the selected brand combination with a lower-level brand combination corresponding to the non-first segment to obtain a target brand combination; wherein the lower-level brand combination corresponding to the non-first segment refers to a brand combination with the lowest brand level among the brand combinations corresponding to the non-first segment; a first verification unit, configured to verify fare rules for the fare corresponding to the target brand combination based on the flight information and the itinerary preference information; A first generating unit is configured to generate a fare result based on the standard brand combination, the target flight combination, and the fare corresponding to the standard brand combination when there is a fare corresponding to a standard brand combination that passes the fare rule verification among the fare corresponding to the target brand combination; The first display unit is used to integrate and display the generated freight rate results; The first search unit includes: A fifth search unit, configured to search the brand level field of the brand combination corresponding to the air ticket itinerary from the brand standard table; The sixth search unit is configured to search for a target brand hierarchy field with the lowest brand hierarchy from the brand hierarchy fields of the brand combination corresponding to the air ticket itinerary, and determine the brand combination corresponding to the target brand hierarchy field as the target brand combination.

7. The device according to claim 6, characterized in that Also includes: a third searching unit configured to search, from the fare combinations corresponding to the air ticket itinerary, for a target fare combination that meets the fare requirements in the itinerary preference information; wherein the fare combination corresponding to the air ticket itinerary refers to a combination of fares for each flight corresponding to the air ticket itinerary; a fourth searching unit, configured to search a brand corresponding to the target fare combination from a brand standard table according to the fare information of the target fare combination; The combining unit is configured to combine the target fare combination and the brands corresponding to the target fare combination to obtain a brand combination, and determine the brand combination as the brand combination corresponding to the air ticket itinerary.

8. An electronic device, characterized in that: include: one or more processing devices; a memory having one or more programs stored therein; When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement a passenger ticket search method as described in any one of claims 1 to 5.

9. A computer storage medium, characterized in that Used to store a computer program, which, when executed, is used to implement a ticket search method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Brand freight rate query method and device, storage medium and equipment

    CN114331527A

  • Air ticket selling price information acquisition method and device, storage medium and electronic equipment

    CN116468466A