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

Hybrid consensus network algorithm and system of block chain Raft + PBFT

A blockchain and consensus technology, applied in the blockchain field, can solve the problems of difficulty in reaching consensus in society and low degree of centralization, and achieve reliable consistency and reduce pull effects

Inactive Publication Date: 2020-07-28
NANJING ZHONGCHENG BLOCK CHAIN RES INST CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The core problem of the distributed network of the blockchain is how to reach a consensus efficiently. It is even more difficult to reach a consensus in a society with a low degree of centralization and decentralized decision-making power.

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
  • Hybrid consensus network algorithm and system of block chain Raft + PBFT
  • Hybrid consensus network algorithm and system of block chain Raft + PBFT
  • Hybrid consensus network algorithm and system of block chain Raft + PBFT

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] like Figure 1-4 As shown, one of the purposes of this embodiment is to provide a hybrid consensus network algorithm of blockchain Raft+PBFT, including the following steps:

[0053] S1, Raft conducts rapid networking of each node of the blockchain network;

[0054] S2, forming a peer-to-peer network of blockchain;

[0055] S3. Use a random algorithm to select consensus committee nodes for nodes in the entire network;

[0056] S4. Build a PBFT consensus network.

[0057] In this embodiment, in S1, the Raft method for each node of the blockchain network to quickly form a network includes the following steps:

[0058]S1.1. Master election. In paxos, any porposer node can be selected as the master node, and the committed records of all acceptors can be synchronized to complete the appointment; in raft, only Follower / Candidata with the most complete log can be selected Mainly, so that when synchronizing the log, the amount of data pulled can be reduced and the appointmen...

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 relates to the technical field of block chains, in particular to a hybrid consensus network algorithm of block chain Raft + PBFT. The method comprises the following steps: selecting a host from paxos, synchronizing commid records of all acceptors, and completing the above steps; obtaining pass of the followers by commid, and completing a task; enabling a client c to send (REQUEST, o,t, c) a request to perform an operation o to the master node; wherein each message sent to the client by the replica node comprises a current view number; and enabling a main node to automatically broadcast the request to all backup nodes. Rapid networking is carried out on each node of a block chain network by adopting Raft to form a point-to-point network of a block chain, consensus committee nodes are selected from nodes of the whole network by adopting a random algorithm, a PBFT consensus network is constructed, relatively reliable consistency is ensured, and a consensus mechanism is formed.

Description

technical field [0001] The present invention relates to the field of block chain technology, in particular, to a hybrid consensus network algorithm and system of block chain Raft+PBFT. Background technique [0002] Blockchain is a term in the field of information technology. In essence, it is a shared database, and the data or information stored in it has the characteristics of "unforgeable", "retaining traces throughout the process", "traceable", "open and transparent", and "collective maintenance". Based on these characteristics, blockchain technology has laid a solid "trust" foundation, created a reliable "cooperation" mechanism, and has broad application prospects. The core problem of the distributed network of the blockchain is how to reach a consensus efficiently. It is even more difficult to reach a consensus in a society with a low degree of centralization and decentralized decision-making power. Contents of the invention [0003] The purpose of the present inven...

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): H04L12/24H04L29/08
CPCH04L41/30H04L67/1051H04L67/1044H04L67/1095H04L9/50
Inventor 柴荔汪洋燕宝马强邹悦宁
Owner NANJING ZHONGCHENG BLOCK CHAIN RES INST CO LTD
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