WO2020077518A1 - Hybrid storage device and access method - Google Patents

Hybrid storage device and access method Download PDF

Info

Publication number
WO2020077518A1
WO2020077518A1 PCT/CN2018/110359 CN2018110359W WO2020077518A1 WO 2020077518 A1 WO2020077518 A1 WO 2020077518A1 CN 2018110359 W CN2018110359 W CN 2018110359W WO 2020077518 A1 WO2020077518 A1 WO 2020077518A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage
nvram
chip select
channel
chip
Prior art date
Application number
PCT/CN2018/110359
Other languages
French (fr)
Chinese (zh)
Inventor
肖勇军
孔飞
耿剑锋
何彪
夏邓伟
张广宇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201880083843.9A priority Critical patent/CN111512374B/en
Priority to EP18937498.6A priority patent/EP3839954A4/en
Priority to PCT/CN2018/110359 priority patent/WO2020077518A1/en
Publication of WO2020077518A1 publication Critical patent/WO2020077518A1/en
Priority to US17/231,383 priority patent/US12032498B2/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/005Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor comprising combined but independently operative RAM-ROM, RAM-PROM, RAM-EPROM cells
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/0284Multiple user address space allocation, e.g. using different base addresses
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/04Addressing variable-length words or parts of words
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/26Sensing or reading circuits; Data output circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C5/00Details of stores covered by group G11C11/00
    • G11C5/02Disposition of storage elements, e.g. in the form of a matrix array
    • G11C5/04Supports for storage elements, e.g. memory modules; Mounting or fixing of storage elements on such supports
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7203Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7205Cleaning, compaction, garbage collection, erase control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7208Multiple device management, e.g. distributing data over multiple flash devices
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/04Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS
    • G11C16/0483Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS comprising cells having several storage transistors connected in series
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C2207/00Indexing scheme relating to arrangements for writing information into, or reading information out from, a digital store
    • G11C2207/22Control and timing of internal memory operations
    • G11C2207/2272Latency related aspects
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers

Definitions

  • the present application relates to the field of storage technology, in particular to a hybrid storage device and access method.
  • the existing memory includes two types, one is random access memory (random access memory, RAM), and the other is read-only memory (read only memory, ROM).
  • RAM random access memory
  • ROM read only memory
  • RAM such as low power double data rate (low power double data rate (LPDDR) memory, third-generation low power Double data rate (low power double data rate 3, LPDDR3) memory or fourth-generation low power double data rate (low power double data rate 4, LPDDR4) memory, used for program loading, running, etc .; and ROM or NAND Flash memory (NAND flash), such as embedded multimedia controller (embedded multi-media card, eMMC) or universal flash memory (universal flash storage, UFS), used for system files, user data (such as photos, movies, applications (application, APP) etc.) storage.
  • eMMC embedded multi-media card
  • UFS universal flash storage
  • RAM has the characteristics of fast access speed, but the data is lost when power is lost (volatile), while ROM has the characteristics that the data is not lost (non-volatile), but the access speed is slow.
  • a volatile controller (Volatile Controller) is integrated in the system on chip (SoC) for external connection of low power double data rate (low power double data (rate, LPDDR) memory, such as LPDDR3 memory or / LPDDR4 memory, etc., and integrated non-volatile controller (Non-Volatile Controller), used to connect external NAND flash, such as eMMC4.5 / 5.0 / 5.1 or UFS2.0 /2.1 etc.
  • LPDDR memory has high performance, low access latency (Latency), high read and write life (Endurance), relatively small capacity, expensive unit Gbit price, and data will be lost when power is turned off.
  • NAND flash has low performance, large access delay, low read and write life, relatively large capacity, cheap unit Gbit, and no data loss when power is turned off.
  • the embodiments of the present application provide a hybrid storage device and an access method, which are used to improve the overall storage performance of the storage device.
  • a first aspect of the present application provides a hybrid storage device, including: an interface for electrically connecting the hybrid storage device to an external device and exchanging data with the external device; at least one storage channel electrically connected to the An interface for interacting with the interface for the data; a plurality of chip select lines, wherein each chip select line is electrically connected to one of the at least one memory channel for interacting with the one memory channel The data; a plurality of storage medium particles, wherein each storage medium particle is electrically connected to a chip select line for interacting with the one chip select line for the data; wherein, the plurality of storage medium particles include non-easy Volatile random access memory NVRAM and flash memory.
  • the embodiment of the present application introduces non-volatile random access memory (NVRAM) into the storage medium particles, and utilizes the characteristics of NVRAM with high performance, high read and write life, and non-volatile to achieve double speed
  • NVRAM non-volatile random access memory
  • DDR synchronous dynamic random
  • At least one storage channel includes n storage channels, where n storage channels include m first storage channels and nm Second storage channels, each first storage channel is connected to j NVRAMs by j first chip selection lines in the plurality of chip selection lines, and each second storage channel passes through the plurality of chip selection lines K second chip selection lines are respectively connected to k flash memories, wherein the n and the m are both positive integers, and the n is greater than the m, and the j and the k are positive integers.
  • At least one storage channel is connected to NVRAM and flash memory, and the access control of NVRAM and flash memory connected to each storage channel is realized by controlling the enable of the storage channel.
  • At least one storage channel includes n storage channels, and each storage channel is connected to k of the plurality of chip select lines Chip selection line, wherein the k chip selection lines include j first chip selection lines and kj second chip selection lines, the n, the j, and the k are all positive integers, and the k Greater than the j; each first chip select line is connected to an NVRAM, and each second chip select line is connected to a flash memory.
  • NVRAM and NAND are connected to the chip select line connected to the same storage channel.
  • At least one storage channel includes n storage channels, where each storage channel is connected to the j chip select lines, where n and j are positive integers; each chip select line is connected to one NVRAM, and the one NVRAM is further connected to a flash memory to connect the each chip select line and the one Flash memory.
  • the chip select lines connected to each storage channel are connected in series with NVRAM and flash memory, and perform different operations according to the type of instruction and the address indicated by the instruction to achieve access control to the NVRAM and flash memory connected in series on each storage channel.
  • the flash memory is NAND flash memory.
  • the interface includes: a physical layer device for exchanging data with an external device; a controller for enabling one or more storage channels in at least one storage channel, and for enabling communication with the one or One or more chip select lines electrically connected to a plurality of storage channels, and electrically connected to one of the one or more chip select lines through the one or more memory channels and the one or more chip select lines Or multiple storage media particles interact with each other.
  • each storage medium particle is a grain.
  • the hybrid storage device further includes a packaging structure for packaging the at least one storage channel, a plurality of chip selection lines, and the plurality of storage medium particles.
  • the interface is used to electrically connect the plurality of storage medium particles located inside the package to the external device for exchanging data between the plurality of storage medium particles and the external device.
  • a second aspect of the present application provides a hybrid storage system, including: the hybrid storage device according to any one of the foregoing first aspect to the third implementation manner of the first aspect and the external device, wherein, the The external device includes a non-volatile controller electrically connected to the hybrid storage device and used to interact with the hybrid storage device for the data.
  • the embodiment of the present application introduces non-volatile random access memory NVRAM into the storage medium particles, and utilizes the characteristics of high performance, high read-write life and non-volatile characteristics of NVRAM to improve the overall storage performance of the hybrid storage system and improve the hybrid storage The efficiency of the system.
  • the third aspect of the present application provides a method for accessing a hybrid storage device, receiving an instruction sent by an external device; determining the address indicated by the instruction or the type of the instruction; enabling one or more of at least one storage channel according to the address or type Memory channels, and one or more chip select lines among the plurality of chip select lines electrically connected to the one or more memory channels, wherein the plurality of chip select lines are electrically connected to a plurality of storage medium particles, respectively, the The plurality of storage medium particles include non-volatile random access memory NVRAM and flash memory; through the one or more storage channels and the one or more chip select lines, electrically connected to the one or more chip select lines One or more storage media particles interact with data.
  • the nonvolatile random access memory NVRAM is introduced into the storage medium, and the double-rate synchronous dynamic random memory is expanded and improved by utilizing the characteristics of NVRAM with high performance, high read and write life, and non-volatility.
  • the overall storage performance of the hybrid storage device improves the efficiency of the hybrid storage system.
  • the at least one storage channel includes at least one first storage channel and at least one second storage channel, and the at least one first storage channel A storage channel is connected to the NVRAM through a first chip select line, the at least one second storage channel is connected to the flash memory through a second chip select line, and the at least one storage channel is enabled according to the address or the type One or more memory channels and one or more chip select lines of the plurality of chip select lines electrically connected to the one or more memory channels, including: if the address of the instruction is the address of the NVRAM , Then the at least one first storage channel and the chip select line connected to the at least one first storage channel are enabled, and through the at least one first storage channel and the at least one first storage channel The connected chip select line accesses the NVRAM; if the address of the instruction is the address of the flash memory, the at least one second storage channel is enabled and connected to the at least one second storage channel Chip select line, and the
  • the at least one storage channel is connected to at least one first chip selection line and at least one second chip selection line
  • the At least one first chip select line is connected to the NVRAM
  • the at least one second chip select line is connected to the flash memory
  • one or more memory channels in at least one memory channel are enabled according to the address or the type
  • one or more chip select lines among the plurality of chip select lines electrically connected to the one or more memory channels including: if the address of the instruction is the address of the NVRAM, enabling the at least One storage channel and the at least one first chip select line, and access the NVRAM through the at least one storage channel and the at least one first chip select line; if the address of the instruction is the address of the flash memory, Then, the at least one storage channel and the at least one second chip select line are enabled, and the flash memory is accessed through the at least one storage channel and the at least one second chip select line.
  • each chip select line is connected to one NVRAM, and the one NVRAM is further connected to a flash memory.
  • the address or the type enables one or more memory channels in at least one memory channel, and one or more chip select lines in a plurality of chip select lines electrically connected to the one or more memory channels, including: If the type of the instruction is the type of a write operation instruction, the at least one storage channel and the one or more chip select lines are enabled, the write operation instruction is used to instruct writing of target data;
  • each chip select line is connected to one NVRAM, and the one NVRAM is further connected to a flash memory.
  • the address or the type enables one or more memory channels in at least one memory channel, and one or more chip select lines in a plurality of chip select lines electrically connected to the one or more memory channels, including: If the type of the instruction is the type of a read operation instruction, the at least one storage channel and the one or more chip select lines are enabled, the read operation instruction is used to instruct reading of target data; The one or more storage channels and the one or more chip select lines, and the one or more storage medium particles electrically connected to the one or more chip select lines, particle interaction data, including: determining whether the NVRAM exists The target data; if the target data exists in the NVRAM, read the target data from the NVRAM; if the target data does not exist in the NVRAM, read the target from the flash memory data.
  • the chip select line connected to each storage channel is connected in
  • a non-volatile random access memory NVRAM is introduced into the storage medium. Taking advantage of the characteristics of high performance, high read-write life and non-volatility of NVRAM, the overall storage performance of the hybrid storage device is improved, and the hybrid The efficiency of the storage system.
  • Figure 1 is a schematic diagram of the storage structure of the existing storage scheme
  • FIG. 2 is a schematic structural diagram of a hybrid storage device in an embodiment of the present application.
  • FIG. 3 is another schematic structural diagram of a hybrid storage device in an embodiment of the present application.
  • FIG. 4 is another schematic structural diagram of a hybrid storage device in an embodiment of the present application.
  • FIG. 5 is another schematic structural diagram of a hybrid storage device in an embodiment of the present application.
  • FIG. 6 is a functional schematic diagram of an interface in an embodiment of this application.
  • FIG. 7 is a schematic diagram of the interface controlling storage medium particles in the embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a hybrid storage system in an embodiment of this application.
  • FIG. 9 is a schematic flowchart of an access method of a hybrid storage device in an embodiment of this application.
  • the embodiments of the present application provide a hybrid storage device and an access method, which are used to improve the overall storage performance of the storage device.
  • Resistive random access memory ferroelectric random access memory (ferroelectric random access memory, FRAM), magnetoresistive random access memory (magnetic random access memory (MRAM), phase change memory (phase RAM) Memory, PCM) (such as 3D Xpoint), conductive bridge random access memory (conductive-bridging random access memory, cbRAM) and other new media are collectively called non-volatile random access memory (non-volatile random access memory, NVRAM).
  • the working principles of these different NVRAM media are different. For example, ReRAM, according to the different voltages applied to the metal oxide, makes the resistance of the material in a high resistance state and a low resistance state, thereby recording "0" and "1".
  • MRAM which uses different magnetoresistances caused by different magnetization directions of the free layer and the fixed layer to record "0" and "1".
  • PCM PCM. Taking 3D Xpoint as an example, by heating the cell, the phase (crystalline and non-crystalline) of the memory cell is changed to express "0" and "1".
  • NAND flash NAND flash or NOR flash.
  • NAND flash NAND flash as an example for description, which is simply referred to as NAND.
  • An embodiment of the hybrid storage device 200 in the embodiment of the present application includes: an interface 201 for electrically connecting the hybrid storage device to an external device and interacting with the external device Data; at least one storage channel 202, electrically connected to the interface 201 for interacting with the interface 201; a plurality of chip select lines 203, wherein each chip select line is electrically connected to one of the at least one storage channel For exchanging the data with the one storage channel; a plurality of storage medium particles 204, wherein each storage medium particle is electrically connected to a chip select line for interacting with the data with the one chip select line; wherein The plurality of storage medium particles 204 include non-volatile random access memory NVRAM and flash memory.
  • the hybrid storage device further includes a packaging structure (not shown in the figure) for packaging the at least one storage channel 202, a plurality of chip selection lines 203, and the plurality of storage medium particles 204.
  • the interface 201 is used to electrically connect the plurality of storage medium particles 204 located inside the package to the external device, for exchanging data between the plurality of storage medium particles 204 and the external device.
  • the packaging can be implemented using existing packaging technology.
  • the electrical connection may be a physical direct electrical connection, or may be implemented by a field effect crystal (field effect transistor, FET) or other components, which is not specifically limited herein.
  • FET field effect transistor
  • the interface 201 includes a physical layer device and a controller; where the physical layer device and external devices exchange data, the controller is used to enable one or more storage channels in at least one storage channel, and is used to enable and One or more chip select lines electrically connected to the one or more memory channels, and electrically connected to the one or more chip selects through the one or more memory channels and the one or more chip select lines One or more storage media particles of the line exchange data.
  • the nonvolatile random access memory NVRAM is introduced into the storage medium, and the double-rate synchronous dynamic random memory is expanded and improved by utilizing the characteristics of NVRAM with high performance, high read and write life, and non-volatility.
  • the overall storage performance of the hybrid storage device improves the efficiency of the hybrid storage system.
  • the hybrid storage device provides an external interface 201, for example, a peripheral peripheral component interconnection (PCIe) interface for interfacing with a system on chip (SoC); also It may be other interfaces, such as UFS interface, universal serial bus (USB) interface, etc., which is not limited here.
  • PCIe peripheral peripheral component interconnection
  • SoC system on chip
  • UFS universal serial bus
  • USB universal serial bus
  • the flash memory may be NAND, and at least one storage channel 202 includes n storage channels (CH1 to CHn), where ,
  • the n storage channels include m first storage channels (CH1 ⁇ CHm) and nm second storage channels (CHm + 1 ⁇ CHn), each first storage channel (any one of CH1 ⁇ CHm) passes
  • the j first chip selection lines (CE1 to CEj) in the multiple chip selection lines are connected to j NVRAMs respectively, and each second storage channel (any one of CHm + 1 to CHn) passes through k in the multiple chip selection lines
  • a second chip selection line (CE1 to CEk) is connected to k NANDs respectively, wherein the n and the m are both positive integers, and the n is greater than the m, and the j and the k are positive Integer.
  • the connected storage media particles are all NVRAM, and there are j chip select lines on each channel that can be enabled, that is, chip select lines CE1 to CEj, The maximum number of m ⁇ j die (Die) concurrency can be achieved. In practical applications, it is necessary to balance the performance requirements with the power consumption constraints.
  • the connected media are all NAND, and there are k chip select lines on each channel to enable, that is, chip select lines CE1 ⁇ CEk, the maximum achievable (nm) ⁇
  • the k Dies are concurrent, and in actual applications, trade-offs need to be made based on performance requirements and power consumption constraints.
  • the interface 201 (for example, it can be a PCIe Controller), it can be considered that two different devices are attached, namely an NVRAM device and a NAND device.
  • the Enable channels CH1 to CHm are enabled.
  • the NAND device when access to the NAND device is required, one or more channels in the CHm + 1 to CHn channels are enabled, and the CH1 to CHm channels are closed.
  • Die is the die before the IC is not packaged. It is a small piece (Die) that is cut from a silicon wafer (wafer) by laser cutting and dividing the semiconductor wafer (wafer). Each Die is an independent unpackaged chip, which can be composed of one or more circuits, but will eventually be packaged as a unit to become our common memory particles, central processing unit (CPU) and other common chip.
  • One Die in this embodiment corresponds to one storage medium particle, that is, one Die in this embodiment of the present application may be an NVRAM device or a NAND device.
  • the chip selection line connected to the same storage channel is connected to NVRAM or NAND, and access control of the NVRAM or NAND connected to the storage channel is realized by controlling the enabling and closing of the storage channel.
  • the flash memory may be NAND, and at least one storage channel 202 includes n storage channels (CH1 to CHn), Each storage channel is connected to k chip selection lines, where k chip selection lines include j first chip selection lines (CE1 ⁇ CEj) and kj second chip selection lines (CEj + 1 ⁇ CEk), and the n , The j and the k are positive integers, and the k is greater than the j; each first chip selection line (any one of CE1 to CEj) is connected to one NVRAM, and each second chip selection line (CEj + 1 ⁇ CEk) Connect one NAND.
  • k chip selection lines include j first chip selection lines (CE1 ⁇ CEj) and kj second chip selection lines (CEj + 1 ⁇ CEk)
  • the first chip selection line (CE1 ⁇ CEj) corresponds to NVRAM
  • the second chip selection line (CEj + 1 ⁇ CEk) corresponds to NAND.
  • NVRAM a maximum of n ⁇ j Die concurrency can be achieved
  • NAND a maximum of n ⁇ (k-j) concurrency can be achieved.
  • the interface 201 it can be considered that two different devices are attached, namely NVRAM device and NAND device.
  • the channels CH1 to CHn are enabled, and the first chip selection line CE1 to CEj are also enabled. , And close the second chip selection line CEj + 1 ⁇ CEk.
  • the channels CH1 to CHn are enabled, the second chip selection lines CEj + 1 to CEk are simultaneously enabled, and the first chip selection lines CE1 to CEj are turned off.
  • the first chip selection line connected to the same storage channel is connected to NVRAM
  • the second chip selection line is connected to NAND
  • the first chip selection line and the second chip selection line connected to the storage channel are controlled by Enable the access control of NVRAM and NAND connected to the storage channel.
  • At least one storage channel 202 includes n storage channels (CH1 to CHn), where each storage channel is connected j chip selection lines (CE1 to CEj), where n and j are positive integers; each chip selection line is connected to one NVRAM, and the one NVRAM is further connected to one flash memory to connect each chip selection Line and the one flash memory.
  • the interface 201 sends a control signal (Control Signal) to the nonvolatile random access memory NVRAM, and implements access and management to the NVRAM through the data bus.
  • the interface 201 can also access and manage the NAND, for example, garbage collection (GC) and other operations, and the interface 201 needs to send related control commands (Control Signal) to the NAND.
  • GC garbage collection
  • interface 201 is also required to send a control signal (Control Signal) to NVRAM and NAND, as shown in FIG. 7.
  • For the write operation instruction of the mixed storage medium it is first written into NVRAM, and then it is determined whether data needs to be written into NAND according to the conditions such as data cold and hot conditions, remaining space of NVRAM, etc.
  • For the read operation instruction of the mixed storage medium first read the required data in NVRAM, and if there is no data to be read in NVRAM, continue to read the required data in NAND.
  • the cold and hot data can be set according to the actual situation. For example, data that is frequently accessed in a short time is regarded as hot data, and data that is not frequently accessed is regarded as cold data. Specifically, set a number of access times for each data. When the number of data access times exceeds a preset threshold within a period of time, the data is regarded as hot data, and data other than hot data is regarded as cold data.
  • the chip select line connected to each storage channel is connected in series with one NVRAM and one NAND, and different operations are performed according to the type of instruction received to realize the series connection of NVRAM and NAND on the storage channel Access control.
  • the hybrid storage device in the embodiment of the present application can also be applied to devices involving a variety of mixed media applications, including tablet computers, notebooks, and servers.
  • An embodiment of the hybrid storage system 800 in the embodiment of the present application includes: a hybrid storage device 801 and an external device 802; wherein, the external device 802 includes a non-volatile
  • the sexual controller 8021 is electrically connected to the hybrid storage device 801 and used to exchange data with the hybrid storage device 801; the hybrid storage device 801 is the hybrid storage device described in the above embodiments and any implementation manner.
  • the hybrid storage system 800 may further include: a volatile control module and a volatile storage medium device; the volatile control module is connected to the volatile storage medium device.
  • an embodiment of the present application provides a method for accessing a hybrid storage device, which is applied to the hybrid storage device involved in the foregoing embodiments and various implementations.
  • the hybrid storage device includes at least one storage channel and multiple slices. A line selection and a plurality of storage medium particles, the at least one storage channel is connected to the chip selection line, and the chip selection line is connected to the storage medium, the method includes: 901, receiving an instruction sent by an external device; 902, determining The address or type of the instruction indicated by the instruction; 903, one or more memory channels in at least one memory channel enabled according to the address or type, and one or more chip select lines electrically connected to the one or more memory channels or A plurality of chip select lines, wherein the plurality of chip select lines are electrically connected to a plurality of storage medium particles, the plurality of storage medium particles include non-volatile random access memory NVRAM and flash memory (that is, one or more are enabled according to the address or type Storage media particles); 904, through one or more storage channels and one or more chip select
  • NVRAM internal structure of NVRAM and flash memory (NAND in the embodiment of the present application)
  • control method is also different. The specific process is as follows:
  • At least one storage channel includes at least one first storage channel and at least one second storage channel
  • at least one first storage channel is connected to NVRAM through a first chip select line
  • at least one second storage channel is connected through a second chip select line
  • the address of the instruction is the address of NVRAM
  • at least one first storage channel and the chip select line connected to the at least one first storage channel are enabled, and through the at least one first storage channel and the at least one first The chip select line connected to the storage channel accesses the NVRAM
  • the address of the instruction is the address of the flash memory
  • at least one second storage channel and the chip select line connected to the at least one second storage channel are enabled and pass through at least one A second storage channel and a chip select line connected to the at least one second storage channel access the flash memory.
  • the address of the instruction is the address of NVRAM, enable at least one storage channel and at least one first chip select line, and access NVRAM through at least one storage channel and at least one first chip select line; if the address of the instruction is the address of the flash memory , At least one storage channel and at least one second chip select line are enabled, and the flash memory is accessed through at least one storage channel and at least one second chip select line.
  • the write operation instruction is used to indicate the writing of target data; if the remaining space of NVRAM is less than the size of the target data, then Write the target data on the flash memory; if the remaining space of the NVRAM is greater than or equal to the size of the target data, determine whether the target data is hot data; if the target data is hot data, write the target data on the NVRAM; if the target data is not For hot data, the target data is written on the flash memory.
  • each chip select line is connected to a NVRAM, and a NVRAM is further connected to a flash memory, that is, when the series scheme is used:
  • the read operation instruction is used to instruct to read the target data; determine whether the target data exists in NVRAM; if the target data exists in NVRAM , The target data is read from NVRAM; if there is no target data in NVRAM, the target data is read from flash memory.
  • the nonvolatile random access memory NVRAM is introduced into the storage medium, and the characteristics of high performance, high read-write life and non-volatility of NVRAM are used to improve the overall storage performance of the hybrid storage device and improve the system effectiveness.
  • the disclosed system, device (apparatus) and method may be implemented in other ways.
  • the embodiments of the hybrid storage device described above are only schematic.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling through some interfaces, devices or modules, or
  • the communication connection may be electrical, mechanical or other forms.
  • the hybrid storage device involved in the embodiments of the present application may be sold or used as an independent product, and may also be used as a computer-readable storage medium.
  • the above is only the specific implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Read Only Memory (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)

Abstract

A hybrid storage device (200) comprises: an interface (201), for electrically connecting the hybrid storage device (200) to an external device (802), and exchanging data with the external device (802); at least one storage channel (202), electrically connected to the interface (201), for exchanging the data with the interface (201); a plurality of chip select lines (203), each chip select line (203) being electrically connected to one storage channel (202) of the at least one storage channel (202), for exchanging the data with said one storage channel (202); and a plurality of storage medium particles, each storage medium particle being electrically connected to one chip select line (203), for exchanging the data with said one chip select line (203), the plurality of storage medium particles comprising a non-volatile random access memory (NVRAM), and a flash memory.

Description

一种混合存储设备及访问方法Hybrid storage device and access method 技术领域Technical field
本申请涉及存储技术领域,尤其涉及一种混合存储设备及访问方法。The present application relates to the field of storage technology, in particular to a hybrid storage device and access method.
背景技术Background technique
随着互联网的快速发展,越来越多的数据需要进行存储。现有的存储器包括两种,一种是随机访问存储器(random access memory,RAM),另一种是只读存储器(read only memory,ROM),前者掉电数据丢失,后者掉电数据不丢失。在移动终端领域,包括但不限于手机、平板电脑(Pad)、笔记本等电子产品,既有RAM,比如,低功耗双重数据比率(low power double data rate,LPDDR)存储器、第三代低功耗双重数据比率(low power double data rate 3,LPDDR3)存储器或第四代低功耗双重数据比率(low power double data rate4,LPDDR4)存储器,用于程序的加载、运行等;又有ROM或NAND闪存(NAND flash),比如嵌入式多媒体控制器(embedded multi media card,eMMC)或通用闪存存储器(universal flash storage,UFS),用于系统文件、用户数据(如照片、电影、应用程序(application,APP)等)的存放。RAM具有访问速度快,但是掉电数据丢失(易失性)的特点,而ROM具有掉电数据不丢失(非易失性),但是访问速度慢的特点。With the rapid development of the Internet, more and more data needs to be stored. The existing memory includes two types, one is random access memory (random access memory, RAM), and the other is read-only memory (read only memory, ROM). The former loses power-off data and the latter does not lose power-loss data . In the field of mobile terminals, including but not limited to mobile phones, tablets (Pad), notebooks and other electronic products, existing RAM, such as low power double data rate (low power double data rate (LPDDR) memory, third-generation low power Double data rate (low power double data rate 3, LPDDR3) memory or fourth-generation low power double data rate (low power double data rate 4, LPDDR4) memory, used for program loading, running, etc .; and ROM or NAND Flash memory (NAND flash), such as embedded multimedia controller (embedded multi-media card, eMMC) or universal flash memory (universal flash storage, UFS), used for system files, user data (such as photos, movies, applications (application, APP) etc.) storage. RAM has the characteristics of fast access speed, but the data is lost when power is lost (volatile), while ROM has the characteristics that the data is not lost (non-volatile), but the access speed is slow.
在现有的存储方案中,如图1所示,在片上系统(system on chip,SoC)中集成易失性控制器(Volatile Controller),用于外部连接低功耗双重数据比率(low power double data rate,LPDDR)存储器,如LPDDR3存储器或/LPDDR4存储器等,并集成非易失性控制器(Non-Volatile Controller),用于连接外部NAND flash,如eMMC4.5/5.0/5.1或者UFS2.0/2.1等。LPDDR存储器性能高,访问延时(Latency)小,读写寿命(Endurance)高,容量相对小,单位Gbit价格贵,并且掉电时数据会丢失。而NAND flash则相反,性能低,访问延时大,读写寿命低,容量相对更大,单位Gbit价格便宜,并且掉电时数据不丢失。In the existing storage solution, as shown in Figure 1, a volatile controller (Volatile Controller) is integrated in the system on chip (SoC) for external connection of low power double data rate (low power double data (rate, LPDDR) memory, such as LPDDR3 memory or / LPDDR4 memory, etc., and integrated non-volatile controller (Non-Volatile Controller), used to connect external NAND flash, such as eMMC4.5 / 5.0 / 5.1 or UFS2.0 /2.1 etc. LPDDR memory has high performance, low access latency (Latency), high read and write life (Endurance), relatively small capacity, expensive unit Gbit price, and data will be lost when power is turned off. On the contrary, NAND flash has low performance, large access delay, low read and write life, relatively large capacity, cheap unit Gbit, and no data loss when power is turned off.
现有方案,受限于成本制约,LPDDR存储器容量有限,在高内存应用场景时(如拍照),需要将原来驻留在LPDDR存储器中的部分进程杀死,或者通过内存压缩内存压缩(ZRAM),当这些进程需要被再次调用时,则需要重新加载,或者先解压缩运行,而这将导致系统再调用存储器时存在很大延时,系统的效率低。Existing solutions are limited by cost constraints and LPDDR memory capacity is limited. In high-memory application scenarios (such as taking photos), some processes that originally resided in LPDDR memory need to be killed, or memory compression (ZRAM) When these processes need to be called again, they need to be reloaded, or decompressed and run first, which will cause a large delay when the system calls the memory again, and the efficiency of the system is low.
发明内容Summary of the invention
本申请实施例提供了一种混合存储设备及访问方法,用于提升存储设备的整体存储性能。The embodiments of the present application provide a hybrid storage device and an access method, which are used to improve the overall storage performance of the storage device.
本申请第一方面提供了一种混合存储设备,包括:接口,用于将所述混合存储设备电连接至外部设备,并与所述外部设备交互数据;至少一个存储通道,电连接至所述接口,用于与所述接口交互所述数据;多个片选线,其中,每个片选线电连接至所述至少一个存储通道中的一个存储通道,用于与所述一个存储通道交互所述数据;多个存储介质颗粒,其中每个存储介质颗粒电连接至一个片选线,用于与所述一个片选线交互所述数据;其中, 所述多个存储介质颗粒包括非易失性随机访问存储器NVRAM和闪存。本申请实施例在存储介质颗粒中引入非易失性随机访问存储器(non-volatile random access memory,NVRAM),利用NVRAM性能高、读写寿命高、非易失性的特点,实现了双倍速率同步动态随机(double data rate,DDR)存储器的扩展,提升了混合存储设备的整体存储性能,并降低了系统延时,提高了系统的效率。A first aspect of the present application provides a hybrid storage device, including: an interface for electrically connecting the hybrid storage device to an external device and exchanging data with the external device; at least one storage channel electrically connected to the An interface for interacting with the interface for the data; a plurality of chip select lines, wherein each chip select line is electrically connected to one of the at least one memory channel for interacting with the one memory channel The data; a plurality of storage medium particles, wherein each storage medium particle is electrically connected to a chip select line for interacting with the one chip select line for the data; wherein, the plurality of storage medium particles include non-easy Volatile random access memory NVRAM and flash memory. The embodiment of the present application introduces non-volatile random access memory (NVRAM) into the storage medium particles, and utilizes the characteristics of NVRAM with high performance, high read and write life, and non-volatile to achieve double speed The expansion of synchronous dynamic random (double data, rate, DDR) memory improves the overall storage performance of hybrid storage devices, reduces system latency, and improves system efficiency.
在一种可能的设计中,在本申请实施例第一方面的第一种实现方式中,至少一个存储通道包括n个存储通道,其中,n个存储通道中包括m个第一存储通道和n-m个第二存储通道,每个第一存储通道通过所述多个片选线中的j个第一片选线分别连接j个NVRAM,每个第二存储通道通过所述多个片选线中的k个第二片选线分别连接k个闪存,其中,所述n、所述m均为正整数,且所述n大于所述m,所述j、所述k均为正整数。至少一个存储通道连接NVRAM和闪存,通过控制存储通道的使能,实现对各个存储通道上连接的NVRAM和闪存的访问控制。In a possible design, in a first implementation manner of the first aspect of the embodiments of the present application, at least one storage channel includes n storage channels, where n storage channels include m first storage channels and nm Second storage channels, each first storage channel is connected to j NVRAMs by j first chip selection lines in the plurality of chip selection lines, and each second storage channel passes through the plurality of chip selection lines K second chip selection lines are respectively connected to k flash memories, wherein the n and the m are both positive integers, and the n is greater than the m, and the j and the k are positive integers. At least one storage channel is connected to NVRAM and flash memory, and the access control of NVRAM and flash memory connected to each storage channel is realized by controlling the enable of the storage channel.
在一种可能的设计中,在本申请实施例第一方面的第二种实现方式中,至少一个存储通道包括n个存储通道,每个存储通道连接所述多个片选线中的k个片选线,其中,所述k个片选线包括j个第一片选线和k-j个第二片选线,所述n、所述j、所述k均为正整数,且所述k大于所述j;每个第一片选线连接一个NVRAM,每个第二片选线连接一个闪存。与同一个存储通道连接的片选线连接有NVRAM和NAND,通过控制与存储通道连接的片选线的使能,实现对各个存储通道上连接的NVRAM和NAND的访问控制。In a possible design, in a second implementation manner of the first aspect of the embodiments of the present application, at least one storage channel includes n storage channels, and each storage channel is connected to k of the plurality of chip select lines Chip selection line, wherein the k chip selection lines include j first chip selection lines and kj second chip selection lines, the n, the j, and the k are all positive integers, and the k Greater than the j; each first chip select line is connected to an NVRAM, and each second chip select line is connected to a flash memory. NVRAM and NAND are connected to the chip select line connected to the same storage channel. By controlling the enable of the chip select line connected to the storage channel, the access control to the NVRAM and NAND connected to each storage channel is realized.
在一种可能的设计中,在本申请实施例第一方面的第三种实现方式中,至少一个存储通道包括n个存储通道,其中,每个存储通道连接所述多个片选线中的j个片选线,所述n、所述j为正整数;每个片选线与一个NVRAM连接,且所述一个NVRAM进一步与一个闪存连接以连通所述每个片选线和所述一个闪存。与每个存储通道连接的片选线与NVRAM和闪存串联,根据指令的类型和指令指示的地址进行不同的操作,实现对各个存储通道上串联的NVRAM和闪存的访问控制。In a possible design, in a third implementation manner of the first aspect of the embodiments of the present application, at least one storage channel includes n storage channels, where each storage channel is connected to the j chip select lines, where n and j are positive integers; each chip select line is connected to one NVRAM, and the one NVRAM is further connected to a flash memory to connect the each chip select line and the one Flash memory. The chip select lines connected to each storage channel are connected in series with NVRAM and flash memory, and perform different operations according to the type of instruction and the address indicated by the instruction to achieve access control to the NVRAM and flash memory connected in series on each storage channel.
可选地,所述闪存为NAND闪存。Optionally, the flash memory is NAND flash memory.
可选地,所述接口包括:物理层设备,用于与外部设备交互数据;控制器,用于使能至少一个存储通道中的一个或多个存储通道,以及用于使能与该一个或多个存储通道电连接的一个或多个片选线,并通过所述一个或多个存储通道和所述一个或多个片选线与电连接至所述一个或多个片选线的一个或多个存储介质颗粒交互数据。Optionally, the interface includes: a physical layer device for exchanging data with an external device; a controller for enabling one or more storage channels in at least one storage channel, and for enabling communication with the one or One or more chip select lines electrically connected to a plurality of storage channels, and electrically connected to one of the one or more chip select lines through the one or more memory channels and the one or more chip select lines Or multiple storage media particles interact with each other.
可选地,每个存储介质颗粒是个晶粒。Optionally, each storage medium particle is a grain.
可选地,混合存储设备还包括封装结构,用于封装所述至少一个存储通道、多个片选线和所述多个存储介质颗粒。所述接口用于将位于所述封装内部的所述多个存储介质颗粒电连接至所述外部设备,以用于在所述多个存储介质颗粒与外部设备间交互数据。Optionally, the hybrid storage device further includes a packaging structure for packaging the at least one storage channel, a plurality of chip selection lines, and the plurality of storage medium particles. The interface is used to electrically connect the plurality of storage medium particles located inside the package to the external device for exchanging data between the plurality of storage medium particles and the external device.
本申请第二方面提供了一种混合存储系统,包括:如上述第一方面至第一方面的第三种实现方式中任一项所述的混合存储设备和所述外部设备,其中,所述外部设备包括非易失性控制器,电连接至所述混合存储设备,并用于与所述混合存储设备交互所述数据。本申请实施例在存储介质颗粒中引入非易失性随机访问存储器NVRAM,利用NVRAM性能高、 读写寿命高、非易失性的特点,提升了混合存储系统的整体存储性能,提高了混合存储系统的效率。A second aspect of the present application provides a hybrid storage system, including: the hybrid storage device according to any one of the foregoing first aspect to the third implementation manner of the first aspect and the external device, wherein, the The external device includes a non-volatile controller electrically connected to the hybrid storage device and used to interact with the hybrid storage device for the data. The embodiment of the present application introduces non-volatile random access memory NVRAM into the storage medium particles, and utilizes the characteristics of high performance, high read-write life and non-volatile characteristics of NVRAM to improve the overall storage performance of the hybrid storage system and improve the hybrid storage The efficiency of the system.
本申请第三方面提供了一种混合存储设备的访问方法,接收外部设备发送的指令;确定该指令指示的地址或该指令的类型;根据地址或类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,其中,多个片选线分别电连接至多个存储介质颗粒,所述多个存储介质颗粒包括非易失性随机访问存储器NVRAM和闪存;通过所述一个或多个存储通道和所述一个或多个片选线,与电连接至所述一个或多个片选线的一个或多个存储介质颗粒交互数据。本申请实施例,在存储介质中引入非易失性随机访问存储器NVRAM,利用NVRAM性能高、读写寿命高、非易失性的特点,实现了双倍速率同步动态随机存储器的扩展,提升了混合存储设备的整体存储性能,提高了混合存储系统的效率。The third aspect of the present application provides a method for accessing a hybrid storage device, receiving an instruction sent by an external device; determining the address indicated by the instruction or the type of the instruction; enabling one or more of at least one storage channel according to the address or type Memory channels, and one or more chip select lines among the plurality of chip select lines electrically connected to the one or more memory channels, wherein the plurality of chip select lines are electrically connected to a plurality of storage medium particles, respectively, the The plurality of storage medium particles include non-volatile random access memory NVRAM and flash memory; through the one or more storage channels and the one or more chip select lines, electrically connected to the one or more chip select lines One or more storage media particles interact with data. In the embodiment of the present application, the nonvolatile random access memory NVRAM is introduced into the storage medium, and the double-rate synchronous dynamic random memory is expanded and improved by utilizing the characteristics of NVRAM with high performance, high read and write life, and non-volatility. The overall storage performance of the hybrid storage device improves the efficiency of the hybrid storage system.
在一种可能的设计中,在本申请实施例第三方面的第一种实现方式中,所述至少一个存储通道包括至少一个第一存储通道和至少一个第二存储通道,所述至少一个第一存储通道通过第一片选线连接所述NVRAM,所述至少一个第二存储通道通过第二片选线连接所述闪存,所述根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,包括:若所述指令的地址为所述NVRAM的地址,则使能所述至少一个第一存储通道和与所述至少一个第一存储通道连接的片选线,并通过所述至少一个第一存储通道和所述与所述至少一个第一存储通道连接的片选线访问所述NVRAM;若所述指令的地址为所述闪存的地址,则使能所述至少一个第二存储通道和与所述至少一个第二存储通道连接的片选线,并通过所述至少一个第二存储通道和所述与所述至少一个第二存储通道连接的片选线访问所述闪存。通过控制存储通道以及与存储通道相连的片选线的使能,实现对每个存储通道上连接的NVRAM和闪存的访问控制。In a possible design, in a first implementation manner of the third aspect of the embodiments of the present application, the at least one storage channel includes at least one first storage channel and at least one second storage channel, and the at least one first storage channel A storage channel is connected to the NVRAM through a first chip select line, the at least one second storage channel is connected to the flash memory through a second chip select line, and the at least one storage channel is enabled according to the address or the type One or more memory channels and one or more chip select lines of the plurality of chip select lines electrically connected to the one or more memory channels, including: if the address of the instruction is the address of the NVRAM , Then the at least one first storage channel and the chip select line connected to the at least one first storage channel are enabled, and through the at least one first storage channel and the at least one first storage channel The connected chip select line accesses the NVRAM; if the address of the instruction is the address of the flash memory, the at least one second storage channel is enabled and connected to the at least one second storage channel Chip select line, and the access to the flash memory the at least one channel selected from the second ray and the second memory with said at least one channel connection. By controlling the enable of the memory channel and the chip select line connected to the memory channel, the access control to the NVRAM and flash memory connected to each memory channel is realized.
在一种可能的设计中,在本申请实施例第三方面的第二种实现方式中,所述至少一个存储通道连接有至少一个第一片选线和至少一个第二片选线,所述至少一个第一片选线连接所述NVRAM,所述至少一个第二片选线连接所述闪存,所述根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,包括:若所述指令的地址为所述NVRAM的地址,则使能所述至少一个存储通道和所述至少一个第一片选线,并通过所述至少一个存储通道和所述至少一个第一片选线访问所述NVRAM;若所述指令的地址为所述闪存的地址,则使能所述至少一个存储通道和所述至少一个第二片选线,并通过所述至少一个存储通道和所述至少一个第二片选线访问所述闪存。通过控制每个存储通道以及与每个存储通道连接的第一片选线和第二片选线的使能,实现对每个存储通道上连接的NVRAM和闪存的访问控制。In a possible design, in a second implementation manner of the third aspect of the embodiments of the present application, the at least one storage channel is connected to at least one first chip selection line and at least one second chip selection line, the At least one first chip select line is connected to the NVRAM, the at least one second chip select line is connected to the flash memory, and one or more memory channels in at least one memory channel are enabled according to the address or the type And one or more chip select lines among the plurality of chip select lines electrically connected to the one or more memory channels, including: if the address of the instruction is the address of the NVRAM, enabling the at least One storage channel and the at least one first chip select line, and access the NVRAM through the at least one storage channel and the at least one first chip select line; if the address of the instruction is the address of the flash memory, Then, the at least one storage channel and the at least one second chip select line are enabled, and the flash memory is accessed through the at least one storage channel and the at least one second chip select line. By controlling the enabling of each storage channel and the first chip selection line and the second chip selection line connected to each storage channel, access control to the NVRAM and flash memory connected to each storage channel is realized.
在一种可能的设计中,在本申请实施例第三方面的第三种实现方式中,每个片选线与一个NVRAM连接,且所述一个NVRAM进一步与一个闪存连接,所述根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,包括:若所述指令的类型为写操作指令的类型, 则使能所述至少一个存储通道和所述一个或多个片选线,所述写操作指令用于指示写入目标数据;所述通过所述一个或多个存储通道和所述一个或多个片选线,与电连接至所述一个或多个片选线的一个或多个存储介质颗粒交互数据,包括:若所述NVRAM的剩余空间小于所述目标数据的大小,则在所述闪存上写入所述目标数据;若所述NVRAM的剩余空间大于或等于所述目标数据的大小,则判断所述目标数据是否为热数据;若所述目标数据为所述热数据,则在所述NVRAM上写入所述目标数据;若所述目标数据不为所述热数据,则在所述闪存上写入所述目标数据。与每个存储通道连接的片选线与NVRAM和闪存串联,根据指令的类型进行不同的操作,实现对每个存储通道上串联的NVRAM和闪存的访问控制。In a possible design, in a third implementation manner of the third aspect of the embodiment of the present application, each chip select line is connected to one NVRAM, and the one NVRAM is further connected to a flash memory. The address or the type enables one or more memory channels in at least one memory channel, and one or more chip select lines in a plurality of chip select lines electrically connected to the one or more memory channels, including: If the type of the instruction is the type of a write operation instruction, the at least one storage channel and the one or more chip select lines are enabled, the write operation instruction is used to instruct writing of target data; The one or more storage channels and the one or more chip select lines, and the one or more storage medium particles electrically connected to the one or more chip select lines to exchange data, including: if the remaining NVRAM If the space is smaller than the size of the target data, write the target data on the flash memory; if the remaining space of the NVRAM is greater than or equal to the size of the target data, determine whether the target data is a hot number ; If the target data for said thermal data, the target data is written in the NVRAM on the; if the target data is not the thermal data, the target data is written in the flash memory. The chip select line connected to each storage channel is connected in series with NVRAM and flash memory, and performs different operations according to the type of instruction to achieve access control to the NVRAM and flash memory connected in series on each storage channel.
在一种可能的设计中,在本申请实施例第三方面的第四种实现方式中,每个片选线与一个NVRAM连接,且所述一个NVRAM进一步与一个闪存连接,所述根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,包括:若所述指令的类型为读操作指令的类型,则使能所述至少一个存储通道和所述一个或多个片选线,所述读操作指令用于指示读取目标数据;所述通过所述一个或多个存储通道和所述一个或多个片选线,与电连接至所述一个或多个片选线的一个或多个存储介质颗粒交互数据,包括:判断所述NVRAM是否存在所述目标数据;若所述NVRAM存在所述目标数据,则从所述NVRAM中读取所述目标数据;若所述NVRAM不存在所述目标数据,则从所述闪存中读取所述目标数据。与每个存储通道连接的片选线与NVRAM和闪存串联,根据指令的类型进行不同的操作,实现对每个存储通道上串联的NVRAM和闪存的访问控制。In a possible design, in a fourth implementation manner of the third aspect of the embodiment of the present application, each chip select line is connected to one NVRAM, and the one NVRAM is further connected to a flash memory. The address or the type enables one or more memory channels in at least one memory channel, and one or more chip select lines in a plurality of chip select lines electrically connected to the one or more memory channels, including: If the type of the instruction is the type of a read operation instruction, the at least one storage channel and the one or more chip select lines are enabled, the read operation instruction is used to instruct reading of target data; The one or more storage channels and the one or more chip select lines, and the one or more storage medium particles electrically connected to the one or more chip select lines, particle interaction data, including: determining whether the NVRAM exists The target data; if the target data exists in the NVRAM, read the target data from the NVRAM; if the target data does not exist in the NVRAM, read the target from the flash memory data. The chip select line connected to each storage channel is connected in series with NVRAM and flash memory, and performs different operations according to the type of instruction to achieve access control to the NVRAM and flash memory connected in series on each storage channel.
在本申请实施例,在存储介质中引入非易失性随机访问存储器NVRAM,利用NVRAM性能高、读写寿命高、非易失性的特点,提升了混合存储设备的整体存储性能,提高了混合存储系统的效率。In the embodiment of the present application, a non-volatile random access memory NVRAM is introduced into the storage medium. Taking advantage of the characteristics of high performance, high read-write life and non-volatility of NVRAM, the overall storage performance of the hybrid storage device is improved, and the hybrid The efficiency of the storage system.
附图说明BRIEF DESCRIPTION
图1为现有的存储方案的存储结构示意图;Figure 1 is a schematic diagram of the storage structure of the existing storage scheme;
图2为本申请实施例中混合存储设备的一个结构示意图;2 is a schematic structural diagram of a hybrid storage device in an embodiment of the present application;
图3为本申请实施例中混合存储设备的另一个结构示意图;3 is another schematic structural diagram of a hybrid storage device in an embodiment of the present application;
图4为本申请实施例中混合存储设备的另一个结构示意图;4 is another schematic structural diagram of a hybrid storage device in an embodiment of the present application;
图5为本申请实施例中混合存储设备的另一个结构示意图;5 is another schematic structural diagram of a hybrid storage device in an embodiment of the present application;
图6为本申请实施例中接口的功能示意图;6 is a functional schematic diagram of an interface in an embodiment of this application;
图7为本申请实施例中接口控制存储介质颗粒的示意图;7 is a schematic diagram of the interface controlling storage medium particles in the embodiment of the present application;
图8为本申请实施例中混合存储系统的结构示意图;8 is a schematic structural diagram of a hybrid storage system in an embodiment of this application;
图9为本申请实施例中混合存储设备的访问方法的一个流程示意图。FIG. 9 is a schematic flowchart of an access method of a hybrid storage device in an embodiment of this application.
具体实施方式detailed description
本申请实施例提供了一种混合存储设备及访问方法,用于提升了存储设备的整体存储性能。The embodiments of the present application provide a hybrid storage device and an access method, which are used to improve the overall storage performance of the storage device.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments.
本申请文件中提及的“第一”或“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。此外,本申请文件中提及的“包括”或“具有”及其任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The "first" or "second" mentioned in this application document is used to distinguish similar objects, and does not have to be used to describe a specific order or sequence. In addition, the references to "including" or "having" and any variations thereof in this application document are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units need not be limited to Those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or equipment.
本申请应用于存储介质领域,本领域技术人员一直在研究和探索新的存储介质,期望它既有类似低功耗双重数据比率(low power double data rate,LPDDR)的高性能、高读写寿命,又有NAND的高密度(大容量)、非易失性等特点,即结合两者的优点于一身。电阻式随机访问存储器(resistive random access memory,ReRAM)、铁电体随机访问存储器(ferroelectric random access memory,FRAM)、磁阻式随机访问存储器(magnetic random access memory,MRAM)、相变存储器(phase change memory,PCM)(如3D Xpoint)、导电桥随机访问存储器(conductive-bridging random access memory,cbRAM)等新介质统称为非易失性随机访问存储器(non-volatile random access memory,NVRAM)。这些不同NVRAM介质,其工作原理并不相同,例如ReRAM,根据施加在金属氧化物上的不同电压,使材料的电阻处于高阻态和低阻态,从而记录“0”和“1”。又例如MRAM,其利用自由层和固定层磁化的方向不同所导致的磁电阻不同来记录“0”和“1”。又例如PCM,以3D Xpoint为例,通过给cell单元加热,改变存储单元的相位(晶态与非晶体),从而表达“0”和“1”。本申请对NVRAM的具体类型不做限定。需要说明的是,本申请实施例中涉及的闪存可以是NAND flash,还可以是NOR flash,为了便于理解,本申请实施例中以NAND flash为例进行说明,简称为NAND。This application is applied to the field of storage media, and those skilled in the art have been researching and exploring new storage media. It is expected that it will have high performance and high read and write life similar to low power double data rate (LPDDR) It also has the characteristics of high density (large capacity) and non-volatility of NAND, which combines the advantages of the two. Resistive random access memory (ReRAM), ferroelectric random access memory (ferroelectric random access memory, FRAM), magnetoresistive random access memory (magnetic random access memory (MRAM), phase change memory (phase RAM) Memory, PCM) (such as 3D Xpoint), conductive bridge random access memory (conductive-bridging random access memory, cbRAM) and other new media are collectively called non-volatile random access memory (non-volatile random access memory, NVRAM). The working principles of these different NVRAM media are different. For example, ReRAM, according to the different voltages applied to the metal oxide, makes the resistance of the material in a high resistance state and a low resistance state, thereby recording "0" and "1". Another example is MRAM, which uses different magnetoresistances caused by different magnetization directions of the free layer and the fixed layer to record "0" and "1". Another example is PCM. Taking 3D Xpoint as an example, by heating the cell, the phase (crystalline and non-crystalline) of the memory cell is changed to express "0" and "1". This application does not limit the specific type of NVRAM. It should be noted that the flash memory involved in the embodiment of the present application may be NAND flash or NOR flash. For ease of understanding, the embodiment of the present application uses NAND flash as an example for description, which is simply referred to as NAND.
本申请提供了一种混合存储设备,请参阅图2,本申请实施例中混合存储设备200的一个实施例包括:接口201,用于将混合存储设备电连接至外部设备,并与外部设备交互数据;至少一个存储通道202,电连接至接口201,用于与接口201交互数据;多个片选线203,其中,每个片选线电连接至所述至少一个存储通道中的一个存储通道,用于与所述一个存储通道交互所述数据;多个存储介质颗粒204,其中每个存储介质颗粒电连接至一个片选线,用于与所述一个片选线交互所述数据;其中,所述多个存储介质颗粒204包括非易失性随机访问存储器NVRAM和闪存。可选地,混合存储设备还包括封装结构(图中未示出),用于封装所述至少一个存储通道202、多个片选线203和所述多个存储介质颗粒204。所述接口201用于将位于所述封装内部的所述多个存储介质颗粒204电连接至所述外部设备,以用于在所述多个存储介质颗粒204与外部设备间交互数据。该封装可采用现有的封装技术来实现。This application provides a hybrid storage device. Please refer to FIG. 2. An embodiment of the hybrid storage device 200 in the embodiment of the present application includes: an interface 201 for electrically connecting the hybrid storage device to an external device and interacting with the external device Data; at least one storage channel 202, electrically connected to the interface 201 for interacting with the interface 201; a plurality of chip select lines 203, wherein each chip select line is electrically connected to one of the at least one storage channel For exchanging the data with the one storage channel; a plurality of storage medium particles 204, wherein each storage medium particle is electrically connected to a chip select line for interacting with the data with the one chip select line; wherein The plurality of storage medium particles 204 include non-volatile random access memory NVRAM and flash memory. Optionally, the hybrid storage device further includes a packaging structure (not shown in the figure) for packaging the at least one storage channel 202, a plurality of chip selection lines 203, and the plurality of storage medium particles 204. The interface 201 is used to electrically connect the plurality of storage medium particles 204 located inside the package to the external device, for exchanging data between the plurality of storage medium particles 204 and the external device. The packaging can be implemented using existing packaging technology.
可以理解的是,电连接可以是物理的直接电连接,也可以通过场效应晶体(field effect transistor,FET)或其他元件实现电学电连接,具体此处不做限定。It can be understood that the electrical connection may be a physical direct electrical connection, or may be implemented by a field effect crystal (field effect transistor, FET) or other components, which is not specifically limited herein.
需要说明的是,接口201包括物理层设备和控制器;其中,物理层设备与外部设备交互数据,控制器用于使能至少一个存储通道中的一个或多个存储通道,以及用于使能与该 一个或多个存储通道电连接的一个或多个片选线,并通过所述一个或多个存储通道和所述一个或多个片选线与电连接至所述一个或多个片选线的一个或多个存储介质颗粒交互数据。It should be noted that the interface 201 includes a physical layer device and a controller; where the physical layer device and external devices exchange data, the controller is used to enable one or more storage channels in at least one storage channel, and is used to enable and One or more chip select lines electrically connected to the one or more memory channels, and electrically connected to the one or more chip selects through the one or more memory channels and the one or more chip select lines One or more storage media particles of the line exchange data.
本申请实施例,在存储介质中引入非易失性随机访问存储器NVRAM,利用NVRAM性能高、读写寿命高、非易失性的特点,实现了双倍速率同步动态随机存储器的扩展,提升了混合存储设备的整体存储性能,提高了混合存储系统的效率。In the embodiment of the present application, the nonvolatile random access memory NVRAM is introduced into the storage medium, and the double-rate synchronous dynamic random memory is expanded and improved by utilizing the characteristics of NVRAM with high performance, high read and write life, and non-volatility. The overall storage performance of the hybrid storage device improves the efficiency of the hybrid storage system.
需要说明的是,该混合存储设备提供一个对外接口201,例如,快速外设组件互连标准(peripheral component interconnect express,PCIe)接口,用于与片上系统(system on chip,SoC)的对接;也可以是其它接口,如UFS接口、通用串行总线(universal serial bus,USB)接口等,具体此处不做限定。NVRAM和NAND的访问均通过该接口完成通信,而NVRAM与NAND的内部架构有三种实现方案,分别称之为:1)通道选择方案;2)片选选择方案;和3)串联方案。下面对不同的方案分别进行介绍。It should be noted that the hybrid storage device provides an external interface 201, for example, a peripheral peripheral component interconnection (PCIe) interface for interfacing with a system on chip (SoC); also It may be other interfaces, such as UFS interface, universal serial bus (USB) interface, etc., which is not limited here. The access of NVRAM and NAND is completed through this interface, and the internal architecture of NVRAM and NAND has three implementation schemes, which are called: 1) channel selection scheme; 2) chip selection selection scheme; and 3) series scheme. The different schemes are introduced separately below.
在一种可行的实现方式中,如图3所示,当NVRAM与NAND的内部架构为通道选择方案时,闪存可以为NAND,至少一个存储通道202包括n个存储通道(CH1~CHn),其中,所述n个存储通道中包括m个第一存储通道(CH1~CHm)和n-m个第二存储通道(CHm+1~CHn),每个第一存储通道(CH1~CHm中任意一个)通过多个片选线中的j个第一片选线(CE1~CEj)分别连接j个NVRAM,每个第二存储通道(CHm+1~CHn中任意一个)通过多个片选线中的k个第二片选线(CE1~CEk)分别连接k个NAND,其中,所述n、所述m均为正整数,且所述n大于所述m,所述j、所述k均为正整数。In a feasible implementation, as shown in FIG. 3, when the internal architecture of NVRAM and NAND is a channel selection scheme, the flash memory may be NAND, and at least one storage channel 202 includes n storage channels (CH1 to CHn), where , The n storage channels include m first storage channels (CH1 ~ CHm) and nm second storage channels (CHm + 1 ~ CHn), each first storage channel (any one of CH1 ~ CHm) passes The j first chip selection lines (CE1 to CEj) in the multiple chip selection lines are connected to j NVRAMs respectively, and each second storage channel (any one of CHm + 1 to CHn) passes through k in the multiple chip selection lines A second chip selection line (CE1 to CEk) is connected to k NANDs respectively, wherein the n and the m are both positive integers, and the n is greater than the m, and the j and the k are positive Integer.
在该通道选择方案中,对于存储通道CH1~CHm而言,所连接的存储介质颗粒全部为NVRAM,且每个通道上均有j个片选线可以使能,即片选线CE1~CEj,最大可实现m×j个晶粒(Die)并发,在实际应用中需要根据性能要求与功耗约束进行权衡。对于存储通道CHm+1~CHn而言,所连接的介质全部为NAND,且每个通道上均有k个片选线可以使能,即片选线CE1~CEk,最大可实现(n-m)×k个Die并发,在实际应用中需要根据性能要求与功耗约束进行权衡。对于接口201而言(例如,可以是PCIe Controller),可以认为是挂接了两种不同的设备,即NVRAM设备和NAND设备,当需要访问NVRAM设备时,使能(Enable)通道CH1~CHm中的一个或多个通道,并关闭通道CHm+1~CHn。反之,当需要访问NAND设备时,使能CHm+1~CHn通道中的一个或多个通道,并关闭CH1~CHm通道。In this channel selection scheme, for the storage channels CH1 to CHm, the connected storage media particles are all NVRAM, and there are j chip select lines on each channel that can be enabled, that is, chip select lines CE1 to CEj, The maximum number of m × j die (Die) concurrency can be achieved. In practical applications, it is necessary to balance the performance requirements with the power consumption constraints. For the storage channels CHm + 1 ~ CHn, the connected media are all NAND, and there are k chip select lines on each channel to enable, that is, chip select lines CE1 ~ CEk, the maximum achievable (nm) × The k Dies are concurrent, and in actual applications, trade-offs need to be made based on performance requirements and power consumption constraints. For the interface 201 (for example, it can be a PCIe Controller), it can be considered that two different devices are attached, namely an NVRAM device and a NAND device. When access to the NVRAM device is required, the Enable channels CH1 to CHm are enabled. One or more channels, and close channels CHm + 1 ~ CHn. Conversely, when access to the NAND device is required, one or more channels in the CHm + 1 to CHn channels are enabled, and the CH1 to CHm channels are closed.
需要说明的是,Die就是IC未封装前的晶粒,是从硅晶片(wafer)上用激光切割下,将半导体晶圆(wafer)分割而成的小片(Die)。每一个Die就是一个独立的尚未封装的芯片,它可由一个或多个电路组成,但最终将被作为一个单位而封装起来成为我们常见的内存颗粒、中央处理器(central processing unit,CPU)等常见芯片。本实施例的一个Die对应于一个存储介质颗粒,即本申请实施例中的一个Die可以是一个NVRAM设备,也可以是一个NAND设备。It should be noted that Die is the die before the IC is not packaged. It is a small piece (Die) that is cut from a silicon wafer (wafer) by laser cutting and dividing the semiconductor wafer (wafer). Each Die is an independent unpackaged chip, which can be composed of one or more circuits, but will eventually be packaged as a unit to become our common memory particles, central processing unit (CPU) and other common chip. One Die in this embodiment corresponds to one storage medium particle, that is, one Die in this embodiment of the present application may be an NVRAM device or a NAND device.
本申请实施例的实现方式中,与同一个存储通道连接的片选线连接NVRAM或NAND,通过控制存储通道的使能和关闭,实现对存储通道上连接的NVRAM或NAND的访问控制。In the implementation manner of the embodiment of the present application, the chip selection line connected to the same storage channel is connected to NVRAM or NAND, and access control of the NVRAM or NAND connected to the storage channel is realized by controlling the enabling and closing of the storage channel.
在一种可行的实现方式中,如图4所示,当NVRAM与NAND的内部架构为片选选择方案 时,闪存可以为NAND,至少一个存储通道202包括n个存储通道(CH1~CHn),每个存储通道连接k个片选线,其中,k个片选线包括j个第一片选线(CE1~CEj)和k-j个第二片选线(CEj+1~CEk),所述n、所述j、所述k均为正整数,且所述k大于所述j;每个第一片选线(CE1~CEj中任意一个)连接一个NVRAM,每个第二片选线(CEj+1~CEk中任意一个)连接一个NAND。In a feasible implementation manner, as shown in FIG. 4, when the internal architecture of NVRAM and NAND is a chip selection option, the flash memory may be NAND, and at least one storage channel 202 includes n storage channels (CH1 to CHn), Each storage channel is connected to k chip selection lines, where k chip selection lines include j first chip selection lines (CE1 ~ CEj) and kj second chip selection lines (CEj + 1 ~ CEk), and the n , The j and the k are positive integers, and the k is greater than the j; each first chip selection line (any one of CE1 to CEj) is connected to one NVRAM, and each second chip selection line (CEj + 1 ~ CEk) Connect one NAND.
在该片选选择方案中,所有的存储通道,即通道CH1~CHn,都既连接有NVRAM,又连接有NAND两种存储介质颗粒。其中,第一片选线(CE1~CEj)对应连接NVRAM,第二片选线(CEj+1~CEk)对应连接NAND。对于NVRAM最大可实现n×j个Die并发,NAND最大可实现n×(k-j)个并发,在实际应用中需要根据性能要求与功耗约束进行权衡。对于接口201而言,可以认为是挂接了两种不同的设备,即NVRAM设备和NAND设备,当需要访问NVRAM设备时,使能通道CH1~CHn,同时使能第一片选线CE1~CEj,并关闭第二片选线CEj+1~CEk。反之,当需要访问NAND设备时,使能通道CH1~CHn,同时使能第二片选线CEj+1~CEk,并关闭第一片选线CE1~CEj。In this chip selection option, all storage channels, namely channels CH1 to CHn, are connected to both NVRAM and NAND storage media particles. Among them, the first chip selection line (CE1 ~ CEj) corresponds to NVRAM, and the second chip selection line (CEj + 1 ~ CEk) corresponds to NAND. For NVRAM, a maximum of n × j Die concurrency can be achieved, and for NAND, a maximum of n × (k-j) concurrency can be achieved. In practical applications, there is a trade-off between performance requirements and power consumption constraints. For the interface 201, it can be considered that two different devices are attached, namely NVRAM device and NAND device. When accessing the NVRAM device is enabled, the channels CH1 to CHn are enabled, and the first chip selection line CE1 to CEj are also enabled. , And close the second chip selection line CEj + 1 ~ CEk. Conversely, when access to the NAND device is required, the channels CH1 to CHn are enabled, the second chip selection lines CEj + 1 to CEk are simultaneously enabled, and the first chip selection lines CE1 to CEj are turned off.
本申请实施例的实现方式中,与同一个存储通道连接的第一片选线连接NVRAM,第二片选线连接NAND,通过控制与存储通道连接的第一片选线和第二片选线的使能,实现对存储通道上连接的NVRAM和NAND的访问控制。In the implementation of the embodiment of the present application, the first chip selection line connected to the same storage channel is connected to NVRAM, the second chip selection line is connected to NAND, and the first chip selection line and the second chip selection line connected to the storage channel are controlled by Enable the access control of NVRAM and NAND connected to the storage channel.
在一种可行的实现方式中,如图5所示,当NVRAM与NAND的内部架构为串联方案时,至少一个存储通道202包括n个存储通道(CH1~CHn),其中,每个存储通道连接j个片选线(CE1~CEj),所述n、所述j为正整数;每个片选线与一个NVRAM连接,且所述一个NVRAM进一步与一个闪存连接以连通所述每个片选线和所述一个闪存。In a feasible implementation, as shown in FIG. 5, when the internal architecture of NVRAM and NAND is a serial scheme, at least one storage channel 202 includes n storage channels (CH1 to CHn), where each storage channel is connected j chip selection lines (CE1 to CEj), where n and j are positive integers; each chip selection line is connected to one NVRAM, and the one NVRAM is further connected to one flash memory to connect each chip selection Line and the one flash memory.
在该串联方案中,所有存储通道,所有片选中都既有NVRAM,又有NAND。所有进入NAND的数据都需要先经过NVRAM,具体见图5。在该方案中,接口201需要实现三个基本功能,包括:1、对NVRAM的访问与管理;2、实现NVRAM与NAND之间的数据交互;3、对NAND的访问和管理,如图6所示。In this series connection scheme, all storage channels and all chip selections have both NVRAM and NAND. All data entering NAND needs to go through NVRAM first, as shown in Figure 5. In this solution, the interface 201 needs to implement three basic functions, including: 1. Access and management of NVRAM; 2. Realization of data interaction between NVRAM and NAND; 3. Access and management of NAND, as shown in FIG. 6 Show.
接口201向非易失性随机访问存储器NVRAM发送控制信号(Control Signal),通过数据(Data)总线实现对NVRAM的访问与管理。接口201还可以对NAND进行访问与管理,例如,进行垃圾回收(garbage collection,GC)等操作,需要接口201给NAND发送相关的控制指令(Control Signal)。实现NVRAM与NAND之间的数据交互,同样需要接口201给NVRAM和NAND发送控制信号(Control Signal),具体如图7。The interface 201 sends a control signal (Control Signal) to the nonvolatile random access memory NVRAM, and implements access and management to the NVRAM through the data bus. The interface 201 can also access and manage the NAND, for example, garbage collection (GC) and other operations, and the interface 201 needs to send related control commands (Control Signal) to the NAND. To realize the data interaction between NVRAM and NAND, interface 201 is also required to send a control signal (Control Signal) to NVRAM and NAND, as shown in FIG. 7.
对于混合存储介质的写操作指令,首先写入NVRAM中,再根据情况如数据冷热情况、NVRAM剩余空间等情况决定是否需要将数据写入NAND中。对于混合存储介质的读操作指令,首先在NVRAM中读取需要的数据,如果NVRAM中没有需要读取的数据则继续在NAND中读取需要的数据。For the write operation instruction of the mixed storage medium, it is first written into NVRAM, and then it is determined whether data needs to be written into NAND according to the conditions such as data cold and hot conditions, remaining space of NVRAM, etc. For the read operation instruction of the mixed storage medium, first read the required data in NVRAM, and if there is no data to be read in NVRAM, continue to read the required data in NAND.
需要说明的是,数据的冷热可以根据实际情况进行设置,例如,将短时间内经常访问的数据视为热数据,不经常访问的数据视为冷数据。具体的,为每一个数据设置一个访问次数,当一段时间内,数据的访问次数超过预先设置的阈值,则将该数据视为热数据,将热数据之外的数据视为冷数据。It should be noted that the cold and hot data can be set according to the actual situation. For example, data that is frequently accessed in a short time is regarded as hot data, and data that is not frequently accessed is regarded as cold data. Specifically, set a number of access times for each data. When the number of data access times exceeds a preset threshold within a period of time, the data is regarded as hot data, and data other than hot data is regarded as cold data.
本申请实施例的实现方式中,与每个存储通道连接的片选线与一个NVRAM和一个NAND串联,根据接收到的指令的类型进行不同的操作,实现对存储通道上串联的NVRAM和NAND的访问控制。In the implementation of the embodiment of the present application, the chip select line connected to each storage channel is connected in series with one NVRAM and one NAND, and different operations are performed according to the type of instruction received to realize the series connection of NVRAM and NAND on the storage channel Access control.
本申请实施例中混合存储设备除了用于诸如手机等移动终端设备上,还可以应用在包括平板电脑(pad)、笔记本(notebook)、服务器(server)等涉及多种混合介质应用的装置。In addition to being used on mobile terminal devices such as mobile phones, the hybrid storage device in the embodiment of the present application can also be applied to devices involving a variety of mixed media applications, including tablet computers, notebooks, and servers.
本申请提供了一种混合存储系统,请参阅图8,本申请实施例中混合存储系统800的一个实施例包括:混合存储设备801和外部设备802;其中,所述外部设备802包括非易失性控制器8021,电连接至所述混合存储设备801,并用于与所述混合存储设备801交互数据;混合存储设备801为上述实施例及任一实现方式中所述的混合存储设备。可选的,混合存储系统800还可以包括:易失性控制模块和易失性存储介质设备;所述易失性控制模块连接所述易失性存储介质设备。The present application provides a hybrid storage system. Please refer to FIG. 8. An embodiment of the hybrid storage system 800 in the embodiment of the present application includes: a hybrid storage device 801 and an external device 802; wherein, the external device 802 includes a non-volatile The sexual controller 8021 is electrically connected to the hybrid storage device 801 and used to exchange data with the hybrid storage device 801; the hybrid storage device 801 is the hybrid storage device described in the above embodiments and any implementation manner. Optionally, the hybrid storage system 800 may further include: a volatile control module and a volatile storage medium device; the volatile control module is connected to the volatile storage medium device.
请参阅图9,本申请实施例提供了一种混合存储设备的访问方法,应用在上述实施例及各个实现方式中涉及的混合存储设备,所述混合存储设备包括至少一个存储通道、多个片选线和多个存储介质颗粒,所述至少一个存储通道连接所述片选线,所述片选线连接所述存储介质,所述方法包括:901、接收外部设备发送的指令;902、确定指令指示的地址或指令的类型;903、根据地址或类型使能至少一个存储通道中的一个或多个存储通道、以及与一个或多个存储通道电连接的多个片选线中的一个或多个片选线,其中,多个片选线分别电连接至多个存储介质颗粒,多个存储介质颗粒包括非易失性随机访问存储器NVRAM和闪存(即根据地址或类型使能一个或多个存储介质颗粒);904、通过一个或多个存储通道和一个或多个片选线,与电连接至一个或多个片选线的一个或多个存储介质颗粒交互数据(与一个或多个存储介质颗粒做交互数据)。Referring to FIG. 9, an embodiment of the present application provides a method for accessing a hybrid storage device, which is applied to the hybrid storage device involved in the foregoing embodiments and various implementations. The hybrid storage device includes at least one storage channel and multiple slices. A line selection and a plurality of storage medium particles, the at least one storage channel is connected to the chip selection line, and the chip selection line is connected to the storage medium, the method includes: 901, receiving an instruction sent by an external device; 902, determining The address or type of the instruction indicated by the instruction; 903, one or more memory channels in at least one memory channel enabled according to the address or type, and one or more chip select lines electrically connected to the one or more memory channels or A plurality of chip select lines, wherein the plurality of chip select lines are electrically connected to a plurality of storage medium particles, the plurality of storage medium particles include non-volatile random access memory NVRAM and flash memory (that is, one or more are enabled according to the address or type Storage media particles); 904, through one or more storage channels and one or more chip select lines, and one electrically connected to one or more chip select lines A plurality of data storage media particles interact (with one or more storage media particles do interaction data).
需要说明的是,NVRAM与闪存(本申请实施例中为NAND)的内部架构不同,控制的方式也不同,具体过程如下:It should be noted that the internal structure of NVRAM and flash memory (NAND in the embodiment of the present application) is different, and the control method is also different. The specific process is as follows:
(1)当至少一个存储通道包括至少一个第一存储通道和至少一个第二存储通道,至少一个第一存储通道通过第一片选线连接NVRAM,至少一个第二存储通道通过第二片选线连接闪存时,即采用通道选择方案时:(1) When at least one storage channel includes at least one first storage channel and at least one second storage channel, at least one first storage channel is connected to NVRAM through a first chip select line, and at least one second storage channel is connected through a second chip select line When the flash memory is connected, that is, when the channel selection scheme is adopted:
若指令的地址为NVRAM的地址,则使能至少一个第一存储通道和与所述至少一个第一存储通道连接的片选线,并通过至少一个第一存储通道和与所述至少一个第一存储通道连接的片选线访问所述NVRAM;若指令的地址为闪存的地址,则使能至少一个第二存储通道和与所述至少一个第二存储通道连接的片选线,并通过至少一个第二存储通道和与所述至少一个第二存储通道连接的片选线访问所述闪存。If the address of the instruction is the address of NVRAM, at least one first storage channel and the chip select line connected to the at least one first storage channel are enabled, and through the at least one first storage channel and the at least one first The chip select line connected to the storage channel accesses the NVRAM; if the address of the instruction is the address of the flash memory, at least one second storage channel and the chip select line connected to the at least one second storage channel are enabled and pass through at least one A second storage channel and a chip select line connected to the at least one second storage channel access the flash memory.
(2)当至少一个存储通道连接有至少一个第一片选线和至少一个第二片选线,第一片选线连接NVRAM,第二片选线连接闪存时,即采用片选选择方案时:(2) When at least one storage channel is connected with at least one first chip selection line and at least one second chip selection line, the first chip selection line is connected to NVRAM, and the second chip selection line is connected to flash memory, that is, when the chip selection selection scheme is adopted :
若指令的地址为NVRAM的地址,则使能至少一个存储通道和至少一个第一片选线,并通过至少一个存储通道和至少一个第一片选线访问NVRAM;若指令的地址为闪存的地址,则使能至少一个存储通道和至少一个第二片选线,并通过至少一个存储通道和至少一个第 二片选线访问闪存。If the address of the instruction is the address of NVRAM, enable at least one storage channel and at least one first chip select line, and access NVRAM through at least one storage channel and at least one first chip select line; if the address of the instruction is the address of the flash memory , At least one storage channel and at least one second chip select line are enabled, and the flash memory is accessed through at least one storage channel and at least one second chip select line.
(3)当每个片选线与一个NVRAM连接,且一个NVRAM进一步与一个闪存连接时,即采用串联方案时:(3) When each chip select line is connected to a NVRAM, and a NVRAM is further connected to a flash memory, that is, when the series scheme is used:
若指令的类型为写操作指令的类型,则使能至少一个存储通道和一个或多个片选线,写操作指令用于指示写入目标数据;若NVRAM的剩余空间小于目标数据的大小,则在闪存上写入目标数据;若NVRAM的剩余空间大于或等于目标数据的大小,则判断目标数据是否为热数据;若目标数据为热数据,则在NVRAM上写入目标数据;若目标数据不为热数据,则在闪存上写入目标数据。If the type of the instruction is the type of the write operation instruction, at least one storage channel and one or more chip select lines are enabled. The write operation instruction is used to indicate the writing of target data; if the remaining space of NVRAM is less than the size of the target data, then Write the target data on the flash memory; if the remaining space of the NVRAM is greater than or equal to the size of the target data, determine whether the target data is hot data; if the target data is hot data, write the target data on the NVRAM; if the target data is not For hot data, the target data is written on the flash memory.
(4)当每个片选线与一个NVRAM连接,且一个NVRAM进一步与一个闪存连接时,即采用串联方案时:(4) When each chip select line is connected to a NVRAM, and a NVRAM is further connected to a flash memory, that is, when the series scheme is used:
若指令的类型为读操作指令的类型,则使能至少一个存储通道和一个或多个片选线,读操作指令用于指示读取目标数据;判断NVRAM是否存在目标数据;若NVRAM存在目标数据,则从NVRAM中读取目标数据;若NVRAM不存在目标数据,则从闪存中读取目标数据。If the type of the instruction is the type of the read operation instruction, at least one storage channel and one or more chip select lines are enabled. The read operation instruction is used to instruct to read the target data; determine whether the target data exists in NVRAM; if the target data exists in NVRAM , The target data is read from NVRAM; if there is no target data in NVRAM, the target data is read from flash memory.
本申请实施例,在存储介质中引入非易失性随机访问存储器NVRAM,利用NVRAM性能高、读写寿命高、非易失性的特点,提升了混合存储设备的整体存储性能,提高了系统的效率。In the embodiment of the present application, the nonvolatile random access memory NVRAM is introduced into the storage medium, and the characteristics of high performance, high read-write life and non-volatility of NVRAM are used to improve the overall storage performance of the hybrid storage device and improve the system effectiveness.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,设备(装置)和方法,可以通过其它的方式实现。例如,以上所描述的混合存储设备的实施例仅仅是示意性的,另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device (apparatus) and method may be implemented in other ways. For example, the embodiments of the hybrid storage device described above are only schematic. Another point, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling through some interfaces, devices or modules, or The communication connection may be electrical, mechanical or other forms.
本申请实施例中涉及的混合存储设备可以作为独立的产品销售或使用,还可以作为一个计算机的可读取存储介质。以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The hybrid storage device involved in the embodiments of the present application may be sold or used as an independent product, and may also be used as a computer-readable storage medium. The above is only the specific implementation of this application, but the scope of protection of this application is not limited to this, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

  1. 一种混合存储设备,其特征在于,包括:A hybrid storage device, including:
    接口,用于将所述混合存储设备电连接至外部设备,并与所述外部设备交互数据;An interface for electrically connecting the hybrid storage device to an external device and exchanging data with the external device;
    至少一个存储通道,电连接至所述接口,用于与所述接口交互所述数据;At least one storage channel, electrically connected to the interface, for interacting with the interface to the data;
    多个片选线,其中,每个片选线电连接至所述至少一个存储通道中的一个存储通道,用于与所述一个存储通道交互所述数据;A plurality of chip selection lines, wherein each chip selection line is electrically connected to one of the at least one storage channel, and is used to interact with the one storage channel for the data;
    多个存储介质颗粒,其中每个存储介质颗粒电连接至一个片选线,用于与所述一个片选线交互所述数据;A plurality of storage medium particles, wherein each storage medium particle is electrically connected to a chip selection line, and is used to interact with the one chip selection line for the data;
    其中,所述多个存储介质颗粒包括非易失性随机访问存储器NVRAM和闪存。Wherein, the plurality of storage medium particles include non-volatile random access memory NVRAM and flash memory.
  2. 根据权利要求1所述的混合存储设备,其特征在于,The hybrid storage device according to claim 1, wherein:
    所述至少一个存储通道包括n个存储通道,其中,所述n个存储通道中包括m个第一存储通道和n-m个第二存储通道,每个第一存储通道通过所述多个片选线中的j个第一片选线分别连接j个NVRAM,每个第二存储通道通过所述多个片选线中的k个第二片选线分别连接k个闪存,其中,所述n、所述m均为正整数,且所述n大于所述m,所述j、所述k均为正整数。The at least one storage channel includes n storage channels, wherein the n storage channels include m first storage channels and nm second storage channels, and each first storage channel passes through the plurality of chip select lines The j first chip selection lines in the are respectively connected to j NVRAMs, and each second storage channel is respectively connected to k flash memories through the k second chip selection lines in the plurality of chip selection lines, wherein, the n, Both m are positive integers, and n is greater than m, and j and k are both positive integers.
  3. 根据权利要求1所述的混合存储设备,其特征在于,The hybrid storage device according to claim 1, wherein:
    所述至少一个存储通道包括n个存储通道,每个存储通道连接所述多个片选线中的k个片选线,其中,所述k个片选线包括j个第一片选线和k-j个第二片选线,所述n、所述j、所述k均为正整数,且所述k大于所述j;每个第一片选线连接一个NVRAM,每个第二片选线连接一个闪存。The at least one storage channel includes n storage channels, and each storage channel is connected to k chip selection lines of the plurality of chip selection lines, where the k chip selection lines include j first chip selection lines and kj second chip selection lines, the n, j, and k are all positive integers, and the k is greater than the j; each first chip selection line is connected to one NVRAM, and each second chip selection line The cable is connected to a flash memory.
  4. 根据权利要求1所述的混合存储设备,其特征在于,The hybrid storage device according to claim 1, wherein:
    所述至少一个存储通道包括n个存储通道,其中,每个存储通道连接所述多个片选线中的j个片选线,所述n、所述j为正整数;每个片选线与一个NVRAM连接,且所述一个NVRAM进一步与一个闪存连接以连通所述每个片选线和所述一个闪存。The at least one storage channel includes n storage channels, where each storage channel is connected to j chip selection lines of the plurality of chip selection lines, and n and j are positive integers; each chip selection line It is connected to one NVRAM, and the one NVRAM is further connected to a flash memory to connect each chip select line and the one flash memory.
  5. 一种混合存储系统,其特征在于,包括:A hybrid storage system, including:
    如权利要求1-4任一项所述的混合存储设备和所述外部设备,其中,所述外部设备包括非易失性控制器,电连接至所述混合存储设备,并用于与所述混合存储设备交互所述数据。The hybrid storage device and the external device according to any one of claims 1 to 4, wherein the external device includes a non-volatile controller electrically connected to the hybrid storage device and used for mixing with the hybrid storage device The storage device interacts with the data.
  6. 一种混合存储设备的访问方法,其特征在于,包括:A method for accessing a hybrid storage device, which includes:
    接收外部设备发送的指令;Receive instructions sent by external equipment;
    确定所述指令指示的地址或所述指令的类型;Determine the address indicated by the instruction or the type of the instruction;
    根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所 述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,其中,多个片选线分别电连接至多个存储介质颗粒,所述多个存储介质颗粒包括非易失性随机访问存储器NVRAM和闪存;Enabling one or more memory channels in at least one memory channel and one or more chip select lines in electrical connection with the one or more memory channels according to the address or the type , Wherein the plurality of chip selection lines are electrically connected to a plurality of storage medium particles, the plurality of storage medium particles including non-volatile random access memory NVRAM and flash memory;
    通过所述一个或多个存储通道和所述一个或多个片选线,与电连接至所述一个或多个片选线的一个或多个存储介质颗粒交互数据。Through the one or more storage channels and the one or more chip select lines, data is exchanged with one or more storage medium particles electrically connected to the one or more chip select lines.
  7. 根据权利要求6所述的混合存储设备的访问方法,其特征在于,所述至少一个存储通道包括至少一个第一存储通道和至少一个第二存储通道,所述至少一个第一存储通道通过第一片选线连接所述NVRAM,所述至少一个第二存储通道通过第二片选线连接所述闪存,所述根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,包括:The access method of the hybrid storage device according to claim 6, wherein the at least one storage channel includes at least one first storage channel and at least one second storage channel, and the at least one first storage channel passes through the first A chip select line is connected to the NVRAM, the at least one second storage channel is connected to the flash memory through a second chip select line, and the one or more storages in the at least one storage channel are enabled according to the address or the type The channel and one or more chip select lines among the plurality of chip select lines electrically connected to the one or more storage channels include:
    若所述指令的地址为所述NVRAM的地址,则使能所述至少一个第一存储通道和与所述至少一个第一存储通道连接的片选线,并通过所述至少一个第一存储通道和所述与所述至少一个第一存储通道连接的片选线访问所述NVRAM;If the address of the instruction is the address of the NVRAM, the at least one first storage channel and the chip select line connected to the at least one first storage channel are enabled and pass through the at least one first storage channel Accessing the NVRAM with the chip select line connected to the at least one first storage channel;
    若所述指令的地址为所述闪存的地址,则使能所述至少一个第二存储通道和与所述至少一个第二存储通道连接的片选线,并通过所述至少一个第二存储通道和所述与所述至少一个第二存储通道连接的片选线访问所述闪存。If the address of the instruction is the address of the flash memory, the at least one second storage channel and the chip select line connected to the at least one second storage channel are enabled and pass through the at least one second storage channel The chip select line connected to the at least one second storage channel accesses the flash memory.
  8. 根据权利要求6所述的混合存储设备的访问方法,其特征在于,所述至少一个存储通道连接有至少一个第一片选线和至少一个第二片选线,所述至少一个第一片选线连接所述NVRAM,所述至少一个第二片选线连接所述闪存,The access method of the hybrid storage device according to claim 6, wherein the at least one storage channel is connected with at least one first chip select line and at least one second chip select line, and the at least one first chip select line A line is connected to the NVRAM, and the at least one second chip select line is connected to the flash memory,
    所述根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,包括:Enabling one or more memory channels in at least one memory channel and one or more chips in a plurality of chip select lines electrically connected to the one or more memory channels according to the address or the type Line selection, including:
    若所述指令的地址为所述NVRAM的地址,则使能所述至少一个存储通道和所述至少一个第一片选线,并通过所述至少一个存储通道和所述至少一个第一片选线访问所述NVRAM;If the address of the instruction is the address of the NVRAM, the at least one storage channel and the at least one first chip select line are enabled, and through the at least one storage channel and the at least one first chip select Line access to the NVRAM;
    若所述指令的地址为所述闪存的地址,则使能所述至少一个存储通道和所述至少一个第二片选线,并通过所述至少一个存储通道和所述至少一个第二片选线访问所述闪存。If the address of the instruction is the address of the flash memory, the at least one storage channel and the at least one second chip select line are enabled, and through the at least one storage channel and the at least one second chip select Line access to the flash memory.
  9. 根据权利要求6所述的混合存储设备的访问方法,其特征在于,每个片选线与一个NVRAM连接,且所述一个NVRAM进一步与一个闪存连接,The access method of the hybrid storage device according to claim 6, wherein each chip select line is connected to one NVRAM, and the one NVRAM is further connected to a flash memory,
    所述根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,包括:Enabling one or more memory channels in at least one memory channel and one or more chips in a plurality of chip select lines electrically connected to the one or more memory channels according to the address or the type Line selection, including:
    若所述指令的类型为写操作指令的类型,则使能所述至少一个存储通道和所述一个或多个片选线,所述写操作指令用于指示写入目标数据;If the type of the instruction is the type of a write operation instruction, the at least one storage channel and the one or more chip select lines are enabled, and the write operation instruction is used to instruct writing of target data;
    所述通过所述一个或多个存储通道和所述一个或多个片选线,与电连接至所述一个或多个片选线的一个或多个存储介质颗粒交互数据,包括:The data interaction with the one or more storage media particles electrically connected to the one or more chip select lines through the one or more storage channels and the one or more chip select lines includes:
    若所述NVRAM的剩余空间小于所述目标数据的大小,则在所述闪存上写入所述目标数 据;If the remaining space of the NVRAM is smaller than the size of the target data, write the target data on the flash memory;
    若所述NVRAM的剩余空间大于或等于所述目标数据的大小,则判断所述目标数据是否为热数据;If the remaining space of the NVRAM is greater than or equal to the size of the target data, it is determined whether the target data is hot data;
    若所述目标数据为所述热数据,则在所述NVRAM上写入所述目标数据;If the target data is the hot data, write the target data on the NVRAM;
    若所述目标数据不为所述热数据,则在所述闪存上写入所述目标数据。If the target data is not the hot data, write the target data on the flash memory.
  10. 根据权利要求6所述的混合存储设备的访问方法,其特征在于,每个片选线与一个NVRAM连接,且所述一个NVRAM进一步与一个闪存连接,The access method of the hybrid storage device according to claim 6, wherein each chip select line is connected to one NVRAM, and the one NVRAM is further connected to a flash memory,
    所述根据所述地址或所述类型使能至少一个存储通道中的一个或多个存储通道、以及与所述一个或多个存储通道电连接的多个片选线中的一个或多个片选线,包括:Enabling one or more memory channels in at least one memory channel and one or more chips in a plurality of chip select lines electrically connected to the one or more memory channels according to the address or the type Line selection, including:
    若所述指令的类型为读操作指令的类型,则使能所述至少一个存储通道和所述一个或多个片选线,所述读操作指令用于指示读取目标数据;If the type of the instruction is the type of a read operation instruction, the at least one storage channel and the one or more chip select lines are enabled, and the read operation instruction is used to instruct reading of target data;
    所述通过所述一个或多个存储通道和所述一个或多个片选线,与电连接至所述一个或多个片选线的一个或多个存储介质颗粒交互数据,包括:The data interaction with the one or more storage media particles electrically connected to the one or more chip select lines through the one or more storage channels and the one or more chip select lines includes:
    判断所述NVRAM是否存在所述目标数据;Determine whether the target data exists in the NVRAM;
    若所述NVRAM存在所述目标数据,则从所述NVRAM中读取所述目标数据;If the target data exists in the NVRAM, read the target data from the NVRAM;
    若所述NVRAM不存在所述目标数据,则从所述闪存中读取所述目标数据。If the target data does not exist in the NVRAM, the target data is read from the flash memory.
