KR101363422B1 - Non-volatile memory system - Google Patents

Non-volatile memory system Download PDF

Info

Publication number
KR101363422B1
KR101363422B1 KR1020120109770A KR20120109770A KR101363422B1 KR 101363422 B1 KR101363422 B1 KR 101363422B1 KR 1020120109770 A KR1020120109770 A KR 1020120109770A KR 20120109770 A KR20120109770 A KR 20120109770A KR 101363422 B1 KR101363422 B1 KR 101363422B1
Authority
KR
South Korea
Prior art keywords
copyback
nand flash
flash memory
memory device
write
Prior art date
Application number
KR1020120109770A
Other languages
Korean (ko)
Inventor
한승현
Original Assignee
주식회사 디에이아이오
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 디에이아이오 filed Critical 주식회사 디에이아이오
Priority to KR1020120109770A priority Critical patent/KR101363422B1/en
Application granted granted Critical
Publication of KR101363422B1 publication Critical patent/KR101363422B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/04Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS
    • G11C16/0483Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS comprising cells having several storage transistors connected in series
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0253Garbage collection, i.e. reclamation of unreferenced memory
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

A non-volatile memory system comprises: a host device which provides copy-back commands in a queuing form to perform a copy-back operation and a copy-back processing rate command indicating a processing rate of the copy-back operation and a write operation; and an NAND flash memory device which performs the copy-back operation based on the copy-back commands wherein the copy-back operation and the write operation are performed in alternation according to the processing rate of the copy-back operation and the write operation. Thus, the non-volatile memory system can improve the operating speed, reduce power consumption, and increase service life of the NAND flash memory device.

Description

비휘발성 메모리 시스템 {NON-VOLATILE MEMORY SYSTEM}Nonvolatile Memory System {NON-VOLATILE MEMORY SYSTEM}

본 발명은 반도체 메모리 시스템에 관한 것으로, 보다 상세하게는 적어도 하나 이상의 낸드 플래시 메모리 장치를 구비하는 비휘발성 메모리 시스템에 관한 것이다.The present invention relates to a semiconductor memory system, and more particularly, to a nonvolatile memory system having at least one NAND flash memory device.

반도체 메모리 장치는 전원이 공급되지 않는 상태에서 데이터를 보존할 수 있는지에 따라 휘발성 메모리 장치와 비휘발성 메모리 장치로 구분될 수 있다. 최근에는, 반도체 메모리 장치의 소형화 및 대용량 추세에 따라, 비휘발성 메모리 장치 중에서 낸드 플래시 메모리 장치(NAND flash memory device)가 소형화 및 대용량에 적합하여 널리 사용되고 있다. 일반적으로, 낸드 플래시 메모리 장치는 페이지(page) 단위로 읽기(read) 동작과 쓰기(write) 동작을 수행하고, 블록(block) 단위로 소거(erase) 동작을 수행할 수 있다.The semiconductor memory device may be classified into a volatile memory device and a nonvolatile memory device according to whether data can be stored in a state where power is not supplied. 2. Description of the Related Art In recent years, NAND flash memory devices have been widely used in nonvolatile memory devices because of miniaturization and large capacity of semiconductor memory devices. In general, a NAND flash memory device may perform a read operation and a write operation in units of pages and an erase operation in units of blocks.

비휘발성 메모리 시스템은 호스트 장치와 적어도 하나 이상의 낸드 플래시 메모리 장치를 포함할 수 있다. 호스트 장치가 낸드 플래시 메모리 장치를 사용함에 있어서 소스(source) 페이지에 저장된 대상 페이지 데이터를 목표(target) 페이지로 옮기는 카피백(copyback) 동작이 수반될 수 있다. 이를 테면, 카피백 동작은 저널링 파일 시스템(journaling file system)에서 저널링 동작이 수행되는 경우나, 로그 구조의 파일 시스템(log-structured file system) 등에서 가비지 콜렉션(garbage collection) 동작이 수행되는 경우에 수반될 수 있다.The nonvolatile memory system may include a host device and at least one NAND flash memory device. When the host device uses the NAND flash memory device, a copyback operation of moving the target page data stored in the source page to the target page may be involved. For example, a copyback operation is accompanied when a journaling operation is performed on a journaling file system or when a garbage collection operation is performed on a log-structured file system. Can be.

그러나, 종래에는 카피백 동작이 수행될 때, 대상 페이지 데이터가 호스트 장치와 낸드 플래시 메모리 장치 사이에서 호스트 인터페이스를 통해 전송되기 때문에, 호스트 인터페이스의 가용 대역폭을 불필요하게 감소시키고 있다. 특히, 소스 페이지에 저장된 대상 페이지 데이터는 이미 낸드 플래시 메모리 장치 내에 저장되어 있어 별도의 데이터 전송이 요구되지 않으므로, 상기 카피백 동작에 의한 호스트 인터페이스의 가용 대역폭의 감소는 비휘발성 메모리 시스템의 성능을 불필요하게 저하시키는 요인이 된다.However, conventionally, when the copyback operation is performed, since the target page data is transferred between the host device and the NAND flash memory device through the host interface, the available bandwidth of the host interface is unnecessarily reduced. In particular, since the target page data stored in the source page is already stored in the NAND flash memory device, and no separate data transfer is required, the reduction of the available bandwidth of the host interface by the copyback operation does not require the performance of the nonvolatile memory system. It is a factor to lower it.

본 발명의 일 목적은 호스트 장치로 하여금 카피백 동작을 수행하기 위한(즉, 소스 페이지 어드레스(address)와 목표 페이지 어드레스에 대한 정보를 포함하는) 카피백 커맨드(copyback command)들을 낸드 플래시 메모리 장치에 큐잉(queueing) 형태로 제공하게 함과 동시에 카피백 동작과 쓰기 동작의 처리 비율을 결정하게 하고, 낸드 플래시 메모리 장치로 하여금 내부에서 카피백 동작과 쓰기 동작의 처리 비율에 따라 카피백 동작과 쓰기 동작을 교번하여 수행하게 하는 비휘발성 메모리 시스템을 제공하는 것이다. 다만, 본 발명의 해결하고자 하는 과제는 이에 한정되는 것이 아니며, 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위에서 다양하게 확장될 수 있을 것이다.An object of the present invention is to provide copyback commands for a host device to perform a copyback operation (ie, including information about a source page address and a target page address) to a NAND flash memory device. In addition to providing in the form of queuing, the processing rate of the copyback operation and the write operation can be determined, and the NAND flash memory device can be internally operated according to the processing rate of the copyback operation and the write operation. To provide a non-volatile memory system to perform alternately. It should be understood, however, that the present invention is not limited to the above-described embodiments, but may be variously modified without departing from the spirit and scope of the invention.

본 발명의 일 목적을 달성하기 위하여, 본 발명의 실시예들에 따른 비휘발성 메모리 시스템은 카피백(copyback) 동작을 수행하기 위한 카피백 커맨드들을 큐잉(queueing) 형태로 제공하고, 상기 카피백 동작과 쓰기 동작의 처리 비율을 나타내는 카피백 처리 비율 커맨드를 제공하는 호스트 장치, 및 상기 카피백 커맨드들에 기초하여 상기 카피백 동작을 수행하되, 상기 처리 비율에 따라 상기 카피백 동작과 상기 쓰기 동작을 교번하여 수행하는 낸드 플래시 메모리 장치를 포함할 수 있다.In order to achieve the object of the present invention, a nonvolatile memory system according to embodiments of the present invention provides copyback commands for performing a copyback operation in the form of a queuing, and the copyback operation And a host device for providing a copyback processing rate command indicating a processing rate of a write operation, and performing the copyback operation based on the copyback commands, and performing the copyback operation and the write operation according to the processing rate. It may include a NAND flash memory device to perform alternately.

일 실시예에 의하면, 상기 처리 비율이 m:n(단, m과 n은 양의 정수)이면, m개의 페이지 데이터들에 대한 상기 카피백 동작이 수행되는 전후에 n개의 페이지 데이터들에 대한 상기 쓰기 동작이 교번하여 수행될 수 있다.According to an embodiment, when the processing ratio is m: n (where m and n are positive integers), the n-page data data before and after the copyback operation on m-page data is performed. Write operations may be performed alternately.

일 실시예에 의하면, 상기 처리 비율이 m:n(단, m과 n은 양의 정수)이면, m개의 페이지 데이터들에 대한 상기 카피백 동작이 수행되는 사이에 n개의 페이지 데이터들에 대한 상기 쓰기 동작이 교번하여 수행될 수 있다.According to an embodiment, when the processing ratio is m: n (where m and n are positive integers), the n-page data for n page data is performed between m copy data operations. Write operations may be performed alternately.

일 실시예에 의하면, 상기 카피백 동작은 가비지 콜렉션(garbage collection) 동작 또는 저널링(journaling) 동작에 수반될 수 있다.According to an embodiment, the copyback operation may be accompanied by a garbage collection operation or a journaling operation.

일 실시예에 의하면, 상기 낸드 플래시 메모리 장치는 상기 카피백 동작을 수행하는 제 1 플래시 변환 레이어(flash translation layer)를 구비하고, 상기 호스트 장치는 파일 시스템(file system) 및 상기 파일 시스템과 인터액션(interaction)하여 상기 낸드 플래시 메모리 장치의 동작을 제어하는 제 2 플래시 변환 레이어를 구비할 수 있다.In an embodiment, the NAND flash memory device includes a first flash translation layer that performs the copyback operation, and the host device interacts with a file system and the file system. and a second flash conversion layer controlling the operation of the NAND flash memory device.

일 실시예에 의하면, 상기 낸드 플래시 메모리 장치는, 상기 카피백 동작과 상기 쓰기 동작을 교번하여 수행하는 동안에 상기 호스트 장치로부터 카피백 취소 커맨드가 입력되면, 상기 카피백 동작을 수행하지 않을 수 있다.According to an embodiment, the NAND flash memory device may not perform the copyback operation when a copyback cancel command is input from the host device while the copyback operation and the write operation are alternately performed.

일 실시예에 의하면, 상기 낸드 플래시 메모리 장치는, 상기 카피백 동작과 상기 쓰기 동작을 교번하여 수행하는 동안에 상기 호스트 장치로부터 카피백 완료 커맨드가 입력되면, 상기 카피백 동작을 우선적으로 수행하여 완료시킬 수 있다.In example embodiments, when a copyback completion command is input from the host device while the copyback operation and the write operation are alternately performed, the NAND flash memory device may preferentially perform the copyback operation. Can be.

본 발명의 실시예들에 따른 비휘발성 메모리 시스템은 호스트 장치로 하여금 카피백 동작을 수행하기 위한(즉, 소스 페이지 어드레스와 목표 페이지 어드레스에 대한 정보를 포함하는) 카피백 커맨드들을 낸드 플래시 메모리 장치에 큐잉 형태로 제공하게 함과 동시에 카피백 동작과 쓰기 동작의 처리 비율을 결정하게 하고, 낸드 플래시 메모리 장치로 하여금 내부에서 카피백 동작과 쓰기 동작의 처리 비율에 따라 카피백 동작과 쓰기 동작을 교번하여 수행하게 함으로써, 카피백 동작을 수행함에 따른 호스트 장치와 낸드 플래시 메모리 장치 사이의 오버헤드(overhead)를 감소시킬 수 있다. 그 결과, 비휘발성 메모리 시스템은 동작 속도(즉, 성능)를 향상시킬 수 있고, 전력 소모를 감소시킬 수 있으며, 낸드 플래시 메모리 장치의 수명을 증가시킬 수 있다. 다만, 본 발명의 효과는 이에 한정되는 것이 아니며, 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위에서 다양하게 확장될 수 있을 것이다.A nonvolatile memory system according to embodiments of the present invention provides a host device with copyback commands for performing a copyback operation (ie, including information about a source page address and a target page address) to a NAND flash memory device. In addition to providing in the form of queuing, the processing rate of the copyback operation and the write operation can be determined, and the NAND flash memory device can alternately copy and write the operation according to the processing rate of the copyback operation and the write operation. By doing so, the overhead between the host device and the NAND flash memory device may be reduced by performing the copyback operation. As a result, the nonvolatile memory system can improve operating speed (ie, performance), reduce power consumption, and increase the lifetime of the NAND flash memory device. However, the effects of the present invention are not limited thereto, and various modifications may be made without departing from the spirit and scope of the present invention.

도 1a 내지 도 1c는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템을 나타내는 블록도들이다.
도 2a 내지 도 2e는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템이 카피백 동작과 쓰기 동작을 교번하여 수행하는 일 예를 나타내는 도면들이다.
도 3a는 종래의 비휘발성 메모리 시스템에서 쓰기 커맨드에 대한 응답 시간을 나타내는 그래프이다.
도 3b는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템에서 쓰기 커맨드에 대한 응답 시간을 나타내는 그래프이다.
도 4는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템에서 카피백 동작과 쓰기 동작이 교번하여 수행되는 일 예를 나타내는 순서도이다.
도 5는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템에서 카피백 동작과 쓰기 동작이 교번하여 수행되는 일 예를 나타내는 개념도이다.
Figures 1A-1C are block diagrams illustrating a non-volatile memory system in accordance with embodiments of the present invention.
2A through 2E are diagrams illustrating an example in which a non-volatile memory system alternately performs a copyback operation and a write operation according to embodiments of the present invention.
3A is a graph illustrating a response time for a write command in a conventional nonvolatile memory system.
3B is a graph illustrating a response time for a write command in a nonvolatile memory system according to example embodiments.
4 is a flowchart illustrating an example in which a copyback operation and a write operation are alternately performed in a nonvolatile memory system according to example embodiments.
FIG. 5 is a conceptual diagram illustrating an example in which a copyback operation and a write operation are alternately performed in a nonvolatile memory system according to example embodiments.

본문에 개시되어 있는 본 발명의 실시예들에 대해서, 특정한 구조적 내지 기능적 설명들은 단지 본 발명의 실시예를 설명하기 위한 목적으로 예시된 것으로, 본 발명의 실시예들은 다양한 형태로 실시될 수 있으며 본문에 설명된 실시예들에 한정되는 것으로 해석되어서는 아니 된다.For the embodiments of the invention disclosed herein, specific structural and functional descriptions are set forth for the purpose of describing an embodiment of the invention only, and it is to be understood that the embodiments of the invention may be practiced in various forms, The present invention should not be construed as limited to the embodiments described in Figs.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 본문에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.As the inventive concept allows for various changes and numerous modifications, particular embodiments will be illustrated in the drawings and described in detail in the text. It is to be understood, however, that the invention is not intended to be limited to the particular forms disclosed, but on the contrary, is intended to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

제 1, 제 2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로 사용될 수 있다. 예를 들어, 본 발명의 권리 범위로부터 이탈되지 않은 채 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 명명될 수 있다.The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms may be used for the purpose of distinguishing one component from another component. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 구성요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 또는 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다.When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between. Other expressions that describe the relationship between components, such as "between" and "between" or "neighboring to" and "directly adjacent to" should be interpreted as well.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present application, the terms "comprise", "having", and the like are intended to specify the presence of stated features, integers, steps, operations, elements, components, or combinations thereof, , Steps, operations, components, parts, or combinations thereof, as a matter of principle.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미이다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미인 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Terms such as those defined in commonly used dictionaries should be construed as meaning consistent with meaning in the context of the relevant art and are not to be construed as ideal or overly formal in meaning unless expressly defined in the present application .

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The same reference numerals are used for the same constituent elements in the drawings and redundant explanations for the same constituent elements are omitted.

도 1a 내지 도 1c는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템을 나타내는 블록도들이다. 다만, 설명의 편의를 위하여 도 1a의 비휘발성 메모리 시스템(100)을 기준으로 설명하기로 한다.Figures 1A-1C are block diagrams illustrating a non-volatile memory system in accordance with embodiments of the present invention. However, the non-volatile memory system 100 of FIG. 1A will be described for convenience of explanation.

도 1a를 참조하면, 비휘발성 메모리 시스템(100)은 낸드 플래시 메모리 장치(120) 및 호스트 장치(140)를 포함할 수 있다. 이 때, 낸드 플래시 메모리 장치(120)는 솔리드 스테이트 드라이브(Solid State Drive; SSD), 시큐어 디지털 카드(Secure Digital Card; SDCARD), 유니버셜 플래시 스토리지(Universal Flash Storage; UFS), 임베디드 멀티미디어 카드(Embedded Multi Media Card; EMMC), CF 카드(compact flash card), 메모리 스틱(memory stick), XD 픽쳐 카드(XD picture card) 등으로 구현될 수 있다. 도 1a에 도시된 바와 같이, 비휘발성 메모리 시스템(100)은 낸드 플래시 메모리 장치(120)의 동작을 제어하는 플래시 변환 레이어(flash translation layer; FTL)가 제 1 플래시 변환 레이어(122)와 제 2 플래시 변환 레이어(142)로 분리되고, 제 1 플래시 변환 레이어(122)는 낸드 플래시 메모리 장치(120)에 구비되며, 제 2 플래시 변환 레이어(142)는 호스트 장치(140)에 구비될 수 있다. 다만, 본 발명에서 제 1 플래시 변환 레이어(122)와 제 2 플래시 변환 레이어(142)로 명명되고 있으나, 이들은 낸드 플래시 메모리 장치(120)의 동작을 제어하는 플래시 변환 레이어의 적어도 하나 이상의 기능을 포함하는 다양한 구성 요소들로 해석되어야 할 것이다.Referring to FIG. 1A, the nonvolatile memory system 100 may include a NAND flash memory device 120 and a host device 140. In this case, the NAND flash memory device 120 may include a solid state drive (SSD), a secure digital card (SDCARD), a universal flash storage (UFS), and an embedded multimedia card (Embedded Multi). Media Card (EMMC), a compact flash card (CF), a memory stick (memory stick), an XD picture card (XD picture card) and the like. As shown in FIG. 1A, the nonvolatile memory system 100 includes a first flash translation layer 122 and a second flash translation layer (FTL) for controlling an operation of the NAND flash memory device 120. The flash conversion layer 142 may be separated, and the first flash conversion layer 122 may be provided in the NAND flash memory device 120, and the second flash conversion layer 142 may be provided in the host device 140. In the present invention, the first flash conversion layer 122 and the second flash conversion layer 142 are referred to as a first flash conversion layer 122 and a second flash conversion layer 142. However, the first flash conversion layer 122 and the second flash conversion layer 142 include at least one function of the flash conversion layer for controlling the operation of the NAND flash memory device 120 Which will be interpreted as various components.

