Ticket number issuing method and device based on ticket pool group, electronic equipment and storage medium

Through the mutual backup mechanism of ticket pool groups, the problem of waste of ticket number resources during direct ticket sales is solved, the efficient utilization of ticket number is achieved, and the airline settlement complexity and maintenance workload are reduced.

CN119130077APending Publication Date: 2024-12-13TRAVELSKY TECHNOLOGY LIMITED
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411363514.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

During the direct sales of air tickets, the maintenance of ticket pools based on pre-set thresholds leads to serious waste of ticket number resources, and increases personnel monitoring and maintenance workload, reducing the settlement complexity of airlines.

Method used

By introducing the concept of ticket pool group, multiple ticket pool groups with the same purpose are established to realize the ticket pool mutual backup mechanism. When there are insufficient available ticket numbers in the ticket pool associated with the ticketing agency, the other tickets in the same ticket pool group will be automatically switched to the same ticket pool group. The pool issues tickets, making full use of ticket resources, and avoiding waste.

Benefits of technology

It effectively reduces the waste of ticket number resources, reduces the settlement complexity of airlines, reduces the workload of ticket pool maintenance personnel, and improves the utilization rate of ticket number.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119130077A_ABST
    Figure CN119130077A_ABST
Patent Text Reader

Abstract

The invention discloses a ticket number issuing method and device based on a ticket pool group, electronic equipment and a storage medium, and relates to the technical field of aviation information, and the ticket number issuing method comprises the steps: receiving a ticket number obtaining request of a ticket printing machine, carrying out the analysis of the ticket number obtaining request, and determining an associated ticket pool and the number of required ticket numbers of the ticket printing machine; state information of an associated ticket pool of the ticket printing machine and a ticket pool group to which the associated ticket pool belongs are obtained, and the ticket pool group comprises M ticket pools with the same use information; selecting a target ticket pool for the ticket printing machine based on the state information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs; and issuing ticket numbers to the ticket printing machine through the target ticket pool and the required ticket number quantity, and returning the ticket numbers and the ticket pool identifier of the target ticket pool to the ticket printing machine. According to the invention, the technical problem that the ticket number resource is seriously wasted in the mode of maintaining the ticket pool based on the preset threshold value in the air ticket direct selling process 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 number issuing method and device based on a ticket pool group, an electronic device and a storage medium. Background Art

[0002] Air tickets contain information such as passenger itinerary and tickets, and are the proof of passengers' flight. The ticket number is the unique identifier of the passenger's ticket. Currently, airlines' direct ticket sales need to obtain unused ticket numbers through ticket machines, issue tickets for passengers, and print electronic tickets. Therefore, the settlement management department needs to effectively manage the allocation of ticket numbers to avoid the reuse of ticket numbers (the same ticket number is occupied by different electronic tickets within a certain period of time). The specific management method is to control the issuance and use of ticket numbers by setting up ticket pools and record the allocation of ticket numbers: the ticket pool maintenance personnel define different ticket pools for different usage channels or units, and allocate non-repetitive ticket number ranges (starting ticket number + ending ticket number) to each ticket pool. Different ticket pools are not allowed to have overlapping ticket number segments; define a separate ticket pool number for each ticket pool as the airline's The unique identifier of the company's ticket pool; the ticket numbers of each ticket pool must be allocated in order from small to large; each ticket pool records the smallest ticket number currently available for allocation, and when the ticket machine issues a ticket, it will obtain a certain number of ticket numbers starting from the smallest ticket number from the corresponding ticket pool, and recalculate and update the smallest available ticket number recorded in the ticket pool; before the airline sells a ticket, it must specify a ticket pool for the ticket machine, and when the ticket is issued, the ticket pool automatically issues the ticket number of the single or multiple tickets issued by the ticket machine; the settlement department can only enter the ticket pool for issuance after a certain number of years (such as 3 years) after it is determined that the ticket number has been allocated and used.

[0003] With the development of the civil aviation industry, more and more people choose airplanes as a means of travel. The number of tickets issued by sales departments such as airline websites, call centers, and business departments has gradually increased. Especially during peak periods such as the Spring Festival travel rush, the number of tickets issued every day is huge. The ticket numbers set on each ticket pool will soon be used up and need to be re-maintained. In order to avoid the situation where the airline website or call center cannot issue tickets, ticket pool maintenance personnel usually need to monitor the ticket pool usage at a high frequency. When it is found that the number of allocable ticket numbers in a ticket pool is lower than the number threshold estimated based on experience, the remaining ticket numbers in this ticket pool will be abandoned immediately, and a new unused ticket number segment will be maintained. The remaining ticket numbers in the ticket pool will be wasted and cannot be recycled within a certain period of time, resulting in a waste of ticket number resources, increasing the monitoring and maintenance workload of personnel, and increasing the complexity of settlement.

