Patent ID: 8966344
Filing Date: 2015-02-24
Classification: G06F

Abstract:
1. A data protecting method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical erasing units, the data protecting method comprising: receiving a first flush command from a host system; after receiving the first flush command, receiving a first write command from the host system, wherein the first write command instructs to write a first data; generating a first error correcting code and a second error correcting code corresponding to the first data according to the first data, wherein a protection capability of the second error correcting code is different from a protection capability of the first error correcting code; receiving a second write command, wherein the second write command instructs to write a second data; after receiving the first write command and the second write command, receiving a second flush command from the host system, wherein the second flush command instructs to write the first data and the second data in a buffer memory into the rewritable non-volatile memory module; writing the first data, the first error correcting code, and the second data into the rewritable non-volatile memory module; after receiving the second flush command, writing the second error correcting code corresponding to the first data into the rewritable non-volatile memory module; and not generating a second error correcting code corresponding to the second data, or generating the second error correcting code corresponding to the second data but not writing the second error correcting code corresponding to the second data into the rewritable non-volatile memory module.