A blockchain fast consensus method and device

A blockchain and consensus technology, applied in the blockchain field, can solve problems such as slow consensus, low efficiency, and long time consumption, and achieve the effect of avoiding slow speed

Active Publication Date: 2022-03-04
广东卓启云链科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a blockchain fast consensus method and device, which is used to solve the technical problem of the PBFT Byzantine algorithm, the time consumption between the request and the response of the node pairwise interaction is too long, resulting in slow consensus and low efficiency

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
  • A blockchain fast consensus method and device
  • A blockchain fast consensus method and device
  • A blockchain fast consensus method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] For ease of understanding, see figure 1 , Embodiment 1 of a blockchain fast consensus method provided by this application, including:

[0051] Step 101, the control proposal node broadcasts proposal information to all trusted nodes in the preset blockchain system.

[0052] Among them, the proposal information corresponds to the proposal data request sent by the preset blockchain system to the proposal node.

[0053] Step 102: If the proposing node receives the first feedback information in response to the proposal information returned by all trusted nodes within the first preset time, then the consensus is successful if there is no negative vote in the first feedback information.

[0054] Step 103: If the proposing node does not receive the first feedback information in response to the proposal information returned by all trusted nodes within the first preset time, broadcast the proposal information to all common nodes.

[0055] Step 104: If the proposing node receives ...

Embodiment 2

[0060] For ease of understanding, see figure 2 , the embodiment of this application provides a second embodiment of a block chain fast consensus method, including:

[0061] Step 201. Determine the proposal nodes, trusted nodes and common nodes in the preset blockchain system.

[0062] It should be noted that the determination of the proposal nodes, trusted nodes, and common nodes in the pre-set blockchain system specifically includes the following steps: first, determine the target node that the pre-set blockchain system sends the proposal data request as the proposal node; then count The historical information of all nodes in all blockchain systems, and calculate the credibility points of each node based on these historical information; secondly, sort the credibility points of all nodes in descending order; finally, sort the top 2 / 3 nodes are trusted nodes, and the last 1 / 3 nodes are ordinary nodes.

[0063] It should be noted that any node in the preset blockchain system...

Embodiment 3

[0078] For ease of understanding, please participate in Figure 5 , this application also provides a third embodiment of a block chain fast consensus method, including:

[0079] Step 301. Determine the proposal nodes, trusted nodes and common nodes in the preset blockchain system.

[0080] It should be noted that the determination of the proposal nodes, trusted nodes, and common nodes in the pre-set blockchain system specifically includes the following steps: first, determine the target node that the pre-set blockchain system sends the proposal data request as the proposal node; then count The historical information of all nodes in all blockchain systems, and calculate the credibility points of each node based on these historical information; secondly, sort the credibility points of all nodes in descending order; finally, sort the top 2 / 3 nodes are trusted nodes, and the last 1 / 3 nodes are ordinary nodes.

[0081] It should be noted that any node in the preset blockchain syst...

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

This application discloses a blockchain fast consensus method and device. The method includes: controlling the proposal node to broadcast proposal information to all trusted nodes in the preset blockchain system; if the proposal node receives the The first feedback information returned by all trusted nodes in response to the proposal information, when there is no negative vote in the first feedback information, the consensus is successful; In response to the first feedback information of the proposal information, broadcast the proposal information to all ordinary nodes; if the proposal node receives the second feedback information in response to the proposal information returned by all ordinary nodes within the second preset time, then When the sum of the number of positive votes of the first feedback information and the second feedback information is greater than or equal to the first preset number, the consensus is successful. This application solves the technical problem that the PBFT Byzantine algorithm takes a long time, resulting in slow consensus and low efficiency.

Description

technical field [0001] The present application relates to the technical field of block chains, in particular to a fast consensus method and device for block chains. Background technique [0002] Blockchain is a decentralized distributed ledger system used to register and issue information such as digital assets, property rights certificates, points, etc. It needs to reach a consensus on the sequence of things within a similar time or within a time window to achieve The consensus method is the consensus mechanism. The consensus mechanism is a distributed consensus algorithm that the blockchain system transmits and synchronizes data in the Byzantine Generals Problem network according to its own business characteristics. It generally includes data broadcast verification, new block generation methods, block Broadcast verification, fork processing, etc. [0003] In the existing consensus mechanism, the PBFT practical Byzantine fault-tolerant algorithm achieves consensus through ...

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): H04L41/00H04L12/18G06F16/27
CPCH04L41/30H04L12/18G06F16/27
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