Complex lottery game fund risk control method and system

By acquiring betting information and game progress parameters, the system determines and breaks down complex gameplay into single-bet combinations. It then uses preset formulas and rule bases to perform dynamic number limit calculations and risk verification, solving the problem of insufficient capital risk control in traditional systems under complex gameplay and high concurrency, and achieving precise control and high-performance response.

CN121481237APending Publication Date: 2026-02-06ZHONGXIN TECH DEV (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511613043.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-06
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

Traditional lottery risk control systems struggle to accurately control financial risks when facing industry trends such as diversified gameplay and a surge in concurrent betting, particularly in areas like breaking down complex gameplay, resource competition, responsiveness, and dynamic adjustment.

Method used

By acquiring betting information and game progress parameters, the system determines complex gameplay and breaks it down into single combinations. It then uses preset formulas and rule bases to perform dynamic number limit calculations and risk checks, and employs distributed locks and asynchronous processing mechanisms to optimize system response.

Benefits of technology

It achieves precise control over the number of users participating in combined gameplay, ensuring fund security and improving the system's response performance and fund risk management capabilities in high-concurrency scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121481237A_ABST
    Figure CN121481237A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, and discloses a lottery complex game fund risk control method and system.The method comprises the steps that betting information, configuration rule parameters of a target game and game progress parameters are obtained, if it is judged that the betting operation is a composite playing method, betting splitting processing is conducted on the betting operation, and a plurality of single combinations are obtained; calculating to obtain the maximum allowable sales number of the target game; and performing rule verification, and if the rule verification result is compliant, performing risk verification on each simplex combination based on the betting information, the current betting data and the maximum allowable sales number to obtain a risk verification result. According to the invention, through accurate evaluation of the betting condition of each single combination, resource competition is effectively controlled in a high-concurrency scene, fund security is guaranteed, high-performance response of a system is ensured, and the problem that a traditional scheme is poor in performance when facing the industry trend of diversified composite playing methods and sharp increase of betting concurrency is solved. And accurate control of the lottery fund risk is difficult to realize.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, specifically to a method and system for controlling financial risks in complex lottery games. Background Technology

[0002] In the digital operation of the lottery industry, the risk control system, as a core component ensuring transaction security and financial stability, has always revolved around the two major goals of "compliance control" and "risk prevention" in its technological development. When lottery players place bets, the risk control system must respond to betting requests in real time, ensuring the fairness and sustainability of the lottery game through compliance verification of betting behavior, financial risk assessment, and interception of abnormal transactions. The basic logic of lottery risk control lies in limiting the maximum number of bets allowed for each number combination in a single game, and adjusting the limit standard in conjunction with dynamic changes in sales revenue to achieve reasonable control over the betting scale. For example, traditional risk control systems pre-set the initial limit number of bets for each number combination and adjust the limit threshold according to a fixed proportion based on the growth rate of cumulative sales revenue. This model based on "static rules + limited dynamic adjustment" constitutes the basic technical framework of existing lottery risk control.

[0003] However, the relevant technologies have revealed significant shortcomings when dealing with complex game scenarios. One solution employs a mechanism of "fixed betting limit rules + segmented adjustment of sales volume." This mechanism presets the initial betting limit for each group of numbers and the sales volume step parameters based on the game type. During the betting process, the cumulative sales volume is calculated in real time. When the sales volume reaches a preset threshold, the betting limit is adjusted by a fixed coefficient. The number of new bets is compared with the current limit standard; if it exceeds the limit, the transaction is rejected. However, this solution has several technical flaws: First, for complex games such as multiple bets and combination bets, the existing solution lacks an effective betting splitting mechanism. It cannot break down complex games into single combinations for precise betting limits, leading to actual betting volumes potentially far exceeding the limit standard, creating a financial risk loophole. For example, a combination betting game contains 100 single combinations. If the betting is limited only at the "1 bet combination" unit without breaking it down into single combinations for verification, the betting volume of single combinations may exceed the betting limit. Secondly, in high-concurrency betting scenarios, competition for shared resources from multiple betting requests can lead to verification failures. Traditional architectures cannot achieve mutual exclusion control for betting operations on the same number combination, potentially resulting in over-betting. Thirdly, dynamic adjustment algorithms rely too heavily on preset parameters and cannot perform fine-grained calculations based on real-time sales and prize pool data. The granularity of adjusting the number of bets is coarse, making it difficult to adapt to the risk control requirements of complex games. Fourthly, the system's response performance under high concurrency is insufficient. The synchronous processing mode of traditional architectures is prone to transaction blocking, affecting user experience and potentially causing risk control vulnerabilities due to verification delays. In summary, traditional solutions struggle to achieve precise control over lottery fund risks when facing the industry trend of diversified gameplay and surging betting concurrency. Summary of the Invention

[0004] In view of this, the present invention provides a method and system for controlling the financial risks of complex lottery games, in order to solve the problem that traditional solutions are unable to accurately control the financial risks of lottery games when facing the industry trend of diversified complex gameplay and a surge in concurrent betting.

[0005] In a first aspect, the present invention provides a method for controlling the financial risk of complex lottery games. The method includes: when a user's betting operation on a target game is detected, acquiring betting information, configuration rule parameters of the target game, and game progress parameters. The configuration rule parameters include: game type, risk control mode, and payout ratio. The game progress parameters include: the initial number of bets that can be sold for each number combination, the current sales volume increment, and the current first prize amount. Based on the betting information, determining whether the betting operation is a complex game; if the betting operation is determined to be a complex game, splitting the betting operation to obtain several single-bet combinations; calculating the maximum allowed number of bets for the target game based on a preset formula, the initial number of bets that can be sold for each number combination, the current sales volume increment, and the current first prize amount; performing rule verification based on the configuration rule parameters and a preset rule library to obtain a rule verification result; if the rule verification result is compliant, performing risk verification on each single-bet combination based on the betting information, current betting data, and the maximum allowed number of bets to obtain a risk verification result. The risk verification result includes allowing betting and rejecting betting, and the current betting data is the total number of actual bets completed by all users in the target game.

[0006] The method for controlling the financial risks of complex lottery games provided in this embodiment provides a comprehensive and accurate data foundation for subsequent risk control operations by acquiring betting information, configuration rule parameters of the target game, and game progress parameters. This enables the risk control system to accurately execute subsequent limit calculations and risk verification processes based on configuration rules such as game type, risk control mode, and return ratio, as well as real-time progress parameters such as initial bets, sales increments, and first prize amounts. By determining whether a betting operation is a complex game based on betting information, and splitting it into several single-bet combinations when it is determined to be a complex game, the method effectively solves the problem of splitting bets in the betting process of complex games. It breaks down complex complex games into single-bet combinations that can be directly verified for limit numbers, ensuring that the risk control system can accurately manage the betting situation of each single-bet combination. By calculating the maximum allowed number of bets for the target game based on a preset formula and combined with the initial bets, sales increments, and first prize amounts, the method achieves dynamic adjustment of the limit bets. This allows the limit standards to change reasonably according to real-time data such as sales, thereby ensuring the fairness of the game while more effectively controlling financial risks and avoiding risk loopholes caused by static limit numbers. By performing rule verification based on configured rule parameters and a preset rule base, the system verifies the compliance of betting operations from multiple dimensions, including the risk control mode corresponding to the game type and the payout ratio. This ensures that betting behavior conforms to pre-set risk control strategies and rule requirements, effectively reducing the risk caused by non-compliance with the rules. When the rule verification results are compliant, risk verification is performed on each single-bet combination based on betting information, current betting data, and the maximum allowed number of bets. This achieves accurate assessment of the betting situation for each single-bet combination. By combining the total number of bets actually placed by all users, it can accurately determine whether a new bet will lead to over-betting, thereby effectively controlling resource competition in high-concurrency scenarios, ensuring fund security, and guaranteeing high-performance system response. This invention solves the problem that traditional solutions struggle to achieve accurate control of lottery fund risks when facing the industry trend of diversified complex gameplay and surging betting concurrency.

[0007] In one optional implementation, the aforementioned composite betting method includes multiple betting and fixed-number betting. The above-mentioned determination of whether the betting operation is a composite betting method based on betting information, if the betting operation is determined to be a composite betting method, the betting operation is split into several single-number combinations, including: if the aforementioned composite betting method is a multiple betting method, the aforementioned composite betting method is split into several single-number combinations; if the aforementioned composite betting method is a fixed-number betting method, the aforementioned composite betting method is split into single-number combinations of fixed numbers and variable numbers.

[0008] In one optional implementation, the above-mentioned preset formula is: N=I+(S×0.575) / X; where I is the initial number of bets that can be sold for each number combination, S is the current sales step-by-step sales number, X is the target game first prize amount, and N is the maximum allowed number of bets to be sold.

[0009] In one optional implementation, the current sales step sales number is dynamically adjusted based on the adjustment rule as the sales of the target game increase. The adjustment rule is that when the sales of the target game increase by a preset threshold, the current sales step increases by a fixed step size.

[0010] In one optional implementation, the rule verification based on the configured rule parameters and the preset rule library to obtain the rule verification result includes: verifying whether the risk control mode corresponding to the game type matches the risk control strategy in the preset rule library; verifying whether the return ratio meets the threshold range set in the preset rule library; if the risk control mode includes dynamic number restriction rules, verifying whether the initial number of bets that can be sold for each number combination and the current sales step sales number meet the parameter configuration in the preset rule library; when all the above verifications pass, the rule verification result is determined to be compliant; otherwise, it is determined to be non-compliant.

[0011] In one optional implementation, if the rule verification result is compliant, a risk verification is performed on each single combination based on betting information, current betting data, and the maximum allowed sales bet, to obtain a risk verification result. The risk verification result includes allowing betting and rejecting betting. The current betting data is the sum of the actual bets completed by all users in the target game. This includes: obtaining the actual bets completed by each single combination in the target game; obtaining the betting bets for each single combination based on betting information; calculating the total bets for each single combination based on the actual bets and the betting bets; comparing the total bets for each single combination with the maximum allowed sales bet; if the total bets are less than or equal to the maximum allowed sales bet, the single combination is determined to be allowed to bet; if the total bets are greater than or equal to the maximum allowed sales bet, the single combination is determined to reject betting; when all single combinations are allowed to bet, the risk verification result is determined to be allowed to bet; when any single combination is rejected to bet, the risk verification result is determined to be rejected to bet.

[0012] In one alternative implementation, a distributed locking mechanism is used when comparing the total number of bets for each single combination with the maximum allowed number of bets to be sold.

[0013] In an alternative implementation, the method further includes: using a Redis cache to store in real time the actual number of bets placed on each single combination.

[0014] In an optional implementation, the method further includes: when the current data processing task is detected to be in a preset scenario, an asynchronous processing mechanism is adopted to put the splitting and annotation processing, rule verification and risk verification into a message queue for asynchronous execution.

[0015] Secondly, the present invention provides a complex lottery game fund risk control system, which includes: a parameter acquisition module, used to acquire betting information, configuration rule parameters of the target game, and game progress parameters when a user's betting operation for a target game is detected. The configuration rule parameters include: game type, risk control mode, and return ratio. The game progress parameters include: the initial number of bets that can be sold for each number combination, the current sales volume step-up sales volume, and the current first prize amount; and a composite betting module, used to determine whether the betting operation is a composite game based on the betting information. If the betting operation is determined to be a composite game, the betting operation is split into several single combinations. The formula calculation module is used to calculate the maximum allowed number of bets for the target game based on a preset formula, the initial number of bets that can be sold for each number combination, the current sales volume, the step sales volume, and the current first prize amount. The rule verification module is used to perform rule verification based on the configured rule parameters and the preset rule library to obtain the rule verification result. The risk verification module is used to perform risk verification on each single combination based on betting information, current betting data, and the maximum allowed number of bets if the rule verification result is compliant, to obtain the risk verification result. The risk verification result includes allowing betting and rejecting betting. The current betting data is the total number of actual bets completed by all users in the target game. Attached Figure Description

[0016] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0017] Figure 1 This is a flowchart illustrating a method for controlling financial risks in complex lottery games according to an embodiment of the present invention. Figure 2 This is a structural block diagram of a complex lottery game fund risk control system according to an embodiment of the present invention. Detailed Implementation

