[go: up one dir, main page]

CN111274162A - Dual inline memory module arrangement for storage level memory and method for accessing data - Google Patents

Dual inline memory module arrangement for storage level memory and method for accessing data Download PDF

Info

Publication number
CN111274162A
CN111274162A CN202010230102.8A CN202010230102A CN111274162A CN 111274162 A CN111274162 A CN 111274162A CN 202010230102 A CN202010230102 A CN 202010230102A CN 111274162 A CN111274162 A CN 111274162A
Authority
CN
China
Prior art keywords
data
range
memory
sub
host
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010230102.8A
Other languages
Chinese (zh)
Other versions
CN111274162B (en
Inventor
周小锋
左丰国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Unilc Semiconductors Co Ltd
Original Assignee
Xian Unilc Semiconductors Co Ltd
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 Xian Unilc Semiconductors Co Ltd filed Critical Xian Unilc Semiconductors Co Ltd
Priority to CN202010230102.8A priority Critical patent/CN111274162B/en
Publication of CN111274162A publication Critical patent/CN111274162A/en
Application granted granted Critical
Publication of CN111274162B publication Critical patent/CN111274162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0866Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
    • G06F12/0871Allocation or management of cache space

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Dram (AREA)

Abstract

本发明涉及储存级存储器SCM的双列直插式存储模块DIMM装置及访问数据方法。本发明的装置及读写数据方法能够增加装置的内存空间、提高装置的速率性能、降低印刷电路板设计难度且使主机能够以低的开销访问非易失性存储器。

Figure 202010230102

The present invention relates to a dual in-line memory module DIMM device of a storage class memory SCM and a data access method. The device and the method for reading and writing data of the present invention can increase the memory space of the device, improve the speed performance of the device, reduce the design difficulty of the printed circuit board, and enable the host to access the non-volatile memory with low overhead.

Figure 202010230102

Description

储存级存储器的双列直插式存储模块装置及访问数据方法Dual in-line memory module device for storage class memory and data access method

技术领域technical field

本发明涉及存储器领域。更具体地,本发明涉及储存级存储器SCM(Storage ClassMemory)的双列直插式存储模块DIMM(Dual In-line Memory Module)装置及访问数据方法。The present invention relates to the field of memory. More particularly, the present invention relates to a dual in-line memory module DIMM (Dual In-line Memory Module) device of a storage class memory SCM (Storage Class Memory) and a data access method.

背景技术Background technique

储存级存储器SCM的性双列直插式存储模块DIMM是一种新型的双列直插式存储模块,模块上存在可以以储存形式访问的内存空间。The storage class memory SCM's dual in-line memory module DIMM is a new type of dual in-line memory module, and there is memory space on the module that can be accessed in the form of storage.

已知现有技术存在的一种储存级存储器SCM的双列直插式存储模块DIMM中的信号流向及接口示意图如图1所示。在图1中,利用分叉(stub)信号,主机(host)或中央处理单元CPU(Central Processing Unit)能够在正常工作时访问动态随机存取存储器DRAM(Dynamic Random Access Memory)及控制器诸如非易失性控制器NVC(Non-VolatileController),并且经由访问控制器来实现访问非易失性存储器诸如NAND Flash的目的,从而增加了系统的内存空间。A schematic diagram of a signal flow and an interface in a dual in-line memory module DIMM of a known storage-class memory SCM existing in the prior art is shown in FIG. 1 . In FIG. 1, using the stub signal, the host or the central processing unit (CPU) can access the dynamic random access memory DRAM (Dynamic Random Access Memory) and the controller such as non-volatile memory during normal operation. Volatile controller NVC (Non-Volatile Controller), and the purpose of accessing non-volatile memory such as NAND Flash is achieved through the access controller, thereby increasing the memory space of the system.

分叉信号具体表现在如下方面:命令/地址CA(Command/Address)信号从DIMM槽(slot)输出之后存在分叉(stub)信号,该分叉信号分别被连接至寄存器时钟驱动器RCD(Register Clock Driver)和控制器;数据DQ信号在数据缓冲器DB(Data Buffer)和动态随机存储存储器DRAM之间也存在分叉信号。这种分叉信号在印刷电路板实现高速信号时存在很大的难度,原因在于高速信号的反馈会对另一路的信号造成干扰,影响速率性能。The bifurcation signal is embodied in the following aspects: after the command/address CA (Command/Address) signal is output from the DIMM slot (slot), there is a bifurcation (stub) signal, and the bifurcated signal is respectively connected to the register clock driver RCD (Register Clock Driver). Driver) and controller; the data DQ signal also has a bifurcation signal between the data buffer DB (Data Buffer) and the dynamic random access memory DRAM. This kind of bifurcation signal is very difficult to realize high-speed signal on the printed circuit board, because the feedback of the high-speed signal will interfere with the signal of the other channel and affect the rate performance.

已知现有技术中存在的另一种去除分叉信号的技术方案如图2所示。在图2中,命令/地址CA信号以及数据DQ信号都先进入了控制器,省去了图1中所示出的分叉信号。然而,在图2所示的情形中存在如下两个问题:Another known technical solution for removing bifurcated signals existing in the prior art is shown in FIG. 2 . In FIG. 2 , both the command/address CA signal and the data DQ signal enter the controller first, omitting the bifurcation signal shown in FIG. 1 . However, there are two problems in the situation shown in Figure 2:

首先,数据DQ信号经过数据缓冲器DB进行了驱动能力的增强,但是进入到控制器之后在芯片内较难将经驱动增强的信号保持且传送至非易失性存储器诸如NAND Flash。First, the data DQ signal is enhanced with the driving capability through the data buffer DB, but after entering the controller, it is difficult to maintain and transmit the enhanced driving signal to a non-volatile memory such as NAND Flash in the chip.

其次,高速的数据DQ信号在DIMM槽两侧,使得在印刷电路板上布线时,高速的数据DQ信号与控制器之间的连接很难实现等长。然而,高速并行信号不等长导致信号到达目的地时间不一样,也会导致速率性能下降。Secondly, the high-speed data DQ signal is on both sides of the DIMM slot, so that it is difficult to realize the same length of connection between the high-speed data DQ signal and the controller when wiring on the printed circuit board. However, the unequal lengths of high-speed parallel signals cause the signals to arrive at the destination at different times, which will also result in degraded rate performance.

因此,亟需一种能够解决上述问题的储存级存储器SCM的双列直插式存储模块DIMM装置及访问数据方法。Therefore, there is an urgent need for a dual in-line memory module DIMM device and a data access method for the storage class memory SCM capable of solving the above problems.

发明内容SUMMARY OF THE INVENTION

本发明涉及能够增加装置的内存空间、提高装置的速率性能、降低印刷电路板设计难度且使主机能够以低的开销访问非易失性存储器的储存级存储器SCM的双列直插式存储模块DIMM装置及访问数据方法。The present invention relates to a dual in-line memory module DIMM capable of increasing the memory space of a device, improving the speed performance of the device, reducing the difficulty of printed circuit board design, and enabling a host to access a non-volatile memory storage-class memory SCM with low overhead Device and method of accessing data.

根据本发明的第一方面,提供了一种储存级存储器的双列直插式存储模块装置,包括:According to a first aspect of the present invention, there is provided a dual in-line memory module device for storage-level memory, comprising:

第一存储区,所述第一存储区存储具有第一范围主机访问频率的数据;以及a first storage area that stores data having a first range of host access frequencies; and

第二存储区,所述第二存储区存储具有第二范围主机访问频率的数据;a second storage area, the second storage area stores data having a second range of host access frequencies;

其中,所述第一范围主机访问频率大于所述第二范围主机访问频率。Wherein, the access frequency of hosts in the first range is greater than the access frequency of hosts in the second range.

由此,将双列直插式存储模块装置的存储区划分为主机或中央处理单元频繁读写的“热区”(即,第一存储区)和主机或中央处理单元不频繁读写的“冷区”(即,第二存储区),“热区”的处理速度相对较快,“冷区”的处理速度相对较慢。这样,可以提高模块装置的速率性能。Thus, the storage area of the dual in-line storage module device is divided into a "hot area" (ie, the first storage area) that is frequently read and written by the host or the central processing unit and a "hot area" that is not frequently read and written by the host or the central processing unit. The "cold zone" (ie, the second storage zone), the "hot zone" has a relatively fast processing speed, and the "cold zone" has a relatively slow processing speed. In this way, the rate performance of the module device can be improved.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述具有第二范围主机访问频率的数据间接地经由所述第一存储区而被存储在所述第二存储区中。According to a preferred embodiment of the storage class memory dual inline memory module device of the present invention, the data having the second range of host access frequencies is indirectly stored in the second storage area via the first storage area. in the storage area.

由此,本发明明确了访问“冷区”(即,第二存储区)的方法,即,需要经由“热区”(即,第一存储区)来访问“冷区”,通过访问“冷区”来增加装置的内存空间。Thus, the present invention clarifies the method of accessing the "cold area" (ie, the second storage area), that is, the "cold area" needs to be accessed via the "hot area" (ie, the first storage area), by accessing the "cold area" area" to increase the memory space of the device.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述第一存储区中包括用于具有第二范围主机访问频率的数据的一预定大小的存储空间。According to a preferred embodiment of the dual in-line memory module device of the storage class memory of the present invention, the first storage area includes a storage space of a predetermined size for data having a second range of host access frequencies.

优选地,这些存储空间的大小各自都大于64KB。开辟这些存储空间的大小时,需要考虑的因素为诸如主机访问动态随机存取存储器DRAM的数据速率、控制器访问动态随机存取存储器DRAM的数据速率以及控制器访问非易失性存储器诸如NAND Flash的数据速率等。Preferably, the sizes of these storage spaces are each greater than 64KB. Factors that need to be considered when sizing these storage spaces are the data rate at which the host accesses DRAM, the data rate at which the controller accesses DRAM, and the controller accesses non-volatile memory such as NAND Flash. data rate, etc.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述第二存储区包括多个子存储区,所述多个子存储区各自存储具有不同范围的主机访问频率的数据。According to a preferred embodiment of the dual in-line memory module device of the storage-class memory of the present invention, the second storage area includes a plurality of sub-storage areas, each of the plurality of sub-storage areas stores data having different ranges of host access frequencies. data.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述第二存储区包括两个子存储区,所述两个子存储区为:According to a preferred embodiment of the dual in-line memory module device of the storage-level memory of the present invention, the second storage area includes two sub-storage areas, and the two sub-storage areas are:

第一子存储区,所述第一子存储区存储具有第一子范围主机访问频率的数据;a first sub-storage area, the first sub-storage area stores data with a first sub-range of host access frequencies;

第二子存储区,所述第二子存储区存储具有第二子范围主机访问频率的数据;a second sub-storage area, the second sub-storage area stores data with a second sub-range of host access frequencies;

其中,所述第一子范围主机访问频率大于所述第二子范围主机访问频率。Wherein, the access frequency of hosts in the first sub-range is greater than the access frequency of hosts in the second sub-range.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述第一存储区为多个动态随机存取存储器。According to a preferred embodiment of the dual in-line memory module device of the storage class memory of the present invention, the first storage area is a plurality of dynamic random access memories.

由于动态随机存取存储器的处理速度相对较快,通过将主机或中央处理单元频繁读写的数据存储在动态随机存取存储器,可以提高模块装置的速率性能。Since the processing speed of the dynamic random access memory is relatively fast, by storing the data frequently read and written by the host or the central processing unit in the dynamic random access memory, the rate performance of the module device can be improved.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述第一子存储区为动态随机存取存储器缓存模块;以及所述第二子存储区为非易失性存储器。According to a preferred embodiment of the dual in-line memory module device of the storage class memory of the present invention, the first sub-storage area is a dynamic random access memory cache module; and the second sub-storage area is a non-volatile memory area Sexual memory.

由此,将“冷数据”中具有相对高的主机访问频率的数据写入至动态随机存取存储器缓存模块中,以及将“冷数据”中具有相对低的主机访问频率的数据写入至非易失性存储器中。这样,进一步提高该装置的速率性能,且避免频繁访问非易失性存储器,从而避免对非易失性存储器造成损坏。As a result, data in the "cold data" with a relatively high host access frequency is written to the DRAM cache module, and data in the "cold data" with a relatively low host access frequency is written to the non- in volatile memory. In this way, the speed performance of the device is further improved, and frequent access to the non-volatile memory is avoided, thereby avoiding damage to the non-volatile memory.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,进一步包括:A preferred embodiment of the dual in-line memory module device for storage-level memory according to the present invention further comprises:

控制器,所述控制器与所述动态随机存取存储器缓存模块和所述非易失性存储器分别连接。and a controller, which is respectively connected with the dynamic random access memory cache module and the non-volatile memory.

根据本发明的储存级存储器的双列直插式存储模块装置,进一步包括:The dual in-line memory module device for storage-level memory according to the present invention further comprises:

时钟驱动器,与所述控制器连接。a clock driver, connected with the controller.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,响应于主机将具有第二范围的主机访问频率的数据写入至所述多个动态随机存取存储器中的一个或多个,且响应于所述控制器接收到主机经由系统管理总线所通知的具有第二范围的主机访问频率的数据的地址,所述控制器发送获取数据命令至所述多个数据缓冲器中的一个或多个,以命令所述多个数据缓冲器中的一个或多个从所述多个动态随机存取存储器中的一个或多个获取所述具有第二范围的主机访问频率的数据且将所述具有第二范围的主机访问频率的数据发送至所述控制器;以及,According to a preferred embodiment of the storage class memory dual inline memory module device of the present invention, in response to a host writing data having a second range of host access frequencies into the plurality of dynamic random access memories one or more, and in response to the controller receiving the address of the data with the host access frequency of the second range notified by the host via the system management bus, the controller sends a get data command to the plurality of data buffers one or more of the plurality of data buffers to command one or more of the plurality of data buffers to obtain the host access frequency having the second range from one or more of the plurality of dynamic random access memories and sending the data having the second range of host access frequencies to the controller; and,

响应于接收到所述具有第二范围的主机访问频率的数据,所述控制器将所述具有第二范围的主机访问频率的数据写入至所述动态随机存取存储器缓存模块或所述非易失性存储器中。In response to receiving the data having the second range of host access frequencies, the controller writes the data having the second range of host access frequencies to the DRAM cache module or the non-volatile memory cache module. in volatile memory.

