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

Data disaster tolerance method and device, computer equipment and storage medium

A data disaster recovery and local storage technology, which is applied in the blockchain field, can solve the problems of low disaster recovery performance of the blockchain network, and it takes a long time to backup.

Active Publication Date: 2019-12-13
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In this way, when a consensus node in the blockchain network fails, the newly added consensus node needs to spend a long time backing up the generated blocks in order to participate in the consensus work, which leads to the disaster recovery performance of the blockchain network. lower

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
  • Data disaster tolerance method and device, computer equipment and storage medium
  • Data disaster tolerance method and device, computer equipment and storage medium
  • Data disaster tolerance method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0043] The data disaster recovery method provided by this application can be applied to such as figure 1 shown in the application environment. refer to figure 1 , the data disaster recovery method is applied to a data disaster recovery system. The data disaster recovery system includes observer nodes 102 and consensus nodes 104 . Wherein, the observer node 102 and the consensus node 104 are in the same blockchain network. The blockchain network may specifically include one or more observer nodes 102 and multiple consensus nodes 104 . Both the observer node 102 and the...

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 relates to a data disaster tolerance method and device, computer equipment and a storage medium. The method comprises: obtaining a replacement instruction triggered when a locally observed consensus node breaks down, wherein the consensus node and the observer node are located in the same block chain network; determining an observation layer number corresponding to a block locally stored by the observer node according to the replacement instruction; from the observation layer number, pulling blocks of which the layer number is greater than the observation layer number from the block chain network in sequence; carrying out consensus on the pulled blocks in a block chain network, and storing the pulled blocks after consensus is completed until the number of layers of the locally stored blocks reaches the current highest layer number; and replacing the failed consensus node with a new consensus node. By adopting the method, the disaster tolerance performance of the blockchain network can be improved.

Description

technical field [0001] The present application relates to the technical field of block chain, in particular to a data disaster recovery method, device, computer equipment and storage medium. Background technique [0002] With the development of computer technology, blockchain technology has emerged. Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The blockchain network is a decentralized network. When a consensus node in the blockchain network fails and a new consensus node needs to be added, since it cannot be guaranteed which consensus node is completely reliable, it cannot be directly obtained from a certain consensus node. A consensus node directly copies the data as the data of the new consensus node. [0003] In traditional technology, once the consensus node in the blockchain network fails, it is necessary to obtain data from any consensus nod...

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/24G06Q40/04
CPCH04L41/0668G06Q40/04
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