Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2019-03-19
科来网络技术股份有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. There is a lot of maintenance work in the method of direct conversion of different versions of data, and N versions of data will exist 2 N A conversion method, complex and error-prone;
[0005] 2. Using a specific serialization storage method can avoid the first problem, but it often takes a lot of time to deserialize and restore data in data usage, which greatly affects analysis performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A data storage method and a read restoration method

Examples

Experimental program
Comparison scheme
Effect test

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.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a data storage method and a data reading and restoring method. Information needing to be stored is decomposed into basic element data which cannot be further divided; meanwhile, a sequence number ID (Identity) is distributed for each piece of element data; one piece of data information contains N pieces of element data; when the data is stored, the data is written into one section of continuous internal memory space and then is written into a magnetic disk or other media; the data information is divided into two parts including an element data part and an ID position part; the element data part contains the N element data decomposed by the data information; each ID position of the ID position part has a one-to-one sequence corresponding relation with each piece of element data of the element data part; the element data part is located behind the ID position part; and one offset value is written into each ID position to be used as an actual offset value of the corresponding element data in the written-in internal memory space. The data storage method and the data reading and restoring method have no version dependency, are simple to maintain, have extremely high data reductibility and can support rapidly filtered data compatible storage.

Description

technical field [0001] The invention relates to a data storage method and a read restoration method, in particular to a data storage method and a read restoration method suitable for software version change. Background technique [0002] The process of software version change will involve changes in the structure of stored information, which will cause differences in the data structure of the old and new versions of the software. However, the data generated by the old version is often meaningful. It is necessary to make the new version of the software possible to read and use the old data normally. It requires a set of methods to ensure that the data can be compatible. [0003] The currently widely used data compatibility method mainly uses direct conversion of different versions of data and adopts a specific serialization storage method, but there are the following problems in the actual use process: [0004] 1. There is a lot of maintenance work in the method of direct co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/02
CPCG06F12/023
Inventor 罗鹰黄江林康
Owner 科来网络技术股份有限公司