由此,主机能够在正常工作时访问控制器,且通过将具有第二范围的主机访问频率的数据写入控制器,增加装置的内存空间。另外,将主机不频繁访问的数据(即,冷数据)写入至所述动态随机存取存储器缓存模块或所述非易失性存储器,能够提高该装置的速率性能。Thereby, the host can access the controller during normal operation, and by writing data having the second range of host access frequency into the controller, the memory space of the device is increased. In addition, writing data that is not frequently accessed by the host (ie, cold data) into the DRAM cache module or the non-volatile memory can improve the rate performance of the device.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述时钟驱动器经由本地命令总线与所述控制器连接;所述时钟驱动器经由数据缓冲器命令总线与所述多个数据缓冲器中的每一个连接;以及所述多个数据缓冲器各自经由本地数据总线与所述控制器连接。According to a preferred embodiment of the storage-level memory dual-in-line memory module device of the present invention, the clock driver is connected to the controller via a local command bus; the clock driver is connected to the controller via a data buffer command bus each of a plurality of data buffers is connected; and each of the plurality of data buffers is connected to the controller via a local data bus.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述控制器经由所述本地命令总线以及所述数据缓冲器命令总线而发送所述获取数据命令至所述多个数据缓冲器中的一个或多个。According to a preferred embodiment of the storage class memory dual inline memory module device of the present invention, the controller sends the get data command to the fetch data command via the local command bus and the data buffer command bus One or more of multiple data buffers.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述多个数据缓冲器中的一个或多个经由所述本地数据总线将所述具有第二范围的主机访问频率的数据发送至所述控制器。According to a preferred embodiment of the storage class memory dual inline memory module device of the present invention, one or more of the plurality of data buffers connect the host having the second range to the host via the local data bus The data of the access frequency is sent to the controller.

由此,降低了该装置的印刷电路板设计难度。同时,采用缓存平衡非易失性存储器和内存之间的速率差,使得主机能够以低的开销稳定地访问非易失性存储器。Thus, the difficulty of designing the printed circuit board of the device is reduced. At the same time, the cache is used to balance the speed difference between the non-volatile memory and the memory, so that the host can stably access the non-volatile memory with low overhead.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述控制器将具有所述第一子范围的主机访问频率的数据写入至所述动态随机存取存储器缓存模块中;以及所述控制器将具有所述第二子范围的主机访问频率的数据写入至所述非易失性存储器中。According to a preferred embodiment of the storage class memory dual inline memory module device of the present invention, the controller writes data having the host access frequency of the first sub-range to the dynamic random access memory in the cache module; and the controller writes data having the host access frequency of the second sub-range into the non-volatile memory.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述主机经由所述多个数据缓冲器中的一个或多个直接将数据写入至所述多个动态随机存取存储器中的一个或多个。According to a preferred embodiment of the storage class memory dual in-line memory module device of the present invention, the host directly writes data to the plurality of dynamic data buffers via one or more of the plurality of data buffers one or more of random access memories.

由此,能够避免主机和控制器同时连接高速信号,从而不会为印刷电路板设计带来困难。Therefore, it is possible to prevent the host computer and the controller from connecting high-speed signals at the same time, so as not to cause difficulties in the design of the printed circuit board.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,响应于接收到主机经由系统管理总线所通知的具有第二范围的主机访问频率的数据的地址,所述控制器从所述动态随机存取存储器缓存模块或所述非易失性存储器中读取所述具有第二范围的主机访问频率的数据且发送写入数据命令至所述多个数据缓冲器中的一个或多个,以命令所述多个数据缓冲器中的一个或多个从所述控制器获取所述具有第二范围的主机访问频率的数据且之后将所述具有第二范围的主机访问频率的数据写入至所述多个动态随机存取存储器中的一个或多个中;以及,According to a preferred embodiment of the storage class memory dual inline memory module device of the present invention, in response to receiving the address of the data with the host access frequency of the second range notified by the host via the system management bus, the control A processor reads the data having the host access frequency of the second range from the DRAM cache module or the non-volatile memory and sends a write data command to the data buffers in the plurality of data buffers. one or more to command one or more of the plurality of data buffers to obtain data from the controller with the host access frequency of the second range and then access the host with the second range frequency data is written into one or more of the plurality of dynamic random access memories; and,

所述主机从所述多个动态随机存取存储器中的一个或多个中读数据。The host reads data from one or more of the plurality of dynamic random access memories.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述时钟驱动器经由本地命令总线与所述控制器连接;所述时钟驱动器经由数据缓冲器命令总线与所述多个数据缓冲器中的每一个连接;以及所述多个数据缓冲器各自经由本地数据总线与所述控制器连接。According to a preferred embodiment of the storage-level memory dual-in-line memory module device of the present invention, the clock driver is connected to the controller via a local command bus; the clock driver is connected to the controller via a data buffer command bus each of a plurality of data buffers is connected; and each of the plurality of data buffers is connected to the controller via a local data bus.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述控制器经由所述本地命令总线以及所述数据缓冲器命令总线而发送写入数据命令至所述多个数据缓冲器中的一个或多个。According to a preferred embodiment of the storage class memory dual inline memory module device of the present invention, the controller sends a write data command to the multiplexer via the local command bus and the data buffer command bus one or more of the data buffers.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述多个数据缓冲器中的一个或多个经由所述本地数据总线而从所述控制器获取所述具有第一范围的主机访问频率的数据。According to a preferred embodiment of the storage class memory dual in-line memory module device of the present invention, one or more of the plurality of data buffers are obtained from the controller via the local data bus Data with a first range of host access frequencies.

由此,降低了该装置的印刷电路板设计难度。同时,采用缓存平衡非易失性存储器和内存之间的速率差,使得主机能够以低的开销稳定地访问非易失性存储器。Thus, the difficulty of designing the printed circuit board of the device is reduced. At the same time, the cache is used to balance the speed difference between the non-volatile memory and the memory, so that the host can stably access the non-volatile memory with low overhead.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述控制器从所述动态随机存取存储器缓存模块中读取所述具有第一子范围的主机访问频率的数据;以及所述控制器从所述非易失性存储器中读取所述具有第二子范围的主机访问频率的数据。According to a preferred embodiment of the dual inline memory module device of the storage class memory of the present invention, the controller reads the host access frequency having the first sub-range from the dynamic random access memory cache module and the controller reads the data of the host access frequency having the second sub-range from the non-volatile memory.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述主机经由所述多个数据缓冲器中的一个或多个直接从所述多个动态随机存取存储器的一个或多个中读数据。According to a preferred embodiment of the storage class memory dual inline memory module device of the present invention, the host directly accesses the plurality of DRAMs via one or more of the plurality of data buffers One or more of the read data.

由此,能够避免主机和控制器同时连接高速信号,从而不会为印刷电路板设计带来困难。Therefore, it is possible to prevent the host computer and the controller from connecting high-speed signals at the same time, so as not to cause difficulties in the design of the printed circuit board.

根据本发明的储存级存储器的双列直插式存储模块装置的一个优选实施方案,所述多个动态随机存取存储器与所述多个数据缓冲器之间的印刷电路板的布线是相等长度的。According to a preferred embodiment of the dual in-line memory module device of the storage class memory of the present invention, the wiring of the printed circuit board between the plurality of dynamic random access memories and the plurality of data buffers is of equal length of.

由此,不会导致信号到达目的地时间不一样,进一步提高速率性能。As a result, the arrival time of the signal at the destination will not be different, and the rate performance is further improved.

根据本发明的第二方面,提供了一种用于储存级存储器的双列直插式存储模块装置的访问数据方法,所述双列直插式存储模块装置包括第一存储区和第二存储区;According to a second aspect of the present invention, there is provided a data access method for a dual in-line memory module device for storage class memory, the dual in-line memory module device including a first storage area and a second storage area Area;

所述访问数据方法包括:The method for accessing data includes:

将具有第一范围主机访问频率的数据存储在第一存储区;以及storing data having a first range of host access frequencies in the first storage area; and

将具有第二范围主机访问频率的数据存储在第二存储区;storing data with a second range of host access frequencies in the second storage area;

其中,所述第一范围主机访问频率大于所述第二范围主机访问频率。Wherein, the access frequency of hosts in the first range is greater than the access frequency of hosts in the second range.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

将所述具有第二范围主机访问频率的数据间接地经由所述第一存储区存储在所述第二存储区中。The data having the second range of host access frequencies is indirectly stored in the second storage area via the first storage area.

根据本发明的访问数据方法的一个优选实施方案,所述第一存储区中包括用于具有第二范围主机访问频率的数据的一预定大小的存储空间。According to a preferred embodiment of the method for accessing data of the present invention, the first storage area includes a storage space of a predetermined size for data having a host access frequency of a second range.

根据本发明的访问数据方法的一个优选实施方案,所述第二存储区包括多个子存储区;According to a preferred embodiment of the data access method of the present invention, the second storage area includes a plurality of sub-storage areas;

所述访问数据方法进一步包括:The method for accessing data further includes:

将具有不同范围的主机访问频率的数据各自存储在所述多个子存储区。Data having different ranges of host access frequencies are each stored in the plurality of sub-storage areas.

根据本发明的访问数据方法的一个优选实施方案,所述第二存储区包括两个子存储区,所述两个子存储区为第一子存储区和第二存储区;According to a preferred embodiment of the data access method of the present invention, the second storage area includes two sub-storage areas, and the two sub-storage areas are a first sub-storage area and a second storage area;

所述访问数据方法进一步包括:The method for accessing data further includes:

将具有第一子范围主机访问频率的数据存储在所述第一子存储区中;以及storing data with a first sub-range of host access frequencies in the first sub-storage area; and

将具有第二子范围主机访问频率的数据存储在所述第二子存储区中;storing data with a second sub-range of host access frequencies in the second sub-storage area;

其中,所述第一子范围主机访问频率大于所述第二子范围主机访问频率。Wherein, the access frequency of hosts in the first sub-range is greater than the access frequency of hosts in the second sub-range.

根据本发明的访问数据方法的一个优选实施方案,所述第一存储区为多个动态随机存取存储器。According to a preferred embodiment of the data access method of the present invention, the first storage area is a plurality of dynamic random access memories.

根据本发明的访问数据方法的一个优选实施方案,所述第一子存储区为动态随机存取存储器缓存模块;以及所述第二子存储区为非易失性存储器。According to a preferred embodiment of the data access method of the present invention, the first sub-storage area is a dynamic random access memory cache module; and the second sub-storage area is a non-volatile memory.

根据本发明的访问数据方法的一个优选实施方案,所述双列直插式存储模块装置还包括控制器;According to a preferred embodiment of the data access method of the present invention, the dual in-line storage module device further includes a controller;

所述访问数据方法进一步包括:The method for accessing data further includes:

将所述控制器与所述动态随机存取存储器缓存模块和所述非易失性存储器分别连接。The controller is connected to the dynamic random access memory cache module and the non-volatile memory, respectively.

根据本发明的访问数据方法的一个优选实施方案,所述双列直插式存储模块装置还包括时钟驱动器;According to a preferred embodiment of the data access method of the present invention, the dual in-line memory module device further includes a clock driver;

所述访问数据方法进一步包括:The method for accessing data further includes:

将所述时钟驱动器与所述控制器连接。Connect the clock driver to the controller.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

响应于主机将具有第二范围的主机访问频率的数据写入至所述多个动态随机存取存储器中的一个或多个,且响应于所述控制器经由系统管理总线接收到主机所通知的具有第二范围的主机访问频率的数据的地址,所述控制器发送获取数据命令至所述多个数据缓冲器中的一个或多个,以命令所述多个数据缓冲器中的一个或多个从所述动态随机存取存储器中的一个或多个获取所述具有第二范围的主机访问频率的数据且将所述具有第二范围的主机访问频率的数据发送至所述控制器;以及in response to the host writing data having a second range of host access frequencies to one or more of the plurality of dynamic random access memories, and in response to the controller receiving a notification from the host via the system management bus an address of data having a second range of host access frequencies, the controller sending a get data command to one or more of the plurality of data buffers to command one or more of the plurality of data buffers obtaining the data having the second range of host access frequencies from one or more of the dynamic random access memories and sending the data having the second range of host access frequencies to the controller; and

响应于接收到所述具有第二范围的主机访问频率的数据,所述控制器将所述具有第二范围的主机访问频率的数据写入至所述动态随机存取存储器缓存模块或所述非易失性存储器中。In response to receiving the data having the second range of host access frequencies, the controller writes the data having the second range of host access frequencies to the DRAM cache module or the non-volatile memory cache module. in volatile memory.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述时钟驱动器经由本地命令总线与所述控制器连接;the clock driver is connected to the controller via a local command bus;

所述时钟驱动器经由数据缓冲器命令总线与所述多个数据缓冲器中的每一个连接;以及the clock driver is connected to each of the plurality of data buffers via a data buffer command bus; and

所述多个数据缓冲器各自经由本地数据总线与所述控制器连接。The plurality of data buffers are each connected to the controller via a local data bus.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述控制器经由所述本地命令总线以及所述数据缓冲器命令总线而发送所述获取数据命令至所述多个数据缓冲器中的一个或多个。The controller sends the get data command to one or more of the plurality of data buffers via the local command bus and the data buffer command bus.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述多个数据缓冲器中的一个或多个经由所述本地数据总线将所述具有第二范围的主机访问频率的数据发送至所述控制器。One or more of the plurality of data buffers transmit the data having the second range of host access frequencies to the controller via the local data bus.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述控制器将具有所述第一子范围的主机访问频率的数据写入至所述动态随机存取存储器缓存模块中;以及the controller writes data having the first sub-range of host access frequencies into the DRAM cache module; and

所述控制器将具有所述第二子范围的主机访问频率的数据写入至所述非易失性存储器中。The controller writes data having the host access frequency of the second sub-range into the non-volatile memory.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述主机经由所述多个数据缓冲器中的一个或多个直接将数据写入至所述多个动态随机存取存储器中的一个或多个。The host directly writes data to one or more of the plurality of dynamic random access memories via one or more of the plurality of data buffers.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

