Patent ID: 8914700

Claim:
A data processing method, comprising: receiving a read instruction transmitted by a host device, the read instruction including a first address; reading first data together with a first Cyclic Redundancy Checks (CRC) code and a first Error Correction Code (ECC), which are associated with the first data from a memory based on the first address; and performing error detection on the first data based on the first CRC code, and performing error correction on the first data based on the first ECC if an error is detected based on the first CRC code, wherein performing error correction on the first data based on the first ECC comprises: determining that the error occurs in first sub-data of the first data corresponding to a first memory granularity of the memory and incrementing an error correction count associated with the first memory granularity by one; and performing error correction on the first sub-data based on the first ECC if the error correction count associated with the first memory granularity does not exceed a preset threshold value.