Method for processing data stored in a memory device and a data storage device utilizing the same
First Claim
Patent Images
1. A data storage device, comprising:
- a memory device, comprising a plurality of memory blocks, each memory block comprising a plurality of pages; and
a controller, coupled to the memory device and comprising an ECC engine configured to check and correct errors that have occurred in data stored in the memory blocks,wherein when a number of error bits in a page of one of the memory blocks exceeds a threshold, the controller is configured to add a block number of the memory block in a predetermined queue, and when a garbage collection procedure has been triggered, the controller is configured to perform garbage collection on the memory block;
wherein before the controller performs the garbage collection on the memory block, the controller is configured not to mark the memory block as a bad block.
1 Assignment
0 Petitions
Accused Products
Abstract
A data storage device includes a memory device and a controller. The memory device includes multiple memory blocks. Each memory block includes multiple pages. The controller is coupled to the memory device and includes an ECC engine configured to check and correct errors that have occurred in data stored in the memory blocks. When a number of error bits in a page of one of the memory blocks exceeds a threshold, the controller is configured to add a block number of the memory block in a predetermined queue and when a garbage collection procedure has been triggered, the controller is configured to perform garbage collection on the memory block.
-
Citations
10 Claims
-
1. A data storage device, comprising:
-
a memory device, comprising a plurality of memory blocks, each memory block comprising a plurality of pages; and a controller, coupled to the memory device and comprising an ECC engine configured to check and correct errors that have occurred in data stored in the memory blocks, wherein when a number of error bits in a page of one of the memory blocks exceeds a threshold, the controller is configured to add a block number of the memory block in a predetermined queue, and when a garbage collection procedure has been triggered, the controller is configured to perform garbage collection on the memory block; wherein before the controller performs the garbage collection on the memory block, the controller is configured not to mark the memory block as a bad block. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for processing data stored in a memory device, suitable for a data storage device, the data storage device comprising a memory device and a controller, the memory device comprising a plurality of memory blocks, each memory block comprising a plurality of pages, the method comprising:
-
performing error checking and correcting on data stored in the memory blocks to determine whether a number of error bits in a page of one of the memory blocks exceeds a threshold; adding a block number of the memory block in a predetermined queue when the number of error bits in the page of the memory block exceeds the threshold; and performing garbage collection on the memory block when a garbage collection procedure has been triggered; not marking the memory block as a bad block before performing the garbage collection on the memory block. - View Dependent Claims (7, 8, 9, 10)
-
Specification