일반적으로, 비휘발성 메모리 시스템(100)에서 호스트 장치(140)가 낸드 플래시 메모리 장치(120)를 사용함에 있어서, 소스 페이지에 저장된 대상 페이지 데이터를 목표 페이지로 옮기는 카피백 동작이 수반될 수 있다. 이를 테면, 상기 카피백 동작은 저널링 파일 시스템에서 저널링 동작이 수행되는 경우나, 로그 구조의 파일 시스템 등에서 가비지 콜렉션 동작이 수행되는 경우에 수반될 수 있다. 그러나, 종래에는 상기 카피백 동작이 수행됨에 있어서, 카피백 읽기 동작에 의해 대상 페이지 데이터를 호스트 장치(140)에 가져왔다가, 카피백 쓰기 동작에 의해 대상 페이지 데이터를 낸드 플래시 메모리 장치(120)로 보내야 하므로, 호스트 장치(140)와 낸드 플래시 메모리 장치(120) 사이의 호스트 인터페이스의 가용 대역폭을 감소시켜 비휘발성 메모리 시스템(100)의 성능을 저하시켰다. 이에, 비휘발성 메모리 시스템(100)은 낸드 플래시 메모리 장치(120)에 카피백 동작을 수행하는 제 1 플래시 변환 레이어(122)를 구비하고, 호스트 장치(140)에 낸드 플래시 메모리 장치(120)의 동작을 제어하는 제 2 플래시 변환 레이어(142)를 구비하며, 호스트 장치(140)로 하여금 카피백 커맨드(QCBC)들을 큐잉 형태로 낸드 플래시 메모리 장치(120)로 전송함과 동시에 카피백 동작과 쓰기 동작의 처리 비율을 결정하게 함(즉, 큐잉/쓰로틀링 카피백 프로토콜 인터페이스(queueing/throttling copyback protocol interface)로 명명함)으로써, 카피백 동작이 호스트 장치(140)와 낸드 플래시 메모리 장치(120) 사이의 데이터 전송 없이, 낸드 플래시 메모리 장치(120) 내부에서만 수행되게 할 수 있고, 카피백 동작과 쓰기 동작이 교번하여 효율적으로 수행되게 할 수 있다. 그 결과, 비휘발성 메모리 시스템(100)에서는 카피백 동작시 호스트 장치(140)와 낸드 플래시 메모리 장치(120) 사이에 대상 페이지 데이터가 전송되지 않을 수 있다. 이하, 비휘발성 메모리 시스템(100)에 대하여 도 1a 내지 도 1c를 참조하여 구체적으로 설명하기로 한다. In general, when the NAND flash memory device 120 is used by the host device 140 in the nonvolatile memory system 100, a copyback operation of moving the target page data stored in the source page to the target page may be involved. For example, the copyback operation may be accompanied when a journaling operation is performed in a journaling file system or when a garbage collection operation is performed in a log system file system. However, in the conventional copyback operation, target page data is brought to the host device 140 by a copyback read operation, and then target page data is transferred to the NAND flash memory device 120 by a copyback write operation. Because of the need to send, the available bandwidth of the host interface between the host device 140 and the NAND flash memory device 120 is reduced, thereby degrading the performance of the nonvolatile memory system 100. Accordingly, the nonvolatile memory system 100 includes a first flash conversion layer 122 that performs a copyback operation on the NAND flash memory device 120, and the NAND flash memory device 120 is connected to the host device 140. And a second flash translation layer 142 for controlling the operation, and transmits the copyback commands (QCBCs) to the NAND flash memory device 120 in the form of queuing at the same time. By determining the processing rate of the operation (ie, queuing / throttling copyback protocol interface), the copyback operation is performed by the host device 140 and the NAND flash memory device 120. It is possible to perform only the inside of the NAND flash memory device 120 without transferring data therebetween, and the copyback operation and the write operation may be alternately performed efficiently. As a result, in the nonvolatile memory system 100, target page data may not be transmitted between the host device 140 and the NAND flash memory device 120 during a copyback operation. Hereinafter, the nonvolatile memory system 100 will be described in detail with reference to FIGS. 1A to 1C.

호스트 장치(140)는 카피백 동작을 수행하기 위한 카피백 커맨드(QCBC)들을 큐잉 형태로 낸드 플래시 메모리 장치(120)에 제공하고, 카피백 동작과 쓰기 동작의 처리 비율을 나타내는 카피백 처리 비율 커맨드(PR)를 낸드 플래시 메모리 장치(120)에 제공할 수 있다. 실시예에 따라, 카피백 커맨드(QCBC)는 소스 페이지 어드레스와 목표 페이지 어드레스에 대한 정보만을 포함할 수도 있다. 낸드 플래시 메모리 장치(120)는 호스트 장치(140)로부터 입력되는 카피백 커맨드(QCBC)들에 기초하여 카피백 동작을 수행하되, 카피백 동작과 쓰기 동작의 처리 비율에 따라 카피백 동작과 쓰기 동작을 교번하여 수행할 수 있다. 이 때, 호스트 장치(140)가 낸드 플래시 메모리 장치(120)에 쓰기 요청 신호에 상응하는 쓰기 커맨드(WC)를 제공하면, 낸드 플래시 메모리 장치(120)는 쓰기 커맨드(WC)에 기초하여 쓰기 동작을 수행할 수 있다. 구체적으로, 카피백 커맨드(QCBC)들은 각각 소스 페이지 어드레스 및 목표 페이지 어드레스에 대한 정보를 포함할 수 있고, 카피백 커맨드(QCBC)들이 큐잉 형태로 제공되기 때문에 낸드 플래시 메모리 장치(120) 내부의 소정의 버퍼에 큐잉 형태로 저장될 수 있다. 이 때, 낸드 플래시 메모리 장치(120) 내부에 위치하는 소정의 버퍼는 에스램(static random access memory) 장치, 디램(dynamic random access memory) 장치 등일 수 있으나, 그에 한정되는 것은 아니다. 그 결과, 낸드 플래시 메모리 장치(120)는 카피백 커맨드(QCBC)들을 큐잉 순서에 따라 처리할 수 있고, 카피백 커맨드(QCBC)들 각각에 포함된 소스 페이지 어드레스 및 목표 페이지 어드레스에 대한 정보를 기초로 소스 페이지에 저장된 대상 페이지 데이터를 목표 페이지로 옮길 수 있다. 이 때, 카피백 동작은 논리 레벨 즉, 논리적 어드레스에 기초하여 수행될 수 있다. 예를 들어, 낸드 플래시 메모리 장치(120)가 논리(logical) 레벨의 카피백 동작을 수행함에 있어서, 낸드 플래시 메모리 장치(120)는 소스 페이지에 저장되어 있는 대상 페이지 데이터를 내부의 소정의 버퍼로 독출한 후, 상기 대상 페이지 데이터를 목표 페이지에 기입할 수 있다. 한편, 실시예에 따라, 낸드 플래시 메모리 장치(120)가 물리(physical) 레벨의 카피백 커맨드를 지원하는 경우, 상기 카피백 동작은 물리 레벨의 카피백 커맨드에 기초하여 수행될 수도 있다.The host device 140 provides the copyback commands QCBC for performing the copyback operation to the NAND flash memory device 120 in the form of a queuing, and indicates a processing rate of the copyback operation and the write operation. The PR may be provided to the NAND flash memory device 120. In some embodiments, the copyback command QCBC may include only information about the source page address and the target page address. The NAND flash memory device 120 performs a copyback operation based on the copyback commands QCBC input from the host device 140, but the copyback operation and the write operation according to the processing rates of the copyback operation and the write operation. Can be done alternately. In this case, when the host device 140 provides the write command WC corresponding to the write request signal to the NAND flash memory device 120, the NAND flash memory device 120 writes based on the write command WC. Can be performed. In detail, the copyback commands QCBC may include information about a source page address and a target page address, respectively, and the copyback commands QCBC are provided in a queuing form. Can be stored in the form of a cue. In this case, the predetermined buffer located in the NAND flash memory device 120 may be a static random access memory (SRAM) device, a dynamic random access memory (DRAM) device, or the like, but is not limited thereto. As a result, the NAND flash memory device 120 may process the copyback commands QCBCs according to the queuing order and based on the information about the source page address and the target page address included in each of the copyback commands QCBC. The target page data stored in the source page can be moved to the target page. In this case, the copyback operation may be performed based on a logical level, that is, a logical address. For example, when the NAND flash memory device 120 performs a logical level copyback operation, the NAND flash memory device 120 transfers target page data stored in the source page to a predetermined buffer therein. After reading, the target page data may be written in the target page. In some embodiments, when the NAND flash memory device 120 supports a copy level command of a physical level, the copyback operation may be performed based on a copy level command of a physical level.

낸드 플래시 메모리 장치(120)에서 쓰기 동작과 카피백 동작이 수행됨에 있어서, 낸드 플래시 메모리 장치(120)는 호스트 장치(140)로부터 입력되는 카피백 처리 비율 커맨드(PR) 즉, 카피백 동작과 쓰기 동작의 처리 비율에 따라 카피백 동작과 쓰기 동작을 교번하여 수행할 수 있다. 일 실시예에서, 카피백 동작과 쓰기 동작의 처리 비율이 m:n(단, m과 n은 양의 정수)이면, m개의 페이지 데이터(즉, 대상 페이지 데이터)들에 대한 카피백 동작이 수행되는 전후에, n개의 페이지 데이터(즉, 쓰기 페이지 데이터)들에 대한 쓰기 동작이 교번하여 수행될 수 있다. 예를 들어, 낸드 플래시 메모리 장치(120)는 카피백 동작과 쓰기 동작의 처리 비율이 2:1인 경우, 2개의 페이지 데이터들에 대한 카피백 동작을 수행한 후 1개의 페이지 데이터에 대한 쓰기 동작을 수행하거나, 또는 1개의 페이지 데이터에 대한 쓰기 동작을 수행한 후 2개의 페이지 데이터들에 대한 카피백 동작을 수행할 수 있다. 다른 실시예에서, 카피백 동작과 쓰기 동작의 처리 비율이 m:n(단, m과 n은 양의 정수)이면, m개의 페이지 데이터(즉, 대상 페이지 데이터)들에 대한 카피백 동작이 수행되는 사이에, n개의 페이지 데이터(즉, 쓰기 페이지 데이터)들에 대한 쓰기 동작이 교번하여 수행될 수 있다. 예를 들어, 낸드 플래시 메모리 장치(120)는 카피백 동작과 쓰기 동작의 처리 비율이 2:1인 경우, 1개의 페이지 데이터에 대한 카피백 동작을 수행한 후, 1개의 페이지 데이터에 대한 쓰기 동작을 수행하며, 다시 1개의 페이지 데이터에 대한 카피백 동작을 수행할 수 있다. 이와 같이, 낸드 플래시 메모리 장치(120)는 카피백 동작과 쓰기 동작의 처리 비율이 m:n이면, 카피백 동작과 쓰기 동작을 m:n의 비율로 인터리빙(interleaving)할 수 있다. 다만, 낸드 플래시 메모리 장치(120) 내부에서 쓰기 동작과 카피백 동작이 교번하여 수행되기는 하지만, 쓰기 동작과 카피백 동작이 빠르게 교번하기 때문에, 외부(예를 들어, 호스트 장치(140))에서는 낸드 플래시 메모리 장치(120)에서 쓰기 동작과 카피백 동작이 실질적으로 동시에 수행되는 것으로 보여질 수 있다.When a write operation and a copyback operation are performed in the NAND flash memory device 120, the NAND flash memory device 120 performs a copyback processing ratio command PR, that is, a copyback operation and a write input from the host device 140. The copyback operation and the write operation may be alternately performed according to the processing ratio of the operation. In one embodiment, if the processing ratio of the copyback operation and the write operation is m: n (where m and n are positive integers), a copyback operation is performed on m page data (ie, target page data). Before and after, write operations on n page data (ie, write page data) may be alternately performed. For example, when the processing ratio of the copyback operation and the write operation is 2: 1, the NAND flash memory device 120 performs a copy operation on two page data and then writes one page data. Alternatively, after performing a write operation on one page data, a copyback operation on two page data may be performed. In another embodiment, if the processing ratio of the copyback operation and the write operation is m: n (where m and n are positive integers), a copyback operation is performed on m page data (ie, target page data). In the meantime, write operations on n page data (ie, write page data) may be alternately performed. For example, when the processing ratio of the copyback operation and the write operation is 2: 1, the NAND flash memory device 120 performs a copyback operation on one page data and then writes one page data. In addition, a copyback operation may be performed on one page data again. As such, when the processing ratio of the copyback operation and the write operation is m: n, the NAND flash memory device 120 may interleave the copyback operation and the write operation at a ratio of m: n. However, although the write operation and the copyback operation are alternately performed in the NAND flash memory device 120, since the write operation and the copyback operation are alternated quickly, the NAND is externally used (for example, the host device 140). It can be seen that the write operation and the copyback operation are performed at the same time in the flash memory device 120.

일 실시예에서, 낸드 플래시 메모리 장치(120)는, 카피백 동작과 쓰기 동작을 교번하여 수행하는 동안에 호스트 장치(140)로부터 카피백 취소 커맨드가 입력되면, 카피백 동작을 수행하지 않을 수 있다. 구체적으로, 호스트 장치(140)는 낸드 플래시 메모리 장치(120)에 쓰기 커맨드(WC)를 출력하여 쓰기 동작을 수행시킴에 있어서, 카피백 동작에 우선하여 쓰기 동작이 완료되는 것이 요구되는 경우, 낸드 플래시 메모리 장치(120)에 카피백 취소 커맨드를 출력할 수 있다. 이 경우, 낸드 플래시 메모리 장치(120)는 호스트 장치(140)로부터 카피백 취소 커맨드가 입력되면, 카피백 동작과 쓰기 동작의 기 설정된 처리 비율을 무시하고, 카피백 동작을 수행하지 않으면서 쓰기 동작만을 수행함으로써, 쓰기 동작을 우선적으로 완료시킬 수 있다. 실시예에 따라, 낸드 플래시 메모리 장치(120)는 카피백 취소 커맨드에 응답하여 소정의 버퍼에 저장되어 있는 카피백 커맨드(QCBC)들을 모두 삭제할 수도 있다. 다른 실시예에서, 낸드 플래시 메모리 장치(120)는, 카피백 동작과 쓰기 동작을 교번하여 수행하는 동안에 호스트 장치(140)로부터 카피백 완료 커맨드가 입력되면, 카피백 동작을 우선적으로 수행하여 완료시킬 수 있다. 구체적으로, 호스트 장치(140)는 낸드 플래시 메모리 장치(120)에 쓰기 커맨드(WC)를 출력하여 쓰기 동작을 수행시킴에 있어서, 쓰기 동작에 우선하여 카피백 동작이 완료되는 것이 요구되는 경우, 낸드 플래시 메모리 장치(120)에 카피백 완료 커맨드를 출력할 수 있다. 이 경우, 낸드 플래시 메모리 장치(120)는 호스트 장치(140)로부터 카피백 완료 커맨드가 입력되면, 카피백 동작과 쓰기 동작의 기 설정된 처리 비율을 무시하고, 카피백 동작이 완료될 때까지 쓰기 동작을 수행하지 않을 수 있다. In an embodiment, the NAND flash memory device 120 may not perform a copyback operation when a copyback cancel command is input from the host device 140 while alternately performing a copyback operation and a write operation. Specifically, when the host device 140 outputs a write command WC to the NAND flash memory device 120 to perform a write operation, when the write operation is required to be completed prior to the copyback operation, the NAND A copyback cancel command may be output to the flash memory device 120. In this case, when a copyback cancel command is input from the host device 140, the NAND flash memory device 120 ignores the preset processing ratios of the copyback operation and the write operation, and performs the write operation without performing the copyback operation. By performing only, the write operation can be completed preferentially. According to an embodiment, the NAND flash memory device 120 may delete all copyback commands QCBC stored in a predetermined buffer in response to a copyback cancel command. In another embodiment, when a copyback completion command is input from the host device 140 while the copyback operation and the write operation are alternately performed, the NAND flash memory device 120 preferentially performs a copyback operation to complete. Can be. Specifically, when the host device 140 outputs a write command WC to the NAND flash memory device 120 to perform a write operation, when the copyback operation is required to be completed prior to the write operation, the NAND A copyback completion command may be output to the flash memory device 120. In this case, when the copyback completion command is input from the host device 140, the NAND flash memory device 120 ignores the preset processing ratio of the copyback operation and the write operation, and writes until the copyback operation is completed. May not be performed.

한편, 카피백 동작은 가비지 콜렉션 동작 또는 저널링 동작에 수반될 수 있다. 일 실시예에서, 도 1a에 도시된 바와 같이, 파일 시스템(144)은 확장 파일 시스템(extended file system; Ext4), NT 파일 시스템(new technology file system; NTFS) 등과 같은 파일 시스템에 상응할 수 있다. 이에, 낸드 플래시 메모리 장치(120)는 카피백 동작(예를 들어, 가비지 콜렉션 동작)을 수행하는 제 1 플래시 변환 레이어(122)를 구비할 수 있고, 호스트 장치(140)는 파일 시스템(144) 및 상기 파일 시스템(144)과 인터액션하여 낸드 플래시 메모리 장치(120)의 동작을 제어하는 제 2 플래시 변환 레이어(142)를 구비할 수 있다. 다른 실시예에서, 도 1b에 도시된 바와 같이, 호스트 장치(240)에 구비되는 파일 시스템(244)은 로그 구조의 파일 시스템(log-structured file system; LFS)과 같은 파일 시스템에 상응할 수 있다. 이에, 낸드 플래시 메모리 장치(220)는 카피백 동작을 수행하는 제 1 플래시 변환 레이어(222)를 구비할 수 있고, 호스트 장치(240)는 파일 시스템(244) 및 상기 파일 시스템(244)과 인터액션하여 낸드 플래시 메모리 장치(220)의 동작을 제어하는 제 2 플래시 변환 레이어(242)를 구비할 수 있다. 또 다른 실시예에서, 도 1c에 도시된 바와 같이, 호스트 장치(340)에 구비되는 파일 시스템(344)은 플래시 파일 시스템(flash file system)으로서 상기 파일 시스템들(144, 244)과는 상이하게 구성될 수 있다. 이에, 낸드 플래시 메모리 장치(320)는 카피백 동작을 수행하는 제 1 플래시 변환 레이어(322)를 구비할 수 있고, 호스트 장치(300)는 플래시 파일 시스템(344)은 제 2 플래시 변환 레이어(342)의 기능까지 수행할 수 있다. Meanwhile, the copyback operation may be accompanied by a garbage collection operation or a journaling operation. In one embodiment, as shown in FIG. 1A, file system 144 may correspond to a file system such as an extended file system (Ext4), a new technology file system (NTFS), or the like. . Accordingly, the NAND flash memory device 120 may include a first flash conversion layer 122 that performs a copyback operation (eg, a garbage collection operation), and the host device 140 may include a file system 144. And a second flash conversion layer 142 that interacts with the file system 144 to control an operation of the NAND flash memory device 120. In another embodiment, as shown in FIG. 1B, the file system 244 provided in the host device 240 may correspond to a file system such as a log-structured file system (LFS). . Accordingly, the NAND flash memory device 220 may include a first flash conversion layer 222 that performs a copyback operation, and the host device 240 interacts with the file system 244 and the file system 244. And a second flash conversion layer 242 for controlling the operation of the NAND flash memory device 220. In another embodiment, as shown in FIG. 1C, the file system 344 included in the host device 340 is a flash file system different from the file systems 144 and 244. Can be configured. Accordingly, the NAND flash memory device 320 may include a first flash conversion layer 322 that performs a copyback operation, and the host device 300 may include a flash file system 344 and a second flash conversion layer 342. ) Can be performed.

상술한 바와 같이, 비휘발성 메모리 시스템(100)은 낸드 플래시 메모리 장치(120)에 카피백 동작(예를 들어, 가비지 콜렉션 동작)을 수행하는 제 1 플래시 변환 레이어(122)를 구비하고, 호스트 장치(140)에 낸드 플래시 메모리 장치(120)의 동작을 제어하는 제 2 플래시 변환 레이어(142)를 구비함으로써, 호스트 장치(140)로 하여금 낸드 플래시 메모리 장치(120)의 내부 동작 정보를 정확하게 파악하도록 할 수 있고, 그에 기초하여 낸드 플래시 메모리 장치(120)를 효율적으로 제어하도록 할 수 있다. 실시예에 따라, 호스트 장치(140)는 낸드 플래시 메모리 장치(120)와 최초로 연결될 때, 낸드 플래시 메모리 장치(120)에 디바이스 정보 요청 커맨드를 출력할 수 있다. 이 경우, 호스트 장치(140)는 낸드 플래시 메모리 장치(120)에서 출력되는 디바이스 정보(예를 들어, 블록 사이즈, 페이지 사이즈 등에 대한 정보)를 얻을 수 있다. 실시예에 따라, 호스트 장치(140)는 낸드 플래시 메모리 장치(120)에 카피백 상태 요청 커맨드를 출력할 수 있다. 이 경우, 호스트 장치(140)는 낸드 플래시 메모리 장치(120)에서 출력되는 카피백 상태 정보(예를 들어, 남아 있는 카피백 커맨드(QCBC)들의 개수 등)를 얻을 수 있다. 다만, 상술한 커맨드들은 예시적인 것으로서, 호스트 장치(140)와 낸드 플래시 메모리 장치(120) 간에 다양한 정보들을 공유하기 위한 추가적인 커맨드들이 이용될 수 있다. As described above, the nonvolatile memory system 100 includes a first flash conversion layer 122 that performs a copyback operation (eg, a garbage collection operation) on the NAND flash memory device 120, and the host device. By providing a second flash conversion layer 142 at 140 to control the operation of the NAND flash memory device 120, the host device 140 can accurately grasp the internal operation information of the NAND flash memory device 120. The NAND flash memory device 120 may be efficiently controlled based on the NAND flash memory device 120. According to an embodiment, when the host device 140 is first connected to the NAND flash memory device 120, the host device 140 may output a device information request command to the NAND flash memory device 120. In this case, the host device 140 may obtain device information (eg, information about a block size, a page size, etc.) output from the NAND flash memory device 120. According to an embodiment, the host device 140 may output a copyback status request command to the NAND flash memory device 120. In this case, the host device 140 may obtain copyback status information (for example, the number of remaining copyback commands QCBC) output from the NAND flash memory device 120. However, the above-described commands are exemplary, and additional commands for sharing various information between the host device 140 and the NAND flash memory device 120 may be used.

이와 같이, 비휘발성 메모리 시스템(100)은 호스트 장치(140)로 하여금 카피백 동작을 수행하기 위한 카피백 커맨드(QCBC)들을 낸드 플래시 메모리 장치(120)에 큐잉 형태로 제공하게 함과 동시에 카피백 동작과 쓰기 동작의 처리 비율을 결정하게 하고, 낸드 플래시 메모리 장치(120)로 하여금 내부에서 카피백 동작과 쓰기 동작의 처리 비율에 따라 카피백 동작과 쓰기 동작을 교번하여 수행하게 함으로써, 카피백 동작을 수행함에 따른 호스트 장치(140)와 낸드 플래시 메모리 장치(120) 사이의 오버헤드를 감소시킬 수 있다. 그 결과, 비휘발성 메모리 시스템(100)은 동작 속도(즉, 성능)를 향상시킬 수 있고, 전력 소모를 감소시킬 수 있으며, 낸드 플래시 메모리 장치(120)의 수명을 증가시킬 수 있다. 한편, 도 1a에는 호스트 장치(140)가제 2 플래시 변환 레이어(142) 및 파일 시스템(144)만을 구비하는 것으로 도시되어 있지만, 호스트 장치(140)는 중앙 처리 장치(central processing unit; CPU), 캐시(cache), 운영 체제(operating system; OS) 등과 같은 하드웨어적 또는 소프트웨어적 구성요소들을 더 포함할 수 있음은 자명하다. 마찬가지로, 도 1a에는 낸드 플래시 메모리 장치(120)가 제 1 플래시 변환 레이어(122)만을 구비하는 것으로 도시되어 있지만, 낸드 플래시 메모리 장치(120)는 낸드 컨트롤러(NAND controller), 마이크로프로세서(micro processor unit; MPU), 낸드 플래시 매니저(NAND flash manager) 등과 같은 하드웨어적 또는 소프트웨어적 구성 요소들을 더 포함할 수 있음은 자명하다.As described above, the nonvolatile memory system 100 allows the host device 140 to provide copy back commands QCBC to the NAND flash memory device 120 in the form of a queue while performing a copy back operation. Determine the processing ratio of the operation and the write operation, and cause the NAND flash memory device 120 to perform the copyback operation and the write operation alternately according to the processing ratio of the copyback operation and the write operation, thereby making a copyback operation. As a result, overhead between the host device 140 and the NAND flash memory device 120 can be reduced. As a result, the nonvolatile memory system 100 may improve operating speed (ie, performance), reduce power consumption, and increase the lifespan of the NAND flash memory device 120. Meanwhile, although the host device 140 is illustrated as having only the second flash conversion layer 142 and the file system 144 in FIG. 1A, the host device 140 may include a central processing unit (CPU) and a cache. It is apparent that the device may further include hardware or software components such as a cache, an operating system (OS), and the like. Similarly, although the NAND flash memory device 120 includes only the first flash conversion layer 122 in FIG. 1A, the NAND flash memory device 120 may include a NAND controller and a microprocessor unit. It is apparent that the hardware may further include hardware or software components such as an MPU, a NAND flash manager, and the like.

도 2a 내지 도 2e는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템이 카피백 동작과 쓰기 동작을 교번하여 수행하는 일 예를 나타내는 도면들이다.2A through 2E are diagrams illustrating an example in which a non-volatile memory system alternately performs a copyback operation and a write operation according to embodiments of the present invention.

도 2a 내지 도 2e를 참조하면, 비휘발성 메모리 시스템(100)에서 카피백 동작과 쓰기 동작이 교번하여 수행되는 일 예가 구체적으로 도시되어 있다. 설명의 편의를 위하여, 하나의 블록(131, 132, 133, 134)은 네 개의 페이지들로 구성되고, 카피백 처리 비율 커맨드(PR)에 상응하는 카피백 동작과 쓰기 동작의 처리 비율은 2:2인 것으로 가정한다. 이 때, 카피백 동작을 수행하기 위한 카피백 커맨드(QCBC)들이 큐잉 형태로 호스트 장치(140)로부터 낸드 플래시 메모리 장치(120)에 제공되고, 쓰기 동작을 수행하기 위한 쓰기 커맨드(WC)들이 호스트 장치(140)로부터 낸드 플래시 메모리 장치(120)에 제공되며, 카피백 동작과 쓰기 동작의 처리 비율은 요구되는 조건에 따라 계속적으로 변경되는 것이다. 예를 들어, 카피백 동작과 쓰기 동작의 처리 비율은 기 설정된 시간이 경과할 때마다 변경될 수도 있고, 기 설정된 조건(예를 들어, 응답 시간이 기 설정된 범위를 벗어나는 경우 등)에 부합될 때마다 변경될 수도 있으며, 사용자의 외부 입력에 응답하여 변경될 수도 있다. 다만, 이것은 하나의 예시에 불과한 것으로서, 카피백 동작과 쓰기 동작의 처리 비율은 다양한 방법으로 변경될 수 있다.2A through 2E, an example in which a copyback operation and a write operation are alternately performed in the nonvolatile memory system 100 is illustrated in detail. For convenience of explanation, one block 131, 132, 133, and 134 is composed of four pages, and the processing ratio of the copyback operation and the writing operation corresponding to the copyback processing ratio command PR is 2: Assume it is two. At this time, the copyback commands QCBC for performing the copyback operation are provided to the NAND flash memory device 120 from the host device 140 in the form of queuing, and the write commands WC for performing the write operation are provided for the host. It is provided from the device 140 to the NAND flash memory device 120, and the processing rates of the copyback operation and the write operation are continuously changed according to the required conditions. For example, the processing rates of the copyback operation and the write operation may be changed each time the preset time elapses, or when the preset condition (for example, the response time is out of the preset range). It may be changed every time, or may be changed in response to an external input of a user. However, this is merely an example, and processing rates of the copyback operation and the write operation may be changed in various ways.

상술한 바와 같이, 비휘발성 메모리 시스템(100)에서, 호스트 장치(140)는 카피백 커맨드(QCBC)들을 큐잉 형태로 제공하고, 낸드 플래시 메모리 장치(120)는 카피백 커맨드(QCBC)들을 큐잉 형태로 소정의 버퍼에 저장한 후, 카피백 커맨드(QCBC)들을 큐잉 순서에 따라 처리한다. 이 때, 카피백 커맨드(QCBC)들은 카피백 동작이 수행될 페이지 데이터(즉, 대상 페이지 데이터)들의 리스트(list)에 상응할 수 있다. 도 2a에 도시된 바와 같이, 제 1 블록(131)에는 두 개의 유효 페이지 데이터들(V)과 두 개의 무효 페이지 데이터들(I)이 존재할 수 있고, 제 2 블록(132)에도 두 개의 유효 페이지 데이터들(V)과 두 개의 무효 페이지 데이터들(I)이 존재할 수 있다. 최종적으로, 낸드 플래시 메모리 장치(120)는 카피백 동작을 수행함으로써 제 3 블록(133)에 제 1 블록(131)의 두 개의 유효 페이지 데이터들(V)과 제 2 블록(132)의 두 개의 유효 페이지 데이터들(V)을 기입할 수 있고, 제 4 블록(134)에 호스트 장치(140)로부터 입력되는 페이지 데이터들(W)을 기입할 수 있다. 이 때, 카피백 동작과 쓰기 동작의 처리 비율이 2:2이므로, 2개의 유효 페이지 데이터(V)들에 대한 카피백 동작이 수행되는 전후에 2개의 쓰기 페이지 데이터(W)들에 대한 쓰기 동작이 교번하여 수행될 수 있다. 예를 들어, 2개의 유효 페이지 데이터(V)들에 대한 카피백 동작이 수행된 이후에, 2개의 쓰기 페이지 데이터(W)들에 대한 쓰기 동작이 수행되는 것이다. 또는, 카피백 동작과 쓰기 동작의 처리 비율이 2:2이므로, 2개의 유효 페이지 데이터(V)들에 대한 카피백 동작이 수행되는 사이에 2개의 쓰기 페이지 데이터(W)들에 대한 쓰기 동작이 교번하여 수행될 수 있다. 예를 들어, 1개의 유효 페이지 데이터(V)에 대한 카피백 동작이 수행된 이후에, 1개의 쓰기 페이지 데이터(W)에 대한 쓰기 동작이 수행되고, 다시 1개의 유효 페이지 데이터(V)에 대한 카피백 동작이 수행된 다음에, 다시 1개의 쓰기 페이지 데이터(W)에 대한 쓰기 동작이 수행되는 것이다. 다만, 도 2a 내지 도 2e에서는 2개의 유효 페이지 데이터(V)들에 대한 카피백 동작이 수행된 이후에, 2개의 쓰기 페이지 데이터(W)들에 대한 쓰기 동작이 수행되는 것으로 도시되어 있다.As described above, in the nonvolatile memory system 100, the host device 140 provides copyback commands QCBCs in a queuing form, and the NAND flash memory device 120 queues copyback commands QCBCs. After the data is stored in a predetermined buffer, the copyback commands QCBCs are processed in the queuing order. In this case, the copyback commands QCBC may correspond to a list of page data (ie, target page data) on which the copyback operation is to be performed. As shown in FIG. 2A, two valid page data V and two invalid page data I may exist in the first block 131, and two valid pages may also exist in the second block 132. There may be data V and two invalid page data I. Finally, the NAND flash memory device 120 performs two copy page operations (V) of the first block 131 and two of the second block 132 in the third block 133 by performing a copyback operation. Valid page data V may be written, and page data W input from the host device 140 may be written in the fourth block 134. At this time, since the processing ratio of the copyback operation and the write operation is 2: 2, the write operation on the two write page data W before and after the copyback operation on the two valid page data V is performed. This can be done alternately. For example, after a copyback operation on two valid page data Vs is performed, a write operation on two write page data Ws is performed. Alternatively, since the processing ratio of the copyback operation and the write operation is 2: 2, the write operation on the two write page data W is performed while the copyback operation on the two valid page data V is performed. Alternately it can be done. For example, after a copyback operation on one valid page data (V) is performed, a write operation on one write page data (W) is performed, and then again on one valid page data (V). After the copyback operation is performed, a write operation on one write page data W is performed again. However, in FIGS. 2A to 2E, after a copyback operation on two valid page data Vs is performed, a write operation on two write page data Ws is performed.

구체적으로, 도 2b에 도시된 바와 같이, 낸드 플래시 메모리 장치(120)는 제 1 블록(131)의 두 개의 유효 페이지 데이터들(V)을 독출한 후, 상기 유효 페이지 데이터들(V)을 제 3 블록(133)에 기입(즉, FOP로 표시)할 수 있다. 이후, 도 2c에 도시된 바와 같이, 낸드 플래시 메모리 장치(120)는 두 개의 쓰기 페이지 데이터들(W)을 제 4 블록(134)에 기입(즉, SOP로 표시)할 수 있다. 이후, 도 2d에 도시된 바와 같이, 낸드 플래시 메모리 장치(120)는 제 2 블록(132)의 두 개의 유효 페이지 데이터들(V)을 독출한 후, 상기 유효 페이지 데이터들(V)을 제 3 블록(133)에 기입(즉, TOP로 표시)할 수 있다. 이후, 도 2e에 도시된 바와 같이, 낸드 플래시 메모리 장치(120)는 두 개의 쓰기 페이지 데이터들(W)을 제 4 블록(134)에 기입(즉, FFOP로 표시)할 수 있다. 다음, 제 1 및 제 2 블록들(131, 132)은 소거(erase)되어 쓰기 동작 또는 카피백 동작(예를 들어, 가비지 콜렉션 동작)을 위한 빈 블록들이 될 수 있다. 이와 같이, 비휘발성 메모리 시스템(100)은 낸드 플래시 메모리 장치(120)에 카피백 동작을 수행하는 제 1 플래시 변환 레이어(122)를 구비하고, 호스트 장치(140)에 낸드 플래시 메모리 장치(120)의 동작을 제어하는 제 2 플래시 변환 레이어(142)를 구비하며, 호스트 장치(140)로 하여금 카피백 커맨드(QCBC)들을 큐잉 형태로 낸드 플래시 메모리 장치(120)로 전송함과 동시에 카피백 동작과 쓰기 동작의 처리 비율을 결정하게 함으로써, 카피백 동작이 낸드 플래시 메모리 장치(120) 내부에서만 수행되도록 할 수 있고, 카피백 동작과 쓰기 동작이 교번하여 효율적으로 수행되도록 할 수 있다.Specifically, as shown in FIG. 2B, the NAND flash memory device 120 reads two valid page data V of the first block 131, and then removes the valid page data V. FIG. It is possible to write (ie, denote as FOP) in three blocks 133. Thereafter, as illustrated in FIG. 2C, the NAND flash memory device 120 may write (ie, denote as SOP) two write page data W in the fourth block 134. Thereafter, as illustrated in FIG. 2D, the NAND flash memory device 120 reads the two valid page data V of the second block 132, and then reads the valid page data V in a third manner. It may be written to block 133 (ie, marked as TOP). Thereafter, as illustrated in FIG. 2E, the NAND flash memory device 120 may write (ie, mark FFOP) two write page data W in the fourth block 134. Next, the first and second blocks 131 and 132 may be erased to become empty blocks for a write operation or a copyback operation (eg, a garbage collection operation). As such, the nonvolatile memory system 100 includes a first flash conversion layer 122 that performs a copyback operation on the NAND flash memory device 120, and the NAND flash memory device 120 in the host device 140. And a second flash conversion layer 142 for controlling the operation of the memory device, and transmitting the copyback commands QCBC to the NAND flash memory device 120 in the form of queuing. By determining the processing ratio of the write operation, the copyback operation may be performed only inside the NAND flash memory device 120, and the copyback operation and the write operation may be alternately performed efficiently.

도 3a는 종래의 비휘발성 메모리 시스템에서 쓰기 커맨드에 대한 응답 시간을 나타내는 그래프이고, 도 3b는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템에서 쓰기 커맨드에 대한 응답 시간을 나타내는 그래프이다.3A is a graph showing a response time for a write command in a conventional nonvolatile memory system, and FIG. 3B is a graph showing a response time for a write command in a nonvolatile memory system according to embodiments of the present invention.

