CN110647311A - Uncontrollable random number generation method and system - Google Patents

Uncontrollable random number generation method and system Download PDF

Info

Publication number
CN110647311A
CN110647311A CN201810682387.1A CN201810682387A CN110647311A CN 110647311 A CN110647311 A CN 110647311A CN 201810682387 A CN201810682387 A CN 201810682387A CN 110647311 A CN110647311 A CN 110647311A
Authority
CN
China
Prior art keywords
data
module
random number
transaction
block chain
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
Application number
CN201810682387.1A
Other languages
Chinese (zh)
Inventor
杨税令
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Benchainless Technology (Shenzhen) Co.,Ltd.
Original Assignee
Xiamen Instinct Blockchain Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xiamen Instinct Blockchain Technology Co ltd filed Critical Xiamen Instinct Blockchain Technology Co ltd
Priority to CN201810682387.1A priority Critical patent/CN110647311A/en
Publication of CN110647311A publication Critical patent/CN110647311A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/58Random or pseudo-random number generators
    • G06F7/588Random number generators, i.e. based on natural stochastic processes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Mathematical Optimization (AREA)
  • General Engineering & Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an uncontrollable random number generating method, which comprises the specific steps of data acquisition, data processing, random number generation and data verification, and provides four application scenes of guessing a screen game, lottery drawing, lucky audience drawing and license plate number drawing for the method.

Description

Uncontrollable random number generation method and system
Technical Field
The invention relates to the technical field of block chains, in particular to an uncontrollable random number generation method and an uncontrollable random number generation system.
Background
Randomness is one of the basic requirements of the world becoming rich and colorful, is the main source of vitality in industries such as games, lotteries and the like, is the root of life as a random number generator for simulating randomness, and once the randomness of a game is mastered, the game fairness is lost, and the game becomes a sign of death. For example, in the lottery industry, the lottery drawing link after the lottery sales is theoretically random, but the hidden boxes with infinite numbers for controlling the explosion of news deeply doubts people about the randomness of the news and cannot prove that the lottery drawing is truly random as a lottery issuing organization; the same is true for the gaming industry, whether an masterpiece appears, is directionally assigned, or is truly randomly generated, without knowing that there may be less and less trust over time in whether true random is ever present for players who never hit the masterpiece, and that true random is not trusted by the producer of the game, since even if true random there is a probability that some people never reach the masterpiece. How to design a true random number generator, which can not be operated by the user and can not be cleared by the issuer, becomes an urgent problem to be solved.
Disclosure of Invention
The present invention is directed to a method for generating an unmanageable random number based on the non-tamper property of a blockchain. The method comprises the following steps:
(1) data acquisition: the participator inputs the number with specific meaning selected by the participator through the participator data management module, the transaction management module converts the related number into the blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) data processing: after all participants finish digital input, a block forging module types block chain transactions converted by all the participants into a block, a participation data management module finds out the block chain transactions containing the digital information, namely the block where the block chain transactions are located, then, a random number algorithm module combines complete data and block head data of all the transactions together to form data, and an encryption algorithm is executed to extract a data abstract;
(3) random number generation: extracting corresponding digits of the abstract character strings in the step (2) through a random number algorithm module according to specific requirements of an application scene, converting the extracted corresponding digits into a specific digit system, and generating a random number related to all participating data through the random number algorithm module according to the specific random algorithm based on the participating data according to the specific requirements of the application scene, wherein the random algorithm is characterized in that a participating non-directional control calculation result is input, namely any input change is unpredictable;
(4) data verification: and verifying the correctness of a random number through a random data verification module, and verifying the authenticity of the generated random number by other participants, and finally, selecting the number in the application scene.
Further, the specific application scene is a screen guessing game, and the steps are as follows:
(1) data acquisition: the participator selects own guessed number through the participatory data management module, wherein the guessed number comprises a number, a guessed round, a bet amount and a guessed commission charge, the transaction management module converts the related number into a blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) data processing: the block chain checks whether the balance of the accounts of the participants is sufficient through the account management module, after all the participants finish digital input, the block forging module types the block chain transaction converted by all the participants into a block, the participation data management module finds out the block chain transaction containing the guess digital information, namely the block where the block chain transaction is located, then, the random number algorithm module merges the complete data and the block head data of all the transactions together into data, and executes an encryption algorithm to extract a data abstract;
(3) random number generation: extracting the last 1 digit of the data abstract character string through a random number arithmetic module, converting the last digit into a six-digit system, converting the six-digit system into a character string through a random number arithmetic module, extracting the last digit of the character string, converting the character string into a decimal system, and adding one to the converted decimal number to obtain a final sieve number;
(4) data verification: and the block chain compares which one of the guessed digital transactions is guessed through the random number verification module, and finally completes a round of guessing screens.
Further, the specific application scenario is lottery drawing, and the steps specifically include:
(1) data acquisition: the participator selects the predicted winning number by himself through the participation data management module, the winning number comprises 7 digits, lottery option number and bet amount, the transaction management module converts the related digits into block chain transaction, and the participator signs the block chain transaction through the transaction management module;
(2) data processing: the block chain checks whether the balance of the accounts of the participants is sufficient through the account management module, the block forging module types all block chain transactions for purchasing lottery tickets into blocks when the lottery drawing time is up, the participation data management module finds out all block chain transactions containing the purchased lottery tickets, namely the located blocks, then the random number algorithm module combines the complete data and the block head data of all the transactions together into data, and executes an encryption algorithm to extract a data abstract;
(3) random number generation: extracting the last 14 digits of the abstract character string through a random number calculation module, converting the thirty-binary number into a character string, extracting the last 14 digits of the character string, converting each two-digit character string into a decimal number, and adding one to each converted decimal number to obtain the final 7 lottery numbers;
(4) data verification: the block chain compares which transaction in the lottery transaction guesses through the random number verification module, the account management module gives account of the amount in the transaction of the number which is not guessed as the bonus according to the number guessed by the guesser, the bonus is distributed, the transaction of the fund distribution is recorded on the block chain through the block forging module, and finally a round of lottery sale and lottery drawing are completed.
Further, the specific application scenario is to extract lucky audiences, and the steps are specifically as follows:
(1) data acquisition: the participator submits own mobile phone number or seat number to participate in lottery through the participation data management module, wherein the mobile phone number or seat number and the lottery period number are included, the transaction management module converts related numbers into blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) data processing: after block chain transactions of all participants are typed into blocks through a block forging module, the participation data management module finds out all block chain transactions containing lottery, namely located blocks, the random number algorithm module merges complete data and block head data of all the transactions together to form data, and an encryption algorithm is executed to extract a data abstract;
(3) random number generation: extracting the last 4 digits of the abstract character string through a random number calculation module, converting the last 4 digits into a decimal number, converting the decimal number into the character string, dividing the decimal number by the total number of participating personnel to obtain a remainder, and taking the remainder as a winning sequence number;
(4) data verification: and extracting the block chain transaction corresponding to the serial number through a random number calculation module, finally obtaining the mobile phone number or the seat number of the transaction, obtaining the lucky audience through a random number verification module, and finally finishing a round of lucky audience extraction.
Further, the specific application scenario is to extract the license plate number, and the steps are as follows:
(1) data acquisition: the participator submits own number selection application including number selection type and the like through the participatory data management module, the transaction management module converts the related number into blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) after block chain transactions of all participants are punched into blocks through a block forging module, a participation data management module finds out all block chain transactions containing applications, namely the blocks where the block chain transactions are located, a random number calculation module sequentially merges HASH data of each person applying for transactions and HASH data of the blocks where the block chain transactions are located into data, and the data are sequentially encrypted to extract a data abstract;
(3) random number generation: the random number algorithm module sequentially extracts the last 20 digits of the data summary character string, converts the last 20 digits into thirty-six digits, converts the thirty-six digits into a character string, intercepts the last five-digit character string of the character string, further checks whether the character string is occupied, if the character string is used, the number selection fails, and if the character string is not occupied, the number selection succeeds;
(4) data verification: and the random number verification module calculates and verifies in sequence to obtain the numbers of all the applicants, and finally completes the extraction of a batch of license plate numbers.
The invention also provides an uncontrollable random number generating system, which comprises a data acquisition module, a data processing module, a random number generating module and a data verification module, wherein:
the data acquisition module is used for recording a number which is selected by a participant through the participation data management module and has a specific meaning, the transaction management module converts the related number into a blockchain transaction, and the participant signs the blockchain transaction through the transaction management module;
the work flow of the data processing module is that after all participants finish digital input, a block forging module punches block chain transactions converted by all the participants into a block, a participating data management module finds out the block chain transactions containing the digital information, namely the block where the block chain transactions are located, then, a random number algorithm module merges complete data and block head data of all the transactions together into data, and an encryption algorithm is executed to extract a data abstract;
the working process of the random number generation module is that according to the specific requirements of an application scene, a random number algorithm module extracts the corresponding digit of the abstract character string, converts the extracted corresponding digit into a specific digit system, and then according to the specific requirements of the application scene, the random number algorithm module generates a random number related to all the participated data according to a specific random algorithm based on the participated data, wherein the random algorithm is characterized in that the calculation result of the participated non-directional control is input, namely the change of any input is unpredictable;
the work flow of the data verification module is that the correctness of a random number is verified through the random data verification module, and the random number is used for verifying the authenticity of the generated random number by other participants and finally selecting a number in the application scene.
The method has the advantages of realizing the function of generating verifiable random numbers related to participants and solving the problem of cheating of the random numbers.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention;
FIG. 2 is a schematic diagram of the system of the present invention;
FIG. 3 is a schematic flow chart of example 1 of the present invention;
FIG. 4 is a schematic flow chart of example 2 of the present invention;
FIG. 5 is a schematic flow chart of example 3 of the present invention;
FIG. 6 is a schematic flow chart of embodiment 4 of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples. It should be noted that the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Fig. 1 discloses a general flow of the present invention, in which a random number generator is based on the non-falsifiable characteristic of a block chain, and a core design idea that a participant is a producer is used to solve the strong correlation between a random number and the participant, and a special random number generation algorithm is used to keep the random number consistent during repeated generation, thereby not only realizing the change of the random number along with the change of the participant, but also not allowing the participant to control the generation of the random number, and also repeatedly verifying the correctness of the random number among all participants, and reliably generating a trusted random number among all participants.
The random number generator mainly comprises three core modules, a data management module, a random number calculation method module and a random number verification module. The participation data management module is mainly used for collecting, storing and sorting data about to participate in random number calculation, the data may include account data of participants, business data submitted by the participants and the like, and the data is arbitrary data, but needs to express the uniqueness of the participation of the participants; in the random number algorithm module, the random number algorithm module is mainly used for generating a random number related to all participation data according to a specific algorithm based on the participation data given by a user, the algorithm can be self-defined, and can also select and use the algorithms which are already defined on a block chain, and the common characteristic of the algorithms is that the change of the result is unpredictable when the calculation result of the participation in the non-directional control, namely the change of any input, is input; in the random number verification module, the method is mainly used for verifying the correctness of one random number and verifying the authenticity of the generated random number by other participants.
Fig. 3 is embodiment 1 of the present invention, and the specific application scenario is a sieve guessing game, and the steps specifically include:
(1) data acquisition: the participator selects own guessed number through the participatory data management module, wherein the guessed number comprises a number, a guessed round, a bet amount and a guessed commission charge, the transaction management module converts the related number into a blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) data processing: the block chain checks whether the balance of the accounts of the participants is sufficient through the account management module, after all the participants finish digital input, the block forging module types the block chain transaction converted by all the participants into a block, the participation data management module finds out the block chain transaction containing the guess digital information, namely the block where the block chain transaction is located, then, the random number algorithm module merges the complete data and the block head data of all the transactions together into data, and executes an encryption algorithm to extract a data abstract;
(3) random number generation: extracting the last 1 digit of the data abstract character string through a random number arithmetic module, converting the last digit into a six-digit system, converting the six-digit system into a character string through a random number arithmetic module, extracting the last digit of the character string, converting the character string into a decimal system, and adding one to the converted decimal number to obtain a final sieve number;
(4) data verification: and the block chain compares which one of the guessed digital transactions is guessed through the random number verification module, and finally completes a round of guessing screens.
Fig. 4 is embodiment 2 of the present invention, and a specific application scenario is lottery drawing, which specifically includes the following steps:
(1) data acquisition: the participator selects the predicted winning number by himself through the participation data management module, the winning number comprises 7 digits, lottery option number and bet amount, the transaction management module converts the related digits into block chain transaction, and the participator signs the block chain transaction through the transaction management module;
(2) data processing: the block chain checks whether the balance of the accounts of the participants is sufficient through the account management module, the block forging module types all block chain transactions for purchasing lottery tickets into blocks when the lottery drawing time is up, the participation data management module finds out all block chain transactions containing the purchased lottery tickets, namely the located blocks, then the random number algorithm module combines the complete data and the block head data of all the transactions together into data, and executes an encryption algorithm to extract a data abstract;
(3) random number generation: extracting the last 14 digits of the abstract character string through a random number calculation module, converting the thirty-binary number into a character string, extracting the last 14 digits of the character string, converting each two-digit character string into a decimal number, and adding one to each converted decimal number to obtain the final 7 lottery numbers;
(4) data verification: the block chain compares which transaction in the lottery transaction guesses through the random number verification module, the account management module gives account of the amount in the transaction of the number which is not guessed as the bonus according to the number guessed by the guesser, the bonus is distributed, the transaction of the fund distribution is recorded on the block chain through the block forging module, and finally a round of lottery sale and lottery drawing are completed.
Fig. 5 is an embodiment 3 of the present invention, in which a specific application scenario is to extract lucky viewers, and the steps specifically include:
(1) data acquisition: the participator submits own mobile phone number or seat number to participate in lottery through the participation data management module, wherein the mobile phone number or seat number and the lottery period number are included, the transaction management module converts related numbers into blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) data processing: after block chain transactions of all participants are typed into blocks through a block forging module, the participation data management module finds out all block chain transactions containing lottery, namely located blocks, the random number algorithm module merges complete data and block head data of all the transactions together to form data, and an encryption algorithm is executed to extract a data abstract;
(3) random number generation: extracting the last 4 digits of the abstract character string through a random number calculation module, converting the last 4 digits into a decimal number, converting the decimal number into the character string, dividing the decimal number by the total number of participating personnel to obtain a remainder, and taking the remainder as a winning sequence number;
(4) data verification: and extracting the block chain transaction corresponding to the serial number through a random number calculation module, finally obtaining the mobile phone number or the seat number of the transaction, obtaining the lucky audience through a random number verification module, and finally finishing a round of lucky audience extraction.
Fig. 6 shows a specific application scenario of embodiment 4 of the present invention is to extract a license plate number, and the specific steps are as follows:
(1) data acquisition: the participator submits own number selection application including number selection type and the like through the participatory data management module, the transaction management module converts the related number into blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) after block chain transactions of all participants are punched into blocks through a block forging module, a participation data management module finds out all block chain transactions containing applications, namely the blocks where the block chain transactions are located, a random number calculation module sequentially merges HASH data of each person applying for transactions and HASH data of the blocks where the block chain transactions are located into data, and the data are sequentially encrypted to extract a data abstract;
(3) random number generation: the random number algorithm module sequentially extracts the last 20 digits of the data summary character string, converts the last 20 digits into thirty-six digits, converts the thirty-six digits into a character string, intercepts the last five-digit character string of the character string, further checks whether the character string is occupied, if the character string is used, the number selection fails, and if the character string is not occupied, the number selection succeeds;
(4) data verification: and the random number verification module calculates and verifies in sequence to obtain the numbers of all the applicants, and finally completes the extraction of a batch of license plate numbers.
In the above 4 embodiments of the present invention, there are two key links: the first is to collect data, where unpredictable data must be collected together, and the second is the algorithm of random numbers.
The random number algorithm in the above 4 embodiments may use number (running (10to6(subst 5 (data))) +1, where number represents the running to decimal number, running represents the running to character string, 10to6 represents the running to six-ary, running represents the extraction of the last character string, MD5 represents the extraction of the data digest, SHA256 represents the encryption of the data, and the list of MD5 and SHA256 is not used to limit the types of data digest algorithms and data encryption algorithms available, and other algorithms such as CRC8, CRC16, CRC32, CRC 2, MD4, SHA1, SHA384, SHA512, RIPEMD, PANAMA, TIGER, ADLER32, DES, AES, RSA, BASE64, RC 38, RC4, IDEA, PKCS, SSF33, SSF28, SCB2, etc. may all be used without enumeration.
Fig. 2 shows a non-manipulable random number generation system, which includes a data acquisition module, a data processing module, a random number generation module, and a data verification module, wherein:
the data acquisition module is used for recording a number which is selected by a participant through the participation data management module and has a specific meaning, the transaction management module converts the related number into a blockchain transaction, and the participant signs the blockchain transaction through the transaction management module;
the work flow of the data processing module is that after all participants finish digital input, a block forging module punches block chain transactions converted by all the participants into a block, a participating data management module finds out the block chain transactions containing the digital information, namely the block where the block chain transactions are located, then, a random number algorithm module merges complete data and block head data of all the transactions together into data, and an encryption algorithm is executed to extract a data abstract;
the working process of the random number generation module is that according to the specific requirements of an application scene, a random number algorithm module extracts the corresponding digit of the abstract character string, converts the extracted corresponding digit into a specific digit system, and then according to the specific requirements of the application scene, the random number algorithm module generates a random number related to all the participated data according to a specific random algorithm based on the participated data, wherein the random algorithm is characterized in that the calculation result of the participated non-directional control is input, namely the change of any input is unpredictable;
the work flow of the data verification module is that the correctness of a random number is verified through the random data verification module, and the random number is used for verifying the authenticity of the generated random number by other participants and finally selecting a number in the application scene.
The above-mentioned embodiments are only preferred embodiments of the present invention, and do not limit the technical scope of the present invention, so that the changes and modifications made by the claims and the specification of the present invention should fall within the scope of the present invention.

Claims (6)

1. A method for generating an uncontrollable random number, comprising the steps of:
(1) data acquisition: the participator inputs the number with specific meaning selected by the participator through the participator data management module, the transaction management module converts the related number into the blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) data processing: after all participants finish digital input, a block forging module types block chain transactions converted by all the participants into a block, a participation data management module finds out the block chain transactions containing the digital information, namely the block where the block chain transactions are located, then, a random number algorithm module combines complete data and block head data of all the transactions together to form data, and an encryption algorithm is executed to extract a data abstract;
(3) random number generation: extracting corresponding digits of the abstract character strings in the step (2) through a random number algorithm module according to specific requirements of an application scene, converting the extracted corresponding digits into a specific digit system, and generating a random number related to all participating data through the random number algorithm module according to the specific random algorithm based on the participating data according to the specific requirements of the application scene, wherein the random algorithm is characterized in that a participating non-directional control calculation result is input, namely any input change is unpredictable;
(4) data verification: and verifying the correctness of a random number through a random data verification module, and verifying the authenticity of the generated random number by other participants, and finally, selecting the number in the application scene.
2. The method for generating uncontrollable random numbers according to claim 1, wherein the specific application scenario is a guessing screen game, and the steps are as follows:
(1) data acquisition: the participator selects own guessed number through the participatory data management module, wherein the guessed number comprises a number, a guessed round, a bet amount and a guessed commission charge, the transaction management module converts the related number into a blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) data processing: the block chain checks whether the balance of the accounts of the participants is sufficient through the account management module, after all the participants finish digital input, the block forging module types the block chain transaction converted by all the participants into a block, the participation data management module finds out the block chain transaction containing the guess digital information, namely the block where the block chain transaction is located, then, the random number algorithm module merges the complete data and the block head data of all the transactions together into data, and executes an encryption algorithm to extract a data abstract;
(3) random number generation: extracting the last 1 digit of the data abstract character string through a random number arithmetic module, converting the last digit into a six-digit system, converting the six-digit system into a character string through a random number arithmetic module, extracting the last digit of the character string, converting the character string into a decimal system, and adding one to the converted decimal number to obtain a final sieve number;
(4) data verification: and the block chain compares which one of the guessed digital transactions is guessed through the random number verification module, and finally completes a round of guessing screens.
3. The uncontrollable random number generating method according to claim 1, wherein the specific application scenario is lottery drawing, and the steps specifically include:
(1) data acquisition: the participator selects the predicted winning number by himself through the participation data management module, the winning number comprises 7 digits, lottery option number and bet amount, the transaction management module converts the related digits into block chain transaction, and the participator signs the block chain transaction through the transaction management module;
(2) data processing: the block chain checks whether the balance of the accounts of the participants is sufficient through the account management module, the block forging module types all block chain transactions for purchasing lottery tickets into blocks when the lottery drawing time is up, the participation data management module finds out all block chain transactions containing the purchased lottery tickets, namely the located blocks, then the random number algorithm module combines the complete data and the block head data of all the transactions together into data, and executes an encryption algorithm to extract a data abstract;
(3) random number generation: extracting the last 14 digits of the abstract character string through a random number calculation module, converting the thirty-binary number into a character string, extracting the last 14 digits of the character string, converting each two-digit character string into a decimal number, and adding one to each converted decimal number to obtain the final 7 lottery numbers;
(4) data verification: the block chain compares which transaction in the lottery transaction guesses through the random number verification module, the account management module gives account of the amount in the transaction of the number which is not guessed as the bonus according to the number guessed by the guesser, the bonus is distributed, the transaction of the fund distribution is recorded on the block chain through the block forging module, and finally a round of lottery sale and lottery drawing are completed.
4. The method of claim 1, wherein the specific application scenario is to extract lucky viewers, and the steps are specifically:
(1) data acquisition: the participator submits own mobile phone number or seat number to participate in lottery through the participation data management module, wherein the mobile phone number or seat number and the lottery period number are included, the transaction management module converts related numbers into blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) data processing: after block chain transactions of all participants are typed into blocks through a block forging module, the participation data management module finds out all block chain transactions containing lottery, namely located blocks, the random number algorithm module merges complete data and block head data of all the transactions together to form data, and an encryption algorithm is executed to extract a data abstract;
(3) random number generation: extracting the last 4 digits of the abstract character string through a random number calculation module, converting the last 4 digits into a decimal number, converting the decimal number into the character string, dividing the decimal number by the total number of participating personnel to obtain a remainder, and taking the remainder as a winning sequence number;
(4) data verification: and extracting the block chain transaction corresponding to the serial number through a random number calculation module, finally obtaining the mobile phone number or the seat number of the transaction, obtaining the lucky audience through a random number verification module, and finally finishing a round of lucky audience extraction.
5. The method for generating an uncontrollable random number according to claim 1, wherein the specific application scenario is the extraction of a license plate number, and the steps are as follows:
(1) data acquisition: the participator submits own number selection application including number selection type and the like through the participatory data management module, the transaction management module converts the related number into blockchain transaction, and the participator signs the blockchain transaction through the transaction management module;
(2) after block chain transactions of all participants are punched into blocks through a block forging module, a participation data management module finds out all block chain transactions containing applications, namely the blocks where the block chain transactions are located, a random number calculation module sequentially merges HASH data of each person applying for transactions and HASH data of the blocks where the block chain transactions are located into data, and the data are sequentially encrypted to extract a data abstract;
(3) random number generation: the random number algorithm module sequentially extracts the last 20 digits of the data summary character string, converts the last 20 digits into thirty-six digits, converts the thirty-six digits into a character string, intercepts the last five-digit character string of the character string, further checks whether the character string is occupied, if the character string is used, the number selection fails, and if the character string is not occupied, the number selection succeeds;
(4) data verification: and the random number verification module calculates and verifies in sequence to obtain the numbers of all the applicants, and finally completes the extraction of a batch of license plate numbers.
6. A non-controllable random number generation system comprises a data acquisition module, a data processing module, a random number generation module and a data verification module, wherein:
the data acquisition module is used for recording a number which is selected by a participant through the participation data management module and has a specific meaning, the transaction management module converts the related number into a blockchain transaction, and the participant signs the blockchain transaction through the transaction management module;
the work flow of the data processing module is that after all participants finish digital input, a block forging module punches block chain transactions converted by all the participants into a block, a participating data management module finds out the block chain transactions containing the digital information, namely the block where the block chain transactions are located, then, a random number algorithm module merges complete data and block head data of all the transactions together into data, and an encryption algorithm is executed to extract a data abstract;
the working process of the random number generation module is that according to the specific requirements of an application scene, a random number algorithm module extracts the corresponding digit of the abstract character string, converts the extracted corresponding digit into a specific digit system, and then according to the specific requirements of the application scene, the random number algorithm module generates a random number related to all the participated data according to a specific random algorithm based on the participated data, wherein the random algorithm is characterized in that the calculation result of the participated non-directional control is input, namely the change of any input is unpredictable;
the work flow of the data verification module is that the correctness of a random number is verified through the random data verification module, and the random number is used for verifying the authenticity of the generated random number by other participants and finally selecting a number in the application scene.
CN201810682387.1A 2018-06-27 2018-06-27 Uncontrollable random number generation method and system Pending CN110647311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810682387.1A CN110647311A (en) 2018-06-27 2018-06-27 Uncontrollable random number generation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810682387.1A CN110647311A (en) 2018-06-27 2018-06-27 Uncontrollable random number generation method and system

