Data storage method and device based on block chain, equipment and storage medium
A data storage and blockchain technology, applied in the computer field, can solve the problems of data authenticity, consistency and security not being guaranteed, databases and database fragments are vulnerable to hacking or forgery, etc., to reduce pressure , the effect of improving safety
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 It is a schematic flow diagram of a blockchain-based data storage method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of storing data, and the method can be implemented by a blockchain-based data storage device to execute. Such as figure 1 As shown, the method specifically includes the following steps:
[0027] Step 110: Divide the target data into at least one piece of data according to a preset piece control strategy, and store the piece of data in a database server; wherein, one database server stores one piece of data.
[0028] Wherein, the complete data table in the database can be used as the target data, and the data table is divided according to a preset fragmentation control strategy. The fragmentation control strategy is set in advance, and the fragmentation control strategy can be to divide the data table into a preset number of behavior units. For example, if the target data is a data table with si...
Embodiment 2
[0048] image 3 It is a schematic flow diagram of a blockchain-based data storage method provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the above-mentioned embodiments. This method can be implemented by a blockchain-based data storage method. device to execute. Such as image 3 As shown, the method specifically includes the following steps:
[0049] Step 310: Divide the target data into at least one piece of data according to a preset piece control strategy, and store the piece of data in a database server; wherein, one database server stores one piece of data.
[0050] Step 320: Perform hash calculation on the fragmented data in the database server according to a preset hash algorithm to obtain a first hash value of the fragmented data.
[0051] Step 330. Obtain a second hash value of the target data according to the first hash value of the fragmented data.
[0052] Step 340, store the first hash value in the block ...
Embodiment 3
[0067] Figure 5 It is a structural block diagram of a blockchain-based data storage device provided in Embodiment 3 of the present invention, which can execute a blockchain-based data storage method provided in any embodiment of the present invention, and has the corresponding functions of the execution method Modules and benefits. Such as Figure 5 As shown, the device specifically includes:
[0068] Fragmentation data determination module 501, for dividing target data into at least one fragmentation data according to preset fragmentation control strategy, and storing said fragmentation data in a database server; wherein, one database server stores one fragmentation data slice data;
[0069] The first hash value obtaining module 502 is configured to perform hash calculation on the fragmented data in the database server according to a preset hash algorithm to obtain a first hash value of the fragmented data;
[0070] A second hash value obtaining module 503, configured to...
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