响应于接收到主机经由系统管理总线所通知的具有第二范围的主机访问频率的数据的地址,所述控制器从所述动态随机存取存储器缓存模块或所述非易失性存储器中读取所述具有第二范围的主机访问频率的数据且发送写入数据命令至所述多个数据缓冲器中的一个或多个,以命令所述多个数据缓冲器中的一个或多个从所述控制器获取所述具有第二范围的主机访问频率的数据且之后将所述具有第二范围的主机访问频率的数据写入至所述多个动态随机存取存储器的一个或多个中;以及The controller reads from the dynamic random access memory cache module or the non-volatile memory in response to receiving an address of data having a second range of host access frequencies notified by the host via the system management bus The host accesses data with the second range of frequencies and sends a write data command to one or more of the plurality of data buffers to command one or more of the plurality of data buffers to the controller obtains the data having the second range of host access frequencies and then writes the data having the second range of host access frequencies into one or more of the plurality of dynamic random access memories; as well as

所述主机从所述多个动态随机存取存储器中的一个或多个中读数据。The host reads data from one or more of the plurality of dynamic random access memories.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述时钟驱动器经由本地命令总线与所述控制器连接;the clock driver is connected to the controller via a local command bus;

所述时钟驱动器经由数据缓冲器命令总线与所述多个数据缓冲器中的每一个连接;以及the clock driver is connected to each of the plurality of data buffers via a data buffer command bus; and

所述多个数据缓冲器各自经由本地数据总线与所述控制器连接。The plurality of data buffers are each connected to the controller via a local data bus.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述控制器经由所述本地命令总线以及所述数据缓冲器命令总线而发送写入数据命令至所述多个数据缓冲器中的一个或多个。The controller sends a write data command to one or more of the plurality of data buffers via the local command bus and the data buffer command bus.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述多个数据缓冲器中的一个或多个经由所述本地数据总线而从所述控制器获取所述具有第一范围的主机访问频率的数据。One or more of the plurality of data buffers obtain the data having the first range of host access frequencies from the controller via the local data bus.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述控制器从所述动态随机存取存储器缓存模块中读取所述具有第一子范围的主机访问频率的数据;以及the controller reads the data having the host access frequency of the first sub-range from the DRAM cache module; and

所述控制器从所述非易失性存储器中读取所述具有第二子范围的主机访问频率的数据。The controller reads the data having the host access frequency of the second sub-range from the non-volatile memory.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

所述主机经由所述多个数据缓冲器中的一个或多个直接从所述多个动态随机存取存储器的一个或多个中读数据。The host directly reads data from one or more of the plurality of dynamic random access memories via one or more of the plurality of data buffers.

根据本发明的访问数据方法的一个优选实施方案,所述访问数据方法进一步包括:According to a preferred embodiment of the method for accessing data of the present invention, the method for accessing data further comprises:

将所述多个动态随机存取存储器与所述多个数据缓冲器之间的印刷电路板的布线设置成是相等长度的。The wirings of the printed circuit board between the plurality of dynamic random access memories and the plurality of data buffers are arranged to be of equal length.

本领域技术人员应理解,根据本发明的第二方面能够实现如关于本发明的第一方面所记载的技术效果。It should be understood by those skilled in the art that the technical effects as recited in relation to the first aspect of the present invention can be achieved according to the second aspect of the present invention.

附图说明Description of drawings

通过下文结合对附图的说明,将更容易理解本发明,其中:The present invention will be more readily understood from the following description in conjunction with the accompanying drawings, in which:

图1为现有技术中的一种储存级存储器SCM的双列直插式存储模块DIMM中的信号流向及接口示意图。FIG. 1 is a schematic diagram of a signal flow and an interface in a dual in-line memory module DIMM of a storage class memory SCM in the prior art.

图2为现有技术中的另一种储存级存储器SCM的双列直插式存储模块DIMM中的信号流向及接口示意图。FIG. 2 is a schematic diagram of signal flow and interfaces in a dual in-line memory module DIMM, another storage class memory SCM in the prior art.

图3为根据本发明的一个实施方案的储存级存储器SCM的双列直插式存储模块DIMM中的构造。3 is a configuration in a dual in-line memory module DIMM of a storage class memory SCM according to one embodiment of the present invention.

具体实施方式Detailed ways

下面将结合附图来对本发明的实施方案进行进一步详述。The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.

图3为根据本发明的一个实施方案的储存级存储器SCM的双列直插式存储模块DIMM中的构造。3 is a configuration in a dual in-line memory module DIMM of a storage class memory SCM according to one embodiment of the present invention.

在图3的构造中,主机能够在正常工作时访问动态随机存取存储器DRAM 301及控制器304,且经由访问控制器304来实现访问非易失性存储器诸如NAND Flash 302的目的,从而增加系统的内存空间。In the configuration of FIG. 3, the host can access the dynamic random access memory DRAM 301 and the controller 304 during normal operation, and access the non-volatile memory such as NAND Flash 302 through the access controller 304, thereby increasing the system memory space.

相比于图2,在图3的构造中,分别使用时钟驱动器RCD 305和数据缓冲器DB 306来提高数据DQ信号和命令/地址CA信号的驱动能力。此外,主机经由数据缓冲器DB 306直接将数据写入至动态随机存取存储器DRAM 301中,避免主机和控制器304同时连接高速信号,不会为印刷电路板设计带来困难。另外,数据缓冲器DB 306与所述动态随机存取存储器DRAM301之间的印刷电路板的布线也是等长的,不会导致信号到达目的地时间不一样,进一步提高速率性能。Compared to FIG. 2, in the configuration of FIG. 3, the clock driver RCD 305 and the data buffer DB 306 are used to improve the driving capability of the data DQ signal and the command/address CA signal, respectively. In addition, the host directly writes data into the dynamic random access memory DRAM 301 via the data buffer DB 306, so as to prevent the host and the controller 304 from connecting high-speed signals at the same time, and will not bring difficulties to the design of the printed circuit board. In addition, the wiring of the printed circuit board between the data buffer DB 306 and the dynamic random access memory DRAM 301 is also of the same length, which will not cause the signals to arrive at the destination at different times, thereby further improving the rate performance.

此外,当主机需要访问非易失性存储器诸如NAND Flash 302时,经由系统管理总线SMBus通知控制器304其要访问非易失性存储器诸如NAND Flash 302的地址段;控制器304将该装置上的动态随机存取存储器DRAM 301的一部分空间作为缓冲器来实现主机对非易失性存储器诸如NAND Flash 302的访问。In addition, when the host needs to access non-volatile memory such as NAND Flash 302, it notifies the controller 304 via the system management bus SMBus that it wants to access the address segment of the non-volatile memory such as NAND Flash 302; A portion of the dynamic random access memory DRAM 301 is used as a buffer to enable host access to non-volatile memory such as NAND Flash 302 .

由此,降低了系统印刷电路板设计难度,同时采用缓存平衡非易失性存储器和内存之间的速率差,使得主机能够以低的开销稳定地访问非易失性存储器。Therefore, the design difficulty of the system printed circuit board is reduced, and the speed difference between the non-volatile memory and the memory is balanced by the cache, so that the host can stably access the non-volatile memory with low overhead.

下面进一步详述图3的构造。The configuration of FIG. 3 is described in further detail below.

如图3中所示,储存级存储器SCM的双列直插式存储模块DIMM包括多个动态随机存取存储器DRAM 301、非易失性存储器诸如NAND Flash 302以及动态随机存取存储器DRAM缓存(Cache)模块303。As shown in FIG. 3, the dual in-line memory module DIMM of the storage class memory SCM includes a plurality of dynamic random access memory DRAM 301, non-volatile memory such as NAND Flash 302, and dynamic random access memory DRAM cache (Cache) ) module 303.

