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

PBFT improved algorithm with linear message complexity

A technology to improve the algorithm and complexity, applied in the field of consensus algorithm, can solve the problems of decreased overall throughput of the consensus protocol, single-point bandwidth bottleneck of consensus nodes, etc., to achieve the effect of solving the single-point bandwidth bottleneck and enhancing fault tolerance

Active Publication Date: 2021-04-27
TIANJIN UNIV OF SCI & TECH +1
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the existing technology, although the non-BFT algorithm is simple, efficient, and has linear message complexity, it cannot tolerate the scene of Byzantine nodes; the PBFT algorithm and many BFT consensus algorithms based on the improvement of the PBFT algorithm, although Can tolerate Byzantine node faults, but has an average o(n 2 ) message complexity, and as the number of nodes increases, the message complexity will increase rapidly, and the overall throughput of the consensus protocol will decrease rapidly; and in the classic three-stage process of the PBFT algorithm, each consensus node needs to broadcast consensus messages, It is easy to cause a single-point bandwidth bottleneck of consensus nodes

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
  • PBFT improved algorithm with linear message complexity
  • PBFT improved algorithm with linear message complexity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] The embodiment of the present invention discloses an improved PBFT algorithm with linear message complexity, such as Figure 1-2 shown, including the following steps:

[0032] S1. Establish an improved PBFT consensus network. The improved PBFT consensus network includes the PBFT consensus network and the RAFT consensus network. Establish a secure communication connection with all consensus nodes of the RAFT consensus network;

[0033] In this example,...

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 PBFT improved algorithm with linear message complexity. The method comprises the following steps: S1, establishing an improved PBFT network; S2, carrying out an improved pre-prepare stage; S3, carrying out an improved prepare stage; S4, carrying out an improved commit stage; S5, feeding back all commit messages to the Client, and after the Client receives 2f + 1 consistent reply response messages, determining that the round of consensus is reached. The invention provides a new consensus algorithm based on a series of problems existing in a consensus algorithm used in an alliance chain at present. According to the new algorithm, an efficient RAFT network is introduced to optimize a three-stage process of PBFT consensus, finally, conversion of communication complexity of consensus messages from o(n2) to linearity is achieved, and meanwhile, the problem of a single-point bandwidth bottleneck of a consensus node is solved.

Description

technical field [0001] The invention relates to the technical field of consensus algorithms, and more specifically relates to an improved PBFT algorithm with linear message complexity. Background technique [0002] With the development and wide application of blockchain, the consensus algorithm, one of the core technologies, has received extensive attention from academia and the industry. [0003] At present, there are various consensus algorithms in the industry. There are two types of mainstream consensus algorithms in the alliance chain: BFT algorithms and non-BFT algorithms. Non-BFT algorithms, that is, non-Byzantine fault-tolerant algorithms, are deterministic Consensus algorithm, that is, after the consensus is reached, each node gets a deterministic and the same result, and the only error it can tolerate is node failure, and malicious attacks cannot be tolerated. Typical such algorithms include Paxos, RAFT consensus algorithm, etc. BFT algorithms, that is, Byzantine...

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/06H04L12/24
CPCH04L67/10H04L63/02H04L41/30H04L67/1051H04L67/60
Inventor 张传雷赵奕然王亚伟邵珠光张爽姚倩李建荣
Owner TIANJIN UNIV OF SCI & TECH