Memory system and operating method thereof

By setting up first and second memory regions in the memory system and copying data to the more reliable region in case of an emergency, the problem of data loss or distortion is solved, and stable data recovery and protection are achieved.

CN116414299BActive Publication Date: 2026-11-20SK HYNIX INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211280675.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-01-05
Filing Date
2022-10-19
Publication Date
2026-11-20
Estimated Expiration
2042-10-19

AI Technical Summary

Technical Problem

Existing memory systems are prone to data loss or distortion in emergency events (such as sudden power outages, drastic temperature changes, etc.) and lack effective data protection and recovery mechanisms.

Method used

The non-volatile memory device includes first and second memory regions. When an emergency event is detected, the controller stores a copy of the original data in the second memory region and restores the original data through comparison and error correction after the event is resolved, ensuring data reliability.

Benefits of technology

It effectively prevents and recovers data loss or distortion caused by emergencies, improving the data stability and reliability of the storage system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116414299B_ABST
    Figure CN116414299B_ABST
Patent Text Reader

Abstract

A memory system and an operating method thereof are provided. The memory system includes a nonvolatile memory device and a controller. The nonvolatile memory device includes a first memory area and a second memory area. When it is detected that an emergency event occurs, the controller stores copy data of original data stored in the first memory area and an address of the first memory area into the second memory area, while storing an address of the second memory area into the first memory area.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references to related applications

[0002] This application claims priority to Korean Patent Application No. 10-2022-0001761, filed on January 5, 2022, the entire disclosure of which is incorporated herein by reference as if it were fully described herein. Technical Field

[0003] Various embodiments of this disclosure relate to a memory system, and more specifically, to a memory system including a non-volatile memory device. Background Technology

[0004] The memory system can be configured to store data provided by the host device in response to a write request from the host device. Furthermore, the memory system can be configured to provide the stored data to the host device in response to a read request from the host device. The host device is an electronic device capable of processing data and may include a computer, digital camera, or mobile phone. The memory system can be installed in the host device or can be manufactured to be connected to and detached from the host device.

[0005] Depending on the number of bits that can be stored in the memory cells included in a non-volatile memory device, the memory cells can operate as single-level cells (SLC), multi-level cells (MLC), three-level cells (TLC), four-level cells (QLC), etc. As the number of bits that can be stored in a memory cell decreases, data can be stored more stably in the memory cell. Summary of the Invention

[0006] In embodiments of this disclosure, a memory system may include a non-volatile memory device and a controller. The non-volatile memory device may include a first memory region and a second memory region. The controller may be configured to, upon detecting an emergency event, store a copy of the original data stored in the first memory region and the address of the first memory region in the second memory region, while simultaneously storing the address of the second memory region in the first memory region.

[0007] In embodiments of this disclosure, a memory system may include a non-volatile memory device and a controller. The non-volatile memory device may include a first memory region and a second memory region. The controller may be configured to: store a copy of the original data stored in the first memory region into the second memory region; recover the original data by comparing first data read from the first memory region and second data read from the second memory region when the reliability of the first memory region and the second memory region are equal; and retain the second data while deleting the original data when the reliability of the second memory region is higher than that of the first memory region.

[0008] In embodiments of this disclosure, an operation method for a memory system may include performing a copy operation when an emergency event is detected. The copy operation may include: storing copy information and copy data of the original data stored in a first memory region into a second memory region, the copy information including the address of the first memory region; and storing the address of the second memory region into the first memory region.

[0009] In embodiments of this disclosure, a method of operating a controller may include: controlling a memory device to copy first data stored in a first region as second data to a second region, wherein the second data is stored together with an error correction code for the second data in the second region; recovering the first data by correcting the difference between the first data and the second data based on the error correction code when the reliability levels of the first region and the second region are the same; and controlling the memory device to remove the first data from the first region when the reliability level of the second region is higher than the reliability level of the first region. Attached Figure Description

[0010] Figure 1 This is a block diagram illustrating a memory system according to an embodiment of the present disclosure.

[0011] Figure 2 This illustrates an embodiment according to the present disclosure. Figure 1 A diagram illustrating the copying operation of the copying unit.

[0012] Figure 3 This illustrates an embodiment according to the present disclosure. Figure 1 A diagram illustrating the recovery operation of the recovery unit.

[0013] Figure 4 This illustrates an embodiment according to the present disclosure. Figure 1 A diagram illustrating the recovery operation of the recovery unit.

[0014] Figure 5 This illustrates an embodiment according to the present disclosure. Figure 1 A flowchart of the operation of the memory system.

[0015] Figure 6 This is a diagram illustrating a data processing system including a solid-state drive (SSD) according to an embodiment of the present disclosure.

[0016] Figure 7 This is a diagram illustrating a data processing system including a memory system according to an embodiment of the present disclosure.

[0017] Figure 8 This is a diagram illustrating a data processing system including a memory system according to an embodiment of the present disclosure.

[0018] Figure 9 This is a diagram illustrating a network system including a memory system according to an embodiment of the present disclosure.

[0019] Figure 10 This is a block diagram illustrating a non-volatile memory device included in a memory system according to an embodiment of the present disclosure. Detailed Implementation

[0020] Various embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. However, the present disclosure may be implemented in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0021] The accompanying drawings are not necessarily drawn to scale, and in some instances, the scale may have been exaggerated to clearly illustrate the features of the embodiments. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure.

[0022] As used herein, the term “and / or” includes at least one of the related listed items. It should be understood that when an element is referred to as “connected to” or “linked to” another element, it may be directly connected to or linked to that other element, or one or more intermediate elements may be present. As used herein, unless the context explicitly indicates otherwise, the singular form is intended to include the plural form, and vice versa. It will be further understood that, when used in this specification, the terms “comprising,” “including,” “containing,” and “comprise” specify the presence of the stated element and do not exclude the presence or addition of one or more other elements.

[0023] Various embodiments of this disclosure will be described below with reference to the accompanying drawings.

[0024] According to an embodiment, a memory system and a method of operating the memory system can be provided that can prevent data loss or distortion due to critical events and can effectively recover lost or distorted data.

[0025] Figure 1 This is a block diagram illustrating a memory system 100 according to an embodiment of the present disclosure.

[0026] The memory system 100 can be configured to store data provided from a host device in response to a write request from an external host device. The memory system 100 can also be configured to provide data stored in the memory system 100 to a host device in response to a read request from the host device.

[0027] The memory system 100 can be configured as a PCMCIA card, a compact flash (CF) card, a smart media card, a memory stick, various multimedia cards (such as MMC, eMMC, RS-MMC, and micro MMC), a secure digital card (SD) (such as SD, mini SD, and micro SD), a universal flash (UFS), or a solid-state drive (SSD).

[0028] The memory system 100 may include a controller 110 and a non-volatile memory device 120.

[0029] The controller 110 can control all operations of the memory system 100. The controller 110 can control the non-volatile memory device 120 to perform foreground operations in response to instructions from the host device. Foreground operations may include writing data to and reading data from the non-volatile memory device 120 in response to instructions from the host device, namely write requests and read requests.

[0030] Furthermore, the controller 110 can control the non-volatile memory device 120 to perform internally required background operations independently of the host device. Background operations may include at least one of wear leveling, garbage collection, erasure, read-reclaim, and refresh operations for the non-volatile memory device 120. Similar to foreground operations, background operations may also include writing data to and reading data from the non-volatile memory device 120.

[0031] When an emergency event is detected, controller 110 can perform a copy operation on the selected data. When the emergency event is resolved, controller 110 can perform a recovery operation on the selected data. During the copy operation, controller 110 can store the copied data in a high-reliability memory area MR, thereby effectively preventing the original data from being lost or distorted.

[0032] Specifically, the controller 110 may include an emergency event detection unit 111, a copying unit 112, and a recovery unit 113.

[0033] The emergency event detection unit 111 can detect and resolve the occurrence of emergency events. Emergency events may include sudden power outages of the main unit, sudden power reductions, and drastic temperature changes exceeding a predetermined range. When power is restored or the temperature stabilizes within the predetermined range, the emergency event can be resolved.

[0034] In this embodiment, a pre-set position (e.g., a closed position) can be set when an emergency occurs. The emergency detection unit 111 can detect the occurrence and resolve of an emergency by checking whether the pre-set position is set.

[0035] When the emergency event detection unit 111 detects an emergency event, the copying unit 112 can perform a copying operation. The copying operation may include the following operations: storing the copied data of the original data stored in the first memory region and the address of the first memory region into the second memory region; and storing the address of the second memory region into the first memory region. The first memory region and the second memory region may be located in memory region MR within the non-volatile memory device 120.

[0036] In an embodiment, the copying operation may further include the following operations: generating reliability data for the copied data; and storing the reliability data in a second memory region.

[0037] In an embodiment, the copying unit 112 can control the non-volatile memory device 120 to store the copied data into a second memory region through a single-level cell (SLC) programming operation.

[0038] When the emergency event detection unit 111 detects that the emergency event has been resolved after the copying unit 112 completes the copying operation, the recovery unit 113 can perform a recovery operation. Specifically, the recovery operation may include the following operations: reading the original data from the first memory region as first data and reading the copied data from the second memory region as second data; and comparing the first data and the second data to recover the original data.

[0039] In one embodiment, the recovery operation can be performed when the reliability of the first memory region and the second memory region is the same.

[0040] In an embodiment, the recovery operation may include the following operations: when the reliability of the second memory region is higher than that of the first memory region, retain the copied data stored in the second memory region while deleting the original data from the first memory region.

[0041] In an embodiment, the recovery operation may include the following operations: reading the address of a second memory region from a first memory region to identify the second memory region; and reading the address of a first memory region from the second memory region to identify the first memory region.

[0042] Under the control of the controller 110, the non-volatile memory device 120 can store data provided by the controller 110 therein, and can read the data stored therein and provide the read data to the controller 110.

[0043] The non-volatile memory device 120 may include multiple memory blocks (MBs). The non-volatile memory device 120 may perform erase operations on a per-MB basis. Each memory block (MB) may include multiple memory regions (MRs). The non-volatile memory device 120 may perform programming and reading operations on a per-MR basis. The memory blocks (MBs) may be non-volatile, and therefore the data stored therein can be permanently retained.

[0044] The non-volatile memory device 120 may include flash memory devices (e.g., NAND flash or NOR flash), ferroelectric random access memory (FeRAM), phase change random access memory (PCRAM), magnetic random access memory (MRAM), resistive random access memory (ReRAM), etc.

[0045] The non-volatile memory device 120 may include one or more planes, one or more memory chips, one or more memory dies, or one or more memory packages.

[0046] Figure 2 This illustrates an embodiment according to the present disclosure. Figure 1 A diagram illustrating the copying operation of the copying unit 112.

[0047] Reference Figure 2 When the emergency event detection unit 111 detects an emergency event, the copying unit 112 can perform a copying operation. Specifically, the copying unit 112 can store the copied data of the original data stored in the first memory area MR1 into the second memory area MR2. More specifically, the copying unit 112 can read the original data ORD from the first memory area MR1 as the first data DT1, and can store the first data DT1 as the copied data CPD into the second memory area MR2.

[0048] In this embodiment, the first memory region MR1 and the second memory region MR2 may belong to different memory blocks.

[0049] The reliability of a memory region (MR) refers to its ability to stably retain the data stored within it without causing data distortion. For example, a memory region (MR) operating as a single-level cell (SLC) memory region can have high reliability. A memory region (MR) operating as a multi-level cell (MLC), three-level cell (TLC), or four-level cell (QLC) memory region with more layers than an SLC can have lower reliability than an SLC memory region. For example, when the reliability of a second memory region (MR2) is higher than that of a first memory region (MR1), the number of bits that can be stored in the memory cells of the second memory region (MR2) can be less than the number of bits that can be stored in the memory cells of the first memory region (MR1).

[0050] Therefore, to improve the reliability of the second memory region MR2, the copying unit 112 can perform the copying operation via SLC programming. Specifically, the copying unit 112 can control the non-volatile memory device 120 to store the copied data CPD into the second memory region MR2 via SLC programming. As an SLC memory region, the second memory region MR2 can store the copied data CPD therein.

[0051] In this embodiment, the original data ORD, which is the target of the copy operation, can be predetermined. For example, the original data ORD may include firmware data, which is a crucial part of the memory system 100's data. Firmware data is critical to the operation of the memory system 100 and is therefore typically stored in the memory area of ​​the SLC. Therefore, when a copy operation is performed on the firmware data according to this embodiment, all original data ORD and copied data CPD can be stored in the highly reliable memory area of ​​the SLC, effectively preventing firmware data loss or distortion.

[0052] In an embodiment, if it is still possible even after the copying operation of the most important data has been completed, additional copying operations can be performed on lower priority data. For example, when the power supply to the host device is suddenly interrupted, if there is still remaining power even after the copying operation of the highest priority data has been completed, additional copying operations can be performed on lower priority data. For example, lower priority data may be user data stored in the memory area MR of the TLC.

[0053] In an embodiment, the predetermined memory region may be a second memory region MR2 for storing the copied data CPD. For example, the non-volatile memory device 120 may include a memory region separately allocated as a buffer for the non-volatile memory device 120, and this separately allocated memory region may be used as the second memory region MR2. For example, the second memory region MR2 may include a buffer memory region MR of the SLC, which is configured to temporarily store data that will eventually be stored in the memory region of the TLC.

