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

Consensus node determination method and device of block chain, equipment and storage medium

A determination method and technology of blockchain, applied in the field of blockchain, can solve the problems of malicious nodes participating in the election, hidden dangers of blockchain system, etc., and achieve the effect of improving security and ensuring randomness.

Active Publication Date: 2019-12-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a blockchain consensus node determination method, device, equipment, and storage medium, which can solve the problem of determining the same candidate node as a consensus node multiple times in related technologies, causing the candidate node to be malicious, and then giving Blockchain system brings security risks

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 node determination method and device of block chain, equipment and storage medium
  • Consensus node determination method and device of block chain, equipment and storage medium
  • Consensus node determination method and device of block chain, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0028] Before explaining in detail the method for determining the consensus node of the blockchain provided by the embodiment of the present application, the implementation environment provided by the embodiment of the present application is firstly introduced.

[0029] See figure 1 , figure 1 It is a schematic diagram of an implementation environment shown according to an exemplary embodiment. The implementation environment includes a block chain system, the block chain system can include multiple nodes, the multiple nodes can be divided into consensus nodes 101 and candidate nodes 102, the consensus nodes can be used to generate blocks, and the candidate nodes are A node that has staked its rights and interests in the blockch...

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 consensus node determination method and device of a block chain, equipment and a storage medium, and belongs to the technical field of block chains. The method comprises thefollowing steps: receiving node signatures which are sent by the plurality of candidate nodes and comprise each candidate node, random numbers generated by each candidate node based on the random number seeds, and transaction data of random number verification data, verifying the node signature of each selected node; and verifying the random number generated by each selected node based on the random verification data generated by each selected node, and when the check is passed, determining the selection probability of each selected node according to the random number and the mortgage right and interest value generated by each selected node, and determining a consensus node of the next round from the plurality of selected nodes based on the selection probability. Thus, the selection probability of each selected node is determined according to the random number and the mortgage right value of each selected node, the randomness of the result is ensured, and the problem that the same nodeis selected as a consensus node is avoided.

Description

technical field [0001] The present application relates to the technical field of blockchain, and in particular to a method, device, equipment and storage medium for determining a consensus node of blockchain. Background technique [0002] A blockchain system generally includes a plurality of nodes, and the plurality of nodes includes a consensus node, which can be used to generate blocks and broadcast blocks in the blockchain system. In the implementation, if a fixed node is always used as the consensus node, the consensus node may be maliciously attacked, thus bringing security risks to the blockchain system. Therefore, every once in a while, it is necessary to re-determine the next round of consensus nodes from the candidate nodes of the blockchain system, where the candidate nodes refer to nodes that have mortgaged their rights and interests in the blockchain system. [0003] In related technologies, a random number can be generated by the current round of consensus node...

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): G06Q20/38
CPCG06Q20/3829
Inventor 刘攀李茂材王宗友蓝虎张劲松杨常青
Owner TENCENT TECH (SHENZHEN) CO LTD
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