Publications (1)

Publication Number Publication Date
CN110647311A true CN110647311A (en) 2020-01-03

Family

ID=68988825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810682387.1A Pending CN110647311A (en) 2018-06-27 2018-06-27 Uncontrollable random number generation method and system

Country Status (1)

Country Link
CN (1) CN110647311A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259428A (en) * 2020-01-22 2020-06-09 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, node equipment and storage medium
CN112037413A (en) * 2020-09-02 2020-12-04 深圳银谷建科网络有限公司 Computer position-allocation lottery system with reproducible result
CN112527244A (en) * 2020-12-18 2021-03-19 上海万向区块链股份公司 Distributed lottery system and method based on verifiable delay function
CN112767221A (en) * 2021-02-02 2021-05-07 深圳市易讯天空网络技术有限公司 Block chain lottery drawing method, terminal device and computer readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003157336A (en) * 2001-11-20 2003-05-30 Nec Corp Betting fund managing system, betting fund managing method and account allotting program
US20080294710A1 (en) * 2007-05-22 2008-11-27 Harris Corporation Extending a Repetition Period of a Random Sequence
CN102447699A (en) * 2011-11-29 2012-05-09 中福在线投资有限公司 Safe transaction method for mobile Internet lottery based on hardware information
US20140298429A1 (en) * 2011-07-11 2014-10-02 Eht Vermögensverwaltung Ug Method For Operating a Network Device
CN106980488A (en) * 2017-03-14 2017-07-25 腾讯科技(深圳)有限公司 Random digit generation method and device
CN107103097A (en) * 2017-05-22 2017-08-29 中链科技有限公司 Drawing method and terminal device based on block chain technology
CN107392770A (en) * 2017-08-09 2017-11-24 北京云知科技有限公司 A kind of random-number generating method and system based on block chain
CN107481145A (en) * 2017-08-30 2017-12-15 北京知金链网络技术有限公司 Block chain multidimensional random number common recognition election method
CN107851246A (en) * 2015-05-21 2018-03-27 万事达卡国际股份有限公司 System and method for handling the transaction based on block chain on existing payment network
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium
CN107977862A (en) * 2017-11-30 2018-05-01 财付通支付科技有限公司 Bonus data management method, device, storage medium and equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003157336A (en) * 2001-11-20 2003-05-30 Nec Corp Betting fund managing system, betting fund managing method and account allotting program
US20080294710A1 (en) * 2007-05-22 2008-11-27 Harris Corporation Extending a Repetition Period of a Random Sequence
US20140298429A1 (en) * 2011-07-11 2014-10-02 Eht Vermögensverwaltung Ug Method For Operating a Network Device
CN102447699A (en) * 2011-11-29 2012-05-09 中福在线投资有限公司 Safe transaction method for mobile Internet lottery based on hardware information
CN107851246A (en) * 2015-05-21 2018-03-27 万事达卡国际股份有限公司 System and method for handling the transaction based on block chain on existing payment network
CN106980488A (en) * 2017-03-14 2017-07-25 腾讯科技(深圳)有限公司 Random digit generation method and device
CN107103097A (en) * 2017-05-22 2017-08-29 中链科技有限公司 Drawing method and terminal device based on block chain technology
CN107392770A (en) * 2017-08-09 2017-11-24 北京云知科技有限公司 A kind of random-number generating method and system based on block chain
CN107481145A (en) * 2017-08-30 2017-12-15 北京知金链网络技术有限公司 Block chain multidimensional random number common recognition election method
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium
CN107977862A (en) * 2017-11-30 2018-05-01 财付通支付科技有限公司 Bonus data management method, device, storage medium and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李吉广: "使用区块链的处理监督架构和随机授权", 《信息安全研究》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259428A (en) * 2020-01-22 2020-06-09 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, node equipment and storage medium
CN112037413A (en) * 2020-09-02 2020-12-04 深圳银谷建科网络有限公司 Computer position-allocation lottery system with reproducible result
CN112037413B (en) * 2020-09-02 2022-03-15 深圳银谷建科网络有限公司 Computer position-allocation lottery system with reproducible result
CN112527244A (en) * 2020-12-18 2021-03-19 上海万向区块链股份公司 Distributed lottery system and method based on verifiable delay function
CN112767221A (en) * 2021-02-02 2021-05-07 深圳市易讯天空网络技术有限公司 Block chain lottery drawing method, terminal device and computer readable storage medium
CN112767221B (en) * 2021-02-02 2023-12-19 深圳市易讯天空网络技术有限公司 Block chain lottery drawing method, terminal device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110647311A (en) Uncontrollable random number generation method and system
US8608558B2 (en) System and method for securing electronic games
US10572872B2 (en) Decentralized competitive arbitration using digital ledgering
CN107103097A (en) Drawing method and terminal device based on block chain technology
AU767015B2 (en) Computer gambling game
US10115264B2 (en) Encrypted electronic gaming ticket
CN104392534B (en) Electronic voting method and device based on finger vein feature recognition
WO2018104728A1 (en) Random number generation
CN110912705A (en) Distributed electronic voting method and system based on block chain
AU2012201098B2 (en) Lottery method and system
KR20220122994A (en) Proveably fair games using blockchain
US20160180653A1 (en) Computerized Method of Selecting and Verifying Contest Winners
KR102529564B1 (en) Method for deciding Winning Number among the Plurality of Application Numbers
KR20190119911A (en) Ticket Selling System Based on Blockchain
US7516324B2 (en) Information processing system, information management apparatus, and information processing apparatus
EA005452B1 (en) Method and system for computer-based game
US20110244940A1 (en) Instant ticket generator
CN113421115A (en) Method, device, equipment and storage medium for generating winning information
JP2022187424A (en) Program, information management system and information management method
WO2008050355A1 (en) Session-free on-line ticket lottery
CN110995444A (en) Election method based on block chain
US20240095312A1 (en) Systems and methods for 3d printing of limited edition virtual items
US20230364498A1 (en) High-End Raffle System
JP4556917B2 (en) Determination system, determination method, determination apparatus, and program
Silva et al. A Fair, Traceable, Auditable and Participatory Randomization Tool for Legal Systems

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
TA01 Transfer of patent application right

Effective date of registration: 20210402

Address after: Room 2201, 703c, Desai science and technology building, 9789 Shennan Avenue, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Benchainless Technology (Shenzhen) Co.,Ltd.

Address before: 361000 unit 11, 201, building B, 86 Haijing Road, Xiamen area, China (Fujian) pilot Free Trade Zone, Xiamen City, Fujian Province

Applicant before: XIAMEN INSTINCT BLOCKCHAIN TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right