[0054] In an embodiment, the first memory region MR1 may include a data region DTR1 and an information region IFR1. The data region DTR1 may be designated to store the original data ORD. The information region IFR1 may be designated to store the address AD_MR2 of the second memory region MR2. The second memory region MR2 may include a data region DTR2 and an information region IFR2. The data region DTR2 may be designated to store the copied data CPD. The information region IFR2 may be designated to store the address AD_MR1 of the first memory region MR1. When the first data DT1 is stored as copied data CPD in the data region DTR2 within the second memory region MR2, the copying unit 112 may further store the address AD_MR1 of the first memory region MR1 in the information region IFR2 within the second memory region MR2, and may further store the address AD_MR2 of the second memory region MR2 in the information region IFR1 within the first memory region MR1.

[0055] In this embodiment, the replication unit 112 can generate reliability data RDT for the replicated data CPD and store the reliability data RDT in the information area IFR2 within the second memory region MR2. Specifically, after reading the original data ORD from the first memory region MR1 as the first data DT1, the replication unit 112 can generate the reliability data RDT for the first data DT1 while storing the first data DT1 in the data area DTR2 within the second memory region MR2, and can store the reliability data RDT in the information area IFR2 within the second memory region MR2. The reliability data RDT may include parity data, cyclic redundancy check (CRC) data, etc.

[0056] Figure 3 This illustrates an embodiment according to the present disclosure. Figure 1 A diagram illustrating the recovery operation of recovery unit 113. It can be completed... Figure 2 Execute after the copy operation Figure 3 The recovery operation.

[0057] Reference Figure 3 When the emergency event detection unit 111 detects that the emergency event has been resolved, the recovery unit 113 can perform a recovery operation. Specifically, the recovery unit 113 can read the original data ORD from the first memory area MR1 as the first data DT1, and can read the copied data CPD from the second memory area MR2 as the second data DT2.

[0058] In this embodiment, the recovery unit 113 can read the address AD_MR2 of the second memory region MR2 from the information region IFR1 within the first memory region MR1 to identify the second memory region MR2, and then read the second data DT2 from the second memory region MR2. That is, the recovery unit 113 can read the address AD_MR2 of the second memory region MR2 from the information region IFR1 within the first memory region MR1 to identify the second memory region MR2 as storing the copied data CPD. Based on the address AD_MR2 of the second memory region MR2 read from the information region IFR1 within the first memory region MR1, the recovery unit 113 can read the copied data CPD as the second data DT2 from the second memory region MR2.

[0059] In this embodiment, the recovery unit 113 can read the address AD_MR1 of the first memory region MR1 from the information area IFR2 within the second memory region MR2 to identify the first memory region MR1. That is, the recovery unit 113 can read the address AD_MR1 of the first memory region MR1 from the information area IFR2 within the second memory region MR2 to identify the first memory region MR1 as storing the original data ORD.

[0060] After reading the first data DT1 and the second data DT2, the recovery unit 113 can compare the first data DT1 with the second data DT2 to recover the original data ORD. Specifically, when the first data DT1 and the second data DT2 are the same, the recovery unit 113 can retain the data (e.g., the original data ORD) stored in one of the corresponding memory regions MR1 ​​and MR2 (e.g., the first memory region MR1), while deleting another data (e.g., the copied data CPD) from the other memory region MR1 and MR2 (e.g., the second memory region MR2). When the first data DT1 and the second data DT2 are different, the recovery unit 113 can compare the first data DT1 and the second data DT2 to estimate the location of the error, and the error can be corrected by using the reliability data RDT read from the second memory region MR2. Even when the original data ORD and the copied data CPD are error-free at the beginning, but at least one of the first data DT1 and the second data DT2 has an error due to an emergency, the recovery unit 113 can also effectively correct the error. In this scenario, recovery unit 113 can store the error-corrected data in another memory region MR (not shown), while simultaneously deleting the original data ORD and the copied data CPD from the first memory region MR1 and the second memory region MR2. The operation of correcting errors using reliability data RDT is well-known and will not be described in detail here.

[0061] As described above, according to the embodiment, the original data ORD can be effectively recovered by utilizing the copied data CPD stored in the highly reliable second memory region MR2. Also as described above, according to the embodiment, the address AD_MR1 of the first memory region MR1 and the address AD_MR2 of the second memory region MR2 can be stored alternately in the second memory region MR2 and the first memory region MR1. Therefore, even when performing copy operations on various original data ORDs, the original data ORD and the corresponding copied data CPD can be precisely matched to each other, and the original data ORD can be recovered. Thus, the memory system can more effectively cope with data loss and data distortion.

[0062] In an embodiment, Figure 3 The recovery unit 113 can perform a recovery operation when the first memory region MR1 and the second memory region MR2 have the same reliability. (See reference...) Figure 4 The recovery unit 113 can perform a recovery operation when the reliability of the second memory region MR2 is higher than that of the first memory region MR1.

[0063] Figure 4 This illustrates an embodiment according to the present disclosure. Figure 1 A diagram illustrating the recovery operation of recovery unit 113. It can be completed... Figure 2 Execute after the copy operation Figure 4 The recovery operation.

[0064] In an embodiment, when the reliability of the second memory region MR2 is higher than that of the first memory region MR1, the recovery unit 113 can retain the copied data CPD stored in the second memory region MR2 while deleting the original data ORD from the first memory region MR1. For example, when the first memory region MR1 is a TLC memory region and the second memory region MR2 is an SLC memory region, the reliability of the copied data CPD can be higher than that of the original data ORD, and therefore it can be retained and stored in place of the original data ORD.

[0065] In one embodiment, the recovery unit 113 can read the address AD_MR2 of the second memory region MR2 from the information area IFR1 within the first memory region MR1 to identify the second memory region MR2, and read the second data DT2 from the second memory region MR2. The recovery unit 113 can also read the address AD_MR2 of the second memory region MR2 from the information area IFR1 within the first memory region MR1 to identify the second memory region MR2 as storing the copied data CPD. In another embodiment, the recovery unit 113 can read the address AD_MR1 of the first memory region MR1 from the information area IFR2 within the second memory region MR2 to identify the first memory region MR1. The recovery unit 113 can also read the address AD_MR1 of the first memory region MR1 from the information area IFR2 within the second memory region MR2 to identify the first memory region MR1 as storing the original data ORD.

[0066] In an embodiment, the recovery unit 113 may further read reliability data RDT from the second memory region MR2 to perform an error correction operation on the second data DT2 based on the reliability data RDT.

[0067] In an embodiment, the recovery unit 113 can store the second data DT2 read from the second memory region MR2 into the third memory region MR3.

[0068] Figure 5 This illustrates an embodiment according to the present disclosure. Figure 1 A flowchart of the operation of the memory system 100.

[0069] In operation S110, the emergency event detection unit 111 can determine whether an emergency event has occurred. If an emergency event occurs, the process can proceed to operation S120. If no emergency event occurs, the process can end.

[0070] In operation S120, the copy unit 112 can perform a copy operation. The copy operation may include storing the copy data CPD of the original data ORD stored in the first memory region MR1 within the non-volatile memory device 120 to the second memory region MR2. The copy operation may further include storing the address AD_MR1 of the first memory region MR1 to the second memory region MR2, and storing the address AD_MR2 of the second memory region MR2 to the first memory region MR1.

[0071] In operation S130, the emergency event detection unit 111 can determine whether the emergency event has been resolved. When the emergency event is resolved, the process can proceed to operation S140. When the emergency event is not resolved, the process can repeat operation S130.

[0072] In operation S140, recovery unit 113 can perform a recovery operation. The recovery operation may include the following operations: reading original data ORD from first memory region MR1 as first data DT1, reading copied data CPD from second memory region MR2 as second data DT2, and comparing first data DT1 and second data DT2 to recover the original data ORD. In an embodiment, when the reliability of second memory region MR2 is higher than that of first memory region MR1, the recovery operation may retain the copied data CPD stored in second memory region MR2 while deleting the original data ORD from first memory region MR1. The recovery operation may further include the following operations: reading the address AD_MR2 of second memory region MR2 from first memory region MR1 to identify second memory region MR2, and reading the address AD_MR1 of first memory region MR1 from second memory region MR2 to identify first memory region MR1.

[0073] Figure 6 This is a diagram illustrating a data processing system 1000 including a solid-state drive (SSD) 1200 according to an embodiment of the present disclosure. (Refer to...) Figure 6 The data processing system 1000 may include a host device 1100 and an SSD 1200.

[0074] SSD 1200 may include controller 1210, buffer memory device 1220, multiple non-volatile memory devices 1231 to 123n, power supply 1240, signal connector 1250 and power connector 1260.

[0075] Controller 1210 can control the overall operation of SSD 1200. Controller 1210 can communicate with... Figure 1 The controller 110 shown operates in the same manner.

[0076] The controller 1210 may include a host interface unit 1211, a control unit 1212, a random access memory 1213, an error correction code (ECC) unit 1214, and a memory interface unit 1215.

[0077] The host interface unit 1211 can exchange signals SGL with the host device 1100 via signal connector 1250. Signal SGL may include commands, addresses, data, etc. The host interface unit 1211 can interface with the host device 1100 and the SSD 1200 according to the host device 1100's protocol. For example, the host interface unit 1211 can communicate with the host device 1100 via one of the following communication standards or interfaces: Secure Digital, Universal Serial Bus (USB), Multimedia Card (MMC), Embedded MMC (eMMC), PCMCIA, Parallel Advanced Technology Attachment (PATA), Serial Advanced Technology Attachment (SATA), Small Computer System Interface (SCSI), Serial SCSI (SAS), Peripheral Component Interconnect (PCI), High Speed ​​PCI (PCI-e or PCIe), and Universal Flash Memory (UFS).

[0078] Control unit 1212 can analyze and process the signal SGL received from host device 1100. Control unit 1212 can control the operation of internal function blocks according to the firmware or software used to drive SSD 1200. Random access memory 1213 can be used as working memory for driving such firmware or software.

[0079] ECC unit 1214 can generate parity data for data to be transferred to at least one of the non-volatile memory devices 1231 to 123n. The generated parity data can be stored together with the data in the non-volatile memory devices 1231 to 123n. ECC unit 1214 can detect errors in data read from at least one of the non-volatile memory devices 1231 to 123n based on the parity data. If the detected error is within a correctable range, ECC unit 1214 can correct the detected error.

[0080] The memory interface unit 1215 can provide control signals, such as commands, and addresses to at least one of the non-volatile memory devices 1231 to 123n under the control of the control unit 1212. Furthermore, the memory interface unit 1215 can exchange data with at least one of the non-volatile memory devices 1231 to 123n under the control of the control unit 1212. For example, the memory interface unit 1215 can provide data stored in the buffer memory device 1220 to at least one of the non-volatile memory devices 1231 to 123n, or provide data read from at least one of the non-volatile memory devices 1231 to 123n to the buffer memory device 1220.

[0081] The buffer memory device 1220 can temporarily store data to be stored in at least one of the non-volatile memory devices 1231 to 123n. Further, the buffer memory device 1220 can temporarily store data read from at least one of the non-volatile memory devices 1231 to 123n. Under the control of the controller 1210, the data temporarily stored in the buffer memory device 1220 can be transferred to the host device 1100 or at least one of the non-volatile memory devices 1231 to 123n.

[0082] Non-volatile memory devices 1231 to 123n can be used as storage media for the SSD 1200. Non-volatile memory devices 1231 to 123n can be connected to the controller 1210 via multiple channels CH1 to CHn, respectively. One or more non-volatile memory devices can be connected to a single channel. Non-volatile memory devices connected to each channel can be connected to the same signal bus and data bus.

[0083] Power supply 1240 can provide power PWR input through power connector 1260 to the internal components of SSD 1200. Power supply 1240 may include auxiliary power supply 1241. In the event of a sudden power failure, auxiliary power supply 1241 can provide power to allow SSD 1200 to terminate normally. Auxiliary power supply 1241 may include a large-capacity capacitor.

[0084] Depending on the interface scheme between the host device 1100 and the SSD 1200, the signal connector 1250 can be configured with various types of connectors.

[0085] Depending on the power supply scheme of the host device 1100, the power connector 1260 can be configured with various types of connectors.

[0086] Figure 7 This is a diagram illustrating a data processing system 2000 including a memory system 2200 according to an embodiment of the present disclosure. (Refer to...) Figure 7The data processing system 2000 may include a host device 2100 and a memory system 2200.

[0087] The host device 2100 may be configured in the form of a board such as a printed circuit board. Although not shown, the host device 2100 may include internal function blocks for performing host device functions.

[0088] The host device 2100 may include a connection terminal 2110, such as a socket, slot, or connector. The memory system 2200 may be installed to the connection terminal 2110.

[0089] The memory system 2200 can be configured in the form of a board, such as a printed circuit board. The memory system 2200 can be referred to as a memory module or a memory card. The memory system 2200 may include a controller 2210, a buffer memory device 2220, non-volatile memory devices 2231 and 2232, a power management integrated circuit (PMIC) 2240, and a connection terminal 2250.

[0090] Controller 2210 can control the overall operation of memory system 2200. Controller 2210 can communicate with... Figure 6 The controller 1210 shown is configured in the same way.

[0091] Buffer memory device 2220 can temporarily store data to be stored in non-volatile memory devices 2231 and 2232. Furthermore, buffer memory device 2220 can temporarily store data read from non-volatile memory devices 2231 and 2232. Under the control of controller 2210, data temporarily stored in buffer memory device 2220 can be transferred to host device 2100 or non-volatile memory devices 2231 and 2232.

[0092] Non-volatile memory devices 2231 and 2232 can be used as storage media in memory system 2200.

[0093] PMIC 2240 can supply power to the memory system 2200 via connection terminal 2250. PMIC 2240 can manage the power of the memory system 2200 under the control of controller 2210.

[0094] Connection terminal 2250 can be connected to connection terminal 2110 of host device 2100. Through connection terminal 2250, power and signals such as commands, addresses, and data can be transmitted between host device 2100 and memory system 2200. Depending on the interface scheme between host device 2100 and memory system 2200, connection terminal 2250 can be configured in various ways. Connection terminal 2250 can be located on either side of memory system 2200.

[0095] Figure 8 This is a diagram illustrating a data processing system 3000 including a memory system 3200 according to an embodiment of the present disclosure. (Refer to...) Figure 8 The data processing system 3000 may include a host device 3100 and a memory system 3200.

[0096] The host device 3100 may be configured as a board, such as a printed circuit board. Although not shown, the host device 3100 may include internal function blocks for performing host device functions.

[0097] The memory system 3200 can be configured in a surface-mount package. The memory system 3200 can be mounted to the host device 3100 via solder balls 3250. The memory system 3200 may include a controller 3210, a buffer memory device 3220, and a non-volatile memory device 3230.

[0098] The controller 3210 can control the overall operation of the memory system 3200. The controller 3210 can communicate with... Figure 6 The controller 1210 shown is configured in the same way.

[0099] The buffer memory device 3220 can temporarily store data to be stored in the non-volatile memory device 3230. Furthermore, the buffer memory device 3220 can temporarily store data read from the non-volatile memory device 3230. Under the control of the controller 3210, data temporarily stored in the buffer memory device 3220 can be transferred to the host device 3100 or the non-volatile memory device 3230.

[0100] The non-volatile memory device 3230 can be used as the storage medium of the memory system 3200.

[0101] Figure 9 This is a diagram illustrating a network system 4000 including a memory system 4200 according to an embodiment of the present disclosure. (Refer to...) Figure 9 The network system 4000 may include a server system 4300 connected via network 4500 and multiple client systems 4410 to 4430.

[0102] Server system 4300 can serve data in response to requests from multiple client systems 4410 to 4430. For example, server system 4300 can store data provided by multiple client systems 4410 to 4430. As another example, server system 4300 can provide data to multiple client systems 4410 to 4430.

[0103] Server system 4300 may include host device 4100 and memory system 4200. Memory system 4200 may be composed of… Figure 1 The memory system 100 shown Figure 6 The SSD 1200 shown Figure 7 The memory system 2200 shown or Figure 8 The memory system 3200 shown is configured as shown.

[0104] Figure 10 This is a block diagram illustrating a non-volatile memory device 300 included in a memory system according to an embodiment of the present disclosure. (Refer to...) Figure 10 The non-volatile memory device 300 may include a memory cell array 310, a row decoder 320, a data read / write block 330, a column decoder 340, a voltage generator 350, and control logic 360.

[0105] The memory cell array 310 may include memory cells MC located in the regions where word lines WL1 to WLm and bit lines BL1 to BLn intersect.

[0106] The row decoder 320 can be connected to the memory cell array 310 via word lines WL1 to WLm. The row decoder 320 can operate under the control of control logic 360. The row decoder 320 can decode addresses provided from external devices (not shown). The row decoder 320 can select and drive word lines WL1 to WLm based on the decoding result. For example, the row decoder 320 can provide word line voltages provided from voltage generator 350 to word lines WL1 to WLm.

[0107] The data read / write block 330 can be connected to the memory cell array 310 via bit lines BL1 to BLn. The data read / write block 330 may include read / write circuits RW1 to RWn corresponding to the bit lines BL1 to BLn, respectively. The data read / write block 330 can be operated under the control of the control logic 360. Depending on the operating mode, the data read / write block 330 can operate as a write driver or a sense amplifier. For example, in a write operation, the data read / write block 330 can operate as a write driver to store data provided from an external device into the memory cell array 310. As another example, in a read operation, the data read / write block 330 can operate as a sense amplifier to read data from the memory cell array 310.

[0108] The column decoder 340 can operate according to the control logic 360. The column decoder 340 can decode addresses provided from external devices. Based on the decoding result, the column decoder 340 can connect the read / write circuits RW1 to RWn in the data read / write block 330, which correspond to bit lines BL1 to BLn respectively, to the data input / output lines or data input / output buffers.

[0109] Voltage generator 350 can generate voltages for internal operations of the non-volatile memory device 300. The voltages generated by voltage generator 350 can be applied to the memory cells of the memory cell array 310. For example, a programming voltage generated during a programming operation can be applied to the word line of the memory cell to which the programming operation is to be performed. As another example, an erase voltage generated during an erase operation can be applied to the well region of the memory cell to which the erase operation is to be performed. As yet another example, a read voltage generated during a read operation can be applied to the word line of the memory cell to which the read operation is to be performed.

