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

Control method and device for block production node

A control method and control device technology, applied in the Internet field, can solve the problems of large propagation delay and the forking of the last few blocks, and achieve the effect of ensuring reliability and security

Active Publication Date: 2021-12-07
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the large propagation delay of the actual P2P network, when the block production node changes (rotation), if the block of the previous block generation node has not been broadcast to the next block generation node, it may cause the previous block The last few blocks of the generation node were forked

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
  • Control method and device for block production node
  • Control method and device for block production node
  • Control method and device for block production node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In the following, only some exemplary embodiments are briefly described. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and descriptions are to be regarded as illustrative in nature and not restrictive.

[0056] figure 1 A flowchart showing a control method of a block production node according to an embodiment of the present invention. Such as figure 1 As shown, the method can be applied to the first node, the first node is the current block production node, and the method can include the following steps:

[0057] Step S11, broadcasting a first handshake request message, the first handshake request message includes relay information, and the relay information is used to make the node receiving the first handshake request message determine the connection with the first node connection relationship.

[005...

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

Embodiments of the present invention propose a method and device for controlling a block production node. The method is applied to a first node, and the method includes: broadcasting a first handshake request message, the first handshake request message including relay information; if a handshake response message returned by the second node is received, using the handshake The response message establishes a direct connection with the second node, wherein the second node is a block production node waiting for a shift, and the second node determines not to be directly connected to the first node according to the relay information ; sending the produced block to the second node via the direct connection. When the block production node is on duty, the direct connection between the block production nodes is established through the handshake protocol, and the block can be propagated through the direct connection, reducing the risk of the block produced by the previous block production node being forked.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a control method and device for a block production node. Background technique [0002] The Delegated Proof of Stake (DPoS, Delegated Proof of Stake) mechanism generally selects N candidate block generation nodes every preset time length (one block cycle). Determine the block generation sequence of each candidate block generation node. Divide the block generation time required for a block generation cycle into N time periods. Then assign each time period to each candidate block generation node according to the block generation order. Block production nodes collaborate to produce blocks and spread messages through a peer-to-peer (P2P, peer-to-peer) network. [0003] Each candidate block generation node of DPoS generates blocks based on time. Due to the large propagation delay of the actual P2P network, when the block production node changes (rotation), if the block...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L63/08H04L67/104H04L67/141
Inventor 郑旗肖伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD