CN112801713A - Anti-cheating lottery drawing method and device for online general lottery drawing activity - Google Patents
Anti-cheating lottery drawing method and device for online general lottery drawing activity Download PDFInfo
- Publication number
- CN112801713A CN112801713A CN202110187119.4A CN202110187119A CN112801713A CN 112801713 A CN112801713 A CN 112801713A CN 202110187119 A CN202110187119 A CN 202110187119A CN 112801713 A CN112801713 A CN 112801713A
- Authority
- CN
- China
- Prior art keywords
- lottery
- random number
- service provider
- application system
- provider application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 79
- 230000000694 effects Effects 0.000 title claims abstract description 30
- 230000008569 process Effects 0.000 claims abstract description 54
- 230000001364 causal effect Effects 0.000 claims abstract description 8
- 230000007246 mechanism Effects 0.000 claims abstract description 5
- 238000012550 audit Methods 0.000 claims description 27
- 230000003203 everyday effect Effects 0.000 claims description 12
- 230000000737 periodic effect Effects 0.000 claims description 9
- 230000008520 organization Effects 0.000 claims description 5
- 238000013475 authorization Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/52—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
- G06F21/54—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by adding security routines or objects to programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/58—Random or pseudo-random number generators
- G06F7/582—Pseudo-random number generators
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C15/00—Generating random numbers; Lottery apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Computer Hardware Design (AREA)
- Economics (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an anti-cheating lottery drawing method and device for online general lottery drawing activities, which belong to the field of business support systems, and the technical problem to be solved by the invention is how to realize backtracking and auditability of the lottery drawing activities, effectively discriminate whether lottery drawing data is falsified, make the lottery drawing process random, transparent and self-certified, and improve the confidence of customers, and the adopted technical scheme is as follows: the method comprises the following specific steps: the two key factors of the lottery algorithm and the random seed generation in the lottery process are split, and the random seed generation is transferred to a credible independent third-party mechanism; the third-party lottery algorithm filing is realized through the auditing system, the lottery process is replayed by the auditing system, the causal relationship between the seeds and the results is verified, the association relationship between the lottery transaction and the random number is restricted, and the aim of shielding various internal and external cheating risks is fulfilled.
Description
Technical Field
The invention relates to the field of business support systems, in particular to an anti-cheating lottery method and device for online general lottery activities.
Background
Random numbers are a statistical concept and are the result of random trials. There are many different ways to generate random numbers, which are referred to as random number generators. The random number generator is a device for generating random numbers by using physical phenomena, such as extracting random numbers by methods of thermal noise, electrical noise, single photon counting of a discrete quantum source, and the like; the random number can also be generated by using a computer algorithm, a random seed is required to be input into the random algorithm, and the random number is obtained through a determined algorithm.
In a conventional lottery process, as shown in fig. 1, the whole lottery process is completely implemented and controlled by the server application system, including the lottery algorithm and the generation of random number seeds related to business rules, there may be the following cheating methods (or risks):
firstly, generating through a lottery algorithm, and directly writing a lottery result;
secondly, through a lottery drawing algorithm, whether a random number is used for generating a lottery drawing result cannot be determined;
thirdly, if the supplier is required to store random numbers used by the lottery for auditing, but cannot determine that a plurality of random numbers are obtained for obtaining a desired lottery result in one lottery for selecting the desired lottery result; it is also possible to look for a random number that can generate a target lottery result in advance, and to use the random number directly at the time of access by a designated user.
Analyzing the above problems, it can be found that the traditional scheme causes the design of the vulnerability:
firstly, the generation of two key factors, namely a lottery algorithm and a random number seed, is realized and controlled by the application of a service provider application system, and the version cannot be controlled;
secondly, seeds are generated by adopting a random function of a development framework, and no trace can be left in the process of calling the function;
and thirdly, the number of seeds used in one lottery drawing process cannot be limited, a desired result can be obtained by obtaining the seeds for multiple times, and the significance of the seeds is lost.
Therefore, the common lottery drawing scheme only draws out lottery items meeting the requirements according to business requirements, cannot judge whether the lottery drawing result is subjected to human intervention, and cannot backtrack and audit the lottery drawing process. Therefore, how to realize backtracking and auditability of lottery activities and effectively discriminate whether lottery data is falsified, so that the lottery process is random, transparent and self-testable, and the improvement of the client confidence is a problem to be solved urgently at present.
Disclosure of Invention
The technical task of the invention is to provide an anti-cheating lottery drawing method and device for an online general lottery drawing activity, so as to solve the problems of realizing backtracking and auditing of the lottery drawing activity, effectively discriminating whether lottery drawing data is falsified, enabling the lottery drawing process to be random, transparent and self-certified and improving the confidence of customers.
The technical task of the invention is realized in the following way, and the cheating-prevention lottery method for the online general lottery activity comprises the following steps:
the two key factors of the lottery algorithm and the random seed generation in the lottery process are split, and the random seed generation is transferred to a credible independent third-party mechanism;
the third-party lottery algorithm filing is realized through the auditing system, the lottery process is replayed by the auditing system, the causal relationship between the seeds and the results is verified, the association relationship between the lottery transaction and the random number is restricted, and the aim of shielding various internal and external cheating risks is fulfilled.
Preferably, the lottery process is as follows:
setting unified and independent random number generation service equipment, and hiring a trusted independent third-party organization by a first-party client for management;
the random number generation service equipment is opened to a service provider application system in an API interface form, and after the service provider application system is authenticated and authorized, the random number generation service equipment is accessed;
when the service provider application system calls the API interface each time, the serial number of the lottery drawing task and the user ID are transmitted;
the service provider application system calls an API interface and judges whether a return message is received:
if not, retransmitting the same lottery drawing task serial number;
the API interface judges whether the request is a retransmission request:
if the request is retransmitted, the content is returned once before, and the random number seeds are not produced newly.
Preferably, the API is used for recording lottery drawing information into a warehouse, and the lottery drawing information is used for a return visit lottery drawing process during auditing; the lottery drawing information comprises a lottery drawing task serial number, a user ID and a returned random number seed.
More preferably, the random number generation service device includes a random number generator.
Preferably, the process of replaying the lottery with the auditing system is as follows:
the service provider application system submits the lottery algorithm program package for recording to generate a recording program package, if necessary, a source code is provided at the same time, and the recording program package is used for examining, timing and replaying the lottery process;
the service provider application system provides periodic lottery drawing record data to the auditing system at a fixed frequency;
the auditing system calls the random number in the period from a third-party random seed generator every day to obtain a record, calculates a lottery drawing result by using a record package, and compares the lottery drawing result with a serial number record in the lottery drawing record provided by a service provider application system:
if the audit is consistent, the audit is passed;
if not, triggering an alarm;
the auditing system judges whether the total number of the seeds extracted by the service provider application system in the period is consistent with the lottery drawing record number of the service provider application system:
if the audit is consistent, the audit is passed;
and if the two are not consistent, triggering an alarm.
More preferably, the fixed frequency is from every half hour to every day.
Preferably, the lottery record data includes a lottery task serial number, a user ID (which may be obfuscated), additional parameters (which may be null), and lottery results.
An anti-cheating lottery device for an on-line prosperous lottery activity, which is characterized by comprising,
the random number generation service equipment is used for producing random number seeds in the lottery drawing process and opening the random number seeds to a service provider application system in an API (application programming interface) form; the API interface is used for recording lottery drawing information into a warehouse, and the lottery drawing information is used for a return visit lottery drawing process during auditing; the lottery drawing information comprises a lottery drawing task serial number, a user ID and a returned random number seed;
the service provider application system is used for accessing the random number generation service equipment, submitting the lottery algorithm program package to the auditing system for filing, ensuring the completion of the auditing process and providing periodic lottery record data to the auditing system at a fixed frequency;
and the auditing system is used for filing the third-party lottery algorithm record, replaying the lottery process, verifying the causal relationship between the seeds and the result and restricting the 1:1 association relationship between lottery transaction and random number generation, and achieving the aim of shielding various internal and external cheating risks.
Preferably, the service provider application system works as follows:
(1) setting random number generation service equipment, and managing by a party A client engaging a trusted independent third-party organization;
(2) the random number generation service equipment is opened to a service provider application system in an API interface form, and the service provider application system accesses the random number generation service equipment after authentication and authorization;
(3) when the service provider application system calls and acquires the API interface each time, the serial number of the lottery drawing task and the user ID are transmitted;
(4) and the service provider application system calls an API (application program interface) and judges whether a return message is received:
if not, retransmitting the same lottery drawing task serial number;
(5) the API interface judges whether the request is a retransmission request:
if the request is retransmitted, returning the content once before, and not producing the random number seeds again;
the auditing system comprises the following working processes:
(1) the service provider application system submits the lottery algorithm program package for recording to generate a recording program package, and the recording program package is used for examining, timing and replaying the lottery process;
(2) the service provider application system provides periodic lottery drawing record data to the auditing system at a fixed frequency; wherein, the fixed frequency is from every half hour to every day; the lottery record data includes a lottery task serial number, a user ID (which may be confused), an additional parameter (which may be null), and a lottery result;
(3) and the auditing system calls the random number in the period from the third-party random seed generator every day to obtain a record, calculates a lottery result by using a record package, and compares the lottery result with the same serial number record in the lottery record provided by the service provider application system:
if the audit is consistent, the audit is passed;
if not, triggering an alarm;
(4) and the auditing system judges whether the total number of the seeds extracted by the service provider application system in the period is consistent with the lottery drawing record number of the service provider application system:
if the audit is consistent, the audit is passed;
and secondly, if the two are inconsistent, triggering an alarm.
A computer readable storage medium having stored thereon computer executable instructions which, when executed by a processor, implement an anti-cheating lottery method for an online boomerang lottery activity as described above.
The cheat-proof lottery drawing method and the cheat-proof lottery drawing device for the online general lottery drawing activity have the following advantages that:
the invention divides key factors of lottery process, transfers random seed generation work to credible independent third party service, the service provider only reserves definite pseudo-random algorithm, and realizes third party lottery algorithm record, replay of causal relationship between lottery process verification seed and result, restriction lottery affair and 1:1, associating and the like to achieve the aim of shielding various internal and external cheating risks;
the invention uses the random number generation service managed by the independent third party, which is equivalent to a black box for objectively recording the random lottery process, and can improve the data security and independence through measures such as security reinforcement, access authorization and the like. The auditing system records in advance through an algorithm, calls historical data in a 'black box' to carry out lottery drawing process playback and a series of operations such as comparison with business data, and can find various illegal tampering behaviors;
thirdly, the invention prevents or audits and discovers the internal and external cheating means which may occur in the lottery drawing process afterwards, so that the lottery drawing process is random, transparent and self-testable, the platform operation risk is reduced, and the client confidence is improved;
when the intelligent business society App service platform is operated, a large number of popular service lottery activities need to be supported, algorithms of the lottery activities are provided by various service providers, and objective, fair and open of various lottery activities need to be ensured as a platform operator for improving the credibility and the reputation of the platform; the invention provides a retrospective and auditable lottery drawing algorithm implementation method, which can effectively discriminate lottery drawing data tampering and discover internal and external lottery drawing cheating; the method can generate a complete evidence chain which is open to internal and external auditing departments, and fundamentally solves the trust problem of lottery drawing.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of a conventional lottery process in the background art;
FIG. 2 is a schematic diagram of a lottery process of the present invention;
FIG. 3 is a schematic diagram of an auditing process according to the present invention.
Detailed Description
The cheat-preventing lottery method and apparatus for an online general lottery activity of the present invention will be described in detail below with reference to the drawings and the detailed description of the present invention.
Example 1:
the invention discloses an anti-cheating lottery drawing method for an online general lottery drawing activity, which comprises the following steps:
s1, splitting the lottery algorithm and the random seed generation key factors in the lottery process, and transferring the random seed generation to a credible independent third party mechanism;
s2, the auditing system is used to file the third party lottery algorithm, and the auditing system is used to replay the lottery process, verify the causal relationship between the seed and the result, and constrain the association between the lottery transaction and the random number generation, so as to shield various internal and external cheating risks.
As shown in fig. 2, the lottery process of step S1 in this embodiment is as follows:
s101, random number generation service equipment is arranged, and a first party client engages a trusted independent third party mechanism for management; the random number generation service apparatus includes a random number generator.
S102, the random number generation service equipment is opened to a service provider application system through an API interface form, and after the service provider application system is authenticated and authorized, the random number generation service equipment is accessed; the API is used for recording lottery drawing information into a warehouse, and the lottery drawing information is used for a return visit lottery drawing process during examination; the lottery drawing information comprises a lottery drawing task serial number, a user ID and a returned random number seed.
S103, when the service provider application system calls and acquires the API interface each time, the serial number of the lottery drawing task and the user ID are transmitted;
s104, calling an API (application program interface) by the service provider application system and judging whether a return message is received:
if not, retransmitting the same lottery drawing task serial number;
s105, the API judges whether the request is a retransmission request:
if the request is retransmitted, the content is returned once before, and the random number seeds are not produced newly.
As shown in fig. 3, the lottery process played back by the auditing system in step S2 in this embodiment is as follows:
s201, a service provider application system submits a lottery algorithm program package for recording to generate a recording program package, if necessary, source codes are provided at the same time, and the recording program package is used for examining, timing and replaying a lottery process;
s202, the service provider application system provides periodic lottery drawing record data to the auditing system at a fixed frequency; wherein, the fixed frequency is from every half hour to every day. The lottery record data includes a lottery task serial number, a user ID (which may be confusable), additional parameters (which may be null), and lottery results.
S203, the auditing system calls the random number in the period from the third-party random seed generator every day to obtain a record, calculates the lottery result by using a record package, and compares the lottery result with the same serial number record in the lottery record provided by the service provider application system:
if the audit is consistent, the audit is passed;
if not, triggering an alarm;
s204, the auditing system judges whether the total number of the seeds extracted by the service provider application system in the period is consistent with the lottery drawing record number of the service provider application system:
if the audit is consistent, the audit is passed;
and secondly, if the two are inconsistent, triggering an alarm.
Example 2:
the invention relates to an anti-cheating lottery drawing device for online general lottery drawing activities, which is characterized in that the device comprises,
the random number generation service equipment is used for producing random number seeds in the lottery drawing process and opening the random number seeds to a service provider application system in an API (application programming interface) form; the API interface is used for recording lottery drawing information into a warehouse, and the lottery drawing information is used for a return visit lottery drawing process during auditing; the lottery drawing information comprises a lottery drawing task serial number, a user ID and a returned random number seed;
the service provider application system is used for accessing the random number generation service equipment, submitting the lottery algorithm program package to the auditing system for filing, ensuring the completion of the auditing process and providing periodic lottery record data to the auditing system at a fixed frequency;
and the auditing system is used for filing the third-party lottery algorithm record, replaying the lottery process, verifying the causal relationship between the seeds and the result and restricting the 1:1 association relationship between lottery transaction and random number generation, and achieving the aim of shielding various internal and external cheating risks.
The service provider application system in this embodiment operates as follows:
(1) setting random number generation service equipment, and managing by a party A client engaging a trusted independent third-party organization;
(2) the random number generation service equipment is opened to a service provider application system in an API interface form, and the service provider application system accesses the random number generation service equipment after authentication and authorization;
(3) when the service provider application system calls and acquires the API interface each time, the serial number of the lottery drawing task and the user ID are transmitted;
(4) and the service provider application system calls an API (application program interface) and judges whether a return message is received:
if not, retransmitting the same lottery drawing task serial number;
(5) the API interface judges whether the request is a retransmission request:
if the request is retransmitted, returning the content once before, and not producing the random number seeds again;
the auditing system in this embodiment operates as follows:
(1) the service provider application system submits the lottery algorithm program package for recording to generate a recording program package, and the recording program package is used for examining, timing and replaying the lottery process;
(2) the service provider application system provides periodic lottery drawing record data to the auditing system at a fixed frequency; wherein, the fixed frequency is from every half hour to every day; the lottery record data includes a lottery task serial number, a user ID (which may be confused), an additional parameter (which may be null), and a lottery result;
(3) and the auditing system calls the random number in the period from the third-party random seed generator every day to obtain a record, calculates a lottery result by using a record package, and compares the lottery result with the same serial number record in the lottery record provided by the service provider application system:
if the audit is consistent, the audit is passed;
if not, triggering an alarm;
(4) and the auditing system judges whether the total number of the seeds extracted by the service provider application system in the period is consistent with the lottery drawing record number of the service provider application system:
if the audit is consistent, the audit is passed;
and secondly, if the two are inconsistent, triggering an alarm.
Example 3:
embodiments of the present invention also provide a computer-readable storage medium having stored thereon a plurality of instructions, which are loadable by a processor, causing the processor to execute an anti-cheating lottery method for an online promotional lottery activity according to any of the embodiments of the present invention. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-R cheating-preventive lottery method and apparatus for online general lottery activity M, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. An anti-cheating lottery method for an online boomerang lottery activity is characterized by comprising the following steps:
the two key factors of the lottery algorithm and the random seed generation in the lottery process are split, and the random seed generation is transferred to a credible independent third-party mechanism;
the third-party lottery algorithm filing is realized through the auditing system, the lottery process is replayed by the auditing system, the causal relationship between the seeds and the results is verified, the association relationship between the lottery transaction and the random number is restricted, and the aim of shielding various internal and external cheating risks is fulfilled.
2. The anti-cheating lottery method of an online boomerang lottery activity as claimed in claim 1, wherein the lottery process is specifically as follows:
setting random number generation service equipment, and managing by hiring a trusted independent third-party organization by a first-party client;
the random number generation service equipment is opened to a service provider application system in an API interface form, and after the service provider application system is authenticated and authorized, the random number generation service equipment is accessed;
when the service provider application system calls the API interface each time, the serial number of the lottery drawing task and the user ID are transmitted;
the service provider application system calls an API interface and judges whether a return message is received:
if not, retransmitting the same lottery drawing task serial number;
the API interface judges whether the request is a retransmission request:
if the request is retransmitted, the content is returned once before, and the random number seeds are not produced newly.
3. The anti-cheating lottery method of an online boomerang lottery activity as recited in claim 2, wherein the API interface is used to record lottery information into a library, the lottery information being used in an audit review revisit lottery process; the lottery drawing information comprises a lottery drawing task serial number, a user ID and a returned random number seed.
4. The anti-cheat lottery method of an online boomerang lottery activity according to claim 2 or 3, wherein the random number generation service device comprises a random number generator.
5. The anti-cheating lottery method of an online boomerang lottery activity as recited in claim 1, wherein the replay lottery process with the auditing system is as follows:
the service provider application system submits the lottery algorithm program package for recording to generate a recording program package, and the recording program package is used for examining, timing and replaying the lottery process;
the service provider application system provides periodic lottery drawing record data to the auditing system at a fixed frequency;
the auditing system calls the random number in the period from a third-party random seed generator every day to obtain a record, calculates a lottery drawing result by using a record package, and compares the lottery drawing result with a serial number record in the lottery drawing record provided by a service provider application system:
if the audit is consistent, the audit is passed;
if not, triggering an alarm;
the auditing system judges whether the total number of the seeds extracted by the service provider application system in the period is consistent with the lottery drawing record number of the service provider application system:
if the audit is consistent, the audit is passed;
and if the two are not consistent, triggering an alarm.
6. The anti-cheating lottery method of an online boomerang lottery activity as recited in claim 5, wherein the fixed frequency is every half hour to every day.
7. The anti-cheating lottery method of an online boomerang lottery activity according to claim 5 or 6, wherein the lottery record data includes a lottery task serial number, a user ID, additional parameters, and a lottery result.
8. An anti-cheating lottery device for an on-line prosperous lottery activity, which is characterized by comprising,
the random number generation service equipment is used for producing random number seeds in the lottery drawing process and opening the random number seeds to a service provider application system in an API (application programming interface) form; the API interface is used for recording lottery drawing information into a warehouse, and the lottery drawing information is used for a return visit lottery drawing process during auditing; the lottery drawing information comprises a lottery drawing task serial number, a user ID and a returned random number seed;
the service provider application system is used for accessing the random number generation service equipment, submitting the lottery algorithm program package to the auditing system for filing, ensuring the completion of the auditing process and providing periodic lottery record data to the auditing system at a fixed frequency;
and the auditing system is used for filing the third-party lottery algorithm record, replaying the lottery process, verifying the causal relationship between the seeds and the result and restricting the 1:1 association relationship between lottery transaction and random number generation, and achieving the aim of shielding various internal and external cheating risks.
9. An anti-cheating lottery device for an online boomerang lottery activity as recited in claim 8, wherein the facilitator application system operates as follows:
(1) setting random number generation service equipment, and managing by a party A client engaging a trusted independent third-party organization;
(2) the random number generation service equipment is opened to a service provider application system in an API interface form, and the service provider application system accesses the random number generation service equipment after authentication and authorization;
(3) when the service provider application system calls and acquires the API interface each time, the serial number of the lottery drawing task and the user ID are transmitted;
(4) and the service provider application system calls an API (application program interface) and judges whether a return message is received:
if not, retransmitting the same lottery drawing task serial number;
(5) the API interface judges whether the request is a retransmission request:
if the request is retransmitted, returning the content once before, and not producing the random number seeds again;
the auditing system comprises the following working processes:
(1) the service provider application system submits the lottery algorithm program package for recording to generate a recording program package, and the recording program package is used for examining, timing and replaying the lottery process;
(2) the service provider application system provides periodic lottery drawing record data to the auditing system at a fixed frequency; wherein, the fixed frequency is from every half hour to every day; the lottery drawing record data comprises a lottery drawing task serial number, a user ID, additional parameters and lottery drawing results;
(3) and the auditing system calls the random number in the period from the third-party random seed generator every day to obtain a record, calculates a lottery result by using a record package, and compares the lottery result with the same serial number record in the lottery record provided by the service provider application system:
if the audit is consistent, the audit is passed;
if not, triggering an alarm;
(4) and the auditing system judges whether the total number of the seeds extracted by the service provider application system in the period is consistent with the lottery drawing record number of the service provider application system:
if the audit is consistent, the audit is passed;
and secondly, if the two are inconsistent, triggering an alarm.
10. A computer-readable storage medium having computer-executable instructions stored thereon that, when executed by a processor, implement an anti-cheating lottery method of an online boomerang lottery activity as recited in claims 1 through 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110187119.4A CN112801713A (en) | 2021-02-18 | 2021-02-18 | Anti-cheating lottery drawing method and device for online general lottery drawing activity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110187119.4A CN112801713A (en) | 2021-02-18 | 2021-02-18 | Anti-cheating lottery drawing method and device for online general lottery drawing activity |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112801713A true CN112801713A (en) | 2021-05-14 |
Family
ID=75815233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110187119.4A Pending CN112801713A (en) | 2021-02-18 | 2021-02-18 | Anti-cheating lottery drawing method and device for online general lottery drawing activity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112801713A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030060466A (en) * | 2002-01-09 | 2003-07-16 | 소프트포럼 주식회사 | method for managing cyber-lottery service |
CN109741513A (en) * | 2018-12-20 | 2019-05-10 | 太原理工大学 | A kind of winners' announcement in lottery method based on block chain technology |
CN109767271A (en) * | 2019-01-18 | 2019-05-17 | 众安信息技术服务有限公司 | Lottery drawing method and equipment based on block chain |
CN111429643A (en) * | 2020-03-18 | 2020-07-17 | 南京巨公科技有限公司 | Method and device for shaking numbers and storage medium |
CN112346709A (en) * | 2020-11-11 | 2021-02-09 | 湖南智慧政务区块链科技有限公司 | House selection sequence number generation system and method based on verifiable random number |
-
2021
- 2021-02-18 CN CN202110187119.4A patent/CN112801713A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030060466A (en) * | 2002-01-09 | 2003-07-16 | 소프트포럼 주식회사 | method for managing cyber-lottery service |
CN109741513A (en) * | 2018-12-20 | 2019-05-10 | 太原理工大学 | A kind of winners' announcement in lottery method based on block chain technology |
CN109767271A (en) * | 2019-01-18 | 2019-05-17 | 众安信息技术服务有限公司 | Lottery drawing method and equipment based on block chain |
CN111429643A (en) * | 2020-03-18 | 2020-07-17 | 南京巨公科技有限公司 | Method and device for shaking numbers and storage medium |
CN112346709A (en) * | 2020-11-11 | 2021-02-09 | 湖南智慧政务区块链科技有限公司 | House selection sequence number generation system and method based on verifiable random number |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109450910B (en) | Data sharing method based on block chain, data sharing network and electronic equipment | |
US10002152B2 (en) | Client computer for updating a database stored on a server via a network | |
CN110263585A (en) | Test monitoring and managing method, device, equipment and storage medium | |
TW201733304A (en) | Agent-based Turing complete transactions integrating feedback within a blockchain system | |
CN113495920B (en) | Content auditing system, method and device based on blockchain and storage medium | |
CN101827101A (en) | Information asset protection method based on credible isolated operating environment | |
CN110932859A (en) | User information processing method, device and equipment and readable storage medium | |
CN109254734A (en) | A kind of date storage method, device, equipment and computer readable storage medium | |
CN109309645A (en) | A kind of software distribution security guard method | |
CN109842616A (en) | Account binding method, device and server | |
CN106408069B (en) | User data write-in and read method and the system of EPC card | |
Yahya | A security framework to protect data in cloud storage | |
CN112801713A (en) | Anti-cheating lottery drawing method and device for online general lottery drawing activity | |
Mumtaz et al. | PDIS: A Service Layer for Privacy and Detecting Intrusions in Cloud Computing. | |
CN115514470A (en) | Storage method and system for community correction data security | |
Saveetha et al. | A decentralized blockchain based system for secure health record and claims processing | |
Усатова et al. | DEVELOPMENT OF A SYSTEM FOR LOGGING USER ACTIONS IN A HEALTH INFORMATION SYSTEM | |
Karlzén | An Analysis of Security Information and Event Management Systems-The Use or SIEMs for Log Collection, Management and Analysis | |
CN116186718B (en) | Reinforcing test method based on kernel protection server data | |
CN115941199B (en) | Identity information verification method, apparatus, device, storage medium and program product | |
CN117494163B (en) | Data service method and device based on security rules | |
EP4325386A1 (en) | Imaging device configuration verification | |
Anju et al. | Publicly verifiable vibrant digital medical information systems | |
Flores Armas | Theory and practice of proactive database forensics | |
CN115587384A (en) | Sensitive information processing method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210514 |