Data storage method, and data retrieval method and device

The invention relates to a data storage method. The method comprises: obtaining the maximum storage value of each row of cells in a first dimension in a two-dimensional table; determining the cell storage amount of each row of the first dimension according to the storage amount of the maximum storag...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: TAN SHAOMIN
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 data storage method. The method comprises: obtaining the maximum storage value of each row of cells in a first dimension in a two-dimensional table; determining the cell storage amount of each row of the first dimension according to the storage amount of the maximum storage value; determining the total memory space according to the cell memory space and the row number ofthe second dimension in the two-dimensional table; establishing an array according to the total memory space; the data of each row of cells in the second dimension in the two-dimensional table is continuously stored into the array according to the cell storage amount of the corresponding row in the first dimension, so that the storage space is saved. The invention further relates to a data retrieval method. The data retrieval method comprises the steps that the first-dimensional sorting number and the second-dimensional sorting number of the target data in the two-dimensional table are acquired; determining the offse