CN112182051B - Passenger ticket changing searching method, system and storage medium based on brand freight rate mode - Google Patents

Passenger ticket changing searching method, system and storage medium based on brand freight rate mode Download PDF

Info

Publication number
CN112182051B
CN112182051B CN202011064426.5A CN202011064426A CN112182051B CN 112182051 B CN112182051 B CN 112182051B CN 202011064426 A CN202011064426 A CN 202011064426A CN 112182051 B CN112182051 B CN 112182051B
Authority
CN
China
Prior art keywords
brand
freight
rates
rate
passenger
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
CN202011064426.5A
Other languages
Chinese (zh)
Other versions
CN112182051A (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 CN202011064426.5A priority Critical patent/CN112182051B/en
Publication of CN112182051A publication Critical patent/CN112182051A/en
Application granted granted Critical
Publication of CN112182051B publication Critical patent/CN112182051B/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
    • G06Q50/40

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

In the method, a mode of changing search based on a brand freight mode is used for expanding a search mode of a changing search system, and a changing result comprises a brand freight combination and the lowest changing cost besides a changing candidate journey, so that the richness and diversity of the search result are improved, and the search quality of the changing search system is improved.

Description

Passenger ticket changing searching method, system and storage medium based on brand freight rate mode
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a method, a system, and a storage medium for searching for a change of a passenger ticket based on a brand freight rate mode.
Background
With the rapid development of electronic commerce of airlines, the demands of passengers for improving the automatic returning and changing service are gradually increased, so that a passenger ticket changing and searching system is generated.
The change search system is mainly used for supporting service services such as passenger ticket change period, cabin lifting and the like, searches according to the original passenger ticket information of passengers and the information to be changed, and automatically displays all changeable candidate flights and corresponding change fees for the passengers to select.
However, currently, the changing search system of the passenger ticket adopts a limited search mode, and different search requests are difficult to meet, so that the search quality of the changing search system is low.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In order to solve the above technical problems, embodiments of the present application provide a method, a system, and a storage medium for changing and searching passenger tickets based on brand freight rate mode, where the technical scheme is as follows:
a passenger ticket change searching method based on a brand freight rate mode comprises the following steps:
acquiring a passenger ticket changing request, wherein the passenger ticket changing request is at least used for indicating to change based on a brand freight rate mode;
acquiring historical travel information of the passenger and constructing a change candidate travel based on the passenger ticket change request;
determining a historical freight rate corresponding to the passenger historical travel information;
searching brand freight rates meeting the conditions according to the historical freight rates, the change rules of the historical freight rates and the change candidate routes, and combining the searched brand freight rates to obtain brand freight rate combinations;
Calculating the lowest change cost of the brand freight rate combination for each brand freight rate combination;
and outputting a change result, wherein the change result at least comprises the change candidate journey, each brand freight rate combination and the lowest change cost.
A brand-freight-mode-based passenger ticket change search system, comprising:
the first acquisition module is used for acquiring a passenger ticket changing request, wherein the passenger ticket changing request is at least used for indicating to change based on a brand freight rate mode;
the second acquisition module is used for acquiring the historical travel information of the passenger and constructing a change candidate travel based on the passenger ticket change request;
the first determining module is used for determining the historical freight rate corresponding to the passenger historical travel information;
the combination module is used for searching brand freight rates meeting the conditions according to the historical freight rates, the change rules of the historical freight rates and the change candidate routes, and combining the searched brand freight rates to obtain brand freight rate combinations;
the calculating module is used for calculating the lowest change cost of each brand freight rate combination;
and the output module is used for outputting a change result, and the change result at least comprises the change candidate journey, each brand freight rate combination and the lowest change cost.
A computer storage medium having stored thereon a computer program for execution by a processor to implement the steps of the brand price pattern-based passenger ticket change search method of any one of the above.
Compared with the prior art, the beneficial effects of this application are:
in the method, the searching mode of the changing searching system is expanded by the mode of changing searching based on the brand freight rate mode, and the changing result comprises the brand freight rate combination and the lowest changing cost besides the changing candidate journey, so that the richness and the diversity of the searching result are improved, and the searching quality of the changing searching system is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
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 schematic diagram of a system for searching for changes in tickets according to the present application;
FIG. 2 is a flowchart of an embodiment 1 of a method for searching for changes to tickets based on brand price patterns;
FIG. 3 is a flowchart of an embodiment 2 of a method for searching for changes to tickets based on brand price patterns;
FIG. 4 is a schematic illustration of a brand price combination provided herein;
FIG. 5 is a schematic illustration of another brand price combination provided herein;
FIG. 6 is a schematic illustration of yet another brand price combination provided herein;
FIG. 7 is a schematic illustration of yet another brand price combination provided herein;
FIG. 8 is a schematic illustration of yet another brand price combination provided herein;
fig. 9 is a schematic logic structure diagram of a passenger ticket changing search system based on brand freight rate mode.
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.
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
In embodiments of the present application, a change search system based on tickets executes a change search method based on brand price patterns. As shown in fig. 1, the change search system for tickets may include: the brand freight rate change search engine component, the brand freight rate change calculation engine component, the historical freight rate database component and the brand freight rate database component. The functions of each component are as follows:
Brand freight rate change search engine component: extracting and integrating the related information of the original journey and the order of the passenger according to the change request of the passenger, generating a candidate journey according with the preference of the passenger, and calling a brand freight rate calculation engine component;
brand freight rate change calculation engine component: accessing a historical freight rate database to obtain a historical freight rate change rule; accessing a brand freight rate database, generating brand freight rate combinations of different modes, and calculating change cost;
historical freight rate database component: providing the calculation engine with the freight rate of the issued ticket and the applicable rule information;
brand freight database component: the brand freight rate and its applicable rule information are provided to a computing engine.
Referring to fig. 2, a flowchart of a passenger ticket changing search method based on brand price mode according to embodiment 1 of the present application is shown in fig. 2, and the method may include, but is not limited to, the following steps:
and S11, acquiring a passenger ticket changing request, wherein the passenger ticket changing request is at least used for indicating to change based on the brand freight rate mode.
In this embodiment, ticket change information (such as change date, departure place, destination, etc.) can be obtained by analyzing the ticket change request; or passenger preference information (e.g., flight through, departure time, acceptance of transit, etc.); or, indication information for changing based on the brand price pattern; or passenger information.
Brand freight rates, can be understood as: and grouping the freight rates to determine freight rates. Different brands of freight rate correspond to different services to realize product differentiation. For example, a physical compartment or the like provides two different brands of freight rates for a first class of compartment, namely a brand freight rate a and b, wherein the brand freight rate a corresponds to buffet service, the brand freight rate b corresponds to aircraft standard meal service, and the brand freight rate a is higher than the brand freight rate b.
And step S12, acquiring historical travel information of the passenger and constructing a change candidate travel based on the passenger ticket change request.
In this embodiment, based on the passenger ticket change request, obtaining the passenger history journey information and constructing a change candidate journey may include:
s121, acquiring historical travel information of the passengers based on the passenger information.
Passenger historical trip information, which may include, but is not limited to: PNR information and electronic ticket information. The electronic ticket information may include, but is not limited to: ticket number of ticket, various information of passenger, origin destination, flight, cabin, ticket status, baggage information, fare, tax.
S122, judging whether the automatic change requirement is met.
If the automatic change requirement is met, executing step S123; if the automatic change requirement is not met, prompting the manual change.
S123, combining the passenger ticket change information and the passenger preference information to construct a change candidate journey.
And step S13, determining the historical freight rate corresponding to the passenger historical travel information.
In this embodiment, the change calculation engine component may request the reserved freight rate and its change rule from the historical freight rate database, and calculate the historical freight rate corresponding to the passenger history travel information based on the reserved freight rate and its change rule.
And S14, searching brand freight rates meeting the conditions according to the historical freight rates, the change rules of the historical freight rates and the change candidate routes, and combining the searched brand freight rates to obtain brand freight rate combinations.
In this embodiment, searching for a brand freight rate meeting the condition according to the historical freight rate, the change rule of the historical freight rate, and the change candidate route may include:
s141, determining all brands of freight rates supported by the change candidate journey.
In this embodiment, the change calculation engine may access a brand freight rate database, and search the brand freight rate database for all brand freight rates supported by the change candidate itinerary. Specifically, usable flights in the change candidate itinerary may be determined, and physical cabins or the like under each usable flight may be determined, and brand freight rates under each physical cabin or the like may be determined.
S142, selecting the brand freight rate to which the historical freight rate can be changed from all brand freight rates supported by the change candidate journey according to the change rule of the historical freight rate.
The change rule of the historical freight rate can be understood as: ATPCO formulates specific rule formats and processing logic.
S143, taking the selected brand freight rate as the brand freight rate meeting the conditions.
And S15, calculating the lowest change cost of each brand freight rate combination.
In this embodiment, the change calculation engine component may calculate various change fees for the brand-name freight combination based on the change rule of the historical freight name, and select the lowest change fee from the calculated change fees as the lowest change fee for the brand-name freight combination.
And S16, outputting a change result, wherein the change result at least comprises the change candidate journey, each brand freight rate combination and the lowest change cost.
According to one or more embodiments of the present disclosure, method embodiment 1 provides a method for searching for changes to tickets based on brand freight rate mode, including: acquiring a passenger ticket changing request, wherein the passenger ticket changing request is at least used for indicating to change based on a brand freight rate mode; acquiring historical travel information of the passenger and constructing a change candidate travel based on the passenger ticket change request; determining a historical freight rate corresponding to the passenger historical travel information; searching brand freight rates meeting the conditions according to the historical freight rates, the change rules of the historical freight rates and the change candidate routes, and combining the searched brand freight rates to obtain brand freight rate combinations; calculating the lowest change cost of the brand freight rate combination for each brand freight rate combination; and outputting a change result, wherein the change result at least comprises the change candidate journey, each brand freight rate combination and the lowest change cost.
In the method, the searching mode of the changing searching system is expanded by the mode of changing searching based on the brand freight rate mode, and the changing result comprises the brand freight rate combination and the lowest changing cost besides the changing candidate journey, so that the richness and the diversity of the searching result are improved, and the searching quality of the changing searching system is improved.
As another optional embodiment of the present application, referring to fig. 3, a flowchart of an embodiment 3 of a method for searching for a passenger ticket change based on a brand price mode is provided, and this embodiment is mainly a refinement of the method for searching for a passenger ticket change based on a brand price mode described in the foregoing embodiment 1, and as shown in fig. 3, the method may include, but is not limited to, the following steps:
and S21, acquiring a passenger ticket changing request, wherein the passenger ticket changing request is at least used for indicating to change based on the brand freight rate mode.
And S22, acquiring historical travel information of the passenger and constructing a change candidate travel based on the passenger ticket change request.
Step S23, determining the historical freight rate corresponding to the passenger historical travel information.
The detailed procedure of steps S21-S23 can be referred to in the related description of steps S11-S13 in embodiment 1, and will not be described herein.
And step S24, searching for brand freight rates meeting the conditions according to the historical freight rates, the change rules of the historical freight rates and the change candidate routes, and combining the searched brand freight rates according to the brand freight rate combination mode appointed by the passenger if the passenger ticket change request contains information of the brand freight rate combination mode appointed by the passenger, so as to obtain the brand freight rate combination.
In this embodiment, the passenger-specified brand price combination patterns may include, but are not limited to: the same brand freight rate combination mode, the mixed brand freight rate combination mode, the UPSELL freight rate combination mode, the mixed brand freight rate combination mode of the same physical compartment and the like, or the UPSELL freight rate combination mode of the same physical compartment and the like.
In the same brand freight rate combination mode, only freight rates of the same brand are allowed to be combined. The co-branding price combination pattern may include: a single-cabin equivalent brand freight rate combination mode or a multi-cabin equivalent brand freight rate combination mode. The single cabin equivalent brand freight rate mode can be understood as: only under the same cabins etc. are the freight rates of the same brands allowed to be combined. The multi-compartment equivalent brand freight rate model can be understood as: allowing the same brand of freight rate combination for multiple cabins, etc.
And when the brand freight rate combination mode specified by the passenger is the same brand freight rate combination mode, combining the searched brand freight rates according to the brand freight rate combination mode specified by the passenger to obtain a brand freight rate combination, which may include:
s2411, acquiring the brand freight rate corresponding to the outgoing journey from the searched brand freight rates, and acquiring the brand freight rate corresponding to the return journey.
The forward and return routes can be understood as two routes in the forward and return route.
S2412, selecting the brand freight rate which is the same as the outgoing brand freight rate from the brand freight rates corresponding to the return stroke for each outgoing brand freight rate, and combining the two to obtain a brand freight rate combination, wherein the outgoing brand freight rate is any one brand freight rate in the brand freight rates corresponding to the outgoing stroke.
For example, the physical cabins are equally divided into first class cabins, business cabins and economy cabins, the priority of the first class cabins, the business cabins and the economy cabins are sequentially reduced, the brand freight rate A belongs to a certain brand freight rate in the first class cabins, the brand freight rate B belongs to a certain brand freight rate in the business cabins, the brand freight rate C belongs to one brand freight rate in the economy cabins, and for a certain forward and backward journey, the forward journey has A, B, C, and the backward journey has only A and B. In the same brand price combination mode, the brand price combination mode is shown in fig. 4, if the passenger designates multiple cabins and the like, the brand combination result is returned as follows: AA, BB.
The mixed brand freight rate combination mode can be understood as follows: the brand freight rates of different physical cabins and the like allow free combination.
And when the brand freight rate combination mode specified by the passenger is a mixed brand freight rate combination mode, combining the searched brand freight rates according to the brand freight rate combination mode specified by the passenger to obtain a brand freight rate combination, which may include:
s2413, acquiring the brand freight rate corresponding to the outgoing journey from the searched brand freight rates, and acquiring the brand freight rate corresponding to the return journey;
s2414, combining each brand freight rate in the brand freight rates corresponding to the outgoing distance with each brand freight rate in the brand freight rates corresponding to the return distance to obtain a brand freight rate combination.
For example, A1 is two brand freight rates belonging to the first class, B is a brand freight rate belonging to the business class, C is a brand freight rate belonging to the economy class, the priority of the first class, the business class and the economy class decreases in sequence, and for a certain forward-backward journey, there are a, B, C, and the backward journey is only A1, B. The brand price combinations in the mixed brand price combination mode may be seen in fig. 5, specifically: AA1, AB, BA1, BB, CA1, CB.
The UPSELL freight rate combination pattern can be understood as: the combination mode is sold upward. In this mode, it is required to preferentially return the fare results of the fare combinations of the same brand, and in the case that a certain brand of fare is missing, this brand of fare is allowed to be combined with the nearest high-grade brand of fare, avoiding losing sales opportunities due to the absence of a result of a certain brand of fare.
In the returned result, each FC (Fare Component, fare calculation group refers to the space between two adjacent Fare calculation points) is preferentially combined by using the same brand of freight, and when any FC lacks a brand of freight, the FC is allowed to use the adjacent high-grade brand freight combination. When the brand freight rate combination with the same grade exists, the brand freight rate combination result with the lowest price is fetched.
And when the brand freight rate combination mode specified by the passenger is a UPSELL freight rate combination mode, combining the searched brand freight rates according to the brand freight rate combination mode specified by the passenger to obtain a brand freight rate combination, which may include:
s2415, acquiring the brand freight rate corresponding to the outgoing journey from the searched brand freight rates, and acquiring the brand freight rate corresponding to the return journey;
s2416, searching the brand freight rate which is the same as the forward brand freight rate in the brand freight rates corresponding to the return stroke for each forward brand freight rate;
if so, executing step S2417; if not, go to step S2418.
S2417, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations;
S2418, searching adjacent brand freight rates with the grade higher than the outgoing brand freight rates in the brand freight rates corresponding to the return strokes;
if the adjacent brand freight rate with the higher grade than the outgoing brand freight rate is found, step S2419 is executed.
S2419, combining the adjacent brand freight rates with the grade higher than the forward brand freight rates with the forward brand freight rates to obtain brand freight rate combinations.
For example, a user requests to specify 3 cabins and other brands for inquiry, a certain airline company has 5 brands in total, the brands are A, B, C, D and E in sequence from high to low, and for a certain forward travel, only A and B remain for sale, and only B, D and E remain for sale. Each brand of freight rate is combined in turn,
brand freight rate a combination: brand freight a is found from each FC, and the backhaul is found to have no brand freight a and no adjacent brand freight higher than brand freight a, and brand freight a fails to combine.
Brand freight rate B combination: brand freight rate B is found from each FC, and both outbound and inbound have brand freight rate B, so the combination is successful BB.
Brand freight rate C combination: neither FC has brand freight C, and the brand freight C fails to combine.
Brand freight rate D combination: brand freight rates D are found from each FC, the outgoing path lacks brand freight rates D, so that the outgoing path is matched with adjacent brand freight rates B upwards, the return path has brand freight rates D, and the combination is successful BD.
Brand freight rate E combination: looking for brand freight rate E from each FC, going out lacks brand freight rate E, so that it matches up to adjacent brand freight rate B, there is brand freight rate E in the return, and the combination is successful BE.
All brand freight combinations returned by this round trip can BE seen in fig. 6, specifically BB, BD, BE, on the principle of allowing for a combination with the nearest higher brand freight in the absence of the same brand freight.
The brand-mixing freight rate combination mode of the same physical cabin can be understood as: and the brand freight rates under the physical cabins and the like are allowed to be freely combined.
This combination differs from the mixed brand price combination pattern described above in that the Cartesian products of brand prices must be within the same physical compartment or the like, and do not allow for combinations across physical compartments or the like.
Under the condition that the brand freight rate combination mode appointed by the passenger is a mixed brand freight rate combination mode such as the same physical cabin, the method for combining the searched brand freight rates according to the brand freight rate combination mode appointed by the passenger to obtain the brand freight rate combination can comprise the following steps:
s2420, obtaining brand freight rates corresponding to the outgoing distance from the searched brand freight rates, and obtaining brand freight rates corresponding to the return distance;
S2421, searching brand freight rates of the same physical cabin and the like with the forward brand freight rates in the brand freight rates corresponding to the return stroke for each forward brand freight rate;
if so, step S3422 is performed.
S2422, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations.
For example, the user requests to specify brand queries such as 3 cabins, A, A1 are two brand freight rates belonging to the first cabin, B is a brand freight rate belonging to the official cabin, C is a brand freight rate belonging to the economy cabin, and the priority of the first cabin, the official cabin and the economy cabin is sequentially lowered. For a certain forward-backward path, the forward path has A, B and C, and the backward path has A, A1 and B. Then in the same physical compartment alike brand-freight rate combination mode, the brand-freight rate combination may be referred to in fig. 7, specifically: AA, AA1, BB.
The UPSELL freight rate combination pattern with the physical compartment and the like is different from the UPSELL freight rate combination pattern described above in that upward sales of brand freight rates must be within the same physical compartment and the like, and upward sales across physical compartments and the like are not allowed.
Under the condition that the brand freight rate combination mode specified by the passenger is a UPSELL freight rate combination mode such as a same physical cabin, the method for combining the searched brand freight rates according to the brand freight rate combination mode specified by the passenger to obtain the brand freight rate combination can comprise the following steps:
S2423, obtaining brand freight rates corresponding to the outgoing distance from the searched brand freight rates, and obtaining brand freight rates corresponding to the return distance;
s2424, searching brand freight rates which are the same as the forward brand freight rates in the brand freight rates corresponding to the return strokes for each forward brand freight rate;
if so, executing step S2425; if not, go to step S2426.
S2425, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations;
s2426, searching adjacent brand freight rates which are higher in grade than the outgoing brand freight rates and belong to the same physical compartment and the like in the brand freight rates corresponding to the return;
if it is found that the grade is higher than the outgoing brand freight rate and the outgoing brand freight rate belongs to the same physical compartment or the like, step S2427 is performed.
S2427, combining the adjacent brand freight rates with the grade higher than the outgoing brand freight rates and belonging to the same physical compartment and the like with the outgoing brand freight rates, and obtaining brand freight rate combination.
For example, a user requests to specify 3 cabins and other brands of freight rate inquiry, a certain airline company has 5 brands of freight rates, the brands of freight rate grades are A, A1, B, C and D in sequence from high to low, only A, B and C remain for a certain forward travel flight, and only A, A1, B and D remain for a return travel flight. Each brand of freight rate is combined in turn,
Brand freight rate a combination: and searching brand freight rates A from the FC, wherein the brand freight rates A exist in the going-out and return strokes, the brand freight rates A are preferentially returned to the same brand freight rate combination, and the AA combination is successful.
Brand freight rate A1 combination: AA combinations are already in the first class according to the principle of preferential combinations of the same brand of freight rates, so A1 no longer participates in the combination.
Brand freight rate B combination: and searching brand freight rates B from all FC, wherein the brand freight rates B exist in the going and returning processes, and BB combination is successful.
Brand freight rate C combination: and searching brand freight rate C from each FC, wherein the backhaul lacks brand freight rate C, and the combination fails.
Brand freight rate D combination: and searching the brand freight rates D from the FC, wherein the going-out path lacks the brand freight rates D, and the return path has the brand freight rates D, so that the brand freight rates D are upwards matched with the adjacent brand freight rates C under the same cabin and the like, and the CD combination is successful.
All brand price combinations returned by this round trip can be seen in fig. 8, specifically AA, BB, CD.
Step S24 can be understood as a specific implementation of step S14 in example 1.
And S25, calculating the lowest change cost of each brand freight rate combination.
And step S26, outputting a change result, wherein the change result at least comprises the change candidate journey, each brand freight rate combination and the lowest change cost.
The detailed procedure of steps S25-S26 can be referred to the related description of steps S15-S16 in embodiment 1, and will not be repeated here.
According to one or more embodiments of the present disclosure, method embodiment 2 provides the method of method embodiment 1, wherein the combining the found brand freight rates to obtain a brand freight rate combination includes: if the passenger ticket changing request contains information of a brand freight rate combination mode appointed by the passenger, combining the searched brand freight rates according to the brand freight rate combination mode appointed by the passenger to obtain a brand freight rate combination.
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.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
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).
Next, a brand-freight-mode-based passenger ticket changing search system provided by the application is introduced, and the brand-freight-mode-based passenger ticket changing search system introduced below and the brand-freight-mode-based passenger ticket changing search method introduced above can be referred to correspondingly.
Referring to fig. 9, the passenger ticket change search system based on the brand freight rate mode includes: the first acquisition module 100, the second acquisition module 200, the first determination module 300, the combination module 400, the calculation module 500, and the output module 600.
A first obtaining module 100, configured to obtain a ticket change request, where the ticket change request is at least used to instruct a change based on a brand freight rate mode;
a second obtaining module 200, configured to obtain passenger history journey information and construct a change candidate journey based on the passenger ticket change request;
a first determining module 300, configured to determine a historical freight rate corresponding to the passenger historical trip information;
the combination module 400 is configured to search for brand freight rates meeting the conditions according to the historical freight rates, the change rules of the historical freight rates, and the change candidate routes, and combine the searched brand freight rates to obtain a brand freight rate combination;
A calculating module 500, configured to calculate, for each of the brand-freight rate combinations, a minimum change cost of the brand-freight rate combination;
and an output module 600, configured to output a change result, where the change result includes at least the change candidate journey, each brand freight rate combination, and a minimum change cost thereof.
In this embodiment, the combination module 400 may specifically be used for:
determining all brands of freight rates supported by the change candidate itinerary;
selecting brand freight rates to which the historical freight rates can be changed from all brand freight rates supported by the change candidate journey according to the historical freight rate change rules;
and taking the selected brand freight rate as the brand freight rate meeting the conditions.
In this embodiment, the combination module 400 may specifically be used for:
if the passenger ticket changing request contains information of a brand freight rate combination mode appointed by the passenger, combining the searched brand freight rates according to the brand freight rate combination mode appointed by the passenger to obtain a brand freight rate combination.
In this embodiment, the brand freight rate combination mode designated by the passenger is the same brand freight rate combination mode
In the case of formula (la), the combination module 400 is specifically configured to:
From the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
and selecting the brand freight rate which is the same as the outgoing brand freight rate from the brand freight rates corresponding to the return stroke for each outgoing brand freight rate, and combining the brand freight rates to obtain a brand freight rate combination, wherein the outgoing brand freight rate is any one brand freight rate in the brand freight rates corresponding to the outgoing stroke.
In the event that the passenger-specified brand price combination pattern is a mixed brand price combination pattern,
the combination module 400 is specifically configured to:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
and combining each brand freight rate in the brand freight rates corresponding to the going-out distance with each brand freight rate in the brand freight rates corresponding to the return distance to obtain a brand freight rate combination.
In this embodiment, in the case where the brand freight rate combination mode specified by the passenger is a UPSELL freight rate combination mode, the combination module 400 may specifically be configured to:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
For each outgoing brand freight rate, searching the brand freight rate which is the same as the outgoing brand freight rate in the brand freight rates corresponding to the return stroke;
if so, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations;
if not, searching adjacent brand freight rates with the grade higher than the forward brand freight rates in the brand freight rates corresponding to the return strokes;
if the adjacent brand freight rates with the grades higher than the forward brand freight rates are found, the adjacent brand freight rates with the grades higher than the forward brand freight rates are combined with the forward brand freight rates to obtain brand freight rate combinations.
In this embodiment, in the case where the brand-freight rate combination mode specified by the passenger is a mixed brand-freight rate combination mode such as a same physical compartment, the combination module 400 may be specifically configured to:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
for each outgoing brand freight rate, searching brand freight rates belonging to the same physical cabin and the like with the outgoing brand freight rates in brand freight rates corresponding to the return stroke;
if so, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations.
In this embodiment, in the case where the brand freight rate combination mode specified by the passenger is a UPSELL freight rate combination mode such as the same physical compartment, the combination module 400 may be specifically configured to:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
for each outgoing brand freight rate, searching the brand freight rate which is the same as the outgoing brand freight rate in the brand freight rates corresponding to the return stroke;
if so, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations;
if not, searching adjacent brand freight rates which are higher in grade than the outgoing brand freight rates and belong to the same physical compartment and the like in the brand freight rates corresponding to the return stroke;
if the adjacent brand freight rates with the grade higher than the outgoing brand freight rates and belonging to the same physical compartment and the like are found, the adjacent brand freight rates with the grade higher than the outgoing brand freight rates and belonging to the same physical compartment and the like are combined with the outgoing brand freight rates to obtain the brand freight rate combination.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. The name of the module is not limited to the module itself in some cases, and for example, the first acquisition module may also be described as "a module that acquires at least one ticket change request".
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.
In another embodiment of the present application, a computer storage medium is provided, on which a computer program is stored, the computer program being executed by a processor to implement the steps of the brand price mode-based passenger ticket change search method as described in any one of the method embodiments 1-2.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
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 (9)

1. A passenger ticket changing searching method based on a brand freight rate mode is characterized by comprising the following steps:
acquiring a passenger ticket changing request, wherein the passenger ticket changing request is at least used for indicating to change based on a brand freight rate mode;
acquiring historical travel information of the passenger and constructing a change candidate travel based on the passenger ticket change request;
determining a historical freight rate corresponding to the passenger historical travel information;
searching brand freight rates meeting the conditions according to the historical freight rates, the change rules of the historical freight rates and the change candidate routes, and combining the searched brand freight rates to obtain brand freight rate combinations;
calculating the lowest change cost of the brand freight rate combination for each brand freight rate combination;
outputting a change result, wherein the change result at least comprises the change candidate journey, each brand freight rate combination and the lowest change cost;
the method for combining the searched brand freight rates to obtain the brand freight rate combination comprises the following steps:
if the passenger ticket changing request contains information of a brand freight rate combination mode appointed by the passenger, combining the searched brand freight rates according to the brand freight rate combination mode appointed by the passenger to obtain a brand freight rate combination.
2. The method of claim 1, wherein said locating a eligible brand freight rate based on the historical freight rates, the historical freight rate modification rules, and the modification candidate itinerary comprises:
determining all brands of freight rates supported by the change candidate itinerary;
selecting brand freight rates to which the historical freight rates can be changed from all brand freight rates supported by the change candidate journey according to the historical freight rate change rules;
and taking the selected brand freight rate as the brand freight rate meeting the conditions.
3. The method of claim 1, wherein, in the case where the passenger-specified brand-freight-rate combination mode is the same brand-freight-rate combination mode, the combining the searched brand-freight rates according to the passenger-specified brand-freight-rate combination mode to obtain a brand-freight-rate combination includes:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
and selecting the brand freight rate which is the same as the outgoing brand freight rate from the brand freight rates corresponding to the return stroke for each outgoing brand freight rate, and combining the brand freight rates to obtain a brand freight rate combination, wherein the outgoing brand freight rate is any one brand freight rate in the brand freight rates corresponding to the outgoing stroke.
4. The method of claim 1, wherein, in the case where the passenger-specified brand-freight-rate combination mode is a mixed-brand-freight-rate combination mode, the combining the searched brand-freight rates according to the passenger-specified brand-freight-rate combination mode to obtain a brand-freight-rate combination includes:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
and combining each brand freight rate in the brand freight rates corresponding to the going-out distance with each brand freight rate in the brand freight rates corresponding to the return distance to obtain a brand freight rate combination.
5. The method of claim 1, wherein, in the case where the passenger-specified brand-freight-rate combination mode is a UPSELL-freight-rate combination mode, the combining the searched brand-freight rates according to the passenger-specified brand-freight-rate combination mode to obtain a brand-freight-rate combination includes:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
for each outgoing brand freight rate, searching the brand freight rate which is the same as the outgoing brand freight rate in the brand freight rates corresponding to the return stroke;
If so, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations;
if not, searching adjacent brand freight rates with the grade higher than the forward brand freight rates in the brand freight rates corresponding to the return strokes;
if the adjacent brand freight rates with the grades higher than the forward brand freight rates are found, the adjacent brand freight rates with the grades higher than the forward brand freight rates are combined with the forward brand freight rates to obtain brand freight rate combinations.
6. The method of claim 1, wherein, in the case where the passenger-specified brand-freight-rate combination pattern is a mixed-brand-freight-rate combination pattern with a physical compartment, the combining the searched brand-freight rates according to the passenger-specified brand-freight-rate combination pattern to obtain a brand-freight-rate combination includes:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
for each outgoing brand freight rate, searching brand freight rates belonging to the same physical cabin and the like with the outgoing brand freight rates in brand freight rates corresponding to the return stroke;
if so, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations.
7. The method according to claim 1, wherein, in the case that the brand freight rate combination mode specified by the passenger is a UPSELL freight rate combination mode such as the same physical compartment, the combining the searched brand freight rates according to the brand freight rate combination mode specified by the passenger to obtain a brand freight rate combination includes:
from the searched brand freight rates, obtaining brand freight rates corresponding to outgoing strokes and obtaining brand freight rates corresponding to return strokes;
for each outgoing brand freight rate, searching the brand freight rate which is the same as the outgoing brand freight rate in the brand freight rates corresponding to the return stroke;
if so, combining the searched brand freight rates with the forward brand freight rates to obtain brand freight rate combinations;
if not, searching adjacent brand freight rates which are higher in grade than the outgoing brand freight rates and belong to the same physical compartment and the like in the brand freight rates corresponding to the return stroke;
if the adjacent brand freight rates with the grade higher than the outgoing brand freight rates and belonging to the same physical compartment and the like are found, the adjacent brand freight rates with the grade higher than the outgoing brand freight rates and belonging to the same physical compartment and the like are combined with the outgoing brand freight rates to obtain the brand freight rate combination.
8. A brand-freight-mode-based passenger ticket change search system, comprising:
the first acquisition module is used for acquiring a passenger ticket changing request, wherein the passenger ticket changing request is at least used for indicating to change based on a brand freight rate mode;
the second acquisition module is used for acquiring the historical travel information of the passenger and constructing a change candidate travel based on the passenger ticket change request;
the first determining module is used for determining the historical freight rate corresponding to the passenger historical travel information;
the combination module is used for searching brand freight rates meeting the conditions according to the historical freight rates, the change rules of the historical freight rates and the change candidate routes, and combining the searched brand freight rates to obtain brand freight rate combinations;
the calculating module is used for calculating the lowest change cost of each brand freight rate combination;
the output module is used for outputting a change result, and the change result at least comprises the change candidate journey, each brand freight rate combination and the lowest change cost;
the combination module combines the searched brand freight rates to obtain a brand freight rate combination, and the method comprises the following steps: if the passenger ticket changing request contains information of a brand freight rate combination mode appointed by the passenger, combining the searched brand freight rates according to the brand freight rate combination mode appointed by the passenger to obtain a brand freight rate combination.
9. A computer storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of the brand price pattern based passenger ticket change search method of any of claims 1-7.
CN202011064426.5A 2020-09-30 2020-09-30 Passenger ticket changing searching method, system and storage medium based on brand freight rate mode Active CN112182051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011064426.5A CN112182051B (en) 2020-09-30 2020-09-30 Passenger ticket changing searching method, system and storage medium based on brand freight rate mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011064426.5A CN112182051B (en) 2020-09-30 2020-09-30 Passenger ticket changing searching method, system and storage medium based on brand freight rate mode

Publications (2)

Publication Number Publication Date
CN112182051A CN112182051A (en) 2021-01-05
CN112182051B true CN112182051B (en) 2024-04-05

Family

ID=73948383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011064426.5A Active CN112182051B (en) 2020-09-30 2020-09-30 Passenger ticket changing searching method, system and storage medium based on brand freight rate mode

Country Status (1)

Country Link
CN (1) CN112182051B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027683A (en) * 2004-05-21 2007-08-29 赛博有限公司 Systems, methods, and computer program products for searching and displaying low cost productavailability information for a given departure-return date combination or range of departure-return data co
CN102160329A (en) * 2008-07-01 2011-08-17 多斯维公司 Facilitating collaborative searching using semantic contexts associated with information
CN105631729A (en) * 2015-12-25 2016-06-01 中国民航信息网络股份有限公司 Air ticket change price automatic search method and system thereof
CN111078760A (en) * 2019-12-20 2020-04-28 贵阳货车帮科技有限公司 Goods source searching method, device, equipment and storage medium
CN111121798A (en) * 2018-10-30 2020-05-08 丰田自动车株式会社 Data generation device, data generation system, data generation method, and data generation program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160042300A1 (en) * 2014-08-08 2016-02-11 Google Inc. Support of multiple booking partner specifications in the same flight and travel search query

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027683A (en) * 2004-05-21 2007-08-29 赛博有限公司 Systems, methods, and computer program products for searching and displaying low cost productavailability information for a given departure-return date combination or range of departure-return data co
CN102160329A (en) * 2008-07-01 2011-08-17 多斯维公司 Facilitating collaborative searching using semantic contexts associated with information
CN105631729A (en) * 2015-12-25 2016-06-01 中国民航信息网络股份有限公司 Air ticket change price automatic search method and system thereof
CN111121798A (en) * 2018-10-30 2020-05-08 丰田自动车株式会社 Data generation device, data generation system, data generation method, and data generation program
CN111078760A (en) * 2019-12-20 2020-04-28 贵阳货车帮科技有限公司 Goods source searching method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于价格导向的民航运价搜索方案设计;张宏海;彭明田;刘开胜;;中国民航大学学报(第03期);全文 *

