CN111913991A - Freight rate promotion information determining method and device, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN111913991A
CN111913991A CN202010685464.6A CN202010685464A CN111913991A CN 111913991 A CN111913991 A CN 111913991A CN 202010685464 A CN202010685464 A CN 202010685464A CN 111913991 A CN111913991 A CN 111913991A
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.)
Granted
Application number
CN202010685464.6A
Other languages
Chinese (zh)
Other versions
CN111913991B (en
Inventor
熊铭
李雄清
赵子骄
孙琼巍
陶凯
赵磊
马凯
张强
周东琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Travelsky Holding Co
Original Assignee
China Travelsky Holding Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Holding Co filed Critical China Travelsky Holding Co
Priority to 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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/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 method and a device for determining freight rate promotion information, a storage medium and electronic equipment, which respond to a flight inquiry request of a user, acquire user information of the user and flight information contained in the flight inquiry request, acquire original freight rate information corresponding to the flight information, search each promotion rule matched with the user information and the flight information from a preset rule base, calculate freight rate promotion information of the original freight rate information corresponding to each promotion rule, determine target freight rate promotion information from each freight rate promotion information, and display the target freight rate promotion information to the user. According to the technical scheme, corresponding promotion rules are automatically searched based on the corresponding relation between the pre-stored user information and flight information and the promotion rules, 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 rules are determined and displayed, so that the freight rate promotion information determination efficiency is improved, and the high-frequency and high-timeliness requirements required by promotion activities are met.

Description

Freight rate promotion information determining method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of internet application, in particular to a method and a device for determining freight rate promotion information, a storage medium and electronic equipment.
Background
With the rapid development of the internet and the deep development of the e-commerce of the airline companies, the competition of the airline companies on the website ticket sale is increasingly intense. To enhance competitiveness, airlines typically launch ticket promotion campaigns on the airline e-commerce platform, which often involve the determination of freight promotion information.
In the prior art, the determination of the freight rate promotion information needs to be examined and approved by the cooperation of an electronic commerce department and a freight rate room in an airline company, and for international flights, even the examination and approval of the freight rate delivery service of a third party are involved, so that the determination of the freight rate promotion information is long in time consumption and slow in speed, and the requirements of high frequency and high timeliness required by promotion activities cannot be met.
Disclosure of Invention
The application provides a method and a device for determining freight rate promotion information, a storage medium and electronic equipment, and aims to solve the problems that the determination of the freight rate promotion information is long in time consumption and slow in speed, and cannot meet the requirements of high frequency and high timeliness required by promotion activities.
In order to achieve the above object, the present application provides the following technical solutions:
the invention discloses a method for determining freight rate promotion information in a first aspect, 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 the 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.
A second aspect of the present invention discloses a device for determining freight rate promotion information, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein 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 the 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.
In a third aspect, the present invention discloses a storage medium, where the storage medium includes stored instructions, and when the instructions are executed, the storage medium controls a device on which the storage medium is located to execute the above-mentioned method for determining the freight rate promotion information.
In a fourth aspect, the present 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 aforementioned method for determining a value for a promotion.
Compared with the prior art, the invention has the following advantages:
the invention provides a method and a device for determining freight rate promotion information, 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 rule is stored in advance, when a flight inquiry request of a user is received, the corresponding promotion rule is searched automatically 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 each freight rate promotion rule and displayed without being approved by a related department, and therefore the freight rate promotion information determining efficiency is improved, and the high-frequency and high-time-efficiency requirements needed by promotion activities 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 used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for determining freight rate promotional information according to the present invention;
FIG. 2 is a flow chart of another method of determining a value promotion information according to the present invention;
FIG. 3 is a flow chart of another method of determining a value promotion information according to the present invention;
FIG. 4 is a flow chart of another method of determining a value promotion provided by the present invention;
FIG. 5 is a flow chart of another method of determining a value promotion provided by the present invention;
fig. 6 is a schematic structural diagram of a device for determining freight rate promotion information according to the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules, or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules, or units.
It is noted that references to "a", "an", and "the" modifications in the disclosure are exemplary rather than limiting, and that those skilled in the art will understand that "one or more" unless the context clearly dictates otherwise.
An embodiment of the present invention provides a method for determining freight rate promotion information, which may be applied to a promotion discount system, where an execution subject of the method may be a processor running on a computer, and a flowchart of the method for determining freight rate promotion information is shown in fig. 1, and specifically includes:
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 a takeoff place, a landing place, a takeoff time and cabin space information.
The method comprises the steps of obtaining user information of a user, 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 flight inquired by the user through a terminal.
S102, obtaining original freight rate information corresponding to the flight information.
And inquiring original freight rate information corresponding to the flight information based on the flight information.
In the method provided by the embodiment of the present invention, the correspondence between the user information and the flight information and the promotion rule is pre-stored, that is, the promotion rule corresponding to both the user information and the flight information is pre-stored, in other words, the user information and the flight information have a correspondence with the promotion rule, the corresponding promotion rule can be found through the user information and the flight information, and the correspondence between the user information and the flight information and the promotion rule is stored in the preset rule base. Different promotion rules are formulated in advance according to information such as different routes, air routes, cabin spaces, takeoff time, terminals and grades.
S103, judging whether a sales promotion rule matched with the user information and the flight information exists in the preset rule base or not.
Whether sales promotion rules matched with the user information and the flight information exist in the preset rule base or not is judged, namely, each sales promotion rule matched with the user information and the flight information is searched from the preset rule base, and the number of the searched sales promotion rules can be one, multiple or zero. If the number of the searched promotion rules is zero, it indicates that the promotion rules matched with both the user information and the flight information do not exist in the rule base, and step S104 is executed, and if the number of the searched promotion rules is not zero, that is, the number of the searched promotion rules is at least one, it indicates that the promotion rules matched with both the user information and the flight information exist in the rule base, and step S105 is executed.
And S104, displaying the original freight rate information to the user.
If the searched promotion rule is zero, the fact that the promotion rule matched with the user information and the flight information does not exist in the rule base is indicated, and the user displays the original freight rate information.
And S105, calculating the freight rate promotion information of the original freight rate information corresponding to each promotion rule.
If the number of the searched promotion rules is not zero, namely at least one promotion rule is searched, calculating the freight rate promotion information of the original freight rate information according to the promotion rule aiming at each promotion rule, and obtaining the freight rate promotion information corresponding to the promotion rule, namely calculating the freight rate promotion information of the original freight rate information corresponding to each promotion rule.
It should be noted that the freight rate promotion information is used to indicate discounted freight rate information, for example, the original freight rate included in the original freight rate information is 500 yuan, and the searched promotion rule is used to indicate that eight folds are made for the original freight rate, so that the freight rate included 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 meanings of the searched promotion rules comprise that one promotion rule is searched and 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 rules is one, and the freight rate promotion information is used as the target freight rate promotion information; if the searched promotion rules are multiple, that is, the freight rate promotion information calculated according to the promotion rules is multiple, one freight rate promotion information needs to be selected from the multiple freight rate promotion information as the target freight rate promotion information.
It should be noted that, one of the freight rate promotion information is selected as the target freight rate promotion information from the plurality of freight rate promotion information, that is, the freight rate promotion information corresponding to the lowest freight rate is selected as the target freight rate promotion information from the plurality of freight rate promotion information.
Optionally, the process of selecting the freight rate promotion information corresponding to the lowest freight rate from the multiple freight rate promotion information as the target freight rate promotion information specifically includes:
sequencing the freight rate promotion information according to the sequence of the freight rates from top to bottom contained in the freight rate promotion information, and taking the freight rate promotion information arranged at the tail as target freight rate promotion information;
or the like, or, alternatively,
and sequencing the freight rate promotion information according to the sequence of the freight rates from low to high contained in the freight rate promotion information, and taking the freight rate promotion information ranked at the top as target freight rate promotion information.
In the method provided by the embodiment of the invention, the target freight rate promotion information is displayed for the user.
The method for determining the freight rate promotion information, provided by the embodiment of the invention, responds to a flight inquiry request of a user, acquires user information of the user and flight information contained in the flight inquiry request, acquires original freight rate information corresponding to the flight information, searches each promotion rule matched with the user information and the flight information from a preset rule base, calculates the freight rate promotion information of the original freight rate information corresponding to each promotion rule, determines target freight rate promotion information from each piece of freight rate promotion information, and displays the target freight rate promotion information to the user. By applying the method for determining the freight rate promotion information provided by the embodiment of the invention, the corresponding relation between the user information and the flight information and the promotion rule is prestored, when a flight inquiry request of a user is received, the corresponding promotion rule is 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 being approved by a relevant department, so that the efficiency of determining the freight rate promotion information is improved, and the high-frequency and high-time-efficiency requirements required by promotion activities are met.
In the above embodiment of the present invention, the process related to step S102 disclosed in fig. 1 of querying each promotion rule matching with both the user information and the flight information from a preset rule base is as 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.
And analyzing the user information and the flight information, and extracting the data item 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.
And 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 so as to search each promotion rule matched with each data item.
In the method provided in the embodiment of the present invention, referring to fig. 3, the process of searching for each promotion rule matching each data item from a preset rule base specifically includes:
s301, determining the priority of each data item.
And determining the priority of each data item, 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 fields.
S302, judging whether a promotion rule corresponding to the data item with the highest priority exists in a preset rule base.
And searching the promotion rule corresponding to the data item with the highest priority in a preset rule base, if the promotion rule corresponding to the data item with the highest priority is not searched, judging that the promotion rule corresponding to the data item with the highest priority does not exist in the preset rule base, executing the step S303, if the promotion rule corresponding to the data item with the highest priority is searched, judging that the promotion rule corresponding to the data item with the highest priority exists in the preset rule base, and executing the step S304.
And S303, judging that the preset rule base does not have the sales promotion rule matched with each data item.
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 which is currently used for searching 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 already traversed to the last data item, and executing step S305, and if not, indicating that the current data item has not traversed to the last data item, and executing step S306.
S305, judging that the sales promotion rule matched with each data item exists in the 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 the promotion rule corresponding to the data item with the next priority exists in the target promotion rule.
And searching for a promotion rule corresponding to the data item of the next priority in the target promotion rule according to the data item of the next priority, wherein the data item of the next priority is used for indicating the data item of the next priority of the priority corresponding to the current data item, if the promotion rule corresponding to the data item of the next priority is not searched for from the target promotion rule, determining that the promotion rule corresponding to the data item of the next priority does not exist in the target promotion rule, executing step S303, if the promotion rule corresponding to the data item of the next priority is searched for from the target promotion rule, determining that the promotion rule corresponding to the data item of the next priority exists in the target promotion rule, and executing step S304.
In the method for determining the freight rate promotion information, 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 a preset rule base.
In the above embodiment of the present invention, after the step S106 disclosed in fig. 1 shows the target freight rate promotion information to the user, the flowchart is shown in fig. 4, and the method may further include the following steps:
s401, responding to the order request of the user to the air ticket corresponding to the target freight rate promotion information, and acquiring the 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, the request is responded, and the freight rate information corresponding to the air ticket is obtained.
S402, searching each first promotion rule 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 user information and the flight information corresponding to 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 each promotion rule matching with both the user information and the flight information from the preset rule base mentioned in step S102, and is not described herein again.
And S403, calculating the freight rate promotion information of the freight rate information corresponding to the air ticket according to each searched first promotion rule, and obtaining the freight rate promotion information corresponding to each first promotion rule.
It should be noted that. The specific implementation process of step S403 is as described in step S105, and is not described herein 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 the ticket drawing operation after the user pays the order information.
And if the freight rate promotion information corresponding to the lowest freight rate is consistent with the target freight rate promotion information in comparison, generating order information, and executing the ticket drawing operation after the user pays for 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 an 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 based on the flight information and the user information corresponding to the air ticket, the freight rate promotion information of the lowest freight rate is compared with the target freight rate promotion information, and the accuracy of determining the target freight rate information is improved.
The above embodiment of the present invention, after the user pays for the order information in step S406 disclosed in fig. 1, the flowchart shown in fig. 5 may further include the following steps:
s501, analyzing order information, and acquiring a data item corresponding to each preset parameter.
And S502, converting the format of each data item according to a preset data format.
S503, storing each data item after format conversion into a storage position corresponding to the preset parameter corresponding to the data item.
In the method provided by the embodiment of the present invention, after a user pays for order information, the process of storing the order information in an airline e-commerce system and storing the order information in the airline e-commerce system includes: analyzing the order information, acquiring a data item 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 to a storage position corresponding to the corresponding preset parameter.
Although the 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. Under 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. Moreover, 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 described in fig. 1, an embodiment of the present invention further provides a system for determining freight rate promotion information, which is used for implementing the method in fig. 1 specifically, and a schematic structural diagram of the system 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, each promotion rule that matches 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;
a first display unit 604, 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.
The freight rate promotion information determining device provided by the embodiment of the invention responds to the flight inquiry request of the user, acquires the user information of the user and the flight information contained in the flight inquiry request, acquires the original freight rate information corresponding to the flight information, searches each promotion rule matched with the user information and the flight information from a preset rule base, calculates the freight rate promotion information of the original freight rate information corresponding to each promotion rule, determines the target freight rate promotion information from each freight rate promotion information, and displays the target freight rate promotion information 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 rule is pre-stored, when a flight inquiry request of a user is received, the corresponding promotion rule is 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 being approved by a relevant department, so that the freight rate promotion information determining efficiency is improved, and the high-frequency and high-time-efficiency requirements required by promotion activities are met.
In an embodiment of the present invention, based on the foregoing solution, the second obtaining unit 602 is configured to:
the analysis subunit is used for analyzing the user information and the flight information and extracting a data item 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 an embodiment of the present invention, based on the foregoing solution, the searching subunit performs, from a preset rule base, searching for each promotion rule matching each of the data items, to:
determining a priority for 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 with the next priority from the target promotion rules;
and if the promotion rule corresponding to the data item with the next priority is found, taking each found promotion rule as a target promotion rule, and returning to execute the step of finding the promotion rule corresponding to the data item with the next priority from each target promotion rule until all the data items are traversed.
In one embodiment of the present invention, based on the above solution, the first presentation unit 604 performs the step of determining the target freight rate promotion information from the respective freight rate promotion information, for:
and if the freight rate promotion information is multiple, selecting the freight rate promotion information corresponding to the lowest freight rate from the multiple freight rate promotion information as target freight rate promotion information.
And if the freight rate promotion information is not a plurality of pieces, taking the freight rate promotion information as the target freight rate promotion information.
In an embodiment of the present invention, based on the foregoing solution, the method may further include:
a third obtaining unit, configured to respond to an order request of the air ticket corresponding to the target freight rate promotion information from the user, and obtain 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 the freight rate promotion information of the freight rate information corresponding to the air ticket according to each searched first promotion rule and obtaining the freight rate promotion information corresponding to each first promotion rule;
the determining unit is used for determining the freight rate promotion information corresponding to the lowest freight rate from the 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 generating unit is used for generating order information if the comparison is consistent, and executing the ticket drawing operation after the user pays the order information.
In an embodiment of the present invention, based on the foregoing solution, the method may further include:
the analysis unit is used for analyzing the order information and acquiring a data item 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 an embodiment of the present invention, based on the foregoing solution, the method may further include:
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 present invention further provides a storage medium, where the storage medium includes a stored instruction, where when the instruction runs, the apparatus where the storage medium is located is controlled to 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 the 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.
An electronic device is provided in an embodiment of the present invention, and its structural diagram is shown in fig. 7, which specifically includes a memory 701 and one or more instructions 702, where the one or more instructions 702 are stored in the memory 701, and are configured to be executed by one or more processors 703 to perform the following operations according to the one or more instructions 702:
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 the 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 disclosed as example forms of implementing the claims.
While several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
The foregoing description is only exemplary of the preferred embodiments of the present disclosure and is provided for the purpose of illustrating the general principles of the technology. It will be appreciated by those skilled in the art that the scope of the disclosure herein disclosed is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit and scope of the present disclosure. For example, the above features and (but not limited to) the features with similar functions disclosed in the disclosure of the present invention are mutually replaced to form the technical solution.
In the detailed description section, this application will repeat, in part, all of the claims as issued:
in accordance with one or more embodiments disclosed herein, fig. 1 provides a method for determining freight promotion 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, and searching each promotion rule matched with the user information and the flight information from a preset rule base; calculating the 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 multiple, selecting the freight rate promotion information corresponding to the lowest freight rate from the multiple freight rate promotion information as target freight rate promotion information; and if the freight rate promotion information is not a plurality of pieces, taking the freight rate promotion information as the 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.
FIG. 2 provides another method of determining freight promotion information, in accordance with one or more embodiments disclosed herein, including: analyzing the user information and the flight information, and extracting a data item corresponding to each preset key field from the user information and the flight information; and searching each promotion rule matched with each data item from a preset rule base.
FIG. 3 provides another method for determining freight promotion information, in accordance with one or more embodiments disclosed herein, including: determining a priority for 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 with the next priority from the target promotion rules; and if the promotion rule corresponding to the data item with the next priority is found, taking each found promotion rule as a target promotion rule, and returning to execute the step of finding the promotion rule corresponding to the data item with the next priority from each target promotion rule until all the data items are traversed.
FIG. 4 provides another method of determining freight promotion information, in accordance with one or more embodiments disclosed herein, including: responding to the order request of the user to 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 the freight rate promotion information of the freight rate information corresponding to the air ticket according to each searched first promotion rule, and obtaining the freight rate promotion information corresponding to each first promotion rule; determining the freight rate promotion information corresponding to the lowest freight rate from the 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; and if the comparison is consistent, generating order information, and executing ticket drawing operation after the user pays for the order information.
FIG. 5 provides another method for determining freight promotion information, in accordance with one or more embodiments disclosed herein, including: analyzing the order information to obtain a data item corresponding to each preset parameter; carrying out 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.
Fig. 6 provides a freight promotion information determination apparatus, according to one or more embodiments disclosed herein, including: the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein 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 the 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 (10)

1. A method for 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, and searching each promotion rule matched with the user information and the flight information from a preset rule base;
calculating the 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.
2. The method of claim 1, wherein the querying the preset rule base for each promotion rule matching both the user information and the flight information comprises:
analyzing the user information and the flight information, and extracting a data item corresponding to each preset key field from the user information and the flight information;
and searching each promotion rule matched with each data item from a preset rule base.
3. The method of claim 2, wherein said searching for the promotion rule matching each of the data items from a predetermined rule base comprises:
determining a priority for 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 with the next priority from the target promotion rules;
and if the promotion rule corresponding to the data item with the next priority is found, taking each found promotion rule as a target promotion rule, and returning to execute the step of finding the promotion rule corresponding to the data item with the next priority from each target promotion rule until all the data items are traversed.
4. The method of claim 1, wherein said determining a target freight rate promotion information from each of said freight rate promotions comprises:
if the freight rate promotion information is multiple, selecting the freight rate promotion information corresponding to the lowest freight rate from the multiple freight rate promotion information as target freight rate promotion information;
and if the freight rate promotion information is not a plurality of pieces, taking the freight rate promotion information as the target freight rate promotion information.
5. The method of claim 1, wherein after presenting the target rate promotional information to the user, further comprising:
responding to the order request of the user to 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 the freight rate promotion information of the freight rate information corresponding to the air ticket according to each searched first promotion rule, and obtaining the freight rate promotion information corresponding to each first promotion rule;
determining the freight rate promotion information corresponding to the lowest freight rate from the 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;
and if the comparison is consistent, generating order information, and executing ticket drawing operation after the user pays for the order information.
6. The method of claim 5, wherein after the performing a ticketing operation after the user pays for the order information, further comprising:
analyzing the order information to obtain a data item corresponding to each preset parameter;
carrying out 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.
7. The method of 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.
8. An apparatus for determining freight rate promotional information, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein 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 the 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.
9. A storage medium comprising stored instructions, wherein the instructions, when executed, control a device on which the storage medium is located to perform the method of determining freight rate promotion information according to any one of claims 1 to 7.
10. 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 any one of claims 1 to 7.
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 true CN111913991A (en) 2020-11-10
CN111913991B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN111913991B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN105608113B (en) Judge the method and device of POI data in text
US10437709B2 (en) Mobile application optimization platform
US20190065455A1 (en) Intelligent form creation
CN112184290A (en) Information recommendation method and device, electronic equipment and storage medium
CN110381115B (en) Information pushing method and device, computer readable storage medium and computer equipment
KR101813475B1 (en) Artificial intelligence-based travel and ticket recommendation system
CN110674620A (en) Target file generation method, device, medium and electronic equipment
CN109961299A (en) The method and apparatus of data analysis
CN111460327A (en) Interest area searching method and device, storage medium and computer equipment
CN111858922A (en) Service side information query method and device, electronic equipment and storage medium
CN111913991A (en) Freight rate promotion information determining method and device, storage medium and electronic equipment
CN111866073A (en) Service site push analysis method and device, electronic equipment and storage medium
CN110674208B (en) Method and device for determining position information of user
US20170154377A1 (en) Navigation terminal, product reservation system, and method of reserving product
JP5121872B2 (en) Image search device
CN113177154A (en) Search term recommendation method and device, electronic equipment and storage medium
CN115759014A (en) Dynamic intelligent analysis method and system and electronic equipment
CN113761398B (en) Information recommendation method and device, electronic equipment and storage medium
CN113239273B (en) Method, apparatus, device and storage medium for generating text
CN115017385A (en) Article searching method, device, equipment and storage medium
CN110765370B (en) Location information storage method, recommended location query device and server
JP6979902B2 (en) Information processing equipment, information processing methods, and programs
CN112597760A (en) Method and device for extracting domain words in document
CN111263421A (en) Wireless network matching method and device, electronic equipment and storage medium
US8875136B2 (en) Methods of personalizing services via identification of common components

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