Storage unit controller and control method thereof, and storage device
First Claim
1. A method for controlling a storage unit comprising a nonvolatile memory, comprising:
- setting an indicated flag according to whether a first data saved in a nonvolatile buffer is written to a storage unit;
checking the indicated flag when power is on; and
enabling an update operation mode when the checked indicated flag indicates that the first data is not completed, wherein enabling the update operation mode at least executes;
transferring the first data saved at a simulated address of the nonvolatile buffer from the simulated address to a first actual address of the storage unit,wherein the nonvolatile buffer comprises;
a first buffer unit for saving the first data at the simulated address of the first buffer unit in a process in which the first data is addressed; and
a second buffer unit coupled to the first buffer unit, wherein the second buffer acts as a read buffer of the storage unit, and used as a write backup buffer of the first buffer unit when the first buffer unit is under the update operation mode.
1 Assignment
0 Petitions
Accused Products
Abstract
A storage unit controller and a control method thereof, and a storage device are provided. The storage unit controller includes an address mapping unit, a nonvolatile buffer and an update indicator. The update indicator sets an indicated flag according to whether a first data saved in the nonvolatile buffer is written to a storage unit. The address mapping unit checks the indicated flag when power is on. When the checked indicated flag indicates that writing the first data is not completed, the address mapping unit enables an update operation mode so as to perform background operations: the first data has not yet been successfully addressed to the storage unit previously, but saved in a simulated address of the nonvolatile buffer to transfer the first data from the simulated address to an actual address of the storage unit.
-
Citations
19 Claims
-
1. A method for controlling a storage unit comprising a nonvolatile memory, comprising:
-
setting an indicated flag according to whether a first data saved in a nonvolatile buffer is written to a storage unit; checking the indicated flag when power is on; and enabling an update operation mode when the checked indicated flag indicates that the first data is not completed, wherein enabling the update operation mode at least executes;
transferring the first data saved at a simulated address of the nonvolatile buffer from the simulated address to a first actual address of the storage unit,wherein the nonvolatile buffer comprises; a first buffer unit for saving the first data at the simulated address of the first buffer unit in a process in which the first data is addressed; and a second buffer unit coupled to the first buffer unit, wherein the second buffer acts as a read buffer of the storage unit, and used as a write backup buffer of the first buffer unit when the first buffer unit is under the update operation mode. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A storage unit controller, comprising:
-
an address mapping unit; a nonvolatile buffer coupled to the address mapping unit; and an update indicator coupled to the address mapping unit and the nonvolatile buffer, and the update indicator setting an indicated flag according to whether a first data saved in the nonvolatile buffer is written to a storage unit; wherein the address mapping unit checks the indicated flag when power is on, when the checked indicated flag indicates that writing the first data is not completed, the address mapping unit enables an update operation mode, and enabling the update operation mode at least comprises;
transferring the first data saved at a simulated address of the nonvolatile buffer from the simulated address to a first actual address of the storage unit,wherein the nonvolatile buffer comprises; a first buffer unit coupled to the address mapping unit and the update indicator, wherein the first data is initially saved at the simulated address of the first buffer unit during a process in which the address mapping unit addresses the first data; and a second buffer unit coupled to the address mapping unit, the update indicator and the first buffer unit, wherein the second buffer unit acts as a read buffer of the storage unit and used as a write backup buffer of the first buffer unit when the first buffer unit is under the update operation mode. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A storage device, comprising:
-
a storage unit; a nonvolatile buffer coupled to the storage unit; an address mapping unit coupled to the nonvolatile buffer, the address mapping unit performs addressing before a first data is written to the nonvolatile buffer so as to provide a simulated address corresponding to the first actual address and record the simulated address; and an update indicator coupled to the nonvolatile buffer and the address mapping unit, and the update indicator sets an indicated flag according to whether the first data saved in the nonvolatile buffer is written to the storage unit, wherein the address mapping unit checks the indicated flag when power is on, when the checked indicated flag indicates that writing the first data is not completed, the address mapping unit enables an update operation mode to enter the update operation mode so as to transfer the first data saved in the nonvolatile buffer but not completely written to the storage unit from the simulated address to a first actual address of the storage unit, wherein, when a host is to write the first data to the storage unit, the first data is written to the simulated address of the nonvolatile buffer, and then the first data is written to the first actual address of the storage unit from the simulated address. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification