Nonvolatile memory unit with specific cache
First Claim
1. A method for organizing a writing operation to a nonvolatile memory, the method comprising:
- setting a specific cache area, into which a specific data belonging to a specific group of logical blocks is to be written;
determining whether or not the writing operation is a random write, if the writing operation is the random write, then comprising the following steps;
determining whether or not the writing operation is to write a data that is belonging to the specific group of logical blocks; and
writing the data into the specific cache area if the data is belonging to the specific group of logical blocks;
wherein a swap action between a data block and a writing block can be avoided during a random write operation.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention provides a method for organizing a writing operation to a nonvolatile memory. The method comprises setting a specific cache area, into which a specific data belonging to a specific group of logical blocks is to be written. It is determined whether or not the writing operation is a random write. If the writing operation is the random write, then the following steps are performed: determining whether or not the writing operation is to write a data that is belonging to the specific group of logical blocks; and writing the data into the specific cache area if the data is belonging to the specific group of logical blocks. As a result, a swap action between a data block and a writing block can be avoided during a random write operation. A storage structure in a nonvolatile memory device are organized to perform the forgoing writing operation.
391 Citations
18 Claims
-
1. A method for organizing a writing operation to a nonvolatile memory, the method comprising:
-
setting a specific cache area, into which a specific data belonging to a specific group of logical blocks is to be written;
determining whether or not the writing operation is a random write, if the writing operation is the random write, then comprising the following steps;
determining whether or not the writing operation is to write a data that is belonging to the specific group of logical blocks; and
writing the data into the specific cache area if the data is belonging to the specific group of logical blocks;
wherein a swap action between a data block and a writing block can be avoided during a random write operation. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for organizing a writing operation to a nonvolatile memory, the method comprising:
-
setting a specific cache area;
determining whether or not the writing operation is a random write, if the writing operation is the random write, then comprising the following steps;
determining whether or not a sector count of a data to be written is less than a predetermined number; and
writing the data into the specific cache area if the sector count of the data is less than the predetermined number;
wherein a swap action between a data block and a writing block can be avoided during a random write operation. - View Dependent Claims (7, 8, 9)
-
-
10. A method for organizing a writing operation to a nonvolatile memory, the method comprising:
-
setting a specific cache area;
determining whether or not the writing operation is a random write, if the writing operation is the random write, then comprising the following steps;
determining whether or not the writing operation is to write a data that is belonging to the specific group of logical blocks;
writing the data into the specific cache area if the data is belonging to the specific group of logical blocks;
determining whether or not a sector count of the data to be written is less than a predetermined number; and
writing the data into the specific cache area if the sector count of the data is less than the predetermined number;
wherein a swap action between a data block and a writing block can be avoided during a random write operation. - View Dependent Claims (11, 12, 13)
-
-
14. A nonvolatile memory unit, having a storage structure, within a memory storage device which can be accessed by a host, the nonvolatile memory unit including a plurality of physical blocks, used and managed by a control unit within the memory storage device, the control unit organizing the physical blocks into the storage structure, comprising:
-
a data block, composed of at least one physical block, and used to store a corresponding logical block information;
a writing block, serving as a temporary block for the data block;
optionally a spare block, which can be allocated to become the writing block; and
at least one specific cache area, which is used for writing-into a cached data, wherein the cached data includes a specific data belonging to a specific logical block, whereby a swap action for this time of writing the specific data is not always necessary even if a random write is desired. - View Dependent Claims (15, 16)
-
-
17. A nonvolatile memory unit, having a storage structure, within a memory storage device, which can be accessed by a host, the nonvolatile memory unit including a plurality of physical blocks, used and managed by a control unit within the memory storage device, the control unit organizing the physical blocks into a plurality of types of blocks, comprising:
-
a data block, composed of at least one physical block, and used to store a corresponding logical block information;
a writing block, serving as a temporary block for the data block;
optionally a spare block, which can be allocated to become the writing block; and
at least one specific cache area, which is used for writing-into a cached data, wherein a sector count of the cached data is less than a predetermined number, whereby a swap action for this time of writing the specific data is not always necessary even if a random write is desired. - View Dependent Claims (18)
-
Specification