A flight itinerary recommendation method, device, medium and equipment

By calculating the comfort score of flights and sorting the flight list, the problem of single sorting method of air ticket booking systems in the prior art is solved, and the accuracy of user travel experience and flight recommendations is improved.

CN113886717BActive Publication Date: 2025-05-02ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111043081.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-07
Publication Date
2025-05-02
Estimated Expiration
2041-09-07

AI Technical Summary

Technical Problem

The existing air ticket booking system cannot meet the needs of multiple types of users, and the sorting method is single, so the actual usage needs of users cannot be judged.

Method used

It provides a flight itinerary recommendation method, by receiving user's itinerary data, obtaining flight lists, calculating flight comfort scores, and sorting flight lists based on the comfort scores, and recommending them to users.

Benefits of technology

It improves users' travel experience, and through itinerary feasibility analysis and comfort rating, it helps users screen more comfortable flights and meet the needs of various types of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113886717B_ABST
    Figure CN113886717B_ABST
Patent Text Reader

Abstract

This article belongs to the technical field of flight recommendation, and specifically relates to flight itinerary recommendation methods, devices, media and equipment, including: receiving user itinerary data; obtaining a first flight list corresponding to the itinerary data in a preset flight database; when the number of flights whose arrival time of each flight in the first flight list is before the latest arrival time is greater than a preset data threshold, calculating the comfort score of the flights whose arrival time in the first flight list is before the latest arrival time; adding the comfort score to the first flight list to obtain the current flight list; sorting each flight in the current flight list according to the size of the comfort score to obtain a flight recommendation list; recommending the flight recommendation list to the user corresponding to the itinerary data. This application can help users select more comfortable flights and improve the user's travel experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of flight recommendation, and in particular to a flight itinerary recommendation method, device, medium and equipment. Background Art

[0002] With the rapid development of the aerospace industry and the diversification of people's travel methods, more and more people use mobile phones to query and book flight tickets.

[0003] At present, all air ticket booking systems provide flight search and query functions. Flights are generally sorted only by flight departure time or by the lowest price. The ticketing system of the prior art cannot judge the actual usage needs of users. Some individual users care about flight prices, so price sorting is more in line with actual needs. Other users care more about time, and arriving on time is more in line with their requirements. In order to adapt to more extensive usage scenarios, only relatively simple sorting rules can be given. The prior art has a single sorting method and cannot meet the needs of various types of users. Summary of the invention

[0004] In order to solve the above technical problems, the specific technical solutions of this article are as follows:

[0005] In one aspect, the present invention provides a method for recommending a flight itinerary, the method comprising:

[0006] Receive the user's itinerary data, the itinerary data including: a departure location, a destination location, a departure date, and a latest arrival time, the latest arrival time being a time point on the departure date;

[0007] Acquire a first flight list corresponding to the departure date in a preset flight database, wherein each flight in the first flight list passes through the departure location and the destination location in a forward direction, and the first flight list includes the arrival time of each flight;

[0008] When the number of flights whose arrival times are before the latest arrival time in the first flight list is greater than a preset data threshold, calculating the comfort scores of the flights whose arrival times are before the latest arrival time in the first flight list;

[0009] Adding the comfort score to the first flight list to obtain a current flight list;

[0010] Sort the flights in the current flight list according to the comfort score to obtain a flight recommendation list;

[0011] The flight recommendation list is recommended to a user corresponding to the itinerary data.

[0012] Furthermore, the method further comprises:

[0013] When the number of flights before the latest arrival time in the first flight list is less than or equal to a preset data threshold, obtaining a second flight list one day before the departure date, wherein each flight in the second flight list passes through the departure location and the destination location in a forward direction;

[0014] Calculating a comfort score for each flight in the second flight list;

[0015] The comfort score is added to the second flight list to obtain a current flight list.

[0016] Furthermore, the method further comprises:

[0017] Determining whether each flight in the recommended flight list meets a pre-configured travel standard;

[0018] Adding data tags to each flight in the flight recommendation list based on the judgment result;

[0019] The flight recommendation list is reordered according to the results corresponding to the data tags to obtain a final flight recommendation list.

