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

Consensus node election method and device, storage medium and node equipment

A node and consensus technology, applied in the field of consensus, can solve problems such as poor performance and insufficient reliability, and achieve the effect of improving consensus performance, increasing credibility, and reducing the probability of nodes participating in consensus

Active Publication Date: 2022-07-29
得分数字科技(珠海)有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of this application provides a consensus node election method, device, storage medium and node equipment, which can solve the problems of poor performance and insufficient reliability of consensus nodes in the prior art when performing consensus

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 election method and device, storage medium and node equipment
  • Consensus node election method and device, storage medium and node equipment
  • Consensus node election method and device, storage medium and node equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

[0033] It should be noted that the method for electing a consensus node provided by this application is generally performed by a computer device, and accordingly, the device for electing a consensus node is generally set in the computer device.

[0034] figure 1 An exemplary system architecture of the consensus node election method or consensus node election apparatus that can be applied to the present application is shown.

[0035] like figure 1 As shown, the system architecture may include: a client device 101 and a distributed cluster 102, the distributed cluster 102 includes a plurality of nodes, and the distributed cluster forms a blockchain network. The client device 101 and the distributed cluster 102 can communicate through the ...

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 discloses a consensus node election method and device, a storage medium and node equipment, and relates to the field of consensus. The method comprises the following steps: acquiring channels to which data to be consensus belongs to obtain a channel set; combining nodes included in each channel in the channel set to obtain a first node set; counting the occurrence frequency of each node in the first node set; performing duplicate removal processing on the first node set according to the occurrence frequency to obtain a second node set; calculating the delay weight of each node in the second node set; calculating the total weight of each node in the second node set according to the occurrence frequency and the delay weight; and selecting a consensus node in a node subset belonging to the same mechanism in each channel according to the total weight and the generated random number. The consensus node selected by the application can improve the system performance and the consensus reliability when executing the consensus.

Description

technical field [0001] The present application relates to the field of consensus, and in particular, to a method, device, and storage medium node device for electing a consensus node. Background technique [0002] In a distributed cluster, the Byzantine Fault Tolerance (PBFT) algorithm or the Round Robin Byzantine Fault Tolerance (RPBFT) algorithm is generally used to perform consensus operations. When there are multiple isolated channels that require consensus at the same time, system performance and reliability Sex cannot be guaranteed at the same time. [0003] For example: for a distributed cluster including 4 institutions, each institution includes 16 nodes, when all 64 nodes are consensus nodes, a large number of messages will be sent inside the system, and the communication performance is very poor. When a consensus node polls, if it happens to poll multiple nodes of the same institution as consensus nodes, the institution can arbitrarily tamper with the consensus co...

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): H04L9/32H04L67/10G06F15/17
CPCH04L9/3228H04L67/10G06F15/17
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