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

Blockchain consensus processing method and device, electronic equipment and storage medium

A blockchain and consensus technology, applied in the blockchain field, can solve problems such as the unavailability of the blockchain system, the inability of consensus nodes to restore the consensus process, and the loss of consensus messages by consensus nodes, so as to achieve the effect of improving the availability of consensus

Active Publication Date: 2021-03-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the consensus algorithm of the blockchain system is a memory operation. When the consensus node is down and restarted, because the consensus node loses the consensus message, the consensus node cannot resume the consensus process, which in turn leads to the unavailability of the entire blockchain system.

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
  • Blockchain consensus processing method and device, electronic equipment and storage medium
  • Blockchain consensus processing method and device, electronic equipment and storage medium
  • Blockchain consensus processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0018] The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices entity.

[0019] The flow charts shown ...

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 blockchain consensus processing method and device, and the method comprises the steps: recording consensus messages obtained by a consensus node into a consensus log, so as to enable the consensus log to store the consensus messages according to a local time sequence; in the consensus process carried out by the consensus node according to the obtained consensus messages, if it is detected that the consensus node breaks down, the consensus log is called after the fault is recovered so as to obtain the consensus messages stored by the consensus log inthe consensus process according to the local time sequence; and re-executing the consensus process in the consensus node according to a local time sequence corresponding to the consensus message according to the consensus message obtained from the consensus log. According to the method of the embodiment of the invention, after the fault of the consensus node is recovered, the consensus state of the consensus node before the fault can be rapidly recovered.

Description

technical field [0001] The present application relates to the technical field of block chain, specifically, to a block chain consensus method and device, electronic equipment, and a computer-readable storage medium. Background technique [0002] At present, the consensus algorithm of the blockchain system is all memory operations. When the consensus node is down and restarted, because the consensus node loses the consensus message, the consensus node cannot resume the consensus process, which in turn leads to the unavailability of the entire blockchain system. Therefore, how to improve the consensus availability of the blockchain system is an unresolved problem in the prior art. Contents of the invention [0003] In order to solve the above technical problems, embodiments of the present application provide a blockchain consensus processing method and device, electronic equipment, and a computer-readable storage medium. [0004] According to an aspect of the embodiment of ...

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): G06F11/14G06F16/27
CPCG06F11/1446G06F16/27
Inventor 刘攀
Owner TENCENT TECH (SHENZHEN) CO LTD
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