Data archiving method of block-chain block data and electronic equipment
A technology of block data and block chain, which is applied in the data archiving method of block chain data and the field of electronic equipment, can solve the problems of large data volume, no efficient data archiving method for block data of block chain nodes, and access probability of block data Low-level problems, to achieve the effect of reducing block data, improving backup and recovery efficiency, and ensuring security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] The embodiment of the present invention provides a data archiving method of blockchain block data, refer to figure 1 As shown, the methods include:
[0066] 101. Periodically detect the block data meeting the archiving conditions in the blockchain node data. If the block data meeting the archiving conditions is detected, execute step 102; if no block data meeting the archiving conditions is detected, repeat step 101.
[0067] Among them, the archiving conditions include block data height value and access frequency;
[0068] The process of periodically detecting block data that meets the archiving conditions in the blockchain node data may include:
[0069] a. View the number of block data locally stored by the blockchain node, that is, the number of all block data between the block data with the lowest height value and the block data with the highest height value;
[0070] Specifically, if the block data with the lowest local height value is H0, and the block data wit...
Embodiment 2
[0134] An embodiment of the present invention provides an electronic device, referring to image 3 As shown, the electronic device 3 includes:
[0135] The detection module 31 is used to periodically detect the block data in the block chain node data that meets the archiving conditions, and the archiving conditions include the block data height value and access frequency;
[0136] The copying module 32 is used to copy the block data satisfying the archiving condition from the local copy when the detection module 31 detects the block data satisfying the archiving condition;
[0137] Compression module 33, is used for compressing block data and generating compressed package;
[0138] The upload module 34 is used to upload the compressed package to a reliable distributed storage system;
[0139] The compressed package file hash acquisition module 35 is used to obtain the file hash of the compressed package uploaded when the upload module 34 uploads successfully;
[0140] The r...
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