Block chain node consensus method and device

A blockchain and block technology, applied in the field of blockchain, can solve problems such as large computing power consumption, and achieve the effects of less calculation times, security assurance, and simple verification

Active Publication Date: 2021-09-03
续科天下(北京)科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, these consensus algorithms have encountered the problem of consensus efficiency. For example, the workload proof algorithm needs to consume a lot of computing power, and the Byzantine algorithm requires multiple rounds of information exchange between multiple nodes. With the increase of network nodes (more than 21 nodes), the network bandwidth quickly becomes the bottleneck of the system

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 node consensus method and device
  • Block chain node consensus method and device
  • Block chain node consensus method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045]The method and device for blockchain node consensus provided by the embodiments of the present invention all run in the TEE. TEE can provide users with a higher security execution environment and a more friendly user experience. Wherein, TEE can be realized by software, such as t-base of Trustonic Company, secure TEE of Solacia Company, etc.; it can also be realized by hardware, such as ARMTrust Zone technology, Intel x86-64 instruction set: SGX Software Guard Extensions, etc., the present invention The embodiment does not specifically limit this, preferably, SGX or Trust Zone may be used. In addition, the lucky value algorithm used for calculating the lucky value can be set according to needs, such as using the sha256 algorithm, two or more sha256 calculations can also be performed, or a combination of multiple algorithms, etc., so as to meet the randomness requirements.

[0046] figure 1 It is a flow chart of a blockchain node consensus method according to an embodim...

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 node consensus method and device, and relates to the technical field of block chains. The method comprises the following steps: presetting a lucky value range of a block chain; calculating, by a seed node, a lucky value conforming to the lucky value range according to a lucky value algorithm, creating a creation block and broadcasting the creation block; when any current node in the block chain receives the block broadcast by a previous block outlet node, calculating a lucky value according to the information of the block and verifying the lucky value, and if the lucky value is the same as the lucky value of the previous block outlet node and accords with the lucky value range, inserting the block; determining whether the current block height is updated or not, if so, starting a first timer for timing; and calculating the current lucky value when the time is out and the block broadcast by other nodes is not received, if the current lucky value is in accordance with the lucky value range, generating and broadcasting a new block as the current block outlet node. The device comprises an initialization module, an insertion module and a generation module. According to the invention, the nodes in the block chain quickly reach the consensus, and the consensus efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of block chain, in particular to a method and device for block chain node consensus. Background technique [0002] Blockchain is a new creative technological invention in the field of information technology. It builds a new network infrastructure through the combination of distributed consensus protocol, cryptography and P2P (Peer-to-Peer, point-to-point) technologies. Realized decentralized trusted transactions. [0003] At present, there are many kinds of blockchain consensus algorithms commonly used, including workload proof, equity proof, Byzantine algorithm, verifiable random equation, and some hybrid consensus algorithms that combine the above consensus algorithms, or consensus algorithms with multi-layer architecture . [0004] However, these consensus algorithms have encountered the problem of consensus efficiency. For example, the workload proof algorithm needs to consume a lot of comput...

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): H04L29/08H04L29/06G06Q40/04
CPCH04L67/1095H04L63/12G06Q40/04
Inventor 方建张锐
Owner 续科天下(北京)科技有限公司
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