Air ticket cabin rising method and device based on cabin rising coupon, electronic equipment and storage medium

Through the air ticket upgrade method based on upgrade vouchers, users can upgrade at any time node, solving the problem of time limitations in the existing technology, and enhancing the market competitiveness of airlines through differentiated pricing mechanisms.

CN119831678APending Publication Date: 2025-04-15TRAVELSKY TECHNOLOGY LIMITED
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411812695.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, upgrade services are limited by time, and users can only upgrade at specific time nodes, and there is a lack of a mechanism for differentiated pricing based on multi-dimensional factors, which limits the ability of airlines to adjust prices.

Method used

Through the air ticket upgrade method based on upgrade vouchers, users can upgrade at any time node. The system deducts pre-purchased upgrade vouchers and configures the upgrade vouchers price according to multiple dimension factors to achieve differentiated pricing.

Benefits of technology

The flexibility of upgrading is improved, and users can upgrade at any time, which improves the upgrade processing efficiency and enhances the airline's ability to adjust prices according to market and sales strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119831678A_ABST
    Figure CN119831678A_ABST
Patent Text Reader

Abstract

The invention discloses an air ticket cabin rising method and device based on a cabin rising coupon, electronic equipment and a storage medium, and relates to the technical field of aviation information or other related technical fields, and the method comprises the steps: obtaining a target cabin rising coupon selected by a target user, and determining a flight identifier of a target flight to be subjected to cabin rising of the target user; obtaining state information, cabin rising quota data and cabin rising records of the target flight, and querying cabin space data of the target flight; a target shipping space is determined based on the target rising ticket, the number of remaining seats of the target shipping space is extracted from the shipping space data, rising quota data of the target shipping space is extracted from rising quota data of the target flight, and rising records of the target shipping space are extracted from rising records of the target flight; and based on the remaining seat number of the target shipping space, the lifting limit data and the lifting record, carrying out lifting processing on the target user. According to the invention, the technical problem that a user can only select an air ticket for cabin lifting at a specific time node and the cabin lifting flexibility is low in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of aviation information technology, and in particular to a ticket upgrade method and device based on an upgrade voucher, an electronic device and a storage medium. Background Art

[0002] With the vigorous development of the aviation industry and the increasing requirements of passengers for comfort and service quality, upgrade services have attracted widespread attention as an important means to improve passenger experience and increase airline revenue. Upgrade services allow passengers to upgrade their purchased lower-class tickets to higher-class cabins before or during the flight, such as from economy class to business class or first class, so as to enjoy more spacious seats, better catering services, richer entertainment systems and other value-added services.

[0003] In the related art, due to flight initialization, the upgrade service is often subject to time restrictions. Users can only upgrade within a specific time node, including within a specific time window before the flight takes off. This is usually processed by the reservation system before the flight is initialized, or by the departure system after the flight is initialized, which limits the flexibility of the upgrade and cannot meet the needs of passengers at different time points. In addition, the upgrade price in the related art is usually determined based on the price difference before and after the upgrade and a fixed handling fee. There is a lack of a mechanism for differentiated pricing based on multi-dimensional factors, which limits the ability of airlines to adjust prices based on market and sales strategies.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a ticket upgrade method and device based on an upgrade coupon, an electronic device and a storage medium, so as to at least solve the technical problem in the related art that a user can only choose a ticket upgrade at a specific time point and the upgrade flexibility is low.

[0006] According to one aspect of an embodiment of the present invention, a method for upgrading an air ticket based on an upgrade coupon is provided, comprising: receiving an upgrade request from a user terminal, acquiring a target upgrade coupon selected by a target user based on the upgrade request, and determining the flight identifier of a target flight to be upgraded by the target user, wherein upgrading based on the target upgrade coupon is not restricted by whether the flight is initialized; acquiring status information, upgrade limit data, and upgrade records of the target flight based on the flight identifier, and querying cabin data of the target flight based on the status information; determining a target cabin to be upgraded by the target user based on the target upgrade coupon, and extracting the remaining number of seats of the target cabin from the cabin data, extracting the upgrade limit data of the target cabin from the upgrade limit data of the target flight, and extracting the upgrade record of the target cabin from the upgrade record of the target flight; performing upgrade processing on the target user based on the remaining number of seats of the target cabin, the upgrade limit data, and the upgrade record, generating an upgrade result, and returning the upgrade result to the user terminal.

[0007] Optionally, the step of querying the cabin data of the target flight based on the status information includes: when the status information indicates that the target flight is in an uninitialized state, querying the cabin data of the target flight through a reservation system, wherein the cabin data at least includes: cabin type, cabin grade, and the number of remaining seats of each type of cabin; or, when the status information indicates that the target flight is in an initialized state, querying the cabin data of the target flight through the reservation system and the departure system respectively to obtain first cabin data and second cabin data of the target flight; integrating the first cabin data and the second cabin data to obtain the cabin data of the target flight.

[0008] Optionally, the step of integrating the first class space data and the second class space data includes: comparing the remaining number of seats of each type of class space in the first class space data with the remaining number of seats of each type of class space in the second class space data to obtain a comparison result; selecting the minimum value of the remaining number of seats of each type of class space as the remaining number of seats of each type of class space of the target flight according to the comparison result; integrating the remaining number of seats of each type of class space of the target flight with the class type and class level of the second class space data to obtain the class space data of the target flight.

[0009] Optionally, the step of performing an upgrade process for the target user based on the remaining number of seats in the target class, the upgrade limit data and the upgrade record includes: when the remaining number of seats in the target class is greater than a preset seat base, counting the number of upgrade records of the target flight based on the upgrade records of the target flight; comparing the upgrade limit data with the number of upgrade records to obtain a comparison result; when the comparison result indicates that the number of upgrade records is less than the upgrade limit data, determining that the target class meets the upgrade conditions, and performing an upgrade process for the target user; or, when the comparison result indicates that the number of upgrade records is greater than or equal to the upgrade limit data, determining that the target class does not meet the upgrade conditions, and prompting the user terminal that the upgrade fails.

[0010] Optionally, after obtaining the target upgrade coupon selected by the target user based on the upgrade request, the method further includes: verifying the target upgrade coupon to obtain a verification result; and freezing the target upgrade coupon of the target user when the verification result indicates that the target upgrade coupon has passed the verification.

[0011] Optionally, after generating an upgrade result and returning the upgrade result to the user terminal, the method further includes: when the upgrade result indicates that the target user fails to be upgraded, unfreezing the frozen target upgrade coupon; or, when the upgrade result indicates that the target user is successfully upgraded, recovering the frozen target upgrade coupon.

[0012] Optionally, before receiving the upgrade request from the user terminal, the method further includes: configuring the upgrade coupon based on the upgrade coupon configuration rules, wherein upgrade coupons of different prices are configured based on different types of upgrade coupon configuration rules, and the upgrade coupon configuration rules include multiple rule fields, and the rule fields include at least one of the following: upgrade coupon usage channel, passenger type, passenger class, flight operation time, applicable route, applicable flight number, cabin type before upgrade, cabin type after upgrade, and upgrade coupon validity period.

[0013] According to another aspect of an embodiment of the present invention, there is also provided a device for upgrading an air ticket based on an upgrade coupon, comprising: a receiving unit, configured to receive an upgrade request from a user terminal, obtain a target upgrade coupon selected by a target user based on the upgrade request, and determine the flight identifier of a target flight to be upgraded by the target user, wherein the upgrade based on the target upgrade coupon is not restricted by the state of whether the flight is initialized; a query unit, configured to obtain the state information, upgrade limit data and upgrade record of the target flight based on the flight identifier, and query the cabin data of the target flight based on the state information; an extraction unit, configured to determine the target cabin to be upgraded by the target user based on the target upgrade coupon, and extract the remaining number of seats of the target cabin from the cabin data, extract the upgrade limit data of the target cabin from the upgrade limit data of the target flight, and extract the upgrade record of the target cabin from the upgrade record of the target flight; a processing unit, configured to perform upgrade processing on the target user based on the remaining number of seats of the target cabin, the upgrade limit data and the upgrade record, generate an upgrade result, and return the upgrade result to the user terminal.

[0014] Optionally, the query unit includes: a first query module, used to query the cabin data of the target flight through the reservation system when the status information indicates that the target flight is in an uninitialized state, wherein the cabin data at least includes: cabin type, cabin grade, and the number of remaining seats in each type of cabin; a second query module, used to query the cabin data of the target flight through the reservation system and the departure system respectively when the status information indicates that the target flight is in an initialized state, so as to obtain the first cabin data and the second cabin data of the target flight; a first integration module, used to integrate the first cabin data and the second cabin data to obtain the cabin data of the target flight.

[0015] Optionally, the first integration module includes: a first comparison submodule, used to compare the remaining number of seats of each type of class in the first class data with the remaining number of seats of each type of class in the second class data to obtain a comparison result; a first selection submodule, used to select the minimum value of the remaining number of seats of each type of class as the remaining number of seats of each type of class for the target flight based on the comparison result; and a first integration submodule, used to integrate the remaining number of seats of each type of class of the target flight with the class type and class grade of the second class data to obtain the class data of the target flight.

[0016] Optionally, the processing unit includes: a first statistical module, used to count the number of upgrade records of the target flight based on the upgrade records of the target flight when the number of remaining seats in the target class is greater than a preset seat base; a first comparison module, used to compare the upgrade limit data with the number of upgrade records to obtain a comparison result; a first determination module, used to determine that the target class meets the upgrade conditions and upgrades the target user when the comparison result indicates that the number of upgrade records is less than the upgrade limit data; and a second determination module, used to determine that the target class does not meet the upgrade conditions and prompt the user terminal of the upgrade failure when the comparison result indicates that the number of upgrade records is greater than or equal to the upgrade limit data.

[0017] Optionally, the receiving unit includes: a first verification module, used to verify the target upgrade coupon to obtain a verification result; and a first freezing module, used to freeze the target upgrade coupon of the target user if the verification result indicates that the target upgrade coupon has passed the verification.

[0018] Optionally, the ticket upgrade device based on the upgrade coupon also includes: a first cancellation module, used to unfreeze the frozen target upgrade coupon when the upgrade result indicates that the target user has failed to be upgraded; and a first recovery operation, used to recover the frozen target upgrade coupon when the upgrade result indicates that the target user has been successfully upgraded.

[0019] Optionally, the ticket upgrade device based on upgrade coupons also includes: a first configuration module, used to configure the upgrade coupon based on upgrade coupon configuration rules, wherein upgrade coupons of different prices are configured based on different types of upgrade coupon configuration rules, and the upgrade coupon configuration rules include multiple rule fields, and the rule fields include at least one of the following: upgrade coupon usage channel, passenger type, passenger grade, flight operation time, applicable route, applicable flight number, cabin type before upgrade, cabin type after upgrade, and upgrade coupon validity period.

[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned ticket upgrade methods based on upgrade coupons.

[0021] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned methods for upgrading air tickets based on upgrade coupons.

[0022] In the present application, the following steps are performed: receiving an upgrade request from a user terminal, obtaining a target upgrade coupon selected by a target user based on the upgrade request, and determining the flight identifier of a target flight to be upgraded by the target user, wherein upgrading based on the target upgrade coupon is not restricted by whether the flight is initialized, obtaining the status information, upgrade limit data and upgrade record of the target flight based on the flight identifier, and querying the cabin data of the target flight based on the status information, then determining the target cabin to be upgraded by the target user based on the target upgrade coupon, extracting the remaining number of seats in the target cabin from the cabin data, extracting the upgrade limit data of the target cabin from the upgrade limit data of the target flight, and extracting the upgrade record of the target cabin from the upgrade record of the target flight, and finally performing upgrade processing on the target user based on the remaining number of seats in the target cabin, the upgrade limit data and the upgrade record, generating an upgrade result, and returning the upgrade result to the user terminal.

[0023] In the present application, flight upgrades are processed through upgrade coupons. When users upgrade, they can use the pre-purchased upgrade coupons to deduct the value. The upgrade coupon deduction is not restricted by the flight status and can be used at any time point, thus achieving the technical effect of flexible upgrades and improving the efficiency of upgrade processing, thereby solving the technical problem in related technologies that users can only choose to upgrade their tickets at specific time points and have low upgrade flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0025] Figure 1 is a flow chart of an optional ticket upgrade method based on an upgrade coupon according to an embodiment of the present invention;

[0026] Figure 2 is a schematic diagram of an optional ticket upgrade system based on an upgrade voucher according to an embodiment of the present invention;

[0027] Figure 3 is a workflow diagram of an optional upgrade data query module according to an embodiment of the present invention;

[0028] Figure 4 is a workflow diagram of an optional upgrade voucher upgrade quota control module according to an embodiment of the present invention;

[0029] Figure 5 is a workflow diagram of an optional cabin upgrade module according to an embodiment of the present invention;

[0030] Figure 6is a schematic diagram of an optional ticket upgrade device based on an upgrade coupon according to an embodiment of the present invention;

[0031] Figure 7 The present invention is a hardware structure block diagram of an electronic device (or mobile device) for executing a ticket upgrade method based on an upgrade coupon according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] To facilitate those skilled in the art to understand the present invention, some terms or nouns involved in the embodiments of the present invention are explained below:

[0035] Passenger Name Record, or PNR for short, is used to store and manage all information related to passenger reservations.

[0036] The Ebui ld interface is a system interface used by airlines to process electronic tickets and electronic miscellaneous documents (EMDs). It is mainly used to build, update and manage these electronic documents.

[0037] ASVC, short for Airline Service Voucher Code, is a special code used by airlines to identify and manage specific air services or fees in a passenger's PNR.

[0038] Electronic Miscel laneous Document, referred to as EMD, is used to record and manage air transportation related fees and services other than air tickets, such as baggage fees, in-flight meal reservations, seat selection fees, upgrade fees, etc.

[0039] It should be noted that the ticket upgrade method based on upgrade coupons and the device thereof in the present application can be used in the field of aviation information technology. When the ticket is upgraded based on the upgrade coupon, it can also be used in any field except the field of blockchain technology. When the ticket is upgraded based on the upgrade coupon, the application field of the ticket upgrade method based on upgrade coupons and the device thereof is not limited in the present application.

[0040] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0041] It should be noted that in this application, when collecting and analyzing customer information, corresponding operation entrances are provided for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.

[0042] The following embodiments of the present invention can be applied to various ticket upgrade systems / applications / devices based on upgrade coupons. The present invention proposes a strategy for using upgrade coupons for upgrades, by selling upgrade coupons in advance. When upgrading, passengers directly select the upgrade coupons bound to their accounts for deduction. The upgrade coupons sold in advance can be sold at different prices according to the applicable flights and the different conditions of the passengers. During use, the number of upgrades on the same flight can also be controlled. It can not only achieve differentiated formulation of upgrade prices, but also effectively control the use of products to avoid overselling. When upgrading, it is determined whether the upgrade time is before or after the flight initialization, and different remaining seat judgment logics are selected. User upgrades are not restricted by time nodes, which improves the efficiency and flexibility of upgrade processing.

[0043] The present invention is described in detail below in conjunction with various embodiments.

[0044] Embodiment 1

[0045] According to an embodiment of the present invention, an embodiment of a method for upgrading an air ticket based on an upgrade coupon is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0046] Figure 1 is a flow chart of an optional ticket upgrade method based on an upgrade voucher according to an embodiment of the present invention. The implementation subject of the ticket upgrade method based on an upgrade voucher in the embodiment of the present invention is a ticket upgrade system based on an upgrade voucher, such as Figure 1 As shown, the ticket upgrade method based on the upgrade coupon includes the following steps:

[0047] Step S101, receiving an upgrade request from a user terminal, obtaining a target upgrade coupon selected by a target user based on the upgrade request, and determining a flight identifier of a target flight to be upgraded by the target user.

[0048] It should be noted that the embodiment of the present invention supports pre-customization and sale of upgrade coupons. Users can purchase relevant upgrade coupons according to their own needs, and when upgrading their air tickets, they can select the upgrade coupons they purchased, submit upgrade requests, and handle upgrade services. After receiving the upgrade request from the user, the system (i.e., the air ticket upgrade system based on upgrade coupons) parses the upgrade request, obtains the target upgrade coupon selected by the target user, and determines the target flight and flight identifier of the target user to be upgraded. The flight identifier can be used to query information related to the target flight in the system.

[0049] Optionally, before receiving the upgrade request from the user terminal, the method further includes: configuring the upgrade coupon based on the upgrade coupon configuration rules, wherein upgrade coupons of different prices are configured based on different types of upgrade coupon configuration rules, the upgrade coupon configuration rules contain multiple rule fields, and the rule fields include at least one of the following: upgrade coupon usage channel, passenger type, passenger class, flight operation time, applicable route, applicable flight number, cabin type before upgrade, cabin type after upgrade, and upgrade coupon validity period.

[0050] It should be noted that the upgrade voucher upgrade mechanism of the embodiment of the present invention allows major airlines to flexibly configure the types, prices and usage conditions of upgrade vouchers according to market demand and operating strategies, thereby providing passengers with more personalized and wider service options. This mechanism not only improves the sales efficiency of upgrade vouchers, but also enhances the market competitiveness of airlines.

[0051] Specifically, a series of upgrade voucher configuration rules can be formulated in advance. The upgrade voucher configuration rules specify the available rule fields for configuring upgrade vouchers. When configuring upgrade vouchers, the rule fields in the rules can be freely selected and combined, so as to flexibly configure upgrade vouchers. For example, upgrade vouchers can be configured according to the following dimensions: upgrade voucher usage channel, passenger type, passenger level, flight operation time, applicable route, applicable flight number, cabin type before upgrade, cabin type after upgrade, and upgrade voucher validity period. Among them, the upgrade voucher usage channel can limit the sales channel of the upgrade voucher, so as to control the distribution and use of the voucher and optimize resource allocation; the passenger type can include the passenger himself or the transferee, etc., which helps airlines manage the transfer rules of upgrade vouchers and prevent the abuse or illegal transaction of upgrade vouchers. At the same time, different services or preferential policies can also be provided according to the passenger type; configuring upgrade vouchers based on passenger level can provide exclusive upgrade vouchers for members of different levels as part of the membership plan, enhancing membership By allocating upgrade vouchers on flight operating hours, the company can take advantage of the differences in flight operating hours to adjust the price of upgrade vouchers, optimize seat inventory management, improve aircraft seat utilization, and attract passengers with different travel preferences. The applicable routes and applicable flight numbers limit the specific flights where the upgrade vouchers can be used. Airlines can adjust the prices of upgrade vouchers on different routes to balance the upgrade demand and revenue of different routes and improve the refined management of upgrade vouchers. The cabin type before upgrade and the cabin type after upgrade specify the cabin class to which users can upgrade, and clarify the final value of the upgrade voucher, so that airlines can adjust the pricing and inventory of upgrade vouchers based on the demand and supply of target cabins, while providing passengers with clear upgrade expectations. The validity period of the upgrade voucher limits the use time of the upgrade voucher, which can control the market circulation time and use cycle of the upgrade voucher, prevent long-term backlog of vouchers or excessive use in the short term, and also adjust the supply strategy of upgrade vouchers according to seasonal demand.

[0052] By combining the above rule fields, airlines can create diversified upgrade voucher products to meet the needs of different passenger groups and enhance market competitiveness. At the same time, these configuration rules also ensure that the sales and use of upgrade vouchers are fair and efficient, which helps optimize flight seat management and improve customer satisfaction and airline revenue.

[0053] Optionally, obtaining the target upgrade coupon selected by the target user based on the upgrade request includes: verifying the target upgrade coupon to obtain a verification result; and freezing the target upgrade coupon of the target user when the verification result indicates that the target upgrade coupon has passed the verification.

[0054] It should be noted that after obtaining the target upgrade voucher selected by the user, the target upgrade voucher must first be verified, including: checking whether the upgrade voucher is within the validity period, checking whether the upgrade voucher is applicable to the flight, class, time and other conditions under the passenger's name, ensuring that the use of the upgrade voucher complies with its preset rules and conditions, confirming whether the user of the upgrade voucher meets the passenger type of the upgrade voucher, such as whether it is the ticket holder himself or the transferee, and whether the passenger's membership level meets the use requirements of the upgrade voucher. The verification result of the target upgrade voucher is obtained through multiple verifications. The verification operation can ensure the legality and rationality of the upgrade operation and avoid resource waste and disputes caused by invalid, inapplicable or over-qualified use of the upgrade voucher. The verification result will directly affect the subsequent upgrade process. If the upgrade voucher fails to pass the verification, the system will promptly feedback to the passenger to avoid invalid operations and ensure the rational allocation of resources.

[0055] Furthermore, for the target upgrade coupons that have passed the verification, the system will freeze them to perform subsequent upgrade operations. Freezing the upgrade coupons can prevent the same upgrade coupon from being used multiple times, ensuring the uniqueness and fairness of the upgrade operation. At the same time, freezing the upgrade coupons is also a reservation of upgrade resources, ensuring that before the upgrade operation is completed, the inventory of upgrade coupons and upgrade quotas will not be consumed by other upgrade requests, avoiding resource conflicts.

[0056] Step S102, obtaining the status information, upgrade limit data and upgrade record of the target flight based on the flight identifier, and querying the space data of the target flight based on the status information.

[0057] It should be noted that after the upgrade coupon is frozen, the user's target flight is upgraded. Whether the upgrade is successful depends on many factors, including the flight status, the number of remaining seats on the flight, and the upgrade limit. First, it is necessary to obtain the status information, upgrade limit data, and upgrade record of the target flight according to the flight ID. The status information is used to indicate whether the target flight is initialized. The data systems accessed before and after initialization are different. The upgrade limit data is used to indicate the maximum number of seats that can be upgraded in each cabin of the target flight, and the upgrade record represents the number of seats currently upgraded on the target flight.

[0058] Optionally, the step of querying the target flight's cabin data based on the status information includes: when the status information indicates that the target flight is in an uninitialized state, querying the target flight's cabin data through a reservation system, wherein the cabin data includes at least: cabin type, cabin grade, and the number of remaining seats in each type of cabin; or, when the status information indicates that the target flight is in an initialized state, querying the target flight's cabin data through a reservation system and a departure system respectively to obtain first cabin data and second cabin data of the target flight; and integrating the first cabin data and the second cabin data to obtain the target flight's cabin data.

[0059] It should be noted that flight initialization is an important part of the flight operation process, which refers to a series of preparations and settings made by the airline or its service provider (such as TravelSky) for the upcoming flight. This process usually takes place a few days before the flight takes off. Flight initialization marks the transition of the flight from the booking stage to the operational stage of preparing for takeoff. At this stage, the flight's seat management, passenger services, etc. will be more specific and real-time, providing systematic preparation for the smooth operation of the flight.

[0060] Before the flight is initialized, the relevant information and data of the flight are saved and processed by the reservation system. The reservation system allows users to query flight information, reserve seats, purchase tickets, and provide related services, such as changing reservations, canceling reservations, etc. The reservation system is mainly used to handle flight reservations and sales, as well as related ticketing services. Flight query and reservation: Provide flight information query and process seat reservations. Ticketing service: Support ticket sales, changes, refunds, etc. Frequent flyer services: Manage frequent flyer programs, such as points redemption, membership services, etc. Additional service sales: Sell additional services, such as seat selection, extra baggage, etc. When the flight is initialized, the airline's passenger service system will change the flight's reservation system status from "uninitialized" to "initialized". This change means that flight data (such as seat layout, reservation information, passenger information, etc.) is imported into the departure system for departure operations such as boarding, baggage handling, and flight control. After the initialization is completed, the flight information becomes visible in the departure system, and the airline can start operations such as passenger check-in and baggage check-in.

[0061] It should be noted that, in order to ensure the accuracy of the upgrade data, the embodiment of the present invention will access different flight management systems according to the different statuses of the target flight. Specifically, if the status of the target flight is uninitialized, the cabin data of the target flight will be queried through the reservation system. Since the data at this time has not been imported into the departure system, the seat data of the reservation system is accurate. The cabin data specifically includes: cabin type, cabin grade and the number of remaining seats of each type of cabin. On the contrary, if the target flight is in an initialized state, part of the data of the target flight will be imported and synchronized to the departure system, and related business will be handled in the departure system later. However, the data of the departure system cannot be synchronized back to the reservation system. Therefore, when querying the cabin data of the target flight, it is necessary to combine the data of the reservation system and the departure system for comprehensive analysis.

[0062] Optionally, the step of integrating the first class space data and the second class space data includes: comparing the remaining number of seats of each type of class in the first class space data with the remaining number of seats of each type of class in the second class space data to obtain a comparison result; selecting the minimum value of the remaining number of seats of each type of class as the remaining number of seats of each type of class for the target flight based on the comparison result; integrating the remaining number of seats of each type of class for the target flight with the class type and class grade of the second class space data to obtain the class space data of the target flight.

[0063] It should be noted that in order to ensure the feasibility and accuracy of the upgrade operation of the target flight after initialization, it is necessary to compare and integrate the cabin data of the reservation system and the departure system. Specifically, the remaining number of seats in each type of cabin in the first cabin data corresponding to the reservation system is compared with the remaining number of seats in each type in the second cabin data corresponding to the departure system. For example, the remaining number of seats in cabin R of the target flight in the reservation system is compared with the remaining number of seats in cabin R of the target flight in the departure system, and the minimum value of the remaining number of seats in each type of cabin is selected as the remaining number of seats in each type of cabin of the target flight based on the comparison result, thereby obtaining the cabin data of all cabins of the target flight.

[0064] Step S103, determining the target class to be upgraded for the target user based on the target upgrade coupon, extracting the remaining number of seats in the target class from the class data, extracting the upgrade limit data of the target class from the upgrade limit data of the target flight, and extracting the upgrade record of the target class from the upgrade record of the target flight.

[0065] It should be noted that the target class of the target user to be upgraded is determined based on the target upgrade coupon selected by the target user, and the remaining number of seats in the target class is extracted from the class data of the target flight, and the upgrade limit data of the target flight is obtained to determine the upgrade limit number of the target class of the target flight. At the same time, the upgrade record of the target flight that has been upgraded is obtained to determine whether the target class of the target flight can be upgraded. The upgrade limit can effectively control the usage of the upgrade product to avoid overselling.

[0066] Step S104, upgrading the target user based on the remaining number of seats in the target class, the upgrade limit data and the upgrade record, generating an upgrade result, and returning the upgrade result to the user terminal.

[0067] It should be noted that the system will compare the remaining number of seats in the target cabin with the upgrade limit data, subtract the number of seats that have been upgraded through upgrade coupons, and determine the remaining number of seats that can be upgraded. If the remaining number of seats and the remaining number of places are both greater than zero, and the upgrade request complies with the rules for using the upgrade coupon, the system allows the upgrade operation. Once the decision is made, the system will return the result of the upgrade operation to the user end, including whether it is successful, the remaining number of seats, the remaining number of places, and other information to ensure that the user can immediately understand the status of the upgrade request. If the upgrade request is approved, the system will perform the upgrade operation, including writing the high-cabin segment in the PNR, issuing the EMD ticket, deleting the low-cabin, and other steps to ensure the smooth completion of the upgrade process.

