CN105005510A - Error correction protection architecture and method applied to resistive random access memory cache of solid state disk - Google Patents
Error correction protection architecture and method applied to resistive random access memory cache of solid state disk Download PDFInfo
- Publication number
- CN105005510A CN105005510A CN201510382445.5A CN201510382445A CN105005510A CN 105005510 A CN105005510 A CN 105005510A CN 201510382445 A CN201510382445 A CN 201510382445A CN 105005510 A CN105005510 A CN 105005510A
- Authority
- CN
- China
- Prior art keywords
- mapping table
- address
- buffer memory
- page
- management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The invention discloses an error correction protection architecture and method applied to the resistive random access memory cache of a solid state disk. The code length of a mapping table under coarse granularity management is the same as the code length of page cache data; in the data processing process, mapping table address information of which the access frequency is greater than a preset value in the mapping table under coarse granularity management is stored into a mapping table cache under fine granularity management; exchange data between the mapping table cache under fine granularity management and the mapping table under coarse granularity management is in units of pages; a page of mapping table information read out from the mapping table under coarse granularity management is completely put into the mapping table cache under fine granularity management, the posterior ten bits in an input logic address request are taken as offset bits, and the left bits in the input logic address are taken as index bits. According to the error correction protection architecture and method applied to the resistive random access memory cache of the solid state disk, the mapping table address information can be obtained and read out efficiently and reliably while the consumed redundant space is limited.
Description
Technical field
The invention belongs to nonvolatile memory resistance-variable storing device design field, relate to a kind of the error correction protection architecture and the method that are applied to solid state hard disc resistance-variable storing device buffer memory.
Background technology
Buffer memory in solid state hard disk system effectively can reduce the access of main frame to flash memory, the performance improving whole system is played an important role, there is large leakage current in traditional buffer memory based on dynamic RAM, power-off drop-out, the problems such as high quiescent dissipation, it is high that nonvolatile memory resistance-variable storing device has density, read or write speed is fast, the advantages such as low-power consumption, be considered to the desirable replacer of dynamic RAM in solid state hard disk system, but there is the problem of reliability in resistance-variable storing device, especially the resistance-variable storing device storer of cross array structure, along with the increase of array length, crosstalk can be increasing, integrity problem is more outstanding.
Along with the development of nonvolatile memory, nonvolatile memory is used to become practical as the buffer memory of External memory equipment, the user data of buffer memory is mainly deposited in typical buffer memory, other data such as map information (Physical page number is called for short PPN) and a small amount of firmware.
As everyone knows, memory devices only has user's bit error rate lower than 10
-15just can meet consumers' demand, although resistance-variable storing device buffer memory raw bit error rate is high, it can be made to meet the requirement of user's bit error rate by the protection of error correcting code.According to error correcting code encoding and decoding principle, code length more long code rate higher so error correcting code redundancy is less, and such as, bit error rate is 10
-4, adopt traditional galois field be 2 BCH encoding and decoding, need the redundancy of 30bit when code length is 4B, and same raw bit error rate, code length is that 4KB redundancy needs 416bit, so ecc code length its redundancy different differs greatly.
Summary of the invention
The object of the invention is to the shortcoming overcoming above-mentioned prior art; provide a kind of the error correction protection architecture and the method that are applied to solid state hard disc resistance-variable storing device buffer memory; this framework and method can obtain efficiently, reliably and read mapping table address information, and the redundant space consumed is limited.
For achieving the above object, the code length being applied to the mapping table of the management of coarseness in the error correction protection architecture of solid state hard disc resistance-variable storing device buffer memory of the present invention is identical with the code length of caching of page data, in data processing, mapping table address information access frequency in the mapping table of coarseness management being greater than preset value is stored in the mapping table buffer memory of fine granularity management, the entry of the mapping table of a coarseness management is spelled by 1024 address mapping table and is formed, each entry in the mapping table buffer memory of fine granularity management all comprises the error correcting code redundancy of a map information and a map information,
Exchange data between the mapping table that the mapping table buffer memory of fine granularity management and coarseness manage are in units of page, one page map information read in the mapping table managed from coarseness is all placed in the mapping table buffer memory of fine granularity management, wherein, one page map information is spliced by 1024 map information, using input logical address request in rear 10 as bits of offset, using input logical address in remaining bit as index bit.
The error correction guard method being applied to solid state hard disc resistance-variable storing device buffer memory of the present invention comprises the following steps:
The logical address request of input is divided into index bit and bits of offset, the mapping table buffer memory of fine granularity management is searched by index bit, when the logical address request inputted hits in the mapping table buffer memory that fine granularity manages, then from the page comprising request map information, read corresponding mapping table address information according to the offset address request of input; When the logical address request inputted does not hit in the mapping table buffer memory that fine granularity manages, then from the mapping table of coarseness management, find out the page comprising request map information, when the mapping table of fine granularity management is cached with space, then direct will in the mapping table managed from coarseness read comprise request map information page, and by read comprise request map information page by fine granularity operating strategy write fine granularity management mapping table buffer memory in; Space is not had in the mapping table buffer memory of fine granularity management, last page in the mapping table buffer memory then fine granularity managed according to coarse-grained policies writes back in the mapping table of coarseness management, and then the page comprising request map information is write in the mapping table buffer memory of fine granularity management according to fine granularity operating strategy, finally from the page comprising request map information, read corresponding mapping table address information according to offset address request.
The mapping table buffer memory of fine granularity management can the mapping table address information of buffer memory multiple pages, wherein, the mapping table address information of every one page is flash memory physical address corresponding to 1024 continuous logic addresses, and the logical address that first flash memory physical address in the mapping table address information of every one page is corresponding is the logical address index of this page;
When the logical address request of accessing hits in the mapping table buffer memory that fine granularity manages, then obtain required address map information position according to the first address of storage address map information, the size of each address information entry and page bias internal in call number corresponding to index bit, resistance-variable storing device, wherein, the size of size × 1024 × call number+page bias internal × each address information entry of first address+each address information entry of storage address map information in required address map information position=resistance-variable storing device.
The size of each address information entry is made up of with the error correcting code of this address mapping information is superfluous an address mapping information.
Directory entry is stored into the static RAM of solid state hard disk system, cached data mapping table and mapping table buffer memory index array are stored in the SRAM of solid state hard disk system, and address mapping table information is stored in the outer buffer memory resistance-variable storing device of sheet of solid state hard disk system.
The present invention has following beneficial effect:
Of the present invention be applied to solid state hard disc resistance-variable storing device buffer memory error correction protection architecture and method when operating; the code length of the mapping table of coarseness management is identical with the code length of caching of page data; and mapping table address information larger for access frequency is stored in the mapping table of fine granularity management; the loss of great minimizing error correction redundancy, ensures the speed of mapping table access simultaneously.In addition, the entry of the mapping table of a coarseness management is spelled by 1024 address mapping table and is formed, exchange data between the mapping table simultaneously managed in mapping table buffer memory and the coarseness of fine granularity management are in units of page, one page map information is spliced by 1024 map information simultaneously, thus effectively improves the hit rate of mapping table buffer memory.To sum up, The present invention reduces error correcting code redundant space loss in mapping table and in turn ensure that speed, have remarkable lifting to overall solid state hard disk system performance.
Further, the logical address that first flash memory physical address in the mapping table address information of every one page is corresponding is the logical address index of this page, and the effective speed improving index, reduces the error rate of index.
Accompanying drawing explanation
Fig. 1 is structural drawing of the present invention;
Fig. 2 is process flow diagram of the present invention;
Fig. 3 is the management structure figure of the mapping table buffer memory of fine granularity management in the present invention;
Fig. 4 is the hybrid error correction protection solid state hard disk system Organization Chart of index array on sheet.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail:
With reference to figure 1, the code length being applied to the mapping table of the management of coarseness in the error correction protection architecture of solid state hard disc resistance-variable storing device buffer memory of the present invention is identical with the code length of caching of page data, in data processing, mapping table address information access frequency in the mapping table of coarseness management being greater than preset value is stored in the mapping table buffer memory of fine granularity management, the entry of the mapping table of a coarseness management is spelled by 1024 address mapping table and is formed, each entry in the mapping table buffer memory of fine granularity management all comprises the error correcting code redundancy of a map information and a map information, exchange data between the mapping table that the mapping table buffer memory of fine granularity management and coarseness manage are in units of page, one page map information read in the mapping table managed from coarseness is all placed in the mapping table buffer memory of fine granularity management, wherein, one page map information is spliced by 1024 map information, using input logical address request in rear 10 as bits of offset, using input logical address in remaining bit as index bit.
With reference to figure 2, the error correction guard method being applied to solid state hard disc resistance-variable storing device buffer memory of the present invention comprises the following steps:
The logical address request of input is divided into index bit and bits of offset, the mapping table of fine granularity management is searched by index bit, when the logical address request inputted hits in the mapping table buffer memory that fine granularity manages, then from the page comprising request map information, read corresponding mapping table address information according to the offset address request of input; When the logical address request inputted does not hit in the mapping table buffer memory that fine granularity manages, then from the mapping table of coarseness management, find out the page comprising request map information, when the mapping table of fine granularity management is cached with space, then direct will in the mapping table managed from coarseness read comprise request map information page, and by read comprise request map information page by fine granularity operating strategy write fine granularity management mapping table buffer memory in; Space is not had in the mapping table buffer memory of fine granularity management, last page in the mapping table buffer memory then fine granularity managed according to coarse-grained policies writes back in the mapping table of coarseness management, and then the page comprising request map information is write in the mapping table buffer memory of fine granularity management according to fine granularity operating strategy, finally from the page comprising request map information, read corresponding mapping table address information according to offset address request.
With reference to figure 3, the mapping table buffer memory of fine granularity management can the mapping table address information of buffer memory multiple pages, wherein, the mapping table address information of every one page is flash memory physical address corresponding to 1024 continuous logic addresses, and the logical address that first flash memory physical address in the mapping table address information of every one page is corresponding is the logical address index of this page, when the logical address request of accessing hits in the mapping table buffer memory that fine granularity manages, then corresponding according to index bit call number, the first address of storage address map information in resistance-variable storing device, the size of each address information entry, and page bias internal obtains required address map information position, wherein, the size of size × 1024 × call number+page bias internal × each address information entry of first address+each address information entry of storage address map information in required address map information position=resistance-variable storing device, the size of each address information entry is made up of the error correcting code redundancy of an address mapping information and this address mapping information.
With reference to figure 4, directory entry is stored into the static RAM of solid state hard disk system, cached data mapping table and mapping table buffer memory index array are stored in the SRAM of solid state hard disk system, and address mapping table information is stored in the outer buffer memory resistance-variable storing device of sheet of solid state hard disk system.
Claims (5)
1. one kind is applied to the error correction protection architecture of solid state hard disc resistance-variable storing device buffer memory, it is characterized in that, the code length of the mapping table of coarseness management is identical with the code length of caching of page data, in data processing, mapping table address information access frequency in the mapping table of coarseness management being greater than preset value is stored in the mapping table buffer memory of fine granularity management, the entry of the mapping table of a coarseness management is spliced by 1024 address mapping table, each entry in the mapping table buffer memory of fine granularity management all comprises the error correcting code redundancy of a map information and a map information,
Exchange data between the mapping table that the mapping table buffer memory of fine granularity management and coarseness manage are in units of page, one page map information read in the mapping table managed from coarseness is all placed in the mapping table buffer memory of fine granularity management, wherein, one page map information is spliced by 1024 map information, using input logical address request in rear 10 as bits of offset, using input logical address in remaining bit as index bit.
2. be applied to an error correction guard method for solid state hard disc resistance-variable storing device buffer memory, it is characterized in that, based on the error correction protection architecture being applied to solid state hard disc resistance-variable storing device buffer memory according to claim 1, comprise the following steps:
The logical address request of input is divided into index bit and bits of offset, the mapping table buffer memory of fine granularity management is searched by index bit, when the logical address request inputted hits in the mapping table buffer memory that fine granularity manages, then from the page comprising request map information, read corresponding mapping table address information according to the offset address request of input; When the logical address request inputted does not hit in the mapping table buffer memory that fine granularity manages, then from the mapping table of coarseness management, find out the page comprising request map information, when the mapping table of fine granularity management is cached with space, then direct from coarseness management mapping table read comprise request map information page, and by read comprise request map information page by fine granularity operating strategy write fine granularity management mapping table buffer memory in; Space is not had in the mapping table buffer memory of fine granularity management, last page in the mapping table buffer memory then fine granularity managed according to coarse-grained policies writes back in the mapping table of coarseness management, and then the page comprising request map information is write in the mapping table buffer memory of fine granularity management according to fine granularity operating strategy, finally from the page comprising request map information, read corresponding mapping table address information according to offset address request.
3. the error correction guard method being applied to solid state hard disc resistance-variable storing device buffer memory according to claim 2, is characterized in that,
The mapping table buffer memory of fine granularity management can the mapping table address information of buffer memory multiple pages, wherein, the mapping table address information of every one page is flash memory physical address corresponding to 1024 continuous logic addresses, and the logical address that first flash memory physical address in the mapping table address information of every one page is corresponding is the logical address index of this page;
When the logical address request of accessing hits in the mapping table buffer memory that fine granularity manages, then obtain required address map information position according to the first address of storage address map information, the size of each address information entry and page bias internal in call number corresponding to index bit, resistance-variable storing device, wherein, the size of size × 1024 × call number+page bias internal × each address information entry of first address+each address information entry of storage address map information in required address map information position=resistance-variable storing device.
4. the error correction guard method being applied to solid state hard disc resistance-variable storing device buffer memory according to claim 3, is characterized in that, the size of each address information entry is made up of the error correcting code redundancy of an address mapping information and this address mapping information.
5. the error correction guard method being applied to solid state hard disc resistance-variable storing device buffer memory according to claim 2; it is characterized in that; directory entry is stored into the static RAM of solid state hard disk system; cached data mapping table and mapping table buffer memory index array are stored in the SRAM of solid state hard disk system, and address mapping table information is stored in the outer buffer memory resistance-variable storing device of sheet of solid state hard disk system.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510382445.5A CN105005510B (en) | 2015-07-02 | 2015-07-02 | Error correction protection architecture and method applied to solid state disk resistance-variable storing device caching |
PCT/CN2015/098137 WO2017000517A1 (en) | 2015-07-02 | 2015-12-21 | Error correction protection architecture and method applied to resistive random access memory cache of solid state disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510382445.5A CN105005510B (en) | 2015-07-02 | 2015-07-02 | Error correction protection architecture and method applied to solid state disk resistance-variable storing device caching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105005510A true CN105005510A (en) | 2015-10-28 |
CN105005510B CN105005510B (en) | 2018-07-17 |
Family
ID=54378190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510382445.5A Active CN105005510B (en) | 2015-07-02 | 2015-07-02 | Error correction protection architecture and method applied to solid state disk resistance-variable storing device caching |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105005510B (en) |
WO (1) | WO2017000517A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017000517A1 (en) * | 2015-07-02 | 2017-01-05 | 西安交通大学 | Error correction protection architecture and method applied to resistive random access memory cache of solid state disk |
CN106681932A (en) * | 2016-11-14 | 2017-05-17 | 合肥兆芯电子有限公司 | Memory management method, memory control circuit unit and memory storage device |
CN108595349A (en) * | 2017-12-28 | 2018-09-28 | 贵阳忆芯科技有限公司 | The address conversion method and device of mass-memory unit |
CN109828931A (en) * | 2019-01-25 | 2019-05-31 | 深圳忆联信息系统有限公司 | A kind of DRAM debris management method and device thereof |
CN110109873A (en) * | 2019-05-08 | 2019-08-09 | 重庆大学 | A kind of file management method for message queue |
CN113450863A (en) * | 2021-07-09 | 2021-09-28 | 上海交通大学 | Method for resisting hard failure error of resistive symmetric memory |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063340A (en) * | 2011-01-19 | 2011-05-18 | 西安交通大学 | Method for improving fault-tolerant capability of high-speed cache of magnetoresistance RAM (Random Access Memory) |
CN102122959A (en) * | 2011-03-29 | 2011-07-13 | 西安交通大学 | Data compression device for improving main memory reliability of computer, and method thereof |
CN102279803A (en) * | 2011-04-13 | 2011-12-14 | 西安交通大学 | Spare area distribution method for enhancing storage reliability of multilayer unit NAND-Flash |
CN103425600A (en) * | 2013-08-23 | 2013-12-04 | 中国人民解放军国防科学技术大学 | Address mapping method for flash translation layer of solid state drive |
CN104166634A (en) * | 2014-08-12 | 2014-11-26 | 华中科技大学 | Management method of mapping table caches in solid-state disk system |
US20150052290A1 (en) * | 2013-08-13 | 2015-02-19 | SK Hynix Inc. | Data storage device and operating method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8024545B2 (en) * | 2007-10-19 | 2011-09-20 | Inha-Industry Partnership Institute | Efficient prefetching and asynchronous writing for flash memory |
CN103176916B (en) * | 2013-03-07 | 2016-03-09 | 中国科学院苏州纳米技术与纳米仿生研究所 | The address conversion method of flash memory and flash memory |
CN104268094B (en) * | 2014-09-23 | 2017-05-03 | 浪潮电子信息产业股份有限公司 | Optimized flash memory address mapping method |
CN105005510B (en) * | 2015-07-02 | 2018-07-17 | 西安交通大学 | Error correction protection architecture and method applied to solid state disk resistance-variable storing device caching |
-
2015
- 2015-07-02 CN CN201510382445.5A patent/CN105005510B/en active Active
- 2015-12-21 WO PCT/CN2015/098137 patent/WO2017000517A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063340A (en) * | 2011-01-19 | 2011-05-18 | 西安交通大学 | Method for improving fault-tolerant capability of high-speed cache of magnetoresistance RAM (Random Access Memory) |
CN102122959A (en) * | 2011-03-29 | 2011-07-13 | 西安交通大学 | Data compression device for improving main memory reliability of computer, and method thereof |
CN102279803A (en) * | 2011-04-13 | 2011-12-14 | 西安交通大学 | Spare area distribution method for enhancing storage reliability of multilayer unit NAND-Flash |
US20150052290A1 (en) * | 2013-08-13 | 2015-02-19 | SK Hynix Inc. | Data storage device and operating method thereof |
CN103425600A (en) * | 2013-08-23 | 2013-12-04 | 中国人民解放军国防科学技术大学 | Address mapping method for flash translation layer of solid state drive |
CN104166634A (en) * | 2014-08-12 | 2014-11-26 | 华中科技大学 | Management method of mapping table caches in solid-state disk system |
Non-Patent Citations (1)
Title |
---|
沈佐兵: "《固态硬盘设计中的关键技术研究》", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017000517A1 (en) * | 2015-07-02 | 2017-01-05 | 西安交通大学 | Error correction protection architecture and method applied to resistive random access memory cache of solid state disk |
CN106681932A (en) * | 2016-11-14 | 2017-05-17 | 合肥兆芯电子有限公司 | Memory management method, memory control circuit unit and memory storage device |
CN108595349A (en) * | 2017-12-28 | 2018-09-28 | 贵阳忆芯科技有限公司 | The address conversion method and device of mass-memory unit |
CN108595349B (en) * | 2017-12-28 | 2020-01-31 | 贵阳忆芯科技有限公司 | Address translation method and device for mass storage device |
CN109828931A (en) * | 2019-01-25 | 2019-05-31 | 深圳忆联信息系统有限公司 | A kind of DRAM debris management method and device thereof |
CN109828931B (en) * | 2019-01-25 | 2020-12-01 | 深圳忆联信息系统有限公司 | DRAM fragment management method and device thereof |
CN110109873A (en) * | 2019-05-08 | 2019-08-09 | 重庆大学 | A kind of file management method for message queue |
CN110109873B (en) * | 2019-05-08 | 2023-04-07 | 重庆大学 | File management method for message queue |
CN113450863A (en) * | 2021-07-09 | 2021-09-28 | 上海交通大学 | Method for resisting hard failure error of resistive symmetric memory |
CN113450863B (en) * | 2021-07-09 | 2024-09-10 | 上海交通大学 | Method for resisting hard failure error of resistive random access memory |
Also Published As
Publication number | Publication date |
---|---|
WO2017000517A1 (en) | 2017-01-05 |
CN105005510B (en) | 2018-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102333297B1 (en) | Compressed data and tagged cache | |
US10275310B2 (en) | Updating exclusive-or parity data | |
US10127166B2 (en) | Data storage controller with multiple pipelines | |
JP5604513B2 (en) | Method and apparatus for utilizing cache memory in a system that supports low power states | |
CN105005510A (en) | Error correction protection architecture and method applied to resistive random access memory cache of solid state disk | |
US10359954B2 (en) | Method and system for implementing byte-alterable write cache | |
US9235346B2 (en) | Dynamic map pre-fetching for improved sequential reads of a solid-state media | |
US8417914B2 (en) | Memory address translation | |
US20180173419A1 (en) | Hybrid ssd with delta encoding | |
EP3121703A1 (en) | Data caching method, cache and computer system | |
US20130318288A1 (en) | Method and system for data de-duplication | |
CN110018971B (en) | cache replacement technique | |
US20170206170A1 (en) | Reducing a size of a logical to physical data address translation table | |
US20100064095A1 (en) | Flash memory system and operation method | |
CN101645043A (en) | Methods for reading and writing data and memory device | |
CN103198021B (en) | A kind of method improving solid state disk data transmission efficiency | |
US11188467B2 (en) | Multi-level system memory with near memory capable of storing compressed cache lines | |
US11061598B2 (en) | Optimized handling of multiple copies in storage management | |
US10025664B2 (en) | Selective buffer protection | |
CN100492323C (en) | Method and apparatus for protecting caching content and caching controller thereof | |
KR101351550B1 (en) | Dual Buffer Architecture and Data Management for Non-Volatile based Main Memory | |
KR102589609B1 (en) | Snapshot management in partitioned storage | |
CN116225984A (en) | Address translation | |
US20220382452A1 (en) | Method To Use Flat Relink Table In HMB | |
CN104425039A (en) | Dynamic map pre-fetching for improved sequential reads of a solid-state media |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |