CN117808508A - Flight freight rate determining method and device and electronic equipment - Google Patents

Flight freight rate determining method and device and electronic equipment Download PDF

Info

Publication number
CN117808508A
CN117808508A CN202311864591.2A CN202311864591A CN117808508A CN 117808508 A CN117808508 A CN 117808508A CN 202311864591 A CN202311864591 A CN 202311864591A CN 117808508 A CN117808508 A CN 117808508A
Authority
CN
China
Prior art keywords
freight rate
departure
engine
data
air ticket
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.)
Pending
Application number
CN202311864591.2A
Other languages
Chinese (zh)
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 CN202311864591.2A priority Critical patent/CN117808508A/en
Publication of CN117808508A publication Critical patent/CN117808508A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device and electronic equipment for determining a flight freight rate, which are used for acquiring an air ticket query request, determining a corresponding departure geographic area and arrival geographic area according to departure places and arrival places in air ticket query information, determining a freight rate engine set supporting a current air route based on the departure geographic area, the arrival geographic area and departure dates, air ticket purchase channels and travel types in the air ticket query information, and screening out a target freight rate engine with the highest priority, namely the highest matching degree with the current freight rate rule strategy and passenger travel information, so as to acquire freight rate data of the flight. The invention considers the passenger travel information and the current freight rule strategy when determining the target freight engine, and can flexibly adjust according to actual demands and conditions and adapt to market demands and complex and changeable market environments because the current freight rule strategy is determined based on current market demands and current competition environments.

Description

Flight freight rate determining method and device and electronic equipment
Technical Field
The present invention relates to the field of aviation technologies, and in particular, to a method and an apparatus for determining a freight rate of a flight, and an electronic device.
Background
In the aviation field, a freight rate engine plays an important role in aviation fare formulation and management, and fare strategies are formulated through the related factors such as voyage distance, travel date and the like so as to meet the requirements of passengers, and the maximization of the benefit of an airline company is realized.
In the existing scheme, airlines generally determine the freight rate of flights by using a fixed freight rate rule strategy through a single freight rate engine. However, market demands and competing environments are complex and changeable, which makes airlines limited in customizing the freight rate of flights, and cannot flexibly adjust according to actual demands and conditions.
Disclosure of Invention
In view of the above, the invention discloses a method, a device and an electronic device for determining a flight freight rate, so as to realize adjustment of freight rate data according to actual demands and conditions, and further adapt to market demands and complex and changeable competing environments.
A method of determining a freight rate for a flight, comprising:
acquiring an air ticket query request, wherein the air ticket query request carries air ticket query information;
determining corresponding departure geographic areas and arrival geographic areas according to departure places and arrival places in the air ticket inquiry information;
determining a freight rate engine set supporting a current route based on the departure geographic area, the arrival geographic area and departure dates, ticket purchase channels and journey types in the ticket query information;
screening a target freight rate engine with highest priority from the freight rate engine set, wherein the matching degree of the target freight rate engine and a current freight rate rule strategy and passenger travel information is highest, and the current freight rate rule strategy is determined based on current market demands and current competition environment;
and acquiring freight rate data of the flight based on the target freight rate engine.
A device for determining a freight rate for a flight, comprising:
the acquisition unit is used for acquiring an air ticket query request, wherein the air ticket query request carries air ticket query information;
the area determining unit is used for determining a corresponding departure geographic area and a corresponding arrival geographic area according to the departure place and the arrival place in the air ticket inquiry information;
an engine set determining unit for determining a freight rate engine set supporting a current route based on the departure geographical area, the arrival geographical area, and departure date, ticket purchase channel, and journey type in the ticket inquiry information;
the target freight rate engine determining unit is used for screening target freight rate engines with highest priority from the freight rate engine set, wherein the matching degree of the target freight rate engines and the current freight rate rule strategy and the passenger travel information is highest, and the current freight rate rule strategy is determined based on the current market demand and the current competition environment;
and the freight rate data acquisition unit is used for acquiring freight rate data of flights based on the target freight rate engine.
An electronic device, the electronic device comprising: a memory and a processor;
the memory is used for storing at least one instruction;
the processor is configured to execute the at least one instruction to implement the method for determining a flight freight rate described above.
According to the technical scheme, the invention discloses a method, a device and electronic equipment for determining the freight rate of a flight, an air ticket query request is obtained, the air ticket query request carries air ticket query information, corresponding departure geographic areas and arrival geographic areas are determined according to departure places and arrival places in the air ticket query information, a freight rate engine set supporting a current route is determined based on the departure geographic areas, the arrival geographic areas and departure dates, air ticket purchase channels and travel types in the air ticket query information, a target freight rate engine with the highest priority, namely the highest matching degree with the current freight rate rule strategy and the passenger travel information, is screened out, and freight rate data of the flight is obtained based on the target freight rate engine. The invention considers the passenger travel information and the current freight rule strategy when determining the target freight engine, and the current freight rule strategy is determined based on the current market demand and the current competition environment, so that the freight data determined by the invention can be flexibly adjusted according to the actual demand and the situation, thereby being more suitable for the market demand and the complex and changeable market environment.
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 determining a freight rate of a flight according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for determining a corresponding departure geographic area and arrival geographic area according to departure locations and arrival locations in ticket query information according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for acquiring freight rate data of a flight based on a destination freight rate engine according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for determining a freight rate of a flight according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device 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 method, a device and electronic equipment for determining a flight freight rate, wherein an air ticket query request is acquired, the air ticket query request carries air ticket query information, a corresponding departure geographic area and a corresponding arrival geographic area are determined according to departure places and arrival places in the air ticket query information, a freight rate engine set supporting a current route is determined based on the departure geographic area, the arrival geographic area and departure dates, air ticket purchase channels and travel types in the air ticket query information, and a target freight rate engine with the highest priority, namely the highest matching degree with a current freight rate rule strategy and passenger travel information, is screened out from the freight rate engines, and freight rate data of flights is acquired based on the target freight rate engine. The invention considers the passenger travel information and the current freight rule strategy when determining the target freight engine, and the current freight rule strategy is determined based on the current market demand and the current competition environment, so that the freight data determined by the invention can be flexibly adjusted according to the actual demand and the situation, thereby being more suitable for the market demand and the complex and changeable market environment.
Referring to fig. 1, a flow chart of a method for determining a freight rate of a flight is disclosed in an embodiment of the present invention, where the method includes:
step S101, acquiring an air ticket query request.
The air ticket query request carries air ticket query information. The air ticket query information may include: departure location, arrival location, departure location type, arrival location type, query channel, departure date, number of passengers, passenger type, currency, travel type, user ID, and the like.
In practical application, when a passenger inquires an air ticket at an aviation website or a third-party channel, the aviation website or the third-party channel collects passenger information, and an aviation system can be triggered to acquire the air ticket inquiry request.
Step S102, determining a corresponding departure geographic area and a corresponding arrival geographic area according to the departure place and the arrival place in the air ticket inquiry information.
In practical applications, the geographic area includes: northeast, eastern, north, middle, south, northwest and southwest regions.
Different geographic areas include different provincial and municipal autonomous areas, so that corresponding departure geographic areas can be determined according to departure places, and arrival geographic areas can be determined according to arrival places.
And step S103, determining a freight rate engine set supporting the current route based on the departure geographic area, the arrival geographic area and departure date, ticket purchase channel and journey type in the ticket inquiry information.
Among them, the air ticket purchase channel is as follows: aviation official website, etc.
The type of travel is e.g. one way, round trip, etc.
It should be noted that, in order to uniformly process the air ticket query requests in all time zones, all the time involved in this embodiment is set as UTC time, and UTC is an abbreviation of world standard time, i.e. Coordinated Universal Time. It is a time standard defined by the international union and calculated based on the earth's rotation motion. UTC time is based on atomic time and is consistent with earth's spinning motion by adding leap seconds.
The departure date in this embodiment is UTC time. In practical application, the local time zone can be obtained according to the departure and arrival places, for example, beijing, china, and the current time is reduced by 8 hours to obtain the corresponding UTC time.
In practical application, a freight rate engine set supporting the current route can be obtained from the configuration management system according to the departure geographic area, the arrival geographic area and departure date, ticket purchase channel and journey type in the ticket query information, wherein freight rate engines supporting the current route are arranged in the freight rate engine set.
And step S104, screening out the target freight rate engine with the highest priority from the freight rate engine set.
In practical application, each freight rate engine in the freight rate engine set has a priority serial number, and the lower the priority serial number is, the higher the matching degree between the corresponding freight rate engine and the current freight rate rule strategy and the passenger journey information is, and the current freight rate rule strategy is determined based on the current market demand and the current competition environment.
Among other things, current market demands may include: holiday policies, market predictions, policy documents, and passenger predictions as follows:
holiday policies, for example, analyze, based on historical records, that airline yield is high when a freight rate engine is used in airline tickets purchased through sales channels of the carry over during summer holidays from northeast to eastern China.
Market predictions, such as: in the traveling season of the area A, the freight rate engine can be selected as a promotion route. In the traveling season of region B, the TDP freight rate engine can be selected as a promotion route.
Policy documents such as: during a particular period, the freight rate engine may be selected for a promotional course from northeast to eastern China (region) according to domestic wind control policies. However, according to the international wind control policy on epidemic situation, a TDP freight rate engine is selected from Beijing to European and American areas to serve as a flight route.
The current competing environment may include: the competitor is dynamic.
And selecting the target freight rate engine with the highest priority according to the principle that the priority is higher as the priority serial number is smaller.
The priority serial number can be a 7-bit number containing both a grade number and a serial number, wherein the grade serial number is 1-bit number, the serial number is 6-bit number, and the smaller the grade number is, the higher the priority is, and the smaller the serial number is, the higher the priority is.
The passenger trip information may include: ticket purchase information, actual travel information, etc.
Step S105, acquiring freight rate data of flights based on the target freight rate engine.
In this embodiment, the freight rate data includes: flight data and bin data.
In summary, the invention discloses a method for determining the freight rate of a flight, which comprises the steps of obtaining an air ticket query request, carrying air ticket query information in the air ticket query request, determining a corresponding departure geographic area and arrival geographic area according to departure places and arrival places in the air ticket query information, determining a freight rate engine set supporting a current route based on the departure geographic area, the arrival geographic area and departure dates, air ticket purchase channels and journey types in the air ticket query information, screening out a target freight rate engine with the highest priority, namely the highest matching degree with a current freight rate rule strategy and passenger journey information, and obtaining freight rate data of the flight based on the target freight rate engine. The invention considers the passenger travel information and the current freight rule strategy when determining the target freight engine, and the current freight rule strategy is determined based on the current market demand and the current competition environment, so that the freight data determined by the invention can be flexibly adjusted according to the actual demand and the situation, thereby being more suitable for the market demand and the complex and changeable market environment.
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.
To further optimize the above embodiment, referring to fig. 2, a method flowchart for determining a corresponding departure geographic area and a corresponding arrival geographic area according to a departure location and an arrival location in air ticket query information according to an embodiment of the present invention is disclosed, namely, step S102 includes:
step S201, checking the correctness of the air ticket query information.
The embodiment mainly performs correctness checking on the content contained in the air ticket query information.
Specifically, non-empty verification is performed on the departure location and the arrival location, if the departure location and the arrival location are not empty, the verification is passed, and if the departure location and the arrival location are empty, the verification fails.
And checking whether the departure place type and the arrival place type are cities or airports, if so, checking to pass, and if not, checking to fail.
And checking the correctness of the query channel by determining whether the query channel is in a preset channel set of the configuration management system, if so, checking to pass, and if not, checking to fail.
Verifying whether the format of the departure date is yyyy-MM-dd and whether the departure date is earlier than the current date of the system, if the format is not matched or earlier than the current date of the system, the verification fails, otherwise, the verification passes.
Checking whether the number of passengers is positive integer of 1 to 2, if so, checking to pass, and if not, checking to fail.
Checking whether the value of the passenger type is one of infants, adults, army disabled and children, if so, checking passing, and if not, checking failing.
Checking whether the currency is in a preset currency set of the configuration management system, if so, passing the check, and if not, not passing the check.
And checking whether the value of the travel type is one of a single pass, a round trip, multiple destinations and a gap pass, if so, checking passing, and if not, checking failing.
And carrying out non-empty verification on the user ID, if the user ID is not empty, passing the verification, and if the user ID is empty, failing the verification.
Step S202, when the air ticket inquiry information passes the correctness check, determining a departure geographic area and an arrival geographic area according to the departure place and the arrival place in the air ticket inquiry information.
Specifically, the departure place is matched with the content contained in each geographical area, and the geographical area successfully matched is taken as the departure geographical area.
And matching the arrival location with the content contained in each geographic area, and taking the geographic area successfully matched as an arrival geographic area.
In order to further optimize the above embodiment, referring to fig. 3, a method flowchart for acquiring freight rate data of a flight based on a target freight rate engine disclosed in the embodiment of the present invention, that is, step S105 may specifically include:
step S301, obtaining the engine ID of the target freight rate engine.
In practical applications, each freight rate engine has a unique corresponding engine ID, so that when the destination freight rate engine is determined, the corresponding engine ID can be determined.
Step S302, taking the ID of the engine, the departure place and the departure date as query conditions, judging whether freight rate data are stored in a query cache database, if so, executing step S303, and if not, executing step S304.
Step S303, directly obtaining freight rate data from the cache database.
And step S304, calling a corresponding freight rate engine interface by using the target freight rate engine to acquire freight rate data.
In practical application, the ID, departure place and departure date of the engine can be spliced, the spliced result is used as a query condition, namely, the ID is cached, whether the cache database stores freight rate data is queried, if yes, freight rate data is directly obtained from the cache database, if not, a corresponding freight rate engine interface is called by using the target freight rate engine, and freight rate data is obtained through the freight rate engine interface.
The validity period of the freight rate data cached in the cache database is determined according to actual needs, for example, 1 minute.
To further optimize the above embodiment, the determining method may further include:
packaging the freight rate data to obtain target data, wherein the freight rate data comprises: flight data and bin data;
carrying out correctness checking on the target data;
and outputting the target data to the air ticket purchasing channel when the target data passes the correct qualitative verification.
The ticket purchase channel may be an air website or a third party channel.
Note that, in this embodiment, the freight rate data includes flight data and bin data.
The process of packaging the freight rate data may include:
1) And filtering the flights, extracting the flight data from the freight data, determining whether the flights need to be filtered from the configuration management system, if so, filtering the flights, and if not, reserving the flights.
2) Adding free baggage, acquiring bin data from freight rate data according to passenger type, and inquiring configuration data of preset baggage from a configuration management system, wherein the method comprises the following steps: the weight, length, width, height of the luggage, the sum of three sides minimum, the sum of three sides maximum, and add the configuration data to the free luggage.
3) And adding a departure place and an arrival place, calling a place management interface according to the departure place and the arrival place, acquiring an airport three-character code corresponding to the departure place and an airport three-character code corresponding to the arrival place, and adding the airport three-character code corresponding to the departure place and the arrival place into departure arrival data.
4) Passenger data is added, and the passenger interface is called by using the user ID to acquire the passenger data.
5) The data is requested in the supplementary query, the journey type is added to the journey, the passenger type is added to the passenger type, and the number of passengers is added to the number of passengers.
6) And supplementing data returned by the freight rate engine, and extracting the voyage segment, marketing voyage segment information, carrier voyage segment information, stop information, freight rate brands, and effective deadlines of query results from freight rate data to determine whether the data are the request date results, the journey prices and the tax.
The content for checking the correctness of the target data comprises the following steps: checking whether the target data contains free luggage, departure and arrival places, passenger data, journey, passenger type and quantity, voyage, marketing voyage information, carrier voyage information, stop information, freight rate brands, effective expiration time of query results, whether the result is a request date result, journey price and tax, if any node data is lost, determining that the target data does not pass the correct qualitative check, and returning error information; otherwise, determining that the target data passes the correctness check.
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).
Corresponding to the embodiment of the method, the invention also discloses a device for determining the freight rate of the flight.
Referring to fig. 4, a schematic structural diagram of a device for determining a freight rate of a flight according to an embodiment of the present invention may include:
the obtaining unit 401 is configured to obtain an air ticket query request, where the air ticket query request carries air ticket query information.
The air ticket query information may include: departure location, arrival location, departure location type, arrival location type, query channel, departure date, number of passengers, passenger type, currency, travel type, user ID, and the like.
In practical application, when a passenger inquires an air ticket at an aviation website or a third-party channel, the aviation website or the third-party channel collects passenger information, and an aviation system can be triggered to acquire the air ticket inquiry request.
The area determining unit 402 is configured to determine a corresponding departure geographic area and an arrival geographic area according to the departure location and the arrival location in the air ticket query information.
In practical applications, the geographic area includes: northeast, eastern, north, middle, south, northwest and southwest regions.
Different geographic areas include different provincial and municipal autonomous areas, so that corresponding departure geographic areas can be determined according to departure places, and arrival geographic areas can be determined according to arrival places.
An engine set determining unit 403, configured to determine a freight rate engine set supporting a current route based on the departure geographical area, the arrival geographical area, and a departure date, an air ticket purchase channel, and a trip type in the air ticket query information.
Among them, the air ticket purchase channel is as follows: aviation official website, etc.
The type of travel is e.g. one way, round trip, etc.
It should be noted that, in order to uniformly process the air ticket query requests in all time zones, all the time involved in this embodiment is set as UTC time, and UTC is an abbreviation of world standard time, i.e. Coordinated Universal Time. It is a time standard defined by the international union and calculated based on the earth's rotation motion. UTC time is based on atomic time and is consistent with earth's spinning motion by adding leap seconds.
The departure date in this embodiment is UTC time. In practical application, the local time zone can be obtained according to the departure and arrival places, for example, beijing, china, and the current time is reduced by 8 hours to obtain the corresponding UTC time.
In practical application, a freight rate engine set supporting the current route can be obtained from the configuration management system according to the departure geographic area, the arrival geographic area and departure date, ticket purchase channel and journey type in the ticket query information, wherein freight rate engines supporting the current route are arranged in the freight rate engine set.
And a target freight rate engine determining unit 404, configured to screen out a target freight rate engine with the highest priority from the freight rate engine set, where the target freight rate engine has the highest matching degree with the current freight rate rule policy and the passenger journey information, and the current freight rate rule policy is determined based on the current market demand and the current competition environment.
In practical application, each freight rate engine in the freight rate engine set has a priority serial number, and the lower the priority serial number is, the higher the matching degree between the corresponding freight rate engine and the current freight rate rule strategy and the passenger journey information is, and the current freight rate rule strategy is determined based on the current market demand and the current competition environment. And selecting the target freight rate engine with the highest priority according to the principle that the priority is higher as the priority serial number is smaller.
The priority serial number can be a 7-bit number containing both a grade number and a serial number, wherein the grade serial number is 1-bit number, the serial number is 6-bit number, and the smaller the grade number is, the higher the priority is, and the smaller the serial number is, the higher the priority is.
The passenger trip information may include: ticket purchase information, actual travel information, etc.
And a freight rate data obtaining unit 405, configured to obtain freight rate data of a flight based on the target freight rate engine.
In this embodiment, the freight rate data includes: flight data and bin data.
In summary, the invention discloses a device for determining the freight rate of a flight, which is used for acquiring an air ticket query request, wherein the air ticket query request carries air ticket query information, determining a corresponding departure geographic area and a corresponding arrival geographic area according to departure places and arrival places in the air ticket query information, determining a freight rate engine set supporting a current route based on the departure geographic area, the arrival geographic area and departure dates, air ticket purchase channels and journey types in the air ticket query information, screening out a target freight rate engine with the highest priority, namely the highest matching degree with a current freight rate rule strategy and passenger journey information, and acquiring freight rate data of the flight based on the target freight rate engine. The invention considers the passenger travel information and the current freight rule strategy when determining the target freight engine, and the current freight rule strategy is determined based on the current market demand and the current competition environment, so that the freight data determined by the invention can be flexibly adjusted according to the actual demand and the situation, thereby being more suitable for the market demand and the complex and changeable market environment.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".
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.
To further optimize the above embodiment, the area determining unit 402 is specifically configured to:
checking the correctness of the air ticket inquiry information;
and when the air ticket inquiry information passes the correctness verification, determining the departure geographic area and the arrival geographic area according to the departure place and the arrival place in the air ticket inquiry information.
Specifically, the departure place is matched with the content contained in each geographical area, and the geographical area successfully matched is taken as the departure geographical area.
And matching the arrival location with the content contained in each geographic area, and taking the geographic area successfully matched as an arrival geographic area.
To further optimize the above embodiment, the freight rate data acquisition unit 405 includes:
an engine ID acquisition subunit, configured to acquire an engine ID of the target freight rate engine;
the judging subunit is used for judging whether the freight rate data is stored in the query cache database or not by taking the ID of the engine, the departure place and the departure date as query conditions;
the first data acquisition subunit is used for directly acquiring the freight rate data from the cache database under the condition that the judging subunit judges yes;
and the second data acquisition subunit is used for calling a corresponding freight rate engine interface by using the target freight rate engine to acquire the freight rate data under the condition that the judgment subunit judges no.
In practical application, the ID, departure place and departure date of the engine can be spliced, the spliced result is used as a query condition, namely, the ID is cached, whether the cache database stores freight rate data is queried, if yes, freight rate data is directly obtained from the cache database, if not, a corresponding freight rate engine interface is called by using the target freight rate engine, and freight rate data is obtained through the freight rate engine interface.
The validity period of the freight rate data cached in the cache database is determined according to actual needs, for example, 1 minute.
To further optimize the above embodiment, the determining means may further include:
the packing processing unit is used for carrying out packing processing on the freight rate data to obtain target data, wherein the freight rate data comprises: flight data and bin data;
the verification unit is used for verifying the correctness of the target data;
and the output unit is used for outputting the target data to the air ticket purchasing channel when the target data passes the correct qualitative verification.
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.
Corresponding to the above embodiment, as shown in fig. 5, the present invention also discloses an electronic device, where the electronic device may include: a processor 1 and a memory 2;
wherein the processor 1 and the memory 2 complete communication with each other through the communication bus 3;
a processor 1 for executing at least one instruction;
a memory 2 for storing at least one instruction;
the processor 1 may be a central processing unit CPU or a specific integrated circuit ASIC (Application Specific Integrated Circuit) or one or more integrated circuits configured to implement embodiments of the present invention.
The memory 2 may comprise a high-speed RAM memory or may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
Wherein the processor executes at least one instruction to implement the steps shown in the method for determining a flight freight rate.
In summary, the invention discloses an electronic device, which acquires an air ticket query request, wherein the air ticket query request carries air ticket query information, determines a corresponding departure geographic area and arrival geographic area according to departure places and arrival places in the air ticket query information, determines a freight rate engine set supporting a current route based on the departure geographic area, the arrival geographic area and departure dates, air ticket purchase channels and travel types in the air ticket query information, and screens out a target freight rate engine with highest priority, namely highest matching degree with a current freight rate rule strategy and passenger travel information from the freight rate engine set, and acquires freight rate data of flights based on the target freight rate engine. The invention considers the passenger travel information and the current freight rule strategy when determining the target freight engine, and the current freight rule strategy is determined based on the current market demand and the current competition environment, so that the freight data determined by the invention can be flexibly adjusted according to the actual demand and the situation, thereby being more suitable for the market demand and the complex and changeable market environment.
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 of determining a freight rate for a flight, comprising:
acquiring an air ticket query request, wherein the air ticket query request carries air ticket query information;
determining corresponding departure geographic areas and arrival geographic areas according to departure places and arrival places in the air ticket inquiry information;
determining a freight rate engine set supporting a current route based on the departure geographic area, the arrival geographic area and departure dates, ticket purchase channels and journey types in the ticket query information;
screening a target freight rate engine with highest priority from the freight rate engine set, wherein the matching degree of the target freight rate engine and a current freight rate rule strategy and passenger travel information is highest, and the current freight rate rule strategy is determined based on current market demands and current competition environment;
and acquiring freight rate data of the flight based on the target freight rate engine.
2. The method according to claim 1, wherein determining the corresponding departure geographic area and arrival geographic area according to the departure location and arrival location in the ticket query information comprises:
checking the correctness of the air ticket inquiry information;
and when the air ticket inquiry information passes the correctness verification, determining the departure geographic area and the arrival geographic area according to the departure place and the arrival place in the air ticket inquiry information.
3. The method of determining as claimed in claim 1, wherein the acquiring freight rate data of a flight based on the target freight rate engine includes:
acquiring an engine ID of the target freight rate engine;
taking the ID of the engine, the departure place and the departure date as query conditions, and judging whether the freight rate data are stored in a query cache database or not;
if the freight rate data are stored, the freight rate data are directly obtained from the cache database;
and if the freight rate data is not stored, calling a corresponding freight rate engine interface by using the target freight rate engine to acquire the freight rate data.
4. A determination method according to any one of claims 1 to 3, further comprising:
and packaging the freight rate data to obtain target data, wherein the freight rate data comprises: flight data and bin data;
performing correctness checking on the target data;
and outputting the target data to the air ticket purchasing channel when the target data passes the correct qualitative verification.
5. The method of claim 1, wherein the departure date is a world standard time.
6. A device for determining a freight rate for a flight, comprising:
the acquisition unit is used for acquiring an air ticket query request, wherein the air ticket query request carries air ticket query information;
the area determining unit is used for determining a corresponding departure geographic area and a corresponding arrival geographic area according to the departure place and the arrival place in the air ticket inquiry information;
an engine set determining unit for determining a freight rate engine set supporting a current route based on the departure geographical area, the arrival geographical area, and departure date, ticket purchase channel, and journey type in the ticket inquiry information;
the target freight rate engine determining unit is used for screening target freight rate engines with highest priority from the freight rate engine set, wherein the matching degree of the target freight rate engines and the current freight rate rule strategy and the passenger travel information is highest, and the current freight rate rule strategy is determined based on the current market demand and the current competition environment;
and the freight rate data acquisition unit is used for acquiring freight rate data of flights based on the target freight rate engine.
7. The determination device according to claim 6, wherein the area determination unit is specifically configured to:
checking the correctness of the air ticket inquiry information;
and when the air ticket inquiry information passes the correctness verification, determining the departure geographic area and the arrival geographic area according to the departure place and the arrival place in the air ticket inquiry information.
8. The determination device according to claim 6, wherein the freight rate data acquisition unit includes:
an engine ID acquisition subunit, configured to acquire an engine ID of the target freight rate engine;
the judging subunit is used for judging whether the freight rate data is stored in the query cache database or not by taking the ID of the engine, the departure place and the departure date as query conditions;
the first data acquisition subunit is used for directly acquiring the freight rate data from the cache database under the condition that the judging subunit judges yes;
and the second data acquisition subunit is used for calling a corresponding freight rate engine interface by using the target freight rate engine to acquire the freight rate data under the condition that the judgment subunit judges no.
9. The determination apparatus according to any one of claims 6 to 8, further comprising:
the packing processing unit is used for carrying out packing processing on the freight rate data to obtain target data, wherein the freight rate data comprises: flight data and bin data;
the verification unit is used for verifying the correctness of the target data;
and the output unit is used for outputting the target data to the air ticket purchasing channel when the target data passes the correct qualitative verification.
10. An electronic device, the electronic device comprising: a memory and a processor;
the memory is used for storing at least one instruction;
the processor is configured to execute the at least one instruction to implement the method of determining a freight rate for a flight as claimed in any one of claims 1 to 5.
CN202311864591.2A 2023-12-29 2023-12-29 Flight freight rate determining method and device and electronic equipment Pending CN117808508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311864591.2A CN117808508A (en) 2023-12-29 2023-12-29 Flight freight rate determining method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311864591.2A CN117808508A (en) 2023-12-29 2023-12-29 Flight freight rate determining method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117808508A true CN117808508A (en) 2024-04-02

Family

ID=90423298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311864591.2A Pending CN117808508A (en) 2023-12-29 2023-12-29 Flight freight rate determining method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117808508A (en)

Similar Documents

Publication Publication Date Title
US20090276250A1 (en) Process and system to determine commercial airline arrivals
US20040039614A1 (en) System and method to support end-to-end travel service including disruption notification and alternative flight solutions
US20150302342A1 (en) Taxi management apparatus and taxi management system
US9739626B2 (en) Journey planning method and system
US20080189148A1 (en) Ground transportation booking
US20040039613A1 (en) Passenger status based on flight status information
US20130297360A1 (en) Flight-price monitoring systems and methods
US20130110833A1 (en) Method and system for identifying candidate users
WO2007076046A2 (en) Airline management system generating routings based on stored customer preference data
Zhang et al. Carpooling service for large-scale taxicab networks
AU2014215949A1 (en) Contextualized travel offers
US20080004920A1 (en) Airline management system generating routings in real-time
US20200088531A1 (en) Dynamic responsive transit management system
US20170046803A1 (en) Automatic space exchange opportunity response systems and methods
WO2013028903A2 (en) Travel arrangement service and method of determining alternative routes
US20130218613A1 (en) Method and system for sending messages
US20200134764A1 (en) Booking management system
Setiawan et al. Development of emobility mobile APP based on geographic information systems: Integratiing public transportation, regional GDP, regional government budget revenues and expenditures (APBD) in Indonesia
CN117808508A (en) Flight freight rate determining method and device and electronic equipment
CN116757731A (en) Flight season factor prediction method and device, electronic equipment and storage medium
US20040039616A1 (en) System and method for use in connection with human travel
US11861460B2 (en) Learning machine training based on plan types
JP7168344B2 (en) Moving body stop position determination method and determination system
EP2927847A1 (en) Journey planning method and system
US20040039615A1 (en) Automated collection of flight reservation system data

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