Number limiting processing method and device for multi-period lottery betting

By setting the allocation ratio of multi-term lottery betting and loading multi-term betting licenses to local memory, the problem of the inability to effectively handle multi-term lottery betting risk control in the existing technology is solved, the uniqueness, accuracy and security of betting licenses are realized, and high concurrency lottery betting processing is supported.

CN119513161APending Publication Date: 2025-02-25CHINA SPORTS LOTTERY TECH GROUP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311049375.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-18
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The prior art cannot effectively handle the risk control of multi-term lottery betting, and cannot guarantee the uniqueness, accuracy and safety of betting licenses, especially in the case of high concurrency.

Method used

By setting the allocation ratio of multi-term lottery betting, the maximum number of betting licenses for each prize period is allocated according to the proportion, and the multi-term betting licenses are loaded from the backend database to local memory before the current prize period is on sale, and the number limit processing is carried out.

Benefits of technology

It has achieved accurate updates and processing of betting licenses for multiple consecutive prize periods starting from the current on-sale period, ensuring the uniqueness, accuracy and safety of betting licenses, and supporting high concurrent lottery betting processing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119513161A_ABST
    Figure CN119513161A_ABST
Patent Text Reader

Abstract

The invention provides a number limiting processing method and device for multi-period lottery betting, and relates to the technical field of lottery business process.The method comprises the steps that for a multi-period lottery game, the distribution proportion of the multi-period lottery betting is set, and the betting permission upper limit number of each lottery period in the multi-period lottery game is distributed according to the proportion; before the current lottery period is sold, according to the number of the remaining betting permissions in the current lottery period and the upper limit number of the betting permissions in each lottery period in the multi-period lottery game, the multi-period betting permissions are loaded to the local memory from the background database; acquiring betting numbers and betting quantity of the multi-period lottery game in the selling process of the current prize period; and deducting the betting quantity corresponding to the betting number of the multi-period lottery game from the multi-period betting permission of the local memory until the multi-period betting permission of the local memory is deducted completely or the sale is stopped in the current prize period.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lottery business processing, and in particular to a method and device for processing number restrictions for multi-period lottery betting. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No description herein is admitted to be prior art by inclusion in this section.

[0003] At present, the business processing system is usually composed of a transaction system, a database and a terminal. For a ticketing transaction request issued by a terminal, the transaction system needs to determine whether the request amount corresponding to the request quantity contained in the transaction request exceeds the prescribed permitted amount. If it exceeds the permitted amount, it needs to be restricted.

[0004] For example, in a lottery system used for lottery transactions, the lottery game can be divided into a pool game and a fixed bonus game according to the way the prize is distributed. For the pool game, the winners share the amount in the pool according to a certain ratio; while for the fixed bonus game, the prize received by the winner is fixed. Therefore, for the fixed bonus game, if the bets are very concentrated and the prize happens to be won, the prize pool may be emptied or a large amount of prize money needs to be subsidized, which is especially true for small prize groups or high-frequency games.

[0005] The prior art proposes a lottery betting system, which can impose certain restrictions on betting. For example, when the number of bets on a certain bet exceeds a certain proportion, which may lead to the possibility of emptying or requiring a large amount of bonus subsidies, the number is limited, that is, the bet is refused, so as to achieve the purpose of controlling the return rate. That is, when the request amount exceeds the prescribed permitted amount, the transaction request will be rejected to ensure that the transaction request is only processed when the permitted amount does not exceed the prescribed amount. Before the opening of the prize period, the scheme loads a certain number of betting licenses for sale from the background database to the local memory. During the opening of the prize period, the lottery betting number and the corresponding betting number are obtained. When the lottery buyer purchases the lottery, the lottery system will obtain the lottery betting number and the betting number; in order to prevent the winning amount from exceeding the upper limit of the payable amount, the lottery betting can be limited by the subsequent mechanism. According to the lottery betting number, it is judged whether the number of betting licenses for sale corresponding to the lottery betting number in the local memory meets the betting number. If the number of betting licenses for sale in the local memory meets the betting number, that is, the number of betting licenses for sale in the local memory is greater than or equal to the betting number, the sales behavior can be completed. If the number of betting licenses to be sold in the local memory does not meet the number of bets, that is, the number of betting licenses to be sold in the local memory is less than the number of bets, the sales behavior is interrupted.

[0006] For the processing method of only keeping the betting permission data of the current prize period on sale in the memory and updating it, in the scenario of supporting the sale of multiple tickets, it is impossible to meet the update and processing of the betting permission of multiple consecutive prize periods starting from the current prize period on sale. In addition, even if the sales permission of multiple prize periods is kept in the memory, the sales volume of the current prize period cannot be obtained because the current prize period on sale has not been stopped, and the betting permission data of multiple prize periods outside the current prize period on sale cannot be correctly calculated. The existing technology cannot accurately update and process the betting permission data of multiple prize periods.

[0007] In summary, the existing lottery betting system usually saves and updates the betting license of the current prize period in the database, or saves the betting license of the current prize period in the memory of the application system. In this way, it is impossible to meet the risk control of lottery betting for multiple periods. Therefore, there is an urgent need for a technical solution that can ensure the uniqueness, accuracy and security of the lottery betting license for multiple periods, and ensure the lottery betting processing capacity under high concurrency. Summary of the invention

[0008] In order to solve the problems existing in the prior art, the present invention proposes a method and device for processing number restrictions for multi-period lottery betting.

[0009] In a first aspect of an embodiment of the present invention, a method for processing number restrictions for multi-period lottery betting is proposed, the method comprising:

[0010] For multi-period lottery games, set a multi-period lottery betting allocation ratio, and allocate the upper limit of the betting permission for each prize period in the multi-period lottery game according to the ratio;

[0011] Before the current prize period starts selling, based on the number of betting licenses remaining in the current prize period and the upper limit of the number of betting licenses for each prize period in the multi-period lottery game, load the multi-period betting licenses from the backend database into the local memory;

[0012] During the current lottery sales period, obtain the betting numbers and betting quantities of multiple lottery games;

[0013] The number of bets corresponding to the betting numbers of the multi-period lottery game is deducted from the multi-period betting license in the local memory until the multi-period betting license in the local memory is completely deducted or the current prize period is stopped.

[0014] In a second aspect of an embodiment of the present invention, a device for processing number restrictions for multi-period lottery betting is provided, the device comprising:

[0015] A betting allocation module is used to set a betting allocation ratio for a multi-period lottery game, and allocate the upper limit of the betting permission for each prize period in the multi-period lottery game according to the ratio;

[0016] The betting loading module is used to load the multi-period betting licenses from the background database to the local memory before the current prize period starts selling, according to the number of betting licenses remaining in the current prize period and the upper limit of the number of betting licenses for each prize period in the multi-period lottery game;

[0017] The betting acquisition module is used to obtain the betting numbers and betting quantities of multiple lottery games during the current prize sale period;

[0018] The betting processing module is used to deduct the betting quantity corresponding to the betting number of multiple lottery games from the multiple betting licenses in the local memory until the multiple betting licenses in the local memory are deducted or the current prize period is stopped.

[0019] In a third aspect of an embodiment of the present invention, a computer device is proposed, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a number restriction processing method for multi-period lottery betting when executing the computer program.

[0020] In a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is proposed, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a number restriction processing method for multi-period lottery betting is implemented.

[0021] In a fifth aspect of an embodiment of the present invention, a computer program product is proposed, which includes a computer program, and when the computer program is executed by a processor, a number restriction processing method for multi-period lottery betting is implemented.

[0022] The method and system for processing number restrictions for multi-period lottery bets proposed in the present invention can update and process betting permissions for multiple consecutive prize periods starting from the currently on-sale prize period, thereby realizing the normal operation of multi-period lottery games, ensuring the uniqueness, accuracy, and security of betting permissions during subsequent prize period sales, and providing strong technical support for lottery data processing scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 It is a flow chart of a method for processing number restrictions for multi-period lottery betting according to an embodiment of the present invention.

[0025] Figure 2 It is a schematic diagram of the betting relationship of a multi-period lottery game according to an embodiment of the present invention.

[0026] Figure 3 It is a schematic diagram of the architecture of a number restriction processing device for multi-period lottery betting according to an embodiment of the present invention.

[0027] Figure 4 It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0029] Those skilled in the art will appreciate that the embodiments of the present invention may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0030] According to an embodiment of the present invention, a method and device for processing number restrictions for multi-period lottery betting are proposed, which relate to the technical field of lottery business processing.

[0031] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.

