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

A consensus process recovery method and related nodes

A node and consensus technology, applied in the field of big data, can solve the problem of slow recovery of consensus process, and achieve the effect of avoiding long delay in consistency processing

Active Publication Date: 2022-05-13
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention discloses a consensus process recovery method and related nodes, which can solve the problem that the recovery speed of the consensus process is slow after the failure of the master node in the consistency processing process

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 consensus process recovery method and related nodes
  • A consensus process recovery method and related nodes
  • A consensus process recovery method and related nodes

Examples

Experimental program
Comparison scheme
Effect test

example 102

[0052] Each instance 102 is collectively run by a cluster of nodes. Specifically, each node 101 in the node cluster 10 can be divided into several logical nodes, each logical node can act as a running node of an instance, and several logical nodes on one node 101 can act as running nodes of different instances respectively. node, any two logical nodes on a node cannot serve as the running nodes of an instance at the same time; Run node.

[0053]The node cluster includes a master node and one or more slave nodes running each instance. Specifically, any instance requires multiple logical nodes to run together, and there must be a master node and one or more slave nodes among the multiple logical nodes, that is, multiple nodes contained in the node cluster need to have a The node (the logical node) acts as the master node of this instance, and the other nodes (the logical nodes) act as the slave nodes of this instance. Moreover, any node in the node cluster can serve as the ma...

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 present application provides a consensus process recovery method and related nodes. The method is applied to a node cluster. The node cluster includes multiple nodes. Multiple nodes run multiple instances together. For each instance, there is a node among the multiple nodes As the master node of the instance, the rest of the nodes are slave nodes of the instance; multiple master nodes corresponding to multiple instances are different nodes, the method includes: one or more nodes in the multiple nodes from one or more The target instance is determined from the slave instances, and the throughput of the target instance is higher than that of the master instance; the first node reaches a consensus with each second node to replace the target instance with the master instance as the new master instance, and the second node is running The slave node of the target instance, the first node is the master node running the target instance. Adopting the method of the embodiment of the present application can solve the problem that the recovery speed of the consensus process is slow after the failure of the master node in the consistency processing process, and the present application can be specifically used in blockchain technology.

Description

technical field [0001] The present invention relates to the technical field of big data, in particular to a consensus process recovery method and related nodes. Background technique [0002] Blockchain is a chained data structure that combines data blocks in a sequential manner, and is a cryptographically guaranteed non-tamperable and unforgeable distributed ledger. Existing node clusters that implement blockchain solutions use practical byzantine fault tolerance (PBFT) algorithms for consensus when solving the problem of negotiation between nodes and how to make decisions about how to generate new blocks. The consensus efficiency is the service provided by the blockchain core competencies. The core theory of the PBFT algorithm is n>=3f+1, where n is the total number of nodes in the node cluster, and f is the maximum number of nodes that are allowed to fail. That is, when there are no more than f nodes with Byzantine fault tolerance (such as sending malicious error mess...

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): H04L41/0668H04L67/1042H04L9/40G06Q40/04H04L9/32
CPCH04L41/0668H04L67/1051H04L63/12G06Q40/04H04L9/3255H04L9/3247H04L9/3239G06Q40/00G06Q2220/00H04L9/50G06F11/0709G06F11/2028G06F21/44
Inventor 丁健刘勋曹朝
Owner HUAWEI TECH CO LTD