[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 number issuance method and device based on a ticket pool group, an electronic device and a storage medium, so as to at least solve the technical problem in the related technology that, during the direct sale of air tickets, the ticket pool is maintained based on a pre-set threshold, resulting in serious waste of ticket number resources.

[0006] According to one aspect of an embodiment of the present invention, a ticket number issuance method based on a ticket pool group is provided, comprising: receiving a ticket number acquisition request from a ticket printing machine, and parsing the ticket number acquisition request to determine the associated ticket pool of the ticket printing machine and the required number of ticket numbers, wherein the associated ticket pool stores N ticket numbers to be issued, and N is a positive integer; obtaining status information of the associated ticket pool of the ticket printing machine and the ticket pool group to which the associated ticket pool belongs, wherein the ticket pool group contains M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information, usage object information, and M is a positive integer; selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs; issuing ticket numbers for the ticket printing machine through the target ticket pool and the required number of ticket numbers, and returning the ticket number and the ticket pool identifier of the target ticket pool to the ticket printing machine.

[0007] Optionally, the step of selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs includes: when the status information of the associated ticket pool indicates that the associated ticket pool is in a first type of state, obtaining the number of ticket numbers to be issued in the associated ticket pool, wherein the first type of state includes a first ticket pool state or a second ticket pool state, the first ticket pool state is used to indicate that the ticket pool is a primary ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the second ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers in the ticket pool is greater than a quantity threshold. The number of ticket numbers to be issued is less than or equal to the quantity threshold; the number of ticket numbers to be issued in the associated ticket pool is compared with the required number of ticket numbers to obtain a comparison result; when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is greater than or equal to the required number of ticket numbers, the associated ticket pool is used as the target ticket pool of the ticket printing machine; or, when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is less than the required number of ticket numbers, other ticket pools except the associated ticket pool are selected from the ticket pool group as the target ticket pool.

[0008] Optionally, the step of selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs also includes: when the status information of the associated ticket pool indicates that the associated ticket pool is in the second type of state, obtaining the number of ticket numbers to be issued in the ticket pool in the first ticket pool state from the ticket pool group, wherein the second type of state includes: the third ticket pool state or the fourth ticket pool state, the third ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the fourth ticket pool state is used to indicate that the ticket numbers to be issued do not exist in the ticket pool; when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is greater than or equal to the required number of ticket numbers, the ticket pool in the first ticket pool state is used as the target ticket pool for the ticket printing machine; or, when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is less than the required number of ticket numbers, a ticket pool in the third ticket pool state is selected from the ticket pool group as the target ticket pool for the ticket printing machine.

[0009] Optionally, before receiving the ticket number acquisition request from the ticket printing machine, it also includes: obtaining the usage information of each ticket pool, and selecting M ticket pools with the same usage information; and establishing a ticket pool group for the M ticket pools with the same usage information.

[0010] Optionally, before receiving the ticket number acquisition request from the ticket printing machine, it also includes: configuring the status information for each ticket pool in the ticket pool group; selecting a main ticket pool for the ticket pool group based on the status information of each ticket pool in the ticket pool group, and using other ticket pools in the ticket pool group except the main ticket pool as backup ticket pools, wherein the main ticket pool represents a ticket pool whose ticket pool status information is the first ticket pool status.

[0011] Optionally, after issuing ticket numbers to the ticket printing machine through the target ticket pool and the required number of ticket numbers, it also includes: monitoring the ticket pools in the ticket pool group to obtain the number of ticket numbers to be issued in each ticket pool; updating the status information of the ticket pool based on the number of ticket numbers to be issued in the ticket pool; switching the main ticket pool and backup ticket pool of the ticket pool group based on the status information of the ticket pool.

[0012] Optionally, after issuing ticket numbers to the ticket printing machine through the target ticket pool and the required number of ticket numbers, it also includes: when the number of ticket numbers to be issued in the target ticket pool is equal to the required number of ticket numbers, updating the status information of the target ticket pool after issuing the ticket numbers to the fourth ticket pool state; and configuring new ticket numbers to be issued for the ticket pool in the fourth ticket pool state.

[0013] According to another aspect of an embodiment of the present invention, a ticket number issuing device based on a ticket pool group is also provided, including: a receiving unit, used to receive a ticket number acquisition request from a ticket printing machine, and parse the ticket number acquisition request to determine the associated ticket pool of the ticket printing machine and the required number of ticket numbers, wherein the associated ticket pool stores N ticket numbers to be issued, and N is a positive integer; an acquiring unit, used to acquire status information of the associated ticket pool of the ticket printing machine and the ticket pool group to which the associated ticket pool belongs, wherein the ticket pool group contains M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information, usage object information, and M is a positive integer; a selecting unit, used to select a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs; an issuing unit, used to issue ticket numbers to the ticket printing machine through the target ticket pool and the required number of ticket numbers, and return the ticket number and the ticket pool identifier of the target ticket pool to the ticket printing machine.

[0014] Optionally, the selection unit includes: a first acquisition module, used to acquire the number of ticket numbers to be issued in the associated ticket pool when the status information of the associated ticket pool indicates that the associated ticket pool is in a first type of state, wherein the first type of state includes a first ticket pool state or a second ticket pool state, the first ticket pool state is used to indicate that the ticket pool is a primary ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the second ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is less than or equal to the quantity threshold; a first comparison module, used to compare the number of ticket numbers to be issued in the associated ticket pool with the required number of ticket numbers to obtain a comparison result; a first as module, used to use the associated ticket pool as the target ticket pool of the ticket printing machine when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is greater than or equal to the required number of ticket numbers; a second as module, used to select other ticket pools except the associated ticket pool from the ticket pool group as the target ticket pool when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is less than the required number of ticket numbers.

[0015] Optionally, the selection unit also includes: a second acquisition module, which is used to obtain the number of ticket numbers to be issued in a ticket pool in the first ticket pool state from the ticket pool group when the status information of the associated ticket pool indicates that the associated ticket pool is in the second type of state, wherein the second type of state includes: a third ticket pool state or a fourth ticket pool state, the third ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the fourth ticket pool state is used to indicate that the ticket pool does not contain the ticket numbers to be issued; a third as a module, which is used to use the ticket pool in the first ticket pool state as the target ticket pool of the ticket printing machine when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is greater than or equal to the required number of ticket numbers; a fourth as a module, which is used to select a ticket pool in the third ticket pool state from the ticket pool group as the target ticket pool of the ticket printing machine when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is less than the required number of ticket numbers.

[0016] Optionally, the ticket number issuing device based on ticket pool groups also includes: a first selection module, used to obtain the usage information of each ticket pool and select M ticket pools with the same usage information; a first establishment module, used to establish a ticket pool group for the M ticket pools with the same usage information.

[0017] Optionally, the ticket number issuing device based on the ticket pool group also includes: a first configuration module, used to configure the status information for each ticket pool in the ticket pool group; a second selection module, used to select a main ticket pool for the ticket pool group based on the status information of each ticket pool in the ticket pool group, and use other ticket pools in the ticket pool group except the main ticket pool as backup ticket pools, wherein the main ticket pool represents a ticket pool whose ticket pool status information is the first ticket pool status.

[0018] Optionally, the ticket number issuing device based on the ticket pool group also includes: a third acquisition module, used to monitor the ticket pools in the ticket pool group and obtain the number of ticket numbers to be issued in each ticket pool; a first update module, used to update the status information of the ticket pool based on the number of ticket numbers to be issued in the ticket pool; a first switching module, used to switch the main ticket pool and the backup ticket pool of the ticket pool group based on the status information of the ticket pool.

[0019] Optionally, the ticket number issuing device based on the ticket pool group also includes: a second update module, used to update the status information of the target ticket pool after issuing the ticket numbers to the fourth ticket pool state when the number of ticket numbers to be issued in the target ticket pool is equal to the required number of ticket numbers; a second configuration module, used to configure new ticket numbers to be issued for the ticket pool in the fourth ticket pool state.

[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, which 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 of the above-mentioned ticket number issuance methods based on the ticket pool group.

[0021] According to another aspect of an embodiment of the present invention, there is also 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 number issuance methods based on a ticket pool group.

[0022] In the present application, the following steps are performed: first, a ticket number acquisition request from a ticket printing machine is received, and the ticket number acquisition request is parsed to determine the associated ticket pool of the ticket printing machine and the required number of ticket numbers, wherein the associated ticket pool stores N ticket numbers to be issued, where N is a positive integer, and the status information of the associated ticket pool of the ticket printing machine and the ticket pool group to which the associated ticket pool belongs are obtained, wherein the ticket pool group contains M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information, usage object information, and M is a positive integer, and then a target ticket pool is selected for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs, and finally, ticket numbers are issued to the ticket printing machine according to the target ticket pool and the required number of ticket numbers, and the ticket number and the ticket pool identifier of the target ticket pool are returned to the ticket printing machine.

[0023] In the present application, a ticket pool group is established for multiple ticket pools with the same usage information, and status information is configured for the ticket pools in the ticket pool group to implement a ticket pool mutual backup mechanism. When issuing ticket numbers for a ticket printing machine, the associated ticket pool associated with the ticket printing machine is determined through a ticket number acquisition request, and the most suitable target ticket pool is selected for this ticket number issuance based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs. By issuing ticket numbers through the target ticket pool, the ticket numbers of each ticket pool in the ticket pool group can be fully utilized. If it is found that the available ticket numbers in the current ticket pool are insufficient for this ticket issuance, the ticket pool is automatically switched to issue the ticket, and the remaining ticket numbers can be used for the next ticket issuance, avoiding the waste of ticket numbers and making reasonable use of each ticket number, thereby solving the technical problem in the related technology that, in the process of direct ticket sales, the ticket pool is maintained based on a pre-set threshold, resulting in serious waste of ticket number resources. 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 1is a flow chart of an optional ticket number issuance method based on a ticket pool group according to an embodiment of the present invention;

[0026] Figure 2 It is an architecture diagram of an optional ticket number issuing system based on a ticket pool group according to an embodiment of the present invention;

[0027] Figure 3 is a flow chart of an optional ticket pool maintenance module issuing ticket numbers according to an embodiment of the present invention;

[0028] Figure 4 is a schematic diagram of an optional ticket number issuing device based on a ticket pool group according to an embodiment of the present invention;

[0029] Figure 5 It is a hardware structure block diagram of an electronic device (or mobile device) according to a ticket number issuance method based on a ticket pool group according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] 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.

[0031] 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.

[0032] It should be noted that the ticket number issuing method based on the ticket pool group and the device thereof in the present application can be used in the field of aviation information technology. When ticket numbers are issued based on the ticket pool group, they can also be used in any field other than the field of aviation information technology. When ticket numbers are issued based on the ticket pool group, the present application does not limit the application field of the ticket number issuing method based on the ticket pool group and the device thereof.

[0033] 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.

[0034] 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.

[0035] The following embodiments of the present invention can be applied to various ticket number issuance systems / applications / devices based on ticket pool groups. The present invention proposes a ticket number issuance method in the process of direct ticket sales, which aims to reduce or even avoid the waste of unused ticket numbers by airlines through the mutual backup of ticket pools, and reduce the complexity of airline settlement. When issuing ticket numbers for a ticket printing machine, the associated ticket pool associated with the ticket printing machine is determined, and the ticket pool group to which the associated ticket pool belongs is obtained. All ticket pools in the same ticket pool group are backed up for each other and can be used indiscriminately by all ticket printing machines under the current usage channel or usage unit. If it is found that the available ticket numbers in the current ticket pool are insufficient for this ticket issuance, the ticket pool is automatically switched to issue the ticket, and the remaining ticket numbers can be used for the next ticket issuance, thereby making reasonable use of every ticket number in the ticket pool.

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

[0037] Embodiment 1

[0038] According to an embodiment of the present invention, an embodiment of a ticket number issuing method based on a ticket pool group 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 the 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.

[0039] Figure 1 is a flowchart of an optional ticket number issuance method based on a ticket pool group according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0040] Step S101, receiving a ticket number acquisition request from a ticket printing machine, parsing the ticket number acquisition request, determining an associated ticket pool of the ticket printing machine and the number of required ticket numbers, wherein the associated ticket pool stores N ticket numbers to be issued, where N is a positive integer;

[0041] Step S102, obtaining the status information of the associated ticket pool of the ticket machine and the ticket pool group to which the associated ticket pool belongs, wherein the ticket pool group includes M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information and usage object information, and M is a positive integer;

[0042] Step S103, selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs;

[0043] Step S104, issuing ticket numbers to the ticket printing machine according to the target ticket pool and the required number of ticket numbers, and returning the ticket number and the ticket pool identifier of the target ticket pool to the ticket printing machine.

[0044] Through the above steps, firstly, the ticket number acquisition request of the ticket printing machine is received, and the ticket number acquisition request is parsed to determine the associated ticket pool of the ticket printing machine and the required number of ticket numbers, wherein the associated ticket pool stores N ticket numbers to be issued, N is a positive integer, and the status information of the associated ticket pool of the ticket printing machine and the ticket pool group to which the associated ticket pool belongs are obtained, wherein the ticket pool group contains M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information, usage object information, and then based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs, a target ticket pool is selected for the ticket printing machine, and finally, the ticket number is issued to the ticket printing machine according to the target ticket pool and the required number of ticket numbers, and the ticket number and the ticket pool identifier of the target ticket pool are returned to the ticket printing machine.

[0045] In this embodiment, a ticket pool group is established for multiple ticket pools with the same usage information, and status information is configured for the ticket pools in the ticket pool group to implement a ticket pool mutual backup mechanism. When issuing ticket numbers for a ticket printing machine, the associated ticket pool associated with the ticket printing machine is determined through a ticket number acquisition request, and the most suitable target ticket pool is selected for this ticket number issuance based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs. By issuing ticket numbers through the target ticket pool, the ticket numbers of each ticket pool in the ticket pool group can be fully utilized. If it is found that the available ticket numbers in the current ticket pool are insufficient for this ticket issuance, the ticket pool is automatically switched to issue the ticket, and the remaining ticket numbers can be used for the next ticket issuance, avoiding waste of ticket numbers and making reasonable use of each ticket number. This solves the technical problem in the related technology that, in the process of direct ticket sales, the ticket pool is maintained based on a pre-set threshold, resulting in serious waste of ticket number resources.

[0046] The embodiment of the present invention is described in detail below in combination with the above steps.

[0047] It should be noted that with the development of the civil aviation industry, more and more people choose airplanes as a means of travel. The number of tickets issued by sales departments such as airline websites, call centers, and business departments has gradually increased. When issuing tickets, the ticket machine initiates a ticket number acquisition request to the ticket control system and obtains the corresponding ticket number from the corresponding associated ticket pool. The ticket number is the unique identifier of the ticket and consists of 13 digits. The first three digits are the three-character code of the issuing airline; 4-6 digits are the Form Code used by IATA to distinguish the purpose of ticket number segments; 7-13 digits are the serial number. The issued ticket numbers will not be used again within a certain period of time. In order to avoid the situation where there are not enough ticket numbers in the ticket pool, such as during peak periods such as the Spring Festival travel rush, when the number of tickets issued every day is huge, the ticket pool is often maintained based on a pre-set quantity threshold. When the number of ticket numbers in the ticket pool is less than or equal to the quantity threshold, the remaining ticket numbers in the ticket pool will be immediately abandoned, and a new unused ticket number segment will be maintained. The scattered ticket numbers in the original ticket pool will be wasted and cannot be recycled within a certain period of time. Many large airlines have a certain number of ticket pools, and some ticket pools need to maintain a new ticket number segment once a day. A large number of scattered ticket numbers are wasted every month, which not only wastes the airline's ticket number resources, but also increases the monitoring and maintenance workload of personnel, and the settlement complexity is relatively high.

[0048] It should be noted that, in order to solve the problem of waste of ticket number resources in the current ticket number issuance process, the embodiments of the present invention establish a ticket pool group for multiple ticket pools of the same usage channel or usage unit through mutual backup of ticket pools. The ticket pools in the ticket pool group can be used indiscriminately by multiple ticket printing machines of the same usage channel or usage unit. When the ticket numbers of the associated ticket pool specified by the ticket printing machine are insufficient for this ticket issuance, other ticket pools in the same ticket pool group are automatically switched for ticket issuance. The remaining scattered ticket numbers in the associated ticket pool can be used for the next ticket issuance, aiming to reduce or even avoid the waste of unused ticket numbers by airlines and reduce the complexity of settlement for airlines.

[0049] Optionally, before receiving the ticket number acquisition request from the ticket printing machine, it also includes: obtaining usage information of each ticket pool, and selecting M ticket pools with the same usage information; and establishing a ticket pool group for the M ticket pools with the same usage information.

[0050] An embodiment of the present invention proposes a ticket pool mutual backup mechanism, which obtains all available ticket pools in the ticket control system and obtains usage information of each ticket pool. The usage information is used to indicate the purpose of the ticket pool, which may be usage channel information of the ticket pool and usage object information of the ticket pool. The usage object information of the ticket pool is the usage unit information of the ticket pool. A ticket pool group is established for ticket pools with the same purpose to realize the ticket pool mutual backup mechanism.

[0051] Optionally, before receiving the ticket number acquisition request from the ticket printing machine, it also includes: configuring status information for each ticket pool in the ticket pool group; selecting a main ticket pool for the ticket pool group based on the status information of each ticket pool in the ticket pool group, and using other ticket pools in the ticket pool group except the main ticket pool as backup ticket pools, wherein the main ticket pool represents a ticket pool whose ticket pool status information is the first ticket pool status.

[0052] It should be noted that for each ticket pool in the ticket pool group, in the initial state, each ticket pool is allocated sufficient ticket number segments, and status information is configured for each ticket pool to display the ticket pool status. The ticket pool status information will be updated based on each ticket number issuance, and the management end will also perform regular maintenance on the ticket pool status information to ensure that the ticket pool status information is up to date and accurate. After the status information is configured for each ticket pool, a primary ticket pool is selected, and the remaining ticket pools are used as backup ticket pools. The primary ticket pool and the backup ticket pool will switch with the status of the ticket pool. When issuing ticket pools, the priority of the associated ticket pool associated with the ticket machine is greater than the priority of the primary ticket pool, and the priority of the primary ticket pool is greater than the priority of the backup ticket pool.

[0053] It should be noted that the embodiment of the present invention defines four types of status information for characterizing the status of a ticket pool, namely, a first ticket pool status, a second ticket pool status, a third ticket pool status and a fourth ticket pool status. Specifically, the first ticket pool status is used to indicate that the ticket pool is a main ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold; the second ticket pool status is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is less than or equal to a quantity threshold; the third ticket pool status is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold; the fourth ticket pool status is used to indicate that there are no ticket numbers to be issued in the ticket pool. The first ticket pool status and the second ticket pool status belong to the first category of status, and the third ticket pool status and the fourth ticket pool status belong to the second category of status. Each ticket pool in the ticket pool group is monitored and ticket numbers are issued through status information.

[0054] Step S101, receiving a ticket number acquisition request from a ticket printing machine, parsing the ticket number acquisition request, and determining the associated ticket pool of the ticket printing machine and the required ticket number quantity.

[0055] It should be noted that in the passenger ticket sales system, each time a ticket is issued, the ticket printing machine sends a ticket number acquisition request through the ticket number acquisition module to obtain the ticket number required for this ticket issuance. The ticket number acquisition request carries the associated ticket pool associated with the ticket printing machine and the number of ticket numbers required for this ticket issuance. The ticket number acquisition request is parsed to obtain the associated ticket pool and the number of ticket numbers required. The associated ticket pool stores N ticket numbers to be issued.

[0056] Step S102, obtaining the status information of the associated ticket pool of the ticket printing machine and the ticket pool group to which the associated ticket pool belongs.

[0057] It should be noted that after determining the associated ticket pool of the ticket printing machine, you first need to determine the status information of the associated ticket pool. When the status information of the associated ticket pool does not meet the conditions, that is, when the ticket number in the associated ticket pool does not meet the current ticket issuance requirements, switch the available ticket pool through the ticket pool group to which the associated ticket pool belongs to issue ticket numbers for the ticket printing machine. The remaining scattered ticket numbers in the associated ticket pool can be used for subsequent ticket issuance, thereby making full use of every ticket number in the ticket pool.

[0058] The above-mentioned ticket pool groups are pre-constructed, and each ticket pool group contains M ticket pools with the same usage information, where M is a positive integer. The usage information may include: usage channel information, usage object information, etc.

[0059] Step S103, selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs.

[0060] It should be noted that the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs determine the final ticket pool for issuing tickets. This embodiment implements a ticket pool mutual backup mechanism through the ticket pool group, which can make full use of all ticket numbers of each ticket pool and reduce resource waste. At the same time, the status information configured for the ticket pool group can also realize the monitoring of the ticket pool, which can save human resources to a certain extent.

[0061] Optionally, the step of selecting a target ticket pool for a ticket printing machine based on status information of an associated ticket pool and a ticket pool group to which the associated ticket pool belongs includes: when the status information of the associated ticket pool indicates that the associated ticket pool is in a first type of state, obtaining the number of ticket numbers to be issued in the associated ticket pool, wherein the first type of state includes a first ticket pool state or a second ticket pool state, the first ticket pool state is used to indicate that the ticket pool is a primary ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the second ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is less than or equal to a quantity threshold; comparing the number of ticket numbers to be issued in the associated ticket pool with the number of required ticket numbers to obtain a comparison result; when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is greater than or equal to the number of required ticket numbers, using the associated ticket pool as the target ticket pool for the ticket printing machine; or, when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is less than the number of required ticket numbers, selecting other ticket pools except the associated ticket pool from the ticket pool group as target ticket pools.

[0062] It should be noted that if the status information of the ticket pool associated with the ticket printing machine is the first type of status, the number of ticket numbers to be issued in the associated ticket pool is directly obtained. The first type of status includes the first ticket pool status and the second ticket pool status, that is, the associated ticket pool is the main ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than the quantity threshold or the associated ticket pool is the backup ticket pool and the number of ticket numbers to be issued in the ticket pool is less than or equal to the quantity threshold. At this time, if the number of ticket numbers to be issued in the associated ticket pool is greater than or equal to the required number of ticket numbers, it indicates that the associated ticket pool can meet the demand for this ticket issuance, and the associated ticket pool is directly used as the target ticket pool, and ticket numbers are issued to the ticket printing machine through the target ticket pool.

[0063] On the other hand, if the number of ticket numbers to be issued in the associated ticket pool is less than the number of ticket numbers required for this ticket issuance, it indicates that the associated ticket pool does not meet the requirements for this ticket issuance, and it is necessary to select a suitable ticket pool from the ticket pool group as the target ticket pool for ticket number issuance. Specifically, a ticket pool with status information of the third ticket pool status is selected from the ticket pool group of the associated ticket pool. If there are multiple ticket pools selected in the third ticket pool status, one of the ticket pools is selected according to the preset rules. For example, the ticket pool with the largest number can be selected based on the ticket pool number. The ticket pools in the third ticket pool status are all backup ticket pools and have sufficient ticket numbers. For the selected ticket pool, the status information of the ticket pool is modified to the first ticket pool status, that is, it is switched to the main ticket pool, and the status information of the original associated ticket pool is unified to the second ticket pool status. The latest main ticket pool is used as the target ticket pool for this ticket issuance, and ticket numbers are issued to the ticket punching machine through the target ticket pool.

[0064] Optionally, the step of selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs also includes: when the status information of the associated ticket pool indicates that the associated ticket pool is in the second type of state, obtaining the number of ticket numbers to be issued in the ticket pool in the first ticket pool state from the ticket pool group, wherein the second type of state includes: the third ticket pool state or the fourth ticket pool state, the third ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the fourth ticket pool state is used to indicate that there are no ticket numbers to be issued in the ticket pool; when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is greater than or equal to the required number of ticket numbers, the ticket pool in the first ticket pool state is used as the target ticket pool for the ticket printing machine; or, when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is less than the required number of ticket numbers, a ticket pool in the third ticket pool state is selected from the ticket pool group as the target ticket pool for the ticket printing machine.