[0032] Figure 1 FIG. 1 is a flow chart of a method for processing number restrictions for multi-period lottery betting according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0033] S101, for a multi-period lottery game, setting a multi-period lottery betting allocation ratio, and allocating the upper limit of the betting permission for each prize period in the multi-period lottery game according to the ratio;

[0034] S102, before the current prize period starts selling, based on the number of remaining betting licenses in the current prize period and the upper limit number of betting licenses for each prize period in the multi-period lottery game, loading the multi-period betting licenses from the backend database into the local memory;

[0035] S103, during the current lottery period sales process, obtaining betting numbers and betting quantities of multiple lottery games;

[0036] S104, deducting the betting quantity corresponding to the betting number of the multi-period lottery game from the multi-period betting license in the local memory until the multi-period betting license in the local memory is completely deducted or the current prize period is stopped.

[0037] In one embodiment, the multi-period lottery game is to place bets on the same bet for n consecutive bonus periods starting from the current bonus period, wherein n is the number of bonus periods set for the multi-period lottery game.

[0038] In one embodiment, before the current prize period starts selling, based on the number of betting permits remaining in the current prize period and the upper limit number of betting permits for each prize period in the multi-period lottery game, the multi-period betting permits are loaded from the backend database into the local memory, including:

[0039] The loaded multi-period betting licenses include the remaining betting licenses for the current bonus period and the betting licenses for future bonus periods after the current bonus period;

[0040] Among them, the number of betting permits remaining in the current bonus period is:

[0041] P n =P-(P 1 +P 2 +...+P n-1 )

[0042] Where P n is the number of betting permissions remaining in the current bonus period; P is the upper limit of betting permissions in the current bonus period; P 1 To P n-1 is the number of betting permissions for betting in the current prize period through the multi-period lottery game in each prize period before the current prize period; n is the number of prize periods set for the multi-period lottery game;

[0043] Among them, the number of betting permissions for future bonus periods after the current bonus period corresponds to the upper limit number of betting permissions for each bonus period in a multi-period lottery game.

[0044] refer to Figure 2 , is a schematic diagram of the betting relationship of a multi-period lottery game according to an embodiment of the present invention. Figure 2 As shown in the figure, taking a betting number as an example, the upper limit of a single period for this betting number is 4,000 bets. The number of prize periods set for a multi-period lottery game is 4 periods, that is, customers can place bets on the same bet for up to 4 consecutive prize periods from the current prize period. 25% is allocated for each period, so the theoretical upper limit for each prize period of a multi-period lottery game is 1,000 bets.

[0045] In actual application scenarios, customers can choose to place bets for 1-4 consecutive bonus periods.

[0046] Based on this betting method, in a multi-period lottery game, the number of bets from the current prize period to the future prize period will show a decreasing trend. For example, in a multi-period game A, if 1,300 bets are sold in period A1, 1,000 bets in period A2, 900 bets in period A3, and 800 bets in period A4. In the same multi-period lottery game, the number of bets in the next period must be less than or equal to the previous period.

[0047] For the first period, there is no historical betting data for this period, so the actual sales range can be 0 to 4000 bets. In fact, the number of current bonus periods (for example, A1, B1, C1, D1, E1, F1, etc.) of each multi-period game is not set according to the theoretical cap. The number of bets allowed for the current bonus period is the remaining number of bets. For example, taking the third period as an example, the actual sales of A3 period of multi-period game A is 900 bets, and the actual sales of B2 period of multi-period game B is 900 bets, which have not reached the cap (1000). The remaining number of bets will be accumulated to the current bonus period (C1 period) of multi-period game C, that is, in C1 period of multi-period game C, the upper limit that can be sold is 2200, and the corresponding actual sales range is 0 to 2200.

[0048] In one embodiment, the number of bonus periods can be adjusted to change the game rules, and the corresponding betting allocation ratio will also change. Therefore, the specific processing method is:

[0049] When both the number of prize periods and the betting allocation ratio of a multi-period lottery game are adjusted, or when the betting allocation ratio of a multi-period lottery game is adjusted, the newly loaded and newly activated prize period will take effect.

[0050] In one embodiment, when adjusting the configuration parameters, in order not to affect the normal operation of the multi-period lottery game, the method further includes:

[0051] When activating the bonus period, if the limited number pool has been initialized during the bonus period, the limited number pool parameter replication mechanism is used to back up the configuration parameters of multiple lottery games for use in adjusting the configuration parameters.

