Air ticket calendar mode change searching method and device and electronic equipment
The air ticket calendar mode change search method addresses the limitations of fixed-date searches by providing comprehensive fare comparisons across dates, enhancing user experience and airline revenue through flexible and efficient ticket change options.
Patent Information
- Application Number
- CN202411363505.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2024-12-13
AI Technical Summary
Existing air ticket search systems limit users to fixed-date change searches, failing to provide the best discount options and flexible travel plans due to fluctuating ticket prices and lack of intuitive price comparisons across dates.
A method and device for air ticket calendar mode change search that splits a target date range into units, obtains new itinerary combinations, calculates fare differences, and outputs the lowest price differences across the date range, providing comprehensive search results.
This approach offers users more flight options by eliminating the need for multiple inquiries, saving time and improving ticket purchasing experience, while increasing airline revenue through expanded sales opportunities.
Smart Images

Figure CN119127960A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of domestic air ticket search or other related fields, and in particular to an air ticket calendar mode change search method and a device and electronic equipment thereof. Background Art
[0002] In the field of domestic air ticket search, online booking and purchase of air tickets have become the first choice for many passengers. With the increase in the proportion of direct sales of air tickets by e-commerce, passengers' demand for self-service has become increasingly strong. According to the analysis of the airline e-commerce market and customer business needs, the convenience of air ticket changes has become one of the important factors for passengers to choose sales platforms or channels. Automated air ticket change products can provide passengers with more convenient self-service air ticket rescheduling and upgrade services, realize the automatic integration of the entire process from inquiry, booking, calculation, ticket issuance to change, simplify the complexity and labor of the air ticket sales process, and improve the operating efficiency and service level of airlines.
[0003] The entire process of ticket change includes: obtaining fare information from historical tickets - searching for changes based on the new itinerary - calculating changes, verifying prices and rebooking - paying and confirming ticket issuance. Change search is an important part of the overall solution for automatic ticket changes. It can shorten the processing time and provide more choices for complex refund and change services, thereby improving user experience and greatly reducing airline operating costs. Change search is mainly used for passenger ticket rescheduling, upgrades and other service services during the self-service stage. It can search for changeable flights based on the passenger's order and ticket information and calculate the corresponding price difference.
[0004] In the related art, the automatic change mode of domestic air tickets is usually a fixed-date air ticket change search strategy. Users who adopt the fixed-date change search strategy can only obtain the change search results of a certain day. This change search strategy has many limitations. For example, the price of air tickets fluctuates frequently. If users only search for air tickets on fixed dates, they cannot find the best discounts or discounted air tickets; if the user's travel plan is more flexible, the fixed-date change search strategy will limit the user's range of choices, resulting in missing out on other better travel plans; and the fixed-date change search strategy cannot intuitively display the price difference between different dates, and users cannot understand the lower prices that may exist on other dates, and thus cannot choose the best travel flight.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiment of the present invention provides a method and device for searching for changes in air ticket calendar mode, and an electronic device thereof, so as to at least solve the technical problem in the related art that a user can only obtain search results for air ticket changes on fixed dates.
[0007] According to one aspect of an embodiment of the present invention, a method for searching for calendar mode changes in air tickets is provided, which is applicable to domestic air ticket change search scenarios, and includes: responding to a calendar mode change search request, splitting a target date range to obtain a date units, wherein the calendar mode change search request includes at least a target change date, a target change number of days, and a departure date of the original flight, and a is a positive integer greater than 1; based on the a date units, respectively obtaining b new itinerary flight combinations corresponding to each date unit, wherein b is a positive integer greater than or equal to 1; obtaining historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees; based on the change rules and handling fees of the original flight, obtaining multiple new itinerary fares for each new itinerary flight combination, and calculating the change price difference of each new itinerary fare; based on the change price differences of all new itinerary fares, obtaining the lowest price difference in each date unit, and outputting a calendar mode change search result containing flight information corresponding to all the lowest price differences.
[0008] Optionally, before the target date range is split, the process includes: obtaining a target change date and target change days; and determining a target date range based on the target change date and target change days.
[0009] Optionally, when the original flight is a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-joint flight, the step of splitting the target date range includes: obtaining the departure date of the original flight; splitting the target date range, using a one-dimensional array to represent multiple date units, each date unit corresponding to an array element; when the original flight is a one-way flight, representing the array elements corresponding to all date units as a first value; when the original flight is a round-trip flight including flown segments / unchanged segments, or a two-segment open-joint flight, if the date of the date unit is not earlier than the departure date, representing the array element corresponding to the date unit as a first value; if the date of the date unit is earlier than the departure date, representing the array element corresponding to the date unit as a second value.
[0010] Optionally, in the case where the original flight is not a one-way flight, a round-trip flight including flown segments / unchanged segments, and a flight with two open legs, the step of splitting the target date range also includes: obtaining the outbound date range and the return date range; splitting the outbound date range and the return date range, using a two-dimensional array to represent multiple date units, each date unit corresponding to an array element, wherein the rows and columns of the two-dimensional array represent the outbound date and the return date of the date unit, respectively; when the return date of the date unit is not earlier than the outbound date, representing the array element corresponding to the date unit as a first value; when the return date of the date unit is earlier than the outbound date, representing the array element corresponding to the date unit as a second value.
[0011] Optionally, after obtaining b new itinerary flight combinations corresponding to each date unit, the method includes: obtaining the cabin space information corresponding to each new itinerary flight combination.
[0012] Optionally, the step of calculating the change difference of each itinerary fare includes: obtaining the historical fare of the original flight; subtracting the historical fare of the original flight from the new itinerary fare of each new itinerary flight combination to obtain the fare difference, and obtaining the change difference based on the fare difference and the handling fee.
[0013] According to one aspect of an embodiment of the present invention, a flight ticket calendar mode change search system is provided, comprising: a new itinerary building module, for splitting a target date range to obtain a plurality of date units, and based on the date units, obtaining a plurality of new itinerary flight combinations corresponding to each date unit, and obtaining the cabin information corresponding to each new itinerary flight combination; a fare refund and change calculation module, for obtaining historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees; a change processing calculation module, for obtaining a plurality of new itinerary fares for each new itinerary flight combination based on the change rules and handling fees of the original flight, and calculating the change price difference of each new itinerary fare; a change processing integration module, for integrating the lowest price differences of all date units within the target date range, and outputting a calendar mode change search result containing the flight information corresponding to all the lowest price differences.
[0014] According to another aspect of an embodiment of the present invention, there is also provided a flight ticket calendar mode change search device, which is applicable to domestic flight ticket change search scenarios, and includes: a splitting unit, which is used to respond to a calendar mode change search request, split the target date range, and obtain a date units, wherein the calendar mode change search request at least includes a target change date, a target change number of days, and the departure date of the original flight, and a is a positive integer greater than 1; a first acquisition unit, based on the a date units, respectively obtains b new itinerary flight combinations corresponding to each date unit, wherein b is a positive integer greater than or equal to 1; a second acquisition unit, which is used to obtain historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees; a calculation unit, based on the change rules and handling fees of the original flight, obtains multiple new itinerary fares of each new itinerary flight combination, and calculates the change price difference of each new itinerary fare; an output unit, based on the change price difference of all new itinerary fares, obtains the lowest price difference in each date unit, and outputs a calendar mode change search result containing flight information corresponding to all the lowest price differences.
[0015] Optionally, the splitting unit includes: a first acquisition module, used to acquire the target change date and the target change days; a determination module, used to determine the target date range based on the target change date and the target change days.
[0016] Optionally, the splitting unit includes: a second acquisition module, used to obtain the departure date of the original flight when the original flight is a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-end flight; a first processing module, used to split the target date range, using a one-dimensional array to represent multiple date units, each date unit corresponding to an array element; a first representation module, used to represent the array elements corresponding to all date units as a first numerical value when the original flight is a one-way flight; a second representation module, used to represent the array elements corresponding to the date units as a first numerical value when the original flight is a round-trip flight including flown segments / unchanged segments, or a two-segment open-end flight, if the date of the date unit is not earlier than the departure date; a third representation module, used to represent the array elements corresponding to the date units as a second numerical value when the date of the date unit is earlier than the departure date.
[0017] Optionally, the splitting unit also includes: a third acquisition module, used to obtain the departure date range and the return date range when the original flight is not a one-way flight, a round-trip flight including flown segments / unchanged segments, and a flight with two open legs; a fourth characterization module, used to split the departure date range and the return date range, using a two-dimensional array to characterize multiple date units, each date unit corresponding to an array element, wherein the rows and columns of the two-dimensional array represent the departure date and the return date of the date unit, respectively; a fifth characterization module, used to characterize the array element corresponding to the date unit as a first value when the return date of the date unit is not earlier than the departure date; and a sixth characterization module, used to characterize the array element corresponding to the date unit as a second value when the return date of the date unit is earlier than the departure date.
[0018] Optionally, the first acquisition unit includes: a fourth acquisition module, used to acquire the cabin space information corresponding to each new itinerary flight combination.
[0019] Optionally, the calculation unit also includes: a fifth acquisition module, used to obtain the historical fare of the original flight; a second processing module, used to subtract the historical fare of the original flight from the new itinerary fare of each new itinerary flight combination to obtain the fare difference, and obtain the change difference based on the fare difference and the handling fee.
[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned air ticket calendar mode change search methods.
[0021] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above-mentioned air ticket calendar mode change search methods.
[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, which implements any one of the steps of the above-mentioned air ticket calendar mode change search method when executed by a processor.
[0023] In the present disclosure, by responding to the calendar mode change search request initiated by the user, the target date range is split and processed to obtain a date units, based on the a date units, b new itinerary flight combinations corresponding to each date unit are obtained respectively, and then the historical fare information of the original flight is obtained, the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees, and then based on the change rules and handling fees of the original flight, multiple new itinerary fares of each new itinerary flight combination are obtained, and the change difference of each new itinerary fare is calculated. Finally, based on the change difference of all new itinerary fares, the lowest price difference in each date unit is obtained, and the calendar mode change search result containing the flight information corresponding to all the lowest price differences is output. The present disclosure provides users with more flight options by simultaneously outputting the best change search results for all dates within the target date range specified by the user, avoiding users from entering the website for multiple inquiries and comparisons when performing air ticket change search operations, saving users' search time, improving users' ticket purchasing experience, and thus solving the technical problem that users can only obtain air ticket change search results for fixed dates in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 is a flow chart of an optional air ticket calendar mode change search method according to an embodiment of the present invention;
[0026] Figure 2 is a module comparison diagram of an optional air ticket calendar mode change search system according to an embodiment of the present invention;
[0027] Figure 3 is a logic flow chart of an optional air ticket calendar mode change search method according to an embodiment of the present invention;
[0028] Figure 4 is a schematic diagram of an optional air ticket calendar mode change search device according to an embodiment of the present invention;
[0029] Figure 5 The present invention is a hardware structure block diagram of an electronic device (or mobile device) for a method for searching for changing calendar modes of air tickets according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] To facilitate those skilled in the art to understand the present invention, some terms or nouns involved in the embodiments of the present invention are explained below:
[0033] Freight rate: The cost incurred by using a certain means of transportation to transfer customers, goods or mail from point A to point B. Civil aviation freight rates include air ticket prices, taxes and additional service fees.
[0034] Ticket change: rescheduling, upgrading, rerouting or reissuing the original flight.
[0035] Rescheduling: A ticket change operation that limits the original flight to a change in at least one of the flight number and flight date, while other information remains unchanged.
[0036] Upgrade: A ticket change operation that changes the cabin class of the original flight from a low cabin class to a high cabin class class, thereby upgrading the fare of the original flight to a higher fare.
[0037] Rerouting: A ticket change operation that changes the route of the original flight.
[0038] Reissue: The operation of changing the original flight ticket to a new flight ticket when the fare of the new itinerary is different from the fare of the original flight, or when there are new charges or refunds for the flight.
[0039] One-way: refers to a journey in one direction from the origin to the destination without returning to the origin, such as Beijing-Hong Kong.
[0040] Round trip: refers to a journey where the origin and destination are the same place, the entire journey is air transportation, and there is no ground transportation, such as Beijing-Hong Kong-Beijing.
[0041] Open-jaw trip: refers to a round trip in which at least one of the origin and destination is different from the original location. It is divided into an open-jaw trip at the origin, an open-jaw trip at the turnaround point and an open-jaw trip at both ends. For example, when the original round trip is Beijing-Hong Kong-Beijing, the open-jaw trip at the origin can be Beijing-Hong Kong / Hong Kong-Tianjin, the open-jaw trip at the turnaround point can be Beijing-Hong Kong / Macao-Beijing, and the open-jaw trip at both ends can be Beijing-Hong Kong / Macao-Tianjin.
[0042] It should be noted that the air ticket calendar mode change search method and device in the present disclosure can be used in the field of domestic air ticket search technology when the user performs an air ticket calendar mode change search operation, and can also be used in any field other than the field of domestic air ticket search technology when the user performs an air ticket calendar mode change search operation. The present disclosure does not limit the application field of the air ticket calendar mode change search method and device.
[0043] It should be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) collected by this disclosure are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated, and corresponding operation portals are provided for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0044] It should be noted that in the present disclosure, when collecting and analyzing customer information, corresponding operation entrances are provided for users to choose to agree or reject the automated decision results; if the user chooses to reject, the expert decision-making process is entered.
[0045] The following embodiments of the present invention can be applied to various systems / applications / devices for searching for calendar mode changes of air tickets, especially in domestic air ticket fare search systems, facing domestic air ticket change scenarios, and can be applied to search scenarios for one-way, round-trip, two-segment open-jaw trips and other itineraries with unfixed dates. The present invention responds to a calendar mode change search request initiated by a user, splits the target date range, obtains a date units, and obtains b new itinerary flight combinations corresponding to each date unit based on a date units, and then obtains historical fare information of the original flight, the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees, and then obtains multiple new itinerary fares of each new itinerary flight combination based on the change rules and handling fees of the original flight, calculates the change difference of each new itinerary fare, and finally obtains the lowest price difference within a date unit based on the change difference of all new itinerary fares, and outputs the calendar mode change search result containing all flight information corresponding to the lowest price difference, providing users with more flight options, avoiding users from entering the website for multiple inquiries and comparisons when performing air ticket change search operations, saving users' search time, and significantly improving users' ticket purchase experience.
[0046] The present invention is described in detail below in conjunction with various embodiments.
[0047] Embodiment 1
[0048] According to an embodiment of the present invention, an embodiment of a method for searching for changes in air ticket calendar mode is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0049] Figure 1 is a flow chart of an optional air ticket calendar mode change search method according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0050] Step S101, responding to a calendar mode change search request, splitting the target date range to obtain a date units, wherein the calendar mode change search request at least includes a target change date, a target change days and the departure date of the original flight, and a is a positive integer greater than 1.
[0051] Step S102, based on a date units, respectively obtain b new itinerary flight combinations corresponding to each date unit, where b is a positive integer greater than or equal to 1.
[0052] Step S103, obtaining historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees.
[0053] Step S104, based on the change rules and handling fees of the original flights, multiple new itinerary fares for each new itinerary flight combination are obtained, and the change difference of each new itinerary fare is calculated.
[0054] Step S105, based on the change price differences of all new itinerary fares, the lowest price difference in each date unit is obtained, and the calendar mode change search result including the flight information corresponding to all the lowest price differences is output.
[0055] The steps provided by the above-mentioned air ticket calendar mode change search method can be to split the target date range in response to the calendar mode change search request initiated by the user, obtain a date unit, and obtain b new itinerary flight combinations corresponding to each date unit based on the a date unit, and then obtain the historical fare information of the original flight, the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees, and then obtain multiple new itinerary fares for each new itinerary flight combination based on the change rules and handling fees of the original flight, calculate the change difference of each new itinerary fare, and finally obtain the lowest price difference in each date unit based on the change difference of all new itinerary fares, and output the calendar mode change search result containing the flight information corresponding to all the lowest price differences. This embodiment provides users with more flight options by simultaneously outputting the best change search results for all dates within the target date range specified by the user, avoiding users from entering the website for multiple inquiries and comparisons when performing air ticket change search operations, saving users' search time, improving users' ticket purchase experience, and thus solving the technical problem that users can only obtain air ticket change search results for fixed dates in the related art. At the same time, for airlines, this embodiment can provide users with flight information for all dates within a specified date range through a single change search operation, which can increase ticket sales opportunities, expand the company's revenue, and reduce the pressure on the server caused by multiple change search operations.
[0056] The embodiment of the present invention is described in detail below in combination with the above steps.
[0057] Step S101, responding to a calendar mode change search request, splitting the target date range to obtain a date units, wherein the calendar mode change search request at least includes a target change date, a target change days and the departure date of the original flight, and a is a positive integer greater than 1.
[0058] In an embodiment of the present invention, in order to solve the problem that users can only perform flight ticket change search operations on fixed dates, a flight ticket change search method for non-fixed dates, i.e., a flight ticket calendar mode change search method, is proposed. After the user issues a calendar mode change search request, this embodiment responds to the calendar mode change search request by first splitting the target date range specified by the user to obtain a date units, where a is a positive integer greater than 1, and the size of a is determined according to the size of the target date range. The date units obtained by splitting are the basis of the entire flight ticket calendar mode change search method, and the search results returned at the end of the method are the optimal flight change strategies for each of the a date units.
[0059] Optionally, before the target date range is split, the process includes: obtaining a target change date and target change days; and determining a target date range based on the target change date and target change days.
[0060] In an embodiment of the present invention, before splitting the target date range, it is first necessary to obtain the target date range. The target date range is specified by the user. The embodiment of the present invention obtains the target change date and the number of target change days, and then determines the target date range based on the target change date and the number of target change days. For example, the target change date obtained is December 13, the target change days are 3 days, and the target date range is 3 days before and 3 days after the target change date, that is, December 10-December 16.
[0061] Optionally, when the original flight is a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-joint flight, the step of splitting the target date range includes: obtaining the departure date of the original flight; splitting the target date range, using a one-dimensional array to represent multiple date units, each date unit corresponding to an array element; when the original flight is a one-way flight, representing the array elements corresponding to all date units as a first value; when the original flight is a round-trip flight including flown segments / unchanged segments, or a two-segment open-joint flight, if the date of the date unit is not earlier than the departure date, representing the array element corresponding to the date unit as a first value; if the date of the date unit is earlier than the departure date, representing the array element corresponding to the date unit as a second value.
[0062] In the embodiment of the present invention, there are two scenarios when the target date range is split. One scenario is that the original flight is a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-jaw flight. The other scenario is that the original flight is not a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-jaw flight, that is, a round-trip flight or a two-segment open-jaw flight in which both the outbound flight and the return flight are unused and do not contain unchanged segments.
[0063] For an original flight that is a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-jaw flight, there is only one target date range. In the embodiment of the present invention, the target date range is split and processed to obtain multiple date units. Three use cases are proposed for this scenario below:
[0064] Use case 1: If the original flight route is Beijing-Chengdu, the departure date is December 9, the target change date is December 13, and the target change days are 3 days, then the target date range is December 10-December 16. The target date range is split into 7 date units, and a one-dimensional array is used to represent multiple date units, and each date unit corresponds to an array element. Since the original flight is a one-way flight, all dates within the target date range are reasonable, that is, the user can depart on any date within the target date range. Therefore, the array elements corresponding to all date units are represented as a first value. The first value is used to indicate that the date is reasonable. In the embodiment of the present invention, the first value is set to 1. The one-dimensional array is represented using Table 1:
[0065] Table 1 Target date range split table for use case 1
[0066] December 10 December 11 December 12 December 13 December 14 December 15 December 16 1 1 1 1 1 1 1
[0067] In Table 1, each cell with a value of 1 is called a date cell.
[0068] Use case 2: If the original flight route is Beijing-Chengdu-Beijing, the outbound flight is not used and does not change, the departure date of the outbound flight is November 10, the target change date is November 17, and the target change days are 3 days, then the target date range is November 14-November 20. The target date range is divided into 7 date units, and a one-dimensional array is used to represent multiple date units. Each date unit corresponds to an array element. The one-dimensional array is represented by Table 2:
[0069] Table 2 Target date range split table for use case 2
[0070] November 14 November 15 November 16 November 17 November 18 November 19 November 20 1 1 1 1 1 1 1
[0071] Since the departure date of the outbound flight is November 10, the user can return on any day within the target date range of November 14-November 20, so the values of all array elements in the one-dimensional array represented by Table 2 are 1.
[0072] Use case 3: If the original flight route is Beijing-Chengdu-Beijing, the outbound flight is not used and does not change, the departure date of the outbound flight is November 10, the target change date is November 11, and the target change days are 3 days, then the target date range is November 8-November 14. The target date range is divided into 7 date units, and a one-dimensional array is used to represent multiple date units. Each date unit corresponds to an array element. The one-dimensional array is represented by Table 3:
[0073] Table 3 Target date range split table for use case three
[0074] November 8 November 9 November 10 November 11 November 12 November 13 November 14 0 0 1 1 1 1 1
[0075] Since the departure date of the outbound flight is November 10, in the target date range of November 8-November 14, the user cannot return on November 8-November 9, so the value of the array element corresponding to the date cell of November 8-November 9 is set to the second value, and the second value is used to indicate that the date is unreasonable. In the embodiment of the present invention, the second value is set to 0. Except for November 8-November 9, the user can return on any date from November 10 to November 14, so the value of the array element corresponding to the date cell of November 10-November 14 is set to 1. In Table 3, each cell with a value of 0 or 1 is called a date cell, wherein a cell with a value of 0 is an unreasonable date cell, and a cell with a value of 1 is a reasonable date cell.
[0076] Optionally, in the case where the original flight is not a one-way flight, a round-trip flight including flown segments / unchanged segments, and a flight with two open legs, the step of splitting the target date range also includes: obtaining the outbound date range and the return date range; splitting the outbound date range and the return date range, using a two-dimensional array to represent multiple date units, each date unit corresponding to an array element, wherein the rows and columns of the two-dimensional array represent the outbound date and the return date of the date unit, respectively; when the return date of the date unit is not earlier than the outbound date, representing the array element corresponding to the date unit as a first value; when the return date of the date unit is earlier than the outbound date, representing the array element corresponding to the date unit as a second value.
[0077] In an embodiment of the present invention, for an original flight that is not a one-way flight, a round-trip flight including flown segments / unchanged segments, and a two-open-jaw flight, there are two target date ranges, namely, a departure date range and a return date range. The embodiment of the present invention splits the departure date range and the return date range to obtain multiple date units, and uses a two-dimensional array to represent the multiple date units, each date unit corresponds to an array element, wherein the rows and columns of the two-dimensional array represent the departure date and the return date of the date unit, respectively. Two use cases are proposed for this scenario below:
[0078] Use case 4: If the original flight route is Beijing-Shanghai-Beijing, and the new itinerary requires the departure date of both the outbound and return trips to be changed, the target change date for the outbound trip is November 15, and the target change date for the return trip is November 25, and the target change days are both 3 days. The outbound date range is November 12-November 18, and the outbound date range is November 22-November 28. The outbound date range and the return date range are split into 7*7 date units, and a two-dimensional array is used to represent multiple date units. Each date unit corresponds to an array element. The two-dimensional array is represented by Table 4:
[0079] Table 4 Target date range split table for use case 4
[0080]
[0081] Since the latest date in the outbound date range is November 18, and the earliest date in the return date range is November 22, and November 22 is later than November 18, all date cells in Table 4 are reasonable, and the array elements corresponding to all date cells in Table 4 are set to 1.
[0082] Use case 5: If the original flight route is Beijing-Shanghai-Beijing, and the new itinerary requires the departure date of both the outbound and return trips to be changed, the target change date for the outbound trip is November 15, and the target change date for the return trip is November 17. The target change days are both 3 days. The outbound date range is November 12-November 18, and the outbound date range is November 14-November 20. The outbound date range and the return date range are split into 7*7 date units, and a two-dimensional array is used to represent multiple date units. Each date unit corresponds to an array element. The two-dimensional array is represented by Table 5:
[0083] Table 5 Target date range split table for use case 5
[0084]
[0085]
[0086] Since the latest date in the outbound date range is November 18, and the earliest date in the return date range is November 14, which is earlier than November 18, there are unreasonable date units in Table 5. For example, when the return date is November 14 and the outbound date is November 16, the return date is earlier than the outbound date, and the date unit is unreasonable, so the array element corresponding to the date unit is set to 0. In Table 5, there are 10 unreasonable date units and 39 reasonable date units. In the subsequent steps, when obtaining multiple new itinerary flight combinations corresponding to the date units, only reasonable date units are operated, and unreasonable date units will be ignored.
[0087] Step S102, based on a date units, respectively obtain b new itinerary flight combinations corresponding to each date unit, where b is a positive integer greater than or equal to 1.
[0088] For the reasonable date units obtained in step S101, the embodiment of the present invention will obtain b new itinerary flight combinations corresponding to these date units, where b is a positive integer greater than or equal to 1, and the size of b depends on the number of new itinerary flight combinations corresponding to each date unit, and the number of new itinerary flight combinations corresponding to each date unit may be different. The new itinerary flight combination can be flights of different airlines, or direct flights or connecting flights. For example, when the new itinerary is a Beijing-Shanghai itinerary, the new itinerary flight combination includes: Company A's Beijing-Shanghai direct flight, Company B's Beijing-Shanghai direct flight, Company A's Beijing-Tianjin-Shanghai connecting flight, and Company B's Beijing-Tianjin-Shanghai connecting flight.
[0089] Step S103, obtaining historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees.
[0090] In the embodiment of the present invention, in order to measure the quality of each new itinerary flight combination, it is necessary to calculate the difference between the new itinerary fare of each new itinerary flight and the historical fare of the original flight. The embodiment of the present invention needs to obtain the historical fare of the original flight. At the same time, in order to obtain the new itinerary fare of each new itinerary flight, it is also necessary to obtain the change rules and handling fees of the original flight. Therefore, the embodiment of the present invention obtains the historical fare information of the original flight in this step, and the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees.
[0091] Step S104, based on the change rules and handling fees of the original flights, multiple new itinerary fares for each new itinerary flight combination are obtained, and the change difference of each new itinerary fare is calculated.
[0092] In the embodiment of the present invention, there are a reasonable date units, each date unit has b new itinerary flight combinations, and then c new itinerary fares for each new itinerary flight combination are obtained, where c is a positive integer greater than or equal to 1, and the size of c depends on the number of new itinerary fares corresponding to the new itinerary flight combination, and the number of new itinerary fares corresponding to each new itinerary flight combination may be different. After obtaining the new itinerary fares, the change difference of each new itinerary fare is calculated.
[0093] Table 6 is an optional date unit-minimum price difference correspondence table according to an embodiment of the present invention. In Table 6, there are a reasonable date units, each date unit has b new itinerary flight combinations, each new itinerary flight combination has c new itinerary fares, each new itinerary fare corresponds to a change price difference, and the minimum price difference can be obtained based on the change price difference.
[0094] Table 6 Date unit-minimum price difference correspondence table
[0095]
[0096]
[0097] Optionally, after obtaining b new itinerary flight combinations corresponding to each date unit, the method includes: obtaining the cabin space information corresponding to each new itinerary flight combination.
[0098] In the embodiment of the present invention, it is also necessary to obtain the class information corresponding to each new itinerary flight combination. The class information reflects the legal class in a new itinerary flight, that is, the class that can be provided to customers for selection. The acquired class information will be integrated into the final flight information and output as a result.
[0099] Optionally, the step of calculating the change difference of each itinerary fare includes: obtaining the historical fare of the original flight; subtracting the historical fare of the original flight from the new itinerary fare of each new itinerary flight combination to obtain the fare difference, and obtaining the change difference based on the fare difference and the handling fee.
[0100] In the embodiment of the present invention, after obtaining multiple new itinerary fares for each new itinerary flight combination, the historical fares of the original flights are obtained, and the new itinerary fare of each new itinerary flight combination is subtracted from the historical fare of the original flight to obtain the difference between the new and old fares, and then combined with the change handling fee, the change difference can be obtained. For example, in Table 6, each new itinerary flight combination has c new itinerary fares, and each new itinerary fare has a corresponding change difference, so each new itinerary flight combination has c change differences.
[0101] Step S105, based on the change price differences of all new itinerary fares, the lowest price difference in each date unit is obtained, and the calendar mode change search result including the flight information corresponding to all the lowest price differences is output.
[0102] In an embodiment of the present invention, after obtaining the change price difference, the lowest price difference in the date unit can be obtained. In Table 6, each new itinerary flight combination has c change price differences, and each date unit has b new itinerary flight combinations, so each date unit has b*c change price differences. The smallest value is selected from these b*c change price differences as the lowest price difference for the date unit, so for a date unit, a lowest price differences can be obtained. The final output result of the embodiment of the present invention is the flight information corresponding to all a lowest price differences. The user compares and selects from these a types of flight information, and finally selects the target flight information that meets the user's own requirements.
[0103] According to one aspect of an embodiment of the present invention, a flight ticket calendar mode change search system is provided, comprising: a new itinerary building module, for splitting a target date range to obtain a plurality of date units, and based on the date units, obtaining a plurality of new itinerary flight combinations corresponding to each date unit, and obtaining the cabin information corresponding to each new itinerary flight combination; a fare refund and change calculation module, for obtaining historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees; a change processing calculation module, for obtaining a plurality of new itinerary fares for each new itinerary flight combination based on the change rules and handling fees of the original flight, and calculating the change price difference of each new itinerary fare; a change processing integration module, for integrating the lowest price differences of all date units within the target date range, and outputting a calendar mode change search result containing the flight information corresponding to all the lowest price differences.
[0104] The embodiment of the present invention also provides a flight ticket calendar mode change search system, which mainly includes a new itinerary building module, a change processing calculation module, a change processing integration module and a fare refund and change calculation module. Figure 2 is a module comparison diagram of an optional air ticket calendar mode change search system according to an embodiment of the present invention. Figure 2As can be seen in the figure, the flight calendar mode change search system is divided into a separate architecture and a cohesive architecture. The separate architecture can be understood as the new itinerary construction module and the fare refund and change calculation module are independent of each other and need to interact through network transmission. The cohesive architecture can be understood as the new itinerary construction module and the fare refund and change calculation module are nested with each other and the communication between the two modules does not rely on network transmission. Among them, the new itinerary construction module is used to split the target date range to obtain multiple date units, and based on the date unit, obtain multiple new itinerary flight combinations corresponding to each date unit, and obtain the cabin information corresponding to each new itinerary flight combination; the fare refund and change calculation module is used to obtain the historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees; the change processing calculation module obtains multiple new itinerary fares for each new itinerary flight combination based on the change rules and handling fees of the original flight, and calculates the change difference of each new itinerary fare; the change processing integration module is used to integrate the lowest price difference of all date units within the target date range, and output the calendar mode change search result containing the flight information corresponding to all the lowest price differences; the database is used to store flight information. Since the cohesive architecture system has a higher performance change search process, the embodiment of the present invention selects the cohesive architecture to construct the air ticket calendar mode change search system.
[0105] Figure 3 is a logic flow chart of an optional air ticket calendar mode change search method according to an embodiment of the present invention, Figure 3 In the embodiment of the present invention, a user initiates a calendar mode change search request, and the air ticket calendar mode change search system provided by the embodiment of the present invention responds to the user request, splits the target date range specified by the user into multiple date units, and then obtains multiple new itinerary flight combinations based on each date unit, and then obtains the historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees, and then obtains the new itinerary fare and cabin information of each new itinerary flight combination based on the change rules and handling fees of the original flight, and then calculates the change difference of each new itinerary fare, and finally obtains the minimum price difference of each date unit based on the change difference of all new itinerary fares, and finally returns the calendar mode change search result containing the flight information corresponding to all the minimum price differences.
[0106] This embodiment provides users with more flight options by simultaneously outputting the best change search results for all dates within the target date range specified by the user, thereby avoiding the need for users to enter the website multiple times for query and comparison when performing ticket change search operations. At the same time, for airlines, this embodiment can provide users with flight information for all dates within the specified date range through a single change search operation, thereby increasing ticket sales opportunities and expanding the company's profits. The embodiment of the present invention not only achieves the technical effect of saving users' search time and improving users' ticket purchasing experience, but also reduces the pressure on the server caused by multiple change search operations.
[0107] The following is a detailed description in conjunction with another embodiment.
[0108] Embodiment 2
[0109] The air ticket calendar mode change search device provided in this embodiment includes multiple implementation units, each of which corresponds to each implementation step in the above-mentioned embodiment 1.
[0110] Figure 4 is a schematic diagram of an optional air ticket calendar mode change search device according to an embodiment of the present invention, such as Figure 4 As shown, the air ticket calendar mode change search device may include: a splitting unit 40, a first obtaining unit 41, a second obtaining unit 42, a calculation unit 43, and an output unit 44.
[0111] Among them, the splitting unit 40 is used to respond to the calendar mode change search request, split the target date range, and obtain a date units, wherein the calendar mode change search request at least includes the target change date, the target change days and the departure date of the original flight, and a is a positive integer greater than 1.
[0112] The first acquisition unit 41 acquires b new itinerary flight combinations corresponding to each date unit based on a date units, where b is a positive integer greater than or equal to 1.
[0113] The second acquisition unit 42 is used to acquire historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees.
[0114] The calculation unit 43 obtains a plurality of new itinerary fares for each new itinerary flight combination based on the change rules and handling fees of the original flight, and calculates the change difference of each new itinerary fare.
[0115] The output unit 44 obtains the lowest price difference in each date unit based on the price difference of all new itinerary fares, and outputs the calendar mode change search result including the flight information corresponding to all the lowest price differences.
[0116] The above-mentioned air ticket calendar mode change search device can respond to the calendar mode change search request initiated by the user through the splitting unit 40, split the target date range to obtain a date units, and obtain b new itinerary flight combinations corresponding to each date unit based on the a date units through the first acquisition unit 41, and then obtain the historical fare information of the original flight through the second acquisition unit 42, the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees, and then based on the change rules and handling fees of the original flight, and then based on the change rules and handling fees of the original flight, and then through the calculation unit 43 Based on the change rules and handling fees of the original flight, multiple new itinerary fares for each new itinerary flight combination are obtained, and the change difference of each new itinerary fare is calculated. Finally, based on the change difference of all new itinerary fares, the output unit 44 obtains the lowest price difference in each date unit, and outputs the calendar mode change search result containing the flight information corresponding to all the lowest price differences. This embodiment provides users with more flight options by simultaneously outputting the best change search results for all dates within the target date range specified by the user, avoiding the need for users to enter the website multiple times for query and comparison when performing ticket change search operations, saving users' search time, improving users' ticket purchase experience, and thus solving the technical problem in the related art that users can only obtain ticket change search results for fixed dates. At the same time, for airlines, this embodiment can provide users with flight information for all dates within the specified date range through a single change search operation, which can increase ticket sales opportunities, expand the company's revenue, and reduce the pressure on the server caused by multiple change search operations.
[0117] Optionally, the splitting unit 40 includes: a first acquisition module, used to acquire a target change date and a target change number of days; and a determination module, used to determine a target date range based on the target change date and the target change number of days.
[0118] Optionally, the splitting unit 40 includes: a second acquisition module, used to obtain the departure date of the original flight when the original flight is a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-end flight; a first processing module, used to split the target date range, using a one-dimensional array to represent multiple date units, each date unit corresponding to an array element; a first representation module, used to represent the array elements corresponding to all date units as a first value when the original flight is a one-way flight; a second representation module, used to represent the array elements corresponding to the date units as a first value when the original flight is a round-trip flight including flown segments / unchanged segments, or a two-segment open-end flight, if the date of the date unit is not earlier than the departure date; a third representation module, used to represent the array elements corresponding to the date units as a second value when the date of the date unit is earlier than the departure date.
[0119] Optionally, the splitting unit 40 also includes: a third acquisition module, used to obtain the departure date range and the return date range when the original flight is not a one-way flight, a round-trip flight including flown segments / unchanged segments, and a flight with two open legs; a fourth characterization module, used to split the departure date range and the return date range, using a two-dimensional array to characterize multiple date units, each date unit corresponding to an array element, wherein the rows and columns of the two-dimensional array represent the departure date and the return date of the date unit, respectively; a fifth characterization module, used to characterize the array element corresponding to the date unit as a first value when the return date of the date unit is not earlier than the departure date; and a sixth characterization module, used to characterize the array element corresponding to the date unit as a second value when the return date of the date unit is earlier than the departure date.
[0120] Optionally, the first acquisition unit 41 includes: a fourth acquisition module, configured to acquire the cabin space information corresponding to each new itinerary flight combination.
[0121] Optionally, the calculation unit 43 also includes: a fifth acquisition module, used to obtain the historical fare of the original flight; a second processing module, used to subtract the historical fare of the original flight from the new itinerary fare of each new itinerary flight combination to obtain the fare difference, and obtain the change difference based on the fare difference and the handling fee.
[0122] The above-mentioned air ticket calendar mode change search device can also include a processor and a memory. The above-mentioned splitting unit 40, the first acquisition unit 41, the second acquisition unit 42, the calculation unit 43, the output unit 44, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0123] The processor includes a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be set, and the search results of the flight ticket calendar mode change can be output by adjusting the kernel parameters.
[0124] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (fl ash RAM), and the memory includes at least one storage chip.
[0125] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the air ticket calendar mode change search method of any one of the above-mentioned embodiments one.
[0126] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the air ticket calendar mode change search method of any one of the above-mentioned embodiments one.
[0127] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the air ticket calendar mode change search method described in each embodiment of the present application.
[0128] The present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the air ticket calendar mode change search method described in each embodiment of the present application are implemented.
[0129] Figure 5 1 is a hardware structure block diagram of an electronic device (or mobile device) for a method for searching for a change in a flight calendar mode according to an embodiment of the present invention. Figure 5 As shown, the electronic device may include one or more ( Figure 5 502a, 502b, ..., 502n are used to illustrate) a processor (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 504 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. A person skilled in the art can understand that Figure 5 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 5 More or fewer components as shown, or with Figure 5 Different configurations shown.
[0130] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0131] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0132] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0133] 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0134] In addition, each functional unit in each embodiment of the present 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-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0135] 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 the present invention, in essence, 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 for 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 the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0136] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for searching for changes in airline ticket calendar mode, characterized in that: Applicable to domestic air ticket change search scenarios, including: In response to the calendar mode change search request, split the target date range to obtain a date units, wherein the calendar mode change search request at least includes a target change date, a target change days, and a departure date of the original flight, and a is a positive integer greater than 1; Based on the a date units, respectively obtain b new itinerary flight combinations corresponding to each of the date units, where b is a positive integer greater than or equal to 1; Acquire historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees; Based on the change rules and handling fees of the original flight, obtain multiple new itinerary fares for each of the new itinerary flight combinations, and calculate the change difference of each of the new itinerary fares; Based on the change price differences of all the new itinerary fares, the lowest price difference in each of the date units is obtained, and a calendar mode change search result including flight information corresponding to all the lowest price differences is output.
2. The change search method according to claim 1, characterized in that: Before the target date range is split, include: Get the target change date and target change days; The target date range is determined based on the target change date and the target change days.
3. The change search method according to claim 1, characterized in that: When the original flight is a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-jaw flight, the step of splitting the target date range includes: Get the departure date of the original flight; The target date range is split and a one-dimensional array is used to represent a plurality of the date units, each of the date units corresponds to an array element; In the case where the original flight belongs to the one-way flight, representing the array elements corresponding to all the date units as a first value; In the case where the original flight belongs to the round-trip flight including flown segments / unchanged segments or the two-segment open-joint flight, if the date of the date unit is not earlier than the departure date, the array element corresponding to the date unit is represented as a first value; if the date of the date unit is earlier than the departure date, the array element corresponding to the date unit is represented as a second value.
4. The change search method according to claim 3, characterized in that: In the case where the original flight is not a one-way flight, a round-trip flight including flown segments / unchanged segments, or a two-segment open-jaw flight, the step of splitting the target date range further includes: Get the outbound date range and the return date range; The outbound date range and the return date range are split and processed, and a two-dimensional array is used to represent a plurality of the date units, each of the date units corresponds to an array element, wherein the rows and columns of the two-dimensional array represent the outbound date and the return date of the date unit respectively; In the case where the return date of the date unit is not earlier than the departure date, representing the array element corresponding to the date unit as a first value; In the case that the return date of the date unit is earlier than the departure date, the array element corresponding to the date unit is represented as a second value.
5. The change search method according to claim 1, characterized in that: After obtaining b new itinerary flight combinations corresponding to each of the date units, including: The cabin space information corresponding to each of the new itinerary flight combinations is obtained.
6. The change search method according to claim 1, characterized in that: The step of calculating the change difference of each new itinerary fare includes: Obtain the historical fares of the original flight; The new itinerary fare of each of the new itinerary flight combinations is subtracted from the historical fare of the original flight to obtain a fare difference, and the change fare difference is obtained based on the fare difference and the handling fee.
7. A flight ticket calendar mode change search system, characterized in that: include: A new itinerary building module is used to split the target date range to obtain multiple date units, and based on the date units, obtain multiple new itinerary flight combinations corresponding to each of the date units, and obtain the cabin information corresponding to each of the new itinerary flight combinations; The fare refund and change calculation module is used to obtain the historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees; A change processing calculation module, based on the change rules and handling fees of the original flight, obtains multiple new itinerary fares for each of the new itinerary flight combinations, and calculates the change difference of each of the new itinerary fares; The change processing integration module is used to integrate the lowest price differences of all date units within the target date range and output a calendar mode change search result including flight information corresponding to all the lowest price differences.
8. A flight ticket calendar mode change search device, characterized in that: Applicable to domestic air ticket change search scenarios, including: a splitting unit, configured to respond to a calendar mode change search request, split the target date range to obtain a date units, wherein the calendar mode change search request at least includes a target change date, a target change days, and a departure date of the original flight, and a is a positive integer greater than 1; A first acquisition unit, based on the a date units, respectively acquires b new itinerary flight combinations corresponding to each of the a date units, where b is a positive integer greater than or equal to 1; A second acquisition unit is used to acquire the historical fare information of the original flight, wherein the historical fare information includes the historical fare of the original flight and its corresponding change rules and handling fees; A calculation unit, based on the change rules and handling fees of the original flight, obtains a plurality of new itinerary fares for each of the new itinerary flight combinations, and calculates a change difference of each of the new itinerary fares; The output unit obtains the lowest price difference in each date unit based on the price difference of all new itinerary fares, and outputs a calendar mode change search result including flight information corresponding to all the lowest price differences.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the air ticket calendar mode change search method according to any one of claims 1 to 6.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the air ticket calendar mode change search method described in any one of claims 1 to 6.
Citation Information
Patent Citations
Air ticket change price automatic search method and system thereof
CN105631729A
Multipoint-to-multipoint flight search method, system, device and storage medium
CN107844611A
Airline ticket change information processing method and apparatus, and electronic device and storage medium
WO2024148808A1
Cited By
Change search method and device for specified new trip flight information
CN120578812A
