Block chain consensus method and system

A block chain and block technology, applied in the field of block chain, can solve the problems of high complexity of PBFT communication, high cost of interaction, waste of resources, etc., and achieve the effect of reducing differentiation, ensuring security, and achieving uniformity

Active Publication Date: 2018-11-02
SUN YAT SEN UNIV
View PDF4 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing blockchain consensus scheme, the consensus efficiency of PoW and PoS is very low, and mining causes a lot of waste of res

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
  • Block chain consensus method and system
  • Block chain consensus method and system
  • Block chain consensus method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0062] Please refer to figure 1 and figure 2 , a blockchain consensus method, comprising the following steps:

[0063] S1. Establish a hash ring, and map the hash value of the node and its virtual node and the hash value of the block to the same hash ring; wherein, the range of the hash ring address is [0, 2 a -1], and end to end, where a is a positive integer, and the value of a is determined by the number of nodes.

[0064] The present invention introduces virtual node technology to achieve the uniformity of node coverage, the number of virtual nodes of a physical node determines the probability of a node obtaining bookkeeping rights, and manages the probability of nodes obtaining bookkeeping rights by increasing or decreasing the virtual nodes of nodes, and The difference between nodes is narrowed by the number of virtual nodes to achieve reasonable and effective resource allocation.

[0065] S2. According to the address of the current block mapped to the hash ring, det...

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 block chain consensus method. The method comprises the following steps: establishing a Hash ring, and mapping a node and a Hash value of a virtual node thereof, and a Hash value of a block to the same Hash ring; determining the node capable of receiving a verification message and producing the next block right according to the address mapped to the Hash ring from the current block, wherein the node is the leader node, and the other nodes are follower nodes, the leader nodes adds the current block into the block chain after receiving the message that more than half follower nodes pass the current block verification, and broadcasts a confirm message and a packed next block content to the follower node; the follower node receives the broadcast message and adds the current block to the block chain when the message verification is passed, and then verifies the next block, and sends the verification message to the next leader node.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a block chain consensus method and system. Background technique [0002] At present, the existing Internet is still an information Internet, which has greatly improved the efficiency of information transmission, but has not greatly improved the efficiency of value transmission. We cannot exchange value on the network without banks or third-party trusted institutions. The next-generation Internet can not only realize information communication, but also realize direct communication of value. The birth of the blockchain is precisely to solve the problem of low value transfer efficiency. Currently, the blockchain technology is still completing the infrastructure construction of the value Internet. [0003] The consensus algorithm is an algorithm protocol that coordinates the consistency of all data in the entire network. Each node in the blockchain verifies and confirm...

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): H04L29/06H04L9/32H04L9/06G06Q40/04
CPCG06Q40/04H04L9/0643H04L9/3247H04L63/12
Inventor 沈鸿杨建
Owner SUN YAT SEN UNIV
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