Air ticket discount amount determination method and system, electronic equipment and program product
By building air ticket discount activities and their amount pools, dynamically determining and freezing of discount amounts, the problem that discount strategies in the existing technology cannot be changed in real time is solved, and the flexibility and automated control of air ticket marketing are realized, which promotes users to place orders and saves costs.
Patent Information
- Application Number
- CN202411724733.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-04
AI Technical Summary
In the prior art, the discount strategies cannot be changed in real time during the air ticket marketing process and the promotion activities cannot be configured, resulting in users being unable to enjoy discounts in real time and being unable to facilitate users to place orders.
By pre-constructing the discount activities of air tickets within the preset period and their corresponding discount rules and amount pools, responding to ticket query requests and ticket issuance requests, dynamically determine and freeze the discount amount, and realize automated control of discount activities.
It realizes flexible discount settings for different air tickets, monitors the remaining available amount of discount activities in real time, controls freight rates automatically, saves labor costs, records the dynamics of each fund, facilitates financial settlement, and promotes users to place orders.
Smart Images

Figure CN119558908A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of air ticket purchase, and in particular to a method, system, electronic device and program product for determining an air ticket discount amount. Background Art
[0002] In the complex calculation of the current international air ticket prices, the marketing discount method usually adopted is to send fixed coupons to users. The user's coupons will expire over time. When the real user has travel needs, they cannot enjoy the discount activities in real time, and the discount activities are not truly targeted at users. Moreover, it cannot be changed at any time according to time, flight, airline, etc., and cannot achieve the effect of promoting users to place orders. Summary of the invention
[0003] The technical problem to be solved by the present disclosure is to overcome the defects in the prior art that the preferential policies in the ticket marketing process cannot be changed at any time and preferential activities cannot be configured, and to provide a method, system, electronic equipment and program product for determining the preferential amount of the ticket.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] In a first aspect, a method for determining a preferential amount of an air ticket is provided, the method comprising:
[0006] Pre-build preferential activities for air tickets within a preset time period, as well as preferential rules and amount pools corresponding to the preferential activities;
[0007] In response to a ticket query request, obtain ticket information of a number of tickets that meet the ticket query request, and determine the discount amount corresponding to the ticket according to the discount rule and the ticket information;
[0008] In response to a ticket issuance request corresponding to a target ticket, freezing a target preferential amount corresponding to the target ticket from a current remaining available amount in the amount pool;
[0009] In response to the target air ticket being successfully issued, the target preferential amount corresponding to the target air ticket is unfrozen from the currently frozen amount in the amount pool, and the preferential air ticket is issued.
[0010] Optionally, the determination method further includes:
[0011] In response to the failure of issuing the target air ticket, the target preferential amount is unfrozen from the currently frozen amount in the amount pool to return the target preferential amount to the amount pool.
[0012] Optionally, after the step of responding to the air ticket query request, acquiring the air ticket information of a plurality of air tickets that meet the air ticket query request, and determining the discount amount corresponding to the air ticket according to the discount rule and the air ticket information, the method further includes:
[0013] In response to the target preferential amount being less than or equal to the current remaining available amount in the amount pool, determining that the target air ticket participates in the preferential activity;
[0014] In response to the preferential amount being greater than the current remaining available amount in the amount pool, it is determined that the preferential activity is not satisfied and a preset operation is performed.
[0015] Optionally, before the step of freezing the target preferential amount corresponding to the target ticket from the current remaining available amount in the amount pool in response to the ticket issuance request corresponding to the target ticket, the determination method further includes:
[0016] In response to a ticket order request corresponding to the target ticket, obtaining the target discount amount corresponding to the target ticket;
[0017] In response to the preferential amount being less than or equal to the current remaining available amount in the amount pool, the order is successfully placed and the payment is skipped, and the ticket issuance request is executed after the payment is successful;
[0018] In response to the discount amount being greater than the current remaining available amount in the amount pool, it is determined that the discount activity is not satisfied, the order fails, and a preset operation is performed.
[0019] Optionally, the preferential activity is determined by configuration parameters, and the configuration parameters include at least one of terminal, channel, type, airline, region, sub-class, ticket platform, and ticket attribute.
[0020] Optionally, the determination method further includes:
[0021] In response to determining that the target air ticket does not participate in the preferential activity, a prompt message is generated.
[0022] In a second aspect, a system for determining air ticket discounts is provided, the system comprising:
[0023] A construction module is used to pre-construct preferential activities for air tickets within a preset period, as well as preferential rules and amount pools corresponding to the preferential activities;
[0024] A determination module, configured to obtain, in response to a ticket query request, ticket information of a plurality of tickets satisfying the ticket query request, and determine a discount amount corresponding to the ticket according to the discount rule and the ticket information;
[0025] a ticket issuing module, configured to respond to a ticket issuing request corresponding to a target ticket and freeze a target preferential amount corresponding to the target ticket from a current remaining available amount in the amount pool;
[0026] The ticket issuing module is further configured to, in response to the target air ticket being successfully issued, unfreeze the corresponding target preferential amount from the currently frozen amount in the amount pool, and complete preferential ticket issuance.
[0027] According to a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the method for determining the air ticket discount amount described in any one of the above items is implemented.
[0028] In a fourth aspect, a computer-readable storage medium stores a computer program, which, when executed by a processor, is a method for determining an air ticket discount amount as described in any one of the above items.
[0029] In a fifth aspect, a computer program product includes a computer program, and when the computer program is executed by a processor, the method for determining the air ticket discount amount described in any one of the above is implemented.
[0030] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.
[0031] The positive and progressive effects of the present disclosure are: by configuring the preferential rules of preferential activities and the amount pool of preferential activities, different discounts can be made for different air tickets, and the remaining available amount of preferential activities can be monitored in real time, so as to realize automatic control of freight rates, greatly save labor costs, and record the dynamics of each fund at the same time, which is convenient for financial settlement, and realizes configured marketing, supports binding with the marketing fund pool, and is convenient for operating calculation of costs and marketing activities. When the remaining available amount of marketing is insufficient, the strategy is intelligently offline, so as to make the marketing activities more flexible, so that users who really need to book flights can enjoy the corresponding discounts, and promote users to place orders. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A flowchart of a method for determining a preferential amount of an air ticket provided by an exemplary embodiment of the present disclosure;
[0033] Figure 2 An amount pool configuration interface for a preferential activity provided by an exemplary embodiment of the present disclosure;
[0034] Figure 3 An air ticket discount display interface provided for an exemplary embodiment of the present disclosure;
[0035] Figure 4An air ticket discount display interface provided for an exemplary embodiment of the present disclosure;
[0036] Figure 5 An air ticket discount display interface provided for an exemplary embodiment of the present disclosure;
[0037] Figure 6 An amount pool status interface for a preferential activity provided by an exemplary embodiment of the present disclosure;
[0038] Figure 7 A preferential display interface for placing an air ticket order provided by an exemplary embodiment of the present disclosure;
[0039] Figure 8 An air ticket discount activity configuration interface provided for an exemplary embodiment of the present disclosure;
[0040] Fig. 9 A flowchart of a method for determining a preferential amount provided by an exemplary embodiment of the present disclosure;
[0041] Fig.10 A schematic diagram of the amount pool change of a method for determining a preferential amount provided by an exemplary embodiment of the present disclosure;
[0042] Fig.11 A module diagram of a system for determining a discount amount for air tickets provided by an exemplary embodiment of the present disclosure;
[0043] Fig.12 The present invention is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0044] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.
[0045] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
[0046] Figure 1 A flowchart of a method for determining a ticket discount amount provided by an exemplary embodiment of the present disclosure, the determination method comprising:
[0047] Step 101: Pre-build preferential activities for air tickets within a preset time period, as well as preferential rules and amount pools corresponding to the preferential activities.
[0048] Specifically, it is necessary to pre-build preferential activities, which include preferential rules and the amount pool of specific preferential activities. The preferential rules can be used to determine the scope and method of air ticket discounts. Figure 2 As shown in the figure, the amount pool in the promotion includes the total amount of the promotion, the remaining available amount, the used amount and the frozen amount. The amount pool can be configured for a separate promotion, or multiple promotions can share one amount pool, and there are different states such as effective, expired, and ended.
[0049] Step 102: In response to the air ticket query request, obtain air ticket information of several air tickets that meet the air ticket query request, and determine the discount amount corresponding to the air ticket according to the discount rule and the air ticket information.
[0050] Specifically, Figures 3 to 5 As shown, when a user queries air ticket information, in response to the air ticket query request, the air ticket information of several air tickets that meet the air ticket query request is obtained, and then the corresponding air ticket is checked to see whether it meets the discount rules according to the obtained air ticket information, and then the discount amount of the air ticket is determined according to the discount rules. For example, the discount amount is 5% of the total air ticket price, or a fixed discount amount, and the result is finally sent to the user end for display.
[0051] Step 103: In response to the ticket issuance request corresponding to the target ticket, the target preferential amount corresponding to the target ticket is frozen from the current remaining available amount in the amount pool.
[0052] Specifically, the amount pool of the promotion includes the remaining available amount, frozen amount and used amount. When the user selects the air ticket and places the order and completes the payment, the corresponding air ticket issuance process will be entered. Figure 6 As shown, in response to the air ticket issuance request, the corresponding air ticket discount amount will be frozen in the current remaining available amount and deducted from the current remaining available amount.
[0053] Step 104: In response to the target air ticket being issued successfully, the corresponding target preferential amount is unfrozen from the currently frozen amount in the amount pool, and the preferential ticket issuance is completed.
[0054] In this embodiment, by configuring the preferential rules of preferential activities and the amount pool of preferential activities, different discounts can be made for different air tickets, and the remaining available amount of preferential activities can be monitored in real time to realize automatic control of freight rates, greatly saving labor costs, and at the same time recording the dynamics of each fund to facilitate financial settlement, and realize configurable marketing, support binding with the marketing fund pool, and facilitate operational calculation of costs and marketing activities. When the remaining available amount of marketing is insufficient, the strategy is intelligently offline, making the marketing activities more flexible, so that users who really need to book flights can enjoy the corresponding discounts, and promote users to place orders.
[0055] In one embodiment, the determination method further comprises, in response to a failure in issuing the target air ticket, unfreezing the target preferential amount from the currently frozen amount in the amount pool, so as to return the target preferential amount to the amount pool.
[0056] Specifically, after a user places an order, if the ordered ticket fails to be issued (for example, there are not enough tickets), the user will be prompted that the ticket has failed, and the corresponding discount amount will be unfrozen from the current frozen amount in the amount pool, and the corresponding discount amount for the ticket will be returned to the remaining available amount in the amount pool.
[0057] In this embodiment, when the ticket issuance fails, the frozen preferential amount will be returned to the amount pool, thereby ensuring that each preferential amount actually falls into each ticket issuance order, ensuring that all users can enjoy the corresponding discount.
[0058] In one embodiment, after the steps of obtaining, in response to a ticket query request, ticket information of a plurality of tickets satisfying the ticket query request, and determining the discount amount corresponding to the ticket according to the discount rule and the ticket information, the method further includes:
[0059] In response to the target discount amount being less than or equal to the current remaining available amount in the amount pool, determining that the target air ticket participates in the discount activity;
[0060] In response to the discount amount being greater than the current remaining available amount in the amount pool, it is determined that the discount activity is not satisfied and a preset operation is performed.
[0061] Specifically, in the reservation process, when the user inquires about the air ticket and determines the corresponding discount amount of the air ticket according to the discount rules and air ticket information, it is necessary to re-check whether the current remaining available amount in the amount pool is greater than or equal to the number of air tickets purchased * the discount amount corresponding to a single air ticket. If the discount amount is less than or equal to the current remaining available amount in the amount pool, then the subsequent reservation operation can be continued, that is, the specific discount amount and the discounted price of the air ticket are displayed to the user. If the discount amount is greater than the current remaining available amount in the amount pool, it means that the amount in the amount pool is insufficient, the above-mentioned air ticket does not meet the discount activity, the user interface does not display the relevant discount information, and the corresponding discount activity is offline, and the relevant personnel can be notified by email.
[0062] In this embodiment, when a query request is made, the changes in the amount pool in the discount activity can be monitored in real time to determine whether to display the discount price corresponding to the air ticket to prevent the discount amount from being insufficient and the user from not enjoying the corresponding discount amount when placing an order. When the remaining available amount in the amount pool is insufficient, the corresponding discount activity can be intelligently taken offline.
[0063] In one embodiment, before the step of freezing the target preferential amount corresponding to the target ticket from the current remaining available amount in the amount pool in response to the ticket issuance request corresponding to the target ticket, the determination method further includes:
[0064] In response to a ticket order request corresponding to a target ticket, obtaining a target discount amount corresponding to the target ticket;
[0065] In response to the discount amount being less than or equal to the current remaining available amount in the amount pool, the order is placed successfully and the payment is redirected. After the payment is successful, the ticket issuance request is executed;
[0066] In response to the discount amount being greater than the current remaining available amount in the amount pool, it is determined that the discount activity is not satisfied, the order fails, and a preset operation is performed.
[0067] Specifically, Figure 7 As shown, when the user places an order, the air ticket price information and the discounted price will be displayed. After the user places the order, the discount amount needs to be verified again. At this time, if the discount amount at the time of ordering is less than or equal to the current remaining available amount in the amount pool, the order is successful and jumps to payment. After the payment is successful, the ticket issuance request is executed. If the discount amount at the time of ordering is greater than the current remaining available amount in the amount pool, it is determined that the discount activity is not met, the order fails, and the user is prompted. In addition, the corresponding discount activity will be offline, and relevant personnel will be notified by email.
[0068] In this embodiment, when placing an order and paying, it will be determined again whether the discount amount is less than the current remaining available amount in the amount pool. When the remaining available amount is insufficient, the user can be prompted that the discount conditions are not met to prevent the discount amount from exceeding the total discount amount in the predetermined amount pool, and the corresponding discount activities can be intelligently offline.
[0069] In one embodiment, the preferential rules in the preferential activities can be determined by configuration parameters, and the configuration parameters include at least one of the terminal, channel, type, airline, region, sub-class, ticket platform, and ticket attributes.
[0070] Specifically, Figure 8 As shown, the preferential rules in the preferential activities can be determined by configuring parameters, and the configured parameters include at least one of the terminal, channel, type, airline, region, sub-class, ticket platform, and ticket attribute. The configuration center can configure multiple preferential activities at the same time, and multiple preferential activities can also be configured for the same ticket. When determining the preferential amount, the maximum preferential amount can be automatically determined.
[0071] In one embodiment, the determination method further includes generating prompt information in response to determining that the target air ticket does not participate in the preferential activity.
[0072] Specifically, when the air ticket does not meet the discount requirement or the discount is closed, the user requests the discount amount again and a prompt message is displayed to the user.
[0073] The entire purchasing process is as follows: Fig. 9 As shown, after the user inquires, the query engine resources for individual travelers will be called, and the discount strategy will be queried (i.e., the discount strategy control in the figure). When inquiring about air tickets, the number of people traveling will be used to determine whether the remaining available amount > number of people traveling (queried) * single person deduction amount. If not, the original price will be displayed, and the discount strategy will be offline (i.e., the fee fund pool will be offline for processing). If it is satisfied, the discounted price will be calculated and displayed. When submitting an order, it will check again whether the conditions are met. If not, an error will be returned (prompt: Sorry, the price of the flight you selected has changed, please check the resources again and rebook). If it is satisfied, the amount will be frozen. The order status and amount pool status changes after placing an order are as follows: Fig.10 As shown in the figure, taking the order with a discount of 100 yuan as an example, the amount pool is 2,300 yuan, the current frozen amount is 200 yuan, and the current used amount is 100 yuan. When the order has been paid, the current frozen amount is 300 yuan, and the current remaining available amount is 1,900 yuan; when the order has been issued, the current remaining available amount is 1,900 yuan, the current frozen amount is 200, and the current used amount is 200 yuan. When the ticket has been refunded or cancelled, it will be restored to the previous state, the current remaining available amount is 2,000 yuan, the current frozen amount is 200 yuan, and the current used amount is 100 yuan.
[0074] Corresponding to the aforementioned embodiment of the method for determining the air ticket discount amount, the present disclosure also provides an embodiment of a system for determining the air ticket discount amount.
[0075] Fig.11 A module diagram of a system for determining a discount amount for air tickets provided by an exemplary embodiment of the present disclosure, the system comprising:
[0076] Construction module 1 is used to pre-build preferential activities for air tickets within a preset period of time, as well as preferential rules and amount pools corresponding to the preferential activities;
[0077] Determination module 2, for responding to the air ticket query request, obtaining the air ticket information of several air tickets that meet the air ticket query request, and determining the discount amount corresponding to the air ticket according to the discount rules and the air ticket information;
[0078] The ticket issuing module 3 is used to respond to the ticket issuing request corresponding to the target ticket and freeze the target preferential amount corresponding to the target ticket from the current remaining available amount in the amount pool;
[0079] The ticket issuing module 3 is further used to unfreeze the corresponding target preferential amount from the currently frozen amount in the amount pool in response to the successful issuance of the target air ticket, and complete the preferential ticket issuance.
[0080] In one embodiment, the ticket issuing module is further configured to, in response to a failure in issuing the target air ticket, unfreeze the target preferential amount from the currently frozen amount in the amount pool, so as to return the target preferential amount to the amount pool.
[0081] In one embodiment, the determination module is further configured to determine whether the target air ticket participates in the preferential activity in response to the target preferential amount being less than or equal to the current remaining available amount in the amount pool.
[0082] The determination module is also used to determine that the preferential activity is not satisfied and execute a preset operation in response to the preferential amount being greater than the current remaining available amount in the amount pool.
[0083] In one embodiment, the system further includes an order placing module, the order placing module being used to respond to a ticket order placing request corresponding to the target ticket and obtain a target discount amount corresponding to the target ticket;
[0084] The order module is also used to respond to the discount amount being less than or equal to the current remaining available amount in the amount pool, successfully place the order and jump to payment, and execute the ticket issuance request after the payment is successful.
[0085] The order placement module is also used to respond to the discount amount being greater than the current remaining available amount in the amount pool, determine that the discount activity is not satisfied, fail to place the order and execute a preset operation.
[0086] In one embodiment, the system further includes a discount configuration module, which is used to configure discount activities through configuration parameters, and the configuration parameters include at least one of terminal, channel, type, airline, region, sub-class, ticket platform, and ticket attributes.
[0087] In one embodiment, the system further comprises a prompt module; the prompt module is used to generate prompt information in response to determining that the target air ticket does not participate in the preferential activity.
[0088] In this embodiment, by configuring the preferential rules of the preferential activities and the amount pool of the preferential activities, different discounts can be made for different air tickets, and when the user places an order, the remaining available amount of the preferential activities can be monitored in real time, thereby making the marketing activities more flexible and allowing users who really need to book flights to enjoy the corresponding discounts, thereby promoting users to place orders, and at the same time recording the dynamics of each fund to facilitate financial settlement.
[0089] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.
[0090] Fig.12 This is a structural diagram of an electronic device shown in an example embodiment of the present disclosure, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, the method for determining the air ticket discount amount described in any of the above embodiments is implemented. Fig.12 The electronic device 80 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0091] like Fig.12 As shown, the electronic device 80 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 80 may include, but are not limited to: at least one processor 81, at least one memory 82, and a bus 83 connecting different system components (including the memory 82 and the processor 81).
[0092] The bus 83 includes a data bus, an address bus, and a control bus.
[0093] The memory 82 may include a volatile memory, such as a random access memory (RAM) 821 and / or a cache memory 822 , and may further include a read-only memory (ROM) 823 .
[0094] The memory 82 may also include a program tool 825 (or utility) having a set (at least one) of program modules 824, such program modules 824 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0095] The processor 81 executes various functional applications and data processing by running the computer program stored in the memory 82, such as the method for determining the air ticket discount amount provided in any of the above embodiments.
[0096] The electronic device 80 can also communicate with one or more external devices 84 (e.g., keyboards, pointing devices, etc.). This communication can be performed through an input / output (I / O) interface 85. In addition, the electronic device 80 can also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs) and / or public networks, such as the Internet) through a network adapter 86. As shown in the figure, the network adapter 86 communicates with other modules of the electronic device 80 through a bus 83. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 80, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0097] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0098] The embodiments of the present disclosure also provide a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the method for determining the air ticket discount amount provided in any of the above embodiments is implemented.
[0099] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0100] The embodiment of the present disclosure also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for determining the air ticket discount amount.
[0101] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0102] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.
Claims
1. A method for determining a preferential amount of an air ticket, characterized in that: The determination method comprises: Pre-build preferential activities for air tickets within a preset time period, as well as preferential rules and amount pools corresponding to the preferential activities; In response to a ticket query request, obtain ticket information of a number of tickets that meet the ticket query request, and determine the discount amount corresponding to the ticket according to the discount rule and the ticket information; In response to a ticket issuance request corresponding to a target ticket, freezing a target preferential amount corresponding to the target ticket from a current remaining available amount in the amount pool; In response to the target air ticket being successfully issued, the target preferential amount corresponding to the target air ticket is unfrozen from the currently frozen amount in the amount pool, and the preferential air ticket is issued.
2. The determination method according to claim 1, characterized in that: The determination method further comprises: In response to the failure of issuing the target air ticket, the target preferential amount is unfrozen from the currently frozen amount in the amount pool to return the target preferential amount to the amount pool.
3. The determination method according to claim 1, characterized in that: After the step of responding to the air ticket query request, acquiring the air ticket information of a plurality of air tickets that meet the air ticket query request, and determining the discount amount corresponding to the air ticket according to the discount rule and the air ticket information, the method further includes: In response to the target preferential amount being less than or equal to the current remaining available amount in the amount pool, determining that the target air ticket participates in the preferential activity; In response to the preferential amount being greater than the current remaining available amount in the amount pool, it is determined that the preferential activity is not satisfied and a preset operation is performed.
4. The determination method according to claim 1, characterized in that: Before the step of freezing the target preferential amount corresponding to the target ticket from the current remaining available amount in the amount pool in response to the ticket issuance request corresponding to the target ticket, the determination method further includes: In response to a ticket order request corresponding to the target ticket, obtaining the target discount amount corresponding to the target ticket; In response to the preferential amount being less than or equal to the current remaining available amount in the amount pool, the order is successfully placed and the payment is skipped, and the ticket issuance request is executed after the payment is successful; In response to the discount amount being greater than the current remaining available amount in the amount pool, it is determined that the discount activity is not satisfied, the order fails, and a preset operation is performed.
5. The determination method according to any one of claims 1 to 4, characterized in that: The preferential activity is determined by configuration parameters, and the configuration parameters include at least one of terminal, channel, type, airline, region, sub-class, ticket platform, and ticket attribute.
6. The determination method according to claim 3 or 4, characterized in that: The determination method further comprises: In response to determining that the target air ticket does not participate in the preferential activity, a prompt message is generated.
7. A system for determining air ticket discounts, characterized in that: The determination system comprises: A construction module is used to pre-construct preferential activities for air tickets within a preset period, as well as preferential rules and amount pools corresponding to the preferential activities; A determination module, configured to obtain, in response to a ticket query request, ticket information of a plurality of tickets satisfying the ticket query request, and determine a discount amount corresponding to the ticket according to the discount rule and the ticket information; a ticket issuing module, configured to respond to a ticket issuing request corresponding to a target ticket and freeze a target preferential amount corresponding to the target ticket from a current remaining available amount in the amount pool; The ticket issuing module is further configured to, in response to the target air ticket being successfully issued, unfreeze the corresponding target preferential amount from the currently frozen amount in the amount pool, and complete preferential ticket issuance.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the method for determining the air ticket discount amount according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for determining the air ticket discount amount according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for determining the air ticket discount amount according to any one of claims 1 to 6 is implemented.