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

Block chain data cutting method and device, node recovery method and device, equipment and medium

A recovery method and blockchain technology, applied in database distribution/replication, database indexing, structured data retrieval, etc., can solve problems such as disk space expansion

Pending Publication Date: 2020-09-01
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a block chain data clipping method, device, equipment, and medium to solve the problem of disk space expansion and bandwidth problems when the block data in the existing fabric block chain account book continues to increase.

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
  • Block chain data cutting method and device, node recovery method and device, equipment and medium
  • Block chain data cutting method and device, node recovery method and device, equipment and medium
  • Block chain data cutting method and device, node recovery method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0062] The purpose of the block chain data clipping method provided by the embodiment of the present invention is to overcome the problem of disk space expansion and bandwidth problems caused by the continuous increase of block data in the existing fabric block chain ledger, and to reduce the disk space and bandwidth occupied by the block data. The bandwidth space occupied when pulling block data reduces the impact of block data on the blockchain networ...

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 block chain data cutting method, which comprises the steps of a block chain node acquiring a cutting parameter, wherein the block chain node comprises a first state databaseand a second state database; obtaining read-write set information corresponding to a to-be-clipped block from the first state database according to clipping parameters, and writing the read-write setinformation into the second state database; acquiring block data corresponding to the to-be-clipped block and index data and configuration blocks thereof according to the clipping parameters; generating a snapshot file corresponding to the cutting operation according to the block data corresponding to the to-be-cut block, the index data of the to-be-cut block, a configuration block and read-writeset information in the second state database; and deleting the block data corresponding to the to-be-clipped block and the index data of the to-be-clipped block from the block chain node. According tothe method, the problems of disk space expansion and bandwidth generated when block data in an existing Fabric block chain account book is continuously increased are solved.

Description

technical field [0001] The present invention relates to the field of information technology, and in particular to a block chain data clipping method, node recovery method, device, equipment and medium. Background technique [0002] The fabric blockchain ledger includes two types of nodes: sorting node / consensus node (Orderer) and verification node (peer). The Orderer node receives all the blocks on the chain for sorting, and saves the block data locally and broadcasts it to the peer node. Each peer node checks the validity of the block data and writes it to the local disk. [0003] In the blockchain ledger, each Orderer node and peer node must save a full amount of data. With the development of business, the number of blocks increases day by day, thus occupying a large amount of disk space. With the occupation of disk space, there will be many inconvenient things such as downtime for physical system expansion in the future. [0004] If a new node joins the blockchain net...

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): G06F16/27G06F16/22G06F16/215G06F3/06
CPCG06F16/27G06F16/22G06F16/215G06F3/0608
Inventor 陈沐豪褚镇飞
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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