[0018] In the digital operation of the lottery industry, the risk control system, as a core component ensuring transaction security and financial stability, has always revolved around the two major goals of "compliance control" and "risk prevention" in its technological development. When lottery players place bets, the risk control system must respond to betting requests in real time, ensuring the fairness and sustainability of the lottery game through compliance verification of betting behavior, financial risk assessment, and interception of abnormal transactions. The basic logic of lottery risk control lies in limiting the maximum number of bets allowed for each number combination in a single game, and adjusting the limit standard in conjunction with dynamic changes in sales revenue to achieve reasonable control over the betting scale. For example, traditional risk control systems pre-set the initial limit number of bets for each number combination and adjust the limit threshold according to a fixed proportion based on the growth rate of cumulative sales revenue. This model based on "static rules + limited dynamic adjustment" constitutes the basic technical framework of existing lottery risk control.

[0019] However, the relevant technologies have revealed significant shortcomings when dealing with complex game scenarios. One solution employs a mechanism of "fixed betting limit rules + segmented adjustment of sales volume." This mechanism presets the initial betting limit for each group of numbers and the sales volume step parameters based on the game type. During the betting process, the cumulative sales volume is calculated in real time. When the sales volume reaches a preset threshold, the betting limit is adjusted by a fixed coefficient. The number of new bets is compared with the current limit standard; if it exceeds the limit, the transaction is rejected. However, this solution has several technical flaws: First, for complex games such as multiple bets and combination bets, the existing solution lacks an effective betting splitting mechanism. It cannot break down complex games into single combinations for precise betting limits, leading to actual betting volumes potentially far exceeding the limit standard, creating a financial risk loophole. For example, a combination betting game contains 100 single combinations. If the betting is limited only at the "1 bet combination" unit without breaking it down into single combinations for verification, the betting volume of single combinations may exceed the betting limit. Secondly, in high-concurrency betting scenarios, competition for shared resources from multiple betting requests can lead to verification failures. Traditional architectures cannot achieve mutual exclusion control for betting operations on the same number combination, potentially resulting in over-betting. Thirdly, dynamic adjustment algorithms rely too heavily on preset parameters and cannot perform fine-grained calculations based on real-time sales and prize pool data. The granularity of adjusting the number of bets is coarse, making it difficult to adapt to the risk control requirements of complex games. Fourthly, the system's response performance under high concurrency is insufficient. The synchronous processing mode of traditional architectures is prone to transaction blocking, affecting user experience and potentially causing risk control vulnerabilities due to verification delays. In summary, traditional solutions struggle to achieve precise control over lottery fund risks when facing the industry trend of diversified gameplay and surging betting concurrency.

[0020] The method for controlling the financial risks of complex lottery games provided in this embodiment provides a comprehensive and accurate data foundation for subsequent risk control operations by acquiring betting information, configuration rule parameters of the target game, and game progress parameters. This enables the risk control system to accurately execute subsequent limit calculations and risk verification processes based on configuration rules such as game type, risk control mode, and return ratio, as well as real-time progress parameters such as initial bets, sales increments, and first prize amounts. By determining whether a betting operation is a complex game based on betting information, and splitting it into several single-bet combinations when it is determined to be a complex game, the method effectively solves the problem of splitting bets in the betting process of complex games. It breaks down complex complex games into single-bet combinations that can be directly verified for limit numbers, ensuring that the risk control system can accurately manage the betting situation of each single-bet combination. By calculating the maximum allowed number of bets for the target game based on a preset formula and combined with the initial bets, sales increments, and first prize amounts, the method achieves dynamic adjustment of the limit bets. This allows the limit standards to change reasonably according to real-time data such as sales, thereby ensuring the fairness of the game while more effectively controlling financial risks and avoiding risk loopholes caused by static limit numbers. By performing rule verification based on configured rule parameters and a preset rule base, the system verifies the compliance of betting operations from multiple dimensions, including the risk control mode corresponding to the game type and the payout ratio. This ensures that betting behavior conforms to pre-set risk control strategies and rule requirements, effectively reducing the risk caused by non-compliance with the rules. When the rule verification results are compliant, risk verification is performed on each single-bet combination based on betting information, current betting data, and the maximum allowed number of bets. This achieves accurate assessment of the betting situation for each single-bet combination. By combining the total number of bets actually placed by all users, it can accurately determine whether a new bet will lead to over-betting, thereby effectively controlling resource competition in high-concurrency scenarios, ensuring fund security, and guaranteeing high-performance system response. This invention solves the problem that traditional solutions struggle to achieve accurate control of lottery fund risks when facing the industry trend of diversified complex gameplay and surging betting concurrency.

[0021] This embodiment provides a method for controlling financial risks in complex lottery games. Figure 1 This is a flowchart of a method for controlling financial risks in complex lottery games according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S1: When a user's betting operation on the target game is detected, the betting information, the configuration rule parameters of the target game, and the game progress parameters are obtained. The configuration rule parameters include: game type, risk control mode, and return ratio. The game progress parameters include: the initial number of bets that can be sold for each number combination, the current sales volume step-by-step sales volume, and the current first prize amount.

[0022] Specifically, the betting information is used to record the specific betting behavior characteristics of users; in the configuration rule parameters of the target game, the game type clarifies the basic gameplay attributes of the game, the risk control mode determines the type of strategy adopted for risk control of the game, and the return prize ratio reflects the distribution rule of game bonuses; the game progress parameters include the initial number of bets that can be sold for each number combination, which serves as the starting benchmark for limit control, the current sales volume step sales number, which is used to reflect the change in sales volume, and the current first prize bonus amount, which is related to the status of the bonus pool. By obtaining these parameters, a comprehensive and accurate data basis is laid for subsequent risk control operations, and the subsequent risk control process can be carried out in an orderly manner according to the specific configuration and real-time progress status of the game.

[0023] Step S2: Determine whether the betting operation is a compound gameplay based on the betting information. If it is determined that the betting operation is a compound gameplay, split the betting operation to obtain several single-form combinations.

[0024] Specifically, the above step S2 includes: Step a1: If the above compound gameplay is a multiple-play gameplay, disassemble the above compound gameplay into several single-form number combinations.

[0025] Furthermore, when it is determined that the compound gameplay is a multiple-play gameplay, according to the number combination rule of the multiple-play gameplay, disassemble the compound gameplay into several single-form number combinations. The core feature of the multiple-play gameplay is that on the basis of single-form betting, the numbers in some positions are extended for selection. Through the disassembling operation, the extended number combinations can be split into multiple independent single-form number combinations, making each single-form number combination a basic unit that can be independently verified for limit control. Step a2: If the above compound gameplay is a bet-and-drag gameplay, disassemble the above compound gameplay into the combined single-form of the fixed numbers and the dragged numbers.

