Memory device and memory system for direct communication between memory devices

By introducing the memory authority control unit and the host authority control unit into the memory system, the memory processor is allowed to communicate directly with other memory devices, which solves the problem of excessive burden on the host device in the memory system and improves the operating efficiency and processing capabilities of the system.

CN110968533BActive Publication Date: 2024-08-27SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910706837.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-28
Filing Date
2019-07-31
Publication Date
2024-08-27
Estimated Expiration
2039-07-31

AI Technical Summary

Technical Problem

In a memory system, frequent data movement requests between memory devices will increase the burden on the host device, causing the host device to occupy channels to control the data flow of all memory devices, hindering the operating efficiency of the memory system.

Method used

By introducing a memory authority control unit and a host authority control unit into the memory device, the memory processor and core processor are configured to control the channel operation authority, allowing the memory processor to communicate directly with other memory devices under the intervention of the host device, reducing the host device intervention.

Benefits of technology

It improves the operating efficiency of the memory system, reduces the burden on the host device, allows the memory processor to perform tasks such as data movement and garbage collection without being affected by the intervention of the host device, and improves the system's processing capability and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110968533B_ABST
    Figure CN110968533B_ABST
Patent Text Reader

Abstract

A memory device and a memory system are provided. The memory device connected to a channel comprises: a memory cell array; and a memory permission control unit for controlling the operation permission of the channel, wherein when the memory permission control unit has the operation permission of the channel, the memory device controls the data flow of other memory devices connected to the channel.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references to related applications

[0002] This application claims the benefit of Korean Patent Application No. 10-2018-0116119 filed in the Korean Intellectual Property Office on September 28, 2018, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] The present disclosure relates to a memory device and a memory system for direct communication between memory devices. Background Art

[0004] The memory system may include, for example, a memory device, a channel and / or a host device. The memory device may be connected to the host device via a channel.

[0005] In the memory system, the host device can fully control the memory device. That is, the memory device can fully operate as a slave device of the host device.

[0006] The memory device may also include an additional processing unit, such as a memory processor (Processor In Memory (PIM)). The memory processor may process data in the memory device including the memory processor.

[0007] That is, if the memory device includes a memory processor, data in the memory device may be processed by the host device or by the memory processor in the memory device.

[0008] On the other hand, when the memory processor of the memory device processes a series of instructions, it may not only need the data in the memory device including the memory processor, but also need the data of other memory devices connected to the channel. At this time, since the memory device is completely operated as a slave device of the host device, the memory processor can request the data of other memory devices from the host device. In other words, if there is a data movement request between memory devices, the intervention of the host device can be relied on.

[0009] When data movement requests between memory devices occur frequently, the burden on the host device may gradually increase. Thus, when the host device occupies a channel of the memory system to control the data flow of all memory devices connected to the channel, the burden on the host device may be caused. The burden on the host device may hinder the operating efficiency of the memory system. Summary of the invention

[0010] Example embodiments of the present disclosure provide a memory system and a memory device that improve the operating efficiency of the memory system.

[0011] However, the exemplary embodiments of the present disclosure are not limited to the exemplary embodiments set forth herein. The above and other exemplary embodiments of the present disclosure will become more apparent to those of ordinary skill in the art to which the present disclosure pertains by referring to the detailed description of the present disclosure given below.

[0012] According to some example embodiments of the present disclosure, there is provided a memory device connected to a channel, comprising: a memory cell array; a memory processor having a memory permission control unit, the memory processor being configured to control operation permissions of the channel, wherein the memory processor is configured to: control data flows of other memory devices connected to the channel when the memory permission control unit has operation permissions of the channel.

[0013] According to some example embodiments of the present disclosure, there is provided a memory system, comprising: a host device, the host device being connected to a channel and comprising a core processor having a host authority control unit, the core processor being configured to control operation authority of the channel, wherein the core processor is configured to: block data flow from the host device to the channel when the host authority control unit does not have operation authority of the channel.

[0014] According to some example embodiments of the present disclosure, there is provided a memory system, comprising: a host device connected to each of a first channel and a second channel different from the first channel, and comprising a core processor having a host authority control unit, the core processor being configured to control operation authorities of the first channel and the second channel; a first memory device and a second memory device connected to the first channel; and a third memory device connected to the second channel, wherein the host authority control unit is configured to grant operation authorities of the first channel to the first memory device, and the first memory device comprises a memory processor configured to directly request data from the second memory device, and the host authority control unit is further configured not to grant operation authorities of the second channel to the third memory device. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The above and other aspects and features of the present disclosure will become more apparent by describing in detail example embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0016] Figure 1 is a block diagram of a memory system according to some example embodiments of the present application;

[0017] Figure 2 is a block diagram of a memory device according to some example embodiments of the present application;

[0018] Figure 3is a flowchart illustrating the operation of a memory device and a host device according to some example embodiments of the present application;

[0019] Figure 4 It shows Figure 3 FIG. 10 is a diagram of operations S110 to S150 of FIG. 10 ;

[0020] Figure 5 It shows Figure 3 FIG. 10 is a diagram of operations S160 and S170 ;

[0021] Figure 6 is a block diagram of a memory system including a memory device having input and output ports according to some example embodiments of the present application;

[0022] Figure 7 is a diagram illustrating garbage collection operations performed by a memory system according to some example embodiments of the present application;

[0023] Figure 8 is a diagram illustrating instructions for performing garbage collection operations according to some example embodiments of the present application;

[0024] Fig. 9 is a diagram illustrating garbage collection operations performed by a memory system according to some example embodiments of the present application;

[0025] Fig.10 and Fig.11 is a diagram showing the effect of a memory system according to some example embodiments of the present application;

[0026] Fig.12 is a diagram illustrating a wear leveling operation performed by a memory system according to some example embodiments of the present application;

[0027] Figure 13A-13C is a diagram showing the effect of a memory system in some example embodiments of the present application;

[0028] Fig.14 is a block diagram of a memory system in which a memory processor of a memory device utilizes a memory controller of a host device according to some example embodiments of the present application;

[0029] Fig.15 is a flowchart illustrating operations of a memory device and a host device in a memory system according to some example embodiments of the present application;

[0030] Fig.16 It shows Fig.15 A diagram of operations S252 to S256 of ; and

[0031] Fig.17is a block diagram of a memory system with two channels according to some example embodiments of the present application. DETAILED DESCRIPTION

[0032] The advantages and features of the present disclosure and the methods for achieving them can be more easily understood by referring to the description and drawings of the following example embodiments. However, the present disclosure can be embodied in many different forms and should not be construed as being limited to the example embodiments set forth herein. More specifically, these example embodiments are provided so that the present disclosure will be comprehensive and complete, and the concept of the present disclosure will be fully conveyed to those skilled in the art, and the present disclosure is limited only by the appended claims. In the accompanying drawings, the sizes and relative sizes of the components shown in the drawings may be exaggerated for clarity. Throughout the specification, the same reference numerals represent the same constituent elements, and the term "and / or" includes each item mentioned and one or more combinations.

[0033] The terms used in this specification are for the purpose of illustrating the exemplary embodiments, rather than limiting the present disclosure. As used herein, unless otherwise specified, the singular form also includes the plural form. In addition to the referenced constituent elements, the terms "include" and / or "comprising" used in this specification do not exclude the presence or addition of one or more other constituent elements.

[0034] Although the terms "first", "second", etc. are used to describe various elements or components, these elements or components are not limited by these terms. These terms are only used to distinguish one component from other components. Therefore, of course, the first element or component described below may be the second element or component within the technical concept of the present disclosure.

[0035] Unless otherwise defined, all terms (including technical terms and scientific terms) used in this specification may be used in accordance with the meanings that can be commonly understood by ordinary technicians in the technical field to which the present disclosure belongs. In addition, unless otherwise clearly defined, common terms defined by dictionaries will not be conceptually or improperly interpreted.

[0036] Figure 1 is a block diagram of a memory system according to some example embodiments of the present application.

[0037] A memory system according to some example embodiments of the present application may include a first memory device 100 , a second memory device 200 , a third memory device 300 , a host device 400 , and / or a channel 500 .

[0038] Each of the first to third memory devices 100, 200, and 300 may include first to third memory permission control units 102, 202, and 302, first to third memory processors 104, 204, and 206, and / or first to third memory cell arrays 106, 206, and 306. Each of the first to third memory devices 100, 200, and 300 may be connected to the host device 400 through a channel 500. In some example embodiments, the memory devices 100, 200, and / or 300 may be implemented as volatile memory devices or nonvolatile memory devices. In some example embodiments, the memory devices 100, 200, and / or 300 may be configured as storage class memory devices.

[0039] In some example embodiments, the memory permission control units 102, 202, and / or 302 may exclusively have the operation permission of the channel 500. For example, when the first memory permission control unit 102 has the operation permission of the channel 500, the second memory device 200 and / or the third memory device 300 and / or the host device 400 connected to the channel 500 may not have the operation permission of the channel 500.

[0040] The memory permission control units 102, 202 and / or 302 may be separate configurations in the corresponding memory devices 100, 200 and / or 300. For example, the first memory permission control unit 102 may be implemented as a separate IC chip in the memory device 100.

[0041] In some example embodiments, the memory permission control unit 102, 202 and / or 302 may be a configuration included in the memory processor 104, 204 and / or 304. For example, the first memory permission control unit 102 may be implemented as a separate IC chip in the first memory processor 104.

[0042] In some example embodiments, the memory permission control unit 102, 202 and / or 302 may be included in the corresponding memory processor 104, 204 and / or 304. For example, the first memory permission control unit 102 may be implemented as software executed on the first memory processor 104.

[0043] In some example embodiments, all memory devices 100, 200, and / or 300 do not need to include a memory permission control unit in the memory system. That is, for example, only the first memory device 100 may include the first memory permission control unit 100, and the second memory device 200 and / or the third memory device 300 may not include the memory permission control unit 202 and / or 302. However, example embodiments are not limited thereto.

[0044] In some example embodiments, the first memory processor 104 may execute a series of instructions for the second memory device 200 and / or the third memory device 300 connected to the memory device 100 and / or the channel 500. The first memory processor 104 may execute a control instruction for controlling a data flow of the second memory device 200 and / or the third memory device 300. In some example embodiments, the control instruction for controlling a data flow of the second memory device 200 and / or the third memory device 300 may include reading, writing, and / or erasing data of the second memory cell array 206 and / or the third memory cell array 306 of the second memory device 200 and / or the third memory device 300.

[0045] In some example embodiments, the second memory processor 204 and / or the third memory processor 304 may perform the same functions as the first memory processor 104. However, the second memory processor 204 and / or the third memory processor 304 need not always perform the same functions as the first memory processor 104.

[0046] The memory processor 104, 204 and / or 304 may be implemented as a separate configuration in the memory device 100, 200 and / or 300. In some example embodiments, the memory processor 104, 204 and / or 304 may be implemented as a separate IC chip in the memory device 100, 200 and / or 300.

[0047] In some example embodiments, some memory devices in the memory system may not include a memory processor. That is, for example, only the first memory device 100 may include the first memory processor 104, and the second memory device 200 and / or the third memory device 300 may not include a memory processor. However, example embodiments are not limited thereto.

[0048] The memory cell arrays 106, 206, and / or 306 of the memory devices 100, 200, and / or 300 may include a plurality of memory cells storing data. In some example embodiments, the range of memory cells to which read, write, and / or erase operations in the memory cell arrays 106, 206, and / or 306 are applied may vary. In some example embodiments, the memory cell arrays 106, 206, and / or 306 may include a block including a plurality of memory cells. Each block may include a page including a plurality of memory cells. At this time, data may be read and / or written in units of pages, and data may be erased in units of blocks.

[0049] The first memory processor 104 of the first memory device 100 may include, for example, a memory address table including at least one data address in the first to third memory cell arrays 106, 206, and / or 306. When the data address of the first to third memory cell arrays 106, 206, and / or 306 is changed by executing a series of instructions by the first memory processor 104, the first memory processor 104 may update the memory address table.

[0050] The memory address table may be implemented as a separate configuration in the memory processor 104. For example, the memory address table may be implemented as a separate IC chip in the memory processor 104. The memory address table may be implemented as a part of the memory processor 104. For example, the memory address table may be implemented as software running on the memory processor 104.

[0051] The host device 400 includes a host authority control unit (ownership controller: OC) 402 , a channel locking unit 404 , a memory controller 406 , a core processor (CPU) 408 , a cache 410 , and a translation lookaside buffer (TLB) 412 .

[0052] The host authority control unit 402 may have the operation authority of the channel 500. If the host authority control unit 402 has the operation authority of the channel 500, the first to third memory authority control units 100, 200, and 300 of the memory devices 100, 202, and 303 connected to the channels 102, 202, and 303 may not have the operation authority of the channel.

[0053] In some example embodiments, the host authority control unit 402 may be configured as a separate unit in the host device 400. For example, the host authority control unit 402 may include a separate IC chip. In some example embodiments, the host authority control unit 402 may be a separate configuration included in the memory controller 406. For example, the host authority control unit 402 may be configured by a separate IC chip within the memory controller 406. In some example embodiments, the host authority control unit 402 may be included in the memory controller 406. For example, the host authority control unit 402 may be implemented as software running on the memory controller 406.

[0054] The channel locking unit 404 of the host device 400 may be set to block a data flow from the host device 400 to the channel 500. The channel locking unit 404 may set a lock between the core processor 408 and the memory controller 406 to block a data request or a series of instructions from the core processor 408 of the host device 400 to the memory controller 406.

[0055] In some example embodiments, the channel locking unit 404 may use a semaphore to set a lock. In some example embodiments, the channel locking unit 404 may be configured as a separate unit in the host device 400. For example, the channel locking unit 404 may be configured as a separate IC chip. In some example embodiments, the channel locking unit 404 may be a separate configuration included in the memory controller 406. For example, the channel locking unit 404 may be configured as a separate IC chip within the memory controller 406. In some example embodiments, the channel locking unit 404 may be included in the memory controller 406. For example, the channel locking unit 404 may be implemented as software running on the memory controller 406.

[0056] The memory controller 406 of the host device 400 may control the data flow of the memory devices 100, 200, and / or 300 connected to the channel 500. When the host device 400 does not have the operation authority of the channel 500, the memory controller 406 may not control the data flow of the memory devices 100, 200, and / or 300 connected to the channel 500. The memory controller 406 of the host device 400 may be configured as a separate unit in the host device 400. For example, the memory controller 406 may be configured as a separate IC chip.

[0057] The core processor 408 of the host device 400 may execute a series of instructions for the memory devices 100, 200, and / or 300 connected to the channel 500. The core processor 408 may send a series of instructions for the memory devices 100, 200, and / or 300 connected to the channel 500 to the memory processors 104, 204, and / or 304 of the memory devices 100, 200, and / or 300. When locking is set by the channel locking unit 404 of the host device 400, the core processor 408 may process tasks other than executing a series of instructions for the memory devices 100, 200, and / or 300 connected to the channel 500. For example, when the host authority control unit 402 has the operation authority of the channel 500, the core processor 408 may directly execute a series of instructions for the memory devices 100, 200, and / or 300 connected to the channel 500, and may send a series of instructions to the memory processors 104, 204, and / or 304 of the memory devices 100, 200, and / or 300. Additionally, when the lock is set by the channel lock unit 404 of the host device 400, the core processor 410 may be used to process other tasks.

[0058] The cache 410 of the host device 400 may store a portion of data stored in the memory devices 100, 200, and / or 300 connected to the channel 500. The data stored in the cache 410 may be provided to the core processor 408 of the host device 400. When a lock is set by the channel lock unit 404 of the host device 400, the cache 410 may be cleared.

[0059] The translation lookaside buffer (TLB) 412 of the host device 400 may include a memory address table including data addresses of the memory cell arrays 106, 206, and / or 306 of the memory devices 100, 200, and / or 300 connected to the channel 500. The TLB 412 may convert the virtual memory address of the data into the physical memory address of the data. When the host device 400 receives an updated memory address table from the memory processors 104, 204, and / or 304 of the memory devices 100, 200, and / or 300 connected to the channel 500, the TLB 412 may update the memory address table.

[0060] For example, in Figure 1 , the TLB 412 of the host device 400 may include a memory address table including data addresses of the first to third memory cell arrays 106, 206, and / or 306. In addition, when the host device 400 receives an updated memory address table from the first memory processor 104, the TLB 412 may update the memory address table.

[0061] In the following, reference will be made to Figure 1 and Figure 2 A memory cell array of a memory device is described in more detail.

[0062] Figure 2 is a block diagram of a memory device according to some example embodiments of the present application.

[0063] exist Figure 2 , the first memory cell array 106 of the first memory device 100 may include a first block 106 a including first to third pages and a second block 106 b including fourth to sixth pages.

[0064] refer to Figure 1 and Figure 2 , the first memory processor 104 may include a memory address table including at least one data address in the first to third memory cell arrays 106 , 206 , and 306 of the first to third memory devices 100 , 200 , and 300 .

[0065] In the memory cell array 106 or 206, "---" and "XXX" stored in the page may indicate blank and garbage, respectively. In the memory cell arrays 106 and 206, alphabets (e.g., "L" or "K") in the data stored in the page may indicate specific data. Similar to the first memory device 100, the second memory cell array and / or the third memory cell arrays 206 and 306 may include a first block including the first to third pages and a second block including the fourth to sixth pages.

[0066] In the following, reference will be made to Figure 3 and Figure 4 The operation of memory devices and host devices in a memory system is described.

[0067] Figure 3 is a flowchart illustrating operations of a memory device and a host device according to some example embodiments of the present application. Figure 4 It shows Figure 3 FIG. 1 is a diagram of operations S110 to S150 .

[0068] refer to Figure 3 , the first memory processor receives a series of instructions from the host device (S110). Specifically, for example, referring to Figure 4 , the memory processor 104 of the memory device 100 may receive a series of instructions from the core processor 408 of the host device 400 (S110). For example, the memory processor 104 may receive the following series of instructions from the core processor 408.

[0069] "instruction:

[0070] 1. Read the second page of the first memory device;

[0071] 2. Write to the fourth page of the first memory device;

[0072] 3. Read the third page of the second memory device;

[0073] 4. Write to the fifth page of the first memory device;

[0074] 5. Erasing a first block of a first memory device;

[0075] 6. Erase the first block of the second memory device... ".

[0076] Next, refer to Figure 3When the memory permission control unit includes instructions of another memory device in a series of instructions, the memory permission control unit may send an operation permission request signal of the channel to the host device (S120). That is, the memory permission control unit may determine whether the series of instructions received by the memory processor includes instructions of another memory device. In addition, the memory permission control unit may send an operation permission request signal of the channel to the host device based on the above determination.

[0077] Specifically, refer to Figure 4 For example, the memory permission control unit 102 may determine whether a series of instructions received from the core processor 408 of the host device 400 includes instructions regarding the second memory device 200 and / or the third memory device 300 (e.g., control instructions for controlling the data flow of the second memory device 200 or the third memory device 300). The memory permission control unit 102 may send an operation permission request signal for the channel 500 to the host device 400 based on the above determination (S120). For example, the memory permission control unit 102 may send an operation permission request signal for the channel 500 to the host device 400 based on a determination that a series of instructions received from the host device 400 includes instructions regarding the second memory device 200 (e.g., "3. Read the third page of the second memory device" or "6. Erase the first block of the second memory device").

[0078] Next, refer to Figure 3 , a lock may be set between the core processor and the memory controller through a channel lock unit (S130). Specifically, for example, referring to Figure 4 , when the host authority control unit 402 of the host device 400 receives the operation authority request signal of the channel 500 from the memory authority control unit 102 of the memory device 100, the channel locking unit 404 of the host device 400 may set a lock for blocking the flow of data from the host device 400 to the channel 500 (S130). In some example embodiments, the channel locking unit 404 of the host device 400 may set a lock between the core processor 408 of the host device 400 and the memory controller 406.

[0079] Next, refer to Figure 3 , the host device may send the operation permission of the channel to the first memory permission control unit (S140). Specifically, for example, referring to Figure 4 , the host authority control unit 402 of the host device 400 may send the operation authority of the channel 500 to the memory authority control unit 102 of the memory device 100 (S140). The memory authority control unit 102 may have the operation authority of the channel 500.

[0080] Next, refer to Figure 3 , a series of instructions may be executed in the first memory processor to update the memory address table (S150).

[0081] Specifically, for example, refer to Figure 4 , the memory processor 104 of the memory device 100 may execute a series of instructions received from the host device 400 (S150). The first memory processor 104 may execute instructions regarding the second memory device 200 and / or the third memory device 300 connected to the channel 500.

[0082] In some example embodiments, the first memory processor 104 may execute a control instruction for controlling a data flow of the second memory device 200 and / or the third memory device 300 connected to the channel 500. In addition, when a data address of at least one of the first to third memory devices 100, 200, and 300 is changed by executing a series of instructions, the first memory processor 104 may update a memory address table.

[0083] Figure 4 4 shows the data of the first memory cell array 106 and the second memory cell array 206 and the memory address table included in the first memory processor 104 before the memory processor 104 executes a series of instructions received from the host device 400. When the first memory processor 104 executes the instructions "3. Read the third page of the second memory device" and "4. Write the fifth page of the first memory device", the address of the data "K" stored in the third page of the second memory cell array 206 is changed to the second page of the first memory cell array 106. In the following, reference will be made to Figure 5 This operation is described in more detail.

[0084] Figure 5 It shows Figure 3 FIG. 1 is a diagram of operations S150 to S170 . Figure 5 The first memory cell array 106 and the second memory cell array 206 and the memory address table are shown after the memory processor 104 executes a series of instructions received from the host device 400. For example, when the instructions "3. Read the third page of the second memory device" and "4. Write the second page of the first memory device" are executed in the first memory processor 104, the memory processor 104 updates the address of "K" of the memory address table from "the third page of the second memory device" to "the fifth page of the first memory device".

[0085] Reference again Figure 3When the execution of a series of instructions in the memory processor is completed, the operation authority of the channel can be returned from the first memory authority control unit to the host device (S160). Specifically, for example, referring to Figure 5 , the first memory permission control unit 102 determines whether the first memory processor 104 executes all the series of instructions received from the host device 400. The first memory permission control unit 102 may send the operation permission of the channel 500 to the host device 400 according to the above determination. For example, the memory permission control unit 102 may send the operation permission of the channel 500 to the host device 400 based on the determination to execute all the series of instructions received from the host device 400.

[0086] Reference again Figure 3 , the host device may release the lock of the channel locking unit and update the memory address table (S170). Specifically, for example, referring to Figure 5 , the host permission control unit 402 of the host device 400 may receive the operation permission of the channel 500 from the memory permission control unit 102 of the memory device 100. The channel locking unit 404 of the host device 400 may release the lock used to block the data flow from the host device 400 to the channel 500. For example, the channel locking unit 404 of the host device 400 may release the lock between the core processor 408 and the memory controller 406 of the host device 400. The TLB 412 of the host device 400 may receive the updated memory address table from the memory processor 104 of the memory device 100. The TLB 412 of the host device 400 may update the memory address table.

[0087] In the following, reference will be made to Figure 6 A memory system according to an embodiment of the present application is described.

[0088] Figure 6 is a block diagram of a memory system including a memory device having input-output ports according to some example embodiments of the present application.

[0089] In some example embodiments of the present application, the channel 500 may include a command channel 502, a chip select channel 504, an address channel 506, and / or a data channel 508. Each of the command channel 502, the chip select channel 504, the address channel 506, and / or the data channel 508 may be a channel for sending command information, address information, chip select information, or data information. In some example embodiments, the command information may include "read", "write", or "erase". The address information may include a "block address" or a "page address". The chip select information may include "information for specifying a memory device" (e.g., "a second memory device"). The data information may include data stored in the memory cell arrays 106, 206, and / or 306. For example, in the instruction "3, read the third page of the second memory device", the command information, the chip select information, the address information, and the data information may be "read", "a second memory device", "a third page", and / or "K", respectively.

[0090] exist Figure 6 , the first memory device 100 may include a command information input-output port 108a, a chip select information input-output port 108b, an address information input-output port 108c, and / or a data information input-output port 108d for inputting or outputting command information, address information, chip select information, and / or data information. The command information input-output port 108a, the chip select information input-output port 108b, the address information input-output port 108c, and / or the data information input-output port 108d of the memory device 100 may be connected to the command channel 502, the chip select channel 504, the address channel 506, and / or the data channel 508. In some example embodiments, the command information input-output port 108a, the chip select information input-output port 108b, the address information input-output port 108c, and / or the data information input-output port 108d of the memory device 100 may be constituted by the first input-output port 108. In some example embodiments, each of the command information input-output port 108a, the chip selection information input-output port 108b, the address information input-output port 108c, and / or the data information input-output port 108d of the memory device 100 may be constituted by a separate output port. In addition, the second memory device 200 and the third memory device 300 may include a second input-output port and a third input-output port 108, which include a command information input-output port, a chip selection information input-output port, an address information input-output port, and / or a data information input-output port.

[0091] exist Figure 6In the memory system of the present invention, the host authority control unit 402 of the host device 400 does not have the operation authority of the channel 500, and the channel locking unit 404 of the host device 400 can set the lock. In addition, the first memory authority control unit 102 of the first memory device 100 can have the operation authority of the channel 500. The memory device 100 can control the data flow of other memory devices (e.g., the second memory device 200 and / or the third memory device 300) connected to the channel 500. For example, the data flow of the second memory device 200 may include command information, address information, chip selection information, and / or data information output from the first input-output port 108 of the first memory device 100 and input to the second input-output port 208 of the second memory device 200. In addition, the data flow of the second memory device 200 may include data information output from the second input-output port 208 of the second memory device 200 and input to the first input-output port 108 of the first memory device 100.

[0092] In the following, reference will be made to Figures 7 to 9 A garbage collection operation performed in a memory system according to an embodiment of the present application is described.

[0093] Figure 7 is a diagram illustrating garbage collection operations performed by a memory system according to some example embodiments of the present application. Specifically, Figure 7 A memory system before performing garbage collection according to some example embodiments of the present application is shown. Garbage collection is a series of operations in which, when most of a particular block in a memory cell array is full of garbage, the particular block is removed after the data retained in the particular block is shifted to another block. In the memory cell array of a memory device according to some example embodiments, data may be read or written in units of pages, and data may be erased in units of blocks. In other words, the memory cell array may not be erased in units of pages. Therefore, if most of the pages of a particular block are full of garbage, in order to erase the garbage, the entire particular block may need to be erased. Before erasing a particular block, the data of some pages retained in the particular block needs to be stored on pages of another block.

[0094] For example, in Figure 7In the example, the first page P1 and the third page P3 of the first block 106a of the first memory cell array 106 of the first memory device 100 may be filled with garbage "XXX". The first page P1 and the second page P2 of the first block 206a of the second memory cell array 206 of the second memory device 200 may be filled with garbage "XXX". The second page P2 and the third page P3 of the first block 306a of the third memory cell array 306 of the third memory device 300 may be filled with garbage "XXX". In order to erase the first block 106a of the first memory cell array 106, the first block 206a of the second memory cell array 206 and / or the first block 306a of the third memory cell array 306, it may be necessary to shift the data A, B and / or C retained in the block to another block.

[0095] Figure 8 is a diagram illustrating instructions for performing garbage collection operations according to some example embodiments of the present specification. Specifically, Figure 8 A series of instructions for performing garbage collection according to some example embodiments of the present disclosure are shown. Figure 8 The series of instructions shown in is as follows.

[0096] "instruction:

[0097] 1. Read the second page of the first memory device

[0098] 2. Write to the fourth page of the first memory device

[0099] 3. Read the third page of the second memory device

[0100] 4. Write to the fifth page of the first memory device

[0101] 5. Read the first page of the third memory device

[0102] 6. Write to the sixth page of the first memory device

[0103] 7. Erase the first block of the first memory device

[0104] 8. Erase the first block of the second memory device

[0105] 9. Erase the first block of the third memory device."

[0106] When Figure 7 The memory system shown is executed Figure 8, data "A" of the second page P2 of the first memory device may be shifted to the fourth page P4 of the first memory device, data "B" of the third page P3 of the second memory device may be shifted to the fifth page P5 of the first memory device, and data "C" of the first page P1 of the third memory device may be shifted to the sixth page P6 of the first memory device. Moreover, the first block 106a of the first memory device, the first block 206a of the second memory device, and the first block 306a of the third memory device may be erased.

[0107] Fig. 9 is a diagram illustrating garbage collection operations performed by a memory system according to some example embodiments of the present application. Specifically, Fig. 9 FIG. 2 shows a memory system after performing garbage collection according to some example embodiments of the present application. Fig. 9 In the memory system of FIG. 1 , the first block 106 a of the first memory device, the first block 206 a of the second memory device, and the first block 306 a of the third memory device may be erased and may be filled with blanks.

[0108] In the following, reference will be made to Figure 8 , Fig.10 and Fig.11 Effects of a memory system according to some example embodiments of the present application are described.

[0109] Fig.10 and Fig.11 is a diagram illustrating the effect of a memory system according to some example embodiments of the present application. Fig.10 is shown when executing in the memory system Figure 8 A series of instructions is a diagram of instructions to be executed by each of a host device and a memory device in which data movement cannot be performed directly between memory devices. Fig.11 is a diagram showing instructions executed by each of a host device and a memory device when garbage collection is performed in a memory system according to some example embodiments of the present application. Fig.10 and Fig.11 The circle indicates execution Figure 8 In addition, the horizontal axis of the diagram represents the order (time), and the vertical axis of the diagram represents whether the execution subject of a specific instruction is a host device or a memory device. For example, Fig.10 The "③" in the Figure 7 The instruction “3. Read the third page of the second MD” shown in is executed by the host device.

