Data storage method and device

The invention discloses a data storage method and a device. The method comprises the following steps of: obtaining an initial storage address of a previous data block of the current data block to be written; subtracting the size of the current data block to be written from the initial storage addres...

Full description

Saved in:
Bibliographic Details
Main Authors SUN WENFU, LI YONGSHENG, ZHANG YUANYUAN
Format Patent
LanguageChinese
English
Published 14.10.2009
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a data storage method and a device. The method comprises the following steps of: obtaining an initial storage address of a previous data block of the current data block to be written; subtracting the size of the current data block to be written from the initial storage address and obtaining an intermediate result; if the intermediate result is less than 0, mapping the intermediate result into an effective address of a memory and taking the mapped result as the initial storage address of the current data block to be written; if the intermediate result is more than or equal to 0, directly taking the intermediate result as the initial storage address of the current data block to be written; and starting to write in the current data block to be written from a storage unit corresponding to the initial storage address of the current data block to be written. The method provided by the embodiment of the invention can reduce read-write times to the memory, thus reducing the power consumption w
Bibliography:Application Number: CN200910202972