摘要 |
A method of writing data to a flash memory in a system includes; receiving write data to be written in the flash memory, determining whether the received write data is random write data or sequential write data, if the received write data is sequential write data, then directly writing the received write data to the flash memory, and if the received write data is random write data, then writing the received write data to the random write cache, and flushing the random write data from the random write cache to the flash memory during idle periods for the flash memory.
|