Freight rate search method, device, electronic device and computer storage medium
By adding split airports between the departure airport and the arrival airport, determining the itinerary split routes and accumulating freight rates, the problem of fewer target flights in the existing technology is solved, and more ticket options are provided to meet the diverse needs of users. .
Patent Information
- Application Number
- CN202010819360.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-14
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-08-14
AI Technical Summary
Existing air ticket search websites have difficulty meeting the diverse needs of users when there are few target flights that meet specific conditions, and the search results provided have fewer optional flights and fares.
By adding split airports between the departure airport and arrival airport, determine the itinerary split route, and accumulate the fares between each two adjacent airports, providing more optional routes and fare search results.
Optional routes and fare options from the departure airport to the airport have been added to meet the diverse needs of users when purchasing air tickets.
Smart Images

Figure CN111949880B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a freight rate search method, device, electronic equipment and computer storage medium. Background Art
[0002] With the development of society, more and more passengers tend to choose to travel by plane, so there are many websites that provide ticket inquiry and sales services on the Internet. Users who need to buy air tickets can enter the departure airport and arrival airport on these websites, and then search on the website which flights fly from the departure airport to the arrival airport, as well as the fare of each flight, that is, the price of the ticket.
[0003] When searching on current websites, generally, the websites search for the scheduled flights provided by various airlines and find the flights whose departure airport is the same as the user's departure airport and whose arrival airport is the same as the user's arrival airport as the target flights, and then display all the target flights and their fares to the users as search results.
[0004] When there are few target flights that meet the above conditions, the search results obtained in this way will have fewer optional flights and fares, making it difficult to meet the diverse needs of users. Summary of the invention
[0005] In view of the problems existing in the above-mentioned prior art, the present application provides a fare search method, device, electronic device and computer storage medium, so as to provide users with more alternative travel plans and fares.
[0006] The present application provides a freight rate search method, which is characterized by comprising:
[0007] Determine at least one trip splitting route according to the departure airport and the arrival airport included in the target trip currently specified by the user; wherein the trip splitting route includes the departure airport, the arrival airport, and at least one splitting airport located between the departure airport and the arrival airport;
[0008] For each of the split itinerary routes, the fare between each two adjacent airports in the split itinerary route is accumulated to obtain the route fare corresponding to the split itinerary route;
[0009] Pushing the fare search result corresponding to the target itinerary to the current user; wherein the fare search result includes each of the itinerary split routes and the corresponding route fare.
[0010] The present application also provides a freight rate search device, comprising:
[0011] a determining unit, configured to determine at least one itinerary splitting route according to a departure airport and an arrival airport included in a target itinerary currently specified by a user; wherein the itinerary splitting route includes the departure airport, the arrival airport, and at least one splitting airport located between the departure airport and the arrival airport;
[0012] A calculation unit, for each of the split itinerary routes, adds up the fare between each two adjacent airports in the split itinerary route to obtain the route fare corresponding to the split itinerary route;
[0013] A push unit is used to push the fare search result corresponding to the target itinerary to the current user; wherein the fare search result includes each of the itinerary split routes and the corresponding route fare.
[0014] The present application further provides a computer storage medium for storing a computer program, and when the computer program is executed, it is used to implement the freight rate search method provided by the present application.
[0015] The present application further provides an electronic device, characterized in that it includes a memory and a processor;
[0016] Among them, the memory is used to store computer programs, and the processor is used to execute the computer program, specifically to implement the freight rate search method provided in this application.
[0017] The present application provides a fare search method, device, electronic device and computer storage medium, the method comprising: determining at least one itinerary splitting route according to the departure airport and arrival airport included in the target itinerary specified by the current user; the itinerary splitting route includes the departure airport, the arrival airport, and at least one splitting airport located between the departure airport and the arrival airport; for each itinerary splitting route, accumulating the fares between every two adjacent airports in the itinerary splitting route to obtain the route fare corresponding to the itinerary splitting route; pushing the fare search result corresponding to the target itinerary to the current user; the fare search result includes each itinerary splitting route and the corresponding route fare. This solution provides users with more optional routes and corresponding fares from the departure airport to the arrival airport by adding splitting airports between the departure airport and the arrival airport, thereby meeting the diverse needs when purchasing air tickets. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0019] Figure 1 A flow chart of a freight rate search method provided in an embodiment of the present application;
[0020] Figure 2 A schematic diagram of a system for determining split airports provided in an embodiment of the present application;
[0021] Figure 3 A flowchart of a method for constructing a split airport database provided in an embodiment of the present application;
[0022] Figure 4 A schematic diagram of the structure of a freight rate search device provided in an embodiment of the present application;
[0023] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0025] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0026] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0027] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0028] The following is an explanation of the execution process of the freight rate search method provided by the present application with reference to the accompanying drawings.
[0029] First, please refer to Figure 1 , the embodiment of the present application provides a freight rate search method, which may include the following steps:
[0030] S101. Determine at least one itinerary splitting route according to a departure airport and an arrival airport included in a target itinerary currently specified by a user.
[0031] The itinerary splitting route includes a departure airport, an arrival airport, and at least one split airport located between the departure airport and the arrival airport.
[0032] The specific implementation method of step S101 may be:
[0033] Each first split airport and each split airport combination corresponding to the target itinerary are retrieved from a pre-built split airport database.
[0034] The split airport combination includes a first split airport corresponding to the target itinerary and a second split airport corresponding to a sub-trip obtained by splitting the target itinerary with the first split airport.
[0035] For each first split airport, merge the first split airport, the departure airport, and the arrival airport to obtain a trip split route.
[0036] In addition, for each split airport combination, the split airport, departure airport and arrival airport included in the split airport combination are merged to obtain a trip split route.
[0037] The split airport database is a pre-built database, which stores a number of first split airports corresponding to each available itinerary and a number of split airport combinations.
[0038] It should be noted that a trip may have no corresponding first split airport and split airport combination, or may have at least one first split airport and at least one split airport combination.
[0039] The first split airport and the split airport combination of each itinerary stored in the split airport database may be expressed in the form of the following Table 1:
[0040] Table 1
[0041]
[0042] Optionally, as shown in Table 1 above, each itinerary may also have a corresponding designated split airport of a specific airline. If the current user enters the itinerary and also specifies to take a flight of a specific airline, then the designated split airport for the itinerary entered by the current user and the designated airline stored in the database may be used as the first split airport of the itinerary.
[0043] In the third column of Table 1, each of the two identifiers in the brackets is the identifier of the two airports that constitute a split airport combination. For example, (bx1, bx2) means that for the itinerary determined by airport A and airport B, airport bx1 and airport bx2 can be used as a split airport combination of the itinerary.
[0044] Taking the itinerary determined by airport A and airport B as an example, the original itinerary route is from airport A to airport B (or from airport B to airport A). After obtaining the first split airport ax1 of the itinerary, this first split airport is combined with the departure airport and arrival airport in the itinerary, that is, airport A and airport B, to obtain a itinerary split route, that is, flying from airport A to airport ax1, and then flying from airport ax1 to airport B.
[0045] Similarly, by combining a split airport combination (bx1, bx2) of the itinerary with the departure airport and arrival airport combination of the itinerary, we can also get a split itinerary route: fly from airport A to airport bx1, from airport bx1 to airport bx2, and then from airport bx2 to airport B.
[0046] After obtaining the itinerary input by the user, the departure airport and arrival airport in the itinerary input by the user are respectively merged with the first split airport and the split airport combination corresponding to the itinerary in the above manner, so that an itinerary split route can be obtained, which still uses the departure airport and arrival airport input by the user as the starting point and the end point, and adds 1 or 2 transfer airports between the starting point and the end point.
[0047] S102: For each split itinerary route, the fare between every two adjacent airports in the split itinerary route is accumulated to obtain the route fare corresponding to the split itinerary route.
[0048] According to the itinerary splitting routes obtained in step S101, each itinerary splitting route includes 2 to 4 airports. To complete a itinerary splitting route, you need to fly to the next airport one by one from the departure airport until you reach the arrival airport input by the user. It can be understood that each time you fly from one airport to another, you need to buy a ticket of the corresponding price, that is, you need to pay the corresponding fare. By adding up each fare to be paid for the entire itinerary splitting route, you can get the route fare of the itinerary splitting route. The route fare here can be understood as the fare that the current user needs to pay at least when flying from the departure airport to the arrival airport according to the trajectory specified by a itinerary splitting route.
[0049] Specifically, for every two adjacent airports on a split route of an itinerary, if the user does not specify the time period for flight, the fare between the two airports will be the fare of the flight with the lowest fare between the two airports. If the user specifies the time period for flight, the fare between the two airports will be the fare of the flight with the lowest fare among all flights that meet the time period specified by the user.
[0050] S103: Push the fare search results corresponding to the target itinerary to the current user.
[0051] The fare search results include each itinerary split route and the corresponding route fare.
[0052] The fare search method described in the embodiment of the present application can be executed by a server for providing corresponding services. The server can receive the target itinerary sent by the client, and then obtain the corresponding search results by executing the method provided in this embodiment, and push the search results to the client, so that the client displays the search results on the display device.
[0053] Taking the itinerary determined by Airport A and Airport B in Table 1 as an example, it can be seen that the itinerary corresponds to two first split airports and two split airport combinations, which can generate four itinerary split routes, plus the original route from Airport A directly to Airport B, a total of 5 routes, then the corresponding search results can be displayed in the following form:
[0054] Route 1: Airport A to Airport ax1, Airport ax1 to Airport B, total freight rate: S1;
[0055] Route 2: Airport A to Airport ax2, Airport ax1 to Airport B, total freight rate: S2;
[0056] Route 3: Airport A to Airport BX1, Airport BX1 to Airport BX2, Airport BX2 to Airport B, total price: S3;
[0057] Route 4: Airport A to Airport BX3, Airport BX3 to Airport BX4, Airport BX4 to Airport B, total price: S4;
[0058] Route 5: Airport A to Airport B, total freight rate: S5.
[0059] The present application provides a fare search method, the method comprising: determining at least one itinerary splitting route according to a departure airport and an arrival airport included in a target itinerary specified by a current user; the itinerary splitting route comprises a departure airport, an arrival airport, and at least one splitting airport located between the departure airport and the arrival airport; for each itinerary splitting route, accumulating the fares between every two adjacent airports in the itinerary splitting route to obtain a route fare corresponding to the itinerary splitting route; pushing a fare search result corresponding to the target itinerary to the current user; the fare search result comprises each itinerary splitting route and a corresponding route fare.
[0060] From the search results displayed in step S103, it can be found that compared with the prior art that only displays the route from airport A to airport B and the corresponding fares, this solution provides users with more optional routes and corresponding fares from the departure airport to the arrival airport by adding a split airport between the departure airport and the arrival airport, thereby meeting the diverse needs when purchasing air tickets.
[0061] The split airport database in the above embodiment can be achieved by Figure 2 The system build shown.
[0062] Figure 2 The system shown includes three parts: data storage component, computing engine component and split airport database. Among them, the data storage component includes:
[0063] Geographic location storage component: a data file stored in the system, which stores geographic information and implements geographic restrictions based on the acquired geographic information;
[0064] Active Airport Storage Component: A data file stored in the system that stores the geographical information of currently active airports and countries.
[0065] An active airport refers to an airport that is currently in use, that is, an airport with multiple flights taking off and landing.
[0066] The distance storage component is used to store the flight mileage between every two airports.
[0067] The price storage component is used to store the minimum fare between every two airports. For any two airports, there may be different fares (i.e. ticket prices) for flying from one airport to another airport depending on the flight period and airline. The price storage component is used to store the lowest fare.
[0068] It should be noted that the lowest freight rate between every two airports stored in the price storage component can be automatically updated at certain time intervals.
[0069] The connection number storage component is used to store the minimum number of connections between each two active airports. The minimum number of connections between two airports refers to the number of flights required to fly from one airport to another airport minus 1.
[0070] The route storage component is used to store the fare information between every two active airports. In the method provided in the present application, for every two active airports, the lowest fare between the two active airports can be obtained by traversing each set of fare information between the two active airports in the route storage component, thereby generating the aforementioned price storage component.
[0071] The computing engine component is composed of multiple computing nodes (which can be considered as computer devices) connected through a network. These computing nodes can read data from the aforementioned data storage component and execute the following operations based on the read data: Figure 3 The method in the illustrated embodiment is to determine the split airports and split airport combinations between every two active airports, and write every two active airports, the first split airport corresponding to the two active airports, the airline's designated split airport, and the split airport combination into a split airport database.
[0072] In summary, if Figure 2 The system shown can predetermine the split airports and split airport combinations corresponding to every two active airports based on the data in the data storage component, thereby supporting Figure 1 The illustrated method provides users with richer search results.
[0073] Please refer to Figure 3 , the present application embodiment provides a method based on Figure 2 The method for constructing a split airport database implemented by the system shown may include the following steps:
[0074] S301. For each itinerary, detect each other airport in the airport database that meets the first splitting condition of the itinerary, and use it as the first splitting airport of the itinerary.
[0075] Among them, other airports refer to every airport other than the departure airport and arrival airport of the itinerary.
[0076] The airport database in step S301 is equivalent to Figure 2 The active airport storage component in the system shown, the airports stored in the airport database are Figure 2 Active airports stored in the active airport storage component are shown.
[0077] A trip can consist of any two active airports located in different locations. When determining the split airports corresponding to the trip, any active airport of the trip can be used as the departure airport and the other active airport as the arrival airport.
[0078] The specific implementation method of step S301 may be:
[0079] After determining a trip, for each other airport, that is, for each active airport except the two active airports included in this trip (represented as Airport A and Airport B), it is determined in turn whether the other airports meet the geographical location constraint, distance constraint, price constraint and minimum connection number constraint of the trip consisting of Airport A and Airport B.
[0080] For any other airport (referred to as Airport C), the geographic location constraint means that the location of Airport C is a location in the pre-set location set. For example, multiple cities can be added to the location set in advance, and it is stipulated that only airports located in these cities can be used as split airports, and airports in other cities except the cities in the location set cannot be used as split airports.
[0081] Based on this, judging whether airport C satisfies the geographical location constraint can essentially be to judge whether the city where airport C is located belongs to a city in a pre-set location set. If so, airport C satisfies the geographical location constraint; if not, airport C does not satisfy the geographical location constraint.
[0082] The distance constraint means that after adding Airport C, the total mileage obtained by adding the shortest mileage from Airport A to Airport C and the shortest mileage from Airport C to Airport B should be less than the preset first distance threshold compared to the shortest mileage from Airport A directly to Airport B. In other words, adding a split airport between the departure airport and the arrival airport of the original itinerary will inevitably lead to an increase in the overall flight mileage, and the distance constraint is to control the incremental flight mileage caused by adding a split airport within a certain range.
[0083] Assume that the shortest distance from airport A to airport B is S(AB), the shortest distance from airport A to airport C is S(AC), and the shortest distance from airport C to airport B is S(CB). Then, if the result of S(AC)+S(CB)-S(AB) is less than the first distance threshold, airport C meets the distance constraint. Otherwise, if the above calculation result is greater than or equal to the first distance threshold, airport C does not meet the distance constraint.
[0084] The price constraint means that after adding Airport C, the total fare obtained by adding the fare from Airport A to Airport C and the fare from Airport C to Airport B, compared with the fare for flying directly from Airport A to Airport B, the difference between the two should be less than the preset first price difference threshold.
[0085] It should be noted that after adding Airport C to the original itinerary from Airport A to Airport B (or from Airport B to Airport A), the total fare may be higher or lower than the original fare. Therefore, when judging whether Airport C meets the price constraint, the fare from Airport A to Airport B is recorded as Fare(AB), the fare from Airport A to Airport C is recorded as Fare(AC), and the fare from Airport C to Airport B is recorded as Fare(CB). If these fares meet the following formula:
[0086] |Fare(AC)+Fare(CB)-Fare(AB)|≤F1
[0087] It is determined that Airport C meets the price constraint. Otherwise, if the above freight rate does not meet the formula, it is determined that Airport C does not meet the price constraint. Where F1 is the first price difference threshold.
[0088] For any two airports, the total number of flights required to reach Airport B from Airport A minus 1 is recorded as the minimum number of connections between the two airports (the minimum number of connections between two airports with direct flights is 0). The minimum number of connections constraint means that for Airport C, the minimum number of connections from Airport A to Airport C plus the minimum number of connections from Airport C to Airport B must be less than or equal to the minimum number of connections from Airport A to Airport B plus 1. If this constraint is met, then Airport C is judged to meet the minimum number of connections constraint.
[0089] For any other airport C, if airport C does not satisfy any one or more of the above four constraints, it is determined that airport C does not satisfy the first split condition of the itinerary consisting of airport A and airport B. Conversely, if airport C satisfies each of the above constraints, it is determined that airport C satisfies the first split condition of the itinerary consisting of airport A and airport B, and airport C is recorded as a first split airport of the itinerary (i.e., singlesplitPoints).
[0090] S302: For each itinerary, detect and obtain the second split airport corresponding to each first split airport of the itinerary.
[0091] For an itinerary determined by airport A and airport B, after obtaining a first split airport C of the itinerary, the itinerary can be split into two sub-trips using the first split airport, namely, a sub-trip determined by airport A and airport C, and a sub-trip determined by airport C and airport B.
[0092] After obtaining the two sub-trips, the process described in step S301 may be performed on the two sub-trips respectively to detect and obtain the corresponding second split airport of each sub-trip.
[0093] That is, for the sub-trip determined by airports A and C, if airport D is detected as another airport other than airports A, B and C that meets the first splitting condition of this sub-trip (as described in step S301), then airport D is recorded as a second splitting airport of this sub-trip.
[0094] In this way, after determining a first split airport, K second split airports corresponding to the first split airport can be obtained, where K is an integer greater than or equal to 0. That is to say, for a first split airport of a certain itinerary, there may be no corresponding second split airport, or there may be multiple corresponding second split airports.
[0095] S303: For each itinerary, detect a combination of a first splitting airport and a corresponding second splitting airport that meets the second splitting condition of the itinerary, and use the combination as the splitting airport combination of the itinerary.
[0096] Through step S301 and step S302, for any itinerary (taking the itinerary determined by airport A and airport B as an example), each first split airport corresponding to the itinerary and each second split airport corresponding to the first split airport can be determined.
[0097] On this basis, for each first split airport of the itinerary, the first split airport can be combined with a corresponding second split airport, and then it is determined whether the combination meets the second split condition of the itinerary. If the combination of a first split airport and a corresponding second split airport meets the second split condition of the itinerary, then the combination is determined as a split airport combination of the itinerary.
[0098] For example, the itinerary determined by Airport A and Airport B has an airport C as its corresponding first split airport, and Airport C has an airport D as its corresponding second split airport. Thus, it can be determined whether Airport C and Airport D meet the second split condition of the itinerary determined by Airport A and Airport B. If the second split condition is met, Airport C and Airport D will be determined as a split airport combination of the itinerary determined by Airport A and Airport B.
[0099] Specifically, the second splitting condition includes:
[0100] Distance constraint. In the second splitting condition, the distance constraint means that for the two airports to be detected, it is determined whether the sum of the shortest mileage of the entire trip split routes after adding these two airports is less than the second distance threshold relative to the increment of the shortest mileage of the trip without adding these two airports. If it is less than the second distance threshold, it is determined that the two detected airports meet the distance constraint of the second splitting condition. Conversely, if it is greater than or equal to the second distance threshold, it is determined that the two detected airports do not meet the second distance threshold of the second splitting condition.
[0101] For example, for a trip determined by Airport A and Airport B, assuming that Airport C and Airport D are two airports that need to be detected, then the sum of the shortest mileage Sum can be calculated using the following formula:
[0102] Sum = S(AC) + S(CD) + S(DB)
[0103] Among them, S(AC) represents the shortest distance from airport A to airport C, S(CD) represents the shortest distance from airport C to airport D, and S(DB) represents the shortest distance from airport D to airport B.
[0104] The distance constraint refers to whether the calculation result obtained by Sum-S(AB) is less than the second distance threshold. If the calculation result is less than the second distance threshold, it indicates that airport C and airport D meet the distance constraint. Otherwise, if the calculation result is greater than or equal to the second distance threshold, it indicates that airport C and airport D do not meet the distance constraint.
[0105] Price constraint. In the second splitting condition, the price constraint means, for the two airports to be detected, whether the absolute value of the difference between the total fare of the split routes of the entire itinerary after adding these two airports and the fare of the itinerary without adding these two airports is less than the second price threshold.
[0106] Combining the above example, the total freight rate after adding the two detected airports is recorded as Fare:
[0107] Fare=Fare(AC)+Fare(CD)+Fare(DB)
[0108] Among them, Fare (AC) represents the freight rate from Airport A to Airport C, Fare (CD) represents the freight rate from Airport C to Airport D, and Fare (DB) represents the freight rate from Airport D to Airport B.
[0109] If the absolute value of Fare-Fare(AB) is less than the second price threshold, it is determined that airport C and airport D meet the price constraint. Conversely, if the absolute value of Fare-Fare(AB) is greater than or equal to the second price threshold, it is determined that airport C and airport D do not meet the price constraint.
[0110] Minimum connection number constraint. In the second splitting condition, if after adding the two airports to be tested, the minimum number of connections in the itinerary splitting route after adding the two airports is less than or equal to the minimum number of connections before adding the two airports plus 2, if this constraint is met, it is determined that the two airports to be tested meet the minimum connection number constraint of the second splitting condition.
[0111] In combination with the previous example, if the minimum number of connections from airport A to airport C, plus the minimum number of connections from airport C to airport D, plus the sum of the minimum number of connections from airport D to airport B, needs to be less than or equal to the minimum number of connections from airport A to airport B plus 2, if this constraint is met, it is determined that the two detected airports meet the minimum number of connections constraint of the second split condition.
[0112] For each combination of a first split airport and a corresponding second split airport, if the combination satisfies each constraint of the above-mentioned second split condition, it is judged that the combination satisfies the second split condition, and the combination is determined as a split airport combination of the corresponding itinerary (i.e., doublesplitPoints); conversely, if the combination does not satisfy any one or more constraints in the second split condition, the combination is not a split airport combination of the corresponding itinerary.
[0113] Optionally, in step S301, if for a specific itinerary (assuming that the departure airport and the arrival airport are airport A and airport B respectively), one or more other airports are detected that meet the geographical location constraints and distance constraints, but do not meet the price constraints or the minimum number of connections constraints, the price constraints and the minimum number of connections constraints can be modified using the configuration information set for the target airline, and then it is determined whether the other airports meet the modified price constraints and the minimum number of connections constraints.
[0114] The target airline may be one or more airlines designated in advance according to actual conditions.
[0115] Assume that there is an airport E that satisfies the geographical location constraint and the distance constraint in the itinerary determined by airports A and B, but does not satisfy the price constraint and the minimum number of connections constraint. Then, the price constraint and the minimum number of connections constraint can be modified using the configuration information of the target airline. Specifically, the first price threshold in the price constraint and the first connection threshold in the minimum number of connections constraint can be modified, and then it is determined whether airport E satisfies the modified price constraint and the minimum number of connections constraint. If airport E satisfies the modified price constraint and the minimum number of connections constraint, then airport E can be determined as the designated split airport (i.e., carriersplitPoint) of the target airline corresponding to the itinerary determined by airports A and B.
[0116] Among them, when the departure airport and arrival airport input by the user are Airport A and Airport B (or Airport B and Airport A), and specify to take the flight of the target airline, the designated split airport of the target airline corresponding to the itinerary can be used as the first split airport of the itinerary. In other words, the search results provided to the user include the itinerary split routes consisting of the departure airport, the arrival airport and the designated split airports of the target airline and the corresponding fares.
[0117] Although 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.
[0118] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0119] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart 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.
[0121] In combination with the method provided in any embodiment of the present application, the present application embodiment also provides a fare search device, please refer to Figure 4 , the device may include the following units:
[0122] The determining unit 401 is used to determine at least one itinerary splitting route according to the departure airport and the arrival airport included in the target itinerary currently specified by the user.
[0123] The itinerary splitting route includes a departure airport, an arrival airport, and at least one split airport located between the departure airport and the arrival airport.
[0124] The calculation unit 402 is used for accumulating the fare between every two adjacent airports in each itinerary split route to obtain the route fare corresponding to the itinerary split route.
[0125] The push unit 403 is used to push the fare search result corresponding to the target itinerary to the current user.
[0126] The fare search results include each itinerary split route and the corresponding route fare.
[0127] The determining unit 401 includes:
[0128] Construction unit, used to construct split airport database;
[0129] A retrieval unit is used to retrieve each first split airport and each split airport combination corresponding to the target itinerary from the split airport database; wherein the split airport combination includes the first split airport corresponding to the target itinerary and the second split airport corresponding to the sub-trip obtained by splitting the target itinerary with the first split airport;
[0130] The merging unit is used to merge the first split airport, the departure airport and the arrival airport for each first split airport to obtain a trip split route, and, for each split airport combination, merge the split airport, the departure airport and the arrival airport included in the split airport combination to obtain a trip split route.
[0131] When constructing a split airport database, the construction unit is specifically used to:
[0132] For each trip, check whether other airports in the airport database meet the first splitting condition of the trip, and determine other airports that meet the splitting condition of the trip as the first splitting airport of the trip; where other airports refer to each airport except the departure airport and the arrival airport of the trip;
[0133] For each trip, detecting whether each airport in the airport database, except the departure airport, the arrival airport and the first splitting airport of the trip, meets the first splitting condition of the sub-trips obtained by splitting the trip with the first splitting airport, and determining each airport that meets the first splitting condition of the sub-trip as the second splitting airport of the sub-trip;
[0134] For each itinerary, if the combination of the first split airport of the itinerary and the second split airport of the sub-item split by the first split airport meets the second split condition of the itinerary, the first split airport and the second split airport are determined as a split airport combination of the itinerary.
[0135] When the construction unit detects whether other airports in the airport database meet the first splitting condition of the itinerary, it is specifically used to:
[0136] Determine whether other airports meet the itinerary's geographical constraints, distance constraints, price constraints, and minimum number of connections constraints;
[0137] If there is at least one constraint that other airports do not satisfy, then it is detected that other airports do not satisfy the first splitting condition of the itinerary;
[0138] If other airports satisfy each constraint, it is detected that other airports satisfy the first splitting condition of the itinerary.
[0139] Building blocks are also used to:
[0140] If other airports meet the geographical location constraint and the distance constraint, but do not meet the price constraint or the minimum number of connections constraint, modify the price constraint and the minimum number of connections constraint using the configuration information set for the target airline;
[0141] Determine whether other airports meet the modified price constraint and the modified minimum connection number constraint;
[0142] If other airports meet the modified price constraint and the modified minimum number of connections constraint, the other airports are determined as designated split airports for the target airline;
[0143] When the current user specifies to take a flight of a target airline, the designated split airport of the target airline is used as the first split airport of the target itinerary.
[0144] The present application provides a fare search device, wherein a determination unit 401 determines at least one itinerary split route according to the departure airport and arrival airport included in the target itinerary specified by the current user; the itinerary split route includes the departure airport, the arrival airport, and at least one split airport located between the departure airport and the arrival airport; the calculation unit 402 accumulates the fares between every two adjacent airports in the itinerary split route for each itinerary split route to obtain the route fare corresponding to the itinerary split route; the push unit 403 pushes the fare search result corresponding to the target itinerary to the current user; the fare search result includes each itinerary split route and the corresponding route fare. This solution provides users with more optional routes and corresponding fares from the departure airport to the arrival airport by adding split airports between the departure airport and the arrival airport, thereby meeting the diverse needs of users when purchasing air tickets.
[0145] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0146] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0147] The present application also provides an electronic device suitable for implementing the present disclosure embodiment. The structural diagram of the electronic device is as follows: Figure 5 The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0148] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 506 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0149] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 506 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0150] An embodiment of the present application also provides a computer-readable medium, which carries one or more programs. When the above one or more programs are executed by the electronic device, the electronic device executes the fare search method provided by any embodiment of the present application.
[0151] In the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0152] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0153] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0154] According to one or more embodiments of the present disclosure, the present application Figure 1 The illustrated embodiment provides a method for searching freight rates, comprising:
[0155] Determine at least one trip splitting route according to the departure airport and the arrival airport included in the target trip currently specified by the user; wherein the trip splitting route includes the departure airport, the arrival airport, and at least one splitting airport located between the departure airport and the arrival airport;
[0156] For each of the split itinerary routes, the fare between each two adjacent airports in the split itinerary route is accumulated to obtain the route fare corresponding to the split itinerary route;
[0157] Pushing the fare search result corresponding to the target itinerary to the current user; wherein the fare search result includes each of the itinerary split routes and the corresponding route fare.
[0158] According to one or more embodiments of the present disclosure, Figure 1 In the method provided in the illustrated embodiment, determining at least one itinerary splitting route according to the departure airport and the arrival airport included in the target itinerary of the current user includes:
[0159] Retrieving each first split airport and each split airport combination corresponding to the target itinerary from a pre-constructed split airport database; wherein the split airport combination includes the first split airport corresponding to the target itinerary and the second split airport corresponding to the sub-trip obtained by splitting the target itinerary with the first split airport;
[0160] For each of the first split airports, the first split airport, the departure airport and the arrival airport are merged to obtain a trip split route, and for each of the split airport combinations, the split airports, the departure airport and the arrival airport included in the split airport combination are merged to obtain a trip split route.
[0161] According to one or more embodiments of the present disclosure, Figure 3 The illustrated embodiment provides a method for constructing a split airport database in the above-mentioned fare search method, the method comprising:
[0162] For each trip, detecting whether other airports in the airport database meet the first splitting condition of the trip, and determining other airports that meet the first splitting condition of the trip as the first splitting airport of the trip; wherein the other airports refer to each airport except the departure airport and the arrival airport of the trip;
[0163] For each itinerary, detecting whether each airport in the airport database, except the departure airport, the arrival airport and the first split airport of the itinerary, meets the first splitting condition of the sub-trips obtained by splitting the itinerary with the first splitting airport, and determining each airport that meets the first splitting condition of the sub-trip as the second splitting airport of the sub-trip;
[0164] For each itinerary, if a combination of a first split airport of the itinerary and a second split airport of a sub-itinerary obtained by splitting the first split airport meets a second splitting condition of the itinerary, the first split airport and the second split airport are determined as a split airport combination of the itinerary.
[0165] According to one or more embodiments of the present disclosure, Figure 3In the method for constructing a split airport database provided by the illustrated embodiment, the step of detecting whether other airports in the airport database meet the first splitting condition of the itinerary includes:
[0166] Determine whether other airports meet the geographical location constraints, distance constraints, price constraints and minimum number of connections constraints of the itinerary;
[0167] If there is at least one constraint that the other airport does not satisfy, detecting that the other airport does not satisfy the first splitting condition of the itinerary;
[0168] If the other airport satisfies each of the constraints, it is detected that the other airport satisfies the first splitting condition of the itinerary.
[0169] According to one or more embodiments of the present disclosure, Figure 3 In the method for constructing a split airport database provided by the illustrated embodiment, after determining whether other airports meet the geographical location constraint, distance constraint, price constraint and minimum connection number constraint of the itinerary, the method further includes:
[0170] If the other airports satisfy the geographical location constraint and the distance constraint, but do not satisfy the price constraint or the minimum number of connections constraint, modify the price constraint and the minimum number of connections constraint using the configuration information set for the target airline;
[0171] Determining whether the other airports satisfy the modified price constraint and the modified minimum connection number constraint;
[0172] If the other airport satisfies the modified price constraint and the modified minimum connection number constraint, determining the other airport as a designated split airport of the target airline;
[0173] When the current user specifies to take a flight of the target airline, the designated split airport of the target airline is used as the first split airport of the target itinerary.
[0174] According to one or more embodiments of the present disclosure, Figure 4 The embodiment shown provides a freight rate search device, which includes:
[0175] a determining unit, configured to determine at least one itinerary splitting route according to a departure airport and an arrival airport included in a target itinerary currently specified by a user; wherein the itinerary splitting route includes the departure airport, the arrival airport, and at least one splitting airport located between the departure airport and the arrival airport;
[0176] A calculation unit, for each of the split itinerary routes, adds up the fare between each two adjacent airports in the split itinerary route to obtain the route fare corresponding to the split itinerary route;
[0177] A push unit is used to push the fare search result corresponding to the target itinerary to the current user; wherein the fare search result includes each of the itinerary split routes and the corresponding route fare.
[0178] According to one or more embodiments of the present disclosure, Figure 4 In the fare search device provided in the illustrated embodiment, the determining unit includes:
[0179] Construction unit, used to construct split airport database;
[0180] a retrieval unit, configured to retrieve each first split airport and each split airport combination corresponding to the target itinerary from the split airport database; wherein the split airport combination includes the first split airport corresponding to the target itinerary and the second split airport corresponding to the sub-trip obtained by splitting the target itinerary with the first split airport;
[0181] The merging unit is used to merge the first split airport, the departure airport and the arrival airport for each of the first split airports to obtain a trip split route, and, for each of the split airport combinations, merge the split airports, the departure airport and the arrival airport included in the split airport combination to obtain a trip split route.
[0182] According to one or more embodiments of the present disclosure, Figure 4 In the fare search device provided in the embodiment shown, when the construction unit constructs the split airport database, it is specifically used to:
[0183] For each trip, detecting whether other airports in the airport database meet the first splitting condition of the trip, and determining other airports that meet the splitting condition of the trip as the first splitting airport of the trip; wherein the other airports refer to each airport except the departure airport and the arrival airport of the trip;
[0184] For each itinerary, detecting whether each airport in the airport database, except the departure airport, the arrival airport and the first split airport of the itinerary, meets the first splitting condition of the sub-trips obtained by splitting the itinerary with the first splitting airport, and determining each airport that meets the first splitting condition of the sub-trip as the second splitting airport of the sub-trip;
[0185] For each itinerary, if a combination of a first split airport of the itinerary and a second split airport of a sub-itinerary obtained by splitting the first split airport meets a second splitting condition of the itinerary, the first split airport and the second split airport are determined as a split airport combination of the itinerary.
[0186] According to one or more embodiments of the present disclosure, the embodiments of the present application further provide a computer storage medium for storing a computer program, which, when executed, is used to implement the fare search method provided in any embodiment of the present application.
[0187] According to one or more embodiments of the present disclosure, the present application Figure 5 The illustrated embodiment also provides an electronic device, including a memory and a processor;
[0188] The memory is used to store a computer program, and the processor is used to execute the computer program, specifically to implement the fare search method provided in any embodiment of the present application.
[0189] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 606, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0190] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0191] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0192] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
Claims
1. A freight rate search method, characterized in that: include: Determine at least one trip splitting route according to the departure airport and the arrival airport included in the target trip currently specified by the user; wherein the trip splitting route includes the departure airport, the arrival airport, and at least one splitting airport located between the departure airport and the arrival airport; For each of the split itinerary routes, the fare between each two adjacent airports in the split itinerary route is accumulated to obtain the route fare corresponding to the split itinerary route; Pushing the fare search result corresponding to the target itinerary to the current user; wherein the fare search result includes each split route of the itinerary and the corresponding route fare; The step of determining at least one itinerary splitting route according to the departure airport and the arrival airport included in the target itinerary of the current user includes: Retrieve each first split airport and each split airport combination corresponding to the target itinerary from a pre-constructed split airport database; wherein the split airport combination includes the first split airport corresponding to the target itinerary and the second split airport corresponding to the sub-trip obtained by splitting the target itinerary with the first split airport; the first split airport includes a split airport that satisfies a geographical location constraint, a distance constraint, a price constraint and a minimum number of connections constraint between the departure airport and the arrival airport, and includes a designated split airport corresponding to a target airline specified by a user; the designated split airport satisfies the geographical location constraint and the distance constraint and does not satisfy the price constraint or the minimum number of connections constraint, but satisfies a split airport that satisfies a price constraint modified by configuration information set by the target airline and a modified minimum number of connections constraint; The second split airport includes a split airport that satisfies a geographical location constraint, a distance constraint, a price constraint, and a minimum number of connections constraint between the departure airport and the arrival airport; the geographical location constraint is that the city where the split airport is located belongs to a city in a preset location set; the distance constraint is that the difference between the total mileage of the itinerary split route after adding the split airport and the shortest mileage from the departure airport to the arrival airport is less than a preset distance threshold; the price constraint is that the difference between the route fare corresponding to the itinerary split route and the fare from the departure airport to the arrival airport is less than a preset difference threshold; the minimum number of connections constraint is the sum of the minimum number of connections between each adjacent airport in the itinerary split route, which is not greater than the sum of the minimum number of connections from the departure airport and the arrival airport and the number of split airports in the itinerary split route; For each of the first split airports, the first split airport, the departure airport and the arrival airport are merged to obtain a trip split route, and for each of the split airport combinations, the split airports, the departure airport and the arrival airport included in the split airport combination are merged to obtain a trip split route.
2. The method according to claim 1, characterized in that The method for constructing the split airport database includes: For each trip, detecting whether other airports in the airport database meet the first splitting condition of the trip, and determining other airports that meet the first splitting condition of the trip as the first splitting airport of the trip; wherein the other airports refer to each airport except the departure airport and the arrival airport of the trip; For each itinerary, detecting whether each airport in the airport database, except the departure airport, the arrival airport and the first split airport of the itinerary, meets the first splitting condition of the sub-trips obtained by splitting the itinerary with the first splitting airport, and determining each airport that meets the first splitting condition of the sub-trip as the second splitting airport of the sub-trip; For each itinerary, if a combination of a first split airport of the itinerary and a second split airport of a sub-itinerary obtained by splitting the first split airport meets a second splitting condition of the itinerary, the first split airport and the second split airport are determined as a split airport combination of the itinerary.
3. The method according to claim 2, characterized in that The detecting whether other airports in the airport database meet the first splitting condition of the itinerary includes: Determine whether other airports meet the geographical location constraints, distance constraints, price constraints and minimum number of connections constraints of the itinerary; If there is at least one constraint that the other airport does not satisfy, detecting that the other airport does not satisfy the first splitting condition of the itinerary; If the other airport satisfies each of the constraints, it is detected that the other airport satisfies the first splitting condition of the itinerary.
4. The method according to claim 3, characterized in that After determining whether other airports meet the geographical location constraint, distance constraint, price constraint and minimum connection number constraint of the itinerary, the method further includes: If the other airports satisfy the geographical location constraint and the distance constraint, but do not satisfy the price constraint or the minimum number of connections constraint, modify the price constraint and the minimum number of connections constraint using the configuration information set for the target airline; Determining whether the other airports satisfy the modified price constraint and the modified minimum connection number constraint; If the other airport satisfies the modified price constraint and the modified minimum connection number constraint, determining the other airport as a designated split airport of the target airline; When the current user specifies to take a flight of the target airline, the designated split airport of the target airline is used as the first split airport of the target itinerary.
5. A freight rate search device, characterized in that: include: a determining unit, configured to determine at least one itinerary splitting route according to a departure airport and an arrival airport included in a target itinerary currently specified by a user; wherein the itinerary splitting route includes the departure airport, the arrival airport, and at least one splitting airport located between the departure airport and the arrival airport; A calculation unit, for each of the split itinerary routes, adds up the fare between each two adjacent airports in the split itinerary route to obtain the route fare corresponding to the split itinerary route; A push unit, configured to push the fare search result corresponding to the target itinerary to the current user; wherein the fare search result includes each of the itinerary split routes and the corresponding route fare; The determining unit comprises: Construction unit, used to construct split airport database; a retrieval unit, for retrieving each first split airport and each split airport combination corresponding to the target itinerary from the split airport database; wherein the split airport combination includes the first split airport corresponding to the target itinerary and the second split airport corresponding to the sub-trip obtained by splitting the target itinerary with the first split airport; the first split airport includes a split airport that satisfies the geographical location constraint, the distance constraint, the price constraint and the minimum number of connections constraint between the departure airport and the arrival airport, and includes a designated split airport corresponding to a target airline specified by a user; the designated split airport satisfies the geographical location constraint and the distance constraint and does not satisfy the price constraint or the minimum number of connections constraint, but satisfies the price constraint and the modified minimum number of connections constraint after the configuration information set by the target airline is modified; The second split airport includes a split airport that satisfies the geographical location constraint, distance constraint, price constraint and minimum connection number constraint between the departure airport and the arrival airport; the geographical location constraint is that the city where the split airport is located belongs to a city in a preset location set; the distance constraint is that the difference between the total mileage of the itinerary split route after adding the split airport and the shortest mileage from the departure airport to the arrival airport is less than a preset distance threshold; the price constraint is that the difference between the route fare corresponding to the itinerary split route and the fare from the departure airport to the arrival airport is less than a preset difference threshold; the minimum connection number constraint is the sum of the minimum connection numbers between each adjacent airport in the itinerary split route, which is not greater than the sum of the minimum connection numbers from the departure airport and the arrival airport and the number of split airports in the itinerary split route; The merging unit is used to merge the first split airport, the departure airport and the arrival airport for each of the first split airports to obtain a trip split route, and, for each of the split airport combinations, merge the split airports, the departure airport and the arrival airport included in the split airport combination to obtain a trip split route.
6. The device according to claim 5, characterized in that When the construction unit constructs the split airport database, it is specifically used to: For each trip, detecting whether other airports in the airport database meet the first splitting condition of the trip, and determining other airports that meet the splitting condition of the trip as the first splitting airport of the trip; wherein the other airports refer to each airport except the departure airport and the arrival airport of the trip; For each itinerary, detecting whether each airport in the airport database, except the departure airport, the arrival airport and the first split airport of the itinerary, meets the first splitting condition of the sub-trips obtained by splitting the itinerary with the first splitting airport, and determining each airport that meets the first splitting condition of the sub-trip as the second splitting airport of the sub-trip; For each itinerary, if a combination of a first split airport of the itinerary and a second split airport of a sub-itinerary obtained by splitting the first split airport meets a second splitting condition of the itinerary, the first split airport and the second split airport are determined as a split airport combination of the itinerary.
7. A computer storage medium, characterized in that: Used to store a computer program, which, when executed, is used to implement the freight rate search method as described in any one of claims 1 to 4.
8. An electronic device, characterized in that: including memory and processor; The memory is used to store a computer program, and the processor is used to execute the computer program, specifically to implement the freight rate search method as described in any one of claims 1 to 4.
