WO2019090657A1 - 一种存储器容错保护方法、装置、设备及存储介质 - Google Patents
一种存储器容错保护方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2019090657A1 WO2019090657A1 PCT/CN2017/110364 CN2017110364W WO2019090657A1 WO 2019090657 A1 WO2019090657 A1 WO 2019090657A1 CN 2017110364 W CN2017110364 W CN 2017110364W WO 2019090657 A1 WO2019090657 A1 WO 2019090657A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- stored data
- storage
- dimension
- matrix
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
Definitions
- FIG. 4 is a schematic structural diagram of a memory fault tolerance protection apparatus according to Embodiment 4 of the present invention.
- step S101 when a data write request is received, the storage data requested to be written into the storage is acquired, and the stored data is odd-even coded to obtain all the first parity bits of the stored data.
- the feature vector corresponding to the d eigenvalues, Y d is the data expression in the low dimensional space.
- the values on each column are the same, which is the mean of the dimensions corresponding to X. For example, for the M-dimensional data X, then Mean by each dimension composition.
- the obtained stored data is subjected to odd/even parity encoding to obtain all the second parity bits of the stored data.
- the first parity bit is the same as the second parity bit.
- the dimension-reduced data corresponding to the stored data is obtained from the storage, The data is restored after the dimensionality reduction to recover the undistorted high-dimensional data, and then the undistorted high-dimensional data obtained by the recovery is output, thereby improving the accuracy of reading the data.
- d feature values are selected from the feature values ⁇ i according to the dimension d after dimensionality reduction, d feature values are selected in the order of the largest value in the feature value ⁇ i , thereby improving the accuracy of subsequent calculations. Sex.
- the first encoding unit 41 is configured to: when receiving the data write request, acquire the storage data requested to be written into the storage, and perform odd/even parity encoding on the stored data to obtain all the first parity bits of the stored data.
- FIG. 5 shows the structure of a storage device according to Embodiment 5 of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Detection And Correction Of Errors (AREA)
Abstract
Description
Claims (10)
- 一种存储器容错保护方法,其特征在于,所述方法包括下述步骤:当接收到数据写入请求时,获取请求写入储存器的存储数据,对所述存储数据进行奇/偶校验编码,得到所述存储数据所有的第一奇偶校验位;使用主成分析法对所述存储数据进行降维,得到所述存储数据对应的降维后数据;将所述存储数据、所述所有的第一奇偶校验位以及所述降维后数据写入到所述储存器中。
- 如权利要求1所述的方法,其特征在于,所述方法还包括:当接收到数据读出请求时,从所述储存器获取所述数据读出请求对应的所述存储数据以及所述存储数据对应的所有的第一奇偶校验位;对所述存储数据进行奇/偶校验编码,得到所述存储数据所有的第二奇偶校验位;根据所述第一奇偶校验位和所述第二奇偶校验位,判断所述存储数据是否发生错误;当所述存储数据发生错误时,从所述储存器获取所述存储数据对应的降维后数据,对所述降维后数据进行数据恢复,并输出所述恢复得到的数据。
- 如权利要求2所述的方法,其特征在于,所述方法还包括:当所述存储数据未发生错误时,直接从所述储存器中获取所述存储数据并输出。
- 一种存储器容错保护装置,其特征在于,所述装置包括:第一编码单元,用于当接收到数据写入请求时,获取请求写入储存器的存储数据,对所述存储数据进行奇/偶校验编码,得到所述存储数据所有的第一奇偶校验位;数据降维单元,用于使用主成分析法对所述存储数据进行降维,得到所述存储数据对应的降维后数据;以及数据写入单元,用于将所述存储数据、所述所有的第一奇偶校验位以及所述降维后数据写入到所述储存器中。
- 如权利要求5所述的装置,其特征在于,所述装置还包括:数据获取单元,用于当接收到数据读出请求时,从所述储存器获取所述数据读出请求对应的所述存储数据以及所述存储数据对应的所有的第一奇偶校验位;第二编码单元,用于对所述存储数据进行奇/偶校验编码,得到所述存储数据所有的第二奇偶校验位;错误判断单元,用于根据所述第一奇偶校验位和所述第二奇偶校验位,判断所述存储数据是否发生错误;以及第一输出单元,用于当所述存储数据发生错误时,从所述储存器获取所述存储数据对应的降维后数据,对所述降维后数据进行数据恢复,并输出所述恢复得到的数据。
- 如权利要求6所述的装置,其特征在于,所述装置还包括:第二输出单元,用于当所述存储数据未发生错误时,直接从所述储存器中获取所述存储数据并输出。
- 如权利要求5所述的装置,其特征在于,所述数据降维单元包括:原始矩阵获取单元,用于获取所述存储数据对应的原始矩阵X,所述原始矩阵X为N*M矩阵,所述N为样本个数,所述M为样本维度;维度确定单元,用于获取所述协方差矩阵∑的特征值λi,计算所述特征值λi对应的特征向量ui对所述原始矩阵X的贡献率CR,根据所述贡献率CR确定降维后的维度d;以及降维矩阵获取单元,用于根据所述降维后的维度d从所述特征值λi中选择d个特征值,将所述原始矩阵X投影到所述d个特征值对应的线性子空间中,得到所述原始矩阵X对应的d维降维矩阵Yd。
- 一种存储设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至4任一项所述方法的步骤。
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至4任一项所述方法的步骤。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/110364 WO2019090657A1 (zh) | 2017-11-10 | 2017-11-10 | 一种存储器容错保护方法、装置、设备及存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/110364 WO2019090657A1 (zh) | 2017-11-10 | 2017-11-10 | 一种存储器容错保护方法、装置、设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019090657A1 true WO2019090657A1 (zh) | 2019-05-16 |
Family
ID=66438222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/110364 WO2019090657A1 (zh) | 2017-11-10 | 2017-11-10 | 一种存储器容错保护方法、装置、设备及存储介质 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2019090657A1 (zh) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123123A (zh) * | 2006-08-07 | 2008-02-13 | 富士通株式会社 | 能够改变纠错码码长的半导体存储装置 |
US20100174969A1 (en) * | 2008-12-31 | 2010-07-08 | Stmicroelectronics, Inc. | Error-locator-polynomial generation with erasure support |
CN102609677A (zh) * | 2011-01-21 | 2012-07-25 | 北京数字指通软件技术有限公司 | 一种基于指纹和纠错码的生物特征密码系统 |
CN103870808A (zh) * | 2014-02-27 | 2014-06-18 | 中国船舶重工集团公司第七一〇研究所 | 一种手指静脉识别方法 |
CN105991230A (zh) * | 2015-02-13 | 2016-10-05 | 瑞昱半导体股份有限公司 | 存储器控制模块与方法以及纠错码编/解码电路与方法 |
-
2017
- 2017-11-10 WO PCT/CN2017/110364 patent/WO2019090657A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123123A (zh) * | 2006-08-07 | 2008-02-13 | 富士通株式会社 | 能够改变纠错码码长的半导体存储装置 |
US20100174969A1 (en) * | 2008-12-31 | 2010-07-08 | Stmicroelectronics, Inc. | Error-locator-polynomial generation with erasure support |
CN102609677A (zh) * | 2011-01-21 | 2012-07-25 | 北京数字指通软件技术有限公司 | 一种基于指纹和纠错码的生物特征密码系统 |
CN103870808A (zh) * | 2014-02-27 | 2014-06-18 | 中国船舶重工集团公司第七一〇研究所 | 一种手指静脉识别方法 |
CN105991230A (zh) * | 2015-02-13 | 2016-10-05 | 瑞昱半导体股份有限公司 | 存储器控制模块与方法以及纠错码编/解码电路与方法 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9170898B2 (en) | Apparatus and methods for providing data integrity | |
KR101560077B1 (ko) | 데이터 무결성을 제공하기 위한 방법 및 장치 | |
EP2529305B1 (en) | System and method to correct data errors using a stored count of bit values | |
US9632863B2 (en) | Track error-correcting code extension | |
US11086712B2 (en) | Error recovery handling | |
US9881670B2 (en) | Soft information module | |
US20220365846A1 (en) | Integrated circuit and method of operating same | |
CN108021467B (zh) | 一种存储器容错保护方法、装置、设备及存储介质 | |
US11150813B2 (en) | Memory system | |
US20180203625A1 (en) | Storage system with multi-dimensional data protection mechanism and method of operation thereof | |
US9959166B2 (en) | Error correction for non-volatile memory | |
WO2015165202A1 (zh) | 一种基于汉明码存取数据的方法及集成随机存取存储器 | |
WO2019090657A1 (zh) | 一种存储器容错保护方法、装置、设备及存储介质 | |
US11962327B2 (en) | Iterative decoding technique for correcting DRAM device failures | |
CN108984340B (zh) | 存储器数据的容错保护方法、装置、设备及存储介质 | |
CN109032833B (zh) | 多位错误数据的纠正方法、装置、设备及存储介质 | |
WO2019232727A1 (zh) | 多位错误数据的纠正方法、装置、设备及存储介质 | |
CN110597656B (zh) | 一种二级缓存标记阵列的校验单错处理方法 | |
WO2019232721A1 (zh) | 存储器中数据读取的错误纠正方法、装置、设备及介质 | |
US11809272B2 (en) | Error correction code offload for a serially-attached memory device | |
US20210109808A1 (en) | Using Original Data as Soft Bit Information in a Decoder | |
US10558523B2 (en) | Computing system with data protection enhancement mechanism and method of operation thereof | |
KR20240039361A (ko) | 메모리 장치의 오류 정정 방법 및 장치 | |
JP5916204B2 (ja) | メモリ装置及びメモリパトロールによるデータ化け回避方法 | |
SOWJANYA et al. | Implementation of Systematic Error-Correcting Codes for Matching of Data Encoded |
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: 17931435 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17931435 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.11.2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17931435 Country of ref document: EP Kind code of ref document: A1 |