[0110] Specifically, Fig.10 The memory system may not be able to directly perform data movement between memory devices. Fig.10In a memory system with a host device, data movement between memory devices may not be performed without intervention by a host device. For example, Figure 8 The “1. Read the second page of the first memory device” or “2. Write the fourth page of the first memory device” shown in can be executed by the first memory processor of the first memory device. However, Figure 8 The “3. Read the third page of the second memory device” shown in FIG. 1 may not be executed by the first memory processor of the first memory device, but may be executed by the host device.

[0111] refer to Fig.10 , when garbage collection is performed in a memory system where direct communication between memory devices is not possible, the first memory processor of the first memory device can execute instructions (①, ②, ④, ⑥, and ⑦) regarding the memory device. In addition, the host device can execute instructions (③, ⑤, ⑧, and ⑨) regarding other memory devices. Therefore, in a memory system where direct communication between memory devices is not possible, the intervention of the host device can be relied upon to control the data flow of other memory systems connected to the channel. On the other hand, when the host device performs other tasks, the processing of instructions (③, ⑤, ⑧, and ⑨) regarding garbage collection may be delayed, which may delay the execution time of the entire garbage collection.

[0112] Specifically, Fig.11 The memory system is a memory system according to some example embodiments of the present application, and data can be moved directly between memory devices. Fig.11 In a memory system of a channel, a memory processor of a memory device can control the data flow of other memory systems connected to the channel. For example, a memory processor of a memory device can execute Figure 8 The instructions “1. Read the second page of the first memory device” or “2. Write the fourth page of the first memory device” and “3. Read the third page of the second memory device” shown in .

[0113] like Fig.11As shown, when garbage collection is performed in a memory system according to some example embodiments of the present disclosure, the memory processor may execute instructions (①, ②, ④, ⑥, and ⑦) about the memory device connected to the channel and instructions (③, ⑤, ⑧, and ⑨) about other memory devices connected to the channel. Therefore, in a memory system according to some example embodiments of the present application, the memory processor may execute instructions about other memory devices connected to the channel without the intervention of the host device. In addition, the host device may perform other tasks other than garbage collection independently of the memory processor. In addition, since the memory processor performs the garbage collection process without the intervention of the host device, the memory processor is not affected by the task processing delay of the host device.

[0114] That is, in the memory system according to some example embodiments of the present application, the memory processor of the memory device occupies the memory channel without the intervention of the host device, and can control the data flow of other memory devices connected to the channel. Therefore, the memory processor can perform tasks such as data movement between memory devices connected to the channel without being affected by the host device (for example, due to the delay caused by the host device).

[0115] In the following, reference will be made to Fig.12 and FIG. 13 describe a wear leveling operation performed in a memory system according to some example embodiments of the present application.

[0116] Fig.12 is a diagram illustrating a wear leveling operation of a memory system according to some example embodiments of the present application. Specifically, Fig.12 1 shows a memory system before performing wear leveling according to some example embodiments of the present application. In some example embodiments, the memory device may be a storage class memory device. Fig.12 , data "A", "B" and "C" are respectively stored in the first page, the second page and the third page of the first memory device 100. Also, data "D", "E" and "F" are respectively stored in the first page, the second page and the third page of the second memory device 200.

[0117] Fig. 13 is a diagram showing the effect of a memory system in some example embodiments of the present application. Specifically, Fig. 13 shows the number of writes to specific data according to the execution of wear leveling in some example embodiments of the present specification.

[0118] Wear leveling is the task of changing the memory location of specific data when the number of writes to a specific data unit increases so as to flatten the cumulative number of writes. In some example embodiments, a data cell of a memory cell array of a memory device may not be written to a predetermined number of writes or more. If the number of writes to a data cell exceeds a predetermined number of writes, the pages and / or blocks containing those data cells may no longer be available. Therefore, in the event that the number of writes to a specific data cell increases, wear leveling for changing the location of the data cell storing the specific data may be performed. In some example embodiments, when high-demand data is stored on a specific page, the number of writes to the specific page may be greater than the number of writes to other pages. In this case, an operation of moving the high-demand data to another page with a smaller number of writes may be performed.

[0119] Figure 13A-13C Shows Fig.12 The cumulative number of writes of data "A" to "F" shown in . In addition, Figure 13A-13C The addresses of the pages storing data "A" to "F" are shown. In the following, for ease of explanation, it is assumed that the demand for data "A" and "B" is small, the demand for data "C" and "F" is normal, and the demand for data "D" and "E" is large.

[0120] Fig.13A shows the cumulative number of writes before wear leveling is performed. Fig.13A , data "A" to "F" may be stored in the first to third pages of the first memory device 100 and the first to third pages of the second memory device 200. At a specific time, the cumulative number of writes of data "A" and "B" may be small, the cumulative number of writes of "C" and "F" may be normal, and the cumulative number of writes of data "D" and "E" may be large.

[0121] Fig. 13B The cumulative number of writes of data "A" to "F" after wear leveling is performed is shown. Through wear leveling, the positions of data "A" and "B" and data "D" and "E" can be interchanged. That is, Fig. 13B In , data "A" and "B" can be stored on the first and second pages of the second memory device, and data "D" and "E" can be stored on the first and second pages of the first memory device. Fig. 13B In the example, the cumulative number of writes of data "A" and "B" can be interchanged with the cumulative number of writes of data "D" and "E".

[0122] Fig. 13C1 shows the cumulative number of writes to data "A" to "F" after a period of time has passed since the wear leveling operation was performed. As mentioned above, since the demand for data "A" and "B" is small, and the demand for data "D" and "E" is large, after a certain period of time has passed, the cumulative number of writes to data "A" to "F" can be as follows: Fig. 13C Shown is flat.

[0123] In this way, in order to perform wear leveling between memory devices, it is necessary to perform data movement between memory devices. In a conventional memory system, data is moved between memory devices by relying on intervention of a host device.

[0124] However, in a memory system according to some example embodiments of the present application, a memory processor can move data between memory devices without intervention of a host device. Therefore, the memory processor can perform wear leveling between memory devices without being affected by the host device (e.g., due to delays caused by the host device). In addition, the host device can perform other tasks while the memory processor of the memory device performs wear leveling. For example, the core processor of the host device can be used as a resource for other tasks.

[0125] In the following, reference will be made to Fig.14 A memory system according to some example embodiments of the present application is described.

[0126] Fig.14 is a block diagram of a memory system according to some example embodiments of the present application, in which a memory processor of a memory device utilizes a memory controller of a host device. Hereinafter, differences from the above example embodiments will be mainly described.

[0127] A memory system according to some example embodiments of the present application may include a first memory device 1100 and / or a host device 1400 connected through a channel 1500 .

[0128] The first memory device 1100 may include a first memory processor 1104. When the first memory permission control unit 1102 of the first memory device 1100 has the operation permission of the channel 1500, the first memory processor 1104 may control the data flow of other memory devices 200 and / or 300.

[0129] The host device 1400 may include a memory controller 1406. When the host authority control unit 1402 of the host device 1400 does not have the operation authority of the channel 1500, the channel locking unit 404 may set a lock between the core processor 408 and the memory controller 1406. At this time, the memory controller 1406 of the host device 1400 may execute a series of instructions received from the memory processor 1104 of the first memory device 1100. The series of instructions received by the memory controller 1406 from the memory processor 1104 of the first memory device 1100 may include control instructions for controlling the data flow of the second memory device 200 and / or the third memory device 300 connected to the channel 1500. That is, when controlling the data flow of the second memory device 200 and / or the third memory device 300, the first memory processor 1104 of the first memory device 1100 may use the memory controller 1406 of the host device 1400.

[0130] In some example embodiments, the computing processing capability of the memory processor 1104 of the first memory device 1100 may be lower than the computing processing capability of the memory controller 1406 of the host device 1400. For example, if the state of the channel 1500 of the memory system is poor, the analog signal transmitted through the channel 1500 may be degraded. In this case, the task of analyzing and compensating the degraded analog signal may be performed. In this way, the analog signal processing task may require an undesirable large amount of resources. In some example embodiments, the first memory processor 1104 of the first memory device 1100 may have difficulty in performing the processing task of the analog signal. Therefore, by utilizing the resources of the memory controller 1406 of the host device 1400, the first memory processor 1104 can compensate for the low computing processing capability.

[0131] In the following, reference will be made to Fig.15 and Fig.16 Operations of a memory device and a host device in a memory system according to some example embodiments of the present application are described.

[0132] Fig.15 is a flowchart illustrating operations of a memory device and a host device in a memory system according to some example embodiments of the present application. Fig.16 It shows Fig.15 Hereinafter, differences from the above-described exemplary embodiment will be mainly described.

[0133] refer to Fig.15 , a series of instructions may be executed to update the memory address table in the first memory processor (S250). Specifically, for example, referring to Fig.16, the first memory processor 1104 of the first memory device 1100 may execute a series of instructions received from the host device 1400 (S250).

[0134] Next, refer to Fig.15 When executing the instruction of the second memory device, the memory processor may transmit the instruction about the second memory device to the memory controller of the host device (S252). Specifically, for example, referring to Fig.16 , the first memory processor 1104 may send an instruction regarding another memory device (eg, “3. read the second memory device, the third page”) from a series of instructions received from the host device 1400 to the memory controller 1406 of the host device 1400 (S252).

[0135] Next, refer to Fig.15 , the memory controller of the host device may execute the transmitted instruction (S254). Specifically, for example, referring to Fig.16 , the memory controller 1406 of the host device 1400 may execute the received instruction ( S254 ). For example, the memory controller 1406 may read data “K” of the third page of the second device 200 .

[0136] Next, refer to Fig.15 , the memory controller may transmit the result of the instruction execution to the first memory processor. The first memory processor may update the memory address table (S256). Specifically, for example, referring to Fig.16 , the memory controller 1406 of the host device 1400 may transmit the result of the instruction execution (eg, data “K”) to the first memory processor 1104 (S256). The first memory processor 1104 may update the memory address table upon completing the execution of a series of instructions received from the host device 1400.

[0137] In the following, reference will be made to Fig.17 A memory system according to some example embodiments of the present application is described.

[0138] Fig.17 A memory system with two channels according to some example embodiments of the present application is shown. The memory system according to some example embodiments of the present application may include a host device 2400, first to third memory devices 100, 200, and 300 connected to a first channel 500, and / or fourth to sixth memory devices 2100, 2200, and 2300 connected to a second channel 2500.

[0139] The host device 2400 may include a host authority control unit that controls the operation authority of the first channel 500 and / or the operation authority of the second channel 2500. The host authority control unit may include a first host authority control unit 402 for controlling the operation authority of the first channel 500, and / or a second host authority control unit 2402 for controlling the operation authority of the second channel 2500. That is, the host authority control unit of the host device 2400 may be a first host authority control unit 402 and a second host authority control unit 2402 that are separated from each other, or may be a single host authority control unit. The host device 2400 may include: a first channel locking unit 404 for blocking the data flow from the host device 2400 to the first channel 500; and / or a second channel locking unit 2404 for blocking the data flow from the host device 2400 to the second channel 2500. The host device 2400 may include: a first memory controller 406 for controlling the data flow from the first memory device connected to the first channel 500 to the third memory devices 100, 200 and 300; and / or a second memory controller 2406 for controlling the data flow from the first memory device connected to the second channel 2500 to the third memory devices 2100, 2200 and 2300. The host device 2400 may include a core processor 2408. The host device 2400 may include a first cache 410 and / or a first TLB 412 connected to the core processor 2408 and / or the first memory controller 406. In addition, the host device 2400 may include a second cache 2410 and / or a second TLB 2412 connected to the core processor 2408 and / or the second memory controller 2406. The functions of the second cache 2410 and the second TLB 2412 of the host device 2400 may be the same as those of the host device 2400. Figure 1 The functions of the first cache 410 and the first TLB 412 described in are the same.

