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

A method, system and storage medium for blockchain data clipping

A blockchain and block technology, applied in the field of blockchain, can solve problems such as inefficiency and unreasonable preservation of block transaction data, and achieve the effect of reducing data volume, improving transaction efficiency, and ensuring consistency

Active Publication Date: 2022-06-24
南京金宁汇科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, it is unreasonable and inefficient for nodes to save all block transaction data

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
  • A method, system and storage medium for blockchain data clipping
  • A method, system and storage medium for blockchain data clipping
  • A method, system and storage medium for blockchain data clipping

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The present invention will be further explained and illustrated below in conjunction with the accompanying drawings and specific embodiments of the description. The step numbers in the embodiments of the present invention are set only for the convenience of description, and the sequence between the steps is not limited, and the execution sequence of the steps in the embodiments can be performed according to the understanding of those skilled in the art Adaptive adjustment.

[0059] An embodiment of the present invention provides a method for cutting blockchain data, including the following steps:

[0060] Determine the checkpoint according to the voting results of each node in the blockchain;

[0061] Generate a checkpointed state database and a hash value of the state database;

[0062] adding the hash value to transaction information, and packaging the transaction information into a pre-designated block;

[0063] After a consensus is formed on the pre-designated bl...

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 method, system and storage medium for cutting block chain data. The method includes the following steps: determining a checkpoint according to the voting results of each node in the block chain; generating a state database of the checkpoint and a state database of the state database. hash value; add the hash value to the transaction information, and pack the transaction information into a pre-designated block; after forming a consensus on the pre-designated block through the blockchain nodes, the block before the checkpoint block deletion. The invention replaces the designated block transaction history data with state database files through block chain consensus, which not only ensures the consistency of state data in the block chain system, but also reduces the amount of data that nodes need to store, and can increase the amount of data Huge transaction efficiency can be widely used in the field of blockchain technology.

Description

technical field [0001] The invention relates to the technical field of blockchain, in particular to a method, system and storage medium for cutting blockchain data. Background technique [0002] In the blockchain, under normal circumstances, each blockchain node needs to save all the historical data, because the blockchain data is an important way for the node to obtain the current system state data, that is, by traversing and executing all the historical data of the block to generate the state database of the current system; in the Bitcoin blockchain, some nodes can use the clipping mode to directly delete all the data before the block called checkpoint, but there must be a complete database that saves all block data. Node exists. [0003] In a highly concurrent blockchain system, the amount of transaction data is very large, resulting in a very large amount of historical data in blocks, which requires high storage capacity of all blockchain nodes. However, in practical a...

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 Patents(China)
IPC IPC(8): G06F16/16G06F16/22G06Q20/38
CPCG06F16/2255G06Q20/3827G06F16/162
Inventor 石宁甘子荣李达王晨旭
Owner 南京金宁汇科技有限公司