CN102323913B - Data readout method and system for solid state disk - Google Patents
Data readout method and system for solid state disk Download PDFInfo
- Publication number
- CN102323913B CN102323913B CN201110256556.3A CN201110256556A CN102323913B CN 102323913 B CN102323913 B CN 102323913B CN 201110256556 A CN201110256556 A CN 201110256556A CN 102323913 B CN102323913 B CN 102323913B
- Authority
- CN
- China
- Prior art keywords
- data
- module
- read
- control module
- error correction
- 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.)
- Expired - Fee Related
Links
- 239000007787 solid Substances 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000000151 deposition Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Detection And Correction Of Errors (AREA)
Abstract
The invention discloses a data readout system for a solid state disk. The data readout system comprises a storage module for storing data and a reading control module for reading out the data from the storage module. The data readout system further comprises an error correction module, an output control module and a bus arbitration module, wherein the error correction module is used for receiving the data from the reading control module and performing error correction processing on the data; the output control module is used for receiving the data from the reading control module and controlling the output of the data; and the bus arbitration module is used for realizing requests of the error correction module and the output control module on accessing a bus and used for controlling the transmission of corrected data and uncorrected data. Accordingly, the data readout system disclosed by the invention can be used for effectively reducing delay in a reading operation process and increasing the readability of the solid state disk.
Description
Technical field
The present invention relates to technical field of memory, relate in particular to a kind of data read method and system of solid state hard disc.
Background technology
The error correction algorithm that is applied at present solid state hard disc is mainly BCH algorithm, writes data into solid hard-disc storage unit and carries out Bose-Chaudhuri-Hocquenghem Code before, produces BCH check code, and data and BCH check code are write to solid hard-disc storage unit simultaneously.During sense data, data are input to BCH code translator and carry out error correction computing, buffer memory sense data is in buffer unit simultaneously; When BCH code translator completes behind the position that error correction computing locates errors, data are read from buffer unit and carry out error correction, after error correction completes, the data after error correction are outputed to Installed System Memory unit.
Such scheme design is the main design proposal adopting in current solid hard disk, this scheme just has data output after must waiting correcting data error to complete, be that system need to be waited for that error correction completes just and can carry out data output, system need to postpone long time the same as error correction computing.In flowing water designed system, for continuous read operation, primary read operation needs latency delays, and follow-up operation does not need to wait for, can not reduce to a great extent system performance.If not continuous read operation, delay will clearly, can not be all continuous read operation, so in practical application, system performance can be because need to be waited for that error correction completes the delay bringing and reduces in practical application.
In summary,, obviously there is in actual use inconvenience and defect in the technology of existing solid state hard disc reading out data, so be necessary to be improved.
Summary of the invention
For above-mentioned defect, the object of the present invention is to provide a kind of data read method and system of solid state hard disc, can reduce the delay in read operation process, promote the performance of reading of solid state hard disc.
To achieve these goals, the invention provides a kind of data read-out system of solid state hard disc, comprise storage module and the read control module for data are read from described storage module for storage data, it is characterized in that, described system also comprises:
Correction module, for receiving data from described read control module, and processes described correcting data error;
Output control module, for receiving data from described read control module, and controls the output of described data;
Bus arbitration module, for realizing the request of the access bus of described correction module and output control module, controls error correction data and the not transmission of error correction data.
According to the data read-out system of solid state hard disc of the present invention, described correction module comprises:
Cache module, the data of reading for cushioning described read control module;
BCH computing unit, for calculating the errors present information of data in described cache module;
Error correction unit, for according to described error in data positional information to described correcting data error.
According to the data read-out system of right solid state hard disc of the present invention, described cache module comprises:
Caching control unit, for controlling the read-write of the data of buffer unit;
Buffer unit, the data of reading for temporarily depositing described read control module.
According to the data read-out system of right solid state hard disc of the present invention, described bus arbitration module according to the errors present information of described data, control described in error correction data not described in the data cover of error correction.
According to the data read-out system of right solid state hard disc of the present invention, described output control module is controlled the output of data according to the make-up time of described correction module.
The present invention provides a kind of data read method of solid state hard disc accordingly, system by the above realizes, described system comprises that described method comprises the steps: for the storage module of storage data and the read control module for data are read from described storage module
Receive sense data, described data are carried out to correction process;
Receive sense data, and control described data output;
Control error correction data and the not transmission of error correction data.
According to the data read method of solid state hard disc of the present invention, described reception sense data, the step of described data being carried out to correction process further comprises:
The data that described in buffered, read control module is read;
Calculate the errors present information of described data;
According to described error in data positional information to described correcting data error.
According to the data read method of solid state hard disc of the present invention, the data step that read control module is read described in described buffered further comprises:
Controlling described data writes or reads;
Store described data.
According to the data read method of solid state hard disc of the present invention, described control error correction data and not the transmitting step of error correction data further comprise:
Error correction data not described in the data cover of error correction described in controlling according to the errors present information of described data.
According to the data read method of solid state hard disc of the present invention, described reception sense data, and the step of controlling the output of described data further comprises:
According to the make-up time, control the output of data.
The present invention by carrying out two-way transmission when transmitting data, a kind ofly by correction module, data are carried out to correction process, separately lead up to the transmission that an output control module is controlled data be set, two paths of data finally via bus arbitration module controls by bus transfer to internal memory.When a circuit-switched data is carried out error correction, another circuit-switched data constantly transmits by output control module, when error correction completes, the transmission of this circuit-switched data also completes, two kinds of data are synthesized can obtain complete correct data, effectively reduce whereby the delay in read operation process, promote the performance of reading of solid state hard disc.
Accompanying drawing explanation
Fig. 1 is the structural representation of the data read-out system of solid state hard disc of the present invention;
Fig. 2 is the structural representation of data read-out system of the solid state hard disc of one embodiment of the invention;
Fig. 3 is the part-structure schematic diagram of the data read-out system of solid state hard disc of the present invention;
Fig. 4 is the process flow diagram of the data read method of solid state hard disc of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, the invention provides a kind of data read-out system 100 of solid state hard disc, it comprises:
Storage module 10, for storage data, this storage module 10 preferably adopts FLASH as basic storage element.
Read control module 20, for data are read from storage module 10, this read control module 20 is connected with storage module 10.Preferably, during read control module 20 sense data, data are sent to correction module 30 simultaneously and output control module 40 is processed.
Correction module 30, for receiving data from read control module 20, and carries out correction process to data.This correction module 30 can be complete the process of the inquiry of paired data error correction position calculation, correcting data error, the data after error correction and positional information are sent to bus arbitration module 50 simultaneously.
Output control module 40, for receiving data from read control module 20, and controls the output of described data.Output control module 40 can be controlled the output of data according to make-up time of 30 pairs of data of correction module, make whereby not error correction data and error correction data can keep synchronous transmission to bus arbitration module 50.
Bus arbitration module 50, for realizing the request of the access bus of correction module 30 and output control module 40, controls error correction data and the not transmission of error correction data.This bus arbitration module 50 is connected in internal memory 70 by bus 60, when it receives data, can control described in the data cover of error correction not error correction data according to the errors present information of data, and by bus 60, complete correct data is transferred in internal memory 70.It should be noted that, bus arbitration module 50 also can be first sent to internal memory 70 by error correction data not, then error correction data is transferred to the covering of carrying out correspondence position in internal memory 70.
In practical application of the present invention, data a BCH data cell output to after internal memory 70, the right of possession corporeal right of the data acquisition bus 60 of the errors present after error correction, error correction data is outputed to the correspondence position of Installed System Memory 70 before next BCH data unit data arrives, guarantee that whereby the data in internal memory 70 are exactly correct data.Whole data transmission procedure does not need to wait for yet, eliminates whereby the delay of waiting for that BCH error correction computing brings.
Fig. 2 is the structural drawing of another embodiment of the data read-out system 100 of solid state hard disc of the present invention, and in this embodiment, correction module 30 specifically comprises:
Cache module 31, for cushioning the data that read control module 20 is read, this cache module 31 specifically comprises caching control unit 311 and buffer unit 312, in conjunction with Fig. 3, wherein, caching control unit 311 is for controlling the read-write of the data of buffer unit 312, the data that buffer unit 312 is read for temporarily depositing read control module 20.
BCH computing unit 32, for calculating the errors present information of cache module 31 interior data, this module adopts BCH error correction algorithm to calculate the position of misdata, and errors present information is sent to error correction unit 33.
Error correction unit 33, for according to error in data positional information to described correcting data error.This module receives after the errors present information of data, according to the data in cache module 31, carries out error correction, and the data after error correction and Data Position information are sent to bus arbitration module 50.
For the work of controlling this path whether preferably, in the present invention, the path at output control module 50 places can arrange a gauge tap.When this closed-circuit working, its principle of work as previously mentioned, if close this path, also can normally work by system 100, and its course of work is as follows:
Read control module 20 is sense data from storage module 10, these data are sent to BCH computing unit 32 and buffer unit 312 simultaneously, when BCH computing unit 32 calculates after the errors present information of data, error correction unit 33 is read data and is carried out error correction from buffer unit 312, after completing, error correction all data are sent to internal memory 70, make whereby the present invention have two kinds of mode of operations, user can be according to different demand configurations.
Fig. 4 is the process flow diagram of the data read method of solid state hard disc of the present invention, and it is realized by system 100 as above, and the method specifically comprises the steps:
Step S401, correction module 30 receives sense data, and sense data is carried out, after correction process, error correction data is sent to bus arbitration module 50.In this step, Simultaneous Transmission of Data is to BCH computing unit 32 and buffer unit 312, carry out respectively the errors present information of computational data and the data that buffered read control module 20 is read, calculating is obtained after the errors present information of data, error correction unit 33 is according to described error in data positional information to correcting data error, and the data after error correction are sent to bus arbitration module 50.
Step S402, output control module 40 receives sense datas, and controls sense data and export bus arbitration module 50 to.Preferably, output control module 40 is controlled the output speed of data according to the make-up time, can guarantee whereby not error correction data and the transmission time of error correction data has kept synchronous, the time delay of minimizing read data.
Step S403, bus arbitration module 50 is controlled error correction data and the not transmission of error correction data, it can control the data that error correction data covers not error correction according to the errors present information of error correction data, and this process can complete in bus control module 50, also can in internal memory 70, complete.
It should be noted that, in step S401, the data step that read control module is read described in buffered further comprises: caching control unit 311 is controlled described data and write or read, buffer unit 312 storage datas.
In sum, the present invention by carrying out two-way transmission when transmitting data, by correction module, data are carried out to a correction process, separately lead up to the transmission that an output control module is controlled data is set, two paths of data finally via bus arbitration module controls by bus transfer to internal memory.When a circuit-switched data is carried out error correction, another circuit-switched data constantly transmits by output control module, when error correction completes, the transmission of this circuit-switched data also completes, two kinds of data are synthesized can obtain complete correct data, effectively reduce whereby the delay in read operation process, promote the performance of reading of solid state hard disc.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.
Claims (4)
1. the data read-out system of a solid state hard disc, comprise storage module and the read control module for data are read from described storage module for storage data, it is characterized in that, described system also comprises correction module, output control module and bus arbitration module, and data are sent to correction module to described read control module simultaneously and output control module is processed;
Described correction module, for receiving data from described read control module, and processes described correcting data error;
Described correction module comprises:
Cache module, the data of reading for cushioning described read control module;
BCH computing unit, for calculating the errors present information of data in described cache module;
Error correction unit, for according to described error in data positional information to described correcting data error;
Described output control module, for receiving data from described read control module, and controls the output of data according to the make-up time of described correction module;
Described bus arbitration module, for realizing the request of the access bus of described correction module and output control module, the data cover of controlling error correction according to the errors present information of described data is error correction data not.
2. the data read-out system of solid state hard disc according to claim 1, is characterized in that, described cache module comprises:
Caching control unit, for controlling the read-write of the data of buffer unit;
Buffer unit, the data of reading for temporarily depositing described read control module.
3. a data read method for solid state hard disc, realizes by the system as claimed in claim 1, it is characterized in that, described method comprises the steps:
The data that described in buffered, read control module is read;
Calculate the errors present information of described data;
According to described error in data positional information to described correcting data error;
Receive sense data, and according to the make-up time, control the output of data;
Error correction data not described in the data cover of error correction described in controlling according to the errors present information of described data.
4. the data read method of solid state hard disc according to claim 3, is characterized in that, the data step that read control module is read described in described buffered further comprises:
Controlling described data writes or reads;
Store described data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110256556.3A CN102323913B (en) | 2011-09-01 | 2011-09-01 | Data readout method and system for solid state disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110256556.3A CN102323913B (en) | 2011-09-01 | 2011-09-01 | Data readout method and system for solid state disk |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102323913A CN102323913A (en) | 2012-01-18 |
CN102323913B true CN102323913B (en) | 2014-08-20 |
Family
ID=45451657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110256556.3A Expired - Fee Related CN102323913B (en) | 2011-09-01 | 2011-09-01 | Data readout method and system for solid state disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102323913B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298572B (en) * | 2013-07-19 | 2018-01-26 | 杨凤兰 | A kind of error correction method, error correction device, master controller and error correction system |
CN108038016B (en) * | 2017-12-22 | 2021-01-01 | 湖南国科微电子股份有限公司 | Solid state disk error data processing method and device |
WO2020010604A1 (en) * | 2018-07-13 | 2020-01-16 | 华为技术有限公司 | Ssd data reading method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1952916A (en) * | 2006-11-28 | 2007-04-25 | 北京中星微电子有限公司 | An arbitration device and method for accessing internal storage |
CN101478314A (en) * | 2008-01-03 | 2009-07-08 | 中兴通讯股份有限公司 | Reed-solomon coder-decoder and decoding method thereof |
CN101794623A (en) * | 2009-06-01 | 2010-08-04 | 深圳市朗科科技股份有限公司 | Error correction device of storage device and method thereof |
-
2011
- 2011-09-01 CN CN201110256556.3A patent/CN102323913B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1952916A (en) * | 2006-11-28 | 2007-04-25 | 北京中星微电子有限公司 | An arbitration device and method for accessing internal storage |
CN101478314A (en) * | 2008-01-03 | 2009-07-08 | 中兴通讯股份有限公司 | Reed-solomon coder-decoder and decoding method thereof |
CN101794623A (en) * | 2009-06-01 | 2010-08-04 | 深圳市朗科科技股份有限公司 | Error correction device of storage device and method thereof |
Non-Patent Citations (2)
Title |
---|
"基于FPGA的固态硬盘控制器设计";欧阳科文;《中国优秀硕士学位论文全文数据库信息科技辑》;20100115;正文第15-50页、图3.1和图5.1 * |
欧阳科文."基于FPGA的固态硬盘控制器设计".《中国优秀硕士学位论文全文数据库信息科技辑》.2010,正文第15-50页、图3.1和图5.1. |
Also Published As
Publication number | Publication date |
---|---|
CN102323913A (en) | 2012-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11243889B2 (en) | Cache architecture for comparing data on a single page | |
US9015553B2 (en) | Data integrity in memory controllers and methods | |
JP5759623B2 (en) | Apparatus including memory system controller and associated method | |
TWI454909B (en) | Memory device, method and system to reduce the power consumption of a memory device | |
CN100538674C (en) | Be used for apparatus for transmitting data between storer | |
CN102841850B (en) | Reduce the method and system that solid state disk write is amplified | |
US20150212885A1 (en) | Error feedback and logging with memory on-chip error checking and correcting (ecc) | |
JP2010191638A (en) | Cache device | |
EP2972916B1 (en) | Memory latency management | |
CN102323913B (en) | Data readout method and system for solid state disk | |
US20120159050A1 (en) | Memory system and data transfer method | |
CN106469126A (en) | Process method and its storage control of I/O Request | |
US20130339583A1 (en) | Systems and methods for transferring data out of order in next generation solid state drive controllers | |
CN104239252A (en) | Data transmission method, device and system of data storage system | |
US9653185B2 (en) | Reducing error correction latency in a data storage system having lossy storage media | |
WO2012021847A3 (en) | Apparatus, system and method for caching data | |
CN104035903A (en) | Two-dimensional data access dynamic self-adapting method based on reconfigurable technology | |
US20150254188A1 (en) | Memory system and method of controlling memory system | |
US9465544B2 (en) | Method of processing data and system using the same | |
KR20140108787A (en) | Texture cache memory system of non-blocking for texture mapping pipeline and operation method of the texture cache memory | |
Jeong et al. | A technique to improve garbage collection performance for NAND flash-based storage systems | |
US20110191540A1 (en) | Processing read and write requests in a storage controller | |
KR20190050154A (en) | A data storage device | |
US20130046919A1 (en) | Non-volatile memory system | |
US20140250285A1 (en) | Inter-domain memory copy method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140820 |
|
CF01 | Termination of patent right due to non-payment of annual fee |