IP Library Granted Patent US 11,366,725
Granted Patent B2
US 11,366,725 · App. 16/898,056 · Granted Jun 21, 2022

Storage device and method of operating the same

Inventor: Hyeong Jae Choi (Gyeonggi-do, KR)
Assignee: SK hynix Inc.
G06F11/1469G06F9/546G06F11/1451G06F11/1461G06F11/2056G06F12/0246G06F2212/7201
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,366,725
App. No.
16/898,056
Granted
Jun 21, 2022
Kind
B2
Abstract

The present technology relates to an electronic device. A storage device according to the present technology includes a memory device including a plurality of logical storage areas, and a memory controller. The memory controller controls the memory device to perform a memory operation on an original storage area of the plurality of logical storage areas according to a request of a host, and to perform a mirroring operation of copying the memory operation which was performed on the original storage area in a backup storage area of the plurality of logical storage areas based on whether the memory device is in an idle state.

Claims (50)

1. A storage device comprising:

a memory device including a plurality of logical storage areas; and

a memory controller configured to control the memory device to perform a memory operation on an original storage area of the plurality of logical storage areas according to a request of a host, and to perform a mirroring operation of copying the memory operation which was performed on the original storage area in a backup storage area of the plurality of logical storage areas based on whether the memory device is in an idle state,

wherein the memory controller is configured to determine whether the memory operation is performed on the original storage area, and control the memory device to perform the mirroring operation based on whether the memory device is in the idle state.

2. The storage device of claim 1 , wherein the memory controller sets the original storage area and the backup storage area, in response to a logical area setting command received from the host.

3. The storage device of claim 1 , wherein the memory controller comprises:

a map manager configured to store an original mapping table corresponding to the original storage area and a backup mapping table corresponding to the backup storage area, and generate map update information in response to the original mapping table being updated; and

a mirroring controller configured to determine whether the memory operation is performed on the original storage area based on the map update information, and control the memory device to perform the mirroring operation based on whether the memory device is in the idle state.

4. The storage device of claim 3 , wherein the mirroring controller comprises:

an idle sensor configured to sense whether the memory device is in the idle state to generate idle information;

a mirroring processor configured to generate at least one mirroring command for the mirroring operation based on the map update information; and

a mirroring queue configured to store the at least one mirroring command.

5. The storage device of claim 4 , wherein the mirroring processor controls the mirroring queue to provide the at least one mirroring command to the memory device based on the idle information.

6. The storage device of claim 3 , wherein the mirroring controller controls the memory device to perform the mirroring operation on a target area of the backup storage area, the target area corresponding to a source area on which the memory operation is performed in the original storage area.

7. The storage device of claim 6 , wherein the map manager updates the original mapping table according to the memory operation, and updates the backup mapping table according to the updated original mapping table or the mirroring operation.

8. The storage device of claim 7 , wherein after the memory operation, the map manager maps a source logical address provided by the host to a source physical address indicating the source area, and maps a target logical address corresponding to the source logical address to the source physical address.

9. The storage device of claim 8 , wherein after the mirroring operation, the map manager maps the target logical address to a target physical address indicating the target area.

10. The storage device of claim 6 , wherein the memory operation is a program operation, and the mirroring operation includes an operation of programming the same data as data stored in the source area on which the program operation is performed, to the target area.

11. The storage device of claim 6 , wherein the memory operation is an erase operation, and the mirroring operation includes an operation of erasing the target area corresponding to the source area on which the erase operation is performed.

12. The storage device of claim 1 , wherein the memory controller includes an operation controller configured to control the memory device to perform the memory operation in response to the request of the host,

wherein the operation controller comprises:

a command queue configured to store at least one operation command for the memory operation; and

an operation processor configured to generate the at least one operation command in response to the request of the host, and control the command queue to provide the at least one operation command to the memory device.

13. A method of operating a storage device including a mirroring queue, an original storage area, and a backup storage area, the method comprising:

queuing, in the mirroring queue, at least one mirroring command for a mirroring operation of copying a memory operation which was performed on the original storage area in the backup storage area;

performing the mirroring operation according to the queued at least one mirroring command based on whether the storage device is in an idle state; and

updating, before the queuing of the at least one mirroring command, an original mapping table corresponding to the original storage area and a backup mapping table corresponding to the backup storage area according to the memory operation.

14. The method of claim 13 , further comprising:

setting the original storage area and the backup storage area used for mirroring the original storage area, in response to a logical area setting command received from a host.

15. The method of claim 13 , further comprising:

performing, before the queuing of the at least one mirroring command, the memory operation on the original storage area in response to a request of a host,

wherein the memory operation is a program operation or an erase operation.

16. The method of claim 15 , wherein the performing of the mirroring operation comprises:

determining whether the storage device is in the idle state; and

performing the mirroring operation according to the queued at least one mirroring command in response to the storage device being in the idle state.

17. The method of claim 13 , further comprising:

updating, after the performing of the mirroring operation, the backup mapping table.

18. The method of claim 13 , wherein the queuing of the at least one mirroring command comprises:

determining whether the memory operation is performed in response to the original mapping table being updated; and

queuing the at least one mirroring command in the mirroring queue in response to the memory operation being performed.

19. A method of operating a storage device including a memory controller and a memory device, the method comprising:

performing a memory operation on an original storage area included in the memory device;

updating an original mapping table corresponding to the original storage area and a backup mapping table corresponding to a backup storage area included in the memory device;

after the updating the original mapping table, queueing, in a mirroring queue included in the memory controller, a mirroring command for a mirroring operation when the memory operation is determined to be performed;

performing the mirroring operation of copying the memory operation which was performed on the original storage area, in the backup storage area when the storage device is determined to be in an idle state; and

updating the backup mapping table to map a logical address of a target storage area included in the backup storage area to a physical address of the target storage area on which the mirroring operation is performed.

20. A controller configured to:

control a second external to perform a memory operation on a first area of a plurality of logical storage areas according to a request of a first external, and to perform a mirroring operation of copying the memory operation which was performed on the first area in a second area of the plurality of logical storage areas based on whether the second external is in an idle state,

determine whether the memory operation is performed on the first area, and

control the second external to perform the mirroring operation based on whether the second external is in the idle state.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 7, 2024
From: SK HYNIX INC.
To: MIMIRIP LLC
Reel/Frame 067335/0246 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 10, 2020
From: CHOI, HYEONG JAE
To: SK HYNIX INC.
Reel/Frame 052898/0647 →