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

A method and apparatus for controlling a 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: 2019-01-25
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF10 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
  • A method and apparatus for controlling a block production node
  • A method and apparatus for controlling a block production node
  • A method and apparatus for controlling a 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

The embodiment of the invention provides a method and a device for controlling a block production node. The method is applied to a first node. The method comprises: broadcasting a first handshake request message, wherein the first handshake request message includes relay information; If a handshake response message returned by a second node is received, establishing a direct connection with the second node using the handshake response message, wherein the second node is a block production node waiting for rotation, and the second node determines not to be directly connected with the first nodeaccording to the relay information; The produced block is sent to the second node through the direct connection. When the block production node rotates, the direct connection between the block production nodes is established by handshake protocol, and the block propagation can be carried out through the direct connection, which reduces 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 Applications(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L63/08H04L67/104H04L67/141
Inventor 郑旗肖伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD