Block chain data reduction method, device and storage medium
A technology of blockchain and data, applied in the field of blockchain
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0109] Example 1: Static data shrinkage when the node starts
[0110] Since the block chain node in the present invention can adjust the node parameter configuration information, and then can change the node type, node snapshot cycle or node hot data block interval, in order to deal with the adjustment of node parameter configuration information, therefore, it is necessary to Static shrinking of data is performed.
[0111] refer to figure 1 , figure 1 It is a schematic flowchart of the first embodiment of the blockchain data shrinking method of the present invention. In this embodiment, the implementation process of node data static shrinkage includes the following steps:
[0112] Step S110, when the blockchain node starts, read the locally saved node type and historical data storage type;
[0113] Step S120, based on the node type and the historical data storage type, determine whether the blockchain node meets the data shrinkage condition;
[0114] In this embodiment, t...
Embodiment 2
[0135] Embodiment 2: Establishing a hotspot data cache pool
[0136] The present invention divides the block chain nodes into node types. The archive nodes store all the data of the block chain and store them permanently without any shrinkage, while the snapshot nodes and hot nodes only synchronously save the latest block information and data in the block chain network. Latest state without saving historical state data. Therefore, when snapshot nodes and hot nodes need any non-current and latest state data, they need to request historical data from archive nodes. As a result, most of the query requests received by snapshot nodes and hot nodes need to access archive nodes, which increases the network load. And pressure, in the application scenario with many queries, the archive node has become a new system bottleneck, and the system delay is greatly increased.
[0137] refer to figure 2 , figure 2 It is a schematic flowchart of the second embodiment of the blockchain data ...
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