Block chain witness consensus method, system, equipment and storage medium based on Byzantine fault tolerance

A storage medium and Byzantine technology, applied in the field of data consistency in distributed systems, to achieve the effects of reducing communication complexity, solving chain forks, and ensuring consistency and activity

Active Publication Date: 2022-02-25
安徽中科晶格技术有限公司
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the traditional PBFT consensus, there are multiple rounds of communication in the consensus network, and the communication complexity reaches O(n 2 )

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Example 1: The present invention is based on the worship method of fault tolerance, and the consensus participation node is provided, and the consensus participation node will have a node to be a primary node during each round.

[0030] The master node is responsible for block packages, so it is also known as packaging nodes. Packing nodes are all nodes in the block chain, the package node is a polling of a node set, and each round of packaging nodes are determined, and in time sequential. If the wheel package node is downtime, in order to avoid this wheel can't go out, after determining the delay time of the downtime (this time can be set as needed), the view switching is performed, and it can be rotated by the wheel package node. For the package node of this wheel and package it. If this happens, it will result in the appearance of the bifurcation. Therefore, when the view is switched, the delay time of the wheel package node is set to be a length than the wheel pack. Thi...

Embodiment 2

[0047] Embodiment 2: Further, the embodiment of the present invention also provides a block chain test consensus system based on Byzantica, including packaging node modules, witness node modules, and control modules.

[0048] The control module controls the related operation of the packaging node and witness nodes based on the worship method of erroneous block chains according to Embodiment 1.

[0049] Such as: The control module controls the packaging node packages in time, and the control module controls the rotation and the rotation of the view switching and packaging nodes according to the delay time, control the view switching and packaging nodes according to the delay time

[0050] The control module also controls the sequence of witness nods to receive the sequence of the block, and only vote for the first block.

[0051] The control module also controls a consensus participation node to record the evil node.

[0052] The control module also controls consensus participation...

Embodiment

[0056] Example: 3: Those skilled in the art will clearly understand that the method of the above embodiment can be implemented by means of software plus necessary universal hardware platform, of course, can also pass hardware, but in many cases, the former is better implementation. Way. Based on this understanding, the technical solution of the present invention essentially contributes to the prior art to reflect in the form of software products, the computer software product stores in a storage medium (such as read only memory (Read Only Memory) , ROM) / RAM, disc, optical disc), including several instructions to enable a terminal device (can be a mobile phone, computer, node packaging device, or network device, etc.) to perform the method of the embodiment of the present invention.

[0057] Therefore, the present invention also provides a block chain witness apparatus based on Byzantica, including: memory, processor, and based on the memory-based block chain on the memory and ca...

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 block chain witness consensus method based on Byzantine fault tolerance, which is characterized in that a packaging node and a witness node are arranged, and the consensus method comprises the following steps: S1, the packaging node packages to generate a block and broadcasts the block; S2, the witness node carries out voting broadcasting and counting; S3, a main chain is confirmed according to a rule; in the step S2, all witness nodes are in any block height, and voting broadcast is only carried out once. The invention further provides a block chain witness consensus system and equipment based on Byzantine fault tolerance and a storage medium. According to the invention, the communication complexity of the consensus network is greatly reduced, the problem of chain bifurcation is still well solved, and the consistency and activity are fully ensured. Meanwhile, the method can be used for identifying the attacking nodes in the consensus network.

Description

Technical field [0001] The present invention relates to the field of distributed system data consistency, and in particular, a method of witnessing a complimentary block chain chain chain, as well as a system, device, and storage medium. Background technique [0002] In the block chain, due to its detrimentary design, the node is dispersed and parallel, so there must be a set of processes to achieve the operation consistency of each node. Such a process is a consensus. [0003] In the block chain, a consensus is a decision process, and its goal is to ensure that all participants can agree on their current status after adding new data blocks. In other words, the consensus protocol ensures the correctness of a chain. [0004] The consensus mechanism in the block chain generally needs two conditions, respectively, consistency and activity, respectively. The consistency is that there will be no two blocks under the same height will eventually be confirmed. Activity is required to hav...

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): G06F16/27
CPCG06F16/27Y02D10/00
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