Data consensus method and device based on block chain, electronic equipment and storage medium

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

Active Publication Date: 2021-06-04
NETEASE HANGZHOU NETWORK
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In pbft, it is a three-stage consensus process, that is, a block needs to go through three stages from the proposal to the confirmation process, each stage req

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
  • Data consensus method and device based on block chain, electronic equipment and storage medium
  • Data consensus method and device based on block chain, electronic equipment and storage medium
  • Data consensus method and device based on block chain, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0064] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0065] Like numbers and letters denote similar items in the following figures, so that once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0066] figure 1 It is a schematic diagram of the architecture of the blockchain system provided by the embodiment of this application. like figure 1 As shown, the blockchain system includes: a plurality of blockchain nodes 100 . Blockchain nodes 100 can be computers, servers or mining machines. Multiple blockchain nodes 100 are connected through a wireless network.

[0067] Among th...

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 provides a data consensus method and device based on a block chain, electronic equipment and a storage medium, the method is executed by any block chain node in a block chain network, and the method comprises the following steps: according to the serial number of the node and the current consensus round, judging whether the node is a block-out node; if the node is a block-out node, obtaining transaction data from a transaction pool, and packaging the transaction data to generate a first block; broadcasting the first block to a plurality of consensus nodes in the block chain network, so that the consensus nodes verify the first block and broadcast an execution result of the first block; and receiving execution results of the first block broadcasted by the plurality of consensus nodes, and if the execution results of the first block broadcasted by the consensus nodes exceeding a specified proportion are the same as the execution results of the node executing the first block, determining that the first block passes the consensus. According to the scheme, consensus efficiency can be improved, and consensus time is shortened.

Description

technical field [0001] The present application relates to the technical field of blockchain, in particular to a blockchain-based data consensus method and device, electronic equipment, and a computer-readable storage medium. Background technique [0002] Byzantine fault tolerance technology is a kind of fault tolerance technology in the field of distributed computing. The Byzantine assumption is a modeling of the real world, where computers and networks may behave unpredictably due to hardware errors, network congestion or outages, and malicious attacks. Byzantine fault-tolerant techniques are designed to handle these abnormal behaviors and meet the specification requirements of the problem to be solved. [0003] Currently, pbft (Practical Byzantine Fault Tolerant Algorithm) is used as the consensus algorithm of the alliance chain. The PBFT algorithm can guarantee that if there are 3f+1 nodes, even if there are f errors or no response, the correct result of the consensus c...

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
IPC IPC(8): G06Q40/04G06F21/60G06F21/64G06F16/23
CPCG06Q40/04G06F21/602G06F21/64G06F16/2365
Inventor 胡志鹏赖奕宇曹崇瑞
Owner NETEASE HANGZHOU NETWORK
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