Patent ID: 8996933
Filing Date: 2015-03-31
Classification: G11C

Abstract:
1. A memory management method, for generating a memory identification code corresponding to a non-volatile memory module, wherein the non-volatile memory module has a plurality of physical blocks, the memory management method comprising: testing the physical blocks to obtain a availability state and identifying a plurality of good physical blocks among the physical blocks according to the availability state; generating the memory identification code corresponding to the non-volatile memory module according to the good physical blocks, wherein the memory identification code corresponding to the non-volatile memory module has a plurality of bits respectively corresponding to the physical blocks, values of the bits corresponding the good physical blocks among the physical blocks are marked as a first value and values of the bits corresponding another physical blocks among the physical blocks are marked as a second value; generating a memory identification code signature corresponding to the non-volatile memory module according to the memory identification code by using a one-way hash function; storing the memory identification code signature into the non-volatile memory module; generating a comparison code according to the memory identification code by using a one-way hash function; reading the memory identification code signature from the non-volatile memory module; determining whether the comparison code is the same as the memory identification code signature; and terminating any operation to be performed on the non-volatile memory module when the comparison code is not the same as the memory identification code signature.