CN112199405B - 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
CN112199405B
CN112199405B CN202011056765.9A CN202011056765A CN112199405B CN 112199405 B CN112199405 B CN 112199405B CN 202011056765 A CN202011056765 A CN 202011056765A CN 112199405 B CN112199405 B CN 112199405B
Authority
CN
China
Prior art keywords
ticket
original
result
original ticket
information
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.)
Active
Application number
CN202011056765.9A
Other languages
Chinese (zh)
Other versions
CN112199405A (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 Technology Co Ltd
Original Assignee
China Travelsky Technology Co Ltd
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 Technology Co Ltd filed Critical China Travelsky Technology Co Ltd
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

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 searching method and a device for changing price of an international air ticket, which are characterized in that corresponding air ticket order information is extracted from a received searching request for changing price of the international air ticket, the air ticket order information is provided with an original ticket restoring result obtained by restoring and simulating the air ticket issuing process based on an actual ticket order, when an automatic changeable mark exists in the original ticket restoring result, a searching request message for changing price of the air ticket is generated according to a passenger booking record and electronic passenger ticket information, and a flight changeable result conforming to a request service scene is generated according to the searching request message based on freight price data and a travel returning strategy. According to the invention, the original ticket reduction result is obtained by reduction simulation of the ticket issuing process based on the actual ticket order, and when the original ticket reduction result has the automatic change right, the flight changeable result conforming to the request service scene is generated according to the search request message based on the freight rate data and the journey change returning strategy, so that the search of the international ticket change 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 an international air ticket change price.
Background
The method is used for meeting business requirements of passenger ticket change period, cabin lifting and the like related to a self-service stage in electronic commerce of an airline company, providing support for the automatic returning and changing of a whole process of an airline company platform, and generating an international air ticket change search module (Reshop). The main function point of the international air ticket changing search module is to return batch changeable flights and corresponding spreads according to changing search requests, thereby providing better changing search service for users.
The current search service related to international air ticket change prices supporting multiple GDSs (Global Distribution System ) has the following problems: because the air ticket is issued on other GDS except the current GDS, the current GDS cannot directly use the freight rate information provided by the original ticket, and 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 easy to find out, even the original ticket freight rate cannot be found, and the original ticket recovery result cannot be recovered. On the other hand, the air ticket freight rate in the civil aviation field has strong timeliness, and different air ticket freight rate results are different due to different dates and even different time points, so that the original ticket reduction result cannot be obtained in a real-time calculation mode. The original ticket reduction result cannot be obtained in the prior art, so that the searching 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 an international air ticket change price, so as to realize that an original ticket reduction result is obtained by reduction simulation of an air ticket issuing process based on an actual ticket order, and when the original ticket reduction result has an automatic change right, a flight changeable result conforming to a request service scene is generated according to a search request message based on freight price data and a journey change back strategy, thereby realizing the search of the international air ticket change price.
A searching method for changing price of international air ticket includes:
receiving a search request of changing the price of the international air ticket;
extracting corresponding air ticket order information according to the search request, and acquiring a passenger booking record and electronic passenger ticket information from an external global distribution system GDS, wherein the air ticket order information has an original ticket restoration result obtained after restoration simulation of the air ticket issuing process based on the actual ticket order;
judging whether the original ticket reduction result has an automatically changeable mark or an automatically unchangeable mark;
when the automatic changeable mark exists in the air ticket order information, a search request message of air ticket change price is generated according to the passenger seat reservation record and the electronic passenger ticket information;
generating a flight changeable result conforming to a request service scene according to the search request message based on freight rate data and a trip return change strategy, wherein the flight changeable result comprises: the flight combination can be changed, and the ticket price corresponding to each change journey can be changed;
and outputting the flight changeable result.
A search device for changing prices of international air tickets, comprising:
the receiving unit is used for receiving a search request of the international air ticket change price;
the acquisition unit is used for extracting corresponding air ticket order information according to the search request, and acquiring a passenger reservation record and electronic passenger ticket information from an external global distribution system GDS, wherein the air ticket order information has an original ticket restoration result obtained by restoring and simulating the air ticket issuing process based on the actual ticket order;
the judging unit is used for judging whether the original ticket restoring result has an automatically changeable mark or an automatically unchangeable mark;
the search request message generation unit is used for generating a search request message of the change price of the air ticket according to the passenger reservation record and the electronic passenger ticket information when the automatic change mark exists in the air ticket order information;
the flight changeable result generating unit is used for generating a flight changeable result which accords with a request service scene according to the search request message based on the freight rate data and the route return change strategy, wherein the flight changeable result comprises: the flight combination can be changed, and the ticket price corresponding to each change journey can be changed;
and the first output unit is used for outputting the flight changeable result.
As can be seen from the above technical solution, the present invention discloses a method and an apparatus for searching an 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 has an original ticket reduction result obtained by performing reduction simulation on an air ticket issuing process based on an actual ticket order, when an automatically changeable identifier exists in the original ticket reduction result, it is indicated that the original ticket reduction result has an automatically changeable right, at this time, a search request message of the air ticket change price is generated according to a passenger reservation record and electronic passenger ticket information acquired from an external GDS, and a flight changeable result conforming to a requested service scene is generated according to the search request message based on freight price data and a travel change policy. According to the invention, the original ticket reduction result is obtained by reduction simulation of the ticket issuing process based on the actual ticket order, and when the original ticket reduction result has the automatic change right, the flight changeable result conforming to the request service scene is generated according to the search request message based on the freight rate data and the journey change returning strategy, so that the search of the international ticket change price is realized.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart 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 primary ticket reduction result in a method for searching an international air ticket change price according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a searching device for changing price of an international air ticket according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a primary ticket reduction result generating 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 have been shown in the accompanying 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 are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
The term "including" and variations thereof as used herein are intended to be 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. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The embodiment of the invention discloses a searching method and a searching device for an international air ticket changing price, corresponding air ticket order information is extracted from a received searching request for the international air ticket changing price, an original ticket restoring result obtained after restoring and simulating an air ticket issuing process based on an actual ticket order is arranged in the air ticket order information, when an automatic changing mark exists in the original ticket restoring result, the original ticket restoring result is indicated to have an automatic changing authority, at the moment, a searching request message for the air ticket changing price is generated according to a passenger booking record and electronic passenger ticket information acquired from an external GDS, and a flight changeable result conforming to a request service scene is generated according to the searching request message based on freight price data and a travel returning and changing strategy. According to the invention, the original ticket reduction result is obtained by reduction simulation of the ticket issuing process based on the actual ticket order, and when the original ticket reduction result has the automatic change right, the flight changeable result conforming to the request service scene is generated according to the search request message based on the freight rate data and the journey change returning strategy, so that the search of the international ticket change price is realized.
Referring to fig. 1, a flowchart of a searching method for an international air ticket changing price according to an embodiment of the present invention is disclosed, where the method includes:
step S101, receiving a search request of changing the price of an international air ticket;
step S102, extracting corresponding air ticket order information according to the search request, and acquiring a passenger reservation record and electronic passenger ticket information from an external GDS;
the ticket order information has an original ticket restoration result obtained after the ticket issuing process is restored and simulated based on the actual ticket order.
The original ticket reduction result comprises: the method comprises the steps of carrying price information of an original ticket, information of an original ticket seller, information of an original ticket flight, information of an original ticket passenger and information of an original ticket air ticket, wherein the air ticket information of the original ticket mainly comprises ticket out date, ticket out time and ticket number of the original ticket.
The present invention mainly uses the current GDS to execute the searching process of the international air ticket changing price.
Functional components in the current GDS include: an order processing business component, a business reservation component, a freight rate calculation component, and a freight rate search component.
The order processing business component is used for directly interacting with a user and completing all services including air ticket change search, change-back price calculation and subsequent ticket issuing by calling other components.
And the service reservation component is used for receiving the freight rate requests in different formats and forwarding the freight rate requests to the corresponding components.
And the freight rate calculation component is used for providing freight rate calculation service and reproducing the original ticket information by using an internal more complex dynamic correction device. And calculating the ticket difference after the change journey for the subsequent ticket change searching link.
And the freight price searching component is used for supporting the passenger change searching function (including the functions of changing period, lifting cabin and the like) of the flight service link. The system integrates information and processing logic of flight data, path information, cabin position state, freight rate data and the like of an airline company. One request may be supported to return the results of the batch of changeable flights and corresponding spreads.
The external GDS, which is a ticketing GDS, may be considered as a bid for the current GDS. The invention mainly provides a passenger reservation record, electronic ticket information and an actual ticket order.
Step S103, judging that the original ticket reduction result has an automatically changeable mark or an automatically unchangeable mark;
the automatic change mark is used for representing that the original ticket reduction result has the automatic change permission, and the non-automatic change mark is used for representing that the original ticket reduction result does not have the automatic change permission.
Step S104, when the automatic change mark exists in the air ticket order information, a search request message of the air ticket change price is generated according to the passenger seat reservation record and the electronic passenger 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. Wherein, the following needs to generate a search request message from the new generation for the flight to be changed to perform the re-search.
Step 105, generating a flight changeable result according with the request service scene according to the search request message based on the freight rate data and the trip return change strategy;
wherein the flight alterable outcome includes: the flight combination and the ticket spread corresponding to each change journey can be changed.
It should be noted that, in practical application, the freight rate search module in the current GDS generates a changeable flight combination according with the request service scenario according to the search request message.
The freight price searching component invokes the freight price calculating component, and the freight price calculating component calculates the air ticket difference between the changeable air ticket combination and the original air ticket according to the passenger seat booking record and the electronic ticket information in the searching request message and the generated changeable air ticket combination.
And step S106, outputting the flight changeable result.
After outputting the flight changeable result, the user may select a target change route from the flight changeable result according to actual needs.
In order to ensure the reliability of the target change route selected by the user, before the target change route is ticketed, the current GDS calls the external GDS to check the target change route, and after the ticket checking is passed, the ticketing operation is executed. The ticket checking process can refer to the existing mature scheme, and is not repeated here.
In summary, the method for searching the international air ticket change price disclosed by the invention extracts the corresponding air ticket order information from the received search request of the international air ticket change price, the air ticket order information is provided with the original ticket reduction result obtained by carrying out reduction simulation on the air ticket issuing process based on the actual ticket order, when the original ticket reduction result has the automatic change mark, the original ticket reduction result is indicated to have the automatic change permission, at the moment, the search request message of the air ticket change price is generated according to the passenger reservation record and the electronic passenger ticket information acquired from the external GDS, and the flight changeable result conforming to the request service scene is generated according to the search request message based on the freight price data and the travel change strategy. According to the invention, the original ticket reduction result is obtained by reduction simulation of the ticket issuing process based on the actual ticket order, and when the original ticket reduction result has the automatic change right, the flight changeable result conforming to the request service scene is generated according to the search request message based on the freight rate data and the journey change returning strategy, so that the search of the international ticket change price is realized.
To further optimize the above embodiment, after step S102, it may further include:
when the ticket order information contains the mark which can not be automatically changed, outputting prompt information that the international ticket change price can not be searched.
Referring to fig. 2, a flowchart of a method for generating a return result of an original ticket in a method for searching an international air ticket change price according to an embodiment of the present invention includes:
step S201, obtaining 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, the flight information including: flight origin, flight origin time, flight destination, flight arrival time, airline code, flight number, airport code, etc. The passenger information includes: passenger type, number of passengers, passenger age, user ID, etc.
Step S202, carrying out reduction simulation on the 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;
wherein, the original ticket reduction result comprises the contents including but not limited to: ticket fare information, flight information, and passenger information.
Step 203, searching an actual original ticket restoring result corresponding to the original ticket restoring result according to the unique identifier;
the original ticket reduction result comprises: the original ticket information mainly comprises the ticket out date, the ticket out time and the ticket number of the original ticket.
The original ticket freight rate information at least comprises: basic freight rates and tax terms, the tax terms comprising: 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 tax items in the original ticket reduction result are the same as 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 the tax types in the original ticket reduction result to obtain a total tax, and calculating the sum of the tax types in the actual original ticket reduction result to obtain a 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;
total tax in total tax difference= |original ticket reduction result-total tax of actual original ticket reduction result.
Step S208, calculating 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=total tax difference ≡ (basic shipping price in actual ticket order+total tax in actual ticket order).
Step S209, judging whether the total tax difference ratio is not greater than a tax difference threshold, if yes, executing step S210, and if no, executing step S211;
the tax difference threshold is a constant value summarized according to the actual business, namely an allowable error value. The tax difference threshold is placed in a configuration table and can be dynamically configured along with the development of actual business changes.
Because the exchange rate carry rule used by different GDSs in tax calculation is inconsistent, even if the exchange rate carry rule is mapped to tax items correctly through an internal freight rate calculation component, a certain error can still exist between the restored original ticket restoring result and the actual original ticket restoring result in the final total tax calculation, so that the richness of the air ticket change price searching result is influenced.
Step S210, adding an automatically changeable mark to the original ticket restoring result and writing the mark into corresponding ticket order information;
and after the automatic change mark is added to the original ticket reduction result, the original ticket reduction result is indicated to have the automatic change permission.
Step S211, adding an automatic change disabled mark to the original ticket restoring result, and writing the automatic change disabled mark into corresponding ticket order information.
And after the non-automatic change mark is added to the original ticket reduction result, the original ticket reduction result is indicated to have no automatic change permission.
In summary, according to the method for generating the original ticket reduction result in the method for searching the international air ticket change price disclosed by the invention, the original ticket reduction result and the unique identifier corresponding to the original ticket reduction result are obtained by carrying out reduction simulation on the air ticket issuing process based on the actual ticket order provided by the external GDS, the actual original ticket reduction result corresponding to the original ticket reduction result is searched according to the unique identifier, when the basic freight rate and the tax item of the original ticket reduction result are the same, the total tax of each tax in the original ticket reduction result and the total tax of the actual original ticket reduction result are calculated, and the total tax difference of the two total tax fees is calculated, and further, the total tax difference ratio is calculated based on the total tax difference, the basic freight rate and the total tax, when the total tax difference ratio is not greater than the tax difference threshold, the automatically changeable identifier is added to the original ticket reduction result and written into corresponding air ticket order information, otherwise, when the total tax difference ratio is greater than the tax difference threshold, the automatically changeable identifier is added to the original ticket reduction result and the corresponding air ticket order information is written. According to the invention, the original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process, the accuracy of the original ticket reduction result obtained by reduction simulation is ensured by comparing the original ticket reduction result with the actual original ticket reduction result, and the error existing between the reduced original ticket reduction result and the actual original ticket reduction result is effectively solved by setting the tax difference threshold value, so that the richness of the air ticket change price search result is improved to a certain extent.
It is noted that the flowcharts 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 of the present disclosure may be written in 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected 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 searching device for the change price of the international air ticket.
Referring to fig. 3, a schematic structural diagram of a searching device for changing prices of international air tickets according to an embodiment of the present invention is disclosed, where the device includes:
a receiving unit 301, configured to receive a search request for changing a price of an international air ticket;
an obtaining unit 302, configured to extract corresponding air ticket order information according to the search request, and obtain a passenger reservation record and electronic passenger ticket information from an external global distribution system GDS, where the air ticket order information has an original ticket restoration result obtained by performing restoration simulation on an air ticket issuing process based on the actual ticket order;
the original ticket reduction result comprises: the method comprises the steps of carrying price information of an original ticket, information of an original ticket seller, information of an original ticket flight, information of an original ticket passenger and information of an original ticket air ticket, wherein the air ticket information of the original ticket mainly comprises ticket out date, ticket out time and ticket number of the original ticket.
The present invention mainly uses the current GDS to execute the searching process of the international air ticket changing price.
A judging unit 303, configured to judge that an automatically changeable identifier or an automatically unchangeable identifier exists in the original ticket restoration result;
the automatic change mark is used for representing that the original ticket reduction result has the automatic change permission, and the non-automatic change mark is used for representing that the original ticket reduction result does not have the automatic change permission.
A search request message generating unit 304, configured to generate a search request message for changing an air ticket price according to the passenger reservation record and the electronic ticket information when the automatically changeable identifier exists in the air 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. Wherein, the following needs to generate a search request message from the new generation for the flight to be changed to perform the re-search.
A flight changeable result generating unit 305, configured to generate a flight changeable result according to the request service scenario according to the search request packet based on the freight rate data and the trip return policy, where the flight changeable result includes: the flight combination can be changed, and the ticket price corresponding to each change journey can be changed;
a first output unit 306, configured to output the flight changeable result.
In summary, the international air ticket price changing searching device disclosed by the invention extracts corresponding air ticket order information from a received international air ticket price changing searching request, the air ticket order information is provided with an original ticket restoring result obtained by restoring and simulating the air ticket drawing process based on an actual ticket order, when an automatic changing mark exists in the original ticket restoring result, the original ticket restoring result is indicated to have an automatic changing authority, at the moment, a search request message of the air ticket price changing is generated according to the passenger booking record and the electronic passenger ticket information acquired from an external GDS, and a flight changing result conforming to a request service scene is generated according to the search request message based on freight price data and a travel returning strategy. According to the invention, the original ticket reduction result is obtained by reduction simulation of the ticket issuing process based on the actual ticket order, and when the original ticket reduction result has the automatic change right, the flight changeable result conforming to the request service scene is generated according to the search request message based on the freight rate data and the journey change returning strategy, so that the search of the international ticket change price is realized.
To further optimize the above embodiment, the search device 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 non-automatic change mark exists in the air ticket order information.
In order to further optimize the foregoing embodiment, the present invention further provides a process for generating a return result of an original ticket, and therefore, the search device 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 a primary ticket reduction result generating unit disclosed in the embodiment of the present invention may include:
an acquisition subunit 401, configured to acquire 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, the flight information including: flight origin, flight origin time, flight destination, flight arrival time, airline code, flight number, airport code, etc. The passenger information includes: passenger type, number of passengers, passenger age, user ID, etc.
A return simulation subunit 402, configured to perform a return simulation on the ticket issuing process based on the actual ticket order, so as to obtain an original ticket return result and a unique identifier corresponding to the original ticket return result;
wherein, the original ticket reduction result comprises the contents including but not limited to: ticket fare information, flight information, and passenger information.
A searching subunit 403, configured to search an actual original ticket restoration result corresponding to the original ticket restoration result according to the unique identifier;
the original ticket reduction result comprises: the original ticket information mainly comprises the ticket out date, the ticket out time and the ticket number of the original ticket.
The original ticket freight rate information at least comprises: basic freight rates and tax terms, the tax terms comprising: tax type number.
A first judging subunit 404, configured to judge whether a basic freight rate in the original ticket restore result and a basic freight rate in the actual original ticket restore result are equal;
a second judging subunit 405, configured to judge whether the tax item in the original ticket reduction result is the same as the tax item in the actual original ticket reduction result if the first judging subunit 404 judges yes;
a first calculating subunit 406, configured to calculate, if the second judging subunit 405 judges that the second judging subunit is yes, a total tax obtained by summing up the tax types in the original ticket reduction result, and a total tax obtained by summing up the tax types in the actual original ticket reduction result;
a second calculating subunit 407, configured to calculate a difference between the total tax in the original ticket reduction result and the 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=total tax difference ≡ (basic shipping price in actual ticket order+total tax in 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;
and a first adding subunit 410, configured to add an automatically changeable identifier to the original ticket reduction result and write the automatically changeable identifier into the corresponding ticket order information when the third determining subunit determines that the third determining subunit is yes.
In summary, according to the invention, based on the actual ticket order provided by the external GDS, the original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process, and the unique identifier corresponding to the original ticket reduction result is searched for according to the unique identifier, the actual original ticket reduction result corresponding to the original ticket reduction result is searched, when the basic freight rate and tax item of the original ticket reduction result are the same, the total tax of each tax in the original ticket reduction result and the total tax of the actual original ticket reduction result are calculated, and the total tax difference of the two total tax fees is calculated, and further, the total tax difference ratio is calculated based on the total tax difference, the basic freight rate and the total tax, and when the total tax difference ratio is not greater than the tax difference threshold, the automatically changeable identifier is added to the original ticket reduction result and written into the corresponding air ticket order information, otherwise, when the total tax difference ratio is greater than the tax difference threshold, the automatically changeable identifier is added to the original ticket reduction result and written into the corresponding air ticket order information. According to the invention, the original ticket reduction result is obtained by carrying out reduction simulation on the ticket issuing process, the accuracy of the original ticket reduction result obtained by reduction simulation is ensured by comparing the original ticket reduction result with the actual original ticket reduction result, and the error existing between the reduced original ticket reduction result and the actual original ticket reduction result is effectively solved by setting the tax difference threshold value, so that the richness of the air ticket change price search result is improved to a certain extent.
To further optimize the above embodiment, the original ticket reduction result generation unit may further include:
and the second adding subunit is used for adding an automatic-change-disabled mark to the original ticket reduction result 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 larger than the tax difference threshold value, and writing the automatic-change-disabled mark into corresponding air ticket order information.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The specific working principle of each component in the embodiment of the device is described in the corresponding portion of the embodiment of the method, and will not be described herein.
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 example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limiting 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 of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (10)

1. A method for searching for an international air ticket change price, comprising:
receiving a search request of changing the price of the international air ticket;
extracting corresponding air ticket order information according to the search request, and acquiring a passenger booking record and electronic passenger ticket information from an external global distribution system GDS, wherein the air ticket order information has an original ticket restoration result obtained after restoration simulation of an air ticket issuing process based on an actual ticket order;
judging whether the original ticket reduction result has an automatically changeable mark or an automatically unchangeable mark;
when the automatic changeable mark exists in the air ticket order information, a search request message of air ticket change price is generated according to the passenger seat reservation record and the electronic passenger ticket information;
generating a flight changeable result conforming to a request service scene according to the search request message based on freight rate data and a trip return change strategy, wherein the flight changeable result comprises: the flight combination can be changed, and the ticket price corresponding to each change journey can be changed;
outputting the flight changeable result;
the generation process of the original ticket reduction result comprises the following steps:
acquiring an actual ticket order provided by an external GDS;
performing 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;
according to the unique identifier, searching an actual original ticket reduction result corresponding to the original ticket reduction result;
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 yes, judging whether tax items in the original ticket reduction result are the same as tax items in the actual original ticket reduction result;
if so, calculating the sum of all tax fees in the original ticket reduction result to obtain total tax fees, and calculating the sum of all tax fees in the actual original ticket reduction result to obtain total tax fees;
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 a total tax difference ratio according to the total tax difference, the basic freight rate and the total tax;
judging whether the total tax difference ratio is not larger than a tax difference threshold;
if yes, adding an automatically changeable mark to the original ticket restoring result, and writing the mark into corresponding ticket order information.
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 reduction result 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:
when the non-automatic change mark 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, further comprising:
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 larger than the tax difference threshold, adding an automatically-variable mark to the original ticket reduction result, and writing the mark into corresponding air ticket order information.
6. A search device for changing a price of an international air ticket, comprising:
the receiving unit is used for receiving a search request of the international air ticket change price;
the acquisition unit is used for extracting corresponding air ticket order information according to the search request, and acquiring a passenger reservation record and electronic passenger ticket information from an external global distribution system GDS, wherein the air ticket order information has an original ticket restoration result obtained after restoration simulation of an air ticket issuing process based on an actual ticket order;
the judging unit is used for judging whether the original ticket restoring result has an automatically changeable mark or an automatically unchangeable mark;
the search request message generation unit is used for generating a search request message of the change price of the air ticket according to the passenger reservation record and the electronic passenger ticket information when the automatic change mark exists in the air ticket order information;
the flight changeable result generating unit is used for generating a flight changeable result which accords with a request service scene according to the search request message based on the freight rate data and the route return change strategy, wherein the flight changeable result comprises: the flight combination can be changed, and the ticket price corresponding to each change journey can be changed;
a first output unit configured to output the flight changeable result;
further comprises: the original ticket reduction result generation unit is used for generating the original ticket reduction result;
the original ticket reduction result generation unit specifically comprises:
an acquisition subunit, configured to acquire an actual ticket order provided by the external GDS;
the reduction simulation subunit is used for carrying out reduction simulation on the 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 searching subunit is used for searching an actual original ticket restoring result corresponding to the original ticket restoring result according to the unique identifier;
the first judging 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 used for judging whether the tax item in the original ticket reduction result is the same as the tax item in the actual original ticket reduction result or not under the condition that the first judging subunit judges yes;
the first calculating subunit is used for calculating the sum of the tax rates in the original ticket reduction result to obtain the total tax rate and the sum of the tax rates in the actual original ticket reduction result to obtain the total tax rate under the condition that the second judging subunit judges yes;
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 and obtaining a total tax difference ratio according to the total tax difference, the basic freight rate 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;
a first adding subunit configured to, if the third judging subunit judges yes, and adding an automatically changeable identifier to the original ticket restoring result, and writing the automatically changeable identifier into corresponding ticket order information.
7. The search apparatus of claim 6, wherein the search request message comprises: freight rate information, flight information and passenger information of the original ticket.
8. The search apparatus of claim 6, wherein the original ticket reduction result comprises: original ticket freight rate information, original ticket seller information, original ticket flight information, original ticket passenger information and original ticket air ticket information.
9. The search apparatus of claim 6, 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 non-automatic change mark exists in the air ticket order information.
10. The search apparatus according to claim 6, wherein the original ticket reduction result generation unit further comprises:
and the second adding subunit is used for adding an automatic-change-disabled mark to the original ticket reduction result 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 larger than the tax difference threshold value, and writing the automatic-change-disabled mark into corresponding air ticket order information.
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 CN112199405A (en) 2021-01-08
CN112199405B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113487384A (en) * 2021-06-30 2021-10-08 中国民航信息网络股份有限公司 Order generation method and device, electronic equipment and storage medium
CN113344679A (en) * 2021-06-30 2021-09-03 上海蒜芽信息科技有限公司 Train ticket recommendation method, system, equipment and medium
CN115809903A (en) * 2023-02-06 2023-03-17 北京四方启点科技有限公司 Ticket buying method and device, electronic equipment and storage medium
CN116151934B (en) * 2023-04-19 2023-07-21 北京嗨飞科技有限公司 Method, device and equipment for processing air ticket order

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW470899B (en) * 2000-07-28 2002-01-01 Intumit Co Ltd Multi-flight ticket booking system of international airline and its method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN112199405A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN112199405B (en) Method and device for searching international air ticket change price
AU2012244815B2 (en) De-synchronization monitoring system and method
US8352454B2 (en) System and method for performing data searches using multiple data search providers
CA2762165C (en) Method and system for determining an optimal low fare for a trip
CN105631630A (en) Passenger order data processing method and device
US20120239442A1 (en) Method for auditing the value of a partial ticket change transaction
CN112966846A (en) Passenger signing and transferring method and device, storage medium and electronic equipment
AU2010299907A1 (en) System and method for settling the payment of a travel e-ticket
WO2023137890A1 (en) Passenger ticket filling control method and apparatus
CN116150216A (en) Stroke search method, device, electronic equipment and storage medium
US20140379392A1 (en) Flight-plan generating apparatus
CN112215688A (en) Price offering method and device for settling freight price, storage medium and electronic equipment
CN111460309B (en) Information searching method and device and electronic equipment
US20210182743A1 (en) System and Method for Procuring a Reservation Within a Heterogeneous Transportation Network
CN116385091A (en) Air ticket changing method, system, electronic equipment and storage medium
CN117808508A (en) Flight freight rate determining method and device and electronic equipment
CN115129489A (en) Structural display method, system, storage medium and electronic equipment for retreating and changing rules
CN114331547A (en) Data verification method and data verification system
CN115345677A (en) Generation method of ticket refunding and changing cost, related device and computer storage medium
CN117974222A (en) Method, device and storage medium for generating discount freight rate across data sources
CN111784399A (en) System and method for calculating refund signing freight rate
CN115471255A (en) Air ticket management method and related device
Wei Schedule Planning and Endogeneity of Travelers' Decisions in Congested Large-Scale Transportation Networks
CN116245579A (en) Ticket price calculating method, system, electronic equipment and storage medium
CN115358788A (en) Flight price query method and device and electronic equipment

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