CN111913991B - Freight rate promotion information determination method and device, storage medium and electronic equipment - Google Patents

Freight rate promotion information determination method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111913991B
CN111913991B CN202010685464.6A CN202010685464A CN111913991B CN 111913991 B CN111913991 B CN 111913991B CN 202010685464 A CN202010685464 A CN 202010685464A CN 111913991 B CN111913991 B CN 111913991B
Authority
CN
China
Prior art keywords
information
promotion
freight rate
rule
user
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
CN202010685464.6A
Other languages
Chinese (zh)
Other versions
CN111913991A (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 CN202010685464.6A priority Critical patent/CN111913991B/en
Publication of CN111913991A publication Critical patent/CN111913991A/en
Application granted granted Critical
Publication of CN111913991B publication Critical patent/CN111913991B/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/2455Query execution
    • G06F16/24564Applying rules; Deductive queries
    • 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/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a freight rate promotion information determining method and device, a storage medium and electronic equipment, wherein the method and device are used for responding to a flight inquiry request of a user, acquiring user information of the user and flight information contained in the flight inquiry request, acquiring original freight rate information corresponding to the flight information, searching each promotion rule matched with the user information and the flight information from a preset rule base, calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule, determining target freight rate promotion information from each freight rate promotion information, and displaying the target freight rate promotion information to the user. According to the technical scheme, based on the corresponding relation between the prestored user information and the flight information and the sales promotion rules, the corresponding sales promotion rules are automatically searched, the freight rate sales promotion information of the original freight rate information corresponding to each searched sales promotion rule is calculated, and the target freight rate sales promotion rule is determined and displayed, so that the freight rate sales promotion information determination efficiency is improved, and the high-frequency and high-timeliness requirements required by sales promotion activities are met.

Description

Freight rate promotion information determination method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of internet applications, and in particular, to a method and apparatus for determining freight rate promotion information, a storage medium, and an electronic device.
Background
With the rapid development of the internet and the deep development of electronic commerce of airlines, airlines are increasingly competing in the sale of website tickets. To enhance competitiveness, airlines typically conduct ticket promotions on an airline e-commerce platform, which often involve the determination of freight rate promotions.
In the prior art, the determination of the freight rate promotion information needs to be cooperatively checked and approved by an electronic commerce department and a freight rate room cross department in the aviation company, and for international flights, even the check and approval of freight rate generation service involving a third party, the determination of the freight rate promotion information takes longer time and is slower, so that the requirements of high frequency and high timeliness required by the promotion activity cannot be met.
Disclosure of Invention
The application provides a freight rate promotion information determining method and device, a storage medium and electronic equipment, and aims to solve the problems that freight rate promotion information determining time is long, speed is low, and high-frequency and high-timeliness requirements required by promotion activities cannot be met.
In order to achieve the above object, the present application provides the following technical solutions:
the first aspect of the invention discloses a freight rate promotion information determination method, which comprises the following steps:
responding to a flight inquiry request of a user, and acquiring user information of the user and flight information contained in the flight inquiry request;
acquiring original freight rate information corresponding to the flight information, and searching each promotion rule matched with the user information and the flight information from a preset rule base;
calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule;
and determining target freight rate promotion information from the freight rate promotion information, and displaying the target freight rate promotion information to the user.
The second aspect of the present invention discloses a freight rate promotion information determination apparatus, comprising:
the first acquisition unit is used for responding to a flight inquiry request of a user and acquiring user information of the user and flight information contained in the flight inquiry request;
the second acquisition unit is used for acquiring original freight rate information corresponding to the flight information and searching each promotion rule matched with the user information and the flight information from a preset rule base;
the first calculation unit is used for calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule;
and the first display unit is used for determining target freight rate promotion information from the freight rate promotion information and displaying the target freight rate promotion information to the user.
A third aspect of the present invention discloses a storage medium, which includes stored instructions, where the instructions, when executed, control a device in which the storage medium is located to perform the above-described freight promotion information determination method.
A fourth aspect of the invention discloses an electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the above-described freight rate promotion information determination method.
Compared with the prior art, the invention has the following advantages:
the invention provides a freight rate promotion information determining method and device, a storage medium and electronic equipment, wherein the method comprises the following steps: responding to a flight inquiry request of a user, acquiring user information of the user and flight information contained in the flight inquiry request, acquiring original freight rate information corresponding to the flight information, searching each promotion rule matched with the user information and the flight information from a preset rule base, calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule, determining target freight rate promotion information from each freight rate promotion information, and displaying the target freight rate promotion information to the user. According to the technical scheme, the corresponding relation between the user information and the flight information and the promotion rules is stored in advance, when the flight inquiry request of the user is received, the corresponding promotion rules are automatically searched based on the flight information and the user information of the user, the freight rate promotion information of the original freight rate information corresponding to each searched promotion rule is calculated, the target freight rate promotion rule is determined from the freight rate promotion rules and displayed, and approval by related departments is not needed, so that the freight rate promotion information determination efficiency is improved, and the high-frequency and high-timeliness requirements required by the promotion are met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for determining freight rate promotional information provided by the invention;
FIG. 2 is a flowchart of another method for determining freight rate promotional information according to the present invention;
FIG. 3 is a flowchart of another method for determining freight rate promotional information according to the present invention;
FIG. 4 is a flowchart of another method for determining freight rate promotional information according to the present invention;
FIG. 5 is a flowchart of another method for determining freight rate promotional information according to the present invention;
FIG. 6 is a schematic diagram of a device for determining freight rate promotional information according to the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
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 for distinguishing between different devices, modules, or units and not for limiting the order or interdependence of the functions performed by these devices, modules, or units.
It should be noted that references to "one" or "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 interpreted as "one or more" unless the context clearly indicates otherwise.
The embodiment of the invention provides a freight rate promotion information determination method which can be applied to a promotion discount system, an execution subject of the method can be a processor running on a computer, and a flow chart of the freight rate promotion information determination method is shown in fig. 1, and specifically comprises the following steps:
s101, responding to a flight inquiry request of a user, and acquiring user information of the user and flight information contained in the flight inquiry request.
When a flight inquiry request of a user is received, responding to the flight inquiry request of the user, and acquiring flight information contained in the flight inquiry request, wherein the flight information comprises, but is not limited to, departure place, landing place, departure time and cabin information.
User information of the user is obtained, wherein the user information comprises, but is not limited to, identity information of the user, grade information of the user and terminal information of a user for inquiring flights by using a terminal.
S102, acquiring original freight rate information corresponding to the flight information.
And inquiring the original freight rate information corresponding to the flight information based on the flight information.
In the method provided by the embodiment of the invention, the corresponding relation between the user information and the flight information and the promotion rule is pre-stored, namely, the promotion rule corresponding to the user information and the flight information is pre-stored, in other words, the corresponding relation between the user information and the flight information exists and the promotion rule, the corresponding promotion rule can be searched through the user information and the flight information, and the corresponding relation between the user information and the flight information and the promotion rule is stored in a preset rule library. That is, different promotion rules are formulated in advance for information such as different routes, airlines, billboards, take-off time, terminals, grades and the like.
S103, judging whether a preset rule base has a promotion rule matched with both the user information and the flight information.
Judging whether promotion rules matched with the user information and the flight information exist in a preset rule base or not, namely searching each promotion rule matched with the user information and the flight information from the preset rule base, wherein the number of the searched promotion rules can be one, a plurality of promotion rules or zero. If the number of the searched promotion rules is zero, the promotion rules matched with the user information and the flight information do not exist in the explanation rule base, and the step S104 is executed, if the number of the searched promotion rules is not zero, that is, at least one promotion rule is searched, the promotion rules matched with the user information and the flight information exist in the explanation rule base, and the step S105 is executed.
S104, displaying the original freight rate information to the user.
If the found promotion rule is zero, the promotion rule matched with the user information and the flight information does not exist in the description rule base, and the user displays the original freight rate information.
S105, calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule.
If the found promotion rule is not zero, that is, at least one promotion rule is found, calculating the freight rate promotion information of the original freight rate information according to the promotion rule for each promotion rule to obtain freight rate promotion information corresponding to the promotion rule, that is, calculating the freight rate promotion information of the original freight rate information corresponding to each promotion rule.
Note that, the freight rate promotion information is used to indicate the freight rate information after discount, for example, the original freight rate contained in the original freight rate information is 500 yuan, and the searched promotion rule is used to indicate that the original freight rate is discounted in an octave, and then the freight rate contained in the freight rate promotion information is 400 yuan.
S106, determining target freight rate promotion information from the freight rate promotion information, and displaying the target freight rate promotion information to the user.
The number of the searched promotion rules is not zero, the meaning of the searched promotion rules comprises that one promotion rule is searched, a plurality of promotion rules are searched, if one promotion rule is searched, the freight rate promotion information obtained by calculation according to the promotion rule is one, and the freight rate promotion information is taken as target freight rate promotion information; if the searched sales promotion rule is multiple, namely the sales promotion information calculated according to the sales promotion rule is multiple, one piece of the sales promotion information is required to be selected from the multiple pieces of the sales promotion information to serve as the target sales promotion information.
It should be noted that, one freight rate promotion information is selected from the plurality of freight rate promotion information as the target freight rate promotion information, that is, the freight rate promotion information corresponding to the lowest freight rate is selected from the plurality of freight rate promotion information as the target freight rate promotion information.
Optionally, the process of selecting the freight rate promotion information corresponding to the lowest freight rate from the freight rate promotion information as the target freight rate promotion information specifically includes:
sequencing the freight rate promotion information according to the sequence of freight rates from high to low contained in the freight rate promotion information, and taking the freight rate promotion information ranked at the tail as target freight rate promotion information;
or alternatively, the first and second heat exchangers may be,
and sequencing the freight rate promotion information according to the sequence from low freight rate to high freight rate contained in the freight rate promotion information, and taking the freight rate promotion information ranked at the forefront as target freight rate promotion information.
In the method provided by the embodiment of the invention, the target freight rate promotion information is displayed to the user.
According to the freight rate promotion information determining method provided by the embodiment of the invention, the user information of the user and the flight information contained in the flight inquiry request are obtained in response to the flight inquiry request of the user, the original freight rate information corresponding to the flight information is obtained, each promotion rule matched with the user information and the flight information is searched from the preset rule base, the freight rate promotion information of the original freight rate information corresponding to each promotion rule is calculated, the target freight rate promotion information is determined from each freight rate promotion information, and the target freight rate promotion information is displayed to the user. By applying the freight rate promotion information determining method provided by the embodiment of the invention, the corresponding relation between the user information and the flight information and the promotion rules is stored in advance, when the flight inquiry request of the user is received, the corresponding promotion rules are automatically searched based on the flight information and the user information of the user, the freight rate promotion information of the original freight rate information corresponding to each searched promotion rule is calculated, and the target freight rate promotion rule is determined and displayed from each freight rate promotion rule without approval of related departments, so that the freight rate promotion information determining efficiency is improved, and the high-frequency and high-timeliness requirements required by the promotion are met.
The process of querying each promotion rule matching with both the user information and the flight information from the preset rule base, which is referred to in step S102 in fig. 1 in the embodiment of the present invention, is shown in fig. 2, and the flowchart specifically includes the following steps:
s201, analyzing the user information and the flight information, and extracting data items corresponding to each preset key field from the user information and the flight information.
In the method provided by the embodiment of the invention, the corresponding relation between the user information and the flight information and the promotion rule is prestored, namely, the corresponding relation between a plurality of preset key fields and the promotion rule is prestored.
Analyzing the user information and the flight information, and extracting data items corresponding to each preset key field from the user information and the flight information.
S202, searching each promotion rule matched with each data item from a preset rule base.
Searching each promotion rule matched with each data item from a preset rule base, namely matching each promotion rule in the preset rule base according to each data item to search each promotion rule matched with each data item.
In the method provided by the embodiment of the present invention, referring to fig. 3, a process of searching each promotion rule matched with each data item from a preset rule base specifically includes:
s301, determining the priority of each data item.
The priority of each data item is determined, wherein the priority of each data item is determined according to the corresponding key field, namely, the priority of each key field is preset, and the priority of each data item can be determined through the priority of the key field.
S302, judging whether a promotion rule corresponding to the data item with the highest priority exists in a preset rule base.
And searching a promotion rule corresponding to the data item with the highest priority in a preset rule base, judging that the promotion rule corresponding to the data item with the highest priority does not exist in the preset rule base if the promotion rule corresponding to the data item with the highest priority is not searched, executing step S303, judging that the promotion rule corresponding to the data item with the highest priority exists in the preset rule base if the promotion rule corresponding to the data item with the highest priority is searched, and executing step S304.
S303, judging that a promotion rule matched with each data item does not exist in a preset rule base.
If the promotion rule corresponding to the current data item is not found, judging that the promotion rule matched with each data item does not exist in the preset rule base, wherein the current data item is used for indicating the data item currently used for finding the promotion rule. For example, if the promotion rule corresponding to the data item with the highest priority is searched, the current data item is the data item with the highest priority, and if the promotion rule corresponding to the data item with the lowest priority is searched, the current data item is the data item with the lowest priority.
S304, judging whether the current data item is the data item with the lowest priority.
If the promotion rule corresponding to the current data item is found, judging whether the current data item is the data item with the lowest priority, if so, indicating that the current data item has been traversed to the last data item, and executing step S305, if not, indicating that the current data item has not been traversed to the last data item, and executing step S306.
S305, judging that a promotion rule matched with each data item exists in a preset rule base.
If the promotion rule corresponding to the current data item is found and the current data item is the data item with the lowest priority, judging that the promotion rule matched with each data item exists in the preset rule base, and taking the promotion rule corresponding to the current data as the promotion rule matched with each data item in the preset rule base.
S306, taking the promotion rule corresponding to the current data item as a target promotion rule.
And if the current data item is not the data item with the lowest priority, taking the promotion rule corresponding to the current data item as the target promotion rule.
S307, judging whether a promotion rule corresponding to the data item of the next priority exists in the target promotion rule.
According to the data items of the next priority, searching a promotion rule corresponding to the data items of the next priority in the target promotion rule, wherein the data items of the next priority are used for indicating the data items of the next priority of the current data item, if the promotion rule corresponding to the data items of the next priority is not searched in the target promotion rule, judging that the promotion rule corresponding to the data items of the next priority does not exist in the target promotion rule, executing step S303, and if the promotion rule corresponding to the data items of the next priority is searched in the target promotion rule, judging that the promotion rule corresponding to the data items of the next priority exists in the target promotion rule, and executing step S304.
In the freight rate promotion information determination method provided by the embodiment of the invention, the user information and the flight information are analyzed, the data item corresponding to each preset key field is extracted from the user information and the flight information, and each promotion rule matched with each data item is searched from the preset rule base.
After the step S106 of the foregoing embodiment of the present invention disclosed in fig. 1 is related to displaying the target freight rate promotion information to the user, the flowchart is shown in fig. 4, and may further include the following steps:
s401, responding to an order request of a user for the air ticket corresponding to the target freight rate promotion information, and acquiring freight rate information corresponding to the air ticket.
After the target freight rate promotion information is displayed to the user, a request of the user for ordering the air ticket corresponding to the target freight rate promotion information can be received, and the request is responded to obtain freight rate information corresponding to the air ticket.
S402, searching first promotion rules matched with the user information and the flight information corresponding to the air ticket from the rule base.
And searching each first promotion rule matched with the flight information corresponding to the user information and the air ticket from the rule base.
It should be noted that, the execution process of step S402 is similar to the execution process of searching for each promotion rule matching with both the user information and the flight information from the preset rule base mentioned in step S102, and will not be repeated here.
S403, according to each searched first promotion rule, calculating the freight rate promotion information of the freight rate information corresponding to the air ticket, and obtaining the freight rate promotion information corresponding to each first promotion rule.
Note that, the present invention is not limited to the above-described embodiments. The specific implementation process of step S403 is as described in step S105, and will not be described here again.
S404, determining the freight rate promotion information corresponding to the lowest freight rate from the freight rate promotion information corresponding to each first promotion rule.
And determining the freight rate promotion information corresponding to the lowest freight rate from the freight rate promotion information corresponding to each first promotion rule, namely determining the first promotion rule with the largest discount strength.
S405, comparing the freight rate promotion information corresponding to the lowest freight rate with the target freight rate promotion information.
And S406, if the comparison is consistent, generating order information, and executing ticket issuing operation after the user pays the order information.
If the freight rate promotion information corresponding to the lowest freight rate is consistent with the target freight rate promotion information, generating order information, and executing ticket issuing operation after the user pays the order information.
In the freight rate promotion information determining method provided by the embodiment of the invention, after the target freight rate promotion information is displayed to the user, when the order request of the user for the air ticket corresponding to the target freight rate promotion information is received, the freight rate promotion information of the lowest freight rate is determined again based on the flight information corresponding to the air ticket and the user information, the freight rate promotion information of the lowest freight rate and the target freight rate promotion information are compared, and the accuracy of determining the target freight rate information is improved from the comparison.
After the user pays for the order information, as shown in fig. 5, the flowchart of step S406 disclosed in fig. 1 of the embodiment of the present invention may further include the following steps:
s501, analyzing order information and acquiring data items corresponding to each preset parameter.
S502, performing format conversion on each data item according to a preset data format.
S503, storing each data item after format conversion into a storage position corresponding to the corresponding preset parameter.
In the method provided by the embodiment of the invention, after the user pays the order information, the order information is stored in the electronic commerce system of the airline company, and the process of storing the order information in the electronic commerce system of the airline company comprises the following steps: analyzing the order information, acquiring data items corresponding to each preset parameter, converting the format of each data item according to a preset data format, and storing each data item after format conversion to a storage position corresponding to the corresponding preset parameter.
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.
Corresponding to the method shown in fig. 1, the embodiment of the invention further provides a freight rate promotion information determining system, which is used for implementing the method shown in fig. 1, and the structural schematic diagram is shown in fig. 6, and specifically includes:
a first obtaining unit 601, configured to respond to a flight query request of a user, and obtain user information of the user and flight information included in the flight query request;
a second obtaining unit 602, configured to obtain original freight rate information corresponding to the flight information, and search, from a preset rule base, for each promotion rule matching with both the user information and the flight information;
a first calculating unit 603, configured to calculate freight rate promotion information of the original freight rate information corresponding to each promotion rule;
the first display unit 604 is configured to determine target freight rate promotion information from the freight rate promotion information, and display the target freight rate promotion information to the user.
According to the freight rate promotion information determining device provided by the embodiment of the invention, the user information of the user and the flight information contained in the flight inquiry request are obtained in response to the flight inquiry request of the user, the original freight rate information corresponding to the flight information is obtained, each promotion rule matched with the user information and the flight information is searched from the preset rule base, the freight rate promotion information of the original freight rate information corresponding to each promotion rule is calculated, the target freight rate promotion information is determined from each freight rate promotion information, and the target freight rate promotion information is displayed to the user. By applying the freight rate promotion information determining device provided by the embodiment of the invention, the corresponding relation between the user information and the flight information and the promotion rules is stored in advance, when the flight inquiry request of the user is received, the corresponding promotion rules are automatically searched based on the flight information and the user information of the user, the freight rate promotion information of the original freight rate information corresponding to each searched promotion rule is calculated, and the target freight rate promotion rule is determined and displayed from each freight rate promotion rule without approval of related departments, so that the freight rate promotion information determining efficiency is improved, and the high-frequency and high-timeliness requirements required by the promotion are met.
In one embodiment of the present invention, based on the foregoing scheme, the second acquisition unit 602 is configured to:
the analysis subunit is used for analyzing the user information and the flight information and extracting data items corresponding to each preset key field from the user information and the flight information;
and the searching subunit is used for searching each promotion rule matched with each data item from a preset rule base.
In one embodiment of the present invention, based on the foregoing scheme, the searching subunit executes searching, from a preset rule base, for each promotion rule matching each of the data items, for:
determining a priority of each of the data items;
searching each promotion rule corresponding to the data item with the highest priority from a preset rule base;
if the promotion rule corresponding to the data item with the highest priority is found, taking each found promotion rule as a target promotion rule;
searching a promotion rule corresponding to the data item of the next-level priority from each target promotion rule;
if the promotion rule corresponding to the data item of the next level of priority is found, taking each found promotion rule as a target promotion rule, and returning to execute the step of searching the promotion rule corresponding to the data item of the next level of priority from each target promotion rule until all the data items are traversed.
In one embodiment of the present invention, based on the foregoing, the first display unit 604 performs the determination of the target freight rate promotion information from the respective freight rate promotion information for:
and if the freight rate promotion information is a plurality of freight rate promotion information, selecting freight rate promotion information corresponding to the lowest freight rate from the freight rate promotion information as target freight rate promotion information.
And if the freight rate promotion information is not a plurality of freight rate promotion information, taking the freight rate promotion information as target freight rate promotion information.
In one embodiment of the present invention, based on the foregoing scheme, it may be further configured to:
the third acquisition unit is used for responding to the order request of the user for the air ticket corresponding to the target freight rate promotion information and acquiring freight rate information corresponding to the air ticket;
the searching unit is used for searching each first promotion rule matched with the user information and the flight information corresponding to the air ticket from the rule base;
the second calculation unit is used for calculating freight rate promotion information of freight rate information corresponding to the air ticket according to each searched first promotion rule to obtain freight rate promotion information corresponding to each first promotion rule;
the determining unit is used for determining freight rate promotion information corresponding to the lowest freight rate from freight rate promotion information corresponding to each first promotion rule;
the comparison unit is used for comparing the freight rate promotion information corresponding to the lowest freight rate with the target freight rate promotion information;
and the generation unit is used for generating order information if the comparison is consistent, and executing ticket issuing operation after the user pays the order information.
In one embodiment of the present invention, based on the foregoing scheme, it may be further configured to:
the analysis unit is used for analyzing the order information and acquiring data items corresponding to each preset parameter;
the conversion unit is used for carrying out format conversion on each data item according to a preset data format;
and the storage unit is used for storing each data item after format conversion into a storage position corresponding to the corresponding preset parameter.
In one embodiment of the present invention, based on the foregoing scheme, it may be further configured to:
and the second display unit is used for displaying the original freight rate information to the user if the promotion rule matched with the user information and the flight information is not found.
The embodiment of the invention also provides a storage medium, which comprises stored instructions, wherein the instructions control a device where the storage medium is located to execute the following operations when running:
responding to a flight inquiry request of a user, and acquiring user information of the user and flight information contained in the flight inquiry request;
acquiring original freight rate information corresponding to the flight information, and searching each promotion rule matched with the user information and the flight information from a preset rule base;
calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule;
and determining target freight rate promotion information from the freight rate promotion information, and displaying the target freight rate promotion information to the user.
The embodiment of the present invention further provides an electronic device, whose structural schematic diagram is shown in fig. 7, specifically including a memory 701, and one or more instructions 702, where the one or more instructions 702 are stored in the memory 701, and configured to be executed by the one or more processors 703, where the one or more instructions 702 perform the following operations:
responding to a flight inquiry request of a user, and acquiring user information of the user and flight information contained in the flight inquiry request;
acquiring original freight rate information corresponding to the flight information, and searching each promotion rule matched with the user information and the flight information from a preset rule base;
calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule;
and determining target freight rate promotion information from the freight rate promotion information, and displaying the target freight rate promotion information to the user.
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 present 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 above description is only illustrative of the presently disclosed preferred embodiments and 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 made by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as the above-described features, are mutually replaced with the technical features having similar functions disclosed in the disclosure (but not limited to the disclosure).
In the detailed description, this application will repeat itself in the form of the claims, where:
in accordance with one or more embodiments disclosed herein, fig. 1 provides a freight rate promotional information determination method comprising: responding to a flight inquiry request of a user, and acquiring user information of the user and flight information contained in the flight inquiry request; acquiring original freight rate information corresponding to the flight information, and searching each promotion rule matched with the user information and the flight information from a preset rule base; calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule; and determining target freight rate promotion information from the freight rate promotion information, and displaying the target freight rate promotion information to the user.
If the freight rate promotion information is a plurality of freight rate promotion information, selecting freight rate promotion information corresponding to the lowest freight rate from the freight rate promotion information as target freight rate promotion information; and if the freight rate promotion information is not a plurality of freight rate promotion information, taking the freight rate promotion information as target freight rate promotion information.
And if the promotion rule matched with the user information and the flight information is not found, displaying the original freight rate information to the user.
In accordance with one or more embodiments disclosed herein, FIG. 2 provides another method of determining freight rate promotional information, comprising: analyzing the user information and the flight information, and extracting data items corresponding to each preset key field from the user information and the flight information; searching each promotion rule matched with each data item from a preset rule base.
FIG. 3 provides another method of determining freight rate promotional information, according to one or more embodiments disclosed herein, comprising: determining a priority of each of the data items; searching each promotion rule corresponding to the data item with the highest priority from a preset rule base; if the promotion rule corresponding to the data item with the highest priority is found, taking each found promotion rule as a target promotion rule; searching a promotion rule corresponding to the data item of the next-level priority from each target promotion rule; if the promotion rule corresponding to the data item of the next level of priority is found, taking each found promotion rule as a target promotion rule, and returning to execute the step of searching the promotion rule corresponding to the data item of the next level of priority from each target promotion rule until all the data items are traversed.
FIG. 4 provides another method of determining freight rate promotional information, according to one or more embodiments disclosed herein, comprising: responding to an order request of the user for the air ticket corresponding to the target freight rate promotion information, and acquiring freight rate information corresponding to the air ticket; searching each first promotion rule matched with the user information and the flight information corresponding to the air ticket from the rule base; calculating freight rate promotion information of freight rate information corresponding to the air ticket according to each searched first promotion rule, and obtaining freight rate promotion information corresponding to each first promotion rule; determining freight rate promotion information corresponding to the lowest freight rate from freight rate promotion information corresponding to each first promotion rule; comparing the freight rate promotion information corresponding to the lowest freight rate with the target freight rate promotion information; if the comparison is consistent, generating order information, and executing ticket issuing operation after the user pays the order information.
FIG. 5 provides another method of determining freight rate promotional information, according to one or more embodiments disclosed herein, comprising: analyzing the order information to obtain data items corresponding to each preset parameter; performing format conversion on each data item according to a preset data format; and storing each data item after format conversion into a storage position corresponding to the corresponding preset parameter.
In accordance with one or more embodiments disclosed herein, fig. 6 provides a freight rate promotional information determination apparatus comprising: the first acquisition unit is used for responding to a flight inquiry request of a user and acquiring user information of the user and flight information contained in the flight inquiry request; the second acquisition unit is used for acquiring original freight rate information corresponding to the flight information and searching each promotion rule matched with the user information and the flight information from a preset rule base; the first calculation unit is used for calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule; and the first display unit is used for determining target freight rate promotion information from the freight rate promotion information and displaying the target freight rate promotion information to the user.

Claims (8)

1. A method of determining freight rate promotional information, comprising:
responding to a flight inquiry request of a user, and acquiring user information of the user and flight information contained in the flight inquiry request;
acquiring original freight rate information corresponding to the flight information;
analyzing the user information and the flight information, and extracting data items corresponding to each preset key field from the user information and the flight information;
searching each promotion rule matched with each data item from a preset rule base;
calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule;
determining target freight rate promotion information from the freight rate promotion information, and displaying the target freight rate promotion information to the user;
the searching each promotion rule matched with each data item from a preset rule base comprises the following steps:
determining a priority of each of the data items;
searching each promotion rule corresponding to the data item with the highest priority from a preset rule base;
if the promotion rule corresponding to the data item with the highest priority is found, taking each found promotion rule as a target promotion rule;
searching a promotion rule corresponding to the data item of the next-level priority from each target promotion rule;
if the promotion rule corresponding to the data item of the next level of priority is found, taking each found promotion rule as a target promotion rule, and returning to execute the step of searching the promotion rule corresponding to the data item of the next level of priority from each target promotion rule until all the data items are traversed.
2. The method of claim 1 wherein said determining target freight rate promotional information from each of said freight rate promotional information comprises:
if the freight rate promotion information is a plurality of freight rate promotion information, selecting freight rate promotion information corresponding to the lowest freight rate from the freight rate promotion information as target freight rate promotion information;
and if the freight rate promotion information is not a plurality of freight rate promotion information, taking the freight rate promotion information as target freight rate promotion information.
3. The method of claim 1, wherein after said presenting said targeted freight rate promotional information to said user, further comprising:
responding to an order request of the user for the air ticket corresponding to the target freight rate promotion information, and acquiring freight rate information corresponding to the air ticket;
searching each first promotion rule matched with the user information and the flight information corresponding to the air ticket from the rule base;
calculating freight rate promotion information of freight rate information corresponding to the air ticket according to each searched first promotion rule, and obtaining freight rate promotion information corresponding to each first promotion rule;
determining freight rate promotion information corresponding to the lowest freight rate from freight rate promotion information corresponding to each first promotion rule;
comparing the freight rate promotion information corresponding to the lowest freight rate with the target freight rate promotion information;
if the comparison is consistent, generating order information, and executing ticket issuing operation after the user pays the order information.
4. The method of claim 3, wherein after performing a ticketing operation after the user pays for the order information, further comprising:
analyzing the order information to obtain data items corresponding to each preset parameter;
performing format conversion on each data item according to a preset data format;
and storing each data item after format conversion into a storage position corresponding to the corresponding preset parameter.
5. The method as recited in claim 1, further comprising:
and if the promotion rule matched with the user information and the flight information is not found, displaying the original freight rate information to the user.
6. A freight rate promotional information determination apparatus comprising:
the first acquisition unit is used for responding to a flight inquiry request of a user and acquiring user information of the user and flight information contained in the flight inquiry request;
the second acquisition unit is used for acquiring original freight rate information corresponding to the flight information and searching each promotion rule matched with the user information and the flight information from a preset rule base;
the first calculation unit is used for calculating freight rate promotion information of the original freight rate information corresponding to each promotion rule;
the first display unit is used for determining target freight rate promotion information from the freight rate promotion information and displaying the target freight rate promotion information to the user;
the second acquisition unit includes:
the analysis subunit is used for analyzing the user information and the flight information and extracting data items corresponding to each preset key field from the user information and the flight information;
the searching subunit is used for searching each promotion rule matched with each data item from a preset rule base;
the searching each promotion rule matched with each data item from a preset rule base comprises the following steps:
determining a priority of each of the data items;
searching each promotion rule corresponding to the data item with the highest priority from a preset rule base;
if the promotion rule corresponding to the data item with the highest priority is found, taking each found promotion rule as a target promotion rule;
searching a promotion rule corresponding to the data item of the next-level priority from each target promotion rule;
if the promotion rule corresponding to the data item of the next level of priority is found, taking each found promotion rule as a target promotion rule, and returning to execute the step of searching the promotion rule corresponding to the data item of the next level of priority from each target promotion rule until all the data items are traversed.
7. A storage medium comprising stored instructions, wherein the instructions, when executed, control a device in which the storage medium is located to perform the freight promotion information determination method of any one of claims 1-5.
8. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the method of determining freight rate promotion information according to any one of claims 1-5.
CN202010685464.6A 2020-07-16 2020-07-16 Freight rate promotion information determination method and device, storage medium and electronic equipment Active CN111913991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010685464.6A CN111913991B (en) 2020-07-16 2020-07-16 Freight rate promotion information determination method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010685464.6A CN111913991B (en) 2020-07-16 2020-07-16 Freight rate promotion information determination method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111913991A CN111913991A (en) 2020-11-10
CN111913991B true CN111913991B (en) 2023-12-22

Family

ID=73280995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010685464.6A Active CN111913991B (en) 2020-07-16 2020-07-16 Freight rate promotion information determination method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111913991B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112215688A (en) * 2020-11-19 2021-01-12 中国民航信息网络股份有限公司 Price offering method and device for settling freight price, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020023556A (en) * 2000-09-22 2002-03-29 전성민, 김성원 Method and system for confirming information related to airplane in local area and selling airplane ticket via network
CN105654338A (en) * 2015-12-25 2016-06-08 中国民航信息网络股份有限公司 Fare by rule calculation method, device and system
CN110727699A (en) * 2019-10-21 2020-01-24 中国民航信息网络股份有限公司 Information request method, device, server and storage medium
CN111291051A (en) * 2020-01-22 2020-06-16 中国民航信息网络股份有限公司 Freight rate data processing method and device, storage medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020023556A (en) * 2000-09-22 2002-03-29 전성민, 김성원 Method and system for confirming information related to airplane in local area and selling airplane ticket via network
CN105654338A (en) * 2015-12-25 2016-06-08 中国民航信息网络股份有限公司 Fare by rule calculation method, device and system
CN110727699A (en) * 2019-10-21 2020-01-24 中国民航信息网络股份有限公司 Information request method, device, server and storage medium
CN111291051A (en) * 2020-01-22 2020-06-16 中国民航信息网络股份有限公司 Freight rate data processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111913991A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN110309405B (en) Project recommendation method and device and storage medium
CN109074368B (en) Graphical framework using heterogeneous social networks
KR102084101B1 (en) Apparatus and method for providing keyword based on product data
US10282797B2 (en) Inference model for traveler classification
CN110750654A (en) Knowledge graph acquisition method, device, equipment and medium
KR101813475B1 (en) Artificial intelligence-based travel and ticket recommendation system
CN111913991B (en) Freight rate promotion information determination method and device, storage medium and electronic equipment
CN109344347B (en) Display control method, display control device, electronic equipment and computer-readable storage medium
CN110674208B (en) Method and device for determining position information of user
CN113177154A (en) Search term recommendation method and device, electronic equipment and storage medium
CN110321428A (en) Structural maintenance mapper
KR102616248B1 (en) Method for selling no-show product at spcial price and apparatus therefor
EP4092388A2 (en) Method and apparatus of recommending information, electronic device, storage medium, and program product
CN115759014A (en) Dynamic intelligent analysis method and system and electronic equipment
CN112966192B (en) Regional address naming method, apparatus, electronic device and readable storage medium
CN115017385A (en) Article searching method, device, equipment and storage medium
CN114036397A (en) Data recommendation method and device, electronic equipment and medium
US8875136B2 (en) Methods of personalizing services via identification of common components
CN113743973A (en) Method and device for analyzing market hotspot trend
CN112906723A (en) Feature selection method and device
CN112860858A (en) Method and device for answering questions
Lin et al. Note on solving inventory models from operational research view
CN111833085A (en) Method and device for calculating price of article
CN109522345A (en) For showing the method and device of information
CN112528183B (en) Webpage component layout method and device based on big data, electronic equipment and medium

Legal Events

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