IP Library › Granted Patent US 11,586,379
Granted Patent B2
US 11,586,379 · App. 17/460,089 · Granted Feb 21, 2023

Memory system and method of operating the same

Inventors: Do Hyeong Lee (Icheon-si, KR); Yu Jung Lee (Icheon-si, KR); Min Kyu Choi (Icheon-si, KR)
Assignee: SK hynix Inc.
G06F3/0656G06F3/0604G06F3/0679
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,586,379
App. No.
17/460,089
Granted
Feb 21, 2023
Kind
B2
Abstract

A memory system may include a memory device including at least one sequential area in which a data corresponding to consecutive logical addresses of the at least one sequential area is stored, a sequential buffer configured to temporarily store the data to be stored in the at least one sequential area, a meta buffer configured to store a meta data including a write pointer information indicating a logical address in which data is to be stored from among logical addresses corresponding to the at least one sequential area, and an area state information indicating whether the sequential buffer is allocated to the at least one sequential area, and a memory controller configured to perform a write operation of storing the data in the at least one sequential area in response to a first command received from the host using the meta data.

Claims (48)

1. A memory system comprising:

a memory device including at least one sequential area in which a data provided from a host and corresponding to consecutive logical addresses of the at least one sequential area is stored;

a sequential buffer configured to temporarily store the data to be stored in the at least one sequential area;

a meta buffer configured to store a meta data including a write pointer information indicating a logical address in which the data is to be stored from among logical addresses corresponding to the at least one sequential area, and an area state information indicating whether the sequential buffer is allocated to the at least one sequential area; and

a memory controller configured to perform a write operation of storing the data in the at least one sequential area in response to a first command received from the host using the meta data,

wherein the memory controller generates a journal data including a write pointer information and an area state information corresponding to the at least one sequential area in which the write operation is performed in response to the first command, and updates the journal data in response to a second command for an operation in the at least one sequential area with pre-existing journal data.

2. The memory system of claim 1 , wherein the memory controller further comprises a journal manager configured to change the write pointer information included in the journal data when a write operation is performed in response to the second command and to change the area state information included in the journal data when a state of the at least one sequential area is changed in response to the second command.

3. The memory system of claim 2 , wherein the memory controller further comprises a meta data manager configured to change the write pointer information included in the meta data when the write operation is performed in response to the second command and to change the area state information included in the meta data when the state of the at least one sequential area is changed in response to the second command.

4. The memory system of claim 3 , wherein the journal manager stores the journal data in the memory device when a size of the journal data exceeds a predetermined value, and

the meta data manager stores the meta data in the memory device when a size of the meta data exceeds a predetermined value.

5. The memory system of claim 3 , wherein the journal manager stores the journal data in the memory device according to a first predetermined time interval, and

the meta data manager stores the meta data in the memory device according to a second predetermined time interval.

6. The memory system of claim 4 , wherein the journal manager stores the journal data in the memory device when a sudden power off occurs, and

the meta data manager restores the meta data stored in the meta buffer, when the sudden power off occurs, using the meta data stored in the memory device and the journal data stored in the memory device.

7. The memory system of claim 6 , wherein when a first write pointer information, which is the write pointer information included in the meta data stored in the memory device, is different from a second write pointer information, which is the write pointer information included in the journal data stored in the memory device, the meta data manager changes the first write pointer information to the second write pointer information and stores the changed meta data in the meta buffer.

8. The memory system of claim 6 , wherein when a first area state information, which is the area state information included in the meta data stored in the memory device, is different from a second area state information, which is the area state information included in the journal data stored in the memory device, the meta data manager changes the first area state information to the second area state information and stores the changed meta data in the meta buffer.

9. The memory system of claim 1 , further comprising:

a journal buffer including the journal data for each of the at least one sequential area in which the write operation is performed from among a plurality of sequential areas included in the memory device.

10. A memory system comprising:

a memory device including at least one sequential area in which a data corresponding to consecutive logical addresses of the at least one sequential area provided from a host is stored;

a sequential buffer configured to temporarily store the data to be stored in the at least one sequential area;

a meta buffer configured to store a first meta data including a write pointer information indicating a logical address in which the data is to be stored from among logical addresses corresponding to the at least one sequential area, and an area state information indicating whether the sequential buffer is allocated to the at least one sequential area; and