PCT/CN2018/110359 2018-10-16 2018-10-16 Hybrid storage device and access method WO2020077518A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201880083843.9A CN111512374B (en) 2018-10-16 2018-10-16 Hybrid storage device and access method
EP18937498.6A EP3839954A4 (en) 2018-10-16 2018-10-16 Hybrid storage device and access method
PCT/CN2018/110359 WO2020077518A1 (en) 2018-10-16 2018-10-16 Hybrid storage device and access method
US17/231,383 US12032498B2 (en) 2021-04-15 Hybrid storage device and access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/110359 WO2020077518A1 (en) 2018-10-16 2018-10-16 Hybrid storage device and access method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/231,383 Continuation US12032498B2 (en) 2021-04-15 Hybrid storage device and access method

Publications (1)

Publication Number Publication Date
WO2020077518A1 true WO2020077518A1 (en) 2020-04-23

Family

ID=70282912

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/110359 WO2020077518A1 (en) 2018-10-16 2018-10-16 Hybrid storage device and access method

Country Status (3)

Country Link
EP (1) EP3839954A4 (en)
CN (1) CN111512374B (en)
WO (1) WO2020077518A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835515B (en) * 2020-12-14 2022-06-17 联芸科技(杭州)有限公司 Method for expanding number of flash memory particles mounted on storage device and storage device
CN116244225A (en) * 2021-12-08 2023-06-09 华为技术有限公司 Storage medium, storage element, storage medium configuration method, and data transmission method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101473438A (en) * 2006-06-07 2009-07-01 微软公司 Hybrid memory device with single interface
CN103198039A (en) * 2013-04-19 2013-07-10 无锡云动科技发展有限公司 Data transmitting controller and hybrid storage device thereof
CN107039059A (en) * 2016-02-01 2017-08-11 三星电子株式会社 Memory package, includes its memory module and memory package operating method
CN107391397A (en) * 2011-09-30 2017-11-24 英特尔公司 Support the storage channel of nearly memory and remote memory access

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0630499A4 (en) * 1992-03-09 1996-07-24 Auspex Systems Inc High-performance non-volatile ram protected write cache accelerator system.
KR101515525B1 (en) * 2008-10-02 2015-04-28 삼성전자주식회사 Memory device and operating method of memory device
US10114746B2 (en) * 2010-10-14 2018-10-30 Micron Technology, Inc. Nonvolatile storage using low latency and high latency memory
KR101938210B1 (en) * 2012-04-18 2019-01-15 삼성전자주식회사 Operating method of memory systme including nand flash memory, variable resistance memory and controller
US9436600B2 (en) * 2013-06-11 2016-09-06 Svic No. 28 New Technology Business Investment L.L.P. Non-volatile memory storage for multi-channel memory system
CN103324578A (en) * 2013-06-20 2013-09-25 深圳市瑞耐斯技术有限公司 NAND flash memory device and random writing method thereof
US8874836B1 (en) * 2014-07-03 2014-10-28 Pure Storage, Inc. Scheduling policy for queues in a non-volatile solid-state storage
KR102447471B1 (en) * 2015-06-24 2022-09-27 삼성전자주식회사 Storage device including nonvolatile memory device
US9940980B2 (en) * 2016-06-30 2018-04-10 Futurewei Technologies, Inc. Hybrid LPDDR4-DRAM with cached NVM and flash-nand in multi-chip packages for mobile devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101473438A (en) * 2006-06-07 2009-07-01 微软公司 Hybrid memory device with single interface
CN107391397A (en) * 2011-09-30 2017-11-24 英特尔公司 Support the storage channel of nearly memory and remote memory access
CN103198039A (en) * 2013-04-19 2013-07-10 无锡云动科技发展有限公司 Data transmitting controller and hybrid storage device thereof
CN107039059A (en) * 2016-02-01 2017-08-11 三星电子株式会社 Memory package, includes its memory module and memory package operating method

Also Published As

Publication number Publication date
CN111512374B (en) 2022-11-11
EP3839954A4 (en) 2021-08-25
CN111512374A (en) 2020-08-07
EP3839954A1 (en) 2021-06-23
US20210232512A1 (en) 2021-07-29

Similar Documents

Publication Publication Date Title
TW201732597A (en) Data storage device and operating method thereof
KR20150070049A (en) Flash memory controller having dual mode pin-out
US11687477B2 (en) Signaling mechanism for bus inversion
CN104681077B (en) A kind of MRAM-NAND controllers and patch type solid state disk
US20130080693A1 (en) Hybrid memory device, computer system including the same, and method of reading and writing data in the hybrid memory device
CN108572798B (en) Storage device and method for performing snoop operation for fast data transmission
US11687403B2 (en) Semiconductor device with modified access and associated methods and systems
US11941249B2 (en) Memory device, host device and memory system comprising the memory device and host device
US9785584B2 (en) Data storage device and method thereof
US11763861B2 (en) Reduced pin status register
WO2020077518A1 (en) Hybrid storage device and access method
US11853219B2 (en) Storage controller having data prefetching control function, operating method of storage controller, and operating method of storage device
US11593031B2 (en) Operating method of host device and storage device using credit
TWI737703B (en) Nonvolatile memory module and method for operating a storage device
US11762553B2 (en) Runtime selection of memory devices and storage devices in a disaggregated memory system
US12032498B2 (en) Hybrid storage device and access method
CN107301872B (en) Method for operating semiconductor memory device
US20230229348A1 (en) Metadata implementation for memory devices
TW202018522A (en) Memory system
US20230145230A1 (en) Multiplexer
US20230244402A1 (en) Storage device and operating method of storage device
KR20140067400A (en) Memory system including flash memory, first buffer meory, and memory controller and method for operating thereof
EP4220374A1 (en) Storage device and operating method of storage device
US20230141861A1 (en) Data storage devices using non-volatile memory devices and operating methods thereof
US20230141682A1 (en) Memory controller, storage device, and operating method of storage device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18937498

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018937498

Country of ref document: EP

Effective date: 20210316

NENP Non-entry into the national phase

Ref country code: DE