[0020] Further, the first flight list also includes the departure time of each flight, and when the number of flights whose arrival time of each flight in the first flight list is before the latest arrival time is greater than a preset data threshold, the comfort score of the flight whose arrival time in the first flight list is before the latest arrival time is calculated, and the above also includes:

[0021] The flights in the first flight list are sorted according to the departure time of each flight in the first flight list.

[0022] Furthermore, both the first flight list and the second flight list are flights with remaining seats.

[0023] Furthermore, the comfort score of each flight in the first flight list is calculated according to the following formula:

[0024] F=T s *(T min / T max )-(T latest -T Actual )*W a -T*W t +C Index

[0025] Among them, F is the comfort score, T sT is the duration of the flight time range to the comfortable flight time range, min is the shortest flight time of the current route, T max is the flight time of the current flight, T latest is the latest arrival time, T Actual is the arrival time, W a is the early arrival weight, T is the total flight time, W t is the flight duration weight, C Index is the flight comfort index, the early arrival weight, the comfortable flight time range and the flight duration weight are based on user settings, and the flight comfort index is calculated based on basic flight information.

[0026] Furthermore, the comfort score of each flight in the second flight list is calculated according to the following formula:

[0027] F=T s *(T min / T max )-(|f latest -T Actual |)*W a -T*W t +C Index

[0028] Among them, f latest The latest time within the comfortable flight time range.

[0029] In another aspect, the present invention provides a flight itinerary recommendation device, the device comprising:

[0030] A data receiving module, used to receive the user's itinerary data, the itinerary data including: a departure location, a destination location, a departure date and a latest arrival time, the latest arrival time being a time point on the departure date;

[0031] A first flight list acquisition module, configured to acquire a first flight list corresponding to the departure date from a preset flight database, wherein each flight in the first flight list passes through the departure location and the destination location in a forward direction, and the first flight list includes an arrival time of each flight;

[0032] A score calculation module, configured to calculate the comfort scores of the flights in the first flight list whose arrival times are before the latest arrival time when the number of flights whose arrival times are before the latest arrival time is greater than a preset data threshold;

[0033] A marking module, configured to add the comfort score to the first flight list to obtain a current flight list;

[0034] A sorting module, used to sort the flights in the current flight list according to the comfort score to obtain a flight recommendation list;

[0035] A recommendation module is used to recommend the flight recommendation list to the user corresponding to the itinerary data.

[0036] On the other hand, the present invention provides a computer-readable storage medium, wherein at least one instruction or at least one program is stored in the computer-readable storage medium, and the at least one instruction or at least one program is loaded and executed by a processor to implement the flight itinerary recommendation method as described above.

[0037] On the other hand, the present invention provides an electronic device, comprising at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the flight itinerary recommendation method as described above by executing the instructions stored in the memory.

[0038] By adopting the above technical scheme, a flight itinerary recommendation method, device, medium and equipment described in this article can help users plan feasible flight travel plans through itinerary feasibility analysis; calculate and rate the comfort of flights through user preference settings, help users select more comfortable flights, and improve users' travel experience; at the same time, combined with the definition of corporate travel regulations, flight compliance is screened to improve corporate travel compliance rate.

[0039] In order to make the above and other purposes, features and advantages of this article more obvious and easy to understand, the following specifically cites preferred embodiments and describes them in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of this article or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of this article. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A schematic diagram showing the steps of a flight itinerary recommendation method provided in an embodiment of this invention is shown;

[0042] Figure 2 A schematic diagram showing the steps of another flight itinerary recommendation method provided in an embodiment of this invention;

[0043] Figure 3 A schematic diagram showing the steps of another flight itinerary recommendation method provided in an embodiment of this invention is shown;

[0044] Figure 4 A schematic diagram of the structure of a flight itinerary recommendation device in an embodiment of this invention is shown;

[0045] Figure 5 A schematic diagram of the structure of an electronic device for recommending flight itineraries provided in an embodiment of this document is shown. DETAILED DESCRIPTION

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

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

[0048] In order to better understand this application, the following names are explained:

[0049] Feasibility: It is necessary to combine the user's itinerary information with the flight's arrival time and punctuality to determine whether the flight plan is feasible for this business trip.

[0050] Compliance: Since the travel expenses are paid by the company, the selected flights and cabins need to comply with the company's travel standards.

[0051] Comfort: Different from individual users who are concerned about price and other demand factors, business travelers are more concerned about the comfort of the flight.

[0052] Among them, the calculation process of comfort consumes a certain amount of performance for flight list query. In this application, after creating the itinerary, a background asynchronous thread is started for calculation. After completion, the flight comfort ranking results are associated with the itinerary and stored. When the user uses the itinerary to search for flights, the queried flight and price list, comfort ranking results, and flight compliance judgment are combined to complete the recommended ranking list of real-time flights.

[0053] In order to solve the above problems, the embodiment of this article provides a flight itinerary recommendation method. Figure 1 FIG. 1 is a schematic diagram showing the steps of a flight itinerary recommendation method provided in an embodiment of the present invention. Figure 1 As shown, the execution subject of this method can be a server, and the method includes the following steps:

[0054] S102. Receive the user's itinerary data, wherein the itinerary data includes: a departure location, a destination location, a departure date, and a latest arrival time, wherein the latest arrival time is a time point in the departure date.

[0055] In the specific implementation process, the user's itinerary data can be input by the user in the client application, the client application can realize information exchange with the server, and the server can receive the user's itinerary data sent by the user through the client. The itinerary data may include: departure point, destination point, departure date and latest arrival time. Among them, the departure point can be the starting point of the user's trip, the destination point can be the destination of the user's trip, the departure date represents the user's travel date, and the latest arrival time can be the latest time point to ensure that the flight can arrive on time and avoid delays in travel work.

[0056] S104. Obtain a first flight list corresponding to the departure date from a preset flight database, wherein each flight in the first flight list passes through the departure location and the destination location in a forward direction, and the first flight list includes an arrival time of each flight.

[0057] In the specific implementation process, the flight database stores or is associated with all currently operating flights and the departure point (airport name), stopover point and arrival point corresponding to each flight, as well as the time points, flight numbers, meals, punctuality rates, lowest prices, discounts, etc. corresponding to the departure point (airport name), stopover point and arrival point. The flight database can be stored or associated in the above-mentioned server.

[0058] Therefore, a first flight list corresponding to the departure date may be obtained from a preset flight database, and the first flight list may represent all flights passing through the departure location and the destination location in the user's itinerary data on the departure date.

[0059] The flights in the first flight list may be sorted by departure time, arrival time, price, travel time, etc.

[0060] S106. When the number of flights whose arrival times in the first flight list are before the latest arrival time is greater than a preset data threshold, calculate the comfort scores of the flights whose arrival times in the first flight list are before the latest arrival time.

[0061] During the specific implementation process, the relationship between the arrival time of each flight in the first flight list and the latest arrival time can be determined in advance. When the number of flights whose arrival times are before the latest arrival time of each flight in the first flight list is greater than a preset data threshold, the comfort scores of the flights whose arrival times are before the latest arrival time in the first flight list can be calculated.

[0062] In some possible embodiments, the arrival time of each flight may be the arrival time given by the airline, wherein, when the number of flights before the latest arrival time of each flight in the first flight list is greater than a preset data threshold, it may include: when the number of flights before the latest arrival time of each flight in the first flight list is greater than a preset data threshold, the estimated arrival time may be calculated based on the arrival time of each flight, the flight punctuality rate and the average flight delay duration.

[0063] Among them, the estimated arrival time is the time that needs to be buffered more in advance for flights with lower punctuality rates.

[0064] The estimated arrival time can be equal to arrival time + (1-flight punctuality rate) * (average flight delay duration) < latest arrival time.

[0065] It is understandable that the flight arrival time, flight punctuality rate and average flight delay duration can be derived from basic flight information and / or system configuration, that is, can be stored in the server. Among them, the average flight delay duration can be fine-tuned by the operator according to the average flight delay duration to reduce the probability of delaying the user's travel itinerary due to flight delays.

[0066] The preset data threshold may be a positive integer greater than 1. In order to meet various travel conditions of users, the number of flights in the first flight list needs to meet a certain number of flights, that is, the number of flights in the first flight list is greater than the preset data threshold to meet feasibility.

[0067] The comfort score of each flight in the first flight list is calculated according to the following formula:

[0068] F=T s *(T min / T max )-(T latest -T Actual )*Wa -T*W t +C Index

[0069] Among them, F is the comfort score, T s T is the duration of the flight time range to the comfortable flight time range, min is the shortest flight time of the current route, T max is the flight time of the current flight, T latest is the latest arrival time, T Actual is the arrival time, W a is the early arrival weight, T is the total flight time, W t is the flight duration weight, C Index is the flight comfort index, the early arrival weight, the comfortable flight time range and the flight duration weight are based on user settings, and the flight comfort index is calculated based on basic flight information.

[0070] The comfort score is used to represent the comfort of flights that business travelers are concerned about. The comfort score can take into account the following factors:

[0071] 1) The flight will not take off too early or arrive too late;

[0072] 2) The flight process should be within a comfortable time range for as long as possible;

[0073] 3) The flight can make as few stops and transfers as possible and reach the destination as quickly as possible;

[0074] 4) It is not advisable to arrive at the destination too early;

[0075] 5) The flight comfort index is pre-defined based on the basic flight data such as flight meals, aircraft type, airline, etc., and is used in the comfort calculation.

[0076] The application can initially set the same default comfort preferences for all users, and users can modify the comfort preferences themselves on the settings page to improve user personalization needs.

[0077] The weights that can be set by the user include: early arrival weight, comfortable flight time range considered by the user, and flight duration weight.

[0078] The flight comfort index involves factors such as meals, aircraft models, and airlines. The server regularly fine-tunes the comfort index value by analyzing the booking preferences of all flights and saves it together with the basic flight information.

[0079] It is understandable that the latest arrival time: comes from the user:

[0080] Arrival time, shortest flight time, flight time, total flight time, departure time and arrival time can be derived from the flight basic information, i.e., the server;

[0081] The flight comfort index can be calculated by the server based on the basic flight information;

[0082] Early arrival weight, comfortable flight time range, and flight duration weight can be set by the user according to preference.

[0083] For example, a business traveler sets the weight of early arrival time to 0.2, the weight of flight duration to 0.4, and the comfortable flight time range to 9:00-20:00; the flight comfort index is tentatively set to 20 with meals and 0 without meals. For Ningbo to Shenyang, the latest arrival time is 13:00 on the same day;

[0084] 5481, 07:10–11:35 with meals and a 60-minute stop;

[0085] (11:35–9:00)*(2:35 / 4:25)-(13:00–11:35)*0.2-(11:35–07:10)*0.4+20=-12.4

[0086] 1041, 09:20–11:55, no meals

[0087] (11:55–9:20)*(2:35 / 2:35)-(13:00–11:55)*0.2-(11:55–9:20)*0.4+0=80

[0088] 5481 had a long flight time due to a stopover. Although meals were provided, its flight comfort priority was ranked behind 1041.

[0089] S108: Add the comfort score to the first flight list to obtain a current flight list.

[0090] In the specific implementation process, the calculation object of the comfort score is the feasible flight calculation. When the corresponding comfort score is calculated, the feasible flights can be labeled in the form of labels. The first flight list in this application can be displayed in the form of a table. Therefore, a column of tables can be added to add appropriate scores for feasible flights, and then the current flight list can be obtained. It can be understood that the current flight list has one more column than the first flight list.

[0091] S110: Sort the flights in the current flight list according to the comfort scores to obtain a flight recommendation list.

[0092] In the specific implementation process, the flight recommendation list is sorted according to the size of the comfort score. The sorting method can be from large to small.

[0093] S112: Recommend the flight recommendation list to the user corresponding to the itinerary data.

[0094] In the specific implementation process, after generating the flight recommendation list, the server can send the flight recommendation list to the client corresponding to the user, and the client can display the flight recommendation list through the application. The display method can be in the form of a table row. The application can provide users with corresponding operation buttons to meet the diverse display, such as in order of price, departure time, etc. Users can view the recommended compliant flights first on the flight booking page of the application, and other flights will be arranged by default behind the recommended flights according to the departure time for selection.

