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

Method for improving consensus efficiency of blockchain

A blockchain and consensus technology, applied in the blockchain field, can solve problems such as blockchain network paralysis, stagnation, and inability to continue, and achieve the effect of preventing system paralysis

Active Publication Date: 2020-08-07
北京链化未来科技有限公司
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] First, under a certain probability, committee members who are not online are selected as bookkeeping nodes, and valid blocks cannot be produced, which leads to empty blocks in this round of bookkeeping
[0004] Second, when a large number of committee members gradually go offline, the consensus algorithm of pBFT will not be completed, and the system will stagnate in the current round, unable to continue, resulting in the paralysis of the entire blockchain network
Although this technical solution shortens the block confirmation time, reduces the risk of the double spend problem, and improves the performance of the blockchain system, but when a large number of committee members gradually go offline, the system will stagnate in the current round and cannot continue, thus Caused the entire blockchain network to be paralyzed

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
  • Method for improving consensus efficiency of blockchain
  • Method for improving consensus efficiency of blockchain
  • Method for improving consensus efficiency of blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] like figure 1 As shown, a method to improve the efficiency of blockchain consensus includes the following steps:

[0050] 1) The number of all effective committee members in the blockchain is m, and the pBFT consensus algorithm will generate a data block in each block generation cycle t on the blockchain;

[0051] The block generation period t is a parameter of the pBFT-based consensus algorithm, which is commonly used in the range of 0.5s to 600s.

[0052] 2) Deploy the heartbeat monitoring smart contract on the blockchain. All effective committee members in the blockchain must send the check-in transactions in the heartbeat monitoring smart contract within the specified time interval T to complete the check-in on the chain. Valid committee members are removed, and nodes are selected for inspection after removal;

[0053] The interval T should not be too short, otherwise, it will cause misjudgment, and for a large number of nodes, frequent heartbeat messages will put...

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 method for improving the consensus efficiency of a blockchain, and the method comprises the steps: 1), enabling the number of all valid committee members in the blockchain tobe m, and generating a data block in each block output period t on the blockchain through a pBFT consensus algorithm; and 2) deploying a heartbeat monitoring smart contract in the blockchain, sendinga sign-in transaction in the heartbeat monitoring smart contract by all valid committee members in the blockchain within a specified time interval T, completing on-chain sign-in, then removing the valid committee members which are not signed in, and extracting nodes for inspection after removal. According to the invention, the valid committee members who do not sign in are removed, and differentcheck points are set for each group (one) of nodes, so that instant system paralysis caused by a herd effect can be effectively prevented.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a method for improving consensus efficiency of block chains. Background technique [0002] Blockchain is a special distributed database. The system generates bookkeeping nodes in the committee nodes according to a certain consensus algorithm, records and modifies the information on the chain, and synchronizes to all committees. Based on the pBFT (distributed consensus algorithm) consensus algorithm, there are the following two problems: [0003] First, under a certain probability, committee members who are not online are selected as bookkeeping nodes, and valid blocks cannot be produced, which leads to empty blocks in this round of bookkeeping. [0004] Second, when a large number of committee members gradually go offline, the pBFT consensus algorithm will not be completed, and the system will be stagnant in the current round, unable to continue, resulting in the paralysis ...

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/26H04L29/08H04L12/24G06Q40/04
CPCG06Q40/04H04L41/0663H04L43/10H04L43/16H04L67/1031H04L67/1034
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