[0026] Furthermore, if it is determined that the compound gameplay is a bet-and-drag gameplay, according to the special combination logic of the bet-and-drag gameplay, disassemble it into the combined single-form of the fixed numbers and the dragged numbers. The bet-and-drag gameplay contains fixed numbers that must be hit and auxiliary dragged numbers. Through specific combination rules, the fixed numbers and the dragged numbers are arranged and combined to disassemble and generate multiple single-form combinations. Such a disassembling method can ensure that each single-form combination composed of fixed numbers and dragged numbers can be included in the scope of limit verification, avoiding loopholes in limit control due to the complexity of the bet-and-drag gameplay.

[0027] Step S3: Calculate the maximum allowable sales number of bets for the target game based on a preset formula, the initial number of bets that can be sold for each number combination, the current sales volume step sales number, and the current first prize bonus amount.

[0028] Specifically, the preset formula is: N = I + (S × 0.575) / X; where I is the initial number of bets that can be sold for each number combination, S is the current sales increment, X is the first prize amount of the target game, and N is the maximum allowed number of bets. The current sales increment is dynamically adjusted based on the growth of the target game's sales volume according to the adjustment rules. The adjustment rules are as follows: when the target game's sales volume increases by a preset threshold, the current sales increment increases by a fixed step size.

[0029] Furthermore, the initial number of bets that can be sold for each number combination serves as the base value for betting limit control. The current sales volume step-up sales number reflects the degree to which changes in sales volume affect the betting limit, while the target game's first prize amount is linked to the adjustment effect of the prize pool size on the betting limit standard. A preset formula integrates the above parameters through specific computational logic, forming a dynamic maximum allowed betting volume calculation model. The current sales volume step-up sales number is not a fixed value but is dynamically adjusted according to the growth of the target game's sales volume based on adjustment rules. The core logic of this adjustment rule is that when the target game's sales volume increases by a certain preset threshold, the current sales volume step-up sales number will increase by a pre-set fixed step size. This allows the calculated maximum allowed betting volume to adjust accordingly to real-time changes in sales volume, achieving dynamic risk control of the betting scale, ensuring that the betting limit standard matches the actual sales progress of the game, and maintaining the normal operation of the game while ensuring fund security. Step S4: Perform rule verification based on the configured rule parameters and the preset rule base to obtain the rule verification result.

[0030] Specifically, step S4 above includes: Step b1: Verify whether the risk control mode corresponding to the above game type matches the risk control strategy in the preset rule base.

[0031] Furthermore, for each game type, the corresponding risk control strategy is retrieved from a pre-set rule base, and then it is verified whether the risk control mode matched to that game type is consistent with the risk control strategies in the pre-set rule base. In this way, it is ensured that different types of games can adopt appropriate risk control modes, making risk control measures more targeted. Step b2: Verify whether the above-mentioned return ratio meets the threshold range set in the preset rule base.

[0032] Furthermore, the obtained reward ratio is compared and verified with the threshold range set in the preset rule base. The reward ratio is an important parameter affecting the financial risk of the game. By verifying whether it is within a safe and reasonable threshold range, the fairness and sustainability of the game can be effectively guaranteed, and financial risks caused by unreasonable reward ratio settings can be avoided.

[0033] Step b3: If the above risk control mode includes dynamic number restriction rules, verify whether the number of initial number combinations that can be sold and the current sales amount step sales number meet the parameter configuration in the preset rule library.

[0034] Furthermore, if the risk control mode is confirmed to include dynamic number restriction rules, the initial number of bets that can be sold for each number combination and the step-by-step sales number based on the current sales amount are further verified to see if these two parameters meet the parameter configuration requirements in the preset rule base. The rationality of the parameter configuration under the dynamic number restriction rules directly affects the accuracy of whether the number of bets with restrictions can be dynamically adjusted according to sales amount; therefore, this verification step is crucial for achieving accurate risk control.

[0035] Step b4: If all the above checks pass, the rule check result is deemed compliant; otherwise, it is deemed non-compliant.

[0036] Furthermore, a comprehensive judgment is made on all the above verification results. If the risk control mode corresponding to the game type matches the threshold range, the return ratio is within the specified range, and the relevant parameter configurations also meet the requirements when dynamic number restriction rules are included, then the rule verification result is deemed compliant. Conversely, if any one of the verifications fails, it is deemed non-compliant. This comprehensive compliance determination mechanism ensures that only betting operations that fully comply with the preset rules will proceed to the subsequent risk verification stage, minimizing financial risk.

[0037] Step S5: If the rule verification result is compliant, perform risk verification on each single combination based on the betting information, current betting data, and maximum allowed number of bets to be sold, and obtain the risk verification result. The risk verification result includes allowing betting and rejecting betting. The current betting data is the total number of actual bets completed by all users in the target game.

