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

Blockchain-based consensus method, device, equipment and storage medium

A blockchain and consensus technology, applied in the blockchain field, can solve the problems of low consensus data processing efficiency and achieve the effect of improving consensus efficiency

Active Publication Date: 2022-01-07
中钞信用卡产业发展有限公司杭州区块链技术研究院
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the consensus algorithm is implemented, the processing efficiency of the consensus data is relatively low

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-based consensus method, device, equipment and storage medium
  • Blockchain-based consensus method, device, equipment and storage medium
  • Blockchain-based consensus method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0113] The first node enters the prevote (50, 100) phase, and triggers a timer to start counting when a predetermined condition is met.

[0114] If the duration counted by the timer is greater than or equal to the predetermined duration and the prevote (50, 100) stage is not left, the first node packs a valid voting set.

[0115] Among them, the valid voting set includes valid precommit votes of the first node greater than 2 / 3×N in the precommit (50, 99) phase (that is, the first valid vote in the above) and the first node in the prevote (50, 100) phase All valid prevotes for .

[0116] After the second node receives the valid voting set, 1. If the second node is in the prevote (50, 30) stage, the consensus of the second node is relatively slow, and the second node itself has not yet reached precommit (50, 99), because there is If the valid precommit vote is greater than 2 / 3×N, the second node can directly enter the precommit (50,99) stage; 2. If the second node’s own stage i...

Embodiment 2

[0122] The first node enters the precommit (50, 100) phase, and triggers a timer to start counting when a predetermined condition is met.

[0123] If the duration counted by the timer is greater than or equal to the predetermined duration and the precommit (50, 100) stage is not left, the first node packs the valid voting set.

[0124] The valid voting set includes: valid prevote votes greater than 2 / 3×N in the prevote(50, 100) phase and all precommit votes in the precommit(50, 100) phase.

[0125] After the second node receives the valid voting set, if the second node is in the prevote (50, 30) stage, the consensus of the second node is relatively slow, and the second node itself has not yet reached the prevote (50, 100) stage, then the second node End the current prevote(50, 30) stage and enter the prevote(50, 100) stage.

[0126] In the above two embodiments, when the second node receives a valid voting set, fast-forward from the 30th round of consensus to the 100th round ...

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 discloses a block chain-based consensus method, device, equipment, and storage medium. The method is applied to the first node of the block chain. The method includes: entering the first round of R1 consensus In the first consensus stage, R1 is a natural number; when the predetermined condition is met, the timer is triggered to start counting; if the duration of the timer is greater than or equal to the predetermined duration, and remains in the first consensus stage of the R1 round of consensus, a valid vote is packaged set; wherein, the valid voting set includes a first valid voting set, and the first valid voting is used to prove that the first node enters the first consensus stage of the R1 round of consensus; broadcasting the valid voting set. Through the embodiments of the present invention, consensus efficiency can be improved.

Description

technical field [0001] The invention belongs to the field of block chains, and in particular relates to a consensus method, device, equipment and storage medium based on block chains. Background technique [0002] Blockchain is a decentralized distributed ledger system, which can be used to register and issue digital assets, property certificates, points, etc., and transfer, pay and trade in a peer-to-peer manner. Compared with the traditional centralized ledger system, the blockchain system has the advantages of being completely open, tamper-resistant, and preventing multiple payments, and does not rely on any trusted third party. [0003] Due to the high network delay in the peer-to-peer network, the sequence of transactions observed by each node cannot be completely consistent. Therefore, the blockchain system needs to design a mechanism to achieve consensus on the order of transactions that occur within a similar period of time. This algorithm for reaching a consensus ...

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): H04L67/104G06Q40/04
CPCH04L67/104H04L41/30G06Q40/04H04L2209/463
Inventor 窦兴蔡伟鑫张一锋范贵甫
Owner 中钞信用卡产业发展有限公司杭州区块链技术研究院