在本发明中,动态随机存取存储器DRAM 301中最终存储有“热数据”,而非易失性存储器诸如NAND Flash 302和动态随机存取存储器DRAM缓存模块303存储有“冷数据”,且动态随机存取存储器DRAM缓存模块303中存储有“冷数据”中具有相对高的主机访问频率的数据,以及非易失性存储器诸如NAND Flash 302中存储有“冷数据”中具有相对低的主机访问频率的数据。In the present invention, "hot data" is finally stored in the dynamic random access memory DRAM 301, while "cold data" is stored in the non-volatile memory such as NAND Flash 302 and the dynamic random access memory DRAM cache module 303, and dynamic Random access memory DRAM cache module 303 stores data with relatively high host access frequency in "cold data", and non-volatile memory such as NAND Flash 302 stores "cold data" with relatively low host access frequency frequency data.

在本发明中,“热数据”指的是主机或中央处理单元频繁访问的数据,“冷数据”指的是主机或中央处理单元不频繁访问的数据。In the present invention, "hot data" refers to data frequently accessed by a host or central processing unit, and "cold data" refers to data that is not frequently accessed by a host or central processing unit.

在“热数据”与“冷数据”的定义中,是否频繁访问是根据具体情形来界定的,并没有具体值来界定。In the definition of "hot data" and "cold data", frequent access is defined according to specific situations, and there is no specific value to define.

如本发明中所述的配置能够提高该装置的速率性能,且避免频繁访问非易失性存储器,从而避免对非易失性存储器造成损坏。The configuration as described in the present invention can improve the speed performance of the device and avoid frequent access to the non-volatile memory, thereby avoiding damage to the non-volatile memory.

如图3中进一步示出的,储存级存储器SCM的双列直插式存储模块DIMM包括控制器304、时钟驱动器RCD 305以及多个数据缓冲器DB 306。所述时钟驱动器RCD 305经由本地命令总线LCOM与所述控制器304连接,所述时钟驱动器RCD 305经由数据缓冲器命令总线BCOM与所述多个数据缓冲器DB 306中的每一个连接,所述数据缓冲器DB 306各自经由本地数据总线LDQ与所述控制器304连接。As further shown in FIG. 3 , the dual in-line memory module DIMM of the storage class memory SCM includes a controller 304 , a clock driver RCD 305 and a plurality of data buffers DB 306 . The clock driver RCD 305 is connected to the controller 304 via a local command bus LCOM, the clock driver RCD 305 is connected to each of the plurality of data buffers DB 306 via a data buffer command bus BCOM, the The data buffers DB 306 are each connected to the controller 304 via a local data bus LDQ.

下面结合主机向控制器304或动态随机存取存储器DRAM缓存模块303中写数据以及读数据的过程来进一步理解图3中的构造。The structure in FIG. 3 is further understood below in conjunction with the process of writing and reading data from the host to the controller 304 or the dynamic random access memory DRAM cache module 303 .

当主机向非易失性存储器诸如NAND Flash 302或动态随机存取存储器DRAM缓存模块303中写数据时,主机首先将数据写入至多个动态随机存取存储器DRAM 301中的一个或多个中。在本发明的方法中,由于此“数据”最终会被写入至非易失性存储器诸如NANDFlash 302或动态随机存取存储器DRAM缓存模块303中,所以此“数据”指的是“冷数据”。When the host writes data to non-volatile memory such as NAND Flash 302 or DRAM cache module 303 , the host first writes the data to one or more of the plurality of dynamic random access memory DRAMs 301 . In the method of the present invention, this "data" refers to "cold data" since this "data" will eventually be written to a non-volatile memory such as NANDFlash 302 or a dynamic random access memory DRAM cache module 303 .

应理解,主机可以向动态随机存取存储器DRAM 301中写入热数据和冷数据,热数据最终存储在动态随机存取存储器DRAM 301中,而冷数据最终被存储在非易失性存储器诸如NAND Flash 302或动态随机存取存储器DRAM缓存模块303中。在本发明中,在多个动态随机存取存储器DRAM 301中的每一个中,都存在预留的且具有固定空间大小的用于缓存冷数据的缓存区。It should be understood that the host can write hot and cold data into the dynamic random access memory DRAM 301, the hot data is ultimately stored in the dynamic random access memory DRAM 301, and the cold data is finally stored in a non-volatile memory such as NAND Flash 302 or dynamic random access memory DRAM cache module 303 . In the present invention, in each of the plurality of dynamic random access memory DRAMs 301, there is a buffer area reserved for caching cold data with a fixed space size.

优选地,这些缓存区的空间大小各自都大于64KB。开辟这些缓存区的空间大小时,需要考虑的因素为诸如主机访问动态随机存取存储器DRAM的数据速率、控制器304访问动态随机存取存储器DRAM的数据速率以及控制器304访问非易失性存储器诸如NAND Flash302的数据速率等。Preferably, the space sizes of these buffer areas are each greater than 64KB. Factors such as the data rate at which the host accesses the dynamic random access memory DRAM, the data rate at which the controller 304 accesses the dynamic random access memory DRAM, and the controller 304 accesses to the non-volatile memory, need to be considered when opening up the size of these buffer areas. Such as the data rate of NAND Flash 302, etc.

在主机将冷数据写入至多个动态随机存取存储器DRAM 301中的一个或多个中后,控制器304从多个动态随机存取存储器DRAM 301中的一个或多个中获取“冷数据”且根据缓存算法将这些“冷数据”写入至非易失性存储器诸如NAND Flash 302以及动态随机存取存储器DRAM缓存模块303中。After the host writes the cold data into one or more of the plurality of dynamic random access memory DRAMs 301 , the controller 304 retrieves the "cold data" from one or more of the plurality of dynamic random access memory DRAMs 301 And these "cold data" are written into non-volatile memory such as NAND Flash 302 and dynamic random access memory DRAM cache module 303 according to the cache algorithm.

在本发明中,主机能够直接经由多个数据缓冲器DB 306中的一个或多个将数据写入至多个动态随机存取存储器DRAM 301中的一个或多个中,此时主机具有多个动态随机存取存储器DRAM 301的操作控制权。In the present invention, the host can directly write data into one or more of the plurality of dynamic random access memories 301 via one or more of the plurality of data buffers DB 306, when the host has a plurality of dynamic random access memories 301 Operation control of the random access memory DRAM 301 .