[0110] Control logic 360 can control the overall operation of non-volatile memory device 300 based on control signals provided from an external device. For example, control logic 360 can control the operation of non-volatile memory device 300, such as read operations, write operations, and erase operations of non-volatile memory device 300.

[0111] According to the embodiments, the memory system and the method of operating the memory system can prevent data loss or distortion due to emergency events, and can effectively recover lost or distorted data.

[0112] Although specific embodiments have been described above, those skilled in the art will understand that the described embodiments are merely examples. Therefore, the memory system and its operation methods should not be limited based on the described embodiments. Rather, the memory system and its operation methods described herein should be limited only by the claims in conjunction with the foregoing description and drawings. Furthermore, embodiments may be combined to form additional embodiments.

Claims

1. A memory system, comprising: A non-volatile memory device includes multiple memory regions, wherein the multiple memory regions are non-volatile; as well as Controller, the controller: In response to detecting a predetermined event, a copy of the original data stored in a first memory region among the plurality of memory regions, along with the address of the first memory region, is stored in a second memory region among the plurality of memory regions, and the address of the second memory region is stored in the first memory region. In response to detecting and resolving the predetermined event, the address of the second memory region is read from the first memory region, and the copied data and the address of the first memory region are read from the second memory region using the address of the second memory region.

2. The memory system of claim 1, wherein the controller further generates reliability data of the replicated data and stores the reliability data in the second memory region.

3. The memory system of claim 1, wherein when the original data includes data of the highest priority, each of the first memory region and the second memory region is a single-level cell (SLC) memory region.

4. The memory system of claim 1, wherein the controller further: The original data is read from the first memory region as the first data. The copied data is read from the second memory region as the second data, and In response to the detection of the predetermined event, the first data and the second data are compared to recover the original data.

5. The memory system according to claim 1, The reliability of the second memory region is higher than that of the first memory region, and The controller further responds to detecting and resolving the predetermined event by maintaining the copied data stored in the second memory region while deleting the original data from the first memory region.

6. The memory system of claim 1, wherein the controller further identifies the first memory region storing the original data based on an address read from the second memory region.

7. A memory system comprising: A non-volatile memory device includes multiple memory regions, wherein the multiple memory regions are non-volatile; as well as Controller, the controller: The copied data of the original data stored in the first memory region, along with the address of the first memory region, is stored in the second memory region among the plurality of memory regions. Store the address of the second memory region into the first memory region; In response to the detection of a predetermined event, the address of the second memory region is read from the first memory region. The second memory region is identified using the address of the second memory region. When the reliability of the first memory region and the second memory region is the same, the original data is recovered by comparing the first data read from the first memory region and the second data read from the second memory region. When the reliability of the second memory region is higher than that of the first memory region, the second data is retained while the original data is deleted.

8. The memory system of claim 7, wherein the controller further generates reliability data of the replicated data when storing the replicated data in the second memory region, and stores the reliability data in the second memory region.

9. The memory system of claim 7, wherein the controller stores the copied data in the second memory region via a single-level cell programming operation, i.e., an SLC programming operation.

10. A method of operating a memory system, the method comprising: In response to the detection of a predetermined event, a copy operation is performed. In response to the detection and resolution of the predetermined event, a recovery operation is performed. The copying operation includes the following operations: The copy information and the copy data of the original data stored in the first memory area are stored in the second memory area, wherein the copy information includes the address of the first memory area; as well as Store the address of the second memory region into the first memory region, and The recovery operation includes the following operations: Read the address of the second memory region from the first memory region; as well as The copied data and the address of the first memory region are read from the second memory region using the address of the second memory region.

11. The operating method according to claim 10, The replication operation further includes the operation of generating reliability data for the replicated data, and The replication information further includes the reliability data.

12. The method of operation according to claim 10, wherein when the original data includes data of the highest priority, each of the first memory region and the second memory region is a memory region of a single-level cell (SLC).

13. The operating method according to claim 10, The recovery operation further includes the following operations: When the reliability of the first memory region and the second memory region is the same, the original data is read from the first memory region as first data, and the copied data is read from the second memory region as second data. Compare the first data and the second data to recover the original data.

14. The operating method according to claim 10, wherein the recovery operation further comprises the following operations: The first memory region storing the original data is identified based on the address read from the second memory region.

15. The method of operation according to claim 10, wherein the recovery operation further comprises the following operations: when the reliability of the second memory region is higher than that of the first memory region, retaining the copied data stored in the second memory region while deleting the original data from the first memory region.

Citation Information

Patent Citations

  • Method and Apparatus for Restoring Data after Power Failure for An Open-Channel Solid State Drive

    US20190324859A1