CN112199405A - Method and device for searching international air ticket change price - Google Patents

Method and device for searching international air ticket change price Download PDF

Info

Publication number
CN112199405A
CN112199405A CN202011056765.9A CN202011056765A CN112199405A CN 112199405 A CN112199405 A CN 112199405A CN 202011056765 A CN202011056765 A CN 202011056765A CN 112199405 A CN112199405 A CN 112199405A
Authority
CN
China
Prior art keywords
ticket
original
original ticket
result
reduction result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011056765.9A
Other languages
Chinese (zh)
Other versions
CN112199405B (en
Inventor
张宏海
战颖
王媛媛
刘硕
杨永凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Travelsky Holding Co
Original Assignee
China Travelsky Holding Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Holding Co filed Critical China Travelsky Holding Co
Priority to CN202011056765.9A priority Critical patent/CN112199405B/en
Publication of CN112199405A publication Critical patent/CN112199405A/en
Application granted granted Critical
Publication of CN112199405B publication Critical patent/CN112199405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2425Iterative querying; Query formulation based on the results of a preceding query
    • G06Q50/40

Abstract

The invention discloses a method and a device for searching for international air ticket change price, wherein corresponding air ticket order information is extracted from a received search request of the international air ticket change price, the air ticket order information is provided with an original ticket reduction result obtained by carrying out reduction simulation on an air ticket issuing process based on an actual ticket order, when an automatic change identifier exists in the original ticket reduction result, a search request message of the air ticket change price is generated according to passenger seat booking record and electronic ticket information, and a flight variable result conforming to a request service scene is generated according to the search request message based on freight data and a journey retrogression strategy. According to the invention, the original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process of the air ticket based on the actual ticket order, and when the original ticket reduction result has the automatic changeable right, the flight changeable result conforming to the requested service scene is generated according to the search request message based on the freight rate data and the journey quit strategy, so that the search of the international air ticket changed price is realized.

Description

Method and device for searching international air ticket change price
Technical Field
The invention relates to the technical field of aviation, in particular to a method and a device for searching for international air ticket change price.
Background
The system is in line with business requirements of passenger ticket renewal, cabin ascending and the like related to self-service stage in electronic commerce of an airline company, provides support for the whole automatic change-sign-off process of a driver e-commerce platform, and has a result of an international ticket change search module (Reshop). The main function point of the international air ticket change searching module is to return a batch of changeable flights and corresponding spread prices according to the change searching request, thereby providing better change searching service for users.
The problem of the current search service related to the price change of international tickets supporting multiple GDS (Global Distribution System) is that: because the air ticket is drawn on other GDSs except the current GDS, the current GDS cannot directly use the freight rate information provided by the original ticket, and the ticket information has great limitation, so that when the corresponding original ticket freight rate is searched according to the ticket information, the original ticket freight rate is easily found out, even the original ticket freight rate cannot be found out, and the original ticket restoration result cannot be restored. On the other hand, the air ticket freight rate in the civil aviation field has strong timeliness, and different air ticket freight rate results can be caused by different dates and even different time points, so that the original ticket reduction result cannot be obtained in a real-time calculation mode. Because the original ticket reduction result cannot be obtained in the prior art, the search of the international air ticket change price cannot be realized.
Disclosure of Invention
In view of the above, the invention discloses a method and a device for searching international air ticket change prices, so as to achieve the purpose of obtaining an original ticket reduction result by performing reduction simulation on an air ticket issuing process based on an actual ticket order, and when the original ticket reduction result has an automatic changeable right, based on freight rate data and a journey retrogression strategy, generating a flight changeable result according with a request service scene according to a search request message, thereby realizing the search of the international air ticket change prices.
A method for searching for an international air ticket change price comprises the following steps:
receiving a search request for changing the price of the international air ticket;
extracting corresponding air ticket order information according to the search request, and acquiring passenger seat booking records and electronic air ticket information from an external Global Distribution System (GDS), wherein the air ticket order information has an original ticket reduction result obtained by performing reduction simulation on an air ticket issuing process based on the actual ticket order;
judging whether the original ticket restoration result has an automatically alterable identifier or an automatically non-alterable identifier;
when the automatic changeable identification exists in the air ticket order information, generating a search request message of air ticket changed price according to the passenger booking record and the electronic air ticket information;
generating a flight variable result according with a request service scene according to the search request message based on the freight rate data and the journey change-back strategy, wherein the flight variable result comprises: the flight combination and the air ticket price difference corresponding to each change journey can be changed;
and outputting the flight change result.
An international ticket price change search apparatus, comprising:
a receiving unit configured to receive a search request for changing a price of an international ticket;
the acquisition unit is used for extracting corresponding air ticket order information according to the search request and acquiring passenger booking record and electronic air ticket information from an external Global Distribution System (GDS), wherein the air ticket order information has an original ticket reduction result obtained by performing reduction simulation on an air ticket issuing process based on the actual ticket order;
the judging unit is used for judging whether the original ticket restoration result contains an automatic changeable identifier or an automatic unchangeable identifier;
a search request message generating unit, configured to generate a search request message for an airline ticket change price according to the passenger booking record and the electronic ticket information when the automatically changeable identifier exists in the airline ticket order information;
a flight change result generating unit, configured to generate a flight change result according with a request service scenario according to the search request packet based on the freight data and the itinerary changing policy, where the flight change result includes: the flight combination and the air ticket price difference corresponding to each change journey can be changed;
a first output unit for outputting the flight change result.
According to the technical scheme, the invention discloses a method and a device for searching for the change price of an international air ticket, wherein corresponding air ticket order information is extracted from a received search request for the change price of the international air ticket, the air ticket order information is provided with an original ticket reduction result obtained after reduction simulation is carried out on the air ticket issuing process based on an actual ticket order, when an automatic change identifier exists in the original ticket reduction result, the original ticket reduction result is indicated to have an automatic change authority, at the moment, a passenger reservation record and electronic ticket information are obtained from an external GDS, a search request message for the change price of the air ticket is generated, and a flight change result which accords with a request service scene is generated according to the search request message based on freight rate data and a journey reversion strategy. According to the invention, the original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process of the air ticket based on the actual ticket order, and when the original ticket reduction result has the automatic changeable right, the flight changeable result conforming to the requested service scene is generated according to the search request message based on the freight rate data and the journey quit strategy, so that the search of the international air ticket changed price is realized.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method for searching for an international air ticket change price according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for generating a return result of an original ticket in a method for searching an international ticket change price according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a searching apparatus for changing a price of an international air ticket according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an original ticket reduction result generation unit according to an embodiment of the present invention.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The embodiment of the invention discloses a method and a device for searching for the change price of an international air ticket, wherein the method comprises the steps of extracting corresponding air ticket order information from a received search request of the change price of the international air ticket, wherein the air ticket order information comprises an original ticket reduction result obtained by carrying out reduction simulation on an air ticket drawing process based on an actual ticket order, when an automatic change identifier exists in the original ticket reduction result, the original ticket reduction result is indicated to have an automatic change authority, at the moment, a search request message of the change price of the air ticket is generated according to passenger reservation records and electronic ticket information obtained from an external GDS, and a variable flight change result conforming to a request service scene is generated according to the search request message based on freight rate data and a journey retreat strategy. According to the invention, the original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process of the air ticket based on the actual ticket order, and when the original ticket reduction result has the automatic changeable right, the flight changeable result conforming to the requested service scene is generated according to the search request message based on the freight rate data and the journey quit strategy, so that the search of the international air ticket changed price is realized.
Referring to fig. 1, a flowchart of a method for searching for an international airline ticket change price according to an embodiment of the present invention is disclosed, where the method includes:
step S101, receiving a search request for changing the price of the international air ticket;
step S102, extracting corresponding air ticket order information according to the search request, and acquiring passenger booking record and electronic air ticket information from an external GDS;
the original ticket reduction result obtained after the ticket issuing process of the air ticket is subjected to reduction simulation based on the actual ticket order is contained in the air ticket order information.
Wherein, the original ticket reduction result comprises: the system comprises the freight rate information of an original ticket, seller information of the original ticket, flight information of the original ticket, passenger information of the original ticket and air ticket information of the original ticket, wherein the air ticket information of the original ticket mainly comprises the air ticket date, the air ticket time and the air ticket number of the original ticket.
It should be noted that the present invention mainly executes the search process of the international air ticket change price by the current GDS.
The functional components in the current GDS include: the order processing service component, the service reservation component, the freight rate calculation component and the freight rate search component.
The order processing business component is used for directly interacting with a user and calling other components to complete all services including air ticket change search, refund signing freight rate calculation and subsequent ticket drawing.
And the service reservation component is used for receiving the freight rate requests with different formats and forwarding the freight rate requests to the corresponding component.
And the freight rate calculation component is used for providing freight rate calculation service and reproducing the original ticket information by using a dynamic correction device with a more complex interior. And calculating the air ticket price difference after the journey is changed for the subsequent air ticket change searching link.
And the freight rate searching component is used for supporting passenger change searching functions (including functions of changing periods, increasing cabins and the like) of the flight service link. The system integrates information and processing logic of flight data, path information, cabin status, freight rate data and the like of an airline company. One request to return results for a batch of alterable flights and corresponding spreads may be supported.
An external GDS, which is an invoicing GDS, may be considered an offer for the current GDS. The invention mainly provides passenger booking record, electronic passenger ticket information and actual ticket order.
Step S103, judging whether the original ticket restoration result has an automatically alterable identifier or an automatically non-alterable identifier;
the automatic-change-capable identifier is used for representing that the original ticket restoration result has automatic-change permission, and the automatic-change-incapable identifier is used for representing that the original ticket restoration result does not have automatic-change permission.
Step S104, when the automatic change identification exists in the air ticket order information, generating a search request message of air ticket change price according to the passenger booking record and the electronic air ticket information;
it should be noted that the search request message in this embodiment mainly includes: original ticket freight rate information, flight information and passenger information. And subsequently, a search request message needs to be newly generated for the flight to be changed so as to perform re-search.
Step S105, generating flight changeable results according with the request service scene according to the search request message based on the freight data and the journey retrogression strategy;
wherein the flight changeable result comprises: the flight combination and the corresponding ticket spread for each changed itinerary may be changed.
It should be noted that, in practical application, the operational price searching module in the current GDS generates a changeable flight combination according with a request service scenario according to the search request message.
And the freight rate searching component calls the freight rate calculating component, and the freight rate calculating component calculates to obtain the air ticket difference between the changeable flight combination and the original air ticket according to the passenger booking record and the electronic passenger ticket information in the search request message and the generated changeable flight combination.
And step S106, outputting the flight changeable result.
After outputting the flight change results, the user can select the destination change itinerary from the flight change results according to the actual needs.
In order to ensure the reliability of the target change journey selected by the user, before the target change journey checks the ticket, the current GDS calls an external GDS to check the ticket of the target change journey, and after the ticket passes the check, the ticket drawing operation is executed. The ticket checking process can refer to the existing mature scheme, and is not described herein again.
In summary, the method for searching for the international air ticket change price disclosed by the invention extracts corresponding air ticket order information from a received search request of the international air ticket change price, wherein the air ticket order information has an original ticket reduction result obtained by carrying out reduction simulation on an air ticket issuing process based on an actual ticket order, when an automatic change identifier exists in the original ticket reduction result, the original ticket reduction result has an automatic change authority, at the moment, a search request message of the air ticket change price is generated according to a passenger order record and electronic ticket information obtained from an external GDS, and a flight variable result conforming to a request service scene is generated according to the search request message based on freight rate data and a journey retreat strategy. According to the invention, the original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process of the air ticket based on the actual ticket order, and when the original ticket reduction result has the automatic changeable right, the flight changeable result conforming to the requested service scene is generated according to the search request message based on the freight rate data and the journey quit strategy, so that the search of the international air ticket changed price is realized.
To further optimize the above embodiment, after step S102, the method may further include:
and when the automatic change-impossible identification exists in the air ticket order information, outputting prompt information that the international air ticket change price cannot be searched.
Referring to fig. 2, a flowchart of a method for generating a return result of an original ticket in a search method for an international ticket change price according to an embodiment of the present invention is disclosed, where the method includes:
step S201, acquiring an actual ticket order provided by an external GDS;
wherein, the actual ticket order includes but is not limited to flight information and passenger information, and the flight information includes: flight origin, flight origination time, flight destination, flight arrival time, airline code, flight number, airport code, and the like. The passenger information includes: passenger type, passenger number, passenger age, user ID, etc.
Step S202, carrying out reduction simulation on the air ticket issuing process based on the actual ticket order to obtain an original ticket reduction result and a unique identifier corresponding to the original ticket reduction result;
the original ticket restoration result includes contents including but not limited to: air ticket fare information, flight information, and passenger information.
Step S203, searching an actual original ticket reduction result corresponding to the original ticket reduction result according to the unique identifier;
wherein, the original ticket reduction result comprises: the system comprises original ticket freight rate information, original ticket seller information, original ticket flight information, original ticket passenger information and original ticket air ticket information, wherein the original ticket air ticket information mainly comprises the ticket drawing date, the ticket drawing time and the ticket number of an original ticket.
The original ticket freight rate information at least comprises: basic freight rates and tax items, the tax items including: the tax type number.
Step S204, judging whether the basic freight rate in the original ticket reduction result is equal to the basic freight rate in the actual original ticket reduction result, if so, executing step S205, and if not, executing step S211;
step S205, judging whether the tax items in the original ticket reduction result are the same as the tax items in the actual original ticket reduction result, if so, executing step S206, and if not, executing step S211;
step S206, calculating the sum of all the taxes in the original ticket reduction result to obtain a total tax, and calculating the sum of all the taxes in the actual original ticket reduction result to obtain the total tax;
step S207, calculating the difference between the total tax in the original ticket reduction result and the total tax in the actual original ticket reduction result to obtain a total tax difference;
and the total tax difference is | the total tax in the original ticket reduction result-the total tax of the actual original ticket reduction result |.
Step S208, calculating to obtain a total tax difference ratio according to the total tax difference, the basic freight and the total tax;
specifically, the total tax difference ratio is total tax difference ÷ (base freight rate in the actual ticket order + total tax in the actual ticket order).
Step S209, judging whether the gross tax difference ratio is not larger than a tax difference threshold value, if so, executing step S210, and if not, executing step S211;
the tax difference threshold is a constant value summarized according to actual services, i.e. an allowable error value. The tax difference threshold value is placed in a configuration table and can be dynamically configured along with the development of actual service change.
Because exchange rate carry rules used by different GDSs during tax calculation are inconsistent, even if the internal freight rate calculation components are correctly mapped to tax items, a certain error still possibly exists between the original ticket reduction result subjected to reduction and the actual original ticket reduction result during the calculation of the total tax, so that the richness of the search result of the air ticket price change is influenced.
Step S210, adding an automatically changeable identifier to the original ticket reduction result, and writing the identifier into corresponding air ticket order information;
and after adding the automatic change identifier to the original ticket reduction result, indicating that the original ticket reduction result has an automatic change authority.
And S211, adding an identifier which cannot be automatically changed to the original ticket reduction result, and writing the identifier into corresponding air ticket order information.
And after adding the identifier which can not be automatically changed to the original ticket reduction result, indicating that the original ticket reduction result does not have the authority of automatically changing.
To sum up, the method for generating original ticket reduction results in the international air ticket price change search method disclosed by the invention comprises the steps of carrying out reduction simulation on an air ticket issuing process based on an actual ticket order provided by an external GDS to obtain an original ticket reduction result and a unique identifier corresponding to the original ticket reduction result, searching the actual original ticket reduction result corresponding to the original ticket reduction result according to the unique identifier, calculating the total tax of each tax in the original ticket reduction result, the total tax in the actual original ticket reduction result and the total tax difference of two total taxes when the basic freight rate and the tax of the original ticket reduction result are the same, further calculating to obtain a total tax difference ratio based on the total tax difference, the basic freight rate and the total tax, adding an automatically changeable identifier to the original ticket reduction result when the total tax difference ratio is not more than a tax difference threshold value, writing the automatically changeable identifier into corresponding air ticket order information, otherwise, when the total tax difference ratio is more than the tax difference threshold value, and adding an identifier which cannot be automatically changed to the original ticket reduction result, and writing the identifier into corresponding air ticket order information. The original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process of the air ticket, the accuracy of the original ticket reduction result obtained by the reduction simulation is ensured by comparing the original ticket reduction result with the actual original ticket reduction result, and the error between the reduced original ticket reduction result and the actual original ticket reduction result is effectively solved by setting the tax difference threshold, so that the richness of the search result of the price change of the air ticket is improved to a certain extent.
It is to be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Corresponding to the embodiment of the method, the invention discloses a device for searching for the price change of an international air ticket.
Referring to fig. 3, a schematic structural diagram of a device for searching for an international ticket change price according to an embodiment of the present invention includes:
a receiving unit 301 configured to receive a search request for changing a price of an international ticket;
an obtaining unit 302, configured to extract corresponding air ticket order information according to the search request, and obtain a passenger booking record and electronic ticket information from an external global distribution system GDS, where the air ticket order information includes an original ticket reduction result obtained by performing reduction simulation on an air ticket issuing process based on the actual ticket order;
wherein, the original ticket reduction result comprises: the system comprises the freight rate information of an original ticket, seller information of the original ticket, flight information of the original ticket, passenger information of the original ticket and air ticket information of the original ticket, wherein the air ticket information of the original ticket mainly comprises the air ticket date, the air ticket time and the air ticket number of the original ticket.
It should be noted that the present invention mainly executes the search process of the international air ticket change price by the current GDS.
A determining unit 303, configured to determine that an automatically alterable identifier or an automatically non-alterable identifier exists in the original ticket restoration result;
the automatic-change-capable identifier is used for representing that the original ticket restoration result has automatic-change permission, and the automatic-change-incapable identifier is used for representing that the original ticket restoration result does not have automatic-change permission.
A search request message generating unit 304, configured to generate a search request message for an airline ticket change price according to the passenger booking record and the electronic ticket information when the automatically changeable identifier exists in the airline ticket order information;
it should be noted that the search request message in this embodiment mainly includes: original ticket freight rate information, flight information and passenger information. And subsequently, a search request message needs to be newly generated for the flight to be changed so as to perform re-search.
A flight change result generating unit 305, configured to generate a flight change result according with a requested service scenario according to the search request packet based on the freight data and the itinerary changing policy, where the flight change result includes: the flight combination and the air ticket price difference corresponding to each change journey can be changed;
a first output unit 306, configured to output the flight change result.
In summary, the international air ticket price change search device disclosed by the invention extracts corresponding air ticket order information from a received international air ticket price change search request, wherein the air ticket order information has an original ticket reduction result obtained by carrying out reduction simulation on an air ticket issuing process based on an actual ticket order, when an automatic change identifier exists in the original ticket reduction result, the original ticket reduction result has an automatic change authority, at the moment, a search request message of the air ticket price change is generated according to a passenger order record and electronic ticket information obtained from an external GDS, and a flight change result conforming to a request service scene is generated according to the search request message based on freight rate data and a journey change-back strategy. According to the invention, the original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process of the air ticket based on the actual ticket order, and when the original ticket reduction result has the automatic changeable right, the flight changeable result conforming to the requested service scene is generated according to the search request message based on the freight rate data and the journey quit strategy, so that the search of the international air ticket changed price is realized.
To further optimize the above embodiment, the searching apparatus may further include:
and the second output unit is used for outputting prompt information that the international air ticket change price cannot be searched when the automatic change-impossible identifier exists in the air ticket order information.
In order to further optimize the above embodiment, the present invention further provides a generation process of the original ticket reduction result, and therefore, the search apparatus may further include: and the original ticket reduction result generation unit is used for generating the original ticket reduction result.
Specifically, referring to fig. 4, a schematic structural diagram of an original ticket reduction result generating unit disclosed in the embodiment of the present invention, the original ticket reduction result generating unit may include:
an obtaining subunit 401, configured to obtain an actual ticket order provided by the external GDS;
wherein, the actual ticket order includes but is not limited to flight information and passenger information, and the flight information includes: flight origin, flight origination time, flight destination, flight arrival time, airline code, flight number, airport code, and the like. The passenger information includes: passenger type, passenger number, passenger age, user ID, etc.
A reduction simulation subunit 402, configured to perform reduction simulation on the ticket issuing process of the airline ticket based on the actual ticket order to obtain an original ticket reduction result and a unique identifier corresponding to the original ticket reduction result;
the original ticket restoration result includes contents including but not limited to: air ticket fare information, flight information, and passenger information.
A searching subunit 403, configured to search, according to the unique identifier, an actual original ticket reduction result corresponding to the original ticket reduction result;
wherein, the original ticket reduction result comprises: the system comprises original ticket freight rate information, original ticket seller information, original ticket flight information, original ticket passenger information and original ticket air ticket information, wherein the original ticket air ticket information mainly comprises the ticket drawing date, the ticket drawing time and the ticket number of an original ticket.
The original ticket freight rate information at least comprises: basic freight rates and tax items, the tax items including: the tax type number.
A first determining subunit 404, configured to determine whether a basic freight rate in the original ticket reduction result is equal to a basic freight rate in the actual original ticket reduction result;
a second determining subunit 405, configured to determine, when the first determining subunit 404 determines that the tax items in the original ticket reduction result are the same as the tax items in the actual original ticket reduction result, whether the tax items in the original ticket reduction result are the same;
a first calculating subunit 406, configured to calculate, when the second determining subunit 405 determines that the original ticket is valid, a total tax obtained by summing the taxes in the original ticket reduction result, and a total tax obtained by summing the taxes in the actual original ticket reduction result;
a second calculating subunit 407, configured to calculate a difference between a total tax in the original ticket reduction result and a total tax in the actual original ticket reduction result, so as to obtain a total tax difference;
a third calculating subunit 408, configured to calculate a total tax difference ratio according to the total tax difference, the basic freight rate, and the total tax;
specifically, the total tax difference ratio is total tax difference ÷ (base freight rate in the actual ticket order + total tax in the actual ticket order).
A third judging subunit 409, configured to judge whether the total tax difference ratio is not greater than a tax difference threshold;
a first adding subunit 410, configured to add, if the third determining subunit determines that the original ticket is the ticket, an identifier that can be automatically changed to the original ticket reduction result, and write the identifier into corresponding air ticket order information.
In summary, the invention carries out reduction simulation on the air ticket issuing process based on the actual ticket order provided by the external GDS to obtain the original ticket reduction result and the unique identifier corresponding to the original ticket reduction result, searches the actual original ticket reduction result corresponding to the original ticket reduction result according to the unique identifier, calculates the total tax of each tax in the original ticket reduction result and the total tax in the actual original ticket reduction result and the total tax difference of the two total taxes when the basic freight rate and the tax of the original ticket reduction result are the same, further calculates to obtain the total tax difference ratio based on the total tax difference, the basic freight rate and the total tax, adds the automatic changeable identifier to the original ticket reduction result and writes the automatic changeable identifier into the corresponding air ticket order information when the total tax ratio is not more than the tax difference threshold, otherwise adds the automatic changeable identifier to the original ticket reduction result when the total tax ratio is more than the tax difference threshold, and writing the information into corresponding air ticket order information. The original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process of the air ticket, the accuracy of the original ticket reduction result obtained by the reduction simulation is ensured by comparing the original ticket reduction result with the actual original ticket reduction result, and the error between the reduced original ticket reduction result and the actual original ticket reduction result is effectively solved by setting the tax difference threshold, so that the richness of the search result of the price change of the air ticket is improved to a certain extent.
To further optimize the above embodiment, the original ticket reduction result generating unit may further include:
and the second adding subunit is configured to add an automatically unchangeable identifier to the original ticket reduction result and write the identifier into corresponding air ticket order information when the basic freight rate in the original ticket reduction result is not equal to the basic freight rate in the actual original ticket reduction result, or the tax item in the original ticket reduction result is not identical to the tax item in the actual original ticket reduction result, or the total tax difference ratio is greater than the tax difference threshold.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
It should be noted that, for the specific working principle of each component in the device embodiment, please refer to the corresponding part of the method embodiment, which is not described herein again.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (12)

1. A method for searching for an international air ticket change price is characterized by comprising the following steps:
receiving a search request for changing the price of the international air ticket;
extracting corresponding air ticket order information according to the search request, and acquiring passenger seat booking records and electronic air ticket information from an external Global Distribution System (GDS), wherein the air ticket order information has an original ticket reduction result obtained by performing reduction simulation on an air ticket issuing process based on the actual ticket order;
judging whether the original ticket restoration result has an automatically alterable identifier or an automatically non-alterable identifier;
when the automatic changeable identification exists in the air ticket order information, generating a search request message of air ticket changed price according to the passenger booking record and the electronic air ticket information;
generating a flight variable result according with a request service scene according to the search request message based on the freight rate data and the journey change-back strategy, wherein the flight variable result comprises: the flight combination and the air ticket price difference corresponding to each change journey can be changed;
and outputting the flight change result.
2. The search method of claim 1, wherein the search request message comprises: freight rate information, flight information and passenger information of the original ticket.
3. The search method of claim 1, wherein the original ticket restoration result comprises: the system comprises original ticket freight rate information, original ticket seller information, original ticket flight information, original ticket passenger information and original ticket air ticket information.
4. The search method of claim 1, further comprising:
and when the automatic change-impossible identification exists in the air ticket order information, outputting prompt information that the international air ticket change price cannot be searched.
5. The search method of claim 1, wherein the generation process of the original ticket reduction result comprises:
acquiring an actual ticket order provided by the external GDS;
carrying out reduction simulation on the ticket issuing process of the air ticket based on the actual ticket order to obtain an original ticket reduction result and a unique identifier corresponding to the original ticket reduction result;
searching an actual original ticket reduction result corresponding to the original ticket reduction result according to the unique identifier;
judging whether the basic freight rate in the original ticket reduction result is equal to the basic freight rate in the actual original ticket reduction result or not;
if so, judging whether the tax items in the original ticket reduction result are the same as the tax items in the actual original ticket reduction result;
if yes, calculating the sum of all the taxes in the original ticket reduction result to obtain a total tax, and calculating the sum of all the taxes in the actual original ticket reduction result to obtain the total tax;
calculating the difference between the total tax in the original ticket reduction result and the total tax in the actual original ticket reduction result to obtain a total tax difference;
calculating to obtain a total tax difference ratio according to the total tax difference, the basic freight rate and the total tax;
judging whether the total tax rate is not greater than a tax rate threshold value;
if so, adding an automatically changeable identifier to the original ticket reduction result, and writing the automatically changeable identifier into corresponding air ticket order information.
6. The search method of claim 5, further comprising:
and when the basic freight rate in the original ticket reduction result is not equal to the basic freight rate in the actual original ticket reduction result, or the tax item in the original ticket reduction result is not identical to the tax item in the actual original ticket reduction result, or the total tax difference ratio is greater than the tax difference threshold value, adding an automatic-unchangeable identifier to the original ticket reduction result, and writing the automatic-unchangeable identifier into corresponding air ticket order information.
7. An apparatus for searching for an international ticket change price, comprising:
a receiving unit configured to receive a search request for changing a price of an international ticket;
the acquisition unit is used for extracting corresponding air ticket order information according to the search request and acquiring passenger booking record and electronic air ticket information from an external Global Distribution System (GDS), wherein the air ticket order information has an original ticket reduction result obtained by performing reduction simulation on an air ticket issuing process based on the actual ticket order;
the judging unit is used for judging whether the original ticket restoration result contains an automatic changeable identifier or an automatic unchangeable identifier;
a search request message generating unit, configured to generate a search request message for an airline ticket change price according to the passenger booking record and the electronic ticket information when the automatically changeable identifier exists in the airline ticket order information;
a flight change result generating unit, configured to generate a flight change result according with a request service scenario according to the search request packet based on the freight data and the itinerary changing policy, where the flight change result includes: the flight combination and the air ticket price difference corresponding to each change journey can be changed;
a first output unit for outputting the flight change result.
8. The apparatus according to claim 7, wherein the search request message comprises: freight rate information, flight information and passenger information of the original ticket.
9. The apparatus according to claim 7, wherein the original ticket restoration result comprises: the system comprises original ticket freight rate information, original ticket seller information, original ticket flight information, original ticket passenger information and original ticket air ticket information.
10. The search apparatus according to claim 7, further comprising:
and the second output unit is used for outputting prompt information that the international air ticket change price cannot be searched when the automatic change-impossible identifier exists in the air ticket order information.
11. The search apparatus according to claim 7, further comprising:
the original ticket reduction result generation unit is used for generating an original ticket reduction result;
the original ticket reduction result generating unit specifically comprises:
the acquisition subunit is used for acquiring the actual ticket order provided by the external GDS;
the restoration simulation subunit is used for carrying out restoration simulation on the ticket issuing process of the air ticket based on the actual ticket order to obtain an original ticket restoration result and a unique identifier corresponding to the original ticket restoration result;
the searching subunit is used for searching an actual original ticket reduction result corresponding to the original ticket reduction result according to the unique identifier;
the first judgment subunit is used for judging whether the basic freight rate in the original ticket reduction result is equal to the basic freight rate in the actual original ticket reduction result or not;
the second judging subunit is configured to, if the first judging subunit judges that the tax items in the original ticket reduction result are the same as the tax items in the actual original ticket reduction result, judge whether the tax items in the original ticket reduction result are the same;
a first calculating subunit, configured to calculate, when the second determining subunit determines that the original ticket is the original ticket, a total tax obtained by summing the taxes in the original ticket reduction result, and obtain a total tax obtained by summing the taxes in the actual original ticket reduction result;
the second calculating subunit is used for calculating the difference between the total tax in the original ticket reduction result and the total tax in the actual original ticket reduction result to obtain a total tax difference;
the third calculation subunit is used for calculating a total tax difference ratio according to the total tax difference, the basic freight and the total tax;
a third judging subunit, configured to judge whether the total tax difference ratio is not greater than a tax difference threshold;
and the first adding subunit is used for adding an automatically alterable identifier to the original ticket reduction result and writing the automatically alterable identifier into corresponding air ticket order information under the condition that the third judging subunit judges that the original ticket reduction result is positive.
12. The apparatus according to claim 11, wherein the original ticket restoration result generating unit further includes:
and the second adding subunit is configured to add an automatically unchangeable identifier to the original ticket reduction result and write the identifier into corresponding air ticket order information when the basic freight rate in the original ticket reduction result is not equal to the basic freight rate in the actual original ticket reduction result, or the tax item in the original ticket reduction result is not identical to the tax item in the actual original ticket reduction result, or the total tax difference ratio is greater than the tax difference threshold.
CN202011056765.9A 2020-09-30 2020-09-30 Method and device for searching international air ticket change price Active CN112199405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011056765.9A CN112199405B (en) 2020-09-30 2020-09-30 Method and device for searching international air ticket change price

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011056765.9A CN112199405B (en) 2020-09-30 2020-09-30 Method and device for searching international air ticket change price

Publications (2)

Publication Number Publication Date
CN112199405A true CN112199405A (en) 2021-01-08
CN112199405B CN112199405B (en) 2023-12-19

Family

ID=74008129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011056765.9A Active CN112199405B (en) 2020-09-30 2020-09-30 Method and device for searching international air ticket change price

Country Status (1)

Country Link
CN (1) CN112199405B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990510A (en) * 2021-03-17 2021-06-18 携程旅游网络技术(上海)有限公司 Air ticket booking processing method, system, equipment and medium
CN113344679A (en) * 2021-06-30 2021-09-03 上海蒜芽信息科技有限公司 Train ticket recommendation method, system, equipment and medium
WO2023273552A1 (en) * 2021-06-30 2023-01-05 中国民航信息网络股份有限公司 Order generation method and apparatus, and electronic device and storage medium
CN115809903A (en) * 2023-02-06 2023-03-17 北京四方启点科技有限公司 Ticket buying method and device, electronic equipment and storage medium
CN116151934A (en) * 2023-04-19 2023-05-23 北京嗨飞科技有限公司 Method, device and equipment for processing air ticket order

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016724A1 (en) * 2000-07-28 2002-02-07 Yue-Heng Yang System and method for booking international multiple-stop tickets
CN105631729A (en) * 2015-12-25 2016-06-01 中国民航信息网络股份有限公司 Air ticket change price automatic search method and system thereof
WO2017133028A1 (en) * 2016-02-04 2017-08-10 中国民航信息网络股份有限公司 Passenger ticket changing system and method
CN108268559A (en) * 2017-01-04 2018-07-10 阿里巴巴集团控股有限公司 Information providing method and device based on ticketing service search

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016724A1 (en) * 2000-07-28 2002-02-07 Yue-Heng Yang System and method for booking international multiple-stop tickets
CN105631729A (en) * 2015-12-25 2016-06-01 中国民航信息网络股份有限公司 Air ticket change price automatic search method and system thereof
WO2017133028A1 (en) * 2016-02-04 2017-08-10 中国民航信息网络股份有限公司 Passenger ticket changing system and method
CN108268559A (en) * 2017-01-04 2018-07-10 阿里巴巴集团控股有限公司 Information providing method and device based on ticketing service search

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990510A (en) * 2021-03-17 2021-06-18 携程旅游网络技术(上海)有限公司 Air ticket booking processing method, system, equipment and medium
CN113344679A (en) * 2021-06-30 2021-09-03 上海蒜芽信息科技有限公司 Train ticket recommendation method, system, equipment and medium
WO2023273552A1 (en) * 2021-06-30 2023-01-05 中国民航信息网络股份有限公司 Order generation method and apparatus, and electronic device and storage medium
CN115809903A (en) * 2023-02-06 2023-03-17 北京四方启点科技有限公司 Ticket buying method and device, electronic equipment and storage medium
CN116151934A (en) * 2023-04-19 2023-05-23 北京嗨飞科技有限公司 Method, device and equipment for processing air ticket order

Also Published As

Publication number Publication date
CN112199405B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN112199405A (en) Method and device for searching international air ticket change price
US8352454B2 (en) System and method for performing data searches using multiple data search providers
WO2012143378A1 (en) De-synchronization monitoring system and method
EP2264655A1 (en) Method and system for determining an optimal low fare for a trip
US20160241497A1 (en) Invoking an application to perform a service based on message content
CA2775038A1 (en) System and method for settling the payment of a travel e-ticket
CN112965943A (en) Data processing method and device, electronic equipment and storage medium
CN116860835A (en) Travel information query method, system, equipment and storage medium
WO2023137890A1 (en) Passenger ticket filling control method and apparatus
CN116757731A (en) Flight season factor prediction method and device, electronic equipment and storage medium
CN112215688A (en) Price offering method and device for settling freight price, storage medium and electronic equipment
US10592206B2 (en) Disruption index for tracking database records
CN111460309B (en) Information searching method and device and electronic equipment
CN113971007B (en) Information processing method, device, electronic equipment and medium
CN115794931B (en) Early warning method, system, equipment and storage medium of NDC aggregator
CN115345677A (en) Generation method of ticket refunding and changing cost, related device and computer storage medium
JP2004103006A (en) Traffic information retrieval system, traffic information retrieval method, and traffic information retrieval program
CN114331547A (en) Data verification method and data verification system
CN111784399A (en) System and method for calculating refund signing freight rate
CN117808508A (en) Flight freight rate determining method and device and electronic equipment
CN117873982A (en) Method and related device for storing manual ticket freight rate data
CN115129489A (en) Structural display method, system, storage medium and electronic equipment for retreating and changing rules
CN117974222A (en) Method, device and storage medium for generating discount freight rate across data sources
CN115358788A (en) Flight price query method and device and electronic equipment
CN113032444A (en) Travel planning method and device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant