Unlock instant, AI-driven research and patent intelligence for your innovation.

Credible random number generation method and device based on alliance chain

A technology for generating devices and random numbers, which is applied in the field of alliance chains, can solve problems such as untrustworthy random numbers, and achieve the effect of improving attack resistance

Active Publication Date: 2022-06-24
南京金宁汇科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method and device for generating trusted random numbers based on consortium chains, which can be used to solve the problem of introducing the control capability of the caller in the prior art, where the caller is forced to manipulate after being attacked, or actively maliciously manipulates the final generation The possibility of random numbers, resulting in unreliable technical problems of generated random numbers

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
  • Credible random number generation method and device based on alliance chain
  • Credible random number generation method and device based on alliance chain
  • Credible random number generation method and device based on alliance chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0056] The first embodiment of the present application discloses a method for generating a trusted random number based on a consortium chain. The first embodiment of the present application will be specifically described below with reference to the accompanying drawings.

[0057] see figure 1 , an application scenario diagram of a method for generating trusted random numbers based on a consortium chain provided by this application;

[0058] Depend on figure 1 It can be seen that the method provided in this application can be applied to any off-chain business system that generates random numbers. The off-chain business system refers to any business system that is independent of the consortium chain and has requirements for generating cred...

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 provides a trusted random number generation method and device based on an alliance chain, applied to any under-chain service system for generating random numbers, and the generation method comprises the following steps: obtaining a random number request sent by a client for generating the random numbers; generating a parameter world state according to the random number request, and storing the parameter world state to the current block; random number parameters are recorded in the parameter world state; when the current block is in the state of generating the parameter world, the random number channel is the newly generated block; when a target block is generated in the random number channel, constructing a random number transaction; and according to the parameter world state, calling a random number smart contract through random number transaction to generate a final random number. Therefore, according to the method, the unpredictable deterministic credible factor which changes along with time is introduced, namely, the block hash value generated in the future at the moment of sending the random number request is introduced, so that the attack resistance of a calling party is improved, and the credible random number is generated.

Description

technical field [0001] The present application relates to the technical field of consortium chains, and in particular, to a method and device for generating trusted random numbers based on consortium chains. Background technique [0002] Applications of random numbers can be seen everywhere in daily life, such as sampling from a statistical population or grouping samples. Due to the fairness and transparency requirements of usage scenarios, random numbers need to be credible. Therefore, a strong anti-attack method is required to generate random numbers, so that the generation of random numbers cannot be intentionally manipulated. [0003] Among the existing random number generation methods, the most commonly used method is to pre-deploy a random smart contract on the blockchain, and input three sets of random sources, including: the current block hash of the chain, the contract address information, and the random number offline of the participants. , and obtain the final ra...

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/32H04L9/08
CPCH04L9/3239H04L9/3297H04L9/0869
Inventor 石宁李达甘子荣刘健李延辉
Owner 南京金宁汇科技有限公司