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

Blockchain 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 ensuring consistency and activity, solving chain forks, and reducing communication complexity

Active Publication Date: 2022-05-17
安徽中科晶格技术有限公司
View PDF9 Cites 0 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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Blockchain Witness Consensus Method, System, Equipment and Storage Medium Based on Byzantine Fault Tolerance
  • Blockchain Witness Consensus Method, System, Equipment and Storage Medium Based on Byzantine Fault Tolerance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Embodiment 1: The blockchain witness consensus method based on Byzantine fault tolerance in the present invention is provided with consensus participating nodes, and one of the consensus participating nodes will be determined as the master node during each round of block generation.

[0030] The master node is responsible for block packaging, so it is also called a packaging node. A packaging node is a full node in the blockchain, and the packaging node is a round-robin of the node set. The packaging nodes of each round are determined and rotated in chronological order. If the packaging node of the current round is down, in order to avoid the inability to produce blocks in this round, after determining the delay time of the downtime (the length of this time can be set according to the needs), the view can be switched, and the non-current packaging nodes can be rotated Be the packaging node of this round and carry out this round of packaging. If this happens, it will le...

Embodiment 2

[0047] Embodiment 2: In addition, the embodiment of the present invention also proposes a blockchain witness consensus system based on Byzantine fault tolerance, including a packaging node module, a witness node module and a control module.

[0048] According to the blockchain witness consensus method based on Byzantine fault tolerance described in Embodiment 1, the control module controls the packaging node and the witness node to perform related operations.

[0049] For example: the control module controls the packaging nodes to pack in chronological order, and when the packaging node is down or due to other reasons, when the packaging node needs to be rotated, the control module controls the view switching and the rotation of the packaging node according to the delay time.

[0050] The control module also controls the witness nodes to vote only for the first received block at the same block height according to the order in which the blocks are received.

[0051] The control...

Embodiment

[0056] Embodiment: 3: Those skilled in the art can clearly understand that the method of the above-mentioned embodiment can be realized by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but the former is a better implementation in many cases Way. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as a read-only memory (Read Only Memory) , ROM) / RAM, magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, computer, node packaging device, or network device, etc.) execute the method described in the embodiment of the present invention.

[0057] Therefore, the present invention also provides a blockchain witness consensus device based on Byzantine fault tolerance,...

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 present invention provides a blockchain witness consensus method based on Byzantine fault tolerance, which is characterized in that a packaging node and a witness node are provided, and the consensus method includes the following steps: S1. The packaging node packs and generates a block and broadcasts it; S2 .Witness nodes broadcast and count votes; S3. According to the rules, confirm the main chain; in step S2, all witness nodes only perform one vote broadcast at any block height. The invention also provides a blockchain witness consensus system, equipment and storage medium based on Byzantine fault tolerance. The present invention greatly reduces the communication complexity of the consensus network, and still solves the problem of chain bifurcation, fully guaranteeing consistency and activity. At the same time, the present invention can identify malicious nodes in the consensus network.

Description

technical field [0001] The present invention relates to the technical field of distributed system data consistency, specifically a Byzantine fault-tolerant blockchain witness consensus method, system, equipment and storage medium. Background technique [0002] In the blockchain, due to its decentralized design, nodes are scattered and parallel everywhere, so there must be a set of procedures to achieve the consistency of operation of each node. Such a process is consensus. [0003] In a blockchain, consensus is a decision-making process whose goal is to ensure that all participants agree on the current state of a new block of data after it has been added. In other words, the consensus protocol ensures the correctness of a chain. [0004] The consensus mechanism in the blockchain generally needs to meet two conditions, namely consistency and activity. Consistency requires that no two blocks will be finally confirmed at the same height. Liveness requires that within a limi...

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 Patents(China)
IPC IPC(8): G06F16/27
CPCG06F16/27Y02D10/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