Patent ID: 11880222
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 15:
16. A Solid State Disk (SSD) comprising a controller and a NAND storage medium, wherein the controller comprises firmware, and a Flash Translation Layer (FTL) and a manager are configured in the firmware, wherein
the FTL is run in a preset virtual environment to implement a Virtual Flash Translation Layer (VFTL), wherein the VFTL is configured to perform operations of the FTL in the preset virtual environment, and performs virtual writing and erasing operations without directly manipulating hardware;
the manager is run outside the preset virtual environment and is configured to receive, from the VFTL, an erasing request for erasing a target block stored in the NAND storage medium;
the manager is configured to select a target spare block from preset spare blocks and feed back the target spare block to the VFTL as a block already erased, so that the VFTL continues to provide a service in response to a user request;
the manager is configured to collect running information of the VFTL within a preset period of time, and determine whether a function of the VFTL is normal according to the running information; and
the manager is configured to, in a case of determining that the function of the VFTL is normal, perform an erasing operation on the target block stored in the NAND storage medium;
the manager is configured to, before selecting the target spare block from the preset spare blocks and feeding back the target spare block to the VFTL as the block already erased, verify security of the erasing request, and in a case where the verification is passed, select the target spare block from preset spare blocks and feed back the target spare block to the VFTL as the block already erased.