Storage and query method based on non-volatile memory chip

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...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHOU FENG, TENG YIGANG, TENG YIYONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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.