[0068] Optionally, the step of performing an upgrade process for the target user based on the remaining number of seats in the target class, the upgrade limit data and the upgrade records includes: when the remaining number of seats in the target class is greater than a preset seat base, counting the number of upgrade records of the target flight based on the upgrade records of the target flight; comparing the upgrade limit data with the number of upgrade records to obtain a comparison result; when the comparison result indicates that the number of upgrade records is less than the upgrade limit data, determining that the target class meets the upgrade conditions, and performing an upgrade process for the target user; or, when the comparison result indicates that the number of upgrade records is greater than or equal to the upgrade limit data, determining that the target class does not meet the upgrade conditions, and prompting the user terminal that the upgrade has failed.

[0069] It should be noted that when judging whether the upgrade is possible, the remaining number of seats in the target class is first compared with the preset seat base (for example, 0, which can be set to other values ​​in special cases). If the remaining number of seats in the target class is greater than the seat base, the number of upgrade records for the current target class that have been upgraded is counted based on the upgrade records of the target flight, and the upgrade limit data and the number of upgrade records are compared. If the number of upgrade records is less than the upgrade limit data, it is determined that the target class meets the upgrade conditions and the user is upgraded. Specifically, it may include writing the high-cabin segment (i.e. the class of the target user after the upgrade) in the PNR; issuing an EMD ticket to record the cost details and usage of the upgrade service in electronic form; and deleting the low-cabin segment (the class of the target user before the upgrade) so that the low-cabin segment can be rebooked or purchased.

[0070] Optionally, after generating the upgrade result and returning the upgrade result to the user terminal, the method further includes: when the upgrade result indicates that the target user has failed to be upgraded, unfreezing the frozen target upgrade coupon; or, when the upgrade result indicates that the target user has been successfully upgraded, recovering the frozen target upgrade coupon.

[0071] It should be noted that since the upgrade coupon is in a frozen state when the upgrade process is executed, the upgrade coupon needs to be processed according to the upgrade result after the upgrade is completed. If the upgrade is successful, the target upgrade coupon of the target user is recovered and written off to avoid repeated use of the target upgrade coupon. If the upgrade is unsuccessful, the freeze on the target upgrade coupon is cancelled so that the user can use the upgrade coupon for upgrade again.

[0072] Through the above steps, an upgrade request from the user end is received, a target upgrade coupon selected by the target user is obtained based on the upgrade request, and the flight identifier of the target flight to be upgraded by the target user is determined, wherein the upgrade based on the target upgrade coupon is not restricted by the state of whether the flight is initialized, the state information, upgrade limit data and upgrade record of the target flight are obtained based on the flight identifier, and the cabin data of the target flight is queried based on the state information, and then the target cabin to be upgraded by the target user is determined based on the target upgrade coupon, and the remaining number of seats in the target cabin is extracted from the cabin data, the upgrade limit data of the target cabin is extracted from the upgrade limit data of the target flight, and the upgrade record of the target cabin is extracted from the upgrade record of the target flight, and finally, the target user is upgraded based on the remaining number of seats in the target cabin, the upgrade limit data and the upgrade record, an upgrade result is generated, and the upgrade result is returned to the user end.

[0073] In this embodiment, flight upgrades are processed through upgrade coupons. When users upgrade, they can use the pre-purchased upgrade coupons to deduct the cost. The upgrade coupon deduction is not restricted by the flight status, and the upgrade can be performed at any time point, thereby achieving the technical effect of flexible upgrades and improving the efficiency of upgrade processing, thereby solving the technical problem in related technologies that users can only choose to upgrade their tickets at specific time points and have low upgrade flexibility.

[0074] Another optional specific implementation is described in detail below.

[0075] Figure 2 is a schematic diagram of an optional ticket upgrade system based on upgrade coupons according to an embodiment of the present invention. Figure 2 As shown, the ticket upgrade system based on the upgrade voucher specifically includes: an upgrade voucher configuration module, a cabin data query module, an upgrade voucher upgrade quota control module and an upgrade module. Specifically,

[0076] The upgrade voucher configuration module is used to configure the upgrade price according to personalized rules.

[0077] The upgrade voucher configuration module can configure the sales rules, usage rules, inventory, etc. of the upgrade vouchers. Upgrade vouchers with different prices can be configured for different flight departure times, different cabins before and after the upgrade, etc. Different prices can be set through different configurations of upgrade vouchers to achieve a more granular upgrade price setting plan. The supported dimensions may include: upgrade voucher usage channel, passenger type (self, transferee, or unlimited), passenger class, passenger type, passenger age, flight type, flight departure and arrival dates, applicable routes, applicable flight number, cabin before upgrade, cabin after upgrade, flight departure time, price of the flight segment before upgrade, and time limit for upgrade processing.

[0078] Different upgrade prices can be configured through the above dimensions to achieve the purpose of differentiated upgrade sales.

[0079] The cabin data query module is used to select different cabin data query logics according to the current status of the flight to be upgraded.

[0080] Figure 3 is a workflow diagram of an optional upgrade data query module according to an embodiment of the present invention, such as Figure 3 As shown, before upgrading, it is necessary to determine whether the target cabin meets the upgrade conditions based on the cabin data. Due to different flight statuses, the data query path is also different. The specific workflow of the upgrade data query module includes:

[0081] Step 1: Enter the upgrade inquiry process;

[0082] Step 2: Determine whether the flight is initialized;

[0083] Step 3: If the target flight is in an uninitialized state, query the number of remaining seats in each class of the flight through the reservation system; if the target flight is in an initialized state, query the number of remaining seats in each class of the flight through the reservation system and the departure system respectively, and count the minimum number of remaining seats in each class to obtain the final number of remaining seats in each class;

[0084] Step 4: query the cabin class corresponding to the target upgrade cabin space according to the configuration;

[0085] Step 5: determine whether there are any remaining seats in the target cabin. If yes, proceed to step 6; if no, proceed to step 7.

[0086] Step 6: Return the upgrade query results;

[0087] Step 7: Return error information.

[0088] The upgrade voucher upgrade quota control module is used to control the quota of upgrades in the same cabin class on the same flight using upgrade vouchers.

[0089] Figure 4is a flowchart of an optional upgrade ticket upgrade quota control module according to an embodiment of the present invention, such as Figure 4 As shown in FIG. 1 , the workflow of the upgrade voucher upgrade quota control module includes:

[0090] Step 1: Configure quota control rules, such as configuring the upgrade limit data for upgrading using upgrade coupons by route, flight number, cabin class, travel date, etc.

[0091] Step 2: Record the use of the upgrade voucher;

[0092] Step 3: Control the upgrade quota according to the upgrade limit data and upgrade voucher usage records of the quota control rules. If the number of used orders is less than the upgrade limit data, continue to upgrade. If the number of used orders is approximately equal to the upgrade limit data, an error message is returned.

[0093] The upgrade module is used to book a higher cabin and delete the lower cabin to achieve an upgrade.

[0094] Figure 5 is a workflow diagram of an optional cabin upgrade module according to an embodiment of the present invention, such as Figure 5 As shown in the figure, the workflow of the upgrade module specifically includes:

