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

Block chain data archiving method and device and computer readable storage medium

A data archiving and blockchain technology, applied in the field of communication, can solve the problems of lack of credibility of state data snapshots, transaction conflicts, snapshot read failures, etc.

Active Publication Date: 2020-05-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the research and practice of the existing technology, the inventors of the present invention found that for the existing blockchain data archiving method, since the blockchain system is still providing transaction services normally when the ledger snapshot is generated, If there is still a transaction when reading and writing snapshots of the state data of the bookkeeping node, it will conflict with the transaction, resulting in failure to read the snapshot or inaccurate data read from the snapshot, and the generated state data snapshot lacks credibility. Therefore, the archiving efficiency and archiving effect of blockchain data will be greatly reduced

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 archiving method and device and computer readable storage medium
  • Block chain data archiving method and device and computer readable storage medium
  • Block chain data archiving method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] 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 only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0049] Embodiments of the present invention provide a blockchain data archiving method, device, and computer-readable storage medium. Wherein, the block chain data archiving device can be integrated in an electronic device, and the electronic device can be a server, or a terminal and other equipment.

[0050] Among them, the blockchain data archiving method of this application is mainly used in the blockchain system, and the blockchain is a new application mode of computer tec...

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 block chain data archiving method and device and a computer readable storage medium. According to the embodiment of the invention, after a first accountingnode and a consensus node carry out block chain data synchronization, the synchronization block height of the synchronized block chain data is determined, when the synchronous block height reaches theblock height corresponding to the preset archiving point, the first accounting node determines target state data required by the current transaction in the state data, the target state data is backedup; then, a state data snapshot of the synchronization block height is generated according to the backed-up target state data; the state data snapshot, the synchronization block height and the signature information serve as archiving point information and are sent to a second accounting node, the first accounting node receives endorsement information of the second accounting node for the archiving point information, and the first accounting node archives the synchronized block chain data according to the endorsement information and the archiving point information. According to the scheme, thearchiving efficiency and the archiving effect of the block chain data can be improved.

Description

technical field [0001] The present invention relates to the field of communication technology, and in particular to a blockchain data archiving method, device and computer-readable storage medium. Background technique [0002] In recent years, with the development of blockchain technology, the application of blockchain systems in the field of transactions has become more and more extensive. As the running time of the blockchain system increases, the storage space occupied by the blockchain data of each node in the blockchain system will become larger and larger. In order to avoid the block chain data occupying a large space, it is necessary to periodically archive the block chain data. The existing blockchain data archiving method is to periodically generate ledger snapshots, then store the ledger snapshots in a dedicated distributed storage system, and finally store block data such as blocks before the snapshot point, transaction information, and receipts locally Delete t...

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/11G06F16/182G06F11/14
CPCG06F16/27G06F16/113G06F16/182G06F11/1464G06F16/178G06F2201/84
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