[0038] Specifically, step S5 above includes: Step c1: Obtain the actual number of bets placed on each single combination in the target game, obtain the number of bets placed on each single combination based on the betting information, and calculate the total number of bets for each single combination based on the actual number of bets and the number of bets placed.

[0039] Furthermore, the system obtains the actual number of bets placed on each single-bet combination in the target game. This data reflects the previous betting activity of all users on that single-bet combination. Next, based on the betting information, the system obtains the number of bets placed on each single-bet combination, i.e., the number of bets placed by the current user on each single-bet combination. Finally, the system adds the actual number of bets to the total number of bets placed to calculate the total number of bets for each single-bet combination, which serves as the basis for risk verification. Step c2: Compare the total number of bets for each single combination with the maximum allowed number of bets. If the total number of bets is less than or equal to the maximum allowed number of bets, the single combination is allowed to be bet. If the total number of bets is greater than the maximum allowed number of bets, the single combination is rejected.

[0040] Furthermore, the total number of bets for each single combination is compared in detail with the maximum allowed number of bets. If the total number of bets for a single combination is less than or equal to the maximum allowed number of bets, it means that the betting amount for that single combination has not exceeded the risk control range, and the single combination is deemed allowed to be bet. If the total number of bets is greater than the maximum allowed number of bets, it means that the betting amount for that single combination has exceeded the safety threshold, and the single combination is deemed to be rejected.

[0041] Step c3: When all single combinations are allowed to bet, the risk check result is determined to be allowed to bet; when any single combination is rejected to bet, the risk check result is determined to be rejected to bet.

[0042] Furthermore, a comprehensive analysis is conducted on the judgment results of all single-bet combinations. When all single-bet combinations are judged to be allowed, it indicates that the current betting operation as a whole meets the risk control requirements, and the risk verification result is judged as allowed betting; however, when any single-bet combination is judged to be rejected, it indicates that there is a situation in the current betting operation that exceeds the risk threshold, and the risk verification result is judged as rejected betting, so as to ensure that the risk of the entire betting operation is controllable.

[0043] In some alternative embodiments, a distributed locking mechanism is used when comparing the total number of bets for each single combination with the maximum allowed number of bets to be sold.

[0044] Specifically, by adding a distributed lock to the bet count verification process of single combinations in high-concurrency scenarios, it ensures that multiple betting requests perform mutually exclusive operations on the bet count update operation of the same single combination, avoiding the risk of bet count verification failure or over-betting due to concurrent access, thereby ensuring the strict enforcement of risk control rules.

[0045] In some alternative embodiments, the method further includes: using a Redis cache to store in real time the actual number of bets placed on each single combination.

[0046] Specifically, by leveraging Redis's high-performance distributed caching features, frequently accessed betting data can be stored in the cache in real time. During risk verification, data can be read directly from the cache, reducing the frequency of access to the backend database. This can significantly improve data reading efficiency and shorten verification time, especially in high-concurrency scenarios, effectively improving system response speed.

[0047] In some optional embodiments, the above method further includes: when it is detected that the current data processing task is in a preset scenario, an asynchronous processing mechanism is adopted to put the splitting and annotation processing, rule verification and risk verification into a message queue for asynchronous execution.

[0048] Specifically, by assessing metrics such as the load and concurrency of data processing tasks, when preset scenarios are met, such as concurrency exceeding a threshold or processing time being excessive, complex operations like splitting calculations and rule validation are encapsulated as events and placed in a message queue. These events are then processed step-by-step by an asynchronous thread pool, preventing the main transaction process from being blocked. This approach effectively improves the system's concurrency processing capabilities, ensuring that the main process maintains a sub-second response time even in high-concurrency scenarios.

[0049] The method for controlling the financial risks of complex lottery games provided in this embodiment provides a comprehensive and accurate data foundation for subsequent risk control operations by acquiring betting information, configuration rule parameters of the target game, and game progress parameters. This enables the risk control system to accurately execute subsequent limit calculations and risk verification processes based on configuration rules such as game type, risk control mode, and return ratio, as well as real-time progress parameters such as initial bets, sales increments, and first prize amounts. By determining whether a betting operation is a complex game based on betting information, and splitting it into several single-bet combinations when it is determined to be a complex game, the method effectively solves the problem of splitting bets in the betting process of complex games. It breaks down complex complex games into single-bet combinations that can be directly verified for limit numbers, ensuring that the risk control system can accurately manage the betting situation of each single-bet combination. By calculating the maximum allowed number of bets for the target game based on a preset formula and combined with the initial bets, sales increments, and first prize amounts, the method achieves dynamic adjustment of the limit bets. This allows the limit standards to change reasonably according to real-time data such as sales, thereby ensuring the fairness of the game while more effectively controlling financial risks and avoiding risk loopholes caused by static limit numbers. By performing rule verification based on configured rule parameters and a preset rule base, the system verifies the compliance of betting operations from multiple dimensions, including the risk control mode corresponding to the game type and the payout ratio. This ensures that betting behavior conforms to pre-set risk control strategies and rule requirements, effectively reducing the risk caused by non-compliance with the rules. When the rule verification results are compliant, risk verification is performed on each single-bet combination based on betting information, current betting data, and the maximum allowed number of bets. This achieves accurate assessment of the betting situation for each single-bet combination. By combining the total number of bets actually placed by all users, it can accurately determine whether a new bet will lead to over-betting, thereby effectively controlling resource competition in high-concurrency scenarios, ensuring fund security, and guaranteeing high-performance system response. This invention solves the problem that traditional solutions struggle to achieve accurate control of lottery fund risks when facing the industry trend of diversified complex gameplay and surging betting concurrency.

