Storage device and method of operating the same
By employing ZNS manager in the storage device to perform partition management and sub-partition operations on the storage space, the problem of low data modification efficiency is solved, resulting in faster operation speed and lower memory usage frequency, thus improving the overall performance of the storage device.
Patent Information
- Application Number
- CN202210967280.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-10-27
- Filing Date
- 2022-08-12
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-08-12
AI Technical Summary
Existing storage devices suffer from inefficiency during data modification, especially during partition management and data rewriting, resulting in slow operation speeds and high memory usage frequency.
The ZNS manager is used to divide the storage space into multiple partitions, and when data is modified, only the target subpartition is reset and rewritten, rather than the entire partition. This optimizes the data processing flow by generating, dividing, resetting, and combining subpartitions.
It improves the operating speed of the data processing system, reduces the frequency of memory use and wear, and enhances the overall performance of the storage device.
Smart Images

Figure CN116027964B_ABST
Abstract
Description
[0001] Cross-references to related applications
[0002] This patent document claims priority and benefit to Korean application No. 10-2021-0144557, filed with the Korean Intellectual Property Office on October 27, 2021, which is incorporated herein by reference in its entirety. Technical Field
[0003] The various embodiments of the disclosed technology generally relate to a semiconductor integrated device, and more specifically, to a memory device and a method of operating the same. Background Technology
[0004] The storage device is connected to the host device and performs data input / output operations according to the host device's requests.
[0005] With the development of AI (Artificial Intelligence) and big data-related industries, research is actively underway on high-performance data centers or personal computing devices. High-performance computing devices can be implemented by using a hardware pool representing storage devices to drive multiple operating systems and / or applications.
[0006] The storage device includes a non-volatile memory device, which ensures storage space and extends its lifespan through internal management operations such as garbage collection. These internal management operations, which utilize the available storage space to read and program data, impact the system's quality of service.
[0007] To eliminate this internal management operation, a new concept called ZNS (Partition Namespace) has been introduced, which divides storage space into partitions and writes data to the partitions sequentially. Furthermore, various methods for using these partitions more efficiently are being investigated. Summary of the Invention
[0008] In an embodiment, a storage device may include: a storage device comprising a plurality of storage blocks including memory cells for storing data; and a controller communicating with the storage device to control the operation of the storage device, and configured to generate a first partition comprising one or more storage blocks and sequentially store data starting from a first storage location in the first partition in response to a write request from an external source to write data to the storage device, and further configured to identify a target storage block corresponding to the modification request and rewrite the data to the target storage block in response to a modification request from an external source to modify the data stored in the first partition.
[0009] In an embodiment, a storage device may include: a storage region divided into one or more partitions, each partition including one or more memory blocks of memory cells storing data; and a controller communicating with the storage region to control the operation of the storage region and configured to divide the first partition into a plurality of sub-partitions in response to a request from an external source to modify data stored in the first partition, identify a target group including one or more sub-partitions storing the data to be modified, and combine one or more sub-partitions into the first partition after the data modification is completed, wherein each of the plurality of sub-partitions corresponds to a memory block.
[0010] In one embodiment, a method of operating a storage device is provided. The storage device includes a plurality of storage blocks of memory cells for storing data and a controller for controlling the operation of the storage device. The method includes: the controller generating a first partition comprising one or more storage blocks in response to a write request received from an external source; the controller storing data such that the data is stored sequentially starting from a first storage location in the first partition, and closing the first partition; the controller identifying a target storage block corresponding to the modification request in response to a modification request from an external source that modifies the data stored in the first partition; and the controller rewriting the data into the target storage block. Attached Figure Description
[0011] Figure 1 This is a configuration diagram illustrating a data processing system according to an embodiment of the disclosed technology.
[0012] Figure 2 This is a configuration diagram illustrating a ZNS manager according to an embodiment of the disclosed technology.
[0013] Figure 3 This is a configuration diagram illustrating a partition management table according to an embodiment of the disclosed technology.
[0014] Figure 4 This is a configuration diagram illustrating partition management commands according to an embodiment of the disclosed technology.
[0015] Figure 5 This is a flowchart describing a method of operating a storage device according to an embodiment of the disclosed technology.
[0016] Figure 6 This is a diagram illustrating a method of operating a storage device according to an embodiment of the disclosed technology.
[0017] Figure 7 This is a conceptual diagram describing a sub-partition opening method according to an embodiment of the disclosed technology.
[0018] Figure 8 This is a conceptual diagram describing a partitioning method according to an embodiment of the disclosed technology.
[0019] Figure 9 This is a diagram illustrating a data storage system according to an embodiment of the disclosed technology.
[0020] Figure 10 and Figure 11 This is a diagram illustrating a data processing system according to an embodiment of the disclosed technology.
[0021] Figure 12 This is a diagram illustrating a network system including a data storage device according to an embodiment of the disclosed technology.
[0022] Figure 13 This is a block diagram illustrating a non-volatile memory device included in a data storage device according to an embodiment of the disclosed technology. Detailed Implementation
[0023] In the following description, embodiments will be described in more detail with reference to the accompanying drawings.
[0024] Figure 1 This is a configuration diagram illustrating a data processing system according to an embodiment of the disclosed technology.
[0025] Reference Figure 1 The data processing system 100 may include a host device 110 and a storage device 120.
[0026] Examples of host devices 110 include portable electronic devices such as mobile phones and MP3 players, personal electronic devices such as laptops, desktop computers, game consoles, TVs and beam projectors, or electronic devices such as workstations or servers used for processing large amounts of data.
[0027] Storage device 120 is configured to input / output data DATA in response to an external command CMD, such as that from host device 110. Storage device 120 is configured to store data accessed by host device 110. That is, storage device 120 can be used as a main memory device or an auxiliary memory device of host device 110. Storage device 120 can be integrated in the form of a memory card or SSD (solid-state drive) connected to host device 110 via various interfaces.
[0028] Storage device 120 may include controller 130 and storage device (NVM) 140.
[0029] Controller 130 is configured to control storage device 140 in response to requests from an external source, such as host device 110. For example, controller 130 is configured to store data provided from host device 110 in storage device 140 or to provide data read from storage device 140 to host device 110. For such operation, controller 130 is configured to control read, write, and erase operations on storage device 140.
[0030] Storage device 140 may include a non-volatile memory device (NVM). In embodiments, the non-volatile memory device may be configured as one or more of various types of non-volatile memory devices, such as NAND flash memory, NOR flash memory, FRAM (ferroelectric random access memory) using ferroelectric capacitors, MRAM (magnetic random access memory) using a TMR (tunnel magnetoresistive) layer, PRAM (phase change random access memory) using a chalcogenide alloy, or ReRAM (resistive random access memory) using a transition metal oxide.
[0031] Storage device 140 can be coupled to controller 130 via one or more channels CH0 to CHn. Storage device 140 may include multiple memory cells for storing data, wherein the memory cells are organized and grouped to form multiple pages, each page comprising a different memory cell, and the pages are organized and grouped to form multiple blocks, each block comprising multiple pages. A page may be defined as a unit of data write or read operations, and a block may be defined as a unit of data erase operations.
[0032] At least some of the memory cells that make up each page can each operate as an SLC (single-level cell) capable of storing 1 bit of data or an MLC (multi-level cell) capable of storing 2 or more bits of data.
[0033] The controller 130 may include a ZNS manager 210 and an operation processor 220.
[0034] ZNS manager 210 can generate multiple partitions in storage device 140 and write data to the generated partitions in response to write requests from host device 110. Each of the multiple partitions, Zone 1 to Zone m, can include one or more blocks as sub-partitions and have the same or different sizes. A block can correspond to the smallest unit used to erase storage device 140. Storage device 140 can have storage space configured as multiple partitions, Zone 1 to Zone m, under the control of controller 130. In each partition, Zone 1 to Zone m, data is stored sequentially starting from a first storage location.
[0035] A partition can be in an open or closed state. An open state indicates that a write / modify operation is being prepared or is in progress to write new data or modify data already written to memory, while a closed state indicates that the write / modify operation has been completed. Partitions in open and closed states can be referred to as open partitions and closed partitions, respectively.
[0036] When host device 110 transmits a write command including modified data for modifying written data to change a portion of the data stored in a partition (closed partition) where the write operation has been completed, ZNS manager 210 can search for the target block storing the modified target data in the partition, reset (e.g., erase) the target block and rewrite the data to the target block.
[0037] According to this embodiment, the ZNS manager 210 does not perform reset and rewrite operations on a partition-by-partition basis when modifying data. In this embodiment, the ZNS manager 210 performs reset and rewrite operations on one or more sub-partitions that include the target data to be modified (e.g., data that has already been stored but is to be modified). A sub-partition corresponds to a storage block, which is the smallest unit of data to be erased from the storage device 140. Therefore, the ZNS manager 210 can minimize the amount of data erased and written when data is modified, thereby improving the operating speed of the data processing system 100.
[0038] In an embodiment, when the host device 110 transmits a write command including modified data to change a portion of the data stored in a partition (closed partition) where a write operation has already been completed, the ZNS manager 210 can search for target blocks to identify the target block within that partition storing the modified target data and reset (e.g., erase) the target block. In some implementations, the ZNS manager 210 can allocate at least one free block within the storage device 140 corresponding to the size of the modified data and rewrite the modified data into the allocated free block.
[0039] The operation of rewriting data may indicate or include reading data from the target block, temporarily storing data read from the target block, modifying temporarily stored data according to a modification request transmitted from the host device 110, and writing the modified data to the target block or a newly allocated free block.
[0040] The processor 220 can control read, write and erase operations on the storage device 140 under the control of the controller 130.
[0041] Figure 2 This is a configuration diagram illustrating a ZNS manager 210 according to an embodiment of the disclosed technology.
[0042] Reference Figure 2The ZNS manager 210 may include a partition management table 211, an address checking circuit 213, a partition generation circuit 215, a partition division circuit 217, and a partition combination circuit 219.
[0043] The partition management table (ZMT) 211 can store information about partitions generated according to the request of the host device 110.
[0044] Figure 3 This is a configuration diagram illustrating a partition management table according to an embodiment of the disclosed technology.
[0045] like Figure 3 As shown, the partition management table ZMT may include an identifier (ID) field, a start logical address (ZSLBA) field, a capacity (CAPA) field, an attribute (ATTRIB) field, a write pointer (WP) field, etc., for each partition. The partition management table 211 may be stored in the storage device 140 and loaded into the working memory (not shown) within the controller 130 when the data processing system 100 is activated.
[0046] The identifier (ID) field stores information used to identify each partition. The partition identifier ID can be transmitted from the host device 100, but this embodiment is not limited to this.
[0047] The Start Logical Address (ZSLBA) field indicates the header logical block address of the corresponding partition. The physical address corresponding to the Start Logical Address ZSLBA can be managed by the host device 110 or the controller 130.
[0048] The Capacity (CAPA) field indicates the total number of logical blocks in the corresponding partition that can be written to.
[0049] The ATTRIB field indicates whether the corresponding partition is open (O) or closed (C).
[0050] The Write Pointer (WP) field indicates the address of the logical block in the corresponding partition where data can be written.
[0051] Address checking circuit 213 can determine, in response to a write request, whether the address (write address) of the logical block corresponding to the write request of host device 110 is included in the closed partition. The write request of host device 110 may include a write address, write data, and the size of the write data, and may further include a partition identifier ID.
[0052] When the write address or partition identifier ID is not included in the closed partition, the address checking circuit 213 can transmit the write address and the size of the write data to the partition generation circuit 215 and request the partition generation circuit 215 to generate a new partition.
[0053] In response to a partition generation request from address checking circuit 213, partition generation circuit 215 generates a partition corresponding to the size of the write data and adds the generated partition to partition management table 211. When the write request does not include the size of the write data, partition generation circuit 215 can generate a partition of a preset size. In an embodiment, partition generation circuit 215 can assign an identifier ID to the newly generated partition and set the write logical address transmitted from host device 110 to the starting logical address ZSLBA. Furthermore, partition generation circuit 215 can set the capacity (CAPA) field according to the size of the generated partition and define the attribute (ATTRIB) field as open (O). Additionally, partition generation circuit 215 can set the write pointer to point to the first storage location of the generated partition. When the write operation on the corresponding partition is completed, partition generation circuit 215 can change the state of the attribute (ATTRIB) field to closed (C) and set the write pointer WP to point to the last data storage location.
[0054] The partition generation circuit 215 can allocate partitions to each application. For example, multiple applications running on the host device 110 can sequentially store data (files) in the partitions allocated to them. Within each partition, various types of data reflecting the characteristics of the respective application can be stored sequentially. Partitions can be erased on a partition-by-partition basis or as sub-partitions (blocks) constituting each partition.
[0055] When the write address included in the write request is within a closed partition, the address checking circuit 213 can transmit the write address to the partitioning circuit 217 and request the partitioning circuit 217 to open the sub-partition. When the write address is included in a closed partition, it can indicate that the write request from the host device 110 is a modification request for modifying data that has already been written. As described above, a partition can be configured as at least one sub-partition, and the target data for modification can be data stored in one or more sub-partitions.
[0056] In response to a request from address checking circuit 213, partitioning circuit 217 can change the status of a target sub-partition (e.g., a sub-partition corresponding to target data to be modified) within a partition from a closed state to an open state based on partition management table 211. The target sub-partition includes a write address corresponding to the write request and may include one or more sub-partitions. Specifically, partitioning circuit 217 detects partitions containing write addresses and checks the number of sub-partitions constituting the corresponding partition based on the partition's capacity CAPA and the size of the unit block constituting that partition. Therefore, when the location of a target sub-partition to be modified is detected or identified, partitioning circuit 217 can transmit a reset command to operation processor 220.
[0057] After the target subpartition is reset, the operation processor 220 can set the write pointer of the corresponding partition to point to the first storage location of the target subpartition. The operation processor 220 can then rewrite the data to the subpartition by referring to the write pointer and change the subpartition's state to closed.
[0058] When a sub-partition's state is changed to a closed state, partition combination circuit 219 combines the corresponding partitions. When partitions are combined, it can be indicated that partitions are managed on a partition-by-partition basis rather than on a sub-partition basis. To combine partitions, operation processor 220 can set the write pointer WP to point to the last data storage location of the corresponding partition.
[0059] Figure 4 This is a configuration diagram illustrating partition management commands according to an embodiment of the disclosed technology.
[0060] To modify a portion of the data stored in a partition, the target subpartition can be made open. To reassemble the partition after modifying the data, you can use... Figure 4 The partition management commands shown.
[0061] Reference Figure 4 Partition management commands may include an opcode (OPCODE) field, an identifier (ID) field, a subpartition count (NOSZ) field, and a subpartition number (NORST) field.
[0062] The opcode field can be set to the first logical level (e.g., 0) when partitioning, and to the second logical level (e.g., 1) when combining partitions.
[0063] The identifier (ID) field is set to the identifier of the partition to be divided or combined.
[0064] The Subpartition Count (NOSZ) field is set to the number of subpartitions that make up the partition in which data is to be modified. The number of subpartitions checked by partitioning circuit 217 during partitioning can be set in the Subpartition Count (NOSZ) field. The Subpartition Count (NOSZ) field is ignored when combining partitions.
[0065] The number of the subpartition to be reset is set in the Subpartition Number (NORST) field. When partitioning, the number of the subpartition to be modified is assigned to the Subpartition Number (NORST) field. When combining partitions, the Subpartition Number (NORST) field is ignored.
[0066] For example, when the partition management command is "01MX", the Xth subpartition among the M subpartitions of the partition with ID 1 can be reset. When the partition management command is "11--", the partition with ID 1 can be combined.
[0067] Figure 5 This is a flowchart describing a method of operating a storage device according to an embodiment of the disclosed technology.
[0068] Reference Figure 5 In step S101, a write request is received from the host device 110. The write request includes a write address, write data, and the size of the write data. The write request may also include a partition identifier ID. The content of the write request may vary depending on the implementation. Next, in step S103, the controller 130 may determine whether the address (write address) or partition identifier ID of the logical block corresponding to the write request is included in the closed partition.
[0069] In step S105, when the write address or partition identifier ID is included in the closed partition ("Yes" in step S103) or when a write request for modifying already written data is received, the controller 130 opens the target sub-partition corresponding to the modification target. The following will refer to... Figure 6 The specific process of opening a subpartition is described. Opening a target subpartition corresponds to changing the subpartition's state from closed to open.
[0070] In step S107, the controller 130 can rewrite the data to the open target sub-partition. Therefore, the controller 130 applies the modified target data to the data in the target sub-partition and then writes the data to the target sub-partition.
[0071] When the rewrite operation is complete, controller 130 closes the target sub-partition in step S109 and combines the corresponding partitions in step S111. For example, controller 130 can set the write pointer WP to point to the last data storage location of the corresponding partition.
[0072] When the write address is not included in the closed partition (No in step S103), in step S113, the controller 130 can generate a new partition and perform a write operation. Information about the newly generated partition can be managed as a partition management table ZMT.
[0073] Figure 6 This is a diagram illustrating a method of operating a storage device according to an embodiment of the disclosed technology.
[0074] In order to open the target sub-partition for which data is to be rewritten or modified, in step S201, the controller 130 determines the number of sub-partitions of the corresponding partition by referring to the partition management table ZMT, based on the capacity CAPA of the partition that includes the write address and the size of the unit block that constitutes the partition.
[0075] In step S203, the controller 130 can determine the location of the sub-partition including the write address, or determine which sub-partition within the corresponding partition the write request corresponds to. Then, in step S205, the controller 130 can transmit a reset command and reset the target sub-partition via a partition management command. The partition management command may have... Figure 4 The format shown.
[0076] After the target subpartition is reset, in step S207, the controller 130 can set the write pointer of the corresponding partition to point to the first storage location of the target partition to be modified.
[0077] Figure 7 This is a conceptual diagram describing a sub-partition opening method according to an embodiment of the disclosed technology.
[0078] Figure 7 This is based on the assumption that partition Zone 1 is in a closed state and has an ID of 1. Partition Zone 1 consists of two sub-partitions, SZ0 and SZ1, with a starting address ZSLBA of 0 and a write pointer WP pointing to 4095.
[0079] When a write command is received for a logical address included in the logical address range (0 to 4095) of partition Zone 1, the controller 130 can determine the location of the target sub-partition to be modified and generate a partition management command.
[0080] like Figure 7 As shown, the partition management command can be generated as a partitioning command and become "0121". That is to say, partition Zone 1 can consist of two sub-partitions, and the first sub-partition of the two sub-partitions can be partitioned according to the partition management command.
[0081] Therefore, Zone 1 is divided into sub-zone 0Sub Zone#0 and sub-zone 1Sub Zone#1, and the write pointer WP is set to point to the first storage location 2048 of sub-zone 1Sub Zone#1.
[0082] When the sub-zone #1 is reset according to the partitioning command, the controller 130 rewrites the data to the sub-zone #1.
[0083] In order to rewrite the data, the controller 130 can read the data that has been previously stored in sub-zone 1Sub Zone#1, temporarily store the read data, correct the temporarily stored data according to the modified data of the MODIFY RANGE transmitted from the host device 110, and write the corrected data into sub-zone 1Sub Zone#1.
[0084] Although not shown, when a modification request is received for modifying at least some data in Sub Zone #1, controller 130 may allocate a new free block and rewrite the data to the new free block.
[0085] Figure 8 This is a conceptual diagram describing a partitioning method according to an embodiment of the disclosed technology.
[0086] Reset subzone #1 and pass Figure 7 After the data is rewritten using the method shown, the controller 130 can generate a partition management command as a combination command and combine the corresponding partitions. For example, the partition management command can be generated as a combination command and become "11--". That is, the partition management command can instruct the controller 130 to combine partition Zone1.
[0087] According to the combination command, the sub-partitions 0SubZone#0 and 1SubZone#1 that make up partition Zone 1 can be combined, and the write pointer WP can point to the storage location 4095 of the last data in partition Zone 1.
[0088] When modifying data stored in a partition, the controller 130 can partially reset the target partition and rewrite the data to the target partition, rather than resetting the entire partition and rewriting the data, thereby improving data processing speed and reducing the frequency of use of the memory device.
[0089] Figure 9 This is a diagram illustrating a data storage system 1000 according to an embodiment of the disclosed technology.
[0090] Reference Figure 9 The data storage system 1000 may include a host device 1100 and a data storage device 1200. In an embodiment, the data storage device 1200 may be configured as a solid-state drive (SSD).
[0091] The data storage device 1200 may include a controller 1210, a plurality of non-volatile memory devices 1220-0 to 1220-n, a buffer memory device 1230, a power supply 1240, a signal connector 1101, and a power connector 1103.
[0092] The controller 1210 can control the general operation of the data storage device 1200. The controller 1210 may include a host interface unit, a control unit, random access memory used as working memory, an error correction code (ECC) unit, and a memory interface unit. In embodiments, the controller 1210 may be configured to... Figures 1 to 3 The controller 130 shown.
[0093] The host device 1100 can exchange signals with the data storage device 1200 through the signal connector 1101. These signals may include commands, addresses, data, etc.
[0094] The controller 1210 can analyze and process signals received from the host device 1100. The controller 1210 can control the operation of internal function blocks according to the firmware or software used to drive the data storage device 1200.
[0095] The buffer memory device 1230 can temporarily store data to be stored in at least one of the non-volatile memory devices 1220-0 to 1220-n. Further, the buffer memory device 1230 can temporarily store data read from at least one of the non-volatile memory devices 1220-0 to 1220-n. Data temporarily stored in the buffer memory device 1230 can be transferred to the host device 1100 or at least one of the non-volatile memory devices 1220-0 to 1220-n under the control of the controller 1210.
[0096] Non-volatile memory devices 1220-0 to 1220-n can be used as storage media for data storage device 1200. Non-volatile memory devices 1220-0 to 1220-n can be connected to controller 1210 via multiple channels CH0 to CHn, respectively. One or more non-volatile memory devices can be connected to one channel. Non-volatile memory devices connected to each channel can be connected to the same signal bus and data bus.
[0097] Power supply 1240 can provide power input via power connector 1103 to the controller 1210, non-volatile memory devices 1220-0 to 1220-n, and buffer memory device 1230 of data storage device 1200. Power supply 1240 may include an auxiliary power supply. The auxiliary power supply can supply power to allow data storage device 1200 to terminate normally in the event of a sudden power outage. The auxiliary power supply may include a large-capacity capacitor sufficient to store the required charge.
[0098] Depending on the interface scheme between the host device 1100 and the data storage device 1200, the signal connector 1101 can be configured as one or more of various types of connectors.
[0099] Depending on the power supply scheme of the host device 1100, the power connector 1103 can be configured as one or more of various types of connectors.
[0100] Figure 10 This is a diagram illustrating a data processing system 3000 according to an embodiment. (Refer to...) Figure 10The data processing system 3000 may include a host device 3100 and a memory system 3200.
[0101] The host device 3100 may be configured as a board, for example, a printed circuit board. Although not shown, the host device 3100 may include internal function blocks for performing the functions of the host device.
[0102] The host device 3100 may include connection terminals 3110 such as sockets, slots, or connectors. The memory system 3200 may mate with the connection terminals 3110.
[0103] The memory system 3200 can be configured as a board, for example, a printed circuit board. The memory system 3200 can be referred to as a memory module or a memory card. The memory system 3200 may include a controller 3210, a buffer memory device 3220, non-volatile memory devices 3231 and 3232, a power management integrated circuit (PMIC) 3240, and a connection terminal 3250.
[0104] The controller 3210 can control the general operation of the memory system 3200. The controller 3210 can be connected to... Figures 1 to 3 The controller 130 shown is configured in the same way.
[0105] The buffer memory device 3220 can temporarily store data to be stored in the non-volatile memory devices 3231 and 3232. Furthermore, the buffer memory device 3220 can temporarily store data read from the non-volatile memory devices 3231 and 3232. Under the control of the controller 3210, the data temporarily stored in the buffer memory device 3220 can be transferred to the host device 3100 or the non-volatile memory devices 3231 and 3232.
[0106] Non-volatile memory devices 3231 and 3232 can be used as storage media in memory system 3200.
[0107] The PMIC 3240 can supply power to the memory system 3200 via the connection terminal 3250. The PMIC 3240 can manage the power of the memory system 3200 under the control of the controller 3210.
[0108] Connection terminal 3250 can be connected to connection terminal 3110 of host device 3100. Through connection terminal 3250, signals such as commands, addresses, and data, as well as power, can be transmitted between host device 3100 and memory system 3200. Depending on the interface scheme between host device 3100 and memory system 3200, connection terminal 3250 can be configured as one or more of various types. As shown, connection terminal 3250 can be located on one side of memory system 3200.
[0109] Figure 11 This is a diagram illustrating a data processing system 4000 according to an embodiment. (Refer to...) Figure 11 The data processing system 4000 may include a host device 4100 and a memory system 4200.
[0110] The host device 4100 may be configured as a board, for example, a printed circuit board. Although not shown, the host device 4100 may include internal function blocks for performing the functions of the host device.
[0111] The memory system 4200 can be configured in a surface-mount package. The memory system 4200 can be mounted to the host device 4100 via solder balls 4250. The memory system 4200 may include a controller 4210, a buffer memory device 4220, and a non-volatile memory device 4230.
[0112] The controller 4210 can control the general operation of the memory system 4200. The controller 4210 can be connected to... Figures 1 to 3 The controller 130 shown is configured in the same way.
[0113] The buffer memory device 4220 can temporarily store data to be stored in the non-volatile memory device 4230. Furthermore, the buffer memory device 4220 can temporarily store data read from the non-volatile memory device 4230. Under the control of the controller 4210, data temporarily stored in the buffer memory device 4220 can be transferred to the host device 4100 or the non-volatile memory device 4230.
[0114] The non-volatile memory device 4230 can be used as the storage medium of the memory system 4200.
[0115] Figure 12 This is a diagram illustrating a network system 5000 including a data storage device according to an embodiment. (Refer to...) Figure 12 The network system 5000 may include a server system 5300 and multiple client systems 5410, 5420 and 5430 connected via the network 5500.
[0116] Server system 5300 can serve data in response to requests from multiple client systems 5410 to 5430. For example, server system 5300 can store data provided by multiple client systems 5410 to 5430. As another example, server system 5300 can provide data to multiple client systems 5410 to 5430.
[0117] Server system 5300 may include host device 5100 and storage system 5200. Storage system 5200 may be configured to... Figures 1 to 3 The data storage device 120 shown Figure 9 The data storage device 1200 shown Figure 10 The memory system 3200 shown or Figure 11 The memory system 4200 shown is an example.
[0118] Figure 13 This is a block diagram illustrating a non-volatile memory device 300 included in a data storage device (e.g., data storage device 10) according to an embodiment. (Refer to...) Figure 13 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.
[0119] The memory cell array 310 may include memory cells MC arranged in the region where word lines WL1 to WLm and bit lines BL1 to BLn intersect each other.
[0120] The memory cell array 310 may include a three-dimensional memory array. For example, the three-dimensional memory array has a stacked structure in a direction perpendicular to a flat surface of the semiconductor substrate. Furthermore, a three-dimensional memory array refers to a structure comprising NAND strings, wherein the memory cells included in the NAND strings are stacked perpendicular to a flat surface of the semiconductor substrate.
[0121] The structure of a three-dimensional memory array is not limited to the embodiments described above. Memory array structures that possess both horizontal and vertical orientations can be formed in a highly integrated manner. In embodiments, within the NAND strings of a three-dimensional memory array, memory cells are arranged horizontally and vertically relative to the surface of the semiconductor substrate. The memory cells can have different spacing to provide different levels of integration.
[0122] 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 by 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 by voltage generator 350 to word lines WL1 to WLm.
[0123] 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 bit lines BL1 to BLn, respectively. The data read / write block 330 can operate under the control of control logic 360. The data read / write block 330 can operate as a write driver or a sense amplifier depending on the operating mode. For example, the data read / write block 330 can operate as a write driver that stores data provided by an external device in the memory cell array 310 during a write operation. Alternatively, the data read / write block 330 can operate as a sense amplifier that reads data from the memory cell array 310 during a read operation.
[0124] The column decoder 340 can operate under the control of the control logic 360. The column decoder 340 can decode addresses provided by 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, corresponding to bit lines BL1 to BLn respectively, to the data input / output lines or data input / output buffers.
[0125] Voltage generator 350 can generate voltages to be used in the internal operation of non-volatile memory device 300. The voltage generated by voltage generator 350 can be applied to the memory cells of 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 a programming operation is to be performed. As another example, an erase voltage generated during an erase operation can be applied to the well area of the memory cell to which an erase operation is to be performed. Yet another example, a read voltage generated during a read operation can be applied to the word line of the memory cell to which a read operation is to be performed.
[0126] Control logic 360 can control the general operation of non-volatile memory device 300 based on control signals provided by 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.
[0127] While various embodiments have been described above, it will be understood that variations and modifications can be made to the disclosed embodiments and other embodiments based on the content disclosed and / or shown in this patent document.
Claims
1. A storage device comprising: a storage device including a plurality of storage blocks of memory cells storing data; and a controller in communication with the storage device to control operations of the storage device and in response to a write request from an outside to write data to the storage device, generating a first zone including one or more storage blocks and sequentially storing the data from a first storage location of the first zone, and in further response to a modification request from the outside to modify the data stored in the first zone, identifying a target storage block corresponding to the modification request and re-writing data to the target storage block, wherein the controller further includes a zone division circuit that, in response to the modification request for the first zone having a closed state, divides the first zone into one or more sub-zones and changes a state of the target storage block from the closed state to an open state, wherein each of the one or more sub-zones corresponds to a storage block, wherein the controller further includes a zone combination circuit that, in response to completion of the modification request, combines the one or more sub-zones.
2. The storage device of claim 1, wherein the controller further resets the target storage block and sets a write pointer to point to a first storage location of the target storage block.
3. The storage device of claim 1, wherein the controller further changes the state of the target storage block from the open state to the closed state after completion of the re-writing operation.
4. The storage device of claim 1, wherein the controller further sets a write pointer to point to a last data storage location of the first zone after completion of the re-writing operation.
5. The storage device of claim 1, wherein each storage block corresponds to a minimum unit of erasing data.
6. The storage device of claim 1, wherein the controller stores a zone management table including an identifier (ID) of each zone, a start logical address, a capacity indicating a total size of an area available for a write operation, a state indicating whether a corresponding zone is in an open state or a closed state, or a write pointer (WP) indicating an address of a specific location in a corresponding zone.
7. The storage device of claim 1, wherein the storage device includes a non-volatile memory device.
8. The storage device of claim 7, wherein the memory cells operate as single-layer cells storing 1-bit data or multi-layer cells storing 2-bit or more data.
9. The storage device of claim 1, wherein the write request includes a write address, write data, and a size of the write data.
10. The storage device of claim 1, wherein the controller further assigns an identifier (ID) to the first zone.
11. A storage device comprising: a storage area divided into one or more zones, each zone including one or more storage blocks of memory cells storing data; and a controller in communication with the storage device to control operations of the storage device and in response to a write request from an outside to write data to the storage device, generating a first zone including one or more storage blocks and sequentially storing the data from a first storage location of the first zone, and in further response to a modification request from the outside to modify the data stored in the first zone, identifying a target storage block corresponding to the modification request and re-writing data to the target storage block, wherein the controller further includes a zone division circuit that, in response to the modification request for the first zone having a closed state, divides the first zone into one or more sub-zones and changes a state of the target storage block from the closed state to an open state, wherein each of the one or more sub-zones corresponds to a storage block, wherein the controller further includes a zone combination circuit that, in response to completion of the modification request, combines the one or more sub-zones. The controller communicates with the storage area to control the operation of the storage area, and in response to a request from the outside to modify data stored in a first partition that is in a closed state, divides the first partition into multiple sub-partitions, identifies a target group including one or more sub-partitions storing data to be modified, changes the state of the target group from a closed state to an open state, and combines the one or more sub-partitions into the first partition after the modification of the data is completed, wherein each of the one or more sub-partitions corresponds to a storage block.
12. The storage device of claim 11, wherein the sub-partition is the smallest unit of data erasure.
13. The storage device of claim 11, wherein the controller stores a partition management table, the partition management table including an identifier, i.e., ID, for each partition, a starting logical address, a capacity indicating the total size of the area that can be used for write operations, a state indicating whether the corresponding partition is in an open or closed state, or a write pointer, i.e., WP, indicating the address of a specific location in the corresponding partition.
14. The storage device of claim 11, wherein the controller further sets a write pointer corresponding to the first partition to point to a first storage location of the target group after identifying the target group.
15. The storage device of claim 11, wherein the controller further sets the write pointer corresponding to the first partition to point to the last data storage location of the target group after completing the modification of the data.
16. A method of operating a storage device, the storage device comprising a plurality of storage blocks of memory cells for storing data and a controller for controlling the operation of the storage device, the method comprising: In response to a write request received from an external source, the controller generates a first partition comprising one or more storage blocks; The controller stores data such that the data is stored sequentially starting from the first storage location of the first partition, and the first partition is closed; In response to a modification request from the outside that modifies the data stored in the first partition, the controller divides the first partition into one or more sub-partitions to identify a target storage block, wherein each of the one or more sub-partitions corresponds to a storage block; The controller changes the state of the target storage block from closed to open. The controller rewrites the data into the target storage block; as well as In response to the completion of the modification request, the controller combines the one or more sub-partitions.
17. The operation method according to claim 16, wherein changing the state of the target storage block includes: Reset the target storage block; and Set the write pointer to point to the first storage location of the target storage block.
18. The method of operation of claim 16, further comprising: After the data is rewritten, the state of the target storage block is changed to the closed state.
19. The method of operation of claim 16, further comprising: After the data is rewritten, the write pointer is set to point to the last data storage location of the first partition.
20. The method of operation according to claim 16, wherein the storage device comprises a non-volatile memory device.
21. The method of operation according to claim 16, wherein the memory unit operates as a single-layer unit storing 1 bit of data or a multi-layer unit storing 2 or more bits of data.
22. The method of operation according to claim 16, wherein the write request includes a write address, write data, and the size of the write data.
23. The method of operation according to claim 16 further includes, after generating the first partition, assigning an identifier, i.e., ID, to the first partition.
24. The method of operation according to claim 16, wherein each storage block corresponds to the smallest unit of data erasure.
Citation Information
Patent Citations
Method for data collection using multiple network data analytics functions device
KR1020210144557A
Data updating method and device, server and storage medium
CN109933590A
Data storage device and operating method thereof
CN113515231A
