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

Node election method and device and storage medium

A node and standby node technology, applied in the blockchain field, can solve the problems that the standby node cannot be obtained in time and affect the operation of the blockchain network, and achieve the effect of improving the efficiency of endorsement

Active Publication Date: 2020-11-24
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under this architecture, if the master node goes down unexpectedly, the backup node will not be able to obtain the latest block in time, which will affect the operation of the entire blockchain network

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
  • Node election method and device and storage medium
  • Node election method and device and storage medium
  • Node election method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0026] The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, bu...

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 relates to the technical field of block chains, especially to a node election method and device and storage medium that are applied to a server. The method comprises the steps that when a plurality of standby nodes are started, a timer is sent to each standby node, timing operation is conducted on the standby nodes according to the timer corresponding to each standby node, and eachtimer corresponds to the same timing period; if the plurality of timers are in the timing period and at least one standby node receives heartbeat information sent by the main node, the identity states of the plurality of standby nodes are kept; and if each timer is overtime and the plurality of standby nodes do not receive the heartbeat information sent by the main node, the main node is determined to crash, a preset election algorithm is performed, a target main node is determined from the plurality of standby nodes, and the identity states of the remaining plurality of standby nodes are kept. By adopting the node election method and device provided by the embodiment of the invention, the operation of the whole blockchain network can be maintained.

Description

technical field [0001] The present application relates to the technical field of blockchain, and specifically relates to a node election method, device and storage medium. Background technique [0002] Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. A node in the blockchain can provide endorsement services to the client, including the repeatability check of the transaction ID, the generation of the transaction read-write set, and the final signature and other services; under the current master-standby synchronization architecture, the master node is mainly responsible for Obtain the block from the ordering node and perform signature verification and multi-version check on the block, while the standby node mainly provides the endorsement service to the client. Under this architecture, if the master node goes down unexpectedly, the standby node will not...

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): H04L12/26H04L12/24
CPCH04L43/10H04L43/0852H04L41/0668H04L41/0677Y02D30/70
Inventor 姚杰
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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