Also Published As

Publication number Publication date
CN112182051A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
Ma et al. T-share: A large-scale dynamic taxi ridesharing service
JP6640880B2 (en) System and method for recommending personalized content
Park An analysis for the competitive strength of Asian major airports
KR20180012794A (en) Method and system for determining transportation service charges
KR100729707B1 (en) Method and system to allocate freight using Global Positioning System and Global Positioning System
CN107844611B (en) Multipoint-to-multipoint flight searching method, system, equipment and storage medium
US20210233026A1 (en) Carrier path prediction based on dynamic input data
US20200311851A1 (en) Moving means display method, information processing device, and computer-readable recording medium recording moving means display program
US20200132481A1 (en) Information providing device, information providing system, information providing method, and recording medium
US8731990B1 (en) System and method for managing transportation transactions
CN112041858A (en) System and method for providing travel advice
CN109523073A (en) A kind of method, apparatus and terminal for recommending station by bus according to the destination of the passenger
CN116128172A (en) Air-iron intermodal route generation method, system and equipment and storage medium
US20200088540A1 (en) Determining navigation data based on service type
CN111489214B (en) Order allocation method, condition setting method, device and electronic equipment
CN112182051B (en) Passenger ticket changing searching method, system and storage medium based on brand freight rate mode
CN113486164A (en) Hybrid flight query method, system, electronic equipment and storage medium
US20220261755A1 (en) Delivery candidate proposal system, delivery candidate proposal terminal, and delivery candidate proposal program
JP7333492B2 (en) System, method and computer program for carrier route prediction based on dynamic input data
JP2008087872A (en) Server for searching cargo and vehicle, method and program for controlling server for searching cargo and vehicle, and recording medium
CN114742507A (en) Vehicle cargo loading method and device, computer equipment and storage medium
WO2013114883A1 (en) Flight-plan generating apparatus
CN112419001A (en) Boarding mode-based air ticket purchasing method and system
CN112508646A (en) Ticket purchasing method and system based on flight-executing airplane position information
Mulumba et al. Optimization of the drone-assisted pickup and delivery problem

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