Data storage method, device and apparatus and readable storage medium
A data storage and data technology, applied in the field of cameras, can solve the problem of reducing the overall reading and writing performance, and achieve the effect of improving the overall reading and writing performance and meeting the needs of reading performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] see figure 1 , figure 1 It is a flow chart of a data storage method disclosed in the embodiment of this application. The method includes:
[0061] S101. Respond to various storage engines of the blockchain by using a custom general storage interface.
[0062] Among them, the blockchain supports the privacy chain.
[0063] Among them, the custom general storage interface is defined as follows:
[0064]
[0065]
[0066] Among them, / / is the comment / explanation separator.
[0067] Abstract the general db interface (database storage interface) according to the above interface definition to meet the support of blockchain multi-storage engines. In this embodiment, the module relationship diagram between the blockchain module and the storage engine is as follows figure 2 shown. That is, the blockchain and multiple storage engines, and a star topology centered on the blockchain.
[0068] It should be noted that, before performing the above step S101, the databa...
Embodiment 2
[0105] A data storage device provided by an embodiment of the present application is introduced below, and a data storage device described below and a data storage method described above may refer to each other.
[0106] It should be noted that, for more specific working processes of each module and unit in this embodiment, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
[0107] see Figure 5 , Figure 5 It is a schematic diagram of a data storage device disclosed in the embodiment of this application. The unit includes:
[0108] The multi-storage engine support module 101 is used to respond to various storage engines of the block chain by using a custom general storage interface; wherein, the block chain supports a privacy chain;
[0109] The stored data management module 102 is configured to manage the stored data corresponding to various storage engines according to the B+ tree structure;
[...
Embodiment 3
[0124] A data storage device provided by an embodiment of the present application is introduced below. The data storage device described below and the data storage method and device described above may refer to each other.
[0125] see Image 6 , Image 6 It is a schematic diagram of a data storage device disclosed in the embodiment of this application. The equipment includes:
[0126] Memory 501, for storing computer programs;
[0127] Processor 502, configured to execute a computer program to achieve the following steps:
[0128] Utilize a custom general storage interface to respond to various storage engines of the blockchain; among them, the blockchain supports privacy chains;
[0129] Manage the storage data corresponding to various storage engines according to the B+ tree structure;
[0130] After the target block of the blockchain completes a round of consensus, the unspent transaction output corresponding to the target block is obtained;
[0131] The primary key ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