[0140] The fourth to sixth memory devices 2100, 2200, and 2300 may include fourth to sixth memory authority control units 2102, 2202, and 2302, fourth to sixth memory processors 2104, 2204, and 2304, and / or fourth to sixth memory cell arrays 2106, 2206, and 2306, respectively. The functions of the fourth to sixth memory authority control units 2102, 2202, and 2302, the memory processors 2104, 2204, and 2304, and the memory cell arrays 2106, 2206, and 2306 of the fourth to sixth memory devices 2100, 2200, and 2300 may be the same as those of the present invention. Figure 1The functions of the memory permission control units 102, 202, and 302, the memory processors 104, 204, and 304, and the memory cell arrays 106, 206, and 306 of the first to third memory devices 100, 200, and 300 are the same. For example, the memory permission control units 2102, 2202, and / or 2302 of the fourth to sixth memory devices 2100, 2200, and / or 2300 connected to the second channel 2500 or the second host permission control unit 2402 of the host device 2400 may exclusively have the operation permission of the second channel 2500.

[0141] refer to Fig.17 , the memory system according to some example embodiments of the present application may grant the operation permission of the first channel 500 to, for example, the first memory permission control unit 102 of the first memory device 100. That is, the first memory permission control unit 102 of the first memory device 100 may have the operation permission of the first channel 500, and may directly request data from the memory device 200 connected to the first channel 500. The first channel locking unit 404 of the host device 2400 may be set to lock the data flow from the host device 2400 to the first channel 500. The first memory processor 104 of the first memory device 100 may execute a control instruction for controlling the data flow of the second memory device 200 and / or the third memory device 300 connected to the channel.

[0142] The memory system according to some example embodiments of the present application may grant the operation authority of the second channel 2500 to, for example, the fourth memory device 2100. That is, the memory system may grant the operation authority of the second channel 2500 to the second host authority control unit 2402 of the host device 2400. The second channel locking unit 2404 of the host device 2400 may release the lock for blocking the data flow from the host device 2400 to the second channel 2500. The second memory device 2406 of the host device 2400 may control the data flow of the fourth memory device to the sixth memory devices 2100, 2200, and 2300 connected to the second channel 2500. That is, the fourth memory processor 2104 of the fourth memory device 2100 may not control the data flow of other devices 2200 and / or 2300 connected to the second channel 2500.

[0143] At the end of the specific implementation, those skilled in the art will appreciate that many changes and modifications can be made to the preferred embodiment without departing substantially from the principles of the present disclosure. Therefore, the preferred embodiments of the present disclosure disclosed are only for general and descriptive purposes, not for limiting purposes.

Claims

1. A memory device connected to a channel, include: a memory cell array; as well as A memory processor, the memory processor being configured to: Control the operation permissions of the channel, Control the data flow to multiple other memory devices connected to the channel, executing a series of instructions received from a host device connected to the channel, the series of instructions including control instructions for controlling data flow of the plurality of other memory devices, maintaining a memory address table having data addresses of a memory cell array of each memory device of the plurality of other memory devices, detecting changes made to data addresses of memory cell arrays of the plurality of other memory devices as a result of executing the sequence of instructions, updating the memory address table to an updated memory address table, and When the memory processor sends the operation permission of the channel to the host device, the updated memory address table is sent to the host device.

2. The memory device according to claim 1, in, The memory processor is further configured to revoke operation rights of the channel from a host device and the plurality of other memory devices connected to the channel.

3. The memory device according to claim 1, in, The control instructions for controlling the data flow of the plurality of other memory devices include: reading, writing or erasing data of a memory cell array of at least one memory device among the plurality of other memory devices.

4. The memory device according to claim 1, in, The memory processor is further configured to: determining whether the series of instructions received from the host device includes the control instruction for controlling a data flow of at least one memory device among the plurality of other memory devices, and A channel operation permission request signal is sent to the host device based on the determination.

5. The memory device according to claim 1, in, The memory processor is further configured to: determining whether the memory processor has executed the series of instructions, and The operation permission of the channel is sent to the host device based on the determination. 6 . The memory device according to claim 1 , further comprising an input-output port which inputs or outputs command information, address information, chip selection information, or data information.

7. The memory device according to claim 6, in, The data flows of the multiple other memory devices include: command information, address information, chip selection information or data information output from an input / output port of the memory device and input to at least one memory device among the plurality of other memory devices, or Data information output from at least one memory device among the plurality of other memory devices and input to an input-output port of the memory device.

8. A memory system, include: A host device, connected to a channel and including: Memory address table, and A core processor, wherein the core processor is configured to: Control the operation permissions of the channel, determining when the host device does not have permission to operate the channel, blocking the flow of data from the host device to the channel, and When the host device receives the operation permission of the channel from the memory device connected to the channel, the memory address table is updated.

9. The memory system according to claim 8, in, When the host device has the operation authority of the channel, the plurality of memory devices connected to the channel do not have the operation authority of the channel.

10. The memory system according to claim 8, in, The core processor is also configured to set a lock that prevents data flow from the host device to the channel.

11. The memory system according to claim 10, in, The core processor is also configured to: executing a sequence of instructions directed to at least one memory device of a plurality of memory devices connected to the channel, and Locks are set to control data flow to the plurality of memory devices connected to the channel.

12. The memory system according to claim 11, in, The core processor is further configured to execute a series of instructions received from at least one memory device of the plurality of memory devices when the lock is set.

13. The memory system of claim 12, further comprising a first memory device connected to the channel, and a plurality of memory devices connected to the channel different from the first memory device, in, The series of instructions includes control instructions for controlling data flow of the plurality of memory devices different from the first memory device.

14. The memory system according to claim 8, in, The host device further includes a cache, and the core processor is further configured to clear the cache when the host device does not have the operation authority of the channel.

15. A memory system, include: A host device connected to a first channel and a second channel different from the first channel, the host device comprising a memory address table and a core processor, the core processor being configured to control operation permissions of the first channel and the second channel; a first memory device and a second memory device connected to the first channel; as well as a third memory device connected to the second channel, Wherein, the core processor is further configured as: granting the operation permission of the first channel to the first memory device, and the first memory device directly requests data from the second memory device, not granting the operation permission of the second channel to the third memory device, and When the host device receives the operation permission of the first channel from the first memory device connected to the first channel, the memory address table is updated.

16. The memory system according to claim 15, in, The core processor is further configured to block data flow from the host device to the first channel, and the first memory device further includes a first memory processor configured to execute control instructions for controlling data flow of the second memory device.