Patent ID: 8027968
Filing Date: 2011-09-27
Classification: G06F

Abstract:
1. A data storage method for an electronic device, the data storage method comprising: averaging a number of times of accessing sections of a memory of the electronic device in order to prevent the memory from being damaged; dividing a first section of the memory of the electronic device into N blocks, wherein each of the N blocks is corresponding to a sequence number and assigned an index value; rewriting an assigned index value corresponding to an nth block of the N blocks according to index values corresponding to the N blocks; storing an input data in the nth block; and rewriting the nth block by stored data in the (n−1)th block before storing the input data in the nth block when the index values corresponding to the N blocks are not identical; wherein N is an integer greater than or equal to 1, and 1≦n≦N.