Memory system and method of operating the same
阅读说明:本技术 存储器系统及操作存储器系统的方法 (Memory system and method of operating the same ) 是由 边谕俊 于 2019-11-01 设计创作,主要内容包括:本公开提供一种存储器系统及操作该存储器系统的方法。该存储器系统可以包括:存储器装置,包括多个存储块;控制器,被配置为管理多个存储块中的每一个的读取计数值,并生成与读取计数值对应的级别信息;以及主机,被配置为基于级别信息输出用于请求存储器装置的垃圾收集操作的主机命令。(The present disclosure provides a memory system and a method of operating the same. The memory system may include: a memory device comprising a plurality of memory blocks; a controller configured to manage a read count value of each of the plurality of memory blocks and generate level information corresponding to the read count value; and a host configured to output a host command for requesting a garbage collection operation of the memory device based on the level information.)
1. A memory system, comprising:
a memory device comprising a plurality of memory blocks;
a controller that manages a read count value of each of the plurality of memory blocks and generates level information corresponding to the read count value; and
a host outputting a host command for requesting a garbage collection operation of the memory device based on the level information.
2. The memory system according to claim 1, wherein the memory unit is a single memory unit,
wherein when a read count value of a memory block on which a read operation has been performed among the plurality of memory blocks is equal to or greater than a first preset value, the controller controls the memory device to perform a read reclaim operation on the memory block, and
wherein the controller generates the level information based on the read count value when the read count value of the storage block is less than the first preset value.
3. The memory system of claim 2, wherein the controller comprises:
a processor to generate a command queue in response to the host command and to control the read reclaim operation or generate the level information based on a read count value of each of the plurality of memory blocks; and
a flash control circuit to control the memory device to perform the read reclamation operation or the garbage collection operation in response to the command queue.
4. The memory system of claim 3, wherein the processor comprises:
a flash translation layer generating the command queue corresponding to the read operation or the garbage collection operation in response to the host command and mapping a logical address received with the host command to a physical address of the memory device; and
a read reclamation control block managing a read count value of the memory block on which the read operation has been performed, and controlling the read reclamation operation or generating the level information based on the read count value.
5. The memory system of claim 4, wherein the read reclaim control block comprises:
a read count storage block that manages a read count value of each of the plurality of storage blocks, and increments and counts the read count value of the storage block on which the read operation has been performed;
a target block selection block which selects the memory block as a victim block when the read count value of the memory block is equal to or greater than the first preset value;
a read count level determination block that generates the level information when a read count value of the storage block is smaller than the first preset value, the level information including any one level determined based on the read count value of the storage block among a plurality of levels; and
and the read recovery control unit controls the flash memory control circuit to execute the read recovery operation on the sacrificial block.
6. The memory system according to claim 5, wherein when the level information is generated from the read count level determination block, the flash translation layer checks a logical address corresponding to the memory block on which the read operation has been performed, matches the level information with the checked logical address, and outputs the level information matching the logical address to the host.
7. The memory system according to claim 1, wherein the controller outputs the level information to the host together with a command response signal of the host command.
8. The memory system of claim 1, wherein the host comprises:
a host processor generating the host command and a logical address and outputting the host command and the logical address to the controller; and
a garbage collection control block increasing a read count value of each of logical addresses, among the logical addresses, for which a read operation has been completed, and selecting a logical address at which the garbage collection operation is to be performed according to the read count value of the logical address,
wherein the host processor generates the host command for requesting the garbage collection operation when the number of logical addresses selected by the garbage collection control block is equal to or greater than a preset value.
9. The memory system of claim 8, wherein the garbage collection control block weights a read count value for each of the logical addresses based on the level information.
10. The memory system according to claim 8, wherein the garbage collection control block selects one of the logical addresses as an urgent logical address based on the level information.
11. The memory system of claim 10, wherein the host processor immediately generates the host command for requesting the garbage collection operation when the emergency logical address is selected by the garbage collection control block.
12. A memory system, comprising:
a memory device comprising a plurality of memory blocks;
a controller which controls the memory device to perform a read reclamation operation based on a read count value of a memory block in which a read operation has been completed or generates level information based on the read count value of the memory block; and
a host that manages a read count value of each of logical addresses corresponding to memory blocks that have completed the read operation based on the level information.
13. The memory system according to claim 12, wherein the host generates a host command corresponding to a garbage collection operation of the memory device based on the read count value of each of the logical addresses and outputs the host command.
14. The memory system of claim 12, wherein the controller comprises:
a processor generating a command queue in response to a host command and controlling the read reclamation operation or generating the level information based on a read count value of each of the plurality of memory blocks; and
a flash control circuit responsive to the command queue to control the memory device to perform the read reclaim operation or a garbage collection operation.
15. The memory system of claim 12, wherein the host comprises:
a host processor generating a host command and outputting the host command to the controller together with a logical address at which the read operation is to be performed; and
a garbage collection control block increasing a read count value of a corresponding logical address if the read operation has been completed, and selecting a logical address at which a garbage collection operation is to be performed according to the read count value of the logical address,
wherein the host processor generates the host command corresponding to the garbage collection operation when the number of logical addresses selected by the garbage collection control block is equal to or greater than a preset value.
16. The memory system of claim 15, wherein the garbage collection control block weights a read count value for each of the logical addresses based on the level information.
17. The memory system as set forth in claim 15,
wherein the garbage collection control block selects one of the logical addresses as an urgent logical address based on the level information, and
wherein the host processor immediately generates the host command corresponding to the garbage collection operation when the emergency logical address is selected by the garbage collection control block.
18. A method of operating a memory system, comprising:
performing a read reclamation operation based on a first read count value of a memory block having completed a read operation, or generating level information of the first read count value;
managing a second read count value of each of logical addresses corresponding to memory blocks that have completed the read operation based on the level information; and is
Performing a garbage collection operation based on the second read count value of each of the logical addresses.
19. The method of claim 18, wherein the managing comprises: increasing a second read count value of a first logical address, among the logical addresses, at which the read operation has been performed, and weighting the second read count value of each of the logical addresses based on the level information.
20. The method of claim 19, wherein the first and second portions are selected from the group consisting of,
wherein the garbage collection operation is performed when the number of logical addresses each having the second read count value equal to or greater than a preset value among the logical addresses is equal to or greater than a preset number, and
wherein the garbage collection operation is immediately performed on at least one logical address determined as an urgent logical address based on the level information among the logical addresses.
Technical Field
Various embodiments of the present disclosure generally relate to an electronic device, and more particularly, to a memory system and a method of operating the same.
Background
More recently, computer environment paradigms have turned into pervasive computing where computer systems can be used anytime and anywhere. Therefore, the use of portable electronic devices such as mobile phones, digital cameras, and notebook computers has been rapidly increasing. Generally, such portable electronic devices use a memory system employing a memory device, in other words, use a data storage device. The data storage device is used as a primary memory device or a secondary memory device of the portable electronic device.
The data storage device using the memory device provides advantages in that stability and durability are excellent, information access speed is increased, and power consumption is reduced because there is no mechanical driving part. Examples of the data storage device having these advantages may include a Universal Serial Bus (USB) memory device, a memory card having various interfaces, a Solid State Drive (SSD), and the like.
Memory devices are classified into volatile memory devices and nonvolatile memory devices.
The nonvolatile memory device, although having relatively low read and write speeds, can retain data stored therein even in the event of power interruption. Therefore, when data that needs to be retained regardless of whether the memory device is connected to a power supply needs to be stored, a nonvolatile memory device is used. Representative examples of non-volatile memory devices include Read Only Memory (ROM), mask ROM (mrom), programmable ROM (prom), erasable programmable ROM (eprom), electrically erasable programmable ROM (eeprom), flash memory, phase change random access memory (PRAM), magnetic ram (mram), resistive ram (rram), ferroelectric ram (fram), and the like. Flash memories are classified into NOR type memories and NAND type memories.
Disclosure of Invention
Various embodiments of the present disclosure relate to a memory system capable of controlling a garbage collection operation and a read reclamation operation to perform the garbage collection operation and the read reclamation operation without overlapping each other, and a method of operating the memory system.
Embodiments of the present disclosure may provide a memory system including: a memory device having a plurality of memory blocks; a controller configured to manage a read count value of each of the plurality of memory blocks and generate level information corresponding to the read count value; and a host configured to output a host command for requesting a garbage collection operation of the memory device based on the level information.
Embodiments of the present disclosure may provide a memory system including: a memory device comprising a plurality of memory blocks; a controller configured to control the memory device to perform a read reclamation operation based on a read count value of a memory block in which a read operation has been completed or to generate level information based on the read count value of the memory block; and a host configured to manage a read count value of each of logical addresses corresponding to the memory blocks having completed the read operation based on the level information.
Embodiments of the present disclosure may provide a method of operating a memory system, the method comprising: performing a read reclamation operation based on a first read count value of a memory block having completed a read operation, or generating level information of the first read count value; managing a second read count value of each of logical addresses corresponding to the memory blocks having completed the read operation based on the level information; and performing a garbage collection operation based on the second read count value of each of the logical addresses.
Embodiments of the present disclosure may provide a method of operating a memory system, the method comprising: performing a read reclamation operation on a memory block of which the physical read count is equal to or greater than the RRC threshold value among the memory blocks; setting a logical read count for each memory block by weighting (weighting) one or more partial groups of the logical read count based on the physical read count for each memory block, wherein the physical read count corresponding to each partial group falls within a respective range relative to the RRC threshold; and performing a garbage collection operation on one or more memory blocks, among the memory blocks, each of which logical read count is equal to or greater than the GC threshold.
Drawings
Fig. 1 is a block diagram illustrating a memory system according to an embodiment of the present disclosure.
Fig. 2 is a block diagram showing a configuration of the controller of fig. 1.
Fig. 3 is a block diagram illustrating a read reclamation control block of fig. 2.
Fig. 4 is a diagram describing the semiconductor memory of fig. 1.
Fig. 5 is a diagram illustrating the memory block of fig. 4.
Fig. 6 is a diagram illustrating a memory block having a three-dimensional structure according to an embodiment of the present disclosure.
Fig. 7 is a diagram illustrating a memory block having a three-dimensional structure according to an embodiment of the present disclosure.
FIG. 8 is a flow chart illustrating operation of a memory system according to an embodiment of the present disclosure.
Fig. 9 is a diagram illustrating a memory system according to an embodiment of the present disclosure.
Fig. 10 is a diagram illustrating a memory system according to an embodiment of the present disclosure.
Fig. 11 is a diagram illustrating a memory system according to an embodiment of the present disclosure.
Fig. 12 is a diagram illustrating a memory system according to an embodiment of the present disclosure.
Detailed Description
The specific structural and functional descriptions of the embodiments of the present disclosure that are incorporated in this specification or application are intended to describe the embodiments of the present disclosure only. The examples should not be construed as being limited to the descriptions disclosed in this specification or application.
The present disclosure will now be described in detail based on examples. This disclosure may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein but should be construed to cover modifications, equivalents, or alternatives falling within the spirit and scope of the present disclosure. It will be understood, however, that the description is not intended to limit the disclosure to those exemplary embodiments, and that the disclosure is not intended to cover the exemplary embodiments, but rather, to cover various alternatives, modifications, equivalents, and other embodiments, which may fall within the spirit and scope of the disclosure.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element discussed below could be termed a second element without departing from the teachings of the present disclosure. Similarly, a second element may also be referred to as a first element.
It will be understood that when an element is referred to as being "coupled" or "connected" to another element, it can be directly coupled or connected to the other element or intervening elements may be present between the two elements. In contrast, it will be understood that when an element is referred to as being "directly coupled" or "directly connected" to another element, there are no intervening elements present. Other expressions such as "between … …", "directly between … …", "adjacent to … …" or "directly adjacent to … …" describing the relationship between elements should be interpreted in the same way.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. In this disclosure, the singular forms are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," "including," "has," "having," and the like, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, components, and/or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Unless defined otherwise, all terms used herein, including technical and scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. It will be further understood that terms used herein should be interpreted as having a meaning that is consistent with their meaning in the context of this specification and the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
A detailed description of known functions and configurations by those skilled in the art will be omitted so as not to obscure the subject matter of the present disclosure. This is intended to omit unnecessary description in order to make the subject matter of the present disclosure clear.
Various embodiments of the present disclosure will now be described more fully hereinafter with reference to the accompanying drawings, which illustrate preferred embodiments of the present disclosure so that those skilled in the art can easily implement the technical concepts of the present disclosure.
Fig. 1 is a block diagram illustrating a memory system 1000 according to an embodiment of the present disclosure.
Referring to fig. 1, a memory system 1000 may include a
In fig. 1, a plurality of banks of the
Each of the plurality of sets of
The
After the read operation, the
The host 1300 may include a host processor 1310 and a garbage collection control block 1320.
The Host processor 1310 may generate at least one Host command Host _ CMD corresponding to a user request and transmit the Host command Host _ CMD to the
The garbage collection control block 1320 may manage a read count value for each of a plurality of logical addresses, a weighted read count value for some logical addresses, and update the read count value based on the level information level _ info received from the
The
The
In an embodiment, the memory system 1000 may be provided as one of various elements of an electronic device such as: a computer, an ultra mobile pc (umpc), a workstation, a netbook, a Personal Digital Assistant (PDA), a portable computer, a web tablet, a wireless phone, a mobile phone, a smart phone, an electronic reader, a Portable Multimedia Player (PMP), a game machine, a navigation device, a black box, a digital camera, a three-dimensional television, a digital audio recorder, a digital audio player, a digital picture recorder, a digital picture player, a digital video recorder, a digital video player, a device capable of transmitting/receiving information in a wireless environment, one of various devices for forming a home network, one of various electronic devices for forming a computer network, one of various electronic devices for forming a telematics network, an RFID device, one of various elements for forming a computing system, and the like.
In embodiments,
Fig. 2 is a block diagram illustrating a configuration of the
Referring to fig. 2, the
Bus 1260 may provide a channel between the components of
The host control circuit 1210 may control data transfer between the host 1300 and the buffer memory 1230 of fig. 1. For example, the host control circuit 1210 may control an operation of buffering data input from the host 1300 to the buffer memory 1230. In an embodiment, the host control circuit 1210 may control an operation of outputting data buffered in the buffer memory 1230 to the host 1300. In addition, the host control circuit 1210 may control an operation of outputting a command response signal and level information generated from the processor 1220 to the host 1300.
The host control circuitry 1210 may include a host interface.
The processor 1220 may control the overall operation of the
When a Host command Host _ CMD corresponding to the GC operation is received from the Host 1300, the processor 1220 may check a physical address corresponding to a logical address received together with the Host command Host _ CMD, and generate a command queue and control the flash control circuit 1250 to perform the GC operation on a memory block corresponding to the checked physical address.
Processor 1220 may include a flash translation layer (hereinafter, referred to as "FTL") 1221 and a read reclaim
The FTL1221 may operate based on firmware. The firmware may be stored in the buffer memory 1230, an additional memory (not shown) directly coupled to the processor 1220, or a memory space defined in the processor 1220. During a write operation, FTL1221 may map a corresponding physical address to a logical address input from host 1300 of fig. 1. Further, during a read operation, FTL1221 may check a physical address mapped to a logical address input from host 1300. Here, the mapping operation may be performed based on the mapping data stored in the buffer memory 1230. During an operation of generating level information after a read operation, FTL1221 may check a logical address corresponding to an associated memory block, match the level information with the checked logical address, and output the level information to host 1300.
FTL1221 may generate a command queue for controlling flash control circuitry 1250 in response to host commands received from host 1300.
After the read operation has been completed, the read
The read
FTL1221 may match the generated level information with a logical address corresponding to an associated memory block and output the generated level information to host 1300.
The buffer memory 1230 may be used as an operation memory, a cache memory, or a buffer of the processor 1220. The buffer memory 1230 may store codes and commands to be executed by the processor 1220. The buffer memory 1230 may store data processed by the processor 1220. In addition, the buffer memory 1230 may store mapping data for mapping operations to be performed in the processor 1220. The mapping data may be stored in the memory device (1100 of fig. 1) and may be read and stored in the buffer memory 1230 during a power-on operation of the memory system 1000.
Buffer memory 1230 may include a mapped data storage block 1231, a write buffer 1232, and a read buffer 1233. The mapping data storage block 1231 may store mapping data. During a write operation, the write buffer 1232 may temporarily store data received from the host 1300 and then transfer the temporarily stored data to the
Buffer memory 1230 may include static ram (sram) or dynamic ram (dram).
Error correction circuitry 1240 may perform error correction operations. Error correction circuitry 1240 may perform ECC (error correction code) encoding operations based on data to be written to
In response to the command queue generated from processor 1220, flash control circuitry 1250 may generate and output internal commands for controlling
During the RRC operation, the flash control circuit 1250 may control the
During the GC operation, the flash control circuit 1250 may control the
Flash control circuitry 1250 may include a flash interface.
FIG. 3 is a block diagram illustrating the read reclaim
Referring to fig. 3, the read
The read
The target
The read count
If the target
Fig. 4 is a diagram describing the
Referring to fig. 4, the
Memory cell array 10 may include a plurality of memory blocks MB1 through MBk (11), where k is a positive integer. Local lines LL and bit lines BL1 to BLm (m is a positive integer) may be coupled to each of the memory blocks MB1 to MBk (11). For example, the local line LL may include a first selection line, a second selection line, and a plurality of word lines arranged between the first selection line and the second selection line. The local line LL may include dummy lines disposed between the first selection line and the word line and between the second selection line and the word line. Here, the first selection line may be a source selection line, and the second selection line may be a drain selection line. For example, the local line LL may include a word line, a drain select line, a source select line, and a source line SL. For example, the local line LL may further include a dummy line. For example, the local line LL may further include a pipeline. The local line LL may be coupled to each of the memory blocks MB1 to MBk (11). The bit lines BL1 to BLm may be commonly coupled to the memory blocks MB1 to MBk (11). The memory blocks MB1 through MBk (11) may be implemented in a two-dimensional structure or a three-dimensional structure. For example, in the
At least one of the memory blocks MB1 through MBk (11) (e.g., MB1) may be defined as a system memory block, and the mapping data may be stored in the system memory block.
The
The
The
During the program voltage applying operation, the
The
In response to the column address CADD, the
The input/
During a read operation or a verify operation, the PASS/
The
In response to the internal command CMD and the address ADD, the
Fig. 5 is a diagram illustrating the
Referring to fig. 5, in the
The string ST may include a source select transistor SST, a plurality of memory cells F1 to F16, and a drain select transistor DST coupled in series to each other between a source line SL and a first
A source of the source select transistor SST may be coupled to a source line SL, and a drain of the drain select transistor DST may be coupled to a first
Each memory cell may store 1 bit of data. The memory cell is commonly referred to as a single-level cell (SLC). In this case, each physical page PPG may store data of a single logical page LPG. The data of each logical page LPG may comprise data bits corresponding to the number of cells comprised in a single physical page PPG. Each memory cell may store 2 or more bits of data. The memory cell is commonly referred to as a multi-level cell (MLC). In this case, each physical page PPG may store data of two or more logical pages LPG.
Fig. 6 is a diagram illustrating an example of a memory block having a three-dimensional structure according to an embodiment of the present disclosure.
Referring to fig. 6, the memory cell array 10 may include a plurality of memory blocks MB1 through MBk (11). Each
Each of the plurality of strings ST11 to ST1m and ST21 to ST2m may include at least one source select transistor SST, first to nth memory cells MC1 to MCn, a pipe transistor PT, and at least one drain select transistor DST.
The source selection transistor SST, the drain selection transistor DST, and the memory cells MC1 through MCn may have structures similar to each other. For example, each of the source selection transistor SST, the drain selection transistor DST, and the memory cells MC1 through MCn may include a channel layer, a tunnel insulation layer, a charge trapping layer, and a blocking insulation layer. For example, a post for providing a channel layer may be provided in each string. For example, a pillar for providing at least one of a channel layer, a tunnel insulating layer, a charge trapping layer, and a blocking insulating layer may be provided in each string.
The source select transistor SST of each string may be coupled between a source line SL and the memory cells MC1 through MCn.
In an embodiment, the source select transistors of the strings arranged in the same row may be coupled to a source select line extending in the row direction. The source select transistors of the strings arranged in different rows may be coupled to different source select lines. In fig. 6, the source select transistors of the strings ST 11-ST 1m in the first row may be coupled to a first source
In an embodiment, the source select transistors of strings ST 11-ST 1m and ST 21-ST 2m may be commonly coupled to a single source select line.
The first to nth memory cells MC1 to MCn in each string may be coupled between the source selection transistor SST and the drain selection transistor DST.
The first to nth memory cells MC1 to MCn may be divided into first to pth memory cells MC1 to MCp and p +1 to nth memory cells MCp +1 to MCn. The first to pth memory cells MC1 to MCp may be continuously arranged in the vertical direction (i.e., the Z direction), and coupled in series to each other between the source select transistor SST and the tunnel transistor PT. The p +1 th to nth memory cells MCp +1 to MCn may be continuously arranged in the vertical direction (Z direction) and coupled in series to each other between the pipe transistor PT and the drain select transistor DST. The first to pth memory cells MC1 to MCp and the p +1 to nth memory cells MCp +1 to MCn may be coupled to each other through a pipe transistor PT. The gates of the first to nth memory cells MC1 to MCn of each string may be coupled to the first to nth word lines WL1 to WLn, respectively.
In an embodiment, at least one of the first to nth memory cells MC1 to MCn may be used as a dummy memory cell. In the case where the dummy memory cell is disposed, the voltage or current of the corresponding string may be stably controlled. The gates of the pipe transistors PT of the respective strings may be coupled to the line PL.
The drain select transistor DST of each string may be coupled between a corresponding bit line and the memory cells MCp +1 to MCn. The strings arranged in the row direction may be coupled to respective drain select lines extending in the row direction. The drain select transistors of the strings ST 11-ST 1m in the first row may be coupled to a first drain
The strings arranged in the column direction may be coupled to respective bit lines extending in the column direction. In fig. 6, the strings ST11 and ST21 in the first column may be coupled to a first
In the strings arranged in the row direction, memory cells coupled to the same word line may form one page. For example, the memory cells in the strings ST 11-ST 1m of the first row, which are coupled to the first word line WL1, may form a single page. The memory cells in the strings ST 21-ST 2m of the second row, which are coupled to the first word line WL1, may form another single page. When any one of the drain select lines DSL1 and DSL2 is selected, strings arranged in the corresponding row may be selected. When any one of the word lines WL1 to WLn is selected, a corresponding single page may be selected from the selected string.
Fig. 7 is a diagram illustrating an example of a memory block having a three-dimensional structure according to an embodiment of the present disclosure.
Referring to fig. 7, memory cell array 10 may include a plurality of memory blocks MB1 through MBk (11). Each
Each of the strings ST11 'to ST1m' and ST21 'to ST2m' may include at least one source select transistor SST, first to nth memory cells MC1 to MCn, and at least one drain select transistor DST.
The source select transistor SST of each string may be coupled between a source line SL and the memory cells MC1 through MCn. The source select transistors of strings arranged in the same row may be coupled to the same source select line. The source select transistors of the strings ST11 'to ST1m' arranged in the first row may be coupled to a first source
The first to nth memory cells MC1 to MCn in each string may be coupled in series between the source selection transistor SST and the drain selection transistor DST. The gates of the first to nth memory cells MC1 to MCn may be coupled to the first to nth word lines WL1 to WLn, respectively.
In an embodiment, at least one of the first to nth memory cells MC1 to MCn may be used as a dummy memory cell. In the case where the dummy memory cell is disposed, the voltage or current of the corresponding string may be stably controlled. Thus, the reliability of the data stored in each
The drain select transistor DST of each string may be coupled between a corresponding bit line and the memory cells MC1 through MCn. The drain select transistors DST of the strings arranged in the row direction may be coupled to respective drain select lines extending in the row direction. The drain select transistors DST of the strings ST11 'to ST1m' in the first row may be coupled to a first drain
FIG. 8 is a flow chart of a method of operating a memory system according to an embodiment of the present disclosure.
A method of operating a memory system according to an embodiment of the present disclosure will be described with reference to fig. 1 to 8.
In step S810, a Host command Host _ CMD and a logical address are received from the Host 1300 corresponding to the read operation.
In step S820, the processor 1220 of the
In response to the command queue, the flash control circuit 1250 generates an internal command CMD for controlling the
In step S830, in response to the internal command CMD and the mapped address ADD, the selected
Subsequently, in step S840, the read
In step S850, the target
If the result of the comparison operation (S850) indicates that the read count value of the memory block MB1 on which the read operation has been performed is equal to or greater than the first preset value (yes), the read
For example, the target
The read data temporarily stored in the read buffer 1233 may be transferred to the host 1300 before or after the RRC operation is performed. Thereafter, a command response signal CMD _ response of the Host command Host _ CMD may be transmitted to the Host 1300. In response to the command response signal CMD _ response, the garbage collection control block 1320 of the host 1300 increases a read count value corresponding to a logical address at which the read operation has been completed.
If the result of the comparison operation (S850) indicates that the read count value of the memory block MB1 for which the read operation has been performed is less than the first preset value (no), the read count
In step S880, the FTL (1221 of fig. 2) matches the generated level information level _ info with a logical address corresponding to the memory block MB1, and outputs the matched level information level _ info to the Host 1300 together with a command response signal CMD _ response related to the Host command Host _ CMD.
In step S890, in response to the command response signal CMD _ response, the garbage collection control block 1320 of the host 1300 increases the read count value corresponding to each of the logical address LBAs for which the read operation has been completed, and in addition, in response to the level information level _ info, the garbage collection control block 1320 of the host 1300 weights the read count value of each of the logical address LBAs corresponding to the corresponding
For example, when the level information level _ info is the first level, the logical address LBA corresponding to the relevant memory block MB1 is not weighted. When the level information level _ info is the second level, the logical address LBA corresponding to the relevant memory block MB1 is weighted. Further, when the level information level _ info is the third level, the logical address LBA corresponding to the relevant memory block MB1 is selected as a logical address at which the GC operation is to be performed, and information on the address is transferred to the host processor 1310. In addition, when the level information level _ info is the fourth level, the logical address LBA corresponding to the relevant memory block MB1 is selected as an urgent logical address requiring immediate GC operation, and information about the address and the urgency is transferred to the host processor 1310.
In step S900, the garbage collection control block 1320 compares the read count value of each of all the logical address LBAs with a second preset value.
If the result of the comparison operation (S900) indicates that the read count value of the logical address is equal to or greater than the second preset value (yes), the corresponding logical address is determined as the logical address at which the GC operation is to be performed, and information about the address is transmitted to the host processor 1310.
If the result of the comparison operation (S900) indicates that the read count value of the logical address is less than the second preset value (no), the corresponding logical address is determined as a logical address where no GC operation is performed.
In step S910, when the number of logical addresses selected as objects of the GC operation by the garbage collection control block 1320 is equal to or greater than a preset value, the Host processor 1310 may generate a Host command Host _ CMD corresponding to the GC operation of the selected logical addresses. Further, if information on a logical address selected by the garbage collection control block 1320 as an urgent logical address to perform an immediate GC operation is received, the Host processor 1310 may immediately generate a Host command Host _ CMD corresponding to the GC operation of the urgent logical address and output the Host command Host _ CMD to the
In response to a Host command Host _ CMD received from the Host 1300 corresponding to the GC operation, the processor 1220 of the
Thereafter, data stored in the plurality of memory blocks selected as the victim block may be erased.
In various embodiments of the present disclosure, a read reclamation operation is performed based on a read count value of a memory block on which the read operation has been performed under the control of the
Fig. 9 is a diagram illustrating a memory system 30000 according to an embodiment of the present disclosure.
Referring to fig. 9, the memory system 30000 may be implemented in a cellular phone, a smart phone, a tablet PC, a Personal Digital Assistant (PDA), or a wireless communication device. The memory system 30000 can include a
Data programmed into
The radio transceiver 3300 may transmit and receive a radio signal through an antenna ANT. For example, the radio transceiver 3300 may change a radio signal received through the antenna ANT into a signal that can be processed in the processor 3100. Accordingly, the processor 3100 may process a signal output from the radio transceiver 3300 and transmit the processed signal to the
In an embodiment, the
Fig. 10 is a diagram illustrating a
Referring to fig. 10, the
The
The
The
Fig. 11 is a diagram illustrating a memory system 50000 according to an embodiment of the present disclosure.
Referring to fig. 11, the memory system 50000 may be implemented in an image processing apparatus such as a digital camera, a portable phone provided with a digital camera, a smart phone provided with a digital camera, or a tablet PC provided with a digital camera.
The memory system 50000 may include a
The image sensor 5200 of the memory system 50000 may convert the optical image to a digital signal. The converted digital signal may be transmitted to the processor 5100 or the
In embodiments, the
Fig. 12 is a diagram illustrating a
Referring to fig. 12, the
The
The
When the
As described above, in various embodiments of the present disclosure, a read reclamation operation is performed based on a read count value of a memory block on which the read operation has been performed. Selecting a logical address at which a garbage collection operation is to be performed based on the read count value of each of the logical addresses and the read count value of the memory block. Therefore, the read recovery operation and the garbage collection operation can be prevented from overlapping each other.
Although embodiments of the present disclosure have been disclosed, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the disclosure.
The scope of the disclosure is, therefore, indicated by the appended claims and their equivalents, rather than by the foregoing description.
In the embodiments discussed above, all steps may be selectively performed or skipped. In addition, the steps in each embodiment may not always be performed in the conventional order. Furthermore, the embodiments disclosed in the present specification and drawings are intended to help those skilled in the art clearly understand the present disclosure, and are not intended to limit the scope of the present disclosure. In other words, those skilled in the art to which the present disclosure pertains will readily understand that various modifications are possible based on the technical scope of the present disclosure.
Embodiments of the present disclosure have been described with reference to the accompanying drawings, and specific terms or words used in the specification should be construed in accordance with the spirit of the present disclosure, without limiting the subject matter of the present disclosure. It should be understood that many variations and modifications of the basic inventive concepts described herein will still fall within the spirit and scope of the present disclosure as defined in the appended claims and their equivalents.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:用于机器学习的增强型存储设备存储架构