[0095] Based on the above embodiments, in one embodiment of this specification, Figure 2 FIG. 1 is a schematic diagram showing the steps of another method for recommending flight schedules provided in an embodiment of the present invention. Figure 2 As shown, the method also includes:

[0096] S202: When the number of flights before the latest arrival time of the flights in the first flight list is less than or equal to a preset data threshold, obtain a second flight list for the day before the departure date, wherein each flight in the second flight list passes through the departure location and the destination location in a forward direction.

[0097] In a specific implementation process, the second flight list is the same as the first flight list, except for the departure date. The second flight list may represent all flights passing through the departure location and the destination location in the user's itinerary data one day before the departure date.

[0098] The flights in the second flight list may also be sorted according to departure time, arrival time, price, travel time, etc.

[0099] S204: Calculate the comfort score of each flight in the second flight list.

[0100] In a specific implementation process, the comfort score of each flight in the second flight list is calculated according to the following formula:

[0101] F=T s *(T min / T max )-(|f latest -T Actual |)*W a -T*W t +C Index

[0102] Among them, f latest The latest time within the comfortable flight time range.

[0103] In the specific implementation process, latest It can be a time pre-set by the user, specifically the latest time to arrive at the destination set by the user the day before. Since users generally do not want to arrive at the destination too early when traveling, nor do they want to occupy the user's itinerary for the day before, it is more appropriate to use a time point near the latest comfortable time selected by the user, so an absolute value is used to express it.

[0104] For example, the passenger considers the comfortable flight time to be between 9:00 and 18:00. This flight time range does not affect personal rest. latest It can be the time point around 18:00. In order not to delay the passengers' daytime schedule, because the arrival time of the plane may be earlier than 18:00 or later than 18:00, the absolute value is used to process and represent the time point around 18:00. This design is to reduce parameter variables as much as possible.

[0105] In a specific implementation process, the comfort score of each flight in the second flight list may also be calculated according to the following formula:

[0106] F=T s *(T min / T max )-(|E latest -T Actual |)*W a -T*W t +C Index

[0107] Where E latest The expected arrival time one day in advance configured by the user. The user can pre-configure it. If the user does not configure E latest When the comfort score is f lasest Perform calculations.

[0108] It is understandable that the comfort score has been explained above.

[0109] Example: Ningbo to Shenyang, the latest arrival time is 9:00. Since there are no flights that meet the requirements on that day, the flight list of the previous day is compared; 6868, no meals from 14:10 to 16:45;

[0110] (16:45-14:10)*(2:35 / 2:35)-|20:00-16:45|*0.2-(16:45-14:10)*0.4+0=54

[0111] 8695, 14:55–19:15, 50-minute stop without meals

[0112] (19:15–14:55)*(2:35 / 4:20)-|20:00–19:15|*0.2-(19:15–14:55)*0.4+0=42

[0113] It can be seen from the user's weight setting that the user prefers to arrive early rather than take a longer flight. Flight 8695 has a longer stopover time and does not meet the user's preference. Although flight 6868 departs and arrives earlier, it is more acceptable to the current user than flight 8695 and is therefore recommended first.

[0114] S206: Add the comfort score to the second flight list to obtain a current flight list.

[0115] In a specific implementation process, the current flight list may include the second flight list and the first flight list, or may include only one of the second flight list and the first flight list.

[0116] Based on the above embodiments, in one embodiment of this specification, Figure 3 FIG. 4 shows a schematic diagram of the steps of another method for recommending flight schedules provided in an embodiment of the present invention. Figure 3 As shown, the method also includes:

[0117] S302: Determine whether each flight in the flight recommendation list meets a pre-configured travel standard.

[0118] In the specific implementation process, the pre-configured travel standards can represent the standards for business trip flights of the user's company. The travel standards (company difference standards) can be pre-set by the company to the server. For example, employees in specific positions are only allowed to book economy class, and they need to book 3 days in advance. There are requirements for air ticket discounts, such as only being able to book air tickets with a discount of less than 50%, etc., which are generally set by the company itself. The flights in the non-compliant flights can be sorted according to the sorting priority to reduce the probability of users selecting non-compliant flights.

