A data storage method and a read restoration method
A data storage and data reading technology, applied in memory systems, electrical digital data processing, memory address/allocation/relocation, etc., can solve the problems of affecting analysis performance, complexity, error-prone, etc., to achieve the effect of no version dependency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0027] A data storage method, the specific method is:
[0028] Before storing data, decompose the data information to be stored into basic metadata that cannot be divided one by one. At the same time, assign a serial number ID to each piece of metadata, and the serial number ID is incremented sequentially from 0; defining a piece of data information includes There are N pieces of metadata, and N is a natural number greater than or equal to 1;
[0029] When storing data, first write the data into a continuous memory space, and then write it to disk or other media;
[0030] The specific writing method of the memory space is as follows: the data information is divided into two parts: the metadata part and the ID position part. The metadata part is the N pieces of metadata decomposed into the data information. Each metadata in the data part has a one-to-one sequential correspondence; the metadata part is located after the ID position part; each ID position writes an offset value ...
specific Embodiment 2
[0031] On the basis of the specific embodiment 1, the contents of the metadata are sequentially written into the metadata part according to the order in which they are written.
specific Embodiment 3
[0032] On the basis of specific embodiment 1 or 2, in this specific embodiment, each offset value consists of 2 bytes, that is to say, the ID position part includes N*2 bytes.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
