Random number generation and application method and apparatus

An application method and random number technology, applied in the field of blockchain, can solve the problems of blockchain network business impact, inability to guarantee the security and stability of third-party random sources, and increase hidden dangers of data security, so as to meet business needs Effect

Active Publication Date: 2017-10-27
BEIJING ZHONGXIANG BIT TECH
View PDF5 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disadvantage of the above scheme is that the use of a third-party random source increases the security risks of data, and the security and stability of the third-part

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
  • Random number generation and application method and apparatus
  • Random number generation and application method and apparatus
  • Random number generation and application method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0027] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0028] figure 2 It is a flowchart of a random number generation and application method provided by an embodiment of the present invention.

[0029] Such as figure 2 As shown, in this embodiment, the present invention provides a random number generation and application method, including:

[00...

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 random number generation and application method and apparatus. The method comprises the steps of taking a time stamp of a receiving moment as an initial random number according to a received transaction request needing to generate a random number; according to a random number consensus in a current block chain network which the initial random number participates in, obtaining a consensus result as the generated random number; and finishing a transaction according to the generated random number, and storing a transaction result in a block of a current node. By taking the time stamp of the moment when each node receives the transaction request needing to generate the random number as the initial random number, the consensus result is obtained as the finally generated random number through a consensus mechanism of the block chain network, so that the same random number can be provided for each node without requesting to an external random source for the random number to meet business demands.

Description

technical field [0001] This application relates to the technical field of blockchain, in particular to a random number generation and application method and device. Background technique [0002] The blockchain network is a decentralized network. Each node is scattered in the network and there is no central server. Therefore, when the business needs a random number in the network, it cannot be generated by the central server like a centralized network and then synchronized to each network node. [0003] figure 1 It is a schematic diagram of the method of obtaining random numbers in the blockchain network in the prior art. Such as figure 1 As shown, in the existing scheme, when the blockchain network needs random numbers, it will obtain random numbers generated by a third-party random source, and all nodes in the blockchain network will request a third-party random source synchronously to ensure the consistency of node information. [0004] The disadvantage of the above so...

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
IPC IPC(8): G06Q20/38
CPCG06Q20/382
Inventor 李鑫陈姝卢小明
Owner BEIJING ZHONGXIANG BIT TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products