[0052] In one embodiment, the allocation and issuance of betting permits may also be adjusted based on mechanisms such as recalculation time and fixed-point number release.

[0053] The specific processing method of the recalculation time mechanism is:

[0054] Set recalculation time;

[0055] During the current bonus period sales process, the remaining betting permits are recalculated according to the recalculation time, the sales trend is analyzed based on the remaining betting permits, and the allocation method of the betting permits is adjusted.

[0056] The specific processing method of the fixed-point number allocation mechanism is as follows:

[0057] Divide the current bonus period sales time into multiple time periods;

[0058] For each time period, the remaining betting permits are issued in a set proportion.

[0059] In order to explain in detail the number restriction processing method for multi-period lottery betting of the present invention, it is described below in conjunction with specific embodiments.

[0060] Before the prize period starts selling, load the betting licenses for sale that can be sold for multiple periods from the background database to the local memory. During the prize period sale process, obtain the lottery betting numbers and the corresponding betting quantities. And calculate the number of betting licenses that can be sold for the current prize period based on the sales data of several prize redemption periods that have been opened before the current prize period. At the same time, based on the number of periods that can be sold, the number of betting licenses calculated according to the current prize period on sale, and the number of periods that can be sold, for the prize periods after the current prize period on sale, the betting licenses are gradually reduced in proportion, in accordance with the proportion of the number of periods that can be sold, to ensure that when the subsequent prize period is available for sale, the consumption of betting licenses caused by the sale of multiple periods of tickets will not affect the normal sales behavior of the subsequent prize period after the sale, and to ensure that when the subsequent prize period starts selling, its betting licenses are unique, accurate, and secure.

[0061] Multi-period lottery games use multi-period tickets to place bets on the same betting content for multiple consecutive prize periods starting from the current prize period on sale.

[0062] Current: The current bonus period is in the active state and is within the sales time range.

[0063] Multiple-period: The status is Activation or Creation, and the sales start time has not yet arrived.

[0064] 1. In the current period, the original risk control plan is used.

[0065] 2. For multiple periods, the restricted number license only retains the initial number release license for the current period (no prize pool contribution or sales contribution). On the basis of the original adjustment coefficient, a multi-period number release ratio is added to control how many multi-period restricted number licenses are used to sell multi-period tickets, and increase the number of guaranteed bets for multiple periods.

[0066] Prize pool contribution refers to the contribution of the prize pool to the initial number of betting permits; sales contribution refers to the contribution of sales to the number of betting permits that can be increased during recalculation.

[0067] For multi-period numbers, in order to simplify business rules, when calculating the bonus period that is not currently on sale, the sales contribution provided by multi-period tickets in the past will be ignored, so that business personnel can estimate the number of betting permits relatively accurately.

[0068] 3. For multiple periods, retain the minimum and maximum settings.

[0069] 4. As the award period progresses, the number of restricted licenses for multiple periods increases until the multiple periods become the current award period on sale. The initial part will no longer change, but the sales contribution and award pool contribution will increase.

[0070] 5. The adjustment coefficient or the ratio of multiple number releases will take effect from the newly loaded bonus period (effective from the N+1 period); (only for the Arrangement 3 game, the number restriction strategy for other limited number games remains unchanged as at present).

[0071] The coefficient or the ratio of numbers released in multiple award periods is set based on business needs. For example, business personnel assess risk tolerance based on current funding conditions and configure relevant parameters. The configured parameters take effect in the newly activated award period, and the current period will not be adjusted with the configuration.

[0072] 5.1. When activating the bonus period, if the limited number pool has been initialized during the bonus period, add a limited number sub-pool parameter replication mechanism to ensure that the newly activated bonus period starts and the relevant adjusted parameters can take effect; (it is required to be modified before the expected bonus period activation time (refer to the game configuration time template for details), otherwise it cannot take effect as expected, reason: the bonus period is activated in advance).

[0073] If and only if the target activation bonus period and subsequent bonus periods have been loaded into the memory and are in use or in the bonus period recalculation state, copy the new adjustment coefficient to the bonus period level parameter table; (activation of the bonus period by the management end triggers the copy of the new adjustment coefficient). For a bonus period, when it is activated, a copy of the game-related configuration will be made as a bonus period level backup, which is convenient for subsequent adjustment of configuration parameters without affecting the configuration of the current bonus period on sale.

