Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Block chain-based lottery method and device, computer equipment and storage medium

A technology of block chain and computer program, applied in the field of block chain, can solve the problems of non-random, random number generation process is not really open, unfair, etc., and achieve the effect of high transparency

Active Publication Date: 2020-02-11
深圳市合西科技有限公司
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the random numbers of the computer lottery are all generated inside the computer, that is, the generation process of the random numbers is not really disclosed; the supervisor cannot confirm whether the random numbers used in the ranking process are provided by fraudsters or randomly generated by the computer, so It is also impossible to verify the fairness of the ranking results
Therefore, the lottery results may be tampered with by insiders or hackers, and there may be problems that may not be random, open, and unfair

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Block chain-based lottery method and device, computer equipment and storage medium
  • Block chain-based lottery method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to express the present invention more clearly, the present invention will be further described below in conjunction with the accompanying drawings.

[0028] see figure 1 with figure 2 , a blockchain-based lottery method, which is executed based on a public blockchain; including

[0029] S1: Obtain the hash value of newly generated blocks within a set time or a set number of new blocks;

[0030] S2: The obtained hash value is calculated through the agreed algorithm to obtain a number;

[0031] S3: Calculate the characteristic information through the public algorithm to obtain the characteristic value; the primary number is calculated twice through the public algorithm to obtain the secondary number, if the secondary number has the characteristic value, then the secondary number is the winning bid number.

[0032] A public blockchain means that any individual or group in the world can send a transaction, and the transaction can be effectively confirmed by the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a block chain-based lottery method and device, computer equipment and a storage medium, and belongs to the field of block chains, and the method is executed based on a public block chain. The method comprises the following steps: acquiring a hash value of a newly generated block or a set number of newly generated blocks within a set time; calculating the obtained hash valuethrough an agreed algorithm to obtain a primary number; calculating the feature information through a public algorithm to obtain a feature value; enabling the primary number to be subjected to secondary calculation through a public algorithm to obtain a secondary number, and if the secondary number has the characteristic value, regarding that the secondary number is a bid winning number. According to the method, the randomness that a public block chain generates a new block is utilized, it is ensured that a bid winning number is random and cannot cheat, and meanwhile, the fairness and justiceof the whole number shaking process are achieved by utilizing the characteristic that the block chain is high in transparency; the feature information is calculated through a public algorithm to obtain a feature value; and in this way, the result of group control horn shaking with ultra-strong computing power can be prevented.

Description

technical field [0001] The present invention relates to the field of block chains, in particular to a block chain-based lottery method, device, computer equipment and storage media. Background technique [0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The consensus mechanism is a mathematical algorithm to establish trust and obtain rights and interests between different nodes in the blockchain system. Blockchain is the underlying technology of Bitcoin, like a database ledger, recording all transaction records. The characteristic of this system is that there are many sub-offices and nodes all over the world, and each node will maintain the same set of databases. This has led to the difficulty of maliciously tampering with data, and data loss is extremely rare, thus realizing a fair and transparent platform that solves the crisis of trust. [...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/08H04L9/06G07C15/00
CPCH04L9/0861H04L9/0869H04L9/0643G07C15/006H04L9/50Y02D10/00
Inventor 陈建华阮云飞
Owner 深圳市合西科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products