[0095] Step 1: Receive an upgrade request;

[0096] Step 2: Freeze the selected upgrade voucher;

[0097] Step 3: Write the target cabin class to be upgraded in the PNR;

[0098] Step 4: Perform the upgrade process and determine whether the upgrade is successful. If not, proceed to step 5. If yes, proceed to step 6.

[0099] Step 5: Return the upgrade failure result and cancel the frozen upgrade voucher;

[0100] Step 6: Call the Ebui ld interface to write the ASVC item and reserve additional service products;

[0101] Step 7: call Ebuild interface EMD to issue ticket;

[0102] Step 8, delete the original low cabin in FNR;

[0103] Step nine: Cancel the upgrade voucher.

[0104] The technical solution of the embodiment of the present invention is described in detail below by way of examples.

[0105] For example, you can configure the following upgrade vouchers through the upgrade voucher configuration module:

[0106] Table 1 An exemplary upgrade voucher

[0107]

[0108] Airlines configure coupons of different prices according to different dimensions, and users can purchase them according to their needs. Assume that the target user purchases four tickets, namely:

[0109] Itinerary 1: City A - City C, take off at 2023.11.12 14:00, Class Y;

[0110] Itinerary 2: City A-City D, take off at 07:00 on November 12, 2023, cabin Y;

[0111] Itinerary 3: City A - City E, take off at 2023.11.12 14:00, Class Y;

[0112] Itinerary 4: City A-City E, take off at 2023.11.12 14:00, V cabin;

[0113] The remaining seats of a flight in the reservation system are queried through the cabin data query module, and the results are as follows:

[0114] Table 2 The number of remaining seats obtained through the reservation system

[0115]

[0116]

[0117] The departure system found the remaining seats for the flight as follows:

[0118] Table 3 Remaining seats obtained through the departure system

[0119] Cabin Class Number of seats remaining Y 3 J 0

[0120] The upgrade class for the target user is Class J. When the user inquires about the upgrade before the flight is initialized, the reservation system shows that there are remaining seats in Class J, and the system can return the upgrade query result. When the user inquires about the upgrade after the flight is initialized, because the reservation query shows that there are still 2 seats, but the departure query shows that there are only 0 seats, the system determines that there are no remaining seats in Class J and returns no available seats.

[0121] Assume that the upgrade voucher upgrade quota rules are configured through the upgrade voucher upgrade quota control module as follows:

[0122] Table 4 Rules for the quota of cabin upgrade vouchers

[0123] Rule Number route Flight number Cabin Flight date Upgrade quota 1 A 1234 YJ 2023.12.01-2023.12.21 2 2 A 1345 YJ 2023.12.22-2023.12.31 3 3 B 1456 MJ 2023.12.01-2023.12.21 1 4 B 1567 YJ 2023.12.01-2023.12.21 2

[0124] Now there is a passenger A who has purchased a ticket for route A, class Y, departing on 2023, 12.03, flight number 1234. He successfully upgraded his class using the upgrade voucher, and a new successful upgrade record will be added:

[0125] Table 5 Successful upgrade record 1

[0126] Upgrade Orders route Flight number Cabin Travel Date state 1 A 1234 Y 2023,12.03 Upgrade successful

[0127] Passenger B has purchased a ticket for route A, class Y, departing on December 3, 2023, flight number 1234, and uses an upgrade voucher to upgrade. The system first checks whether there is a quota limit for the flight. The query finds that it meets rule 1, which is limited to 2 passengers. Then the system checks the successful upgrade records. A passenger on the same flight has been successfully upgraded. If 1<2, it meets the upgrade quota limit. After the upgrade is successful, a record will be added:

[0128] Table 6 Successful upgrade record 2

[0129] Upgrade Orders route Flight number Cabin Travel Date state 1 A 1234 Y 2023,12.03 Upgrade successful 2 A 1234 Y 2023,12.03 Upgrade successful

[0130] Passenger C has purchased a ticket for route A, class Y, departing on December 3, 2023, flight number 1234. He uses the upgrade voucher to upgrade. Due to matching rule 1, the limit is 2 people. There are already 2 people in the successful upgrade record, which does not meet the upgrade limit, and the system returns an error message.

[0131] In the embodiment of the present invention, the strategy of using upgrade coupons for upgrades is to sell upgrade coupons in advance. When upgrading, passengers directly select the upgrade coupons bound to their accounts for deduction. The upgrade coupons sold in advance can be sold at different prices according to the applicable flights and the different conditions of the passengers. During use, the number of upgrades on the same flight can also be controlled. It can not only achieve differentiated formulation of upgrade prices, but also effectively control the use of products to avoid overselling. When upgrading, it is determined whether the upgrade time is before or after the flight initialization, and different remaining seat judgment logics are selected. The user's upgrade is not restricted by time nodes, which improves the efficiency and flexibility of upgrade processing.

[0132] The following is a detailed description in conjunction with another embodiment.

[0133] Embodiment 2

[0134] The ticket upgrade device based on the upgrade coupon provided in this embodiment includes multiple implementation units, each of which corresponds to each implementation step in the above-mentioned embodiment 1. Its specific implementation methods and beneficial effects can refer to the above-mentioned method embodiments, which will not be repeated here.

[0135] Figure 6 is a schematic diagram of an optional ticket upgrade device based on an upgrade coupon according to an embodiment of the present invention, such as Figure 6As shown, the ticket upgrade device based on the upgrade coupon may include: a receiving unit 61, a query unit 62, an extraction unit 63, and a processing unit 64, wherein:

[0136] The receiving unit 61 is used to receive an upgrade request from a user terminal, obtain a target upgrade voucher selected by a target user based on the upgrade request, and determine a flight identifier of a target flight to be upgraded by the target user, wherein the upgrade based on the target upgrade voucher is not restricted by whether the flight is initialized;

[0137] A query unit 62, configured to obtain status information, upgrade limit data and upgrade records of a target flight based on the flight identifier, and query the space data of the target flight based on the status information;

[0138] An extraction unit 63 is used to determine the target class of the target user to be upgraded based on the target upgrade coupon, and extract the number of remaining seats in the target class from the class data, extract the upgrade limit data of the target class from the upgrade limit data of the target flight, and extract the upgrade record of the target class from the upgrade record of the target flight;

[0139] The processing unit 64 is used to perform an upgrade process on the target user based on the remaining number of seats in the target class, the upgrade limit data and the upgrade record, generate an upgrade result, and return the upgrade result to the user terminal.

