IP Library › Granted Patent US 10,942,862
Granted Patent B2
US 10,942,862 · App. 16/397,041 · Granted Mar 9, 2021

Controller for minimizing flushing operations for mapping table, memory system and operating method thereof

Inventors: Duck Hoi Koo (Gyeonggi-do, KR); Soong Sun Shin (Gyeonggi-do, KR); Sang Hyun Kim (Gyeonggi-do, KR)
Assignee: SK hynix Inc.
G06F12/1009G06F1/266G06F12/0875G06F13/28G06F2212/657
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 10,942,862
App. No.
16/397,041
Granted
Mar 9, 2021
Kind
B2
Abstract

A memory system includes a memory device comprising a plurality of memory cells storing data, and configured to perform one or more of a write operation, read operation and erase operation on the plurality of memory cells; and a controller configured to control an operation of the memory device, wherein the controller is configured to: cache a logical block addressing (LBA) mapping table from the memory device when the memory system is powered on by driving power applied thereto; and transfer a direct memory access (DMA) setup to a host when the LBA mapping table is cached.

Claims (35)

1. A memory system comprising:

a memory device comprising a plurality of memory cells storing data, and configured to perform one or more of a write operation, read operation and erase operation on the plurality of memory cells; and

a controller configured to control an operation of the memory device,

wherein the controller is configured to:

cache a logical block addressing (LBA) mapping table from the memory device when the memory system is powered on by driving power applied thereto;

transfer a direct memory access (DMA) setup to a host when the LBA mapping table is cached;

check whether a safe shutdown occurs;

receive a command from the host, and abort the command when the safe shutdown occurs before the transfer of the DMA setup is completed; and

execute the command when the transfer of the DMA setup is completed.

2. The memory system according to claim 1 , wherein the controller is configured to control the memory device to flush the LBA mapping table, which is changed depending on the execution result of the command, to an LBA mapping table storage region, when the transfer of the DMA setup is completed.

3. The memory system according to claim 2 , wherein the controller does not execute the command when the command is aborted.

4. The memory system according to claim 2 , wherein the controller configured to control the memory device to flush the cached LBA mapping table on a segment basis which is set by dividing the LBA mapping table according to a preset reference value.

5. The memory system according to claim 2 , wherein the controller is configured to control the memory system to flush the LBA mapping table through a round-robin journaling method.

6. The memory system according to claim 1 , wherein the power-on indicates that the driving power is applied after the memory system is normally turned off.

7. The memory system according to claim 1 , wherein the command comprises a command which accompanies a change of the cached LBA mapping table.

8. The memory system according to claim 1 , wherein the command comprises one or more of a write command and a trim command.

9. An operating method for a memory system having a controller, comprising:

powering on the memory system as driving power is applied;

receiving, by the controller, a command from the host;

caching, by the controller, an LBA mapping table from an LBA mapping table storage region to a memory when the memory system is powered on;

transferring, by the controller, a DMA setup to a host when the LBA mapping table is cached;

checking, by the controller, whether a safe shutdown occurs;

aborting, by the controller, the command when the safe shutdown occurs before the transfer of the DMA setup is completed; and

executing, by the controller, the command when the transfer of the DMA setup is completed.

10. The operating method according to claim 9 , further comprising:

flushing, by the controller, the LBA mapping table to the LBA mapping table storage region, the LBA mapping table being changed depending on the execution result of the command.

11. The operating method according to claim 10 ,

wherein the executing of the command, the command is not executed when the command is aborted.

12. The operating method according to claim 10 , wherein in the flushing of the LBA mapping table to the LBA mapping table storage region, the cached LBA mapping table is flushed on a segment basis which is set by dividing the LBA mapping table according to a preset reference value.

13. The operating method according to claim 10 , wherein the flushing of the LBA mapping table is performed through a round-robin journaling method.

14. The operating method according to claim 9 , wherein in the powering on the memory system, the driving power is applied after the memory system is normally turned off.

15. The operating method according to claim 9 , wherein the command comprises one or more of a write command and a trim command.

16. An operating method of a controller for controlling an operation of a memory device, the method comprising:

caching a logical block addressing (LBA) mapping table from the memory device in response to a command from a host upon being powered on; and

ignoring the command without flushing the cached LBA mapping table for a power-off when a safe shutdown occurs before providing a direct memory access (DMA) setup to the host.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2019
From: KOO, DUCK HOI; SHIN, SOONG SUN; KIM, SANG HYUN
To: SK HYNIX INC.
Reel/Frame 049019/0500 →
Priority Claims (1)
KR 10-2018-0095131 · Aug 14, 2018 · national
Continuity (1)
Related Publication 20200057728A1 · Feb 20, 2020