[0050] The above are embodiments of the lottery complex game fund risk control system provided in this application. Other embodiments of the lottery complex game fund risk control system provided in this application are described below.

[0051] This embodiment also provides a complex lottery game fund risk control system, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that performs a predetermined function. Although the system described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0052] This embodiment provides a complex lottery game fund risk control system, such as... Figure 2 As shown, it includes: The parameter acquisition module is used to acquire betting information, configuration rule parameters of the target game, and game progress parameters when a user's betting operation for the target game is detected. The configuration rule parameters include: game type, risk control mode, and return ratio. The game progress parameters include: the initial number of bets that can be sold for each number combination, the current sales volume step sales number, and the current first prize amount. The composite betting module is used to determine whether a betting operation is a composite betting method based on betting information. If the betting operation is determined to be a composite betting method, the betting operation is split into several single betting combinations. The formula calculation module is used to calculate the maximum allowed number of bets for the target game based on a preset formula, the initial number of bets that can be sold for each number combination, the current sales volume step sales number, and the current first prize amount. The rule verification module is used to verify rules based on configured rule parameters and a preset rule base, and obtain the rule verification results. The risk verification module is used to perform risk verification on each single combination based on betting information, current betting data, and the maximum allowed number of bets if the rule verification result is compliant, and to obtain the risk verification result. The risk verification result includes allowing betting and rejecting betting. The current betting data is the total number of actual bets completed by all users in the target game.

[0053] The complex lottery game fund risk control system provided in this embodiment provides a comprehensive and accurate data foundation for subsequent risk control operations by acquiring betting information, target game configuration rule parameters, and game progress parameters. This enables the risk control system to accurately execute subsequent limit calculations and risk verification processes based on configuration rules such as game type, risk control mode, and payout ratio, as well as real-time progress parameters such as initial bets, sales increments, and first prize amounts. By determining whether a betting operation is a complex game based on betting information, and splitting it into several single combinations when it is determined to be a complex game, the system effectively solves the problem of splitting bets in the betting process of complex games. It breaks down complex complex games into single combinations that can be directly verified for limit numbers, ensuring that the risk control system can accurately manage the betting situation of each single combination. By calculating the maximum allowed number of bets for the target game based on a preset formula and combined with the initial bets, sales increments, and first prize amounts, the system achieves dynamic adjustment of the limit bets. This allows the limit standards to change reasonably according to real-time data such as sales, thereby ensuring the fairness of the game while more effectively controlling fund risks and avoiding risk loopholes caused by static limit numbers. By performing rule verification based on configured rule parameters and a preset rule base, the system verifies the compliance of betting operations from multiple dimensions, including the risk control mode corresponding to the game type and the payout ratio. This ensures that betting behavior conforms to pre-set risk control strategies and rule requirements, effectively reducing the risk caused by non-compliance with the rules. When the rule verification results are compliant, risk verification is performed on each single-bet combination based on betting information, current betting data, and the maximum allowed number of bets. This achieves accurate assessment of the betting situation for each single-bet combination. By combining the total number of bets actually placed by all users, it can accurately determine whether a new bet will lead to over-betting, thereby effectively controlling resource competition in high-concurrency scenarios, ensuring fund security, and guaranteeing high-performance system response. This invention solves the problem that traditional solutions struggle to achieve accurate control of lottery fund risks when facing the industry trend of diversified complex gameplay and surging betting concurrency.

[0054] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

Claims

1. A method for controlling financial risks in complex lottery games, characterized in that, The method includes: When a user's betting action on a target game is detected, the betting information, the configuration rule parameters of the target game, and the game progress parameters are obtained. The configuration rule parameters include: game type, risk control mode, and return ratio. The game progress parameters include: the initial number of bets that can be sold for each number combination, the current sales volume step-up sales volume, and the current first prize amount. Based on the betting information, determine whether the betting operation is a compound betting method. If the betting operation is determined to be a compound betting method, split the betting operation to obtain several single betting combinations. Based on the preset formula, the initial number of bets that can be sold for each number combination, the current sales volume step sales number, and the current first prize amount, the maximum allowed number of bets for the target game is calculated. Rule validation is performed based on the configured rule parameters and the preset rule base to obtain the rule validation results; If the rule verification result is compliant, a risk verification is performed on each single combination based on the betting information, the current betting data, and the maximum allowed number of bets to be sold, and a risk verification result is obtained. The risk verification result includes allowing betting and rejecting betting. The current betting data is the total number of actual bets completed by all users in the target game.

2. The method according to claim 1, characterized in that, The composite betting methods include multiple betting methods and combination betting methods. The process of determining whether a betting operation is a composite betting method based on betting information, and if so, splitting the betting operation to obtain several single-bet combinations, includes: If the composite game is a multiple-number game, the composite game will be broken down into several single-number combinations; If the composite betting method is a combination betting method, the composite betting method is broken down into a single combination of fixed numbers and variable numbers.

3. The method according to claim 2, characterized in that, The preset formula is: N = I + (S × 0.575) / X Where I is the initial number of bets that can be sold for each number combination, S is the number of bets sold step-by-step from the current sales amount, X is the first prize amount for the target game, and N is the maximum number of bets allowed to be sold.

4. The method according to claim 3, characterized in that, The current sales step count is dynamically adjusted based on the adjustment rules as the sales revenue of the target game increases. The adjustment rules are as follows: when the sales revenue of the target game increases by a preset threshold, the current sales revenue step count increases by a fixed step size.

5. The method according to claim 4, characterized in that, The rule validation based on configuration rule parameters and a preset rule base, to obtain rule validation results, includes: Verify whether the risk control mode corresponding to the game type matches the risk control strategy in the preset rule base; Verify whether the return ratio conforms to the threshold range set in the preset rule base; If the risk control mode includes dynamic number restriction rules, verify whether the initial number of bets that can be sold for each number combination and the current sales amount step sales number meet the parameter configuration in the preset rule library; If all the above checks pass, the rule check result is deemed compliant; otherwise, it is deemed non-compliant.

6. The method according to claim 5, characterized in that, If the rule verification result is compliant, a risk verification is performed on each single combination based on the betting information, current betting data, and the maximum allowed number of bets to be sold, resulting in a risk verification result. The risk verification result includes allowing betting and rejecting betting. The current betting data is the total number of actual bets placed by all users in the target game, including: Obtain the actual number of bets placed on each single combination in the target game, obtain the number of bets placed on each single combination based on the betting information, and calculate the total number of bets for each single combination based on the actual number of bets and the number of bets placed. The total number of bets for each single combination is compared with the maximum allowed number of bets. If the total number of bets is less than or equal to the maximum allowed number of bets, the single combination is allowed to be bet. If the total number of bets is greater than the maximum allowed number of bets, the single combination is rejected. When all single-bet combinations are allowed to bet, the risk check result is determined to be allowed to bet; when any single-bet combination is rejected to bet, the risk check result is determined to be rejected to bet.

7. The method according to claim 6, characterized in that, A distributed locking mechanism is used when comparing the total number of bets for each single combination with the maximum allowed number of bets to be sold.

8. The method according to claim 7, characterized in that, The method also includes: using Redis cache to store in real time the actual number of bets that have been placed for each single combination.

9. The method according to claim 8, characterized in that, The method further includes: when the current data processing task is detected to be in a preset scenario, an asynchronous processing mechanism is adopted to put the splitting and annotation processing, rule verification and risk verification into a message queue for asynchronous execution.

10. A complex lottery game fund risk control system, characterized in that, The system includes: The parameter acquisition module is used to acquire betting information, configuration rule parameters of the target game, and game progress parameters when a user's betting operation for the target game is detected. The configuration rule parameters include: game type, risk control mode, and return ratio. The game progress parameters include: the initial number of bets that can be sold for each number combination, the current sales volume step-up sales volume, and the current first prize amount. The composite betting module is used to determine whether a betting operation is a composite betting method based on betting information. If the betting operation is determined to be a composite betting method, the betting operation is split into several single betting combinations. The formula calculation module is used to calculate the maximum allowed number of bets for the target game based on a preset formula, the initial number of bets that can be sold for each number combination, the current sales volume step sales number, and the current first prize amount. The rule verification module is used to verify rules based on configured rule parameters and a preset rule base, and obtain the rule verification results. The risk verification module is used to perform risk verification on each single combination based on betting information, current betting data, and the maximum allowed number of bets if the rule verification result is compliant, and to obtain the risk verification result. The risk verification result includes allowing betting and rejecting betting. The current betting data is the total number of actual bets completed by all users in the target game.

Citation Information

Patent Citations

  • Lottery betting number limiting processing method and system

    CN111080888A

  • Wine high-concurrency fund payment method, system and device and medium

    CN119359305A