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

Data archiving method and system on blockchain

A block chain and block technology, applied in the field of block chain, can solve problems such as decrease in the number of full nodes, decrease in security, vulnerability to eclipse or witch attacks, etc., to improve work efficiency, reduce data pressure, maintain safe effect

Active Publication Date: 2020-12-01
DARKCHAIN TECH INC
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these methods still cannot solve the problem of increasing demand for storage space, and at the same time lead to a decrease in the number of full nodes. Full nodes are controlled by professional nodes, and unlicensed supervision is impaired. Eventually, decentralized accounting capabilities will be lost, and security will also be compromised. Descent, vulnerable to attacks such as eclipse or witches

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 archiving method and system on blockchain
  • Data archiving method and system on blockchain
  • Data archiving method and system on blockchain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] see figure 1 As shown, the present invention provides a method and system for archiving data on the blockchain chain, wherein the method includes the following steps:

[0057] Step S101, divide the traditional full nodes in the blockchain into bookkeeping nodes and historical archive nodes according to function settings;

[0058] Wherein, the bookkeeping node is responsible for new block verification and bookkeeping update, provides data services for other nodes, and participates in the synchronization process;

[0059] The historical archive node is used to maintain archived historical data;

[0060] Step S103, when the block chain is extended to the capacity limit value set by the system, the archiving operation is triggered;

[0061] Step S105, replacing the archived first blockchain segment with an index block at the corresponding position of the accounting node blockchain, and the index block is used to point to the archived historical data of the historical arch...

Embodiment 2

[0089] On the basis of Embodiment 1, this embodiment may also include the following:

[0090] see Figure 4 As shown, the embodiment of the present invention also proposes a data archiving system on the blockchain chain, which includes:

[0091] Bookkeeping node, which is responsible for new block verification and bookkeeping update, provides data services for other nodes, and participates in the synchronization process;

[0092] Historical archive node, which is used to maintain archived historical data;

[0093] Among them, when the blockchain extends to the capacity limit value set by the system, the archive operation is triggered;

[0094] In the corresponding position of the accounting node blockchain, the archived first blockchain segment is replaced with an index block, and the index block is used to point to the archived historical data of the historical archiving node.

Embodiment 3

[0096] see Figure 5 As shown, the present invention also proposes a block chain construction method, characterized in that:

[0097] When the length of the original block chain reaches the capacity limit value set by the system, the original block chain is divided into the first block chain and the second block chain, and the blocks in the first block chain the timestamp of the block is earlier than the timestamp of said second segment of the blockchain;

[0098] replacing the first block chain with an index block, and storing the first block chain in the first node;

[0099] addressing a block in the first block chain through the index block;

[0100] The index block and the second block chain constitute a new block chain, and the subsequent operations are continued.

[0101] Wherein the first node is a historical archive node, which is used to store the first block chain.

[0102] When the length of the second block chain reaches the capacity limit value set by the syst...

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 archiving method and system on a blockchain. The method comprises the steps of dividing traditional full nodes in the blockchain into accounting nodes and historical archiving nodes according to function setting; when the blockchain is extended to a capacity limit value set by the system, triggering an archiving operation; and replacing an archived first blockchainsegment with an index block at a corresponding position of the accounting node blockchain, wherein the index block is used for pointing to archived historical data of the historical archiving node. According to the method, the capability that a common user can be used as a full node to participate in accounting can be ensured, and the safety of a blockchain system is maintained; an account book iscompletely recorded without loss, and the whole historical process is traceable; the working efficiency of the blockchain system is improved, and the data pressure caused by time increase is reduced.

Description

technical field [0001] The invention belongs to the technical field of block chains, and in particular relates to a data archiving method and system on a block chain. Background technique [0002] Blockchain technology started with Bitcoin in 2009. As the first generation of blockchain technology, it is characterized by creating a new era of permissionless distributed ledgers based on P2P networks. In 2014, Ethereum improved the virtual machine on the basis of Bitcoin, using the complete Turing machine working mechanism to complete its founder's goal of building a computer on a distributed accounting system, creating a precedent for the application of "world computer" and creating the The smart contract system has become the leader of the second generation blockchain technology. [0003] With the development of blockchain technology, the application of blockchain systems in various fields is becoming more and more extensive. Under the current technology, since the full no...

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/13G06F16/172G06F16/182G06F21/64
CPCG06F21/64G06F16/134G06F16/172G06F16/1834
Inventor 吴刚蔺静茹吴涛
Owner DARKCHAIN TECH INC
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