Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for implementing consensus mechanism of blockchain system, medium, and system

An implementation method and blockchain technology, applied in devices and systems, consensus mechanism implementation methods of blockchain systems, and medium fields, can solve problems such as failure to vote in time, voters unable to keep an eye on the production block situation, etc., to reduce Possibility, effect of efficient operation

Active Publication Date: 2019-02-15
科岸(厦门)科技有限公司
View PDF9 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the blockchain system under the existing DPOS consensus mechanism, the selection of block production nodes is realized through voting. However, because voters cannot always pay attention to the production block status of each node, they do not vote in time, and the default is to follow the previous one. Vote according to the voting results, or vote for nodes that are often offline

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
  • Method and device for implementing consensus mechanism of blockchain system, medium, and system
  • Method and device for implementing consensus mechanism of blockchain system, medium, and system
  • Method and device for implementing consensus mechanism of blockchain system, medium, and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0027]In the blockchain system under the existing DPOS consensus mechanism, the selection of block production nodes is realized through voting. However, because voters cannot always pay attention to the production block status of each node, they do not vote in time, and the default is to follow the previous one. Vote according to the voting results, or vote for nodes that are often offline. In the implementation method of the consensus mechanism of the blockchain system provided by the embodiment of the present invention, when 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 proposes a method for implementing a consensus mechanism of a blockchain system. The method comprises the following steps: creating a system node weight table when the blockchain systemis initialized; when the current production node in the blockchain system is producing a block, querying the ip address of each node according to the system node weight table to determine whether there is a dropped node in the blockchain system; if there is a dropped node, decrementing the node weight value of the dropped node by 1, and updating the system node weight table; and when production nodes are generated based on the dpos consensus mechanism, selecting production nodes according to the number of votes of each node and the node weight value of each node. Therefore, the method providedby the invention links the offline time of the nodes with the statistical weight of the node voting number, so that even if the nodes that are frequently dropped have a high number of votes, the statistical weight of the voting number is not too high, thereby greatly reducing the possibility that the nodes that are often dropped become block production nodes, and ensuring that the blockchain system operates efficiently.

Description

technical field [0001] The invention relates to the technical field of information processing, in particular to a method, medium, device and system for realizing a consensus mechanism of a block chain system. Background technique [0002] The blockchain is essentially a deterministic state machine driven by transactions. Consensus is the process of agreeing on a deterministic transaction sequence and filtering invalid transactions. The compelling security of DPOS (Delegated Proof of Stake) comes from Its algorithm for selecting the quality of block producers and validators. In the blockchain system under the existing DPOS consensus mechanism, the selection of block production nodes is realized through voting. However, because voters cannot always pay attention to the production block status of each node, they do not vote in time, and the default is to follow the previous one. Vote according to the voting results, or vote for nodes that are often offline. Contents of t...

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/08H04L12/26
CPCH04L43/10H04L67/10H04L67/54
Inventor 吴胜文
Owner 科岸(厦门)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products