IP Library Granted Patent US 11,500,771
Granted Patent B2
US 11,500,771 · App. 17/154,838 · Granted Nov 15, 2022

Memory system, memory controller, and method of operating memory system

Inventor: Eu Joon Byun (Icheon, KR)
Assignee: SK hynix Inc.
G06F12/0804G06F11/1451G06F2201/82G06F2212/1032
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,500,771
App. No.
17/154,838
Granted
Nov 15, 2022
Kind
B2
Abstract

Disclosed are a memory system, a memory controller, and a method of operating the memory system. The memory system performs an operation of recovering system data lost due to SPO when an SPO recovery operation is performed, and flushes recovered system data into the memory device after a first time point at which the operation of recovering the system data is completed and before a second time point at which a power off preparation request is received from a host.

Claims (33)

1. A memory system, comprising:

a memory device comprising a plurality of memory blocks; and

a memory controller configured to communicate with the memory device and control the memory device,

wherein the memory controller performs an operation of recovering system data lost due to Sudden Power Off (SPO) when an SPO recovery operation is performed, the system data being used to manage user data, and flushes recovered system data into the memory device after a first time point at which the operation of recovering the system data is completed and before a second time point at which a power off preparation request for instructing an operation configured to prepare for a power off operation is received from a host, and

wherein the memory controller flushes the recovered system data into the memory device according to a combination of a first time period taken for the operation of recovering the system data and a second time period to be taken for an operation of flushing the recovered system data into the memory device.

2. The memory system of claim 1 , wherein the memory controller reads a page of an open memory block, which stores user data, among the plurality of memory blocks and identifies whether there is system data lost due to the SPO based on a result of the reading.

3. The memory system of claim 2 , wherein the memory controller performs an operation of recovering system data corresponding to each user data having a preset unit size.

4. The memory system of claim 1 , wherein, after flushing the recovered system data into the memory device, the memory controller writes, in the memory device, a flag indicating that the power off operation is completed without any error.

5. The memory system of claim 1 , wherein the memory controller switches a state of the memory controller to a state in which a host command received from the host is processed after the first time point; and

wherein the memory controller transmits, to the host, a response command including information on the state of the memory controller corresponding to the state in which the host command received from the host is processed.

6. The memory system of claim 1 , wherein the memory controller flushes the recovered system data into the memory device according to a sum of the first time period and the second time period.

7. The memory system of claim 6 , wherein the memory controller flushes the recovered system data into the memory device according to a comparison result of the sum of the first time period and the second time period with a preset time period.

8. A memory controller, comprising:

a memory interface configured to communicate with a memory device comprising a plurality of memory blocks; and

a processor configured to communicate with the memory device through the memory interface and execute firmware to control the memory device,

wherein the processor performs an operation of recovering system data lost due to Sudden Power Off (SPO) when an SPO recovery operation is performed, the system data being used to manage user data, and flushes recovered system data into the memory device after a first time point at which the operation of recovering the system data is completed and before a second time point at which a power off preparation request for instructing an operation configured to prepare for a power off operation is received from a host, and

wherein the processor flushes the recovered system data into the memory device according to a combination of a first time period taken for the operation of recovering the system data and a second time period to be taken for an operation of flushing the recovered system data into the memory device.

9. The memory controller of claim 8 , wherein the processor reads a page of an open memory block, which stores user data, among the plurality of memory blocks and identifies whether there is system data lost due to the SPO based on a result of the reading.

10. The memory controller of claim 9 , wherein the processor performs an operation of recovering system data corresponding to each user data having a preset unit size.

11. The memory controller of claim 8 , wherein, after flushing the recovered system data into the memory device, the processor writes, in the memory device, a flag indicating that the power off operation is completed without any error.

12. The memory controller of claim 8 , wherein the processor switches a state of the memory controller to a state in which a host command received from the host is processed after the first time point.

13. The memory controller of claim 12 , wherein the processor transmits, to the host, a response command including information on the state of the memory controller corresponding to the state in which the host command received from the host is processed.

14. A method of operating a memory system that comprises a memory device and a memory controller, the method comprising:

recovering system data lost due to Sudden Power Off (SPO) when an SPO recovery operation is performed, the system data being used to manage user data; and

flushing recovered system data into the memory device after a first time point at which an operation of recovering the system data is completed and before a second time point at which a power off preparation request for instructing an operation configured to prepare for a power off operation is received from a host, and

wherein flushing the recovered system data into the memory device comprises flushing the recovered system data into the memory device according to a combination of a first time period taken for the operation of recovering the system data and a second time period to be taken for an operation of flushing the recovered system data into the memory device.

15. The method of claim 14 , wherein recovering the system data comprises:

reading a page of an open memory block, which stores user data, among a plurality of memory blocks in the memory device; and

identifying whether there is system data lost due to the SPO based on a result of the reading.

16. The method of claim 15 , wherein recovering the system data comprises performing an operation of recovering system data corresponding to each user data having a preset unit size.

17. The method of claim 14 , further comprising writing, in the memory device, a flag indicating that the power off operation is completed without any error after the recovered system data is flushed into the memory device.

18. The method of claim 14 , further comprising switching a state of the memory controller to a state in which a host command received from the host is processed after the first time point.

19. The method of claim 18 , further comprising transmitting, to the host, a response command including information on the state of the memory controller corresponding to the state in which the host command received from the host is processed.

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 Jan 22, 2021
From: BYUN, EU JOON
To: SK HYNIX INC.
Reel/Frame 054997/0473 →
Priority Claims (1)
KR 10-2020-0106069 · Aug 24, 2020 · national
Continuity (1)
Related Publication 20220058122A1 · Feb 24, 2022