然后,主机经由系统管理总线SMBus通知控制器304具有第二范围的主机访问频率的数据(即,主机不频繁访问的“冷数据”)的地址,所述控制器304将动态随机存取存储器DRAM 301的操作控制权从主机切换过来。之后,所述控制器304经由所述时钟驱动器RCD305与所述控制器304之间的所述本地命令总线LCOM以及所述时钟驱动器RCD 305与所述多个数据缓冲器DB 306中的每一个之间的所述数据缓冲器命令总线BCOM而发送所述获取数据命令至所述多个数据缓冲器DB 306中的一个或多个,以命令所述多个数据缓冲器DB 306中的一个或多个从所述多个动态随机存取存储器DRAM 301中的一个或多个获取所述“冷数据”且经由所述本地数据总线LDQ将所述“冷数据”发送至所述控制器304。最后,所述控制器304根据缓存算法将所述“冷数据”写入至所述动态随机存取存储器DRAM缓存模块303或所述非易失性存储器诸如NAND Flash 302中。The host then informs the controller 304 via the system management bus SMBus of the address of the data with the second range of host access frequencies (ie, "cold data" that the host does not frequently access), which controller 304 sends the dynamic random access memory DRAM The operation control of 301 is switched from the host. Then, the controller 304 communicates between the clock driver RCD 305 and each of the plurality of data buffers DB 306 via the local command bus LCOM between the clock driver RCD 305 and the controller 304 sending the get data command to one or more of the plurality of data buffer DBs 306 to command one or more of the plurality of data buffer DBs 306 Each obtains the "cold data" from one or more of the plurality of dynamic random access memory DRAMs 301 and sends the "cold data" to the controller 304 via the local data bus LDQ. Finally, the controller 304 writes the "cold data" into the dynamic random access memory DRAM cache module 303 or the non-volatile memory such as NAND Flash 302 according to a cache algorithm.

所述缓存算法的总体思路是:将“冷数据”中具有第一子范围的主机访问频率(即,相对高的主机访问频率)的数据写入至动态随机存取存储器缓存模块303中;以及,将“冷数据”中具有第二子范围的主机访问频率(即,相对低的主机访问频率)的数据写入至非易失性存储器302中。The general idea of the caching algorithm is: write data with a first sub-range of host access frequency (ie, a relatively high host access frequency) in the "cold data" into the DRAM cache module 303; and , data in the "cold data" having a host access frequency of the second sub-range (ie, a relatively low host access frequency) is written into the non-volatile memory 302 .

当主机从非易失性存储器诸如NAND Flash 302或动态随机存取存储器DRAM缓存模块303中读数据时,主机首先将“冷数据”的地址通知给控制器304,控制器304根据所述地址从非易失性存储器诸如NAND Flash 302以及动态随机存取存储器DRAM缓存模块303中读取“冷数据”,且将这些“冷数据”写入至多个动态随机存取存储器DRAM 301中的一个或多个中,之后主机从多个动态随机存取存储器DRAM 301中的一个或多个中读取“冷数据”。When the host reads data from a non-volatile memory such as NAND Flash 302 or a dynamic random access memory DRAM cache module 303, the host first notifies the controller 304 of the address of the "cold data", and the controller 304 reads the data from the address according to the address. Read "cold data" from non-volatile memory such as NAND Flash 302 and DRAM cache module 303 and write these "cold data" to one or more of the plurality of dynamic random access memory DRAMs 301 . Of these, the host then reads "cold data" from one or more of the plurality of dynamic random access memory DRAMs 301 .

具体而言,主机首先经由系统管理总线SMBus通知控制器304具有第一范围的主机访问频率的数据(即,“冷数据”)的地址,所述控制器304根据所述地址从非易失性存储器诸如NAND Flash 302以及动态随机存取存储器DRAM缓存模块303中读取“冷数据”,且经由所述时钟驱动器RCD 305与所述控制器304之间的所述本地命令总线LCOM以及所述时钟驱动器RCD 305与所述多个数据缓冲器DB 306中的一个或多个之间的所述数据缓冲器命令总线BCOM而发送所述写入数据命令至所述多个数据缓冲器DB 306中的一个或多个中,以命令所述多个数据缓冲器DB 306中的一个或多个经由所述本地数据总线LDQ从所述控制器304获取所述“冷数据”且之后将所述“冷数据”写入至所述多个动态随机存取存储器DRAM 301中的一个或多个中。最后,主机从所述多个动态随机存取存储器DRAM 301中的一个或多个中读数据。Specifically, the host first notifies the controller 304 via the system management bus SMBus of the address of the data (ie, "cold data") with a first range of host access frequencies, according to which the controller 304 switches from the non-volatile "Cold data" is read in memory such as NAND Flash 302 and DRAM cache module 303 and via the local command bus LCOM between the clock driver RCD 305 and the controller 304 and the clock The data buffer command bus BCOM between the driver RCD 305 and one or more of the plurality of data buffers DB 306 sends the write data command to the plurality of data buffers DB 306 In one or more, to command one or more of the plurality of data buffers DB 306 to obtain the "cold data" from the controller 304 via the local data bus LDQ and then to store the "cold data" Data" is written into one or more of the plurality of dynamic random access memory DRAMs 301 . Finally, the host reads data from one or more of the plurality of dynamic random access memory DRAMs 301 .

另外,图3中所示的储存级存储器SCM的双列直插式存储模块DIMM为典型的NVDIMM-N类型。图3中示出了主机与储存级存储器SCM的双列直插式存储模块DIMM之间典型的SAVE_n信号。SAVE_n信号用于在系统异常掉电时被主机拉低来通知双列直插式存储模块NVDIMM进行数据备份。In addition, the dual in-line memory module DIMM of the storage class memory SCM shown in FIG. 3 is a typical NVDIMM-N type. A typical SAVE_n signal between the host and the dual in-line memory module DIMM of the storage class memory SCM is shown in FIG. 3 . The SAVE_n signal is used to be pulled low by the host when the system is powered down abnormally to notify the dual in-line storage module NVDIMM to perform data backup.

应注意,上文所提及的实施方案例示而非限制本发明,且在不脱离所附权利要求的范围的前提下,本领域技术人员将能够设计许多替代实施方案。应理解,本发明的范围由权利要求限定。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. It should be understood that the scope of the present invention is defined by the claims.

Claims (10)

1. A dual in-line memory module apparatus of a storage class memory, comprising:
a first storage area storing data having a first range of host access frequencies; and
a second storage area storing data having a second range of host access frequencies;
wherein the first range of host access frequencies is greater than the second range of host access frequencies.
2. The dual in-line memory module arrangement of storage level memory according to claim 1,
the data having a second range of host access frequencies is stored in the second storage area indirectly via the first storage area.
3. The dual in-line memory module arrangement of storage level memory according to claim 2,
the first storage area includes a predetermined size of storage space for data having a second range of host access frequencies.
4. The dual in-line memory module arrangement of storage level memories according to any of claims 1-3,
the second storage area includes a plurality of sub-storage areas each storing data having a different range of host access frequencies.
5. The dual in-line memory module arrangement of storage level memory according to claim 4,
the second memory area comprises two sub memory areas, wherein the two sub memory areas are as follows:
a first sub-storage area storing data having a first sub-range host access frequency;
a second sub-storage area storing data having a second sub-range host access frequency;
wherein the first sub-range host access frequency is greater than the second sub-range host access frequency.
6. A method of accessing data for a dual in-line memory module arrangement for storage class memory, characterized in that the dual in-line memory module arrangement comprises a first memory area and a second memory area;
the data access method comprises the following steps:
storing data having a first range of host access frequencies in a first storage area; and
storing data having a second range of host access frequencies in a second storage area;
wherein the first range of host access frequencies is greater than the second range of host access frequencies.
7. The method of accessing data of claim 6,
the method for accessing data further comprises the following steps:
storing the data having the second range of host access frequencies in the second storage area indirectly via the first storage area.
8. The method of accessing data of claim 7,
the first storage area includes a predetermined size of storage space for data having a second range of host access frequencies.
9. Method for accessing data according to any of claims 6-8, characterised in that the second memory area comprises a plurality of sub memory areas;
the method for accessing data further comprises the following steps:
storing data having different ranges of host access frequencies in the plurality of sub-storage areas, respectively.
10. The method for accessing data according to claim 9, wherein the second storage area includes two sub-storage areas, the two sub-storage areas being a first sub-storage area and a second storage area;
the method for accessing data further comprises the following steps:
storing data having a first sub-range host access frequency in the first sub-storage area; and
storing data having a second sub-range host access frequency in the second sub-storage area;
wherein the first sub-range host access frequency is greater than the second sub-range host access frequency.
CN202010230102.8A 2020-03-27 2020-03-27 Dual in-line memory module device of storage-level memory and data access method Active CN111274162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010230102.8A CN111274162B (en) 2020-03-27 2020-03-27 Dual in-line memory module device of storage-level memory and data access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010230102.8A CN111274162B (en) 2020-03-27 2020-03-27 Dual in-line memory module device of storage-level memory and data access method