도 3a 및 도 3b를 참조하면, 도 3a 및 도 3b는 쓰기 요청 신호(WRITE REQUEST)에 상응하는 쓰기 커맨드에 대한 응답 시간(RESPONSE TIME)이 종래의 비휘발성 메모리 시스템에 비하여 본 발명의 실시예들에 따른 비휘발성 메모리 시스템(100, 200, 300)에서 더 안정적임을 보여주고 있다. 다시 말하면, 도 3a에 도시된 바와 같이, 종래의 비휘발성 메모리 시스템에서는, 쓰기 커맨드에 응답하여 쓰기 동작이 수행됨에 있어서, 쓰기 동작과 카피백 동작(예를 들어, 가비지 콜렉션 동작)이 특정 시점들에 집중되는 경우, 카피백 동작을 수행함에 따른 호스트 장치와 낸드 플래시 메모리 장치 사이의 오버헤드에 의해 소정의 지연이 발생하기 때문에, 그 특정 시점들에서 쓰기 요청 신호(WRITE REQUEST)에 대한 응답 시간(RESPONSE TIME)이 길어지게 된다. 그 결과, 종래의 비휘발성 메모리 시스템에서는 쓰기 요청 신호(WRITE REQUEST)에 대한 응답 시간(RESPONSE TIME)이 불안정적이므로, 종래의 비휘발성 메모리 시스템의 성능은 크게 저하될 수 있다. 반면에, 도 3b에 도시된 바와 같이, 본 발명의 실시예들에 따른 비휘발성 메모리 시스템(100, 200, 300)에서는, 쓰기 커맨드에 응답하여 쓰기 동작이 수행됨에 있어서, 카피백 동작이 낸드 플래시 메모리 장치 내부에서만 수행되고, 큐잉/쓰로틀링 카피백 프로토콜 인터페이스에 의해 카피백 동작과 쓰기 동작이 교번하여 효율적으로 수행되기 때문에, 모든 시점들에서 쓰기 요청 신호(WRITE REQUEST)에 대한 응답 시간(RESPONSE TIME)이 거의 일정(즉, VAR로 표시)하게 된다. 그 결과, 본 발명의 실시예들에 따른 비휘발성 메모리 시스템(100, 200, 300)에서는, 쓰기 요청 신호(WRITE REQUEST)에 대한 응답 시간(RESPONSE TIME)이 안정적이므로, 본 발명의 실시예들에 따른 비휘발성 메모리 시스템(100, 200, 300)의 성능은 크게 향상될 수 있다. 한편, 상술한 바와 같이, 비휘발성 메모리 시스템(100, 200, 300)에서는, 카피백 동작이 소스 페이지에 저장되어 있는 대상 페이지 데이터를 내부의 소정의 버퍼로 독출한 후 목표 페이지에 기입하는 방식으로 수행될 수도 있고, 일부 낸드 플래시 메모리 장치가 제공하는 카피백 동작(예를 들어, 물리 레벨의 카피백 동작)을 이용하는 방식으로 수행될 수도 있으며, 플래시 변환 레이어의 맵핑(mapping)을 변경하는 방식으로 수행될 수도 있다. 그 결과, 상기 카피백 동작이 낸드 플래시 메모리 장치 내부에서만 수행되기 때문에, 비휘발성 메모리 시스템(100, 200, 300)의 전반적인 성능이 향상되고, 비휘발성 메모리 시스템(100, 200, 300)의 전력 소모도 감소되며, 낸드 플래시 메모리 장치에의 쓰기 동작이 감소하여 수명이 향상될 수 있다.Referring to FIGS. 3A and 3B, FIGS. 3A and 3B illustrate embodiments of the present invention in which a response time for a write command corresponding to a write request signal WRITE REQUEST is higher than that of a conventional nonvolatile memory system. It is shown that it is more stable in the nonvolatile memory system (100, 200, 300). In other words, as shown in FIG. 3A, in a conventional nonvolatile memory system, when a write operation is performed in response to a write command, a write operation and a copyback operation (eg, a garbage collection operation) are specified at specific time points. In this case, since a predetermined delay occurs due to the overhead between the host device and the NAND flash memory device in performing the copyback operation, the response time for the write request signal WRITE REQUEST at the specific time points may be increased. RESPONSE TIME will be longer. As a result, since the response time (RESPONSE TIME) to the write request signal WRITE REQUEST is unstable in the conventional nonvolatile memory system, the performance of the conventional nonvolatile memory system may be greatly degraded. On the other hand, as shown in Figure 3b, in the nonvolatile memory system (100, 200, 300) according to the embodiments of the present invention, in the write operation is performed in response to the write command, the copyback operation is NAND flash The response time for the write request signal (WRITE REQUEST) at all time points is performed only in the memory device, and the copyback operation and the write operation are efficiently performed alternately by the queuing / throttling copyback protocol interface. ) Is almost constant (ie, denoted as VAR). As a result, in the nonvolatile memory system 100, 200, or 300 according to the embodiments of the present invention, since the response time (RESPONSE TIME) to the write request signal WRITE REQUEST is stable, The performance of the nonvolatile memory system 100, 200, 300 may be greatly improved. On the other hand, as described above, in the non-volatile memory system (100, 200, 300), the copyback operation reads the target page data stored in the source page into a predetermined buffer therein and writes it to the target page. It may be performed in a manner of using a copyback operation (eg, a physical level copyback operation) provided by some NAND flash memory devices, or by changing a mapping of a flash translation layer. May be performed. As a result, since the copyback operation is performed only inside the NAND flash memory device, the overall performance of the nonvolatile memory system 100, 200, 300 is improved, and power consumption of the nonvolatile memory system 100, 200, 300 is increased. Also, the write operation to the NAND flash memory device may be reduced, thereby improving lifespan.

도 4는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템에서 카피백 동작과 쓰기 동작이 교번하여 수행되는 일 예를 나타내는 순서도이고, 도 5는 본 발명의 실시예들에 따른 비휘발성 메모리 시스템에서 카피백 동작과 쓰기 동작이 교번하여 수행되는 일 예를 나타내는 개념도이다.FIG. 4 is a flowchart illustrating an example in which a copyback operation and a write operation are alternately performed in a nonvolatile memory system according to example embodiments. FIG. 5 is a flowchart illustrating a nonvolatile memory system according to example embodiments. A conceptual diagram illustrating an example in which a copyback operation and a writing operation are alternately performed.

도 4 및 도 5에 도시된 바와 같이, 본 발명의 실시예들에 따른 비휘발성 메모리 시스템(100, 200, 300)에서, 낸드 플래시 메모리 장치는 호스트 장치로부터 카피백 동작(500)을 수행하기 위한 카피백 커맨드들을 큐잉 형태로 입력받고, 카피백 동작(500)과 쓰기 동작(400)의 처리 비율이 m:n임을 나타내는 카피백 처리 비율 커맨드를 입력받을 수 있다. 이에, 낸드 플래시 메모리 장치는 카피백 커맨드들을 큐잉 형태로 소정의 버퍼에 저장한 후, 카피백 커맨드들을 큐잉 순서에 따라 처리한다. 구체적으로, 낸드 플래시 메모리 장치는 카피백 동작(500)과 쓰기 동작(400)의 처리 비율이 m:n이므로, m개의 페이지 데이터(즉, 대상 페이지 데이터)들에 대한 카피백 동작(500)을 수행(Step S120)한 후, n개의 페이지 데이터(즉, 쓰기 페이지 데이터)들에 대한 쓰기 동작(400)을 수행(Step S140)할 수 있다. 이 때, 낸드 플래시 메모리 장치는 카피백 동작(500)과 쓰기 동작(400)을 계속적으로 수행해야 하는지 여부를 판단(Step S160)하여, 카피백 동작(500)과 쓰기 동작(400)을 계속적으로 수행해야 하면, 상기 단계들(Step S120, Step S140)을 계속적으로 반복할 수 있다. 다만, 이것은 하나의 예시에 불과한 것으로서, 상술한 바와 같이, 낸드 플래시 메모리 장치는 카피백 동작(500)과 쓰기 동작(400)의 처리 비율이 m:n이므로, m개의 페이지 데이터들에 대한 카피백 동작(500)이 수행되는 사이에 n개의 페이지 데이터들에 대한 쓰기 동작을 교번하여 수행할 수도 있다. 한편, 도 4 및 도 5에는 도시하지 않았지만, 낸드 플래시 메모리 장치는, 카피백 동작(500)과 쓰기 동작(400)을 교번하여 수행하는 동안에 호스트 장치로부터 카피백 취소 커맨드가 입력되면, 카피백 동작(500)을 수행하지 않을 수 있다. 나아가, 낸드 플래시 메모리 장치는, 카피백 동작(500)과 쓰기 동작(400)을 교번하여 수행하는 동안에 호스트 장치로부터 카피백 완료 커맨드가 입력되면, 카피백 동작(500)을 우선적으로 수행하여 완료시킬 수 있다. 다만, 이에 대해서는 상술한 바 있으므로, 그에 대한 중복되는 설명은 생략하기로 한다. 이상, 본 발명의 실시예들에 따른 비휘발성 메모리 시스템에 대해 도면을 참조하여 설명하였지만, 상기 설명은 예시적인 것으로서 본 발명의 기술적 사상을 벗어나지 않는 범위에서 해당 기술 분야에서 통상의 지식을 가진 자에 의하여 수정 및 변경될 수 있을 것이다.As shown in FIGS. 4 and 5, in the nonvolatile memory system 100, 200, 300 according to the embodiments of the present invention, the NAND flash memory device may perform a copyback operation 500 from a host device. The copyback commands may be received in a queuing form, and a copyback processing rate command indicating that the processing rates of the copyback operation 500 and the write operation 400 are m: n may be received. Accordingly, the NAND flash memory device stores the copyback commands in a predetermined buffer in the form of queuing, and processes the copyback commands according to the queuing order. Specifically, since the NAND flash memory device has a processing ratio of the copyback operation 500 and the write operation 400 as m: n, the NAND flash memory device performs a copyback operation 500 for m page data (ie, target page data). After performing step S120, the write operation 400 for n page data (ie, write page data) may be performed (step S140). At this time, the NAND flash memory device determines whether to continuously perform the copyback operation 500 and the write operation 400 (Step S160) to continuously perform the copyback operation 500 and the write operation 400. If it should be performed, the steps (Step S120, Step S140) can be repeated continuously. However, this is only one example. As described above, in the NAND flash memory device, since the processing ratio between the copyback operation 500 and the write operation 400 is m: n, copyback of m page data is performed. While the operation 500 is performed, the write operation on the n page data may be alternately performed. On the other hand, although not shown in Figures 4 and 5, the NAND flash memory device, if a copyback cancel command is input from the host device while alternately performing the copyback operation 500 and the write operation 400, the copyback operation 500 may not be performed. Further, when a copyback completion command is input from the host device while performing the copyback operation 500 and the write operation 400 alternately, the NAND flash memory device preferentially performs the copyback operation 500 to be completed. Can be. However, since this has been described above, a duplicate description thereof will be omitted. Although the nonvolatile memory system according to the embodiments of the present invention has been described above with reference to the drawings, the description is illustrative and not restrictive within the scope of the present invention. And the like.

본 발명은 낸드 플래시 메모리 장치를 구비하는 비휘발성 메모리 시스템에 다양하게 적용될 수 있다. 따라서, 본 발명은 솔리드 스테이트 드라이브(SSD), 시큐어 디지털 카드(SDCARD), 유니버셜 플래시 스토리지(UFS), 임베디드 멀티미디어 카드(EMMC), CF 카드, 메모리 스틱, XD 픽쳐 카드 등에 적용될 수 있다.The present invention can be variously applied to a nonvolatile memory system having a NAND flash memory device. Accordingly, the present invention can be applied to a solid state drive (SSD), a secure digital card (SDCARD), a universal flash storage (UFS), an embedded multimedia card (EMMC), a CF card, a memory stick, an XD picture card and the like.

이상에서는 본 발명의 실시예들을 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention as defined in the following claims. It can be understood that it is possible.

100: 비휘발성 메모리 시스템 120: 낸드 플래시 메모리 장치
122: 제 1 플래시 변환 레이어 140: 호스트 장치
142: 제 2 플래시 변환 레이어 144: 파일 시스템
100: nonvolatile memory system 120: NAND flash memory device
122: first flash conversion layer 140: host device
142: second flash conversion layer 144: file system

Claims (9)

카피백(copyback) 동작을 수행하기 위한 카피백 커맨드들을 큐잉(queueing) 형태로 제공하고, 상기 카피백 동작과 쓰기 동작의 처리 비율을 나타내는 카피백 처리 비율 커맨드를 제공하는 호스트 장치; 및
상기 카피백 커맨드들에 기초하여 상기 카피백 동작을 수행하되, 상기 처리 비율에 따라 상기 카피백 동작과 상기 쓰기 동작을 교번하여 수행하는 낸드 플래시 메모리 장치를 포함하고,
상기 처리 비율이 m:n(단, m과 n은 양의 정수)이면, m개의 페이지 데이터들에 대한 상기 카피백 동작이 수행되는 전후에 n개의 페이지 데이터들에 대한 상기 쓰기 동작이 교번하여 수행되는 것을 특징으로 하는 비휘발성 메모리 시스템.
A host device that provides copyback commands for performing a copyback operation in a queuing form and provides a copyback processing rate command indicating a processing rate of the copyback operation and a write operation; And
A NAND flash memory device configured to perform the copyback operation based on the copyback commands, and alternately perform the copyback operation and the write operation according to the processing ratio;
If the processing ratio is m: n (where m and n are positive integers), the write operation on n page data is alternately performed before and after the copyback operation on m page data is performed. Non-volatile memory system, characterized in that.
삭제delete 삭제delete 제 1 항에 있어서, 상기 카피백 동작은 가비지 콜렉션(garbage collection) 동작 또는 저널링(journaling) 동작에 수반되고,
상기 낸드 플래시 메모리 장치는 상기 카피백 동작을 수행하는 제 1 플래시 변환 레이어(flash translation layer)를 구비하며,
상기 호스트 장치는 파일 시스템(file system) 및 상기 파일 시스템과 인터액션(interaction)하여 상기 낸드 플래시 메모리 장치의 동작을 제어하는 제 2 플래시 변환 레이어를 구비하는 것을 특징으로 하는 비휘발성 메모리 시스템.
The method of claim 1, wherein the copyback operation is accompanied by a garbage collection operation or a journaling operation,
The NAND flash memory device includes a first flash translation layer that performs the copyback operation.
And the host device includes a file system and a second flash translation layer that interacts with the file system to control an operation of the NAND flash memory device.
삭제delete 제 1 항에 있어서, 상기 낸드 플래시 메모리 장치는, 상기 카피백 동작과 상기 쓰기 동작을 교번하여 수행하는 동안에 상기 호스트 장치로부터 카피백 취소 커맨드가 입력되면, 상기 카피백 동작을 수행하지 않는 것을 특징으로 하는 비휘발성 메모리 시스템.The NAND flash memory device of claim 1, wherein the NAND flash memory device does not perform the copyback operation when a copyback cancel command is input from the host device while the copyback operation and the write operation are alternately performed. Nonvolatile memory system. 제 1 항에 있어서, 상기 낸드 플래시 메모리 장치는, 상기 카피백 동작과 상기 쓰기 동작을 교번하여 수행하는 동안에 상기 호스트 장치로부터 카피백 완료 커맨드가 입력되면, 상기 카피백 동작을 우선적으로 수행하여 완료시키는 것을 특징으로 하는 비휘발성 메모리 시스템.

The NAND flash memory device of claim 1, wherein when a copyback completion command is input from the host device while the copyback operation and the write operation are alternately performed, the NAND flash memory device preferentially performs the copyback operation. Non-volatile memory system, characterized in that.

카피백(copyback) 동작을 수행하기 위한 카피백 커맨드들을 큐잉(queueing) 형태로 제공하고, 상기 카피백 동작과 쓰기 동작의 처리 비율을 나타내는 카피백 처리 비율 커맨드를 제공하는 호스트 장치; 및
상기 카피백 커맨드들에 기초하여 상기 카피백 동작을 수행하되, 상기 처리 비율에 따라 상기 카피백 동작과 상기 쓰기 동작을 교번하여 수행하는 낸드 플래시 메모리 장치를 포함하고,
상기 처리 비율이 m:n(단, m과 n은 양의 정수)이면, m개의 페이지 데이터들에 대한 상기 카피백 동작이 수행되는 사이에 n개의 페이지 데이터들에 대한 상기 쓰기 동작이 교번하여 수행되는 것을 특징으로 하는 비휘발성 메모리 시스템.
A host device that provides copyback commands for performing a copyback operation in a queuing form and provides a copyback processing rate command indicating a processing rate of the copyback operation and a write operation; And
A NAND flash memory device configured to perform the copyback operation based on the copyback commands, and alternately perform the copyback operation and the write operation according to the processing ratio;
When the processing ratio is m: n (where m and n are positive integers), the write operation on n page data is alternately performed between the copyback operations on m page data. Non-volatile memory system, characterized in that.
제 8 항에 있어서, 상기 카피백 동작은 가비지 콜렉션(garbage collection) 동작 또는 저널링(journaling) 동작에 수반되고,
상기 낸드 플래시 메모리 장치는 상기 카피백 동작을 수행하는 제 1 플래시 변환 레이어(flash translation layer)를 구비하며,
상기 호스트 장치는 파일 시스템(file system) 및 상기 파일 시스템과 인터액션(interaction)하여 상기 낸드 플래시 메모리 장치의 동작을 제어하는 제 2 플래시 변환 레이어를 구비하는 것을 특징으로 하는 비휘발성 메모리 시스템.
9. The method of claim 8, wherein the copyback operation is accompanied by a garbage collection operation or a journaling operation,
The NAND flash memory device includes a first flash translation layer that performs the copyback operation.
And the host device includes a file system and a second flash translation layer that interacts with the file system to control an operation of the NAND flash memory device.
KR1020120109770A 2012-10-04 2012-10-04 Non-volatile memory system KR101363422B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120109770A KR101363422B1 (en) 2012-10-04 2012-10-04 Non-volatile memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120109770A KR101363422B1 (en) 2012-10-04 2012-10-04 Non-volatile memory system

Publications (1)

Publication Number Publication Date
KR101363422B1 true KR101363422B1 (en) 2014-02-14

Family

ID=50271081

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120109770A KR101363422B1 (en) 2012-10-04 2012-10-04 Non-volatile memory system

Country Status (1)

Country Link
KR (1) KR101363422B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160299687A1 (en) 2015-04-13 2016-10-13 SK Hynix Inc. Controller transmitting output commands and method of operating the same
CN111949558A (en) * 2019-05-16 2020-11-17 北京兆易创新科技股份有限公司 Garbage data recovery method and device and storage equipment
US10885995B2 (en) 2018-11-30 2021-01-05 SK Hynix Inc. Memory controller, memory system including memory controller, method of operating memory controller
US11194510B2 (en) 2017-09-22 2021-12-07 Samsung Electronics Co., Ltd. Storage device and method of operating the same

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008530708A (en) 2005-02-16 2008-08-07 サンディスク コーポレイション Direct data file storage technology in flash memory
KR20110004651A (en) * 2009-07-08 2011-01-14 삼성전자주식회사 Solid state drive device and driving method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008530708A (en) 2005-02-16 2008-08-07 サンディスク コーポレイション Direct data file storage technology in flash memory
KR20110004651A (en) * 2009-07-08 2011-01-14 삼성전자주식회사 Solid state drive device and driving method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160299687A1 (en) 2015-04-13 2016-10-13 SK Hynix Inc. Controller transmitting output commands and method of operating the same
US10564851B2 (en) 2015-04-13 2020-02-18 SK Hynix Inc. Controller transmitting output commands and method of operating the same
US11194510B2 (en) 2017-09-22 2021-12-07 Samsung Electronics Co., Ltd. Storage device and method of operating the same
US10885995B2 (en) 2018-11-30 2021-01-05 SK Hynix Inc. Memory controller, memory system including memory controller, method of operating memory controller
CN111949558A (en) * 2019-05-16 2020-11-17 北京兆易创新科技股份有限公司 Garbage data recovery method and device and storage equipment
CN111949558B (en) * 2019-05-16 2023-11-21 兆易创新科技集团股份有限公司 Garbage data recovery method and device and storage equipment

Similar Documents

Publication Publication Date Title
CN107346290B (en) Replaying partition logical to physical data address translation tables using parallelized log lists
CN108572796B (en) SSD with heterogeneous NVM types
KR101478168B1 (en) Storage system and method of processing write data
EP2802991B1 (en) Systems and methods for managing cache admission
US9858015B2 (en) Solid-state storage management
US8918580B2 (en) Storage device with buffer memory including non-volatile RAM and volatile RAM
KR101419004B1 (en) Non-volatile memory system
US11669272B2 (en) Predictive data transfer based on availability of media units in memory sub-systems
GB2507410A (en) Storage class memory having low power, low latency, and high capacity
TW201917576A (en) Memory system and method of operating the same
KR102521298B1 (en) Memory controller and operating method thereof
CN113168374A (en) Write command retention in partition namespaces
KR20100094241A (en) Nonvolatile memory device not including reserved blocks
KR20200110547A (en) Storage device and computing device including storage device
US11650915B2 (en) Temperature-based data storage processing
KR101363422B1 (en) Non-volatile memory system
KR102544162B1 (en) Data storage device and operating method thereof
CN112445716A (en) Remapping techniques for NAND storage
US20220043713A1 (en) Meta Data Protection against Unexpected Power Loss in a Memory System
KR20140128819A (en) Atomic write method
KR102425470B1 (en) Data storage device and operating method thereof
US20230138586A1 (en) Storage device and method of operating the same
US10515693B1 (en) Data storage apparatus and operating method thereof
US20240111426A1 (en) Data Storage Device That Detects and Releases Bottlenecks In Hardware
US11966582B2 (en) Data storage device that detects and releases bottlenecks

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20170210

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180212

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190201

Year of fee payment: 6