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

Consensus method and system in alliance chain

A consensus and alliance technology, applied in the computer field

Active Publication Date: 2020-08-11
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of this specification provides a consensus method and system in the consortium chain to solve the problem of how to ensure that the consensus master node after the view switch can accurately make a view switch decision after the New-View stage in the existing consortium chain

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 method and system in alliance chain
  • Consensus method and system in alliance chain
  • Consensus method and system in alliance chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solution and advantages of this document clearer, the technical solution of this specification will be clearly and completely described below in conjunction with specific embodiments of this specification and corresponding drawings. Apparently, the described embodiments are only some of the embodiments in this document, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this document.

[0024] The technical solutions provided by each embodiment of this specification will be described in detail below in conjunction with the accompanying drawings.

[0025] Such as figure 1 As shown in , it is a schematic flow chart of view switching in the existing PBFT algorithm. exist figure 1 The consensus network shown includes four consensus nodes, namely p0, p1, p2 and p3, where p0 is the consensu...

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 invention discloses a consensus method and system in an alliance chain. The method comprises the following steps: when a first consensus node in a consensus network of the alliance chain does notcomplete consensus operation on target to-be-consensus data within a preset time period, the first consensus node broadcasts a view switching ViewChange message in the consensus network based on a P set and a Q set constructed by the received ECHO message; the second consensus node receives the ViewChange message from the first consensus node according to the received ViewChange message, and sendsa view switching confirmation ViewChange ACK message corresponding to the received ViewChange message to a second consensus main node, wherein the second consensus main node is a consensus main nodeafter the first consensus main node; when the second consensus main node receives N-f-2 ViewChange ACK messages sent by a consensus node in the consensus network, a plurality of same P sets and a plurality of same Q sets in the received ViewChange messages are obtained; and the second consensus master node makes a view switching decision based on the received ViewChannel message.

Description

technical field [0001] This document relates to the field of computer technology, especially to a consensus method and system in an alliance chain. Background technique [0002] Currently, the adoption of Practical Byzantine Fault Tolerance (PBFT) mainly includes two parts, including Normal Case Phase and View Change Phase. Among them, the Normal Case Phase includes three phases: Pre-Prepare (pre-preparation phase), Prepare (preparation phase) and Commit (commitment phase) to complete the consensus. [0003] In the pre-preparation phase, the consensus master node initiates a proposal, and sends a PRE-PREPARE message for the proposal to each consensus backup node; in the preparation phase, each consensus backup node verifies the received PRE-PREPARE message. , send a PREPARE message to other consensus backup nodes and consensus master nodes; in the commit phase, the consensus backup node or consensus master node receives a PRE-PREPARE message and PREPARE messages from no les...

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): H04L29/06H04L12/24H04L12/18G06Q10/06
CPCH04L63/12H04L41/0893H04L12/18G06Q10/06311H04L2209/34H04L9/50H04L9/3239G06F21/64H04L67/108H04L9/3236H04L67/1063H04L67/1068H04L2209/463
Inventor 李帅
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD