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

Consensus mechanism implementation method and apparatus of blockchain system, medium and system

An implementation method and technology of blockchain, applied in the field of medium, consensus mechanism implementation method, device and system of blockchain system, can solve the problems of voters being unable to observe the production block situation at all times and failing to vote in time.

Active Publication Date: 2018-12-07
科岸(厦门)科技有限公司
View PDF4 Cites 4 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 observe the production block status of each node at all times, 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
  • Consensus mechanism implementation method and apparatus of blockchain system, medium and system
  • Consensus mechanism implementation method and apparatus of blockchain system, medium and system
  • Consensus mechanism implementation method and apparatus 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 observe the production block status of each node at all times, 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. The implementation method of the consensus mechanism of the block chain system provided by the embodiment of the present invention first creates...

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 consensus mechanism implementation method of a blockchain system. The method comprises the following steps: creating a system node weight table; parsing a broadcast block synchronization packet issued by a production node of a previous block in the blockchain system; enquiring the ip address of each node according to the system node weight table, subtracting 1 from a nodeweight value of an offline node, adding 1 to the node weight value of an online node, updating the system node weight table, and processing the node weight value corresponding to the ip address of each node in the system node weight table to obtain a total weight value L and a weight probability axis; and generating a random number r according to values 1 to L, and confirming the production node of the next block by judging a node weight value interval where the random number r is located. Therefore, according to the consensus mechanism implementation method provided by the invention, by obtaining the weight probability axis, the probability of the node with longer online time to become a block producer is the highest, so that the possibility that the frequently offline node becomes the block producer is greatly reduced.

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 order and filtering invalid transactions. The compelling security of DPOS comes from its selection of block producers and the quality of verification nodes algorithm. In the blockchain system under the existing DPOS consensus mechanism, the selection of block production nodes is realized through voting. However, because voters cannot observe the production block status of each node at all times, 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 the invention [0003] The...

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 Applications(China)
IPC IPC(8): H04L29/06H04L29/08G06Q40/04G06F17/30
CPCG06Q40/04H04L67/10H04L69/22
Inventor 吴胜文
Owner 科岸(厦门)科技有限公司