Publications (2)

Publication Number Publication Date
CN111274162A true CN111274162A (en) 2020-06-12
CN111274162B CN111274162B (en) 2025-02-28

Family

ID=71003958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010230102.8A Active CN111274162B (en) 2020-03-27 2020-03-27 Dual in-line memory module device of storage-level memory and data access method

Country Status (1)

Country Link
CN (1) CN111274162B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274163A (en) * 2020-03-27 2020-06-12 西安紫光国芯半导体有限公司 Dual in-line memory module device of storage-level memory and caching method thereof
CN113253935A (en) * 2021-05-29 2021-08-13 江苏华存电子科技有限公司 Wear leveling system of nonvolatile memory
WO2022132481A1 (en) * 2020-12-18 2022-06-23 Micron Technology, Inc. Object management in tiered memory systems
EP4521257A4 (en) * 2022-05-24 2025-07-23 Huawei Tech Co Ltd Statistical method for memory access popularity, associated device, and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170270050A1 (en) * 2016-03-17 2017-09-21 SK Hynix Inc. Memory system including memory device and operation method thereof
US20170357604A1 (en) * 2016-06-08 2017-12-14 Samsung Electronics Co., Ltd. System and method for operating a drr-compatible asynchronous memory module
US20180081570A1 (en) * 2016-09-20 2018-03-22 Kabushiki Kaisha Toshiba Memory system and processor system
CN109213622A (en) * 2017-07-03 2019-01-15 爱思开海力士有限公司 Storage system and its operating method
CN212694406U (en) * 2020-03-27 2021-03-12 西安紫光国芯半导体有限公司 Dual in-line memory module device for storage class memory

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170270050A1 (en) * 2016-03-17 2017-09-21 SK Hynix Inc. Memory system including memory device and operation method thereof
US20170357604A1 (en) * 2016-06-08 2017-12-14 Samsung Electronics Co., Ltd. System and method for operating a drr-compatible asynchronous memory module
US20180081570A1 (en) * 2016-09-20 2018-03-22 Kabushiki Kaisha Toshiba Memory system and processor system
CN109213622A (en) * 2017-07-03 2019-01-15 爱思开海力士有限公司 Storage system and its operating method
CN212694406U (en) * 2020-03-27 2021-03-12 西安紫光国芯半导体有限公司 Dual in-line memory module device for storage class memory

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周宏伟;徐实;王忠奕;杨乾明;冯权友;邓让钰;窦强;: "众核处理器访存链路接口的FPGA验证", 国防科技大学学报, no. 03, 28 June 2018 (2018-06-28) *
张惠臻;周炎;王成;: "基于NAND Flash的嵌入式大规模数据存储机制", 华中科技大学学报(自然科学版), no. 01, 23 January 2017 (2017-01-23) *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274163A (en) * 2020-03-27 2020-06-12 西安紫光国芯半导体有限公司 Dual in-line memory module device of storage-level memory and caching method thereof
CN111274163B (en) * 2020-03-27 2024-11-26 西安紫光国芯半导体有限公司 Dual in-line memory module device of storage-level memory and cache method thereof
WO2022132481A1 (en) * 2020-12-18 2022-06-23 Micron Technology, Inc. Object management in tiered memory systems
US12141465B2 (en) 2020-12-18 2024-11-12 Micron Technology, Inc. Object management in tiered memory systems
CN113253935A (en) * 2021-05-29 2021-08-13 江苏华存电子科技有限公司 Wear leveling system of nonvolatile memory
CN113253935B (en) * 2021-05-29 2022-09-09 江苏华存电子科技有限公司 A Wear Leveling System for Non-Volatile Memory
EP4521257A4 (en) * 2022-05-24 2025-07-23 Huawei Tech Co Ltd Statistical method for memory access popularity, associated device, and device

Also Published As

Publication number Publication date
CN111274162B (en) 2025-02-28

Similar Documents

Publication Publication Date Title
US11500797B2 (en) Computer memory expansion device and method of operation
CN100334564C (en) Memory hub and access method having internal row caching
CN111274162A (en) Dual inline memory module arrangement for storage level memory and method for accessing data
JP5401444B2 (en) System including a hierarchical memory module having different types of integrated circuit memory devices
US7945737B2 (en) Memory hub with internal cache and/or memory access prediction
US10268382B2 (en) Processor memory architecture
EP3839747B1 (en) Multi-level memory with improved memory side cache implementation
CN101231878B (en) Memory system and memory access method
US11868285B2 (en) Memory controller configured to transmit interrupt signal if volatile memory has no data corresponding to address requested from source
CN212694406U (en) Dual in-line memory module device for storage class memory
US20130191587A1 (en) Memory control device, control method, and information processing apparatus
WO2012159479A1 (en) Slot type solid state disk and data transmission method
US11610624B2 (en) Memory device skipping refresh operation and operation method thereof
US20080109624A1 (en) Multiprocessor system with private memory sections
US20070005902A1 (en) Integrated sram cache for a memory module and method therefor
US12332797B2 (en) Storage module supporting single serialized write interfacing scheme and operation method thereof
US8244929B2 (en) Data processing apparatus
US7406571B2 (en) Memory system and method for controlling the same, and method for maintaining data coherency
US20260030169A1 (en) Write Amplification Reduction with Sub-Indirection Unit (IU) Hinting
US20250355594A1 (en) Methods and Systems for Processing-in-Memory Scope Release
US20240070073A1 (en) Page cache and prefetch engine for external memory
JPH11203198A (en) Memory access control device
KR101416248B1 (en) Data processing apparatus and data processing method thereof
CN119865474A (en) Computing system, switch and data transmission method
CN114764307A (en) Computer system and data management method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 710000, floor 4, block a, No. 38, Gaoxin 6th Road, Zhangba street, high tech Zone, Xi'an, Shaanxi

Applicant after: Xi'an Ziguang Guoxin Semiconductor Co.,Ltd.

Address before: 710075 4th floor, block a, No.38, Gaoxin 6th Road, Zhangba Street office, Gaoxin District, Xi'an City, Shaanxi Province

Applicant before: XI''AN UNIIC SEMICONDUCTORS Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant