The application relates to the technical field of NAND flash error correction, in particular to a high-capacity NAND flash error
correction method and
system based on a layered ECC (Error
Correction Code). The method comprises the following steps: obtaining physical
storage structure information of the high-capacity NAND flash, wherein the physical
storage structure information comprises a plurality of storage blocks, a plurality of storage pages and original error
code rate characteristics of each storage layer. The application realizes accurate error correction for the differences of different storage
layers by designing a two-level layered architecture of a strong error correction layer and an adaptive error correction layer and dynamically configuring an error correction strategy according to the original error
code rate characteristics of each storage layer. The strong error correction layer uses Reed-Solomon error
correction code to reliably store user data. The error
correction code can show good error correction ability when facing random errors and burst errors based on Galois field arithmetic operation, the
coding gain is increased by about 3 dB compared with a single-layer scheme, and the uncorrectable error
frame rate of the user data is effectively reduced.