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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com