[0119] Corporate travel rules are derived from corporate travel configuration and are modified or added by corporate administrators.

[0120] S304: Add data tags to each flight in the flight recommendation list based on the judgment result.

[0121] In the specific implementation process, the data label can be added to the corresponding flight row in the flight recommendation list in the form of a list. The data label can be a description of whether the corresponding flight meets the travel standards, such as compliance, non-compliance, and no ticket.

[0122] S306: re-sort the flight recommendation list according to the results corresponding to the data tags to obtain a final flight recommendation list.

[0123] During the specific implementation process, the flight recommendation list can be reordered according to the results corresponding to the data tags to obtain the final flight recommendation list, such as displaying compliant flights at the top of the table, non-compliant flights below compliant flights, and flights without tickets below non-compliant flights.

[0124] Based on the above embodiment, in one embodiment of the present specification, the first flight list also includes the departure time of each flight, and when the number of flights whose arrival time is before the latest arrival time of each flight in the first flight list is greater than a preset data threshold, the comfort score of the flight whose arrival time is before the latest arrival time in the first flight list is calculated, and the above also includes:

[0125] The flights in the first flight list are sorted according to the departure time of each flight in the first flight list.

[0126] In the specific implementation process, the first flight list may also include the departure time of each flight. The departure time may be the travel time of the corresponding flight pre-set by the airline.

[0127] Based on the above embodiment, in one embodiment of the present specification, both the first flight list and the second flight list are flights with remaining seats.

[0128] It is understandable that both the first flight list and the second flight list are flights with remaining seats. Flights without remaining seats can be pre-filtered before generating the first flight list and the second flight list, thereby reducing the difficulty of data processing and data redundancy.

[0129] For example, the business travel user sets the weight of early arrival time to 0.2, the weight of flight duration to 0.4, and the comfortable flight time range to 9:00-20:00; the flight comfort index is tentatively set to 20 with meals and 0 without meals; the company sets the employee travel rules to 30% off or less for economy class;

[0130] Ningbo to Shenyang, the first flight list on June 30th can be as follows:

[0131]

[0132] From Ningbo to Shenyang, the latest arrival time is 13:00 on June 30;

[0133] Departure on June 30: Only MU5481 and AQ1041 are eligible

[0134] The current flight list can be as follows:

[0135]

[0136]

[0137] Other 8696 / 6868 / 5688 / 8695 / 8422 are not feasible and their comfort levels are not calculated independently.

[0138] Among them, the comfort ranking 1041 / 5481 has been explained in scenario 1. The remaining flights are not feasible. The time ranking is: 8696 / 6868. The other flights do not meet the difference standard. The time ranking is: 5688 / 8695 / 8422

[0139] Departure one day earlier on June 29, assuming the price is the same;

[0140] The flight recommendation list can be as follows:

[0141]

[0142] The flight itinerary recommendation method provided in the embodiments of this specification can combine factors such as travel feasibility, user preferences, travel regulations, etc., and the user's itinerary needs and flight information, and calculate the comfort score of the flight for the user according to the actual needs of the travel, and intelligently recommend flight sorting. The user only needs to check whether the flight meets the needs in the order of the list, which reduces the trouble of the user in choosing a flight and improves the user's booking efficiency.

[0143] In flight recommendations, flight information and the user's business trip information are effectively used to recommend practical and comfortable flight routes to ensure that users can successfully complete their business trips. Based on the itinerary data submitted by the user, combined with the flight's departure and arrival times and punctuality information, it helps users quickly plan feasible flight routes. According to the needs of business trip comfort, flights with higher comfort are prioritized to improve user experience. According to corporate regulations, flights that do not comply with the regulations are marked and lowered in priority to ensure that companies control travel costs.

[0144] In another aspect, the present invention provides a flight itinerary recommendation device. Figure 4 FIG. 1 shows a schematic diagram of the structure of a flight itinerary recommendation device in an embodiment of the present invention. Figure 4 As shown, the device may include:

[0145] The data receiving module 11 is used to receive the user's itinerary data, wherein the itinerary data includes: a departure location, a destination location, a departure date, and a latest arrival time, wherein the latest arrival time is a time point in the departure date;

[0146] A first flight list acquisition module 12 is used to acquire a first flight list corresponding to the departure date from a preset flight database, wherein each flight in the first flight list passes through the departure location and the destination location in a forward direction, and the first flight list includes the arrival time of each flight;

[0147] A score calculation module 13, configured to calculate the comfort scores of the flights in the first flight list whose arrival times are before the latest arrival time when the number of flights in the first flight list whose arrival times are before the latest arrival time is greater than a preset data threshold;

[0148] A marking module 14, configured to add the comfort score to the first flight list to obtain a current flight list;

[0149] A sorting module 15, used to sort the flights in the current flight list according to the comfort score to obtain a flight recommendation list;

[0150] The recommendation module 16 is used to recommend the flight recommendation list to the user corresponding to the itinerary data.

[0151] On the other hand, an embodiment of the present specification provides a computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or at least one program is loaded and executed by a processor to implement the flight itinerary recommendation method as described above.

[0152] In another aspect, an embodiment of the present specification provides an electronic device for recommending flight itineraries. Figure 5 FIG. 1 shows a schematic diagram of the structure of an electronic device for recommending flight itineraries provided in an embodiment of the present invention. Figure 5 As shown, the device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement any of the above-mentioned methods for recommending room flight itineraries.

[0153] Since the technical effects of the flight itinerary recommendation device, computer-readable storage medium, electronic device and flight itinerary recommendation method are the same, they will not be repeated here.

[0154] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. The test method provided in the embodiment of the present invention has the same implementation principle and technical effects as the aforementioned system embodiment. For the sake of brief description, for the parts not mentioned in the method embodiment, reference can be made to the corresponding contents in the aforementioned system embodiment.

[0155] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.

[0156] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0157] Those of ordinary skill in the art will 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 composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this article.

[0158] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0159] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.

[0160] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.

[0161] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.

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

[0163] Specific embodiments are used in this article to illustrate the principles and implementation methods of this article. The description of the above embodiments is only used to help understand the methods and core ideas of this article. At the same time, for general technicians in this field, according to the ideas of this article, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on this article.

Claims

1. A flight itinerary recommendation method, characterized in that: The method comprises: Receive the user's itinerary data, the itinerary data including: a departure location, a destination location, a departure date, and a latest arrival time, the latest arrival time being a time point on the departure date; Acquire a first flight list corresponding to the departure date in a preset flight database, wherein each flight in the first flight list passes through the departure location and the destination location in a forward direction, and the first flight list includes the arrival time of each flight; Get the flight arrival time, flight punctuality rate and average flight delay time of each flight; An estimated arrival time is obtained based on the arrival time of each flight, the flight punctuality rate, and the average flight delay time; the estimated arrival time represents the time that the flight needs to buffer in advance; When the number of flights whose estimated arrival times of each flight in the first flight list are before the latest arrival time is greater than a preset data threshold, calculate the comfort scores of flights whose estimated arrival times of flights in the first flight list are before the latest arrival time; or, when the number of flights whose arrival times of each flight in the first flight list are before the latest arrival time is greater than a preset data threshold, calculate the comfort scores of flights whose arrival times of flights in the first flight list are before the latest arrival time; Adding the comfort score to the first flight list to obtain a current flight list; Sort the flights in the current flight list according to the comfort score to obtain a flight recommendation list; determine whether the flights in the flight recommendation list meet the pre-configured travel criteria; add data tags to the flights in the flight recommendation list based on the determination result; re-sort the flight recommendation list according to the result corresponding to the data tag to obtain a final flight recommendation list; recommending the final flight recommendation list to the user corresponding to the itinerary data; The comfort score of each flight in the first flight list is calculated according to the following formula: F=T s *(T min / T max )-(T latest -T Actual )*W a -T*W t +C Index Among them, F is the comfort score, T s T is the duration of the flight time range to the comfortable flight time range, min is the shortest flight time of the current route, T max is the flight time of the current flight, T latest is the latest arrival time, T Actual is the arrival time, W a is the early arrival weight, T is the total flight time, W t is the flight duration weight, C Index is the flight comfort index, the early arrival weight, the comfortable flight time range and the flight duration weight are based on user settings, and the flight comfort index is calculated based on basic flight information.

