Method and device for parallel lottery counting, electronic equipment, storage medium and product
By classifying lottery betting methods, parallel prize calculation is achieved, solving the problem of low prize calculation accuracy in existing technologies and improving the efficiency and accuracy of prize calculation.
Patent Information
- Application Number
- CN202511392464.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-26
- Publication Date
- 2025-11-28
AI Technical Summary
The accuracy of lottery prize calculation results in the current technology is low and the process is time-consuming, mainly due to the comparison and search in the winning mark sequence.
By dividing the lottery according to the betting method, determining the details of single, multiple, and combination betting methods, and calculating prizes in parallel, the accuracy of prize calculation is improved.
This reduces the time spent on prize calculation, improves the accuracy of prize calculation, and avoids errors in prize calculation results caused by comparison and searching.
Smart Images

Figure CN121033973A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic application technology, and in particular to a method, apparatus, electronic device, storage medium, and product for parallel lottery prize calculation. Background Technology
[0002] The specific methods for calculating prizes vary depending on the lottery.
[0003] Currently, existing technologies primarily determine the prize calculation result by comparing and searching within the winning mark sequence based on the calculated betting numbers. However, this method of comparing and searching within the winning mark sequence results in low accuracy. Summary of the Invention
[0004] This invention provides a method, apparatus, electronic device, storage medium, and product for parallel lottery prize calculation, which addresses the shortcomings of existing technologies where the accuracy of prize calculation results obtained by comparing and searching in a winning mark sequence is low. The invention achieves the goal of dividing the lottery according to the betting method, determining the corresponding lottery details for different betting methods, and performing parallel prize calculation, thereby improving the accuracy of prize calculation.
[0005] This invention provides a method for parallel lottery prize calculation, comprising the following steps.
[0006] If the lottery prize period status of the candidate lottery is "sales suspended", obtain the ticket sales details for the prize period when the candidate lottery sales were suspended; the ticket sales details for the prize period include the betting methods of the candidate lottery, including single bet, multiple bet, and combination bet.
[0007] The candidate lottery tickets in the ticket sales details for the prize period that are bet using the single bet method are designated as the first bet lottery, and the corresponding first bet lottery details are determined; the candidate lottery tickets in the ticket sales details for the prize period that are bet using the multiple bet method are designated as the second bet lottery, and the corresponding second bet lottery details are determined; the candidate lottery tickets in the ticket sales details for the prize period that are bet using the combination bet method are designated as the third bet lottery, and the corresponding third bet lottery details are determined.
[0008] The parallel betting details are determined based on the first betting details, the second betting details, and the third betting details.
[0009] When the lottery prize period status of the candidate lottery is "started for prize calculation", parallel prize calculation is performed according to the details of the parallel betting lottery to obtain the parallel prize calculation result.
[0010] According to a method for parallel lottery prize calculation provided by the present invention, the second betting lottery details include the amount of the multiple betting lottery; determining the second betting lottery details corresponding to the second betting lottery includes: splitting the second betting lottery according to lottery rules to obtain multiple split betting lottery; wherein, the multiple split betting lottery is a lottery in which the second betting lottery is split into single betting methods based on lottery rules, and the lottery rules are pre-set rules for splitting lottery betting; determining the amount of the multiple betting lottery according to the number of first single bets and the first betting amount of each bet in the multiple split betting lottery.
[0011] According to a method for parallel lottery prize calculation provided by the present invention, the third betting lottery details include the amount of the combination betting lottery; determining the third betting lottery details corresponding to the third betting lottery includes: splitting the third betting lottery according to lottery rules to obtain the combination split betting lottery; wherein, the combination split betting lottery is a lottery in which the third betting lottery is split into single betting methods based on lottery rules; and determining the amount of the combination betting lottery according to the number of second single bets and the second betting amount of each single bet in the combination split betting lottery.
[0012] According to a method for parallel lottery prize calculation provided by the present invention, parallel prize calculation is performed based on parallel betting lottery details to obtain parallel lottery prize calculation results, including: segmenting the parallel betting lottery details to obtain a set of lottery segment results; wherein the set of lottery segment results includes at least two lottery segment results; calculating prizes for each lottery segment result to obtain segment prize calculation results corresponding to each lottery segment result; and summarizing all segment prize calculation results to determine the parallel lottery prize calculation results.
[0013] According to a method for parallel lottery prize calculation provided by the present invention, for any lottery segment result, prize calculation is performed on the lottery segment result to obtain the segment prize calculation result corresponding to each lottery segment result, including: obtaining winning information; wherein, the winning information includes winning numbers and winning conditions; traversing each lottery in the lottery segment result according to the winning numbers to determine the winning result; and determining the segment prize calculation result according to the winning conditions and the winning result.
[0014] According to a method for parallel lottery prize calculation provided by the present invention, after performing parallel prize calculation based on parallel lottery betting details and obtaining the parallel lottery prize calculation result, the method further includes: obtaining the prize calculation result of the main prize calculation program; determining that the prize calculation has passed if the parallel lottery prize calculation result and the main prize calculation program prize calculation result are consistent; and determining an alarm log if the parallel lottery prize calculation result and the main prize calculation program prize calculation result are inconsistent. The alarm log is used to remind the prize calculation personnel that the parallel lottery prize calculation result and the main prize calculation program prize calculation result are inconsistent.
[0015] The present invention also provides a device for parallel lottery prize calculation, comprising the following modules.
[0016] The details acquisition module is used to obtain the ticket sales details for the lottery prize period when the lottery prize period status of the candidate lottery is "sales have stopped". The ticket sales details for the prize period include the betting methods of the candidate lottery, including single betting, multiple betting, and combination betting.
[0017] The lottery determination module is used to determine the candidate lottery with the single bet method in the ticket sales details of the prize period as the first bet lottery, and to determine the first bet lottery details corresponding to the first bet lottery; to determine the candidate lottery with the multiple bet method in the ticket sales details of the prize period as the second bet lottery, and to determine the second bet lottery details corresponding to the second bet lottery; and to determine the candidate lottery with the combination bet method in the ticket sales details of the prize period as the third bet lottery, and to determine the third bet lottery details corresponding to the third bet lottery.
[0018] The details determination module is used to determine the parallel betting lottery details based on the first betting lottery details, the second betting lottery details, and the third betting lottery details.
[0019] The parallel prize calculation module is used to perform parallel prize calculation based on the details of parallel betting lotteries when the lottery prize period status of the candidate lottery is "started".
[0020] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-described methods for parallel lottery prize calculation.
[0021] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for parallel lottery prize calculation.
[0022] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements any of the above-described methods for parallel lottery prize calculation.
[0023] This invention provides a method, apparatus, electronic device, storage medium, and product for parallel lottery prize calculation. It obtains the ticket sales details for the prize period when a candidate lottery's prize period status is "closed." The ticket sales details include the betting methods of the candidate lottery, including single bets, multiple bets, and combination bets. Candidate lotteries with single bets in the prize period ticket sales details are identified as the first betting lottery, and the corresponding first betting lottery details are determined. The method further involves selecting the candidate lotteries from the prize period ticket sales details... The following steps address the shortcomings of existing technologies: First, candidate lotteries using a multiple-betting method are designated as the second betting lottery, and their corresponding details are determined. Second, candidate lotteries using a combination betting method from the lottery sales details are designated as the third betting lottery, and their corresponding details are determined. Third, parallel betting lottery details are determined based on the first, second, and third betting lottery details. Fourth, when the lottery prize period status of a candidate lottery is "started," parallel prize calculation is performed based on the parallel betting lottery details to obtain the parallel prize calculation result. This invention solves the problem of time-consuming and inaccurate prize calculation methods in existing technologies, which rely on comparing and searching within a winning marker sequence. The invention divides lotteries according to betting methods, determines corresponding betting lottery details for different betting methods, and performs parallel prize calculation, reducing calculation time and improving accuracy. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0025] Figure 1 This is a flowchart illustrating the parallel lottery prize calculation method provided by the present invention.
[0026] Figure 2 This is a schematic diagram of the lottery parallel prize calculation device provided by the present invention.
[0027] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0029] The following is combined Figure 1 The present invention describes a method for parallel lottery prize calculation. This method is applicable to lottery prize calculation situations. The executing entity of this method can be an electronic device or a device for parallel lottery prize calculation installed in the electronic device. The device for parallel lottery prize calculation can be implemented by software, hardware, or a combination of both. Figure 1 This is a flowchart illustrating the parallel lottery prize calculation method provided by the present invention, as shown below. Figure 1 As shown, the method includes the following steps 101, 102, 103 and 104.
[0030] Step 101: If the lottery prize period status of the candidate lottery is "sales suspended", obtain the ticket sales details for the prize period when the candidate lottery sales were suspended.
[0031] In this step, the ticket sales details for the prize period include the betting methods for the candidate lottery, which include single betting, multiple betting, and combination betting.
[0032] The lottery prize period status indicates the current status of the candidate lottery. The lottery prize period status can be, for example, inactive, sales started, sales stopped, lottery results entered, prize calculation started, prize redemption started, prize redemption ended, etc. This embodiment does not limit this.
[0033] The ticket sales details for the prize period may also include the betting content, the lottery amount, and the number of bets. The betting content refers to the specific lottery selected, the lottery amount is the specific purchase amount corresponding to each betting content in the candidate lottery, and the number of bets is the number of bets purchased for that lottery, etc. This embodiment does not limit these.
[0034] Betting methods include single betting, multiple betting, and combination betting. For example, a single betting method can be exemplified by a lottery game called Super Lotto. A basic Super Lotto bet involves selecting five numbers from the front area and two numbers from the back area. The front area consists of 35 numbers (01-35), and the back area consists of 12 numbers (01-12). The basic betting amount (lottery amount) for each bet is 2 yuan. Multiple betting involves selecting more numbers than the basic bet, combining them into multiple bets for each basic betting method. For Super Lotto, multiple betting includes three forms: (i) Front area multiple betting: selecting six or more numbers in the front area and two numbers in the back area; (ii) Back area multiple betting: selecting five numbers in the front area and three or more numbers in the back area; (iii) Double area multiple betting: selecting six or more numbers in the front area and three or more numbers in the back area. The combination betting method is the opposite of the multiple betting method, and it is suitable for those who want to bet on fewer than 7 numbers. Of course, "fewer than 7 numbers" doesn't mean that there aren't 7 numbers in a single bet; rather, it means that the bettor has fewer than 7 lucky numbers that they like or feel confident about. In other words, while the bettor may favor a few numbers (no more than 5, called "fixed numbers"), they must also add a few less certain numbers (2-28, called "variable numbers") to form the actual bet. This example does not impose such limitations.
[0035] Specifically, the lottery prize period status of candidate lotteries is scanned periodically. Based on the lottery prize period status of the candidate lotteries obtained from the scan, if the lottery prize period status of the candidate lotteries is "sales have stopped", the ticket sales details of the prize period when the candidate lotteries stopped sales are obtained simultaneously to determine the betting method, betting content, lottery amount and multiplier number at this time.
[0036] In one specific implementation, the candidate lottery tickets are automatically stopped from sale at a preset time on the prize-winning day. The preset time could be, for example, 21:00 on that day. This embodiment does not limit this to a specific time.
[0037] Step 102: Identify the candidate lottery tickets in the prize period ticket sales details that use the single bet method as the first bet lottery, and determine the first bet lottery details corresponding to the first bet lottery; identify the candidate lottery tickets in the prize period ticket sales details that use the multiple bet method as the second bet lottery, and determine the second bet lottery details corresponding to the second bet lottery; identify the candidate lottery tickets in the prize period ticket sales details that use the combination bet method as the third bet lottery, and determine the third bet lottery details corresponding to the third bet lottery.
[0038] In this step, the first lottery betting lottery is a single betting lottery among the candidate lottery betting lotteries, the second lottery betting lottery is a multiple betting lottery among the candidate lottery betting lotteries, and the third lottery betting lottery is a combination betting lottery among the candidate lottery betting lotteries. This embodiment does not limit the types of lottery betting lotteries.
[0039] The first lottery betting details are the lottery details of the candidate lotteries with the single betting method; the second lottery betting details are the lottery details obtained by splitting the candidate lotteries with the multiple betting method into single betting methods; the third lottery betting details are the lottery details obtained by splitting the candidate lotteries with the combination betting method into single betting methods. This embodiment does not limit the specific lottery betting details.
[0040] Specifically, after determining the ticket sales details for the prize period, the candidate lotteries with a single-bet betting method in the ticket sales details for the prize period are designated as the first betting lotteries, and the corresponding details for the first betting lotteries are determined; the candidate lotteries with a multiple-bet betting method in the ticket sales details for the prize period are designated as the second betting lotteries, and the corresponding details for the second betting lotteries are determined; the candidate lotteries with a combination betting method in the ticket sales details for the prize period are designated as the third betting lotteries, and the corresponding details for the third betting lotteries are determined.
[0041] In one specific embodiment, the second betting lottery details include the amount of the multiple betting lottery; determining the second betting lottery details corresponding to the second betting lottery includes: splitting the second betting lottery according to lottery rules to obtain a multiple split betting lottery; wherein, the multiple split betting lottery is a lottery in which the second betting lottery is split into single betting methods based on lottery rules, and the lottery rules are pre-set rules for splitting lottery betting; determining the multiple betting lottery amount according to the number of first single bets and the first betting amount of each bet in the multiple split betting lottery.
[0042] In this step, the lottery rules are pre-defined rules for splitting the lottery. For example, a lottery with a multiple betting method or a combination betting method can be split into a lottery with a single betting method. This embodiment does not limit this.
[0043] The first bet in a single bet is the number of bets that split a lottery with a multiple bet method into single bets, and the first bet amount is the bet amount that splits a lottery with a multiple bet method into single bets. This embodiment does not limit this.
[0044] Specifically, when the betting method is determined to be a multiple betting method, the second betting lottery is split according to the lottery rules, the multiple betting lottery is split into single betting lottery, and the split multiple betting lottery is determined; the amount of the multiple betting lottery is determined by the product of the number of first single bets in the multiple betting lottery and the amount of the first bet of each bet.
[0045] For example, if the first bet of a split lottery bet is 2, and the first bet amount of each bet is 2, then the total amount of the split lottery bet is determined to be 4. This embodiment does not limit this.
[0046] In one specific embodiment, after splitting, it is ensured that the split lottery betting is accurate. The advantage of this setting is that it improves the accuracy of subsequent prize calculation.
[0047] In one specific embodiment, the third lottery betting details include the amount of the combination betting lottery; determining the third lottery betting details corresponding to the third lottery betting includes: splitting the third lottery betting according to lottery rules to obtain the combination betting split lottery; wherein, the combination betting split lottery is a lottery that splits the third lottery betting into single betting methods based on lottery rules; and determining the amount of the combination betting lottery based on the number of second single bets and the second betting amount of each single bet in the combination betting split lottery.
[0048] In this step, the second number of single bets is the number of bets that split the lottery of the combination betting method into single bets, and the second betting amount is the betting amount that splits the lottery of the combination betting method into single bets. This embodiment does not limit this.
[0049] Specifically, when the betting method is determined to be a combination betting method, the third betting lottery is split according to the lottery rules, and the combination betting lottery is split into single betting lottery, and the split combination betting lottery is determined; the combination betting lottery amount is determined by the product of the number of second single bets in the combination betting lottery and the second betting amount of each bet.
[0050] For example, if the first single bet of the split combination betting lottery is 4, and the first bet amount of each bet is 2, then the total amount of the combination betting lottery is determined to be 8. This embodiment does not limit this.
[0051] Step 103: Determine the parallel betting lottery details based on the first betting lottery details, the second betting lottery details, and the third betting lottery details.
[0052] Specifically, after obtaining the details of the first betting lottery for the single betting method, the second betting lottery for the multiple betting method, and the third betting lottery for the combination betting method among the candidate lotteries, the details of the first betting lottery, the second betting lottery, and the third betting lottery are statistically analyzed to determine the parallel betting lottery details corresponding to the candidate lotteries.
[0053] In one specific embodiment, the first betting lottery details, the second betting lottery details, the third betting lottery details, and the parallel betting lottery details can also be synchronously written into the parallel prize calculation database for storage. This embodiment does not limit this.
[0054] Step 104: When the lottery prize period status of the candidate lottery is "started to calculate prizes", perform parallel prize calculation according to the details of the parallel betting lottery to obtain the parallel prize calculation result.
[0055] Specifically, after determining the details of the parallel betting lottery, the lottery prize period status of the candidate lottery is scanned periodically. If the lottery prize period status of the candidate lottery is "start of prize calculation", parallel prize calculation is performed according to the details of the parallel betting lottery to obtain the parallel prize calculation result.
[0056] In one specific embodiment, the parallel lottery betting details are segmented to obtain a lottery segment result set; wherein, the lottery segment result set includes at least two lottery segment results; prizes are calculated for each lottery segment result to obtain the segment prize calculation result corresponding to each lottery segment result; all segment prize calculation results are summarized to determine the parallel lottery prize calculation result.
[0057] Specifically, the parallel lottery betting details are segmented to obtain a set of lottery segment results; prizes are calculated for each lottery segment result to obtain the segment prize calculation result corresponding to each lottery segment result; all segment prize calculation results are summarized to determine the parallel lottery prize calculation result.
[0058] For example, the parallel betting lottery details are segmented according to the lottery's province code, sales period, etc., to obtain a set of lottery segment results including at least two lottery segment results. Then, each lottery segment result in the lottery segment result set is calculated separately. Each lottery bet is traversed, and each prize is further traversed. Based on the winning conditions of each prize, the number of winning bets is determined, thereby summarizing the segmented prize calculation results of each lottery segment result to determine the parallel lottery prize calculation result.
[0059] In one specific embodiment, when calculating prizes, the parallel betting lottery details stored in the parallel prize calculation database can be obtained by loading the parallel prize calculation database. This embodiment does not limit this.
[0060] In one specific embodiment, for any lottery segment result, the prize calculation for the lottery segment result is performed to obtain the segment prize calculation result corresponding to each lottery segment result, including: obtaining winning information; wherein, the winning information includes winning numbers and winning conditions; traversing each lottery in the lottery segment result according to the winning numbers to determine the winning result; and determining the segment prize calculation result according to the winning conditions and the winning result.
[0061] Specifically, the winning information is obtained, which includes the winning numbers and winning conditions. Based on the winning numbers, each lottery ticket in the lottery segment results is traversed to determine the winning result. Based on the winning conditions and the winning result, each prize in the lottery is traversed to determine the segmented prize calculation result.
[0062] For example, a lottery prize may consist of at least six sets of numbers, including first, second, third, fourth, fifth, and sixth prizes. The winning conditions may be as follows: if the winning numbers in the lottery segment result contain one of the six sets of numbers for the lottery prize, it is determined to be a sixth prize; if the winning numbers in the lottery segment result contain two of the six sets of numbers for the lottery prize, it is determined to be a fifth prize; if the winning numbers in the lottery segment result contain three of the six sets of numbers for the lottery prize, it is determined to be a fourth prize; if the winning numbers in the lottery segment result contain four of the six sets of numbers for the lottery prize, it is determined to be a third prize; if the winning numbers in the lottery segment result contain five of the six sets of numbers for the lottery prize, it is determined to be a second prize; and if the winning numbers in the lottery segment result contain six of the six sets of numbers for the lottery prize, it is determined to be a first prize. This embodiment does not limit this.
[0063] In one specific embodiment, after performing parallel prize calculation based on the parallel lottery betting details and obtaining the parallel lottery prize calculation result, the method further includes: obtaining the prize calculation result of the main prize calculation program; determining that the prize calculation has passed if the parallel lottery prize calculation result and the main prize calculation program prize calculation result are consistent; and determining an alarm log if the parallel lottery prize calculation result and the main prize calculation program prize calculation result are inconsistent. The alarm log is used to remind the prize calculation personnel that the parallel lottery prize calculation result and the main prize calculation program prize calculation result are inconsistent.
[0064] In this step, the prize calculation results are the results of a pre-calculated lottery winnings using a standard prize calculation procedure.
[0065] Specifically, after determining the parallel lottery prize calculation results, the prize calculation results of the main prize calculation program are obtained; it is then determined whether the parallel lottery prize calculation results and the main prize calculation program results are consistent. If they are consistent, the prize calculation is deemed successful; if they are inconsistent, an alarm log is generated. The alarm log is used to remind the prize calculation personnel of the inconsistency between the parallel lottery prize calculation results and the main prize calculation program results.
[0066] The advantage of this setup is that it splits all candidate lottery tickets into single bets through the betting method, avoiding the problem of errors in calculating the total number of winning bets and the prize money of a single bet in multiple bets and combination bets, which would lead to incorrect prize calculation results, thus ensuring the accuracy of the parallel lottery prize calculation results.
[0067] This invention provides a method for parallel lottery prize calculation. When the prize period status of a candidate lottery is "closed," the method obtains the ticket sales details for the prize period when sales of the candidate lottery are closed. These details include the betting methods of the candidate lottery, including single bets, multiple bets, and combination bets. Candidate lotteries with single bets in the prize period ticket sales details are identified as the first betting lottery, and their corresponding first betting lottery details are determined. Candidate lotteries with multiple bets in the prize period ticket sales details are identified as the second betting lottery, and their corresponding second betting lottery details are determined. Candidate lotteries with combination bets in the prize period ticket sales details are identified as the third betting lottery, and their corresponding third betting lottery details are determined. Parallel betting lottery details are determined based on the first, second, and third betting lottery details. When the prize period status of the candidate lottery is "started," parallel prize calculation is performed based on the parallel betting lottery details to obtain the parallel lottery prize calculation result. The technical solution of this invention is used to solve the defects of the existing technology in which the prize calculation method of comparing and searching in the winning mark sequence may lead to errors in the prize calculation results and reduce the accuracy of the prize calculation. The invention realizes the division of lottery according to the betting method, determines the corresponding betting lottery details for different betting methods, and performs parallel prize calculation to improve the accuracy of the prize calculation.
[0068] The lottery parallel prize calculation apparatus provided by the present invention will be described below. The lottery parallel prize calculation apparatus described below can be referred to in correspondence with the lottery parallel prize calculation method described above.
[0069] Figure 2 This is a schematic diagram of the lottery parallel prize calculation device provided by the present invention, with reference to... Figure 2As shown, the lottery parallel prize calculation device 200 includes: a details acquisition module 201, a lottery determination module 202, a details determination module 203, and a parallel prize calculation module 204.
[0070] The details acquisition module 201 is used to acquire the ticket sales details of the lottery prize period when the lottery prize period status of the candidate lottery is "sales suspended". The ticket sales details of the prize period include the betting methods of the candidate lottery, including single betting, multiple betting, and combination betting.
[0071] The lottery determination module 202 is used to determine the candidate lottery with the single bet method in the ticket sales details of the prize period as the first bet lottery, and determine the first bet lottery details corresponding to the first bet lottery; to determine the candidate lottery with the multiple bet method in the ticket sales details of the prize period as the second bet lottery, and determine the second bet lottery details corresponding to the second bet lottery; and to determine the candidate lottery with the combination bet method in the ticket sales details of the prize period as the third bet lottery, and determine the third bet lottery details corresponding to the third bet lottery.
[0072] The detail determination module 203 is used to determine the parallel betting lottery details based on the first betting lottery details, the second betting lottery details, and the third betting lottery details.
[0073] The parallel prize calculation module 204 is used to perform parallel prize calculation based on the details of parallel betting lotteries when the lottery prize period status of the candidate lottery is "started".
[0074] In one example embodiment, the second betting details include the amount of the repeat betting lottery.
[0075] In one example embodiment, the lottery determination module 202 determines the details of the second betting lottery corresponding to the second betting lottery, specifically for: splitting the second betting lottery according to lottery rules to obtain a multi-bet split betting lottery; wherein, the multi-bet split betting lottery is a lottery in which the second betting lottery is split into single betting methods based on lottery rules, and the lottery rules are pre-set rules for splitting lottery betting; and determining the multi-bet betting lottery amount based on the number of first single bets and the first betting amount of each bet in the multi-bet split betting lottery.
[0076] In one example embodiment, the third betting details include the amount of the combination betting lottery.
[0077] In one example embodiment, the lottery determination module 202 determines the details of the third betting lottery corresponding to the third betting lottery, specifically for: splitting the third betting lottery according to lottery rules to obtain a combination betting lottery; wherein, the combination betting lottery is a lottery that splits the third betting lottery into single betting methods based on lottery rules; and determining the amount of the combination betting lottery based on the number of second single bets and the second betting amount of each single bet in the combination betting lottery.
[0078] In one example embodiment, the parallel prize calculation module 204 is specifically used for: segmenting the parallel betting lottery details to obtain a lottery segment result set; wherein the lottery segment result set includes at least two lottery segment results; calculating prizes for each lottery segment result to obtain the segment prize calculation result corresponding to each lottery segment result; and summarizing all segment prize calculation results to determine the lottery parallel prize calculation result.
[0079] In one example embodiment, the parallel prize calculation module 204 calculates prizes for any lottery segment result, obtaining the segment prize calculation results corresponding to each lottery segment result. Specifically, it is used to: obtain winning information, wherein the winning information includes winning numbers and winning conditions; traverse each lottery in the lottery segment result according to the winning numbers to determine the winning results; and determine the segment prize calculation results according to the winning conditions and the winning results.
[0080] In one example embodiment, the device further includes an alarm module. The alarm module is configured to: after obtaining the parallel lottery prize calculation result by performing parallel prize calculation based on the parallel lottery betting details, obtain the prize calculation result of the main prize calculation program; determine that the prize calculation has passed if the parallel lottery prize calculation result and the main prize calculation program prize calculation result are consistent; and determine an alarm log if the parallel lottery prize calculation result and the main prize calculation program prize calculation result are inconsistent; wherein the alarm log is used to remind the prize calculation personnel that the parallel lottery prize calculation result and the main prize calculation program prize calculation result are inconsistent.
[0081] The apparatus of this embodiment can be used to execute the method of any embodiment in the method side embodiment of lottery parallel prize calculation. Its specific implementation process and technical effects are similar to those in the method side embodiment of lottery parallel prize calculation. For details, please refer to the detailed description in the method side embodiment of lottery parallel prize calculation, which will not be repeated here.
[0082] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 3As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 communicate with each other through the communication bus 340. The processor 310 can call logic instructions in the memory 330 to execute a method for parallel lottery prize calculation. This method includes: when the prize period status of a candidate lottery is "sales suspended," obtaining the sales details of the prize period when sales of the candidate lottery are suspended; wherein the sales details of the prize period include the betting methods of the candidate lottery, including single bet, multiple bet, and combination bet; identifying the candidate lottery with the single bet method in the sales details of the prize period as the first betting lottery, and determining the first betting lottery details corresponding to the first betting lottery; and further refining the sales details of the prize period... Candidate lotteries with a multiple-betting method are designated as the second betting lotteries, and their corresponding details are determined. Candidate lotteries with a combination betting method in the prize period sales details are designated as the third betting lotteries, and their corresponding details are determined. Parallel betting lottery details are determined based on the first, second, and third betting lottery details. When the prize period status of the candidate lotteries is "start of prize calculation," parallel prize calculation is performed based on the parallel betting lottery details to obtain the parallel prize calculation results.
[0083] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0084] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to execute the parallel lottery prize calculation method provided by the above methods. The method includes: when the lottery prize period status of a candidate lottery is "closed for sale," obtaining the ticket sales details of the prize period when the candidate lottery is closed for sale; wherein the ticket sales details of the prize period include the betting methods of the candidate lottery, including single betting, multiple betting, and combination betting; and identifying the candidate lottery in the ticket sales details whose betting method is single betting as the first betting lottery. The system retrieves the tickets and determines the details of the first lottery betting ticket. It then identifies the candidate lottery in the prize period sales details that uses the multiple-betting method as the second lottery betting ticket and determines the details of the second lottery betting ticket. Finally, it identifies the candidate lottery in the prize period sales details that uses the combination betting method as the third lottery betting ticket and determines the details of the third lottery betting ticket. Based on the details of the first, second, and third lottery betting tickets, it determines the details of the parallel lottery betting tickets. When the prize period status of the candidate lottery is "started calculating prizes," it performs parallel prize calculation based on the details of the parallel lottery betting tickets to obtain the parallel prize calculation results.
[0085] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a method for parallel lottery prize calculation provided by the methods described above. This method includes: when the prize period status of a candidate lottery is "sales suspended," obtaining the sales details of the prize period for the candidate lottery at the time of sales suspension; wherein the sales details of the prize period include the betting methods of the candidate lottery, including single betting, multiple betting, and combination betting; identifying the candidate lottery in the sales details of the prize period whose betting method is single betting as the first betting lottery, and determining the first betting lottery corresponding to... The first lottery betting details are as follows: Candidate lotteries with the betting method of multiple bets in the lottery sales details of the prize period are identified as the second lottery betting details, and the corresponding second lottery betting details are determined; Candidate lotteries with the betting method of combination bets in the lottery sales details of the prize period are identified as the third lottery betting details, and the corresponding third lottery betting details are determined; Parallel lottery betting details are determined based on the first, second, and third lottery betting details; When the lottery prize period status of the candidate lotteries is "start of prize calculation," parallel prize calculation is performed based on the parallel lottery betting details to obtain the parallel prize calculation results.
[0086] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0087] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for parallel lottery prize calculation, characterized in that, Including: When the lottery draw period status of the candidate lottery is "sales stopped", obtain the detailed ticket sales for the draw period when the candidate lottery's sales stopped; wherein, the detailed ticket sales for the draw period include the betting method of the candidate lottery, and the betting method includes single bet, multiple bet, and drag bet; Determine the candidate lottery with the single bet as the betting method in the detailed ticket sales for the draw period of the candidate lottery as the first betting lottery, and determine the corresponding detailed first betting lottery for the first betting lottery; determine the candidate lottery with the multiple bet as the betting method in the detailed ticket sales for the draw period of the candidate lottery as the second betting lottery, and determine the corresponding detailed second betting lottery for the second betting lottery; determine the candidate lottery with the drag bet as the betting method in the detailed ticket sales for the draw period of the candidate lottery as the third betting lottery, and determine the corresponding detailed third betting lottery for the third betting lottery; Determine the parallel betting lottery details based on the detailed first betting lottery, the detailed second betting lottery, and the detailed third betting lottery; When the lottery draw period status of the candidate lottery is "award counting started", conduct parallel award counting based on the parallel betting lottery details to obtain the lottery parallel award counting result.
2. The method for parallel lottery prize calculation according to claim 1, characterized in that, The detailed second betting lottery includes the multiple bet lottery amount; the determination of the corresponding detailed second betting lottery for the second betting lottery includes: Split the second betting lottery according to the lottery rules to obtain split multiple bet lottery tickets; wherein, the split multiple bet lottery tickets are lottery tickets obtained by splitting the second betting lottery into single bet lottery tickets based on the lottery rules, and the lottery rules are pre-set rules for splitting lottery bets; Determine the multiple bet lottery amount based on the number of first single bets and the first betting amount per bet in the split multiple bet lottery tickets.
3. The method for parallel lottery prize calculation according to claim 2, characterized in that, The detailed third betting lottery includes the drag bet lottery amount; the determination of the corresponding detailed third betting lottery for the third betting lottery includes: Split the third betting lottery according to the lottery rules to obtain split drag bet lottery tickets; wherein, the split drag bet lottery tickets are lottery tickets obtained by splitting the third betting lottery into single bet lottery tickets based on the lottery rules; Determine the drag bet lottery amount based on the number of second single bets and the second betting amount per bet in the split drag bet lottery tickets.
4. The method for parallel lottery prize calculation according to claim 1, characterized in that, The conduct of parallel award counting based on the parallel betting lottery details to obtain the lottery parallel award counting result includes: Slice the parallel betting lottery details to obtain a set of lottery detail slice results; wherein, the set of lottery detail slice results includes at least two lottery detail slice results; Conduct award counting for each of the lottery detail slice results to obtain the corresponding slice award counting results for each of the lottery detail slice results; Summarize all the slice award counting results to determine the lottery parallel award counting result.
5. The method for parallel lottery prize calculation according to claim 4, characterized in that, For any of the lottery segment results, the prizes for the lottery segment results are calculated to obtain the segment prize calculation results corresponding to each lottery segment result, including: Obtain winning information; wherein, the winning information includes the winning number and the winning conditions; Based on the winning numbers, iterate through each lottery ticket in the lottery breakdown results to determine the winning outcome; The segmented prize calculation results are determined based on the winning conditions and the winning results.
6. The method for parallel lottery prize calculation according to any one of claims 1-5, characterized in that, After performing parallel prize calculation based on the parallel betting lottery details to obtain the parallel lottery prize calculation result, the method further includes: Obtain the bonus calculation results from the Accounting and Incentive Program; If the results of the parallel lottery prize calculation and the results of the main prize calculation program are consistent, the prize calculation is deemed successful. If the parallel lottery prize calculation results and the main prize calculation program prize calculation results are inconsistent, an alarm log is generated; wherein, the alarm log is used to remind the prize calculation personnel that the parallel lottery prize calculation results and the main prize calculation program prize calculation results are inconsistent.
7. A device for parallel lottery prize calculation, characterized in that, include: The details acquisition module is used to acquire the ticket sales details for the lottery prize period when the lottery prize period status of the candidate lottery is "sales suspended"; wherein, the ticket sales details for the prize period include the betting methods of the candidate lottery, and the betting methods include single betting, multiple betting, and combination betting. The lottery determination module is used to determine the candidate lottery in the prize period ticket sales details that has the single bet method as the first bet lottery, and to determine the first bet lottery details corresponding to the first bet lottery; to determine the candidate lottery in the prize period ticket sales details that has the multiple bet method as the second bet lottery, and to determine the second bet lottery details corresponding to the second bet lottery; and to determine the candidate lottery in the prize period ticket sales details that has the combination bet method as the third bet lottery, and to determine the third bet lottery details corresponding to the third bet lottery. The detail determination module is used to determine the parallel betting lottery details based on the first betting lottery details, the second betting lottery details, and the third betting lottery details; The parallel prize calculation module is used to perform parallel prize calculation based on the parallel betting lottery details when the lottery prize period status of the candidate lottery is "started" to obtain the parallel lottery prize calculation result.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the parallel lottery prize calculation method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the parallel lottery prize calculation method as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the parallel lottery prize calculation method as described in any one of claims 1 to 6.