×

Bad sector repair method and apparatus

  • US 10,127,099 B2
  • Filed: 02/29/2016
  • Issued: 11/13/2018
  • Est. Priority Date: 08/27/2013
  • Status: Active Grant
First Claim
Patent Images

1. A bad sector repair method, comprising:

  • receiving, by a solid state disk (SSD), a first write operation instruction from a host, the first write operation instruction comprising a logical block address (LBA) of a first sector and data that needs to be written to the first sector;

    reading, according to the LBA of the first sector, data of a physical page in which the first sector is located;

    allocating, in a cache, storage space with a same size as the physical page, wherein the cache is a volatile memory;

    writing preset data from the host into the storage space allocated in the cache in response to when reading the data of the physical page fails, the storage space comprising at least two storage areas, and each of the storage areas corresponding to a sector of the physical page;

    updating, according to the LBA of the first sector, preset data that is of a storage area corresponding to the first sector and within the storage space with the data that needs to be written to the first sector; and

    writing the updated data in the storage space to a flash memory of the SSD to repair the first sector.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×