CN102323913A - Data readout method and system for solid state disk - Google Patents

Data readout method and system for solid state disk Download PDF

Info

Publication number
CN102323913A
CN102323913A CN201110256556A CN201110256556A CN102323913A CN 102323913 A CN102323913 A CN 102323913A CN 201110256556 A CN201110256556 A CN 201110256556A CN 201110256556 A CN201110256556 A CN 201110256556A CN 102323913 A CN102323913 A CN 102323913A
Authority
CN
China
Prior art keywords
data
module
error correction
read
solid state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110256556A
Other languages
Chinese (zh)
Other versions
CN102323913B (en
Inventor
朱从义
刘伟
贾宗铭
张耀辉
莫海锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ramaxel Technology Shenzhen Co Ltd
Original Assignee
Ramaxel Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ramaxel Technology Shenzhen Co Ltd filed Critical Ramaxel Technology Shenzhen Co Ltd
Priority to CN201110256556.3A priority Critical patent/CN102323913B/en
Publication of CN102323913A publication Critical patent/CN102323913A/en
Application granted granted Critical
Publication of CN102323913B publication Critical patent/CN102323913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

The data read method of solid state hard disc and system
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 to solid state hard disc at present mainly is the BCH algorithm, writes data into solid hard-disc storage unit and carries out Bose-Chaudhuri-Hocquenghem Code before, produces the BCH check code, writes solid hard-disc storage unit to data and BCH check code simultaneously.During sense data, be input to the BCH code translator to data and carry out the error correction computing, the buffer memory sense data is in buffer unit simultaneously; After the BCH code translator is accomplished the position that the error correction computing locates errors, from buffer unit, to read data and to carry out error correction, error correction outputs to the Installed System Memory unit to the data after the error correction after accomplishing.
The such scheme design is the main design proposal that adopts in the current solid hard disk; Data output after must waiting correcting data error to accomplish, this scheme is just arranged; Be that system need wait for that error correction is accomplished and just can carry out data output, system need postpone the same long time with the error correction computing.In the 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 system performance to a great extent.If not continuous read operation, delay will can not all be continuous read operation in the practical application, so in the practical application, system performance can be waited for the delay that the error correction completion brings and reduce because need clearly.
Can know that to sum up the technology of existing solid state hard disc reading of data obviously exists inconvenience and defective, so be necessary to improve on reality is used.
Summary of the invention
To above-mentioned defective, 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 the read operation process, promote the performance of reading of solid state hard disc.
To achieve these goals, the present invention provides a kind of data read-out system of solid state hard disc, comprises the storage module that is used for storage data and is used for reading control module to data from what said storage module was read, it is characterized in that said system also comprises:
Correction module is used for receiving data from the said control module of reading, and said correcting data error is handled;
Output control module is used for receiving data from the said control module of reading, and controls the output of said data;
The bus arbitration module is used to realize the request of the access bus of said correction module and output control module, control 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, said correction module comprises:
Cache module is used to cushion the said data that control module is read of reading;
The BCH computing unit is used to calculate the errors present information of data in the said cache module;
Error correction unit is used for according to said error in data positional information said correcting data error.
According to the data read-out system of right solid state hard disc of the present invention, said cache module comprises:
Caching control unit is used to control the data write of buffer unit;
Buffer unit is used for temporarily depositing the said data that control module is read of reading.
According to the data read-out system of right solid state hard disc of the present invention, said bus arbitration module covers said not error correction data according to the data of the said error correction of errors present information Control of said data.
According to the data read-out system of right solid state hard disc of the present invention, said output control module is according to the output of the make-up time control data of said correction module.
The present invention provides a kind of data read method of solid state hard disc accordingly; System through the above realizes; Said system comprises the storage module that is used for storage data and is used for reading control module to data from what said storage module was read that said method comprises the steps:
Receive sense data, said data are carried out correction process;
Receive sense data, and control said 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, said reception sense data, the step of said data being carried out correction process further comprises:
Buffered is said reads the data that control module is read;
Calculate the errors present information of said data;
According to said error in data positional information to said correcting data error.
According to the data read method of solid state hard disc of the present invention, said buffered is said to be read the data step that control module reads and further comprises:
Controlling said data writes or reads;
Store said data.
According to the data read method of solid state hard disc of the present invention, said control error correction data and not the transmitting step of error correction data further comprise:
Data according to the said error correction of errors present information Control of said data cover said not error correction data.
According to the data read method of solid state hard disc of the present invention, said reception sense data, and the step of controlling the output of said data further comprises:
Output according to the make-up time control data.
The present invention is through carrying out the two-way transmission when transmitting data; A kind ofly data are carried out correction process through correction module; Another road is through being provided with the transmission of an output control module control data, two paths of data finally via the bus arbitration module controls after bus transfer to internal memory.When a circuit-switched data is carried out error correction; Another circuit-switched data constantly transmits through output control module; When error correction was accomplished, the transmission of this circuit-switched data was also accomplished, and two kinds of data are synthesized can obtain complete proper data; Effectively reduce the delay in the read operation process whereby, promote the performance of reading of solid state hard disc.
Description of drawings
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 synoptic 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 the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification 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 is used for storage data, and this storage module 10 preferred FLASH that adopt are as basic storage element.
Read control module 20, be used for reading data from storage module 10, this is read control module 20 and is connected with storage module 10.Preferably, when reading control module 20 sense datas, data are sent to correction module 30 simultaneously handle with output control module 40.
Correction module 30 is used for receiving data from reading control module 20, and data is carried out correction process.This correction module 30 can be accomplished the data error correction bit is put the process of calculating inquiry, correcting data error, simultaneously data after the error correction and positional information is sent to bus arbitration module 50.
Output control module 40 is used for receiving data from reading control module 20, and controls the output of said data.Output control module 40 can be according to the output of the make-up time control data 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 is used to realize the request of the access bus of correction module 30 and output control module 40, control error correction data and the not transmission of error correction data.This bus arbitration module 50 is connected in internal memory 70 through bus 60, when it receives data, can cover said not error correction data according to the data of the errors present information Control of data error correction, and through bus 60 complete correct data is transferred in the internal memory 70.Need to prove that bus arbitration module 50 also can be earlier be sent to internal memory 70 with error correction data not, error correction data is transferred to the covering of carrying out correspondence position in the internal memory 70 again.
In the practical application of the present invention; After the data of a BCH data cell output to internal memory 70; The data of the errors present after the error correction obtain the right of possession corporeal right of bus 60; Before next BCH data unit data arrives, output to error correction data the correspondence position of Installed System Memory 70, guarantee that whereby the data in the internal memory 70 are exactly proper data.Whole data transmission procedure does not need to wait for yet, eliminates the delay of waiting for that BCH error correction computing brings whereby.
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 among this embodiment, correction module 30 specifically comprises:
Cache module 31; Be used to cushion and read the data that 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 used to control the data write of buffer unit 312, and buffer unit 312 is used for temporarily depositing reads the data that control module 20 is read.
BCH computing unit 32 is used to calculate the errors present information of data in the cache module 31, and this module adopts the 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 is used for according to the error in data positional information said correcting data error.This module is carried out error correction according to the data in the cache module 31 after receiving the errors present information of data, and data after the error correction and Data Position information are sent to bus arbitration module 50.
Preferably, the path at output control module 50 place can be provided with a CS among the present invention, and the work that is used to control this path whether.When this closed-circuit working, its principle of work as previously mentioned, if close this path, system 100 also can operate as normal, its course of work is following:
Read control module 20 sense data from storage module 10; These data are sent to BCH computing unit 32 and buffer unit 312 simultaneously; Calculate the errors present information of data when BCH computing unit 32 after, error correction unit 33 is read data and is carried out error correction from buffer unit 312, and error correction promptly sends to internal memory 70 to all data after accomplishing; Make the present invention have two kinds of mode of operations whereby, the user can dispose according to different demands.
Fig. 4 is the process flow diagram of the data read method of solid state hard disc of the present invention, and it realizes that through aforesaid system 100 this method specifically comprises the steps:
Step S401, correction module 30 receives sense data, and sense data is carried out after the correction process error correction data being sent to bus arbitration module 50.In this step; Data transfer to BCH computing unit 32 and buffer unit 312 simultaneously; Carry out the errors present information and the buffered of computational data respectively and read the data that control module 20 is read; After the errors present information of data was obtained in calculating, to the data error correction, the data after the error correction were sent to bus arbitration module 50 to error correction unit 33 according to said error in data positional information.
Step S402, output control module 40 receives sense data, and the control sense data exports bus arbitration module 50 to.Preferably, output control module 40 is according to the output speed of make-up time control data, can guarantee not error correction data whereby and the transmission time of error correction data has kept reducing the time delay of read data synchronously.
Step S403; Bus arbitration module 50 is controlled error correction data and the not transmission of error correction data; It can cover the data of not error correction according to the errors present information Control of error correction data error correction data, and this process promptly can be accomplished in bus control module 50, also can in internal memory 70, accomplish.
Need to prove that among the step S401, buffered is said to be read the data step that control module reads and further comprise: the said data of caching control unit 311 controls write or read, buffer unit 312 storage datas.
In sum; The present invention is through carrying out the two-way transmission when transmitting data; A kind ofly through correction module data are carried out correction process, another road is through being provided with the transmission of an output control module control data, two paths of data finally via the bus arbitration module controls after bus transfer to internal memory.When a circuit-switched data is carried out error correction; Another circuit-switched data constantly transmits through output control module; When error correction was accomplished, the transmission of this circuit-switched data was also accomplished, and two kinds of data are synthesized can obtain complete proper data; Effectively reduce the delay in the read operation process whereby, promote the performance of reading of solid state hard disc.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (10)

1. the data read-out system of a solid state hard disc comprises the storage module that is used for storage data and is used for reading control module to data from what said storage module was read, it is characterized in that said system also comprises:
Correction module is used for receiving data from the said control module of reading, and said correcting data error is handled;
Output control module is used for receiving data from the said control module of reading, and controls the output of said data;
The bus arbitration module is used to realize the request of the access bus of said correction module and output control module, control error correction data and the not transmission of error correction data.
2. the data read-out system of solid state hard disc according to claim 1 is characterized in that, said correction module comprises:
Cache module is used to cushion the said data that control module is read of reading;
The BCH computing unit is used to calculate the errors present information of data in the said cache module;
Error correction unit is used for according to said error in data positional information said correcting data error.
3. the data read-out system of solid state hard disc according to claim 2 is characterized in that, said cache module comprises:
Caching control unit is used to control the data write of buffer unit;
Buffer unit is used for temporarily depositing the said data that control module is read of reading.
4. the data read-out system of solid state hard disc according to claim 2 is characterized in that, said bus arbitration module covers said not error correction data according to the data of the said error correction of errors present information Control of said data.
5. the data read-out system of solid state hard disc according to claim 1 is characterized in that, said output control module is according to the output of the make-up time control data of said correction module.
6. the data read method of a solid state hard disc; Realize through the system of claim 1; Said system comprises the storage module that is used for storage data and is used for reading control module to data from what said storage module was read, it is characterized in that said method comprises the steps:
Receive sense data, said data are carried out correction process;
Receive sense data, and control said data output;
Control error correction data and the not transmission of error correction data.
7. the data read method of solid state hard disc according to claim 6 is characterized in that, said reception sense data, and the step of said data being carried out correction process further comprises:
Buffered is said reads the data that control module is read;
Calculate the errors present information of said data;
According to said error in data positional information to said correcting data error.
8. the data read method of solid state hard disc according to claim 7 is characterized in that, said buffered is said to be read the data step that control module reads and further comprise:
Controlling said data writes or reads;
Store said data.
9. the data read method of solid state hard disc according to claim 7 is characterized in that, said control error correction data and not the transmitting step of error correction data further comprise:
Data according to the said error correction of errors present information Control of said data cover said not error correction data.
10. the data read method of solid state hard disc according to claim 6 is characterized in that, said reception sense data, and the step of controlling the output of said data further comprises:
Output according to the make-up time control data.
CN201110256556.3A 2011-09-01 2011-09-01 Data readout method and system for solid state disk Active CN102323913B (en)

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 true CN102323913A (en) 2012-01-18
CN102323913B CN102323913B (en) 2014-08-20

Family

ID=45451657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110256556.3A Active 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298572A (en) * 2013-07-19 2015-01-21 杨凤兰 Error correction method, device and system
CN108038016A (en) * 2017-12-22 2018-05-15 湖南国科微电子股份有限公司 Solid state hard disc wrong data processing method and processing device
WO2020010604A1 (en) * 2018-07-13 2020-01-16 华为技术有限公司 Ssd data reading method and device

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
《中国优秀硕士学位论文全文数据库信息科技辑》 20100115 欧阳科文 "基于FPGA的固态硬盘控制器设计" 正文第15-50页、图3.1和图5.1 , *
欧阳科文: ""基于FPGA的固态硬盘控制器设计"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298572A (en) * 2013-07-19 2015-01-21 杨凤兰 Error correction method, device and system
CN104298572B (en) * 2013-07-19 2018-01-26 杨凤兰 A kind of error correction method, error correction device, master controller and error correction system
CN108038016A (en) * 2017-12-22 2018-05-15 湖南国科微电子股份有限公司 Solid state hard disc wrong data processing method and processing device
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

Also Published As

Publication number Publication date
CN102323913B (en) 2014-08-20

Similar Documents

Publication Publication Date Title
KR101080498B1 (en) Memory system and method having volatile and non-volatile memory devices at same hierarchical level
JP5759623B2 (en) Apparatus including memory system controller and associated method
US9996419B1 (en) Storage system with distributed ECC capability
US20140149706A1 (en) Storage device and data transfering method thereof
US20160342463A1 (en) Data protection in a namespace
US11513891B2 (en) Systems and methods for parity-based failure protection for storage devices
JP2014535104A (en) Flash memory controller and data transfer method between flash memories
US20090327481A1 (en) Adaptive data throttling for storage controllers
CN103502958A (en) Logical address translation
KR102107723B1 (en) Memory controller and operating method thereof
KR20060113248A (en) An apparatus and method for controlling nand flash memory
US20120159050A1 (en) Memory system and data transfer method
US20160170646A1 (en) Implementing enhanced performance flash memory devices
CN102521179A (en) Achieving device and achieving method of direct memory access (DMA) reading operation
RU2017118316A (en) METHOD FOR PROCESSING RECORD REQUEST, PROCESSOR AND COMPUTER
US20170147213A1 (en) Apparatus, System, and Method for Non-Volatile Data Storage and Retrieval
CN102323913B (en) Data readout method and system for solid state disk
WO2014202003A1 (en) Data transmission method, device and system of data storage system
US20130339583A1 (en) Systems and methods for transferring data out of order in next generation solid state drive controllers
US20210103517A1 (en) Operating method of memory system and host recovering data with write error
KR20060121566A (en) System and method for supporting non-volatile memory using on-the-fly error checking and correction(ecc) codec
US9653185B2 (en) Reducing error correction latency in a data storage system having lossy storage media
CN102521161B (en) Data caching method, device and server
Jeong et al. A technique to improve garbage collection performance for NAND flash-based storage systems
US20120144113A1 (en) Method of processing data and system using the same

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