[0065] It should be noted that if the status information of the associated ticket pool of the ticket printing machine is the second type of status, that is, the associated ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than the quantity threshold, or there are no ticket numbers to be issued in the associated ticket pool, since the priority of the backup ticket pool is lower than the priority of the main ticket pool, it is necessary to find the main ticket pool in the same group whose status information is the first ticket pool status. When the main ticket pool is sufficient, that is, the number of ticket numbers to be issued in the main ticket pool is greater than or equal to the required number of ticket numbers, the main ticket pool is used as the target ticket pool for this ticket pool issuance. If the main ticket pool does not meet the ticket number issuance requirements, that is, the number of ticket numbers to be issued in the main ticket pool is less than the required number of ticket numbers, a suitable ticket pool is selected from the ticket pool in the third ticket pool status as the target ticket pool for this ticket number issuance. The selected ticket pool can be the associated ticket pool of the ticket printing machine, or a ticket pool selected based on preset rules.

[0066] Step S104, issuing ticket numbers to the ticket printing machine according to the target ticket pool and the required number of ticket numbers, and returning the ticket number and the ticket pool identifier of the target ticket pool to the ticket printing machine.

[0067] It should be noted that, when the target ticket pool for the issuance of this ticket number is obtained, the ticket number is issued to the ticket printing machine through the target ticket pool according to the number of ticket numbers required by the ticket printing machine, and the ticket number and the ticket pool identifier of the target ticket pool are returned to the ticket printing machine for ticket issuance. The minimum ticket number currently available for allocation is recorded on each ticket pool. When issuing tickets, the ticket printing machine will obtain a certain number of ticket numbers starting with the minimum ticket number from the corresponding ticket pool. At the same time, the available minimum ticket number recorded in the ticket pool will be recalculated and updated after the ticket number is issued.

[0068] Optionally, after issuing ticket numbers to the ticket printing machine through the target ticket pool and the required number of ticket numbers, it also includes: monitoring the ticket pools in the ticket pool group to obtain the number of ticket numbers to be issued in each ticket pool; updating the status information of the ticket pool based on the number of ticket numbers to be issued in the ticket pool; switching the main ticket pool and backup ticket pool of the ticket pool group based on the status information of the ticket pool.

[0069] It should be noted that after each ticket issuance, the system will update the number of ticket numbers to be issued in the ticket pool based on the ticket pool and the number of tickets issued, and update the status information of each ticket pool, and switch the main ticket pool and the backup ticket pool based on the status information of the ticket pool.

[0070] Optionally, after issuing ticket numbers to the ticket printing machine through the target ticket pool and the required number of ticket numbers, it also includes: when the number of ticket numbers to be issued in the target ticket pool is equal to the required number of ticket numbers, updating the status information of the target ticket pool after issuing the ticket numbers to the fourth ticket pool state; and configuring new ticket numbers to be issued for the ticket pool in the fourth ticket pool state.

[0071] It should be noted that during this ticket issuance process, if it is monitored that the number of ticket numbers to be issued in the target ticket pool is equal to the number of required ticket numbers, after the ticket numbers are issued, the ticket pool in the target ticket pool is issued, and the number of ticket numbers to be issued in the ticket pool will become 0. The status information of the target ticket pool will be updated to the fourth ticket pool status, and new ticket numbers to be issued will be configured for the ticket pool in the fourth ticket pool status, so that it can be put into use again. The issued ticket numbers can be recycled after a period of time and used for ticket issuance again.

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

[0073] Figure 2 is an architecture diagram of an optional ticket number issuing system based on a ticket pool group according to an embodiment of the present invention, such as Figure 2 As shown, the ticket number issuance system based on the ticket pool group includes a ticket control subsystem and a passenger ticket sales subsystem. The ticket control system is deployed with a ticket pool maintenance module, which is used to maintain the ticket number range of the ticket pool, control and record the issuance of ticket numbers, and automatically issue ticket numbers for each ticket issuance during the ticket sales process; the passenger ticket sales system is deployed with a ticket number acquisition module, which acquires the ticket number from the ticket pool maintenance system in real time when the ticket is sold.

[0074] Specifically, in the ticket pool maintenance module, the concept of ticket pool group is introduced, and multiple ticket pools with the same purpose (i.e., the same usage channel or usage unit) are set as a ticket pool group. All ticket pools in the same ticket pool group back up each other and can be used indiscriminately by all ticket machines for this purpose (usage channel or usage unit).

[0075] Configure status information for each ticket pool, and update the ticket pool status in real time according to the usage of the ticket numbers in the ticket pool. The supported ticket pool status information is shown in Table 1:

[0076] Table 1 Ticket pool status information

[0077]

[0078] It should be noted that the ticket pool status within the ticket pool group will be updated in real time, and the changes in status information are shown in Table 2:

[0079] Table 2 Changes in ticket pool status information

[0080]

[0081]

[0082] Figure 3 is a flow chart of an optional ticket pool maintenance module issuing ticket numbers according to an embodiment of the present invention, such as Figure 3 As shown in the figure, the process of issuing ticket numbers in the ticket pool maintenance module includes:

[0083] Before issuing ticket numbers, set up multiple mutually backed-up ticket pools, mark them as a group, and mark the ticket pool status A / S for each ticket pool in the same group. At the same time, only one ticket pool in the "A" state is allowed in the same ticket pool group, that is, there can only be one main ticket pool (corresponding to the above-mentioned main ticket pool), and the rest are backup ticket pools (status "S"). An exemplary ticket pool information is shown in Table 3:

[0084] Table 3 An exemplary ticket pool information

[0085]

[0086] As shown in Table 3, P1, P2, and P3 are three mutually backed-up ticket pools under the GR01 group, which are used for the airline B2B website. P1 is the main ticket pool under the GR01 group, and P2 and P3 are backup ticket pools. The main ticket pool of P1 has used 1999996 ticket numbers. When the next ticket is sold, the ticket number issued to the ticket number acquisition module will be XXX-230-5999997, that is, P1 has only 4 available ticket numbers left.

[0087] Step 1: Get the ticket number processing request (Pn, Tn);

[0088] In the passenger ticket sales system, each time a ticket is issued, the ticket machine sends a ticket number acquisition request through the ticket number acquisition module, and the ticket number acquisition request is used to determine the associated ticket pool Pn associated with the ticket machine and the number of ticket numbers required for this ticket issuance.

[0089] Step 2: Determine whether the Pn state is O (corresponding to the fourth ticket pool state) or S (corresponding to the third ticket pool state). If yes, execute step 3; if no, jump to step 4.

[0090] Step 3: Change the ticket pool associated with the ticket machine: Find the ticket pool Pa in state A in the ticket pool group, and modify Pn = Pa;

[0091] Step 4: Determine whether the number of ticket numbers to be issued in the ticket pool = Tn (corresponding to the number of ticket numbers required above). If yes, proceed to step 5; if no, jump to step 6;

[0092] Step 5: Set the Pn ticket pool status to 0 and jump to step 8;

[0093] Step 6: Determine whether the number of tickets to be issued in the ticket pool is greater than Tn. If so, jump to step 8; if not, execute step 7;

[0094] Step 7: Change the ticket pool associated with the ticket machine, find the ticket pool Pa with a status of S in the same family, change the status of Pa to A, and change the status of Pn to R, and set Pn = Pa;

[0095] Step 8, return the available ticket numbers S1-Sn, return the ticket pool number Pn, and the processing is completed.

[0096] An example of a scenario for issuing ticket numbers based on the above steps:

[0097] Assume that the current ticket pool information of ticket pool group GR01 is as shown in Table 4:

[0098] Table 4 Current vote pool information of vote pool group GR01

[0099]

[0100] Assume that the ticketing demand for a certain period in the ticket sales system is as shown in Table 5:

[0101] Table 5 An exemplary ticketing requirement

[0102] Ticket issuance order Ticket machine Original associated ticket pool Number of tickets issued 1 DEV-1 P2 1 2 DEV-2 P1 6 3 DEV-3 P3 2 4 DEV-4 P1 3 ... DEV... P1... …

[0103] Based on the ticketing requirements, it is known that this ticketing needs to use the ticket machine DEV-1 to issue an electronic ticket. The ticketing request (P2, T1) is sent through the ticket number acquisition module. The ticket pool maintenance module finds that the status of P2 is S, finds the ticket pool P1 in the A status in GR01 as the ticket pool after switching, and issues the ticket number XXX-230-5999997 for it. (P1, XXX-230-5999997) is returned. After the ticket number is issued, the ticket pool information after the ticket pool group GR01 issues a ticket is shown in Table 6:

[0104] Table 6 Ticket pool information after ticket pool group GR01 issues a ticket

[0105]

[0106] The demand information after the ticket machine issues a ticket is shown in Table 7:

[0107] Table 7 Demand information after the ticket machine issues a ticket

[0108]

[0109]

[0110] When issuing tickets for the second time, the ticket machine DEV-2 needs to issue 6 electronic tickets. The ticket issuing request (P1, T6) is sent through the ticket number acquisition module. P1 has 3 ticket numbers left, which is less than 6. Therefore, the state of P1 is changed to "R", and the first ticket pool P2 with a state of "S" in the same group is found as the switching ticket pool. Pn = P2 is set, and 6 ticket numbers are assigned to it. Return: (P2, [XXX-230-6000001, XXX-230-6000006]; The ticket pool information after the ticket pool group GR01 issues tickets twice is shown in Table 8:

[0111] Table 8 Ticket pool information after ticket pool group GR01 issues tickets twice

[0112]

[0113] The demand information after the ticket machine issues tickets twice is shown in Table 9:

[0114] Table 9 Demand information after the ticket machine issues tickets twice

[0115]

[0116]

[0117] When issuing tickets for the third time, the ticket machine DEV-3 needs to issue two electronic tickets. The ticket issuing request (P3, T2) is sent through the ticket number acquisition module. The status of P3 is "O". The ticket pool P2 with the status of "A" in the same group is found as the switching ticket pool. Pn=P2 is set and two ticket numbers are assigned to it. Return: (P2, [XXX-230-6000007, XXX-230-6000008]). The ticket pool information after the ticket pool group GR01 issues tickets three times is shown in Table 10:

[0118] Table 10 Ticket pool information after ticket pool group GR01 issues tickets three times

[0119]

[0120] The demand information after the ticket machine issues tickets three times is shown in Table 11:

[0121] Table 11 Demand information after the ticket machine issues tickets three times

[0122]

[0123]

[0124] When issuing tickets for the fourth time, the ticket machine DEV-4 is required to issue three electronic tickets. The ticket issuing request (P1, T3) is sent through the ticket number acquisition module. The status of P1 is "R". Three ticket numbers [XXX-230-5999998, XXX-230-6000000] are issued for it. The ticket numbers of P1 have been used up, and the status is set to "O". Return: (P1, [XXX-230-5999998, XXX-230-6000000]). The ticket pool information of the ticket pool group GR01 after issuing tickets four times is shown in Table 12:

[0125] Table 12 Ticket pool information after ticket pool group GR01 issues tickets four times

[0126]

[0127] The demand information after the ticket machine issues tickets four times is shown in Table 13:

[0128] Table 13 Demand information after the ticket machine issues tickets four times

[0129]

[0130]

[0131] After receiving the request response, the ticket number acquisition module completes the ticket issuance operation and determines whether the ticket pool needs to be switched. If so, the default associated ticket pool of the current ticket printing machine is set to Pn returned by the ticket pool maintenance module, and the returned ticket number S1-Sn is used to print the electronic ticket for the ticket sold this time.

[0132] The management end regularly checks the status of the ticket pool. If a ticket pool is found to be in status O, it will add new number segments to the ticket pool. After adding the new number segments, the system will automatically switch the ticket pool status from "O" to "S".

[0133] In the above business scenario, P1 and P3 are already in the O state. The management end can add new number segments for P1 and P3, such as 8000001-9000000 and 9000001-9500000. P1 and P3 will automatically become S. The ticket pool information of the ticket pool group GR01 after the ticket number segment is added is shown in Table 14:

[0134] Table 14 Ticket pool information of ticket pool group GR01 after adding ticket number segment

[0135]

[0136] In an embodiment of the present invention, a method for issuing ticket numbers from an airline's ticket pool is proposed, a ticket pool group is introduced, and a ticket pool mutual backup mechanism is used to effectively utilize each ticket number in the ticket pool, thereby avoiding the waste of a large number of discontinuous and scattered ticket numbers, reducing the complexity of airline settlement, and alleviating the workload of ticket pool maintenance personnel.

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

[0138] Embodiment 2

[0139] A ticket number issuing device based on a ticket pool group provided in this embodiment includes multiple implementation units, each implementation unit corresponds to each implementation step in the above-mentioned embodiment one. Its specific implementation method and beneficial effects can refer to the aforementioned method embodiment and will not be repeated here.

[0140] Figure 4 is a schematic diagram of an optional ticket number issuing device based on a ticket pool group according to an embodiment of the present invention, such as Figure 4As shown, the ticket number issuing device based on the ticket pool group may include: a receiving unit 41, an acquiring unit 42, a selecting unit 43, and an issuing unit 44, wherein:

[0141] The receiving unit 41 is used to receive a ticket number acquisition request from a ticket printing machine, and parse the ticket number acquisition request to determine the associated ticket pool and the required ticket number quantity of the ticket printing machine, wherein the associated ticket pool stores N ticket numbers to be issued, where N is a positive integer;

[0142] The acquisition unit 42 is used to acquire the status information of the associated ticket pool of the ticket machine and the ticket pool group to which the associated ticket pool belongs, wherein the ticket pool group includes M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information and usage object information, and M is a positive integer;

[0143] A selection unit 43, configured to select a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs;

[0144] The issuing unit 44 is used to issue ticket numbers to the ticket printing machine according to the target ticket pool and the required number of ticket numbers, and return the ticket number and the ticket pool identifier of the target ticket pool to the ticket printing machine.

[0145] The above-mentioned ticket number issuing device based on the ticket pool group receives the ticket number acquisition request of the ticket printing machine through the receiving unit 41, and parses the ticket number acquisition request to determine the associated ticket pool of the ticket printing machine and the required number of ticket numbers, wherein the associated ticket pool stores N ticket numbers to be issued, and N is a positive integer; obtains the status information of the associated ticket pool of the ticket printing machine and the ticket pool group to which the associated ticket pool belongs through the acquisition unit 42, wherein the ticket pool group contains M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information, usage object information; selects the target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs through the selection unit 43; issues the ticket number to the ticket printing machine through the issuing unit 44 according to the target ticket pool and the required number of ticket numbers, and returns the ticket number and the ticket pool identifier of the target ticket pool to the ticket printing machine.

[0146] In this embodiment, a ticket pool group is established for multiple ticket pools with the same usage information, and status information is configured for the ticket pools in the ticket pool group to implement a ticket pool mutual backup mechanism. When issuing ticket numbers for a ticket printing machine, the associated ticket pool associated with the ticket printing machine is determined through a ticket number acquisition request, and the most suitable target ticket pool is selected for this ticket number issuance based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs. By issuing ticket numbers through the target ticket pool, the ticket numbers of each ticket pool in the ticket pool group can be fully utilized. If it is found that the available ticket numbers in the current ticket pool are insufficient for this ticket issuance, the ticket pool is automatically switched to issue the ticket, and the remaining ticket numbers can be used for the next ticket issuance, avoiding waste of ticket numbers and making reasonable use of each ticket number. This solves the technical problem in the related technology that, in the process of direct ticket sales, the ticket pool is maintained based on a pre-set threshold, resulting in serious waste of ticket number resources.

[0147] Optionally, the selection unit 43 includes: a first acquisition module, used to acquire the number of ticket numbers to be issued in the associated ticket pool when the status information of the associated ticket pool indicates that the associated ticket pool is in a first type of state, wherein the first type of state includes a first ticket pool state or a second ticket pool state, the first ticket pool state is used to indicate that the ticket pool is a primary ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the second ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is less than or equal to the quantity threshold; a first comparison module, used to compare the number of ticket numbers to be issued in the associated ticket pool with the required number of ticket numbers to obtain a comparison result; a first as module, used to use the associated ticket pool as the target ticket pool for the ticket printing machine when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is greater than or equal to the required number of ticket numbers; and a second as module, used to select other ticket pools except the associated ticket pool from the ticket pool group as target ticket pools when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is less than the required number of ticket numbers.

[0148] Optionally, the selection unit 43 also includes: a second acquisition module, which is used to obtain the number of ticket numbers to be issued in a ticket pool in the first ticket pool state from the ticket pool group when the status information of the associated ticket pool indicates that the associated ticket pool is in the second type of state, wherein the second type of state includes: a third ticket pool state or a fourth ticket pool state, the third ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the fourth ticket pool state is used to indicate that there are no ticket numbers to be issued in the ticket pool; the third as a module is used to use the ticket pool in the first ticket pool state as the target ticket pool for the ticket printing machine when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is greater than or equal to the required number of ticket numbers; the fourth as a module is used to select a ticket pool in the second ticket pool state from the ticket pool group as the target ticket pool for the ticket printing machine when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is less than the required number of ticket numbers.

[0149] Optionally, the ticket number issuing device based on the ticket pool group also includes: a first selection module, used to obtain usage information of each ticket pool, and select M ticket pools with the same usage information; a first establishment module, used to establish a ticket pool group for the M ticket pools with the same usage information.

[0150] Optionally, the ticket number issuing device based on the ticket pool group also includes: a first configuration module, used to configure status information for each ticket pool in the ticket pool group; a second selection module, used to select a main ticket pool for the ticket pool group based on the status information of each ticket pool in the ticket pool group, and use other ticket pools in the ticket pool group except the main ticket pool as backup ticket pools, wherein the main ticket pool refers to a ticket pool whose ticket pool status information is the first ticket pool status.

[0151] Optionally, the ticket number issuing device based on the ticket pool group also includes: a third acquisition module, used to monitor the ticket pools in the ticket pool group and obtain the number of ticket numbers to be issued in each ticket pool; a first update module, used to update the status information of the ticket pool based on the number of ticket numbers to be issued in the ticket pool; a first switching module, used to switch the main ticket pool and the backup ticket pool of the ticket pool group based on the status information of the ticket pool.

[0152] Optionally, the ticket number issuing device based on the ticket pool group also includes: a second update module, used to update the status information of the target ticket pool after issuing the ticket numbers to the fourth ticket pool state when the number of ticket numbers to be issued in the target ticket pool is equal to the number of required ticket numbers; a second configuration module, used to configure new ticket numbers to be issued for the ticket pool in the fourth ticket pool state.

[0153] The above-mentioned ticket number issuing device based on the ticket pool group may also include a processor and a memory. The above-mentioned receiving unit 41, acquisition unit 42, selection unit 43, issuing unit 44, 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 the corresponding functions.

[0154] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and ticket numbers are issued to the ticket machine by adjusting kernel parameters.

[0155] 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 memory (fl ash RAM), and the memory includes at least one storage chip.

[0156] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including 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 number issuance methods based on the ticket pool group.

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

[0158] According to another aspect of an embodiment of the present invention, a computer program product is also provided, the computer program product comprising a computer program, wherein when the computer program is executed by a processor, any one of the above-mentioned ticket number issuance methods based on a ticket pool group is implemented.

[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 initializes the following method steps: receiving a ticket number acquisition request from a ticket printing machine, parsing the ticket number acquisition request, determining the associated ticket pool of the ticket printing machine and the required number of ticket numbers, wherein the associated ticket pool stores N ticket numbers to be issued, and N is a positive integer; obtaining status information of the associated ticket pool of the ticket printing machine and the ticket pool group to which the associated ticket pool belongs, wherein the ticket pool group contains M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information, usage object information; selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs; issuing ticket numbers for the ticket printing machine according to the target ticket pool and the required number of ticket numbers, and returning the ticket number and the ticket pool identifier of the target ticket pool to the ticket printing machine.

[0160] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program that is initialized with the following method steps: the step of selecting a target ticket pool for a ticket printing machine based on the status information of an associated ticket pool and the ticket pool group to which the associated ticket pool belongs includes: when the status information of the associated ticket pool indicates that the associated ticket pool is in a first type of state, obtaining the number of ticket numbers to be issued in the associated ticket pool, wherein the first type of state includes a first ticket pool state or a second ticket pool state, the first ticket pool state is used to indicate that the ticket pool is a primary ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the second ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is less than or equal to the quantity threshold; comparing the number of ticket numbers to be issued in the associated ticket pool with the number of required ticket numbers to obtain a comparison result; when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is greater than or equal to the number of required ticket numbers, using the associated ticket pool as the target ticket pool for the ticket printing machine; or, when the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is less than the number of required ticket numbers, selecting other ticket pools from the ticket pool group except the associated ticket pool as the target ticket pool.

[0161] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program that initializes the following method steps: the step of selecting a target ticket pool for a ticket printing machine based on the status information of an associated ticket pool and the ticket pool group to which the associated ticket pool belongs also includes: when the status information of the associated ticket pool indicates that the associated ticket pool is in the second type of state, obtaining the number of ticket numbers to be issued in the ticket pool in the first ticket pool state from the ticket pool group, wherein the second type of state includes: a third ticket pool state or a fourth ticket pool state, the third ticket pool state is used to indicate that the ticket pool is a backup ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than a quantity threshold, and the fourth ticket pool state is used to indicate that there are no ticket numbers to be issued in the ticket pool; when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is greater than or equal to the required number of ticket numbers, the ticket pool in the first ticket pool state is used as the target ticket pool for the ticket printing machine; or, when the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is less than the required number of ticket numbers, a ticket pool in the second ticket pool state is selected from the ticket pool group as the target ticket pool for the ticket printing machine.

[0162] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program that initializes the following method steps: before receiving a ticket number acquisition request from a ticket printing machine, it also includes: obtaining usage information of each ticket pool, and selecting M ticket pools with the same usage information; establishing a ticket pool group for the M ticket pools with the same usage information.

[0163] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program that initializes the following method steps: before receiving a ticket number acquisition request from a ticket printing machine, it also includes: configuring status information for each ticket pool in a ticket pool group; selecting a main ticket pool for the ticket pool group based on the status information of each ticket pool in the ticket pool group, and using other ticket pools in the ticket pool group except the main ticket pool as backup ticket pools, wherein the main ticket pool represents a ticket pool whose ticket pool status information is the first ticket pool status.

[0164] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program that initializes the following method steps: after issuing ticket numbers to a ticket printing machine through a target ticket pool and a required number of ticket numbers, it also includes: monitoring the ticket pools in the ticket pool group to obtain the number of ticket numbers to be issued in each ticket pool; updating the status information of the ticket pool based on the number of ticket numbers to be issued in the ticket pool; and switching the main ticket pool and the backup ticket pool of the ticket pool group based on the status information of the ticket pool.

[0165] The present application also provides a computer program product, which, when executed on a data processing device, is also suitable for executing a program that initializes the following method steps: after issuing ticket numbers to a ticket printing machine through a target ticket pool and a required number of ticket numbers, it also includes: when the number of ticket numbers to be issued in the target ticket pool is equal to the required number of ticket numbers, updating the status information of the target ticket pool after issuing the ticket numbers to a fourth ticket pool state; and configuring new ticket numbers to be issued for the ticket pool in the fourth ticket pool state.

[0166] Figure 5 1 is a hardware structure block diagram of an electronic device (or mobile device) for a ticket number issuing method based on a ticket pool group according to an embodiment of the present invention. Figure 5 As shown, the electronic device may include one or more ( Figure 5 502a, 502b, ..., 502n are used to illustrate) processor 502 (processor 502 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), memory 504 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. It can be understood by those skilled in the art that Figure 5 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 5 More or fewer components as shown, or with Figure 5 Different configurations are shown.

[0167] 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.

[0168] 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.

[0169] 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.

[0170] 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.

[0171] 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.

[0172] 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.

[0173] 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 ticket number issuing method based on a ticket pool group, characterized in that: include: Receive a ticket number acquisition request from a ticket machine, parse the ticket number acquisition request, and determine the associated ticket pool and the number of required ticket numbers of the ticket machine, wherein the associated ticket pool stores N ticket numbers to be issued, where N is a positive integer; Obtaining status information of the associated ticket pool of the ticket machine and the ticket pool group to which the associated ticket pool belongs, wherein the ticket pool group includes M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information and usage object information, where M is a positive integer; Selecting a target ticket pool for the ticket-printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs; The ticket number is issued to the ticket printing machine according to the target ticket pool and the required number of ticket numbers, and the ticket number and the ticket pool identifier of the target ticket pool are returned to the ticket printing machine.

2. The ticket number issuing method according to claim 1, characterized in that: The step of selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs includes: In the case where the status information of the associated ticket pool indicates that the associated ticket pool is in the first type of state, the number of ticket numbers to be issued in the associated ticket pool is obtained, wherein the first type of state includes the first ticket pool state or the second ticket pool state, the first ticket pool state is used to indicate that the ticket pool is the main ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than the quantity threshold, and the second ticket pool state is used to indicate that the ticket pool is the backup ticket pool and the number of ticket numbers to be issued in the ticket pool is less than or equal to the quantity threshold; Compare the number of ticket numbers to be issued in the associated ticket pool with the number of required ticket numbers to obtain a comparison result; If the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is greater than or equal to the number of required ticket numbers, the associated ticket pool is used as the target ticket pool of the ticket printing machine; or When the comparison result indicates that the number of ticket numbers to be issued in the associated ticket pool is less than the required number of ticket numbers, other ticket pools except the associated ticket pool are selected from the ticket pool group as the target ticket pool.

3. The ticket number issuing method according to claim 1, characterized in that: The step of selecting a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs also includes: In the case where the status information of the associated ticket pool indicates that the associated ticket pool is in the second type of state, the number of ticket numbers to be issued of the ticket pool in the first ticket pool state is obtained from the ticket pool group, wherein the second type of state includes: the third ticket pool state or the fourth ticket pool state, the third ticket pool state is used to indicate that the ticket pool is a standby ticket pool and the number of ticket numbers to be issued in the ticket pool is greater than the quantity threshold, and the fourth ticket pool state is used to indicate that the ticket pool does not have the ticket number to be issued; When the number of the ticket numbers to be issued in the ticket pool in the first ticket pool state is greater than or equal to the number of the required ticket numbers, the ticket pool in the first ticket pool state is used as the target ticket pool of the ticket printing machine; or When the number of ticket numbers to be issued in the ticket pool in the first ticket pool state is less than the required number of ticket numbers, a ticket pool in the third ticket pool state is selected from the ticket pool group as the target ticket pool of the ticket printing machine.

4. The ticket number issuing method according to claim 1, characterized in that: Before receiving the ticket number acquisition request from the ticket machine, it also includes: Obtain the usage information of each ticket pool, and select M ticket pools with the same usage information; A ticket pool group is established for the M ticket pools with the same usage information.

5. The ticket number issuing method according to claim 1, characterized in that: Before receiving the ticket number acquisition request from the ticket machine, it also includes: Configuring the status information for each ticket pool in the ticket pool group; Based on the status information of each ticket pool in the ticket pool group, a main ticket pool is selected for the ticket pool group, and other ticket pools in the ticket pool group except the main ticket pool are used as backup ticket pools, wherein the main ticket pool represents a ticket pool whose ticket pool status information is the first ticket pool status.

6. The ticket number issuing method according to claim 1, characterized in that: After issuing ticket numbers to the ticket machine according to the target ticket pool and the required number of ticket numbers, the method further includes: Monitor the ticket pools in the ticket pool group to obtain the number of ticket numbers to be issued in each ticket pool; Update the status information of the ticket pool based on the number of ticket numbers to be issued in the ticket pool; The main ticket pool and the backup ticket pool of the ticket pool group are switched based on the status information of the ticket pool.

7. The ticket number issuing method according to claim 1, characterized in that: After issuing ticket numbers to the ticket machine according to the target ticket pool and the required number of ticket numbers, the method further includes: When the number of ticket numbers to be issued in the target ticket pool is equal to the number of required ticket numbers, the state information of the target ticket pool after issuing the ticket numbers is updated to the fourth ticket pool state; A new ticket number to be issued is configured for the ticket pool in the fourth ticket pool state.

8. A ticket number issuing device based on a ticket pool group, characterized in that: include: A receiving unit, used to receive a ticket number acquisition request from a ticket printing machine, and parse the ticket number acquisition request to determine an associated ticket pool and a required number of ticket numbers of the ticket printing machine, wherein the associated ticket pool stores N ticket numbers to be issued, where N is a positive integer; An acquisition unit, used to acquire status information of the associated ticket pool of the ticket machine and the ticket pool group to which the associated ticket pool belongs, wherein the ticket pool group includes M ticket pools with the same usage information, and the usage information includes at least one of the following: usage channel information and usage object information, and M is a positive integer; A selection unit, configured to select a target ticket pool for the ticket printing machine based on the status information of the associated ticket pool and the ticket pool group to which the associated ticket pool belongs; The issuing unit is used to issue ticket numbers to the ticket printing machine according to the target ticket pool and the required number of ticket numbers, and return the ticket number and the ticket pool identifier of the target ticket pool to the ticket printing machine.

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 running, the device where the computer-readable storage medium is located is controlled to execute the ticket number issuance method based on the ticket pool group as described in any one of claims 1 to 7.

10. An electronic device, characterized in that: It includes 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 number issuance method based on a ticket pool group as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Civil aviation electronic ticket system, ticket management method, storage medium and program product

    CN119850282A

  • Civil aviation electronic ticket system and ticket management method, and storage medium and program product

    WO2026138033A1