Patent ID: 8898370
Filing Date: 2014-11-25
Classification: G06F

Abstract:
1. A data storage method, for storing data into a flash memory chip, wherein the flash memory chip has a plurality of physical blocks and each of the physical block has a plurality of physical addresses, the physical addresses comprise at least one fast physical address and at least one slow physical address, and a speed of writing data into the at least one fast physical address is faster than a speed of writing data into the at least one slow physical address, the data storage method comprising: configuring a plurality of logical addresses, wherein each of the logical addresses is mapped to one of the physical addresses; calculating a ratio of the physical addresses containing valid data to all the physical addresses of at least two of the physical blocks and serving the ratio as a usage rate of the physical addresses of at least two of the physical blocks; determining whether the usage rate of the physical addresses of at least two of the physical blocks is larger than a usage rate threshold value; and storing the data into the flash memory chip by using a fast mode when the usage rate is not larger than the usage rate threshold value, wherein only the at least one fast physical address is used to store the data in the fast mode.