Method and device for searching air ticket change of specified brand information, and electronic equipment

By querying and computer ticket change search requests, a change search result message containing brand information is generated, which solves the problem that passengers in the prior art cannot obtain desired brand products in a directional manner, and improves the ticket purchase experience.

CN119127959APending Publication Date: 2024-12-13TRAVELSKY TECHNOLOGY LIMITED

Patent Information

Application Number
CN202411363503.5
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

Technical Problem

The prior art cannot obtain the brand products expected by passengers through designated brand information, resulting in poor passenger ticket purchase experience.

Method used

By responding to the change search request, query the change rules of the previous ticket, obtain flight restriction information, freight restriction information and price difference calculation information, and determine that the change search request meets the conditions, obtain the new itinerary based on the specified itinerary and flight restriction information. , query the brand data table to obtain the new itinerary freight rate, calculate the change difference between the new itinerary freight rate and the previous ticket, and finally generate a brand airline, brand name, brand number, brand description information and brand additional services. Change the search result message.

Benefits of technology

It significantly improves the ticket purchase experience of passengers, allowing passengers to obtain expected brand products through designated brand information, and solves the problem of the inability to meet passengers to obtain expected brand products in a targeted manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127959A_ABST
    Figure CN119127959A_ABST
Patent Text Reader

Abstract

The invention discloses an air ticket change searching method and device based on specified brand information and electronic equipment, and relates to the technical field of air ticket change searching or other related fields, and the method comprises the following steps: responding to a request, querying a change rule corresponding to a previous passenger ticket, obtaining flight and freight rate limitation information and price difference calculation information based on the change rule, and calculating the price difference of the previous passenger ticket. When the change rule judgment request meets the change condition, obtaining new journey flight information and a brand data table based on the specified journey information and the flight limitation information, querying the brand data table to obtain a new journey freight rate based on the freight rate limitation information, the specified brand information and the new journey flight information, and calculating the change rule on the basis of price difference calculation information. And calculating the change price difference of the new itinerary freight rate relative to the last passenger ticket freight rate, and generating a result message based on the brand data table, the new itinerary flight information and the change price difference. According to the invention, the technical problem that passengers cannot directionally obtain expected brand products through specified brand information in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air ticket change search or other related fields, and in particular to an air ticket change search method for specifying brand information, a device thereof, and an electronic device. Background Art

[0002] The domestic change search system is an automated search system for providing services such as rescheduling and upgrading in the after-sales process of domestic flight tickets. Passengers can obtain rich price, flight and other information that meets the needs of passengers by specifying the itinerary, date, service level and other personalized search conditions to be changed. The combination of "price, flight and other information" obtained based on the services such as rescheduling and upgrading mentioned above is called a changeable strategy. In the field of civil aviation, the concept of "brand" is used to combine the price of air tickets with various additional services of civil aviation to form aviation products with differentiated levels. Among them, additional services mainly include: 1) ticket rights such as rescheduling, refunding, and upgrading; 2) additional service products such as seat selection, luggage, and meals. Different brands correspond to different ticket prices and additional services, and passengers' search demand for brand-related aviation products (hereinafter referred to as "brand products") is increasing. In particular, when passengers are performing rescheduling or upgrading operations, they may already have the brand products they expect in their minds, and then they will want to search for specific changeable strategies by specifying brand information.

[0003] In the related art, the domestic change search strategy is mainly applicable to the change search process of international routes and inter-institution ticket scenarios, the change search request of international routes and multiple exchange scenarios, and the device for international air ticket change search by date range. There is a lack of change search strategies suitable for returning brand products in a targeted manner by specifying brand information. The change search strategy in the prior art is usually related to the combination mode of brand products, the storage of brand data, and the diversified display of brand products. The existing strategy can only return multiple brand product combinations based on the brand combination mode specified by the passenger, so that the passenger can make a selection from these brand product combinations. The existing strategy cannot meet the change search needs of passengers who want to obtain the desired brand products in a targeted manner by specifying brand information.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiment of the present invention provides a method and device for searching for ticket changes with specified brand information, and an electronic device thereof, so as to at least solve the technical problem in the related art that passengers cannot obtain desired brand products in a targeted manner by specifying brand information.

[0006] According to one aspect of an embodiment of the present invention, a method for searching for ticket changes with specified brand information is provided, comprising: responding to a change search request, querying a change rule corresponding to a previous ticket, wherein the change search request at least comprises: specified itinerary information, specified brand information, the specified itinerary information at least comprises the origin, destination, and departure time information to be changed by the target passenger, and the specified brand information at least comprises the carrier airline to be changed by the target passenger; based on the change rule, obtaining flight restriction information, fare restriction information, and price difference calculation information; when the change rule determines that the change search request satisfies the change condition, obtaining new itinerary flight information based on the specified itinerary information and the flight restriction information; obtaining a brand data table, querying the brand data table based on the fare restriction information, the specified brand information, and the new itinerary flight information to obtain a new itinerary fare; based on the price difference calculation information, calculating the change price difference of all new itinerary fares relative to the fare price of the previous ticket; generating a change search result message based on the brand data table, the new itinerary flight information and its corresponding change price difference, wherein the change search result message at least comprises: the airline to which the brand belongs, the brand name, the brand number, the brand description information, and the brand additional services.

[0007] Optionally, the step of querying the change rules corresponding to the previous ticket includes: obtaining the previous ticket information in the change search request; obtaining the fare rule number based on the previous ticket information; obtaining the rule master table based on the fare rule number; and querying the change rules corresponding to the previous ticket from the rule master table.

[0008] Optionally, after querying the change rules corresponding to the previous ticket, the step of determining whether the change search request meets the change conditions includes: obtaining the change rule main table associated with the rule main table; obtaining the change restriction field in the change rule main table, and when the change restriction field indicates that changes are allowed, obtaining the change rule sub-table associated with the change rule main table; obtaining the restriction conditions in the change rule sub-table, and when the previous ticket information meets the restriction conditions, obtaining the change qualitative field in the change rule sub-table, wherein the change qualitative field is used to describe whether changes are allowed to the previous ticket under the restriction conditions; when the change qualitative field indicates that changes are allowed, determining that the change search request meets the change conditions.

[0009] Optionally, after querying the change rules corresponding to the previous ticket, the step of determining whether the change search request meets the change conditions also includes: when the change restriction field indicates that changes are not allowed, the previous ticket information does not meet the restriction conditions, or the change qualitative field indicates that changes are not allowed, determining that the change search request does not meet the change conditions; when the change search request does not meet the change conditions, outputting an abnormal message indicating that the change search cannot be performed.

[0010] Optionally, the step of obtaining flight restriction information and fare restriction information based on the change rule includes: obtaining a new fare calculation condition table associated with the change rule subtable; and obtaining the flight restriction information and fare restriction information in the new fare calculation condition table.

[0011] Optionally, when calculating the change difference of all new itinerary fares relative to the fare price of the previous ticket, the step of calculating the change fee includes: obtaining the calculation mode field, amount type fixed value field, discount percentage field, rounding principle field and minimum charge amount field in the change rule subtable; when the calculation mode field indicates the amount type, using the value of the amount type fixed value field as the change fee; when the calculation mode field indicates the discount type, based on the discount percentage field, the rounding principle field and the minimum charge amount field, obtain the discount fee, and use the discount fee as the change fee.

[0012] Optionally, the step of calculating the change difference of all new itinerary fares relative to the fare price of the previous ticket includes: obtaining the fare price of the previous ticket from the previous ticket information; subtracting the fare price of the previous ticket from the new itinerary fare to obtain the fare difference; obtaining the fee collection rule field in the change rule subtable; when the field value corresponding to the fee collection rule field is the first value, comparing the fare difference and the change fee value, and taking the larger value as the change difference; when the field value corresponding to the fee collection rule field is the second value, taking the fare difference value as the change difference, wherein the second value is different from the first value; when the value of the fee collection rule field is other values ​​except the first value and the second value, taking the sum of the fare difference and the change fee value as the change difference.

[0013] According to another aspect of an embodiment of the present invention, a device for searching for ticket changes with specified brand information is also provided, including: a query unit for responding to a change search request and querying a change rule corresponding to a previous ticket, wherein the change search request at least includes: specified itinerary information and specified brand information, the specified itinerary information at least includes the origin, destination, and departure time information to be changed by the target passenger, and the specified brand information at least includes the carrier airline to be changed by the target passenger; a first acquisition unit for acquiring flight restriction information, fare restriction information, and price difference calculation information based on the change rule; a second acquisition unit for determining that the change search request satisfies the change condition when the change rule determines that the change search request satisfies the change condition In the case of a new itinerary, based on the designated itinerary information and the flight restriction information, the new itinerary flight information is obtained; a third obtaining unit is used to obtain a brand data table, and based on the fare restriction information, the designated brand information, and the new itinerary flight information, query the brand data table to obtain the new itinerary fare; a calculation unit is used to calculate the change price difference of all new itinerary fares relative to the fare price of the previous ticket based on the price difference calculation information; a generation unit is used to generate a change search result message based on the brand data table, the new itinerary flight information and its corresponding change price difference, wherein the change search result message at least includes: the airline to which the brand belongs, the brand name, the brand number, the brand description information, and the brand additional services.

[0014] Optionally, the query unit includes: a first information acquisition module, used to obtain the previous ticket information in the change search request; a number acquisition module, which obtains the fare rule number based on the previous ticket information; a first table acquisition module, which obtains the rule master table based on the fare rule number; and a query module, which is used to query the change rules corresponding to the previous ticket from the rule master table.

[0015] Optionally, the query unit also includes: a first acquisition module, used to determine whether the change search request meets the change conditions, and obtain the change rule main table associated with the rule main table; a second acquisition module, used to obtain the change restriction field in the change rule main table, and when the change restriction field indicates that the change is allowed, obtain the change rule sub-table associated with the change rule main table; a third acquisition module, used to obtain the restriction conditions in the change rule sub-table, and when the previous ticket information meets the restriction conditions, obtain the change qualitative field in the change rule sub-table, wherein the change qualitative field is used to describe whether the previous ticket is allowed to be changed under the restriction conditions; a first determination module, used to determine that the change search request meets the change conditions when the change qualitative field indicates that the change is allowed.

[0016] Optionally, the query unit also includes: a second judgment module, used to determine whether the change search request meets the change conditions, and to determine that the change search request does not meet the change conditions when the change restriction field indicates that changes are not allowed, the previous ticket information does not meet the restriction conditions, or the change qualitative field indicates that changes are not allowed; an output module, used to output an abnormal message indicating that the change search cannot be performed when the change search request does not meet the change conditions.

[0017] Optionally, the first acquisition unit includes: a second table acquisition module, used to acquire a new fare calculation condition table associated with the change rule subtable; and a second information acquisition module, used to acquire flight restriction information and fare restriction information in the new fare calculation condition table.

[0018] Optionally, the calculation unit includes: a first field acquisition module, used to calculate the change fee, obtain the calculation mode field, amount type fixed value field, discount percentage field, rounding principle field and minimum charge amount field in the change rule subtable; a first processing module, used to use the value of the amount type fixed value field as the change fee when the calculation mode field indicates the amount type; a second processing module, used to obtain the discount fee based on the discount percentage field, rounding principle field and minimum charge amount field when the calculation mode field indicates the discount type, and use the discount fee as the change fee.

[0019] Optionally, the calculation unit also includes: a price acquisition module, which is used to obtain the fare price of the previous ticket from the previous ticket information; a calculation module, which is used to subtract the fare price of the previous ticket from the new itinerary fare to obtain the fare difference; a second field acquisition module, which is used to obtain the fee collection rule field in the change rule subtable; a third processing module, which is used to compare the fare difference and the change fee when the field value corresponding to the fee collection rule field is the first value, and take the larger one as the change price difference; a fourth processing module, which is used to take the fare difference as the change price difference when the field value corresponding to the fee collection rule field is the second value, wherein the second value is different from the first value; a fifth processing module, which is used to take the sum of the fare difference and the change fee as the change price difference when the value of the fee collection rule field is other values ​​except the first value and the second value.

[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 of the above-mentioned methods for searching for ticket changes of specified brand information.

[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 of the above-mentioned methods for searching for ticket changes of specified brand information.

[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of any one of the above-mentioned methods for searching for ticket changes of designated brand information.

[0023] In the present disclosure, by responding to a change search request, the change rules corresponding to the previous ticket are queried, and then based on the change rules, flight restriction information, fare restriction information and price difference calculation information are obtained. When the change rule determines that the change search request meets the change conditions, the new itinerary flight information is obtained based on the flight restriction information and the specified itinerary information in the request. Then, by obtaining a brand data table, based on the fare restriction information, the new itinerary flight information, and the specified brand information in the request, the brand data table is queried to obtain the new itinerary fare. Then, based on the price difference calculation information, the change price difference of all new itinerary fares relative to the fare price of the previous ticket is calculated. Finally, based on the brand data table, the new itinerary flight information and its corresponding change price difference, a change search result message is generated. The change search result message includes at least the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services. By outputting brand products corresponding to the brand expected by the target passenger, the passenger's ticket purchasing experience is significantly improved, thereby solving the technical problem in the related art that the passenger cannot obtain the desired brand product in a targeted manner by specifying the brand information. 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 ticket change search method for specifying brand information according to an embodiment of the present invention;

[0026] Figure 2 is a schematic diagram of an optional position of the previous ticket information in the change search request according to an embodiment of the present invention;

[0027] Figure 3 is a schematic diagram of a format of an optional last ticket information storage unit according to an embodiment of the present invention;

[0028] Figure 4is a schematic diagram of an optional rule data table association relationship according to an embodiment of the present invention;

[0029] Figure 5 is a schematic diagram of an optional location of specifying itinerary information in a change search request according to an embodiment of the present invention;

[0030] Figure 6 is a schematic diagram of an optional method of specifying a position of brand information in a change search request according to an embodiment of the present invention;

[0031] Figure 7 is a schematic diagram of an optional ticket change search method for specifying brand information according to an embodiment of the present invention;

[0032] Figure 8 is a schematic diagram of an optional flight ticket change search device for specifying brand information according to an embodiment of the present invention;

[0033] Fig. 9 The present invention is a hardware structure block diagram of an electronic device (or mobile device) for a method for searching for air ticket changes with designated brand information according to an embodiment of the present invention. DETAILED DESCRIPTION

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

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

[0036] 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:

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

[0038] Ticket change: rescheduling, upgrading, rerouting or reissuing the original flight.

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

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

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

[0042] Cross-agency ticket purchase: a type of ticket purchase that uses a system that connects travel agencies, agency companies, airlines and other travel service providers.

[0043] Original Ticket: The first ticket purchased by a passenger after deciding to travel.

[0044] Previous ticket: The ticket that is to be changed due to the passenger's decision to change the date, upgrade, etc.

[0045] First Change: The first change operation made by the passenger based on the original ticket. For the first change, the previous ticket is equivalent to the original ticket.

[0046] Multiple changes: Multiple changes made by the passenger based on the original ticket. For changes other than the first change, the previous ticket is not equivalent to the original ticket.

[0047] It should be noted that the ticket change search method and device for specifying brand information in the present disclosure can be used in the field of ticket change search technology. When a passenger performs a ticket change search operation for specified brand information, it can also be used in any field other than the field of ticket change search technology. When a passenger performs a ticket change search operation for specified brand information, the present disclosure does not limit the application field of the ticket change search method and device for specifying brand information.

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

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

[0050] The following embodiments of the present invention can be applied to various ticket change search systems / applications / devices with designated brand information. The present invention responds to a change search request, queries the change rules corresponding to the previous ticket, and then obtains flight restriction information, fare restriction information, and price difference calculation information based on the change rules. When the change search request is determined by the change rules to meet the change conditions, the new itinerary flight information is obtained based on the flight restriction information and the designated itinerary information in the request. Then, by obtaining the brand data table, the brand data table is queried based on the fare restriction information, the new itinerary flight information, and the designated brand information in the request to obtain the new itinerary fare. Then, based on the price difference calculation information, the change price difference of all new itinerary fares relative to the fare price of the previous ticket is calculated. Finally, based on the brand data table, the new itinerary flight information and its corresponding change price difference, a change search result message is generated. The change search result message includes at least the airline to which the brand belongs, the brand name, the brand number, the brand description information, and the brand additional services. By outputting brand products corresponding to the brand expected by the target passenger, the passenger's ticket purchasing experience can be significantly improved.

[0051] The present invention is described in detail below in conjunction with various embodiments.

[0052] Embodiment 1

[0053] According to an embodiment of the present invention, an embodiment of a method for searching for ticket changes with specified brand information 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 may be executed in an order different from that shown here.

[0054] Figure 1 FIG. 1 is a flowchart of an optional method for searching for ticket changes of designated brand information according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0055] Step S101, respond to the change search request, query the change rules corresponding to the previous ticket, wherein the change search request at least includes: specified itinerary information, specified brand information, the specified itinerary information at least includes the origin, destination, and departure time information that the target passenger wants to change, and the specified brand information at least includes the carrier airline that the target passenger wants to change.

[0056] Step S102, based on the change rule, obtain flight restriction information, fare restriction information and price difference calculation information.

[0057] Step S103, when the change rule determines that the change search request meets the change condition, new itinerary flight information is obtained based on the specified itinerary information and flight restriction information.

[0058] Step S104, obtaining a brand data table, querying the brand data table based on the fare restriction information, the designated brand information, and the new itinerary flight information, and obtaining the new itinerary fare.

[0059] Step S105, based on the price difference calculation information, calculate the price difference of all new itinerary fares relative to the price of the previous ticket.

[0060] Step S106, generating a change search result message based on the brand data table, the new itinerary flight information and the corresponding change price difference, wherein the change search result message at least includes: the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services.

[0061] The steps provided by the ticket change search method for specifying brand information can query the change rules corresponding to the previous ticket by responding to the change search request, and then obtain flight restriction information, fare restriction information and price difference calculation information based on the change rules. When the change rule determines that the change search request meets the change conditions, the new itinerary flight information is obtained based on the flight restriction information and the specified itinerary information in the request, and then the new itinerary fare is obtained by obtaining the brand data table, querying the brand data table based on the fare restriction information, the new itinerary flight information, and the specified brand information in the request, and then calculating the change price difference of all new itinerary fares relative to the fare price of the previous ticket based on the price difference calculation information. Finally, based on the brand data table, the new itinerary flight information and its corresponding change price difference, a change search result message is generated. The change search result message includes at least the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services. By outputting the brand products corresponding to the brand expected by the target passenger, the passenger's ticket purchasing experience is significantly improved, thereby solving the technical problem in the related technology that the passenger cannot obtain the expected brand products in a targeted manner by specifying the brand information.

[0062] The embodiment of the present invention is described in detail below in combination with the above steps.

[0063] Step S101, respond to the change search request and query the change rules corresponding to the previous ticket.

[0064] Among them, the change search request at least includes: specified itinerary information, specified brand information, the specified itinerary information at least includes the origin, destination, and departure time information that the target passenger wants to change, and the specified brand information at least includes the carrier airline that the target passenger wants to change.

[0065] In an embodiment of the present invention, after the target passenger issues a change search request, the present embodiment first queries the change rules corresponding to the target passenger's previous ticket by responding to the change search request, and then determines whether the request initiated by the target passenger can meet the change conditions based on the change rules, that is, whether the target passenger's previous ticket can be changed to a new ticket. The change search request initiated by the target passenger includes designated itinerary information and designated brand information. The designated itinerary information reflects the origin, destination, and departure time information that the target passenger wants to change, and the designated brand information reflects the carrier airline that the target passenger wants to change. The designated itinerary information and the designated brand information are the basic information for the change search operation performed by the embodiment of the present invention. The purpose of the embodiment of the present invention is to obtain brand products that meet the needs of the target passenger based on the designated brand information of the target passenger.

[0066] Optionally, the step of querying the change rules corresponding to the previous ticket includes: obtaining the previous ticket information in the change search request; obtaining the fare rule number based on the previous ticket information; obtaining the rule master table based on the fare rule number; and querying the change rules corresponding to the previous ticket from the rule master table.

[0067] In the embodiment of the present invention, in order to obtain the change rule corresponding to the previous ticket of the target passenger, it is first necessary to obtain the previous ticket information contained in the change search request initiated by the target passenger. The embodiment of the present invention defines the change search request as Request, and defines the previous ticket information as Original Request, wherein the previous ticket information is stored in the change search request in the form of a unit, and the embodiment of the present invention defines a storage unit as rmkot. Figure 2 is a schematic diagram of an optional position of the previous ticket information in the change search request according to an embodiment of the present invention. Figure 2 As can be seen in the figure, the change search request (Request) contains the previous ticket information (Original Request), and the previous ticket information (Original Request) contains one or more storage units (rmkot).

[0068] Figure 3 is a schematic diagram of the format of an optional last ticket information storage unit according to an embodiment of the present invention, that is, a schematic diagram of the format of a storage unit (rmkot). Figure 3 As can be seen in Figure 1, a storage unit contains various information about the previous ticket. Figure 3 In the table shown, the first row is an actual case of a storage unit, and the second and third rows are explanations of each block number in the actual case. For example, the number "1683858N" represents the freight rate rule number, and the number "CA" represents the carrier.

[0069] After obtaining the previous ticket information, the fare rule number is taken out from the designated storage unit. The embodiment of the present invention defines the fare rule number as RULE_ID_NO. Then, the corresponding rule master table is obtained from the domestic change search system database according to the fare rule number. The change rule corresponding to the previous ticket is queried from the rule master table. It should be noted that the embodiment of the present invention defines the rule master table as a RULE table.

[0070] Optionally, after querying the change rules corresponding to the previous ticket, the step of determining whether the change search request meets the change conditions includes: obtaining the change rule main table associated with the rule main table; obtaining the change restriction field in the change rule main table, and when the change restriction field indicates that changes are allowed, obtaining the change rule sub-table associated with the change rule main table; obtaining the restriction conditions in the change rule sub-table, and when the previous ticket information meets the restriction conditions, obtaining the change qualitative field in the change rule sub-table, wherein the change qualitative field is used to describe whether changes are allowed to the previous ticket under the restriction conditions; when the change qualitative field indicates that changes are allowed, determining that the change search request meets the change conditions.

[0071] In an embodiment of the present invention, after receiving a change search request initiated by a target passenger, it is necessary to determine whether the request satisfies the change conditions. Only when the change conditions are met will the embodiment of the present invention return relevant results. Otherwise, an abnormal result that does not allow the change will be returned.

[0072] When judging whether the change search request meets the change conditions, three tables need to be obtained, namely the rule main table, the change rule main table and the change rule sub-table. The rule main table obtains the fare rule number from the storage unit of the previous ticket information and associates it with the database through the fare rule number, thereby obtaining the corresponding rule main table. After obtaining the rule main table, the change rule sub-table is found through the REISSUE_ID field in the rule main table. It should be noted that the embodiment of the present invention defines the change rule main table as the RULE_REISSUE table and the change rule sub-table as the RULE_REISSUE_DETAIL table. Figure 4 is a schematic diagram of an optional rule data table association relationship according to an embodiment of the present invention, Figure 4 The first three tables are the rule main table (RULE), the change rule main table (RULE_REISSUE) and the change rule sub-table (RULE_REISSUE_DETAI L). The rule main table contains the REISSUE_ID field, which is associated with the change rule main table through the REISSUE_ID field. The change rule main table contains the REISSUE_ID field, which is associated with the change rule sub-table through the REISSUE_ID field. The rule main table, the change rule main table and the change rule sub-table will be described in detail below.

[0073] The following Table 1 is the main field information of the change rule main table, including the main fields REISSUE_ID field, RULE_TYPE field, LOCATION_CODE field, CHANGE_TAG field, VOLUNTARY_CHANGED_TEXT field and INVOLUNTARY_CHANGED_TEXT field, among which the REISSUE_ID field is mapped to the REISSUE_ID field of the rule main table and the change rule sub-table, and the CHANGE_TAG field is used to describe whether the change search request is allowed to change.

[0074] Table 1 Main field information of change rule master table

[0075]

[0076] The change rule subtable mainly contains three types of field information. The first type is the restriction condition field, the second type is the change qualitative field, and the third type is the price difference calculation field.

[0077] Among them, the first type - restriction field contains five fields, namely:

[0078] 1) Primary key and foreign key: including REISSUE_ID field and REISSUE_RESTRICTION_ID field. REISSUE_ID field is mapped to REISSUE_ID field in the change rule master table. Figure 4 The fourth table is the ID field mapping in the new freight rate calculation condition table;

[0079] 2) Passengers must meet the following information fields: including passenger type field and passenger class field;

