Patent ID: 8266370
Filing Date: 2012-09-11
Classification: G06F

Abstract:
1. A method for processing data of flash memory by separating levels, comprising steps of: sending a logical address to a high-level translation layer (HTL) to require a data processing operation performed in a flash memory; obtaining a hardware structure information of the flash memory by a low-level abstraction layer (LAL) and then sending the hardware structure information to the HTL; setting a physical storage unit in the flash memory according to the hardware structure information by the HTL; identifying a physical storage unit in a set of physical storage units available to the data processing operation in accordance with the spare data by the HTL; determining a data processing flow in accordance with the hardware structure information by the HTL to convert the logical address into a physical address corresponding to the physical storage unit available to the data processing operation; and performing the data processing operation in the physical storage unit available to the data processing operation by the LAL in accordance with the physical address transmitted from the HTL; wherein the HTL is used to allow a client's application program and a file system to perform the data processing action in the flash memory, and collect related information about usage status of the flash memory to manage the flash memory, and LAL obtains a bank according to a first sub-address of the physical address, a block according to a second sub-address, a page according to a third sub-address, and a channel according to a fourth sub-address.