Patent ID: 9720609
Date: 2017-08-01
CPC Classifications: G06F,G11C

Claim:
1. A data protecting method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of word lines, and memory cells on the same word line constitute at least one physical page, the data protecting method comprising: assigning a plurality of physical pages into a plurality of encoding groups, wherein the step of assigning the physical pages into the encoding groups comprises: grouping a first physical page among the physical pages to a first encoding group among the encoding groups, and grouping a second physical page among the physical pages to a second encoding group among the encoding groups, wherein the first physical page is composed of memory cells connected to a first word line among the word lines, the second physical page is composed of memory cells connected to a second word line among the word lines, and the first word line is adjacent to the second word line; storing user data and a parity code corresponding to the user data in each of the physical pages; respectively encoding the user data in the physical pages of the encoding groups to generate a plurality of group parity codes respectively corresponding to the encoding groups; and if the user data stored in the first physical page fails to be corrected according to the parity code stored in the first physical page, correcting the user data stored in the first physical page by using the group parity code corresponding to the first encoding group.