[0074] When the bonus period limit pool is initialized, the bonus period status is activated or created. For those with activated status, the activation action has been completed, and the bonus period adjustment coefficient will not change. For those with created status, there will be subsequent bonus period activation actions, and the adjustment coefficient can be revised. When activated, the possible status of the limited number pool in memory is in use or in bonus period recalculation, not loaded or written back, because the initialization of the limited number pool has been completed when the last bonus period was activated. If it is not completed, there is no need to process it, it will be loaded completely and the new parameters will be copied).

[0075] On the premise that the sales start time has arrived, the bonus period in the activated state can be sold, but the bonus period in the creation state cannot be sold.

[0076] 6. The number sub-pool parameters are limited, and the parameters of the ratio of the number released in multiple periods and the number of guaranteed bets in multiple periods are added; the other parameters still use the original parameters;

[0077] Multi-period number betting license release adjustment coefficient (0.1 to 1); this parameter is set by the business personnel based on the business funding situation.

[0078] The minimum number betting license for multiple periods is guaranteed (excluding weight multiplication and division coefficients). For example, in the first bonus period of a new game, since there is no bonus period that has been discontinued in the past to calculate the initial number release license, the initial number release license is 0. In this case, it cannot be sold. There needs to be a minimum lower limit for the initial license. When the initial license calculation result is lower than the lower limit, the lower limit value is used to ensure that the game can be sold within a certain range after it goes on sale.

[0079] 7. Recalculate.

[0080] 7.1. Recalculation time: The recalculation will be carried out according to the recalculation time of the current prize sale period; (if the recalculation is triggered, it will be based on the trigger time of the current prize sale period; if the number is released at a fixed point, it will be recalculated according to the fixed-point release rules of the current prize sale period).

[0081] During a prize period, the time is divided into multiple time periods (equal or unequal), and the beginning or end of each time period can be used as a time point for recalculating the numbers.

[0082] The rules for issuing numbers at fixed points can be flexibly customized. For example, they can be determined by percentage or by a specific algorithm, and numbers can be issued in a set manner at multiple issuing points.

[0083] 7.2. Fixed-point recalculation, multiple periods are triggered by the current period. During the sales process, after reaching certain triggering conditions, the available sales licenses for each betting content can be recalculated according to the currently set calculation formula. Under the premise of continuous increase in sales within a bonus period, after recalculation, the number of saleable licenses for each betting content will theoretically increase, that is, you can try to obtain more saleable betting licenses through recalculation.

[0084] ①. When querying the nearest number release time during the current bonus period, the actual number release time is empty, or the number release time is before the start of sales during the bonus period (this situation occurs when multiple periods become the current period).

[0085] ②. When querying the number restriction coefficient, query according to the current bonus period, because there is no guarantee that the number release rules for future bonus periods will be consistent with the current bonus period, and there is no way to query the number release rule records corresponding to future bonus periods; (the planned number release time is set based on the bonus period sales start time).

[0086] ③. Fixed-point number release is based on the start time of the bonus period + offset time setting. For multi-period numbers, the actual recalculation time has not yet arrived, and there is no available fixed-point number release rule. The current strategy is to release all multi-period numbers at once without dividing them into batches. If batches are required, they can only be released according to the fixed-point number release time and proportion of the current bonus period.

[0087] ④. When updating the recalculation time, multiple periods will also be updated together. The phenomenon that the recalculation time is before the sales start time may occur. This is caused by the recalculation of multiple periods at the same time during the current fixed-point recalculation. Therefore, the query of the current prize period is close to the nearest number release time, and Article ① needs to be adjusted.

[0088] 7.3. Calculation method for recalculation.

[0089] ①. The calculation methods for multiple periods and the current period are different; due to early activation of the bonus period:

[0090] When activated, the limited number pool is initialized in the same way as the current sale; after entering the sales time range, it remains unchanged; (multiple tickets are not supported, and the calculation method for future bonus periods is the same as the current period).

[0091] Initialize the limited number pool upon activation. If it is not currently on sale, load it according to the future period. After entering the sales time range, switch the risk control calculation method through recalculation. (It is recommended to add a recalculation time point, after the bonus period starts selling, and after the redemption time on the same day, to complete the calculation method switch as soon as possible).

[0092] ②. Others: Multiple periods are not supported for the time being; (If it is supported in the future, the method is uncertain, and it will be handled the same as the current period for the time being without adjustment).

[0093] 7.4. Multi-period betting licenses will be issued all at once and will no longer be issued in batches.

[0094] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0095] After introducing the method of the exemplary embodiment of the present invention, next, refer to Figure 3 A number restriction processing device for multi-period lottery betting according to an exemplary embodiment of the present invention is introduced.

[0096] The implementation of the number-limiting processing device for multi-period lottery betting can refer to the implementation of the above method, and the repeated parts will not be repeated. The terms "module" or "unit" used below can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0097] Based on the same inventive concept, the present invention also proposes a number-limiting processing device for multi-period lottery betting, such as Figure 3 As shown, the device comprises:

[0098] The betting allocation module 310 is used to set the betting allocation ratio for multiple lottery games, and allocate the upper limit of the betting permission for each prize period in the multiple lottery games according to the ratio;

[0099] The betting loading module 320 is used to load the multi-period betting licenses from the backend database to the local memory before the current prize period starts selling, according to the number of betting licenses remaining in the current prize period and the upper limit number of betting licenses for each prize period in the multi-period lottery game;

[0100] The betting acquisition module 330 is used to obtain the betting numbers and betting quantities of multiple lottery games during the current prize period sales process;

[0101] The betting processing module 340 is used to deduct the betting quantity corresponding to the betting number of the multi-period lottery game from the multi-period betting license in the local memory until the multi-period betting license in the local memory is deducted or the current prize period is stopped.

[0102] In one embodiment, the multi-period lottery game is to place bets on the same bet for multiple consecutive bonus periods starting from the current bonus period, wherein the upper limit of the number of bet periods is the number of bonus periods set for the multi-period lottery game.

[0103] In one embodiment, the betting loading module, before the current prize period starts selling, loads the multi-period betting licenses from the backend database to the local memory according to the number of betting licenses remaining in the current prize period and the upper limit number of betting licenses for each prize period in the multi-period lottery game, including:

[0104] The loaded multi-period betting licenses include the remaining betting licenses for the current bonus period and the betting licenses for future bonus periods after the current bonus period;

[0105] Among them, the number of betting permits remaining in the current bonus period is:

[0106] P n =P-(P 1 +P 2 +...+P n-1 )

[0107] Where P n is the number of betting permissions remaining in the current bonus period; P is the upper limit of betting permissions in the current bonus period; P 1 To P n-1 is the number of betting permissions for betting in the current prize period through the multi-period lottery game in each prize period before the current prize period; n is the number of prize periods set for the multi-period lottery game;

[0108] Among them, the number of betting permissions for future bonus periods after the current bonus period corresponds to the upper limit number of betting permissions for each bonus period in a multi-period lottery game.

[0109] In one embodiment, the device is further used for:

[0110] When both the number of prize periods and the betting allocation ratio of a multi-period lottery game are adjusted, or when the betting allocation ratio of a multi-period lottery game is adjusted, the newly loaded and newly activated prize period will take effect.

[0111] In one embodiment, the device is further used for:

[0112] When activating the bonus period, if the limited number pool has been initialized during the bonus period, the limited number pool parameter replication mechanism is used to back up the configuration parameters of multiple lottery games for use in adjusting the configuration parameters.

[0113] In one embodiment, the device is further used for:

[0114] Set recalculation time;

[0115] During the current bonus period sales process, the remaining betting permits are recalculated according to the recalculation time, the sales trend is analyzed based on the remaining betting permits, and the allocation method of the betting permits is adjusted.

[0116] In one embodiment, the device is further used for:

[0117] Divide the current bonus period sales time into multiple time periods;

[0118] For each time period, the remaining betting permits are issued in a set proportion.

[0119] It should be noted that although several modules of the number-limiting processing device for multi-period lottery betting are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules for embodiment.

[0120] Based on the above invention concept, Figure 4 As shown, the present invention also proposes a computer device 400, including a memory 410, a processor 420, and a computer program 430 stored in the memory 410 and executable on the processor 420, wherein the processor 420 implements the aforementioned method for limiting the number of lottery bets when executing the computer program 430.

[0121] Based on the aforementioned inventive concept, the present invention proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the aforementioned number restriction processing method for multi-period lottery betting.

[0122] Based on the aforementioned inventive concept, the present invention proposes a computer program product, which includes a computer program, and when the computer program is executed by a processor, a number restriction processing method for multi-period lottery betting is implemented.