[0140] The above-mentioned ticket upgrade device based on upgrade coupon receives the upgrade request of the user terminal through the receiving unit 61, obtains the target upgrade coupon selected by the target user based on the upgrade request, and determines the flight identifier of the target flight to be upgraded by the target user, wherein the upgrade based on the target upgrade coupon is not restricted by the state of whether the flight is initialized; obtains the state information, upgrade limit data and upgrade record of the target flight based on the flight identifier through the query unit 62, and queries the cabin data of the target flight based on the state information; determines the target cabin to be upgraded by the target user based on the target upgrade coupon through the extraction unit 63, extracts the remaining number of seats in the target cabin from the cabin data, extracts the upgrade limit data of the target cabin from the upgrade limit data of the target flight, and extracts the upgrade record of the target cabin from the upgrade record of the target flight; performs upgrade processing on the target user based on the remaining number of seats in the target cabin, the upgrade limit data and the upgrade record, generates an upgrade result, and returns the upgrade result to the user terminal.

[0141] In this embodiment, flight upgrades are processed through upgrade coupons. When users upgrade, they can use the pre-purchased upgrade coupons to deduct the cost. The upgrade coupon deduction is not restricted by the flight status, and the upgrade can be performed at any time point, thereby achieving the technical effect of flexible upgrades and improving the efficiency of upgrade processing, thereby solving the technical problem in related technologies that users can only choose to upgrade their tickets at specific time points and have low upgrade flexibility.

[0142] Optionally, the query unit 62 includes: a first query module, used to query the cabin data of the target flight through the reservation system when the status information indicates that the target flight is in an uninitialized state, wherein the cabin data at least includes: cabin type, cabin grade, and the number of remaining seats in each type of cabin; a second query module, used to query the cabin data of the target flight through the reservation system and the departure system respectively when the status information indicates that the target flight is in an initialized state, so as to obtain the first cabin data and the second cabin data of the target flight; a first integration module, used to integrate the first cabin data and the second cabin data to obtain the cabin data of the target flight.

[0143] Optionally, the first integration module includes: a first comparison submodule, used to compare the remaining number of seats of each type of class in the first class data with the remaining number of seats of each type of class in the second class data to obtain a comparison result; a first selection submodule, used to select the minimum value of the remaining number of seats of each type of class as the remaining number of seats of each type of class for the target flight based on the comparison result; and a first integration submodule, used to integrate the remaining number of seats of each type of class of the target flight with the class type and class grade of the second class data to obtain the class data of the target flight.

[0144] Optionally, the processing unit 64 includes: a first statistics module, which is used to count the number of upgrade records of the target flight based on the upgrade records of the target flight when the number of remaining seats in the target class is greater than a preset seat base; a first comparison module, which is used to compare the upgrade limit data with the number of upgrade records to obtain a comparison result; a first determination module, which is used to determine that the target class meets the upgrade conditions and upgrade the target user when the comparison result indicates that the number of upgrade records is less than the upgrade limit data; and a second determination module, which is used to determine that the target class does not meet the upgrade conditions when the comparison result indicates that the number of upgrade records is greater than or equal to the upgrade limit data, and prompt the user terminal that the upgrade has failed.

[0145] Optionally, the receiving unit 61 includes: a first verification module, configured to verify the target upgrade coupon and obtain a verification result; and a first freezing module, configured to freeze the target upgrade coupon of the target user when the verification result indicates that the target upgrade coupon has passed the verification.

[0146] Optionally, the ticket upgrade device based on the upgrade coupon also includes: a first cancellation module, used to unfreeze the frozen target upgrade coupon when the upgrade result indicates that the target user has failed to be upgraded; and a first recovery operation, used to recover the frozen target upgrade coupon when the upgrade result indicates that the target user has been successfully upgraded.

[0147] Optionally, the ticket upgrade device based on upgrade coupons also includes: a first configuration module, used to configure the upgrade coupons based on upgrade coupon configuration rules, wherein upgrade coupons of different prices are configured based on different types of upgrade coupon configuration rules, and the upgrade coupon configuration rules include multiple rule fields, and the rule fields include at least one of the following: upgrade coupon usage channel, passenger type, passenger grade, flight operation time, applicable route, applicable flight number, cabin type before upgrade, cabin type after upgrade, and upgrade coupon validity period.

[0148] The above-mentioned ticket upgrade device based on upgrade coupons may also include a processor and a memory. The above-mentioned receiving unit 61, query unit 62, extraction unit 63, processing unit 64, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0149] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the user's ticket can be upgraded by adjusting the kernel parameters.

[0150] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0151] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned methods for upgrading air tickets based on upgrade coupons.

[0152] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned ticket upgrade methods based on upgrade coupons.

[0153] According to another aspect of an embodiment of the present invention, a computer program product is further provided. The computer program product includes a computer program, wherein when the computer program is executed by a processor, any one of the above-mentioned methods for upgrading an air ticket based on an upgrade coupon is implemented.

[0154] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: receiving an upgrade request from a user terminal, obtaining a target upgrade coupon selected by a target user based on the upgrade request, and determining the flight identifier of a target flight to be upgraded by the target user, wherein upgrading based on the target upgrade coupon is not restricted by whether the flight is initialized; obtaining status information, upgrade limit data and upgrade records of the target flight based on the flight identifier, and querying the cabin data of the target flight based on the status information; determining the target cabin to be upgraded by the target user based on the target upgrade coupon, and extracting the remaining number of seats in the target cabin from the cabin data, extracting the upgrade limit data of the target cabin from the upgrade limit data of the target flight, and extracting the upgrade record of the target cabin from the upgrade record of the target flight; performing upgrade processing on the target user based on the remaining number of seats in the target cabin, the upgrade limit data and the upgrade record, generating an upgrade result, and returning the upgrade result to the user terminal.

[0155] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: the step of querying the target flight's cabin data based on status information includes: when the status information indicates that the target flight is in an uninitialized state, querying the target flight's cabin data through a reservation system, wherein the cabin data at least includes: cabin type, cabin grade, and the number of remaining seats in each type of cabin; or, when the status information indicates that the target flight is in an initialized state, querying the target flight's cabin data through a reservation system and a departure system respectively to obtain first cabin data and second cabin data of the target flight; integrating the first cabin data and the second cabin data to obtain the target flight's cabin data.

[0156] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: the step of integrating the first cabin data and the second cabin data includes: comparing the remaining number of seats of each type of cabin in the first cabin data with the remaining number of seats of each type of cabin in the second cabin data to obtain a comparison result; selecting the minimum value of the remaining number of seats of each type of cabin as the remaining number of seats of each type of cabin for the target flight based on the comparison result; integrating the remaining number of seats of each type of cabin of the target flight with the cabin type and cabin grade of the second cabin data to obtain the cabin data of the target flight.

[0157] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: the step of upgrading the target user based on the remaining number of seats in the target class, the upgrade limit data and the upgrade records includes: when the remaining number of seats in the target class is greater than a preset seat base, counting the number of upgrade records of the target flight based on the upgrade records of the target flight; comparing the upgrade limit data with the number of upgrade records to obtain a comparison result; when the comparison result indicates that the number of upgrade records is less than the upgrade limit data, determining that the target class meets the upgrade conditions and upgrading the target user; or, when the comparison result indicates that the number of upgrade records is greater than or equal to the upgrade limit data, determining that the target class does not meet the upgrade conditions and prompting the user end that the upgrade has failed.

