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

A method and system for electing consensus nodes and generating node information tables

A node information and node generation technology, applied in data processing applications, finance, instruments, etc., can solve the problems of Byzantine fault consensus, failure, and inability to eliminate Byzantine nodes, and achieve the effect of reducing the probability of Byzantine errors.

Active Publication Date: 2021-03-19
上海分布信息科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of checking, verifying, and confirming, it is impossible to eliminate the participation of Byzantine nodes, that is, nodes that make mistakes or do evil, so it may lead to Byzantine failure (Byzantine failure), that is, consensus failure

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 system for electing consensus nodes and generating node information tables
  • A method and system for electing consensus nodes and generating node information tables

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] see figure 1 , which is Embodiment 1 of the method for electing a consensus node and generating a node information table provided by this application, including the following steps.

[0028] Statistical step 102: Statistics of the mortgage equity value of each synchronization node.

[0029]Election step 104: From all synchronization nodes, select K synchronization nodes with the highest mortgage equity value to become new consensus nodes. where K is the number of consensus nodes. For example, sort the synchronization nodes according to the mortgage equity value from high to low, and select the top K synchronization nodes as the new consensus nodes.

[0030] Calculation step 106: Calculate the number of times each new consensus node reappears in the node information table according to the mortgage equity value of each new consensus node and the length L of the node information table. The calculation principle is: the new consensus node with higher mortgage equity valu...

Embodiment 2

[0041] see figure 2 , which is the second embodiment of the method for electing a consensus node and generating a node information table provided by this application, including the following steps.

[0042] Gathering step 101: Combine multiple physical synchronization nodes into one virtual synchronization node. For example, sharding (Sharding) technology, distributed computing technology, etc. are used to realize it. The main purpose of this operation is to combine the computing capabilities of multiple physical synchronization nodes to form a unified and relatively powerful computing capability. If the consensus node has certain requirements for computing power, and a single physical synchronization node cannot meet the computing power requirements, multiple physical synchronization nodes can be combined into a virtual synchronization node to meet the computing power requirements.

[0043] Subsequent steps are the same as in Embodiment 1, and the virtual synchronization n...

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 application discloses a method for electing a consensus node and generating a node information table, comprising: a counting step of counting the mortgage equity values of each synchronization node; an election step of selecting the synchronization node with the highest mortgage equity value to become the new consensus node; a calculation step of calculating the number of times each new consensus node is repeated in the node information table, which is positively correlated with the mortgage equity value of the node; a table generation step of generating a node information table for the new consensus node; and an out-of-order step of scrambling the order of the data in the node information table to form a node information table of the final new consensus node for selecting consensus nodes to participate in the consensus process. The application also discloses a system for electing a consensus node and generating a node information table. This application allows the consensus nodeswith higher mortgage equity values to participate more in the consensus process, and the nodes are trustworthy, thus reducing the probability of a Byzantine fault in the consensus algorithm.

Description

technical field [0001] This application relates to a consensus mechanism in a blockchain (Blockchain) network, in particular to a method for selecting consensus nodes therein. Background technique [0002] In the "White Paper on China's Blockchain Technology and Application Development" issued by the Ministry of Industry and Information Technology on October 18, 2016, the blockchain is defined as a kind of participant who does not need to participate in the intermediary and can also rely on mutual distrust or weak trust. A technology that maintains a set of non-tamperable ledger records. First of all, the blockchain is a chain-like data structure with blocks as the unit, and each block is linked with the previous block through cryptographic proof. Secondly, the blockchain is a distributed ledger shared by the entire network. In many scenarios, the two technical terms blockchain and distributed ledger have the same meaning. [0003] Typically, blockchain technology is used...

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): G06Q40/04
CPCG06Q40/04
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