[0123] The method and system for processing number restrictions for multi-period lottery bets proposed in the present invention can update and process betting permissions for multiple consecutive prize periods starting from the currently on-sale prize period, thereby realizing the normal operation of multi-period lottery games, ensuring the uniqueness, accuracy, and security of betting permissions during subsequent prize period sales, and providing strong technical support for lottery data processing scenarios.

[0124] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of laws and regulations.

[0125] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0126] The present invention is described with reference to flowcharts and / or block diagrams of methods and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0127] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0128] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0129] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A method for processing number restrictions for multi-period lottery betting, characterized in that: The method includes: For multi-period lottery games, set a multi-period lottery betting allocation ratio, and allocate the upper limit of the betting permission for each prize period in the multi-period lottery game according to the ratio; Before the current prize period starts selling, based on the number of betting licenses remaining in the current prize period and the upper limit of the number of betting licenses for each prize period in the multi-period lottery game, load the multi-period betting licenses from the backend database into the local memory; During the current lottery sales period, obtain the betting numbers and betting quantities of multiple lottery games; The number of bets corresponding to the betting numbers of the multi-period lottery game is deducted from the multi-period betting license in the local memory until the multi-period betting license in the local memory is completely deducted or the current prize period is stopped.

2. The method for limiting the number of bets for multiple lottery draws according to claim 1, characterized in that: The multi-period lottery game is to place bets on the same bet for multiple consecutive bonus periods starting from the current bonus period, wherein the upper limit of the number of bet periods is the number of bonus periods set for the multi-period lottery game.

3. The method for processing number restrictions for multi-period lottery betting according to claim 1, characterized in that: Before the current prize period starts selling, based on the number of betting licenses remaining in the current prize period and the upper limit of betting licenses for each prize period in the multi-period lottery game, load the multi-period betting licenses from the backend database to the local memory, including: The loaded multi-period betting licenses include the remaining betting licenses for the current bonus period and the betting licenses for future bonus periods after the current bonus period; Among them, the number of betting permits remaining in the current bonus period is: P n =P-(P1+P2+...+P n-1 ) Where P n is the number of betting permissions remaining in the current bonus period; P is the upper limit of betting permissions in the current bonus period; P1 to P n-1 is the number of betting permissions for betting in the current prize period through the multi-period lottery game in each prize period before the current prize period; n is the number of prize periods set for the multi-period lottery game; Among them, the number of betting permissions for future bonus periods after the current bonus period corresponds to the upper limit number of betting permissions for each bonus period in a multi-period lottery game.

4. The method for processing number restrictions for multi-period lottery betting according to claim 1, characterized in that: The method further includes: When both the number of prize periods and the betting allocation ratio of a multi-period lottery game are adjusted, or when the betting allocation ratio of a multi-period lottery game is adjusted, the newly loaded and newly activated prize period will take effect.

5. The method for processing number restrictions for multi-period lottery betting according to claim 4, characterized in that: The method further includes: When activating the bonus period, if the limited number pool has been initialized during the bonus period, the limited number pool parameter replication mechanism is used to back up the configuration parameters of multiple lottery games for use in adjusting the configuration parameters.

6. The method for processing number restrictions for multi-period lottery betting according to claim 1, characterized in that: The method further includes: Set recalculation time; During the current bonus period sales process, the remaining betting permits are recalculated according to the recalculation time, the sales trend is analyzed based on the remaining betting permits, and the allocation method of the betting permits is adjusted.

7. The method for processing number restrictions for multi-period lottery betting according to claim 1, characterized in that: The method further includes: Divide the current bonus period sales time into multiple time periods; For each time period, the remaining betting permits are issued in a set proportion.

8. A device for processing number restrictions for multi-period lottery betting, characterized in that: The device includes: A betting allocation module is used to set a betting allocation ratio for a multi-period lottery game, and allocate the upper limit of the betting permission for each prize period in the multi-period lottery game according to the ratio; The betting loading module is used to load the multi-period betting licenses from the background database to the local memory before the current prize period starts selling, according to the number of betting licenses remaining in the current prize period and the upper limit of the number of betting licenses for each prize period in the multi-period lottery game; The betting acquisition module is used to obtain the betting numbers and betting quantities of multiple lottery games during the current prize sale period; The betting processing module is used to deduct the betting quantity corresponding to the betting number of multiple lottery games from the multiple betting licenses in the local memory until the multiple betting licenses in the local memory are deducted or the current prize period is stopped.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.