[0158] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: obtaining a target upgrade coupon selected by a target user based on an upgrade request includes: verifying the target upgrade coupon to obtain a verification result; and freezing the target upgrade coupon of the target user when the verification result indicates that the target upgrade coupon has passed the verification.

[0159] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: after generating an upgrade result and returning the upgrade result to a user terminal, it also includes: when the upgrade result indicates that the target user has failed to be upgraded, unfreezing the frozen target upgrade coupon; or, when the upgrade result indicates that the target user has been successfully upgraded, recovering the frozen target upgrade coupon.

[0160] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: before receiving an upgrade request from a user terminal, it also includes: configuring an upgrade voucher based on an upgrade voucher configuration rule, wherein upgrade vouchers of different prices are configured based on different types of upgrade voucher configuration rules, and the upgrade voucher configuration rule includes multiple rule fields, and the rule field includes at least one of the following: upgrade voucher usage channel, passenger type, passenger grade, flight operation time, applicable route, applicable flight number, cabin type before upgrade, cabin type after upgrade, and upgrade voucher validity period.

[0161] Figure 7 1 is a hardware structure block diagram of an electronic device (or mobile device) for executing a ticket upgrade method based on an upgrade voucher according to an embodiment of the present invention. Figure 7 As shown, the electronic device may include one or more processors ( Figure 7702a, 702b, ..., 702n are used to illustrate that the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 704 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. A person skilled in the art can understand that Figure 7 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 7 More or fewer components as shown, or with Figure 7 Different configurations are shown.

[0162] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0163] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0164] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0165] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0166] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0167] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0168] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for upgrading a flight ticket based on an upgrade voucher, characterized in that: include: receiving an upgrade request from a user terminal, obtaining a target upgrade voucher selected by a target user based on the upgrade request, and determining a flight identifier of a target flight to be upgraded by the target user, wherein the upgrade based on the target upgrade voucher is not restricted by whether the flight is initialized; Acquire status information, upgrade limit data, and upgrade records of the target flight based on the flight identifier, and query space data of the target flight based on the status information; Determine the target class of the target user to be upgraded based on the target upgrade coupon, extract the number of remaining seats of the target class from the class data, extract the upgrade limit data of the target class from the upgrade limit data of the target flight, and extract the upgrade record of the target class from the upgrade record of the target flight; The target user is upgraded based on the remaining number of seats in the target class, the upgrade limit data and the upgrade record, an upgrade result is generated, and the upgrade result is returned to the user terminal.

2. The method for upgrading cabin class according to claim 1, characterized in that: The step of querying the space data of the target flight based on the status information includes: When the status information indicates that the target flight is in an uninitialized state, querying the cabin data of the target flight through a reservation system, wherein the cabin data at least includes: cabin type, cabin class, and the number of remaining seats of each type of cabin; or When the status information indicates that the target flight is in an initialized state, querying the cabin data of the target flight through the reservation system and the departure system respectively to obtain the first cabin data and the second cabin data of the target flight; The first cabin space data and the second cabin space data are integrated to obtain the cabin space data of the target flight.

3. The upgrade method according to claim 2, characterized in that: The step of integrating the first cabin space data and the second cabin space data comprises: Compare the remaining number of seats of each type of class in the first class data with the remaining number of seats of each type of class in the second class data to obtain a comparison result; According to the comparison result, the minimum value among the remaining seats of each type of class is selected as the remaining seats of each type of class of the target flight; The remaining number of seats of each type of cabin space of the target flight and the cabin space type and cabin space grade of the second cabin space data are integrated to obtain the cabin space data of the target flight.

4. The upgrade method according to claim 1, characterized in that: The step of performing an upgrade process on the target user based on the remaining number of seats in the target class, the upgrade limit data and the upgrade record comprises: When the number of remaining seats of the target class is greater than a preset seat base, counting the number of upgrade records of the target flight based on the upgrade records of the target flight; Comparing the upgrade limit data with the number of upgrade records to obtain a comparison result; If the comparison result indicates that the number of upgrade records is less than the upgrade limit data, determining that the target class meets the upgrade conditions, and performing an upgrade process on the target user; or When the comparison result indicates that the number of upgrade records is greater than or equal to the upgrade limit data, it is determined that the target class does not meet the upgrade condition, and the user terminal is prompted that the upgrade fails.

5. The method for upgrading cabin class according to claim 1, characterized in that: After obtaining the target upgrade voucher selected by the target user based on the upgrade request, the method further includes: Verifying the target upgrade voucher and obtaining a verification result; When the verification result indicates that the target upgrade coupon has passed the verification, the target upgrade coupon of the target user is frozen.

6. The method for upgrading cabin class according to claim 5, characterized in that: After generating the upgrade result and returning the upgrade result to the user terminal, the method further includes: If the upgrade result indicates that the target user fails to be upgraded, unfreeze the frozen target upgrade voucher; or When the upgrade result indicates that the target user is successfully upgraded, the frozen target upgrade coupon is recovered.

7. The upgrade method according to claim 1, characterized in that: Before receiving the upgrade request from the user, it also includes: The upgrade coupon is configured based on the upgrade coupon configuration rule, wherein upgrade coupons of different prices are configured based on different types of upgrade coupon configuration rules, the upgrade coupon configuration rule comprises a plurality of rule fields, and the rule field comprises at least one of the following: upgrade coupon usage channel, passenger type, passenger class, flight operation time, applicable route, applicable flight number, cabin type before upgrade, cabin type after upgrade, and upgrade coupon validity period.

8. A device for upgrading a flight ticket based on an upgrade voucher, characterized in that: include: a receiving unit, configured to receive an upgrade request from a user terminal, obtain a target upgrade voucher selected by a target user based on the upgrade request, and determine a flight identifier of a target flight to be upgraded by the target user, wherein the upgrade based on the target upgrade voucher is not restricted by whether the flight is initialized; A query unit, configured to obtain the status information, upgrade limit data and upgrade record of the target flight based on the flight identifier, and query the space data of the target flight based on the status information; an extracting unit, configured to determine a target class of the target user to be upgraded based on the target upgrade coupon, and extract the number of remaining seats of the target class of the target class from the class of the class data, extract the upgrade limit data of the target class of the target class from the upgrade limit data of the target flight, and extract the upgrade record of the target class of the target class from the upgrade record of the target flight; A processing unit is used to perform an upgrade process on the target user based on the remaining number of seats in the target class, the upgrade limit data and the upgrade record, generate an upgrade result, and return the upgrade result to the user terminal.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the ticket upgrade method based on the upgrade coupon according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The invention comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the ticket upgrade method based on the upgrade coupon as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Systems and methods for operating a service to monitor and adjust a booked flight

    CA3048719A1

  • Flight information display system

    CN104537489A

  • Airline general voucher management system

    CN105654335A

  • Flight payment cabin upgrading system and method

    CN111612676A

  • Aircraft with a lift system

    EP1642827A2