[0080] 3) The ticket must meet the following fields: itinerary type (one-way / round trip / unlimited), time range after ticket issuance, time unit after ticket issuance, ticket issuing airlines allowed to issue tickets, and ticket usage (fully unused / partially used).

[0081] 4) The relevant fields that the flight needs to meet: booking class field, flight takeoff type restriction (before takeoff / after takeoff) field, flight takeoff time range restriction field, flight takeoff time range unit (hours / days) field;

[0082] 5) The freight rate must meet the following fields: freight rate base number field and discount range limit field.

[0083] The second type - change qualitative fields, including the REISSUE_ALLOWED_TAG field, as shown in Table 2 below:

[0084] Table 2 Change qualitative main fields

[0085] Field Name Field Description REISSUE_ALLOWED_TAG Indicates whether changes are allowed or not

[0086] The restriction condition field and the change qualitative field are mainly used to determine whether the change search request initiated by the target passenger meets the change conditions, that is, whether the relevant information in the change search request is within the scope of the restriction condition field, and whether the value of the change qualitative field indicates that the change is allowed. Among them, the change qualitative field is used to describe whether the previous ticket is allowed to be changed under the restriction conditions.

[0087] The third type - price difference calculation field, as shown in Table 3 below:

[0088] Table 3 Main fields for price difference calculation

[0089]

[0090]

[0091] The price difference calculation field is mainly used in the subsequent process to calculate the price difference between the new itinerary fare and the fare of the previous ticket.

[0092] In the embodiment of the present invention, there are three levels of judgment to determine whether the change search request satisfies the change condition. The first level of judgment is to judge according to the change restriction field in the change rule main table (CHANGE_TAG field in Table 1). When the value of this field indicates that the change search request allows the change and the number of changes does not exceed the maximum number of changes, the result of the first level of judgment is determined to be satisfied. The second level of judgment is to judge according to the restriction conditions in the change rule subtable, that is, the first type-restriction condition field. The change search request initiated by the target passenger contains a set of restriction conditions. The embodiment of the present invention compares the restriction conditions in the restriction condition change rule subtable in the request. When all the restriction condition fields in the request meet the restrictions indicated by the corresponding fields in the change rule subtable, the result of the second level of judgment is determined to be satisfied. The third level of judgment is to judge according to the change qualitative field in the change rule subtable (REISSUE_ALLOWED_TAG field in Table 2), that is, the second type-change qualitative field. When the value of this field indicates that the request allows the change, the result of the third level of judgment is determined to be satisfied. When the determination results of the above three levels are all satisfied, the change search request initiated by the target passenger can be determined to be satisfied, thereby entering the subsequent change search process.

[0093] Optionally, after querying the change rules corresponding to the previous ticket, the step of determining whether the change search request meets the change conditions also includes: when the change restriction field indicates that changes are not allowed, the previous ticket information does not meet the restriction conditions, or the change qualitative field indicates that changes are not allowed, determining that the change search request does not meet the change conditions; when the change search request does not meet the change conditions, outputting an abnormal message indicating that the change search cannot be performed.

[0094] In the embodiment of the present invention, when determining whether the change search request satisfies the change condition, there is a case where the condition is not satisfied. In the above three levels of determination, as long as the determination result of one level is that the condition is not satisfied, the change search request initiated by the target passenger will be determined as not satisfying the condition. For example, in the first-level judgment, if the value of the change restriction field in the change rule main table indicates that the change is not allowed, or the number of changes exceeds the maximum number of changes specified, then the judgment result of the first-level judgment will be judged as not meeting the condition; in the second-level judgment, when the value of any field in the restriction condition in the request is not within the constraint condition indicated by the corresponding field in the change rule subtable, the result of the second-level judgment is judged as not meeting the condition, for example, the passenger type field in the request indicates a child passenger and the passenger grade field indicates level one, but the passenger type field in the change rule subtable indicates an adult passenger and the passenger grade field indicates level three, then the passenger type field and the passenger grade field in the request are both not within the constraint condition, and the result of the second-level judgment will be judged as not meeting the condition; in the third-level judgment, if the change qualitative field in the change rule subtable indicates that the change is not allowed, then the judgment result of the third-level judgment will be judged as not meeting the condition. In the above example, as long as the judgment result of any layer of judgment is not meeting the condition, the change search request will be judged as not meeting the change condition, and at this time, the embodiment of the present invention will output an abnormal message to inform the target user that the change search cannot be performed.

[0095] Step S102, based on the change rule, obtain flight restriction information, fare restriction information and price difference calculation information.

[0096] In the embodiment of the present invention, it is necessary to obtain flight restriction information, fare restriction information and price difference calculation information based on the change rule, and the three types of information are presented in the form of fields, as shown below:

[0097] Table 4 Flight restriction information related fields

[0098]

[0099]

[0100] As can be seen from Table 4, the fields related to flight restriction information mainly include FLIGHT_DATE_TAG field, FLIGHT_DATE_NUM field, SAME_FLIGHT_TAG field, OTHER_CARRI ER_LIST field and BOOKING_CLASS_LIST field. The fields related to flight restriction information in Table 4 will be used in the subsequent steps to obtain the flight information of the new itinerary.

[0101] Table 5 Fields related to freight rate restriction information

[0102]

[0103] As can be seen from Table 5, the fields related to the fare restriction information mainly include the DATE_CAHNGE_TAG field, the PROCESS_TAG field, and the MODCLASS_NEWFARE_ALLOW_TAG field. The fields related to the fare restriction information in Table 5 will be used to obtain the new itinerary fare in subsequent steps.

[0104] Table 3 shows the fields related to price difference calculation information. The fields related to price difference calculation information are mainly used in the subsequent process to calculate the price difference of the new itinerary fare compared with the fare of the previous ticket.

[0105] Optionally, the step of obtaining flight restriction information and fare restriction information based on the change rule includes: obtaining a new fare calculation condition table associated with the change rule subtable; and obtaining the flight restriction information and fare restriction information in the new fare calculation condition table.

[0106] It should be noted that the flight restriction information and the fare restriction information, that is, the flight restriction related fields and the fare restriction information related fields, are stored in the new fare calculation condition table, and the new fare calculation condition table is obtained by associating the change rule subtable. Figure 4 In the schematic diagram of the rule data table association relationship shown, the fourth table is the new freight rate calculation condition table, which is obtained by association by changing the REISSUE_RESTRICTION_ID field in the rule subtable.

[0107] Step S103, when the change rule determines that the change search request meets the change condition, new itinerary flight information is obtained based on the specified itinerary information and flight restriction information.

[0108] As can be seen from step S101, the change search request initiated by the target user contains the specified itinerary information. Figure 5 is a schematic diagram of an optional location of designated itinerary information in a change search request according to an embodiment of the present invention. Figure 5In the example, NewRequest represents new trip information, and NewRequest includes the first information (corresponding to Figure 5 The first information mainly includes the designated itinerary information, which at least includes the departure place to be changed by the target passenger (corresponding to Figure 5 or i in), destination (corresponding to Figure 5 des) and departure time information, where the departure time information includes the departure date (corresponding to Figure 5 departureDate) and departure time (corresponding to Figure 5 In the departureTate in step S102, when the change rule determines that the change search request satisfies the change condition, the embodiment of the present invention obtains the new itinerary flight information based on the specified itinerary information and the flight restriction information obtained in step S102.

[0109] It should be noted that after obtaining the flight information of the new itinerary, it is also necessary to query the available seats corresponding to the new itinerary flight. The unavailable seats in the new itinerary flight will not be pushed to the target passengers. Only the available seats will be pushed to the target passengers for selection.

[0110] Step S104, obtaining a brand data table, querying the brand data table based on the fare restriction information, the designated brand information, and the new itinerary flight information, and obtaining the new itinerary fare.

[0111] As can be seen from step S101, the change search request initiated by the target user contains the specified brand information. Figure 6 is a schematic diagram of an optional location of designated brand information in a change search request according to an embodiment of the present invention. Figure 6 In the new itinerary information (NewRequest), the second information (corresponding to Figure 6 Opt ion in the request), the second information mainly includes the designated brand information, and the designated brand information at least includes the carrier airline that the target passenger wants to change, and the carrier airline is represented as the fareFamilyNames field in the change search request. In addition to the designated brand information, the second information also includes the field isFareFamily, which is used to mark whether the request enables the designated brand change search mode. When the field indicates "yes", the change search request initiated by the target passenger will follow the logic of the designated brand change search mode. When the field indicates "no", the change search request initiated by the target passenger will follow the logic of the ordinary change search mode. After obtaining the brand data table, the embodiment of the present invention obtains the new itinerary fare by querying the brand data table based on the designated brand information, the fare restriction information obtained in step S102, and the new itinerary flight information obtained in step S103.

[0112] It should be noted that the brand data table is obtained from the domestic change search database. The main fields of the brand data table are shown in the following table:

[0113] Table 6 Main fields of brand data table

[0114]

[0115] Table 6 shows the main fields of the brand data table. The embodiment of the present invention queries the brand data table based on the fare restriction information, the designated brand information, and the new itinerary flight information to obtain the new itinerary fare.

[0116] Step S105, based on the price difference calculation information, calculate the price difference of all new itinerary fares relative to the price of the previous ticket.

[0117] In the embodiment of the present invention, based on the price difference calculation information obtained in step S102, the price difference of all new itinerary fares relative to the fare of the previous ticket is calculated according to the price difference calculation logic specified by the price difference calculation information.

[0118] Optionally, when calculating the change difference of all new itinerary fares relative to the fare price of the previous ticket, the step of calculating the change fee includes: obtaining the calculation mode field, amount type fixed value field, discount percentage field, rounding principle field and minimum charge amount field in the change rule subtable; when the calculation mode field indicates the amount type, using the value of the amount type fixed value field as the change fee; when the calculation mode field indicates the discount type, based on the discount percentage field, the rounding principle field and the minimum charge amount field, obtain the discount fee, and use the discount fee as the change fee.

[0119] When calculating the change difference of all new itinerary fares relative to the fare price of the previous ticket, the change fee needs to be calculated first. There are two calculation strategies for the change fee, one is the amount calculation strategy and the other is the discount calculation strategy. By obtaining the calculation mode field in the change rule subtable, the calculation mode field indicates which calculation strategy is adopted by the embodiment of the present invention to calculate the change fee.

[0120] When the calculation mode field indicates the amount calculation strategy, the change fee is the value of the amount fixed value field in the change rule subtable; when the calculation mode field indicates the discount calculation strategy, the change fee is calculated by obtaining the discount percentage field, rounding principle field, and minimum charge amount field in the change rule subtable. The main steps of this calculation strategy are:

[0121] 1) Calculate the discount price: discount price (price) = new itinerary fare × discount percentage (DISCOUNT_PERCENT field value).

[0122] 2) The discount price (price) is rounded according to the method specified by the rounding principle field (ROUND_TYPE field), that is:

[0123] If the ROUND_TYPE field value = the first value, the discount price is rounded up;

[0124] If the ROUND_TYPE field value = the second value, the discount price is rounded up according to the decimal point;

[0125] If the ROUND_TYPE field value = the third value, the discount price is rounded down to the nearest decimal place.

[0126] It should be noted that, in the embodiment of the present invention, the first value is 0, the second value is 1, and the third value is 2.

[0127] 3) Compare the rounded discounted price with the value of the minimum charge amount field (CHARGE_MIN_AMOUNT field), and use the larger value as the final change fee.

[0128] Optionally, the step of calculating the change difference of all new itinerary fares relative to the fare price of the previous ticket includes: obtaining the fare price of the previous ticket from the previous ticket information; subtracting the fare price of the previous ticket from the new itinerary fare to obtain the fare difference; obtaining the fee collection rule field in the change rule subtable; when the field value corresponding to the fee collection rule field is the first value, comparing the fare difference and the change fee value, and taking the larger value as the change difference; when the field value corresponding to the fee collection rule field is the second value, taking the fare difference value as the change difference, wherein the second value is different from the first value; when the value of the fee collection rule field is other values ​​except the first value and the second value, taking the sum of the fare difference and the change fee value as the change difference.

[0129] After calculating the change fee, the embodiment of the present invention calculates the change difference between the new itinerary fare and the fare of the previous ticket. First, the fare of the previous ticket is obtained from the information of the previous ticket, and the fare of the previous ticket is subtracted from the new itinerary fare to obtain the fare difference. Then, the change difference is calculated according to the logic specified by the fee collection rule field (REISSUE_CHARGE_TAG field) in the change rule subtable. The main steps are:

[0130] If the value of the REISSUE_CHARGE_TAG field = the first value, compare the freight rate difference and the change fee, and use the larger value as the change fee.

[0131] If the value of the REISSUE_CHARGE_TAG field = the second value, the value of the freight rate difference is used as the change difference;

[0132] If the value of the REISSUE_CHARGE_TAG field ≠ the first value and the second value, the change difference = freight difference + change handling fee.

[0133] It should be noted that, in the embodiment of the present invention, the first value is 0 and the second value is 1.

[0134] Step S106, generating a change search result message based on the brand data table, the new itinerary flight information and the corresponding change price difference, wherein the change search result message at least includes: the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services.

[0135] In the embodiment of the present invention, all the new itinerary flight information that meets the change conditions and the corresponding change price difference are finally combined, and the corresponding brand information is integrated based on the brand data table to generate a change search result message and send it to the target passenger. The change search result message includes the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services, which are the relevant information of the brand specified by the target passenger.

[0136] Figure 7 is a schematic diagram of an optional ticket change search method for specifying brand information according to an embodiment of the present invention. Figure 7 In the embodiment of the present invention, by responding to the change search request initiated by the target passenger, the overall logic is started. First, by querying the change rules corresponding to the previous ticket, it is determined whether the request meets the change conditions. If the request does not meet the change conditions, an abnormal message is directly returned to prompt the target passenger that the request cannot be automatically searched for changes; if the request meets the change conditions, the new itinerary flight information is obtained according to the flight restriction information associated with the change rules and the specified itinerary information contained in the request, and then the new itinerary fare is queried according to the fare restriction information associated with the change rules, the new itinerary flight information and the specified brand information contained in the request, and then the final change price difference is calculated according to the price difference calculation information associated with the rule, and finally based on the brand data table, the new itinerary flight information and its corresponding change price difference, the change search result message is output, and the change search result message at least includes the brand's airline, brand name, brand number, brand description information and brand additional services. The embodiment of the present invention significantly improves the passenger's ticket purchasing experience by outputting brand products corresponding to the target passenger's desired brand, so that the passenger can obtain the desired brand product in a targeted manner by specifying the brand information.

[0137] The following is a detailed description in conjunction with another embodiment.

[0138] Embodiment 2

[0139] The air ticket change search device for designated brand information provided in this embodiment includes multiple implementation units, each of which corresponds to each implementation step in the above-mentioned embodiment 1.

[0140] Figure 8 FIG. 1 is a schematic diagram of an optional flight ticket change search device for specifying brand information according to an embodiment of the present invention. Figure 8 As shown, the flight ticket change search device for designated brand information may include: a query unit 80, a first acquisition unit 81, a second acquisition unit 82, a third acquisition unit 83, a calculation unit 84, and a generation unit 85.

[0141] The query unit 80 is used to respond to the change search request and query the change rules corresponding to the previous ticket, wherein the change search request at least includes: specified itinerary information and specified brand information, the specified itinerary information at least includes the origin, destination, and departure time information that the target passenger wants to change, and the specified brand information at least includes the carrier airline that the target passenger wants to change;

[0142] The first acquisition unit 81 acquires flight restriction information, fare restriction information and price difference calculation information based on the change rule.

[0143] The second acquisition unit 82 is used to obtain new itinerary flight information based on the specified itinerary information and the flight restriction information when the change rule determines that the change search request meets the change condition.

[0144] The third acquisition unit 83 is used to acquire the brand data table, and query the brand data table based on the fare restriction information, the designated brand information, and the new itinerary flight information to obtain the new itinerary fare.

[0145] The calculation unit 84 calculates the price difference of all new itinerary fares relative to the fare of the previous ticket based on the price difference calculation information.

[0146] The generating unit 85 generates a change search result message based on the brand data table, the new itinerary flight information and the corresponding change price difference, wherein the change search result message at least includes: the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services.

[0147] The above-mentioned ticket change search device for specifying brand information can respond to the change search request through the query unit 80, query the change rules corresponding to the previous ticket, and then obtain the flight restriction information, fare restriction information and price difference calculation information based on the change rules through the first acquisition unit 81. When the change search request is determined by the change rule to meet the change conditions, the second acquisition unit 82 obtains the new itinerary flight information based on the flight restriction information and the specified itinerary information in the request, and then obtains the brand data table through the third acquisition unit 83. Based on the fare restriction information, the new itinerary flight information, and the specified brand information in the request, the brand data table is queried to obtain the new itinerary flight information. The itinerary fare is then calculated by the calculation unit 84 based on the price difference calculation information to calculate the change price difference of all new itinerary fares relative to the fare price of the previous ticket. Finally, the generation unit 85 generates a change search result message based on the brand data table, the new itinerary flight information and its corresponding change price difference. The change search result message includes at least the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services. By outputting brand products corresponding to the brand expected by the target passengers, the passenger's ticket purchasing experience is significantly improved, thereby solving the technical problem in the related technology that the passenger cannot obtain the expected brand products by specifying the brand information.

[0148] Optionally, the query unit 80 includes: a first information acquisition module, used to obtain the previous ticket information in the change search request; a number acquisition module, which obtains the fare rule number based on the previous ticket information; a first table acquisition module, which obtains the rule master table based on the fare rule number; and a query module, which is used to query the change rule corresponding to the previous ticket from the rule master table.

[0149] Optionally, the query unit 80 also includes: a first acquisition module, used to determine whether the change search request meets the change conditions, and obtain the change rule main table associated with the rule main table; a second acquisition module, used to obtain the change restriction field in the change rule main table, and when the change restriction field indicates that the change is allowed, obtain the change rule sub-table associated with the change rule main table; a third acquisition module, used to obtain the restriction conditions in the change rule sub-table, and when the previous ticket information meets the restriction conditions, obtain the change qualitative field in the change rule sub-table, wherein the change qualitative field is used to describe whether the previous ticket is allowed to be changed under the restriction conditions; a first determination module, used to determine that the change search request meets the change conditions when the change qualitative field indicates that the change is allowed.

[0150] Optionally, the query unit 80 also includes: a second judgment module, used to determine whether the change search request meets the change conditions, and to determine that the change search request does not meet the change conditions when the change restriction field indicates that the change is not allowed, the previous ticket information does not meet the restriction conditions, or the change qualitative field indicates that the change is not allowed; an output module, used to output an abnormal message indicating that the change search cannot be performed when the change search request does not meet the change conditions.

[0151] Optionally, the first acquisition unit 81 includes: a second table acquisition module, used to acquire a new fare calculation condition table associated with the change rule subtable; and a second information acquisition module, used to acquire flight restriction information and fare restriction information in the new fare calculation condition table.

[0152] Optionally, the calculation unit 84 includes: a first field acquisition module, used to calculate the change fee, obtain the calculation mode field, amount type fixed value field, discount percentage field, rounding principle field and minimum charge amount field in the change rule subtable; a first processing module, used to use the value of the amount type fixed value field as the change fee when the calculation mode field indicates the amount type; a second processing module, used to obtain the discount fee based on the discount percentage field, rounding principle field and minimum charge amount field when the calculation mode field indicates the discount type, and use the discount fee as the change fee.

[0153] Optionally, the calculation unit 84 also includes: a price acquisition module, which is used to obtain the fare price of the previous ticket from the previous ticket information; a calculation module, which is used to subtract the fare price of the previous ticket from the new itinerary fare to obtain the fare difference; a second field acquisition module, which is used to obtain the fee collection rule field in the change rule subtable; a third processing module, which is used to compare the fare difference and the change fee when the field value corresponding to the fee collection rule field is the first value, and take the larger one as the change price difference; a fourth processing module, which is used to take the fare difference as the change price difference when the field value corresponding to the fee collection rule field is the second value, wherein the second value is different from the first value; a fifth processing module, which is used to take the sum of the fare difference and the change fee as the change price difference when the value of the fee collection rule field is other values ​​except the first value and the second value.

[0154] The above-mentioned flight ticket change search device for designated brand information may also include a processor and a memory. The above-mentioned query unit 80, first acquisition unit 81, second acquisition unit 82, third acquisition unit 83, calculation unit 84, generation unit 85, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to implement corresponding functions.

[0155] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the change search results of the specified brand can be output to the target passenger by adjusting the kernel parameters.

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

[0157] 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 ticket change search method for specified brand information of any one of the above-mentioned embodiments one.

[0158] 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 ticket change search method for specified brand information of any one of the above-mentioned embodiments one.

[0159] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the ticket change search method for designated brand information described in each embodiment of the present application.

[0160] 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 change search method for designated brand information described in each embodiment of the present application are implemented.

[0161] Fig. 9 1 is a hardware structure block diagram of an electronic device (or mobile device) for searching for ticket changes of designated brand information according to an embodiment of the present invention. Fig. 9 As shown, the electronic device may include one or more ( Fig. 9 902a, 902b, ..., 902n 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 904 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 of ordinary skill in the art can understand that Fig. 9 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig. 9 More or fewer components as shown, or with Fig. 9 Different configurations are shown.

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

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

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

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

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

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

[0168] 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 flight ticket changes with specified brand information, characterized in that: include: In response to a change search request, query the change rules corresponding to the previous ticket, wherein the change search request at least includes: specified itinerary information and specified brand information, wherein the specified itinerary information at least includes the origin, destination, and departure time information that the target passenger wants to change, and the specified brand information at least includes the carrier airline that the target passenger wants to change; Based on the change rules, obtain flight restriction information, fare restriction information and price difference calculation information; If the change rule determines that the change search request satisfies the change condition, obtaining new itinerary flight information based on the specified itinerary information and the flight restriction information; Obtain a brand data table, and query the brand data table based on the fare restriction information, the designated brand information, and the new itinerary flight information to obtain a new itinerary fare; Based on the price difference calculation information, calculate the price difference of all the new itinerary fares relative to the fare price of the previous ticket; Based on the brand data table, the new itinerary flight information and the corresponding change price difference, a change search result message is generated, wherein the change search result message includes at least: the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services.

2. The air ticket change search method according to claim 1, characterized in that: The steps to query the change rules corresponding to the previous ticket include: Obtain the previous ticket information in the change search request; Based on the last ticket information, obtain the fare rule number; Based on the freight rate rule number, obtain the rule master table; The change rule corresponding to the previous ticket is queried from the rule master table.

3. The air ticket change search method according to claim 1, characterized in that: After querying the change rule corresponding to the previous ticket, the step of determining whether the change search request satisfies the change condition comprises: Get the change rule master table associated with the rule master table; Obtaining a change restriction field in the change rule main table, and when the change restriction field indicates that the change is allowed, obtaining a change rule sub-table associated with the change rule main table; Obtain the restriction condition in the change rule subtable, and if the last ticket information satisfies the restriction condition, obtain the change qualitative field in the change rule subtable, wherein the change qualitative field is used to describe whether the last ticket is allowed to be changed under the restriction condition; When the change characterization field indicates that the change is allowed, it is determined that the change search request satisfies the change condition.

4. The air ticket change search method according to claim 3, characterized in that: After querying the change rule corresponding to the previous ticket, the step of determining whether the change search request satisfies the change condition further includes: When the change restriction field indicates that the change is not allowed, the previous ticket information does not meet the restriction condition, or the change qualitative field indicates that the change is not allowed, determining that the change search request does not meet the change condition; When the change search request does not satisfy the change condition, an abnormal message indicating that the change search cannot be performed is output.

5. The air ticket change search method according to claim 1, characterized in that: Based on the change rule, the step of obtaining flight restriction information and fare restriction information includes: Get the new freight rate calculation condition table associated with the change rule subtable; The flight restriction information and the fare restriction information in the new fare calculation condition table are obtained.

6. The air ticket change search method according to claim 1, characterized in that: When calculating the change difference of all the new itinerary fares relative to the fare price of the previous ticket, the step of calculating the change fee includes: Obtain the calculation mode field, amount type fixed value field, discount percentage field, rounding principle field, and minimum charge amount field in the change rule subtable; When the calculation mode field indicates the amount type, the value of the amount type fixed value field is used as the change fee; When the calculation mode field indicates a discount type, a discount type handling fee is obtained based on the discount percentage field, the rounding principle field and the minimum charge amount field, and the discount type handling fee is used as the change handling fee.

7. The air ticket change search method according to claim 6, characterized in that: The step of calculating the price difference of all the new itinerary fares relative to the fare of the previous ticket includes: Obtaining the fare price of the previous ticket from the previous ticket information; Subtract the fare of the previous ticket from the fare of the new itinerary to obtain the fare difference; Obtain the fee collection rule field in the change rule subtable; When the field value corresponding to the fee collection rule field is a first value, comparing the freight price difference with the change handling fee, and taking the larger value as the change price difference; When the field value corresponding to the fee collection rule field is a second value, the value of the freight price difference is used as the change price difference, wherein the second value is different from the first value; When the value of the fee collection rule field is other than the first value and the second value, the sum of the freight price difference and the change handling fee is used as the change price difference.

8. A device for searching for flight ticket changes with designated brand information, characterized in that: include: A query unit, configured to respond to a change search request and query a change rule corresponding to a previous ticket, wherein the change search request at least includes: specified itinerary information and specified brand information, wherein the specified itinerary information at least includes the origin, destination, and departure time information to be changed by the target passenger, and the specified brand information at least includes the carrier airline to be changed by the target passenger; A first acquisition unit, based on the change rule, acquires flight restriction information, fare restriction information and price difference calculation information; A second acquisition unit, configured to obtain new itinerary flight information based on the designated itinerary information and the flight restriction information when the change rule determines that the change search request satisfies the change condition; A third acquisition unit is used to acquire a brand data table, and query the brand data table based on the fare restriction information, the designated brand information, and the new itinerary flight information to obtain the new itinerary fare; A calculation unit, based on the price difference calculation information, calculates the price difference of all the new itinerary fares relative to the price of the previous ticket; The generating unit generates a change search result message based on the brand data table, the new itinerary flight information and the corresponding change price difference, wherein the change search result message at least includes: the airline to which the brand belongs, the brand name, the brand number, the brand description information and the brand additional services.

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 ticket change search method for designated brand information as described in any one of claims 1 to 7.

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

Citation Information

Patent Citations

  • Passenger ticket change search method and system based on brand freight rate mode, and storage medium

    CN112182051A

  • Method and device for searching international airline ticket change prices

    CN112199405A

  • Freight rate refund and change service implementation method and device, equipment and storage medium

    CN114298746A

  • Information processing method and device based on flight additional service

    CN114372851A

Cited By

  • Change search method and device for specified new trip flight information

    CN120578812A