2. The flight itinerary recommendation method according to claim 1, characterized in that: The method further comprises: When the number of flights before the latest arrival time in the first flight list is less than or equal to a preset data threshold, obtaining a second flight list one day before the departure date, wherein each flight in the second flight list passes through the departure location and the destination location in a forward direction; Calculating a comfort score for each flight in the second flight list; The comfort score is added to the second flight list to obtain a current flight list.

3. The flight itinerary recommendation method according to claim 1, characterized in that: The first flight list also includes the departure time of each flight, and when the number of flights whose arrival time is before the latest arrival time is greater than a preset data threshold, the comfort score of the flight whose arrival time is before the latest arrival time in the first flight list is calculated, and the above also includes: The flights in the first flight list are sorted according to the departure time of each flight in the first flight list.

4. The flight itinerary recommendation method according to claim 2, characterized in that: The first flight list and the second flight list are both flights with remaining seats.

5. The flight itinerary recommendation method according to claim 4, characterized in that: The comfort score of each flight in the second flight list is calculated according to the following formula: F=T s *(T min / T max )-(|f latest -T Actual |)*W a -T*W t +C Index Among them, f latest The latest time within the comfortable flight time range.

6. A flight itinerary recommendation device, characterized in that: The device comprises: A data receiving module, used to receive the user's itinerary data, the itinerary data including: a departure location, a destination location, a departure date and a latest arrival time, the latest arrival time being a time point on the departure date; A first flight list acquisition module is used to acquire a first flight list corresponding to the departure date from a preset flight database, wherein each flight in the first flight list passes through the departure location and the destination location in a forward direction, and the first flight list includes the arrival time of each flight; acquire the flight arrival time, flight punctuality rate and average flight delay duration of each flight; perform calculation based on the flight arrival time of each flight, the flight punctuality rate and the average flight delay duration to obtain an estimated arrival time; the estimated arrival time represents the time that the flight needs to be buffered in advance; The score calculation module is used to calculate the comfort scores of the flights in the first flight list whose estimated arrival times are before the latest arrival time when the number of flights whose estimated arrival times are before the latest arrival time is greater than a preset data threshold; or calculate the comfort scores of the flights in the first flight list whose arrival times are before the latest arrival time when the number of flights whose arrival times are before the latest arrival time is greater than a preset data threshold; wherein the comfort scores of the flights in the first flight list are calculated according to the following formula: F=T s *(T min / T max )-(T latest -T Actual )*W a -T*W t +C Index Among them, F is the comfort score, T s T is the duration of the flight time range to the comfortable flight time range, min is the shortest flight time of the current route, T max is the flight time of the current flight, T latest is the latest arrival time, T Actual is the arrival time, W a is the early arrival weight, T is the total flight time, W t is the flight duration weight, C Index is the flight comfort index, the early arrival weight, the comfortable flight time range and the flight duration weight are based on user settings, and the flight comfort index is calculated based on the basic flight information; A marking module, configured to add the comfort score to the first flight list to obtain a current flight list; A sorting module is used to sort the flights in the current flight list according to the size of the comfort score to obtain a flight recommendation list; determine whether each flight in the flight recommendation list meets the pre-configured travel standard; add data tags to each flight in the flight recommendation list based on the determination result; and re-sort the flight recommendation list according to the result corresponding to the data tag to obtain a final flight recommendation list; A recommendation module is used to recommend the final flight recommendation list to the user corresponding to the itinerary data.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement the flight itinerary recommendation method according to any one of claims 1 to 5.

8. An electronic device, characterized in that: The invention comprises at least one processor and a memory in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the flight itinerary recommendation method as described in any one of claims 1 to 5 by executing the instructions stored in the memory.

Citation Information

Patent Citations

  • Air ticket searching method based on multi-factor comprehensive sequencing

    CN107330099A

  • Intelligent airline ticket recommendation method

    CN110060129A