a memory controller configured to perform a write operation of storing the data in the at least one sequential area in response to a first command received from the host using the first meta data, to generate a journal data including a write pointer information and an area state information corresponding to the at least one sequential area in which a write operation is performed in response to a first command, and to restore a second meta data stored in the meta buffer using the first meta data stored in the memory device and the journal data stored in the memory device when a sudden power off occurs,

wherein the memory controller updates the journal data in response to a second command for an operation in the at least one sequential area with pre-existing journal data.

11. The memory system of claim 10 , wherein the memory controller further comprises a journal manager configured to change the write pointer information included in the journal data when a write operation is performed in response to the second command and to change the area state information included in the journal data when a state of the at least one sequential area is changed in response to the second command.

12. The memory system of claim 11 , wherein the memory controller further comprises a meta data manager configured to change the write pointer information included in the meta data when the write operation is performed in response to the second command and to change the area state information included in the meta data when the state of the at least one sequential area is changed in response to the second command.

13. The memory system of claim 12 , wherein the journal manager stores the journal data in the memory device when a size of the journal data exceeds a predetermined value, and

the meta data manager stores the meta data in the memory device when a size of the meta data exceeds a predetermined value.

14. The memory system of claim 12 , wherein the journal manager stores the journal data in the memory device according to a first predetermined time interval, and

the meta data manager stores the meta data in the memory device according to a second predetermined time interval.

15. The memory system of claim 13 , wherein when a first write pointer information, which is the write pointer information included in the first meta data, is different from a second write pointer information, which is the write pointer information included in the journal data stored in the memory device, the meta data manager changes the first write pointer information to the second write pointer information and stores the changed first meta data in the meta buffer.

16. The memory system of claim 13 , wherein when a first area state information, which is the area state information included in the first meta data, is different from a second area state information, which is the area state information included in the journal data stored in the memory device, the meta data manager changes the first area state information to the second area state information and stores the changed first meta data in the meta buffer.

17. The memory system of claim 10 , further comprising:

a journal buffer including the journal data for each of the at least one sequential area in which the write operation is performed from among a plurality of sequential areas included in the memory device.

18. A method of operating a memory system comprising a memory device including at least one sequential area in which a data corresponding to consecutive logical addresses provided from a host is stored, a sequential buffer configured to temporarily store the data to be stored in the at least one sequential area, a meta buffer configured to store a meta data including a write pointer information indicating a logical address in which the data is to be stored from among logical addresses corresponding to the at least one sequential area, and an area state information indicating whether the sequential buffer is allocated to the at least one sequential area, and a memory controller configured to perform a write operation of storing the data in the at least one sequential area in response to a first command received from the host using the meta data, the method comprising:

generating a journal data including a write pointer information and an area state information corresponding to the at least one sequential area in which the write operation is performed in response to the first command; and

updating the journal data in response to a second command for the at least one sequential area in which the journal data exists.

19. The method of claim 18 , wherein updating comprises:

changing the write pointer information included in the journal data when the write operation is performed in response to the second command; and

changing the area state information included in the journal data when the state of the at least one sequential area is changed in response to the second command.

20. The method of claim 19 , further comprising:

storing the meta data in the memory device when a size of the meta data exceeds a predetermined value;

storing the journal data in the memory device when a sudden power off occurs; and

restoring the meta data stored in the meta buffer using the meta data stored in the memory device and the journal data stored in the memory device when the sudden power off occurs.

21. The method of claim 20 , wherein restoring comprises:

changing a first write pointer information to a second write pointer information when the first write pointer information, which is the write pointer information included in the meta data stored in the memory device, is different from the second write pointer information, which is the write pointer information included in the journal data stored in the memory device;

changing a first area state information to a second area state information when the first area state information, which is the area state information included in the meta data stored in the memory device, is different from the second area state information, which is the area state information included in the journal data stored in the memory device; and

storing the changed meta data in the meta buffer.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 27, 2021
From: LEE, DO HYEONG; LEE, YU JUNG; CHOI, MIN KYU
To: SK HYNIX INC.
Reel/Frame 057317/0570 →
Priority Claims (1)
KR 10-2021-0035534 · Mar 18, 2021 · national
Continuity (1)
Related Publication 20220300196A1 · Sep 22, 2022