A blockchain-based block consensus method and related equipment

A blockchain and block technology, applied in the computer field, can solve the problems of low blockchain throughput, long time consumption, time consumption, etc., to achieve the effect of improving throughput and improving the efficiency of the chain

Active Publication Date: 2021-06-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, each consensus node needs to broadcast voting information in the consensus network during each round of voting. The network delay makes the consensus stage take a while, and the execution of the contract will also consume a lot of time
Therefore, the proposed block needs to complete the block consensus and then execute the contract. The whole process takes a long time, resulting in low throughput of the blockchain

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-based block consensus method and related equipment
  • A blockchain-based block consensus method and related equipment
  • A blockchain-based block consensus method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0087] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0088] Specifically, see figure 1 , figure 1 It is a schematic structural diagram of a blockchain node system provided by the embodiment of this application. Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism and encryption algorithm. It is mainly used to organize data in chronological order and encrypt them into ledgers so that they cannot be tampered with or forged. , and data verification, stora...

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 blockchain-based block consensus method and related equipment. The block consensus method includes: obtaining a proposed block, and verifying the validity of the proposed block; if the legality verification result of the proposed block is If the result is legal, the transaction data in the proposed block is executed through the smart contract to obtain the execution result of the target contract, and the block hash value of the proposed block and the execution result of the target contract are associated and cached in the temporary list; when the transaction is executed through the smart contract In the process of data processing, two rounds of consensus voting processing are performed on the proposed block in parallel to obtain the first consensus result; if the first consensus result is the result of consensus passing, then the block hash value mapped to the proposed block is obtained in the temporary list The execution result of the target contract, the proposed block and the execution result of the target contract are associated and stored in the blockchain. By adopting the method provided by the present invention, the time consumption of block chaining can be reduced, and the throughput of the block chain can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a blockchain-based block consensus method and related equipment. Background technique [0002] With the rapid development of network technology and the emphasis on data security by the government and enterprises, blockchain has received great attention and application. Before the nodes in the blockchain write the proposed block into the blockchain, the proposed block needs to be verified by the consensus nodes in the consensus network to reach a consensus on the proposed block. [0003] In the prior art, the tendermint (a Byzantine fault-tolerant protocol) consensus protocol is usually used for block consensus. In the tendermint consensus protocol, before a proposed block enters the submission stage, it needs to go through two rounds of voting in the consensus network. Each round of voting needs to be approved by more than two-thirds of the consensus nodes in the con...

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 & AuthorityPatents(China)
IPC IPC(8): G06F21/64G06Q20/38G06Q40/04
CPCG06Q40/04G06Q20/38G06F21/64H04L9/50G06Q20/3825G06Q20/3827G06Q20/401G06Q2220/00G06F21/602
Inventor刘区城李茂材王宗友蓝虎朱耿良周开班刘攀时一防廖志勇黄焕坤
OwnerTENCENT TECH (SHENZHEN) CO LTD