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

Consensus process recovery method and related nodes

A recovery method and node technology, applied in the field of big data, can solve problems such as slow recovery of the consensus process

Active Publication Date: 2020-02-11
HUAWEI TECH CO LTD
View PDF5 Cites 2 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
  • Consensus process recovery method and related nodes
  • Consensus process recovery method and related nodes
  • 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 running nodes of an instance at the same time; for any instance, each node that has not failed in the multiple nodes needs to provide a logical node as the running node of this instance 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 t...

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 provides a consensus process recovery method and related nodes, the method is applied to a node cluster, the node cluster comprises a plurality of nodes, the pluralityof nodes jointly operate a plurality of instances, and for each instance, one of the plurality of nodes is used as a master node of the instance, and the rest nodes are used as slave nodes of the instance; and the plurality of master nodes corresponding to the plurality of instances are different nodes. The method comprises the following steps: one or more nodes in the plurality of nodes determinea target instance from one or more slave instances, and the throughput of the target instance is higher than that of the master instance; the first node and each second node reach a consensus so as to replace the main instance with the target instance to become a new main instance, wherein the second node is a slave node for operating the target instance, and the first node is a main node for operating the target instance. By adopting the method provided by the embodiment of the invention, the problem that the consensus process recovery speed is relatively low after the main node fails in theconsistency processing process can be solved.

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