A storage and query method based on non-volatile memory chip

A non-volatile storage and query method technology, applied in the direction of memory address/allocation/relocation, etc., can solve the problems of long query time, complex access algorithm, low storage utilization rate, etc., to achieve data search and data maintenance operations The effect of simple and efficient data lookup

Active Publication Date: 2015-11-18
CAMA LUOYANG ENVIRONMENTAL MEASUREMENT
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a storage and query method based on non-volatile memory chips to solve the problem of complex access algorithm, low storage utilization rate and long query time of existing non-volatile memory chips.

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 storage and query method based on non-volatile memory chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Embodiment of a sequential storage method based on a non-volatile memory chip of the present invention

[0021] The concrete steps of this storage method are as follows:

[0022] 1. Allocate the non-volatile memory chip into S sectors, each sector is equally divided into Q pages, each page is equally divided into B blocks, and one page is erased at a time;

[0023] 2. Write a time stamp every time when the time is adjusted and when a new page starts, the time stamp includes: storage start time, time interval of each data record, last time stamp position Last (0XFF value is not maintained) and Timestamp position Next for the next time synchronization (0XFF value is not maintained);

[0024] 3. When the non-volatile memory chip is working continuously, write the first data to be stored into the first storage block of the first storage page of the first storage sector of the non-volatile memory chip, and A timestamp is written to the last position of the storage page, th...

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 relates to a storage and query method based on a non-volatile memory chip. According to the method, timestamps are adopted, and a next timestamp is written when each time tick and new page (one page erased each time) start. The timestamp includes information of storage start time, time intervals of each data record, a timestamp position of last time tick Last (0XFF value not reserved) and a timestamp position of next time tick Next (0XFF value not reserved), a latest timestamp smaller than a given time is searched according to the sequence of timestamp time and the given time during query, the storage start time and the time intervals are obtained, a data record position is calculated, therefore the query and storage of the data record are facilitated, and the access algorithm is simple and easy to achieve. The storage and query method has the advantages that occupation of the storage space can be reduced, the data maintenance operation is simple, and efficient data query can be achieved.

Description

technical field [0001] The invention relates to a storage and query method based on a nonvolatile memory chip. Background technique [0002] Now non-volatile memory chips (such as flash, e2rom, etc.) The retrieval algorithm becomes complicated, the storage utilization rate decreases, and the query time increases. Contents of the invention [0003] The purpose of the present invention is to provide a storage and query method based on the non-volatile memory chip to solve the problem of complex access algorithm, low storage utilization rate and long query time of the existing non-volatile memory chip. [0004] In order to solve the above technical problems, the present invention provides a storage method based on a non-volatile memory chip. The specific steps of the storage method are as follows: [0005] 1). Allocate the non-volatile memory chip into S sectors, each sector is equally divided into Q pages, each page is equally divided into B blocks, and one page is erased ...

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
Inventor 滕奕甬滕奕刚周锋
Owner CAMA LUOYANG ENVIRONMENTAL MEASUREMENT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products