Backup mechanism of writing sequential data to single-level cell buffer and multi-level cell buffer
First Claim
Patent Images
1. A data storage device, comprising:
- a memory device, comprising a first buffer, a second buffer and a backup memory block, wherein the first buffer is a multi-level cell (MLC) block and the second buffer is a single-level cell (SLC) block; and
a controller, coupled to the memory device, and configured to receive a write command to write predetermined data in the memory device and determine whether the predetermined data has to be written into different buffers,wherein when the controller determines that the predetermined data has to be written into different buffers, the controller is configured to write a portion of the predetermined data that has been written in one or more predetermined pages of the first buffer into the backup memory block,wherein the predetermined data comprises a plurality of pages, the controller determines whether the predetermined data has to be written into different buffers based on size of the predetermined data and whether at least one page of the predetermined data has been stored in the second buffer, and when the size of the predetermined data is greater than a threshold value and at least one page of the predetermined data has been stored in the second buffer, the controller determines that the predetermined data has to be written into different buffers.
1 Assignment
0 Petitions
Accused Products
Abstract
A data storage device includes a memory device and a controller. The memory device includes a first buffer, a second buffer, and a backup memory block. The first buffer is an MLC block and the second buffer is an SLC block. The controller is coupled to the memory device, receives a write command to write predetermined data in the memory device and determines whether the predetermined data has to be written into different buffers. When the controller determines that the predetermined data has to be written into different buffers, the controller writes a portion of the predetermined data that has been written in one or more predetermined pages of the first buffer into the backup memory block.
-
Citations
11 Claims
-
1. A data storage device, comprising:
-
a memory device, comprising a first buffer, a second buffer and a backup memory block, wherein the first buffer is a multi-level cell (MLC) block and the second buffer is a single-level cell (SLC) block; and a controller, coupled to the memory device, and configured to receive a write command to write predetermined data in the memory device and determine whether the predetermined data has to be written into different buffers, wherein when the controller determines that the predetermined data has to be written into different buffers, the controller is configured to write a portion of the predetermined data that has been written in one or more predetermined pages of the first buffer into the backup memory block, wherein the predetermined data comprises a plurality of pages, the controller determines whether the predetermined data has to be written into different buffers based on size of the predetermined data and whether at least one page of the predetermined data has been stored in the second buffer, and when the size of the predetermined data is greater than a threshold value and at least one page of the predetermined data has been stored in the second buffer, the controller determines that the predetermined data has to be written into different buffers. - View Dependent Claims (2, 3)
-
-
4. A data storage device, comprising:
-
a memory device, comprising a first buffer, a second buffer and a backup memory block, wherein the first buffer is a multi-level cell (MLC) block and the second buffer is a single-level cell (SLC) block; and a controller, coupled to the memory device, and configured to receive a write command to write predetermined data in the memory device and determine whether the predetermined data has to be written into the first buffer discontinuously, wherein when the controller determines that the predetermined data has to be written into the first buffer discontinuously, the controller is configured to write a portion of the predetermined data that has been written in one or more predetermined pages of the first buffer into the backup memory block, wherein the predetermined data comprises a plurality of pages, the controller determines whether the predetermined data has to be written into first buffer discontinuously based on size of the predetermined data and whether at least one page of the predetermined data has been stored in the second buffer, and when the size of the predetermined data is greater than a threshold value and at least one page of the predetermined data has been stored in the second buffer, the controller determines that the predetermined data has to be written into the first buffer discontinuously. - View Dependent Claims (5, 6)
-
-
7. A method for writing data into a memory device, suitable for a data storage device comprising a memory device and a controller, wherein the memory device comprises a first buffer, a second buffer and a backup memory block, the first buffer is a multi-level cell (MLC) block and the second buffer is a single-level cell (SLC) block, the method comprising:
-
performing a write operation based on a write command to write predetermined data in the memory device, wherein the step of performing the write operation based on the write command further comprises; during the write operation, writing a portion of the predetermined data that has been written in one or more predetermined pages of the first buffer into the backup memory block, wherein the method further comprises; determining whether the predetermined data has to be written into different buffers, wherein when it is determined that the predetermined data has to be written into different buffers, writing the portion of the predetermined data that has been written in the one or more predetermined pages of the first buffer into the backup memory block, wherein the predetermined data comprises a plurality of pages, and when size of the predetermined data is greater than a threshold value and at least one page of the predetermined data has been stored in the second buffer, it is determined that the predetermined data has to be written into different buffers. - View Dependent Claims (8, 9, 10, 11)
-
Specification