JPH04205133A - disk controller - Google Patents
disk controllerInfo
- Publication number
- JPH04205133A JPH04205133A JP2328858A JP32885890A JPH04205133A JP H04205133 A JPH04205133 A JP H04205133A JP 2328858 A JP2328858 A JP 2328858A JP 32885890 A JP32885890 A JP 32885890A JP H04205133 A JPH04205133 A JP H04205133A
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- control device
- ecc
- error
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims description 19
- 239000004065 semiconductor Substances 0.000 claims description 9
- 238000007689 inspection Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000007493 shaping process Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 1
- 208000011580 syndromic disease Diseases 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、ディスク制御装置におけるデータの誤り検出
/訂正機能を用いて、半導体メモリの。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention utilizes a data error detection/correction function in a disk control device to detect and correct errors in a semiconductor memory.
データの信頼性を向上させる装置に関する。The present invention relates to a device for improving data reliability.
[従来の技術]
従来の技術は、例えば、HD64950S (日立製ハ
ード・ディスク・コントローラ)に記載のように、ディ
スク制御装置と記録媒体間のデータの信頼性を向上させ
るために、ディスク制御装置において、データ書込み時
、ホストコンピュータから送出されるブロック単位のパ
ラレルデータに対し、検査シンボルを生成し、データに
続けて、記録媒体に付加し、また、データ読出し時、記
録媒体から読出されるデータと検査シンボルから、デー
タに誤りがないかどうかをチエツクし、誤りが検出され
た場合、その誤りデータを訂正した後、データをホスト
コンピュータに転送していた。[Conventional technology] For example, as described in HD64950S (Hitachi hard disk controller), the conventional technology is to improve the reliability of data between the disk control device and the recording medium. , When writing data, a check symbol is generated for the block-by-block parallel data sent from the host computer and added to the recording medium following the data, and when reading data, it is added to the data read from the recording medium. The data is checked for errors based on the test symbols, and if an error is detected, the erroneous data is corrected and then the data is transferred to the host computer.
以下、従来技術を更に詳細に説明する。The prior art will be explained in more detail below.
第9図、第10図は、従来のディスク装置に使用されて
いるディスク制御装置の内部構成を示すブロック図であ
り、誤り検出/訂正部2(以下ECC部と称す)、ホス
トインタフェイス制御部3、ドライブインタフェイス制
御部4、バッファ制御部5、セレクタ6から成る。第9
図は、ホストコンピュータとハソファ7間のデータ転送
(以下、ホスト−バッファ転送と称す)と記録媒体とハ
ソファ7間のデータ転送(以下、ドライブ−バッファ転
送と称す)を同時に行う場合のデータの流れを示してお
り、第10図は、これら二つの転送を同時に行わない場
合を示している。9 and 10 are block diagrams showing the internal configuration of a disk control device used in a conventional disk device, including an error detection/correction section 2 (hereinafter referred to as ECC section), a host interface control section 3, a drive interface control section 4, a buffer control section 5, and a selector 6. 9th
The figure shows the data flow when data transfer between the host computer and the drive sofa 7 (hereinafter referred to as host-buffer transfer) and data transfer between the recording medium and the drive sofa 7 (hereinafter referred to as drive-buffer transfer) are performed simultaneously. FIG. 10 shows a case where these two transfers are not performed simultaneously.
従来のディスク制御装置1における記録媒体へのデータ
書込み時の動作を第11図、第14図を用いて、又、記
録媒体からのデータ読出し時の動作を第12図、第13
図を用いて説明する。The operation when writing data to a recording medium in the conventional disk control device 1 is shown in FIGS. 11 and 14, and the operation when reading data from a recording medium is shown in FIGS. 12 and 13.
This will be explained using figures.
(1)記録媒体へのデータ書込み時
ホストコンピュータから送出されるブロック単位のパラ
レルデータ(以下D A T A 23と称す)は、デ
ィスク制御装置1で、第11図のように、ホストインタ
フェイス制御部3からバッファ制御部5へ転送され、バ
ッファ7に格納される。その後、第14図のように、格
納されたDATA23はバッファ制御部5を介してドラ
イブインタフェイス制御部4に転送されるが、同時に、
ECC部2にも転送されてECC演算が行われ、検査シ
ンボル(以下ECC24と称す)か生成される。そして
、バッファ7から読出されたDATA23に続けて、E
CC24もドライブインタフェイス制御部4に転送され
、記録媒体上に、DATA23とECC24が記録され
る。(1) When writing data to a recording medium, block-based parallel data (hereinafter referred to as DATA 23) sent from the host computer is processed by the host interface control in the disk controller 1 as shown in FIG. The data is transferred from the unit 3 to the buffer control unit 5 and stored in the buffer 7. Thereafter, as shown in FIG. 14, the stored DATA 23 is transferred to the drive interface control section 4 via the buffer control section 5, but at the same time,
The signal is also transferred to the ECC unit 2, where ECC calculation is performed, and a check symbol (hereinafter referred to as ECC 24) is generated. Then, following DATA23 read from buffer 7, E
CC24 is also transferred to the drive interface control unit 4, and DATA23 and ECC24 are recorded on the recording medium.
(2)記録媒体からのデータ読出し時
記録媒体から読出されたDATA23とECC24は、
ディスク制御装置1のドライブインタフェイス制御部4
に転送される。そして、第12図のように、DATA2
3は、ドライブインタフェイス制御部4からバッファ制
御部5を介し、バッファ7に格納されるが、同時に、E
CC部2にも転送され、ECC演算が行われる。ECC
部2では、DATA23に続いて読出されるECC24
も入力され、DATA23の誤り検出が行われる。(2) When reading data from the recording medium, the DATA23 and ECC24 read from the recording medium are
Drive interface control section 4 of disk control device 1
will be forwarded to. Then, as shown in Figure 12, DATA2
3 is stored in the buffer 7 from the drive interface control section 4 via the buffer control section 5, but at the same time, E.
The data is also transferred to the CC unit 2, where ECC calculation is performed. E.C.C.
In part 2, the ECC 24 read following the DATA 23
is also input, and error detection of DATA23 is performed.
DATA23に誤りが検出された場合、バッファ7に格
納されている誤りデータの訂正を行う。そして、第13
図のように、DATA23はバッファ制御部5からホス
トインタフェイス制御部3を介し、ホストコンピュータ
に転送される。If an error is detected in the DATA 23, the error data stored in the buffer 7 is corrected. And the 13th
As shown in the figure, DATA 23 is transferred from the buffer control unit 5 to the host computer via the host interface control unit 3.
[発明が解決しようとする課題]
上記従来技術は、ディスク制御装置1と記録媒体間のデ
ータに対し、誤り検出/訂正機能を備えるものであるが
、ディスク制御装置1とバッファ間のデータに対しては
、誤り検出/訂正機能を備えていない。このため、仮に
データを格納しているバッファに誤動作が生じ、データ
に誤りが発生したとしても、これを検出する手段がない
ため、誤ったデータをそのままホストコンピュータに転
送してしまう危険性があり、ディスク装置1やディスク
装置1を含むシステム全体の信頼性が低下してしまう。[Problems to be Solved by the Invention] The above-mentioned conventional technology has an error detection/correction function for data between the disk control device 1 and the recording medium, but it has an error detection/correction function for data between the disk control device 1 and the buffer. does not have error detection/correction functionality. Therefore, even if a malfunction occurs in the buffer storing data and an error occurs in the data, there is no way to detect this, so there is a risk that the incorrect data will be transferred to the host computer as is. , the reliability of the disk device 1 and the entire system including the disk device 1 deteriorates.
そして、データをバッファに格納している時間が長くな
ればなるほど、バッファの誤動差によるデータの誤る確
率も高くなる。例えば、データバッファにキャッシュ機
能を搭載した場合、データを長時間に亘って格納すする
場合もあるので、デ−タの誤る確率も高くなってしまう
。The longer the time that data is stored in the buffer, the higher the probability that the data will be erroneous due to error differences in the buffer. For example, if a data buffer is equipped with a cache function, data may be stored for a long time, which increases the probability of data errors.
本発明の目的は、取扱うデータ、並びにディスク装置全
体の信頼性を高めることにある。An object of the present invention is to improve the reliability of the data handled and the entire disk device.
[課題を解決するための手段]
上記目的を達成するために、本発明では、データの誤り
検出/訂正機能をもつディスク制御装置において、ホス
トコンピュータから送出されるブロック単位のパラレル
データを、バッファに格納すると同時にFCCの演算を
行う手段を設け、更に、生成された検査シンボルをバッ
ファに書込む手段を設けた。更に、へソファからホスト
コンピュータ並びに記録媒体にデータを転送する際、ま
た、記録媒体から読出されるデータをFCCと共にバッ
ファに格納する際、転送するデータに誤りがないかどう
かをチエツクする手段と、データの誤りを検出した場合
、誤りデータを訂正する手段を具備した。[Means for Solving the Problems] In order to achieve the above object, in the present invention, in a disk control device having a data error detection/correction function, parallel data in blocks sent from a host computer is stored in a buffer. Means for performing FCC calculations at the same time as storage is provided, and furthermore, means for writing generated check symbols into a buffer is provided. Further, when transferring data from the sofa to the host computer and the recording medium, and when storing data read from the recording medium in a buffer together with the FCC, means for checking whether or not there are errors in the transferred data; When a data error is detected, a means is provided to correct the error data.
[作用コ
第1図、第2図は、本発明の技術的手段を備えたディス
ク制御装置1の内部構成を示すブロック図であり、誤り
検出/訂正部(以下ECC部と称す)2、ホストインタ
フェイス制御部3、ドライブインタフェイス制御部4、
バッファ制御部5から成り、第1図は、先に述へたホス
ト−バッファ転送とトライブーバッファ転送を同時に行
う場合、第2図はこれら二つの転送を同時に行わない場
合を示している。先に述へた技術的手段の動作について
説明する。第5図、第6図を用いて、ホスト ゛コ
ンピュータから、又は、記録媒体から、バッファへのデ
ータ書込み時の動作について説明し、第7図、第8図を
用いて、バッファからホストコンピュータ、又は、記録
媒体へのデータ読出し時の動作について説明する。[Operations] FIGS. 1 and 2 are block diagrams showing the internal configuration of a disk control device 1 equipped with the technical means of the present invention, which includes an error detection/correction section (hereinafter referred to as ECC section) 2, a host interface control section 3, drive interface control section 4,
It consists of a buffer control section 5, and FIG. 1 shows a case where the above-mentioned host-buffer transfer and tribo buffer transfer are performed simultaneously, and FIG. 2 shows a case where these two transfers are not performed simultaneously. The operation of the technical means described above will now be explained. Using FIGS. 5 and 6, the operation when writing data from the host computer or from the recording medium to the buffer will be explained, and using FIGS. Alternatively, the operation when reading data to a recording medium will be explained.
(1)バッファへのデータ書込み時
第5図はホストコンピュータからバッファへのデータ書
込み時の動作を示している。ホストコンピュータから送
出されるデータc以下DATA23と称す)はバッファ
制御部5を通してバッファに格納されると同時にECC
部2にも入力されECC演算が行われる。−ブロック全
てのDATA23が入力されるとECC部2において、
検査シンボル(以下ECC24と称す)が生成され、D
ATA23に続けてECC24もバッファ7に格納され
る。(1) When writing data to the buffer FIG. 5 shows the operation when writing data from the host computer to the buffer. Data (hereinafter referred to as DATA23) sent from the host computer is stored in the buffer through the buffer control unit 5, and at the same time it is ECC-coded.
The signal is also input to section 2 and ECC calculation is performed thereon. - When the DATA 23 of all blocks is input, the ECC unit 2
A check symbol (hereinafter referred to as ECC24) is generated and D
Following the ATA 23, the ECC 24 is also stored in the buffer 7.
また、第6図は記録媒体から読出されたDATA23と
ECC24のバッファ7への書込み時の動作を示してい
る。この際、DATA23とECC24はバッファ7に
格納されると同時にECC部2にも入力され、DATA
23に誤りがないかどうかをチエツクする。誤りが検出
された場合、バッファ7に格納されている誤りデータを
訂正する。Further, FIG. 6 shows the operation when writing the DATA 23 and ECC 24 read from the recording medium to the buffer 7. At this time, DATA23 and ECC24 are stored in the buffer 7 and are also input to the ECC unit 2, and the DATA23 and ECC24 are
Check whether there are any errors in 23. If an error is detected, the error data stored in the buffer 7 is corrected.
(2)バッファからのデータ読出し時
第7図並びに第8図は、それぞれ、ホストコンピュータ
、並びに記録媒体へのデータ送出時の動作を示している
。この際、第6図と同様に、バッファ7から読出される
DATA23とECC24はECC部2にも送出され、
誤り検出を行う。誤りが検出された場合、それぞれの転
送先で、誤りデータの修正を行う。(2) When reading data from the buffer FIGS. 7 and 8 show operations when data is sent to the host computer and the recording medium, respectively. At this time, similarly to FIG. 6, the DATA 23 and ECC 24 read from the buffer 7 are also sent to the ECC section 2,
Perform error detection. If an error is detected, the error data is corrected at each transfer destination.
[実施例コ
以下1本発明の一実施例として、先に述へた、ホスト−
バッファ転送とドライブ−バッファ転送を同時に行わな
い場合のディスク制御装置の動作について説明する。な
お、ここでは誤り訂正符号に、12バイトのリードソロ
モン符号を使用した場合を想定する。[Embodiment 1] As an embodiment of the present invention, the above-mentioned host
The operation of the disk control device when buffer transfer and drive-buffer transfer are not performed simultaneously will be described. Here, it is assumed that a 12-byte Reed-Solomon code is used as the error correction code.
第2図に示されるように、ディスク制御装置1は、狐り
検出/訂正部2(以下ECC部と称す)、ホストインタ
フェイス制御部3、ドライブインタフェイス制御部4、
バッファ制御部5、セレクタ6から成る。As shown in FIG. 2, the disk control device 1 includes a fox detection/correction section 2 (hereinafter referred to as ECC section), a host interface control section 3, a drive interface control section 4,
It consists of a buffer control section 5 and a selector 6.
ECC部2は、入力される複数バイ−トのDATA23
から、12バイトのECC24を生成し、ECCを出力
する。また、DATA23とECC24を入力すること
により、入力されたDATA23に誤りが生じているか
どうかを判定し、誤りが検出された場合、誤りデータの
訂正パターンを求める機能を備えている。The ECC unit 2 receives multiple bytes of input DATA23.
A 12-byte ECC24 is generated from the data, and the ECC is output. Furthermore, by inputting DATA 23 and ECC 24, it is determined whether or not an error has occurred in the input DATA 23, and if an error is detected, the function is provided to obtain a correction pattern for the error data.
次に、本発明の一実施例であるディスク制御装置の動作
について説明する。第3図はディスク制御装置1をもつ
ディスク装置9の内部構成を示すブロック図である。Next, the operation of the disk control device which is an embodiment of the present invention will be explained. FIG. 3 is a block diagram showing the internal configuration of the disk device 9 having the disk control device 1. As shown in FIG.
同図に見られるように、テ′イスク装置9は、ディスク
制御装置1、マイクロプロセッサ10.データバッファ
7、ホストインタフェイス制御装置11、シリアル/パ
ラレル変換回路12、記録再生回路13、記録媒体14
から成る。As seen in the figure, the disk device 9 includes a disk controller 1, a microprocessor 10. Data buffer 7, host interface control device 11, serial/parallel conversion circuit 12, recording/reproducing circuit 13, recording medium 14
Consists of.
第4図(a)は、記録再生回路13のデータ書込み時の
構成が示されており、符号化回路16゜書込みクロック
生成回路15、ヘットアンプ17、リード/ライトヘッ
ド18からなる。また、第4図(b)は、記録再生回路
13のデータ読出し時の構成が示されており、復号化回
路21、位相同期回路20.波形整形回路22、ヘッド
アンプ17、リード/ライトヘッド18から成る。FIG. 4(a) shows the configuration of the recording/reproducing circuit 13 at the time of data writing, which includes an encoding circuit 16.degree. write clock generation circuit 15, a head amplifier 17, and a read/write head 18. Further, FIG. 4(b) shows the configuration of the recording/reproducing circuit 13 at the time of data reading, in which the decoding circuit 21, the phase synchronization circuit 20, . It consists of a waveform shaping circuit 22, a head amplifier 17, and a read/write head 18.
ここで、第3図に示されるようなホストコンピュータ8
とディスク装置2間のデータ転送の経路を、先に述べた
誤り検出/訂正機能を中心に説明する。DATA23は
−ブロック512バイトであるものとし、ディスク制御
装置上内のD A T A23並びにF CC2−1の
転送は1ハイド単位で行われるものとする。Here, a host computer 8 as shown in FIG.
The data transfer path between the disk drive 2 and the disk drive 2 will be explained with a focus on the error detection/correction function described above. It is assumed that DATA 23 is a block of 512 bytes, and that the transfer of DATA 23 and FCC 2-1 on the disk controller is performed in units of 1 hide.
以下、第5図、第8図を用いて、記録媒体14へのデー
タ書込み時の動作について、又、第6図。Hereinafter, the operation when writing data to the recording medium 14 will be explained using FIGS. 5 and 8, and FIG. 6.
第7図を用いて、記録媒体14からのデータ読出し時の
動作について、詳細に説明する。The operation when reading data from the recording medium 14 will be described in detail with reference to FIG.
(1)記録媒体へのデータ書込み時
ホストコンピュータ8から送出されるパラレルデータは
、パラレルインタフェイスを介してディスク装に9のホ
ストインタフェイス制御装置J1で受信され、更に、デ
ィスク制御装置1のホストインタフェイス制御部3に転
送される。この転送されたデータ(以下、DATA23
と称す)は。(1) When writing data to a recording medium Parallel data sent from the host computer 8 is received by the host interface control device J1 of the disk unit 9 via the parallel interface, and is then sent to the host interface control device J1 of the disk control device 1. The data is transferred to the interface control unit 3. This transferred data (hereinafter referred to as DATA23
) is.
第5図に示されるように、バッファ制御部5を通してデ
ータバッファ7に転送されると同時にEC0部2にも転
送され、ECC演算が行われる。−ブロック全てのDA
TA23が転送されると、EC0部2で、12バイトの
ECC24が生成され、DATA23に続けてECC2
4もデータバッファに書込まれる。また、第8図に示す
ように、データバッファ7内のDATA23とECC2
4は、記録媒体14に書込むためにドライブインタフェ
イス制御部4に転送されるが、同時に、EC0部2にも
入力され、DATA23の誤り検出を行う。As shown in FIG. 5, the data is transferred to the data buffer 7 through the buffer control section 5 and simultaneously transferred to the EC0 section 2, where ECC calculation is performed. - DA of all blocks
When TA23 is transferred, 12-byte ECC24 is generated in EC0 section 2, and ECC2 is generated following DATA23.
4 is also written to the data buffer. In addition, as shown in FIG. 8, DATA23 and ECC2 in the data buffer 7
4 is transferred to the drive interface control unit 4 for writing to the recording medium 14, but is also input to the EC0 unit 2 at the same time to detect errors in the DATA 23.
誤りが検出された場合、EC0部2の演算結果であるエ
ラーシンドロームより、訂正位置と訂正パターンを求め
ることができるので、データバッファ7に書込んだDA
TA23を訂正し、訂正後のDATA23を、再度、ド
ライブインタフェイス制御部4に転送することが可能で
ある。さらに。If an error is detected, the correction position and correction pattern can be determined from the error syndrome, which is the calculation result of the EC0 unit 2.
It is possible to correct the TA 23 and transfer the corrected DATA 23 to the drive interface control unit 4 again. moreover.
DATA23とECC24は、ドライブインタフェイス
制御部4から、シリアル/パラレル変換回路12に転送
され、シリアルデータに変換された後、記録再生回路1
3で符号化され、リード/ライトヘッド18を用いて記
録媒体14に記録される。DATA 23 and ECC 24 are transferred from the drive interface control unit 4 to the serial/parallel conversion circuit 12, converted into serial data, and then transferred to the recording/reproducing circuit 1.
3 and recorded on the recording medium 14 using the read/write head 18.
(2)記録媒体から°のデータ読出し時記録媒体14に
格納されているDATA23とECC24は、リード/
ライトヘッド18を用いて読出され、記録再生回路13
で復号化された後、NRZ信号19としてシリアル/パ
ラレル変換回路12に転送され、パラレルデータとなり
、DATA23並びにECC24としてディスク制御装
置に送出される。(2) When reading data from the recording medium, the DATA 23 and ECC 24 stored in the recording medium 14 are
The data is read using the write head 18 and the recording/reproducing circuit 13
After being decoded, the signal is transferred to the serial/parallel conversion circuit 12 as an NRZ signal 19, becomes parallel data, and is sent to the disk controller as DATA 23 and ECC 24.
送出されたDATA23とECC24は、第6図に示さ
れるように、ドライブインタフェイス制御部4からバッ
ファ制御部5を介してデータバッファ7へ転送されると
同時にEC0部2にも転送され、DATA23の誤り検
出を行う。誤りを検出した場合、前述の場合と同様、デ
ータバッファ7に格納されている誤った読出しデータを
訂正することができる。As shown in FIG. 6, the sent DATA 23 and ECC 24 are transferred from the drive interface control section 4 to the data buffer 7 via the buffer control section 5, and at the same time are also transferred to the EC0 section 2. Perform error detection. If an error is detected, the erroneous read data stored in the data buffer 7 can be corrected, as in the case described above.
更に、データバッファ7内のDATA23は、第7図に
示されるように、バッファ制御部5からホストインタフ
ェイス制御部3へ転送すると同時にEC0部2にも転送
され、更に、ECC24をEC0部2に入力することに
より、データバッファ7からホストコンピュータ8に転
送したDATA23の誤り検出を行う。誤りを検出した
場合、前述の場合と同様、データバッファ7内の誤った
DATA23を訂正し、訂正後のD A T A 23
を再度、ホストインタフェイス制御部3に転送すること
ができる。Further, as shown in FIG. 7, the DATA23 in the data buffer 7 is transferred from the buffer control unit 5 to the host interface control unit 3 and simultaneously transferred to the EC0 unit 2, and furthermore, the ECC24 is transferred to the EC0 unit 2. By inputting the data, errors in the DATA 23 transferred from the data buffer 7 to the host computer 8 are detected. If an error is detected, the erroneous DATA 23 in the data buffer 7 is corrected and the corrected DATA 23 is
can be transferred to the host interface control unit 3 again.
本実施例では、従来のディスク制御装置に多少の変更を
加えるだけで、ディスク制御装置と記録媒体間、並びに
、ディスク制御装置とデー911277間の両方に対し
て、誤り検出/訂正機能を設けることが可能となり、デ
ィスク装置全体の信頼性を高めることができる。In this embodiment, error detection/correction functions can be provided both between the disk control device and the recording medium and between the disk control device and the data 911277 by making some changes to the conventional disk control device. This makes it possible to improve the reliability of the entire disk device.
[発明の効果コ
本発明によれば、ディスク制御装置1のECC部2によ
り、ディスク制御装置1と記録媒体14間だけでなく、
ディスク制御装置1とデータバッファ7間のデータ転送
時にも、誤り検出/訂正を行うことが可能となるため、
ディスク装置9やディスク装置9を含むシステム全体の
信頼性を向上させることができる。更に、誤り検出/訂
正回路2を共有する場合には1回路量の増加も抑制する
ことができる。また、第3図に示されるデータバッファ
7が、キャッシュ機能をもつ場合、データバッファ7に
保持される時間が長くなるため1本発明によるデータバ
ッファ7の信頼性の向上は大いに有効である。これは、
データバッファを半導体ディスク装置として使用する場
合にも同様である。[Effects of the Invention] According to the present invention, the ECC section 2 of the disk control device 1 not only connects the disk control device 1 and the recording medium 14;
Since error detection/correction can be performed even during data transfer between the disk controller 1 and the data buffer 7,
The reliability of the disk device 9 and the entire system including the disk device 9 can be improved. Furthermore, when the error detection/correction circuit 2 is shared, an increase in the amount of one circuit can be suppressed. Furthermore, when the data buffer 7 shown in FIG. 3 has a cache function, the time for which data is held in the data buffer 7 becomes longer, so that improving the reliability of the data buffer 7 according to the present invention is very effective. this is,
The same applies when the data buffer is used as a semiconductor disk device.
第1図、第2図は本発明のディスク制御装置の内部構成
を示すブロック図、第3図はディスク装置の内部構成を
示すブロック図、第4図は、記録再生回路のブロック図
、第5図から第8図は本発明のディスク制御装置の動作
説明図、第9図、第10図は従来のディスク制御装置の
内部構成のブロック図、第11図から第14図は従来の
ディスク制御装置の動作説明図である。
符号の説明
1・・・ディスク制御装置、2・・・誤り検出/訂正部
、3・ホストインタフェイス制御部、4・・ドライブイ
ンタフェイス制御部、5・・・バッファ制御部、6・・
セレクタ、7・・・バッファ、8・・・ホストコンピュ
ータ、9・・・ディスク装置、10・・マイクロプロセ
ッサ、11・・ホストインタフェイス制御装置、12・
シリアル/パラレル変換回路、13・・・記録再生回路
、14・・・記録媒体、15・・・書込みクロック生成
回路、16−符号化回路、17・・ヘッドアンプ、18
・・リード/ライトヘット、19・・・NRZ信号、2
0・位相同期回路、21・・復号化回路、22−・波形
整形回路、23・D A T A、24・EC0
第 6L21
JI20
第14L2]
ハ・ノファ′l1 and 2 are block diagrams showing the internal configuration of the disk control device of the present invention, FIG. 3 is a block diagram showing the internal configuration of the disk device, FIG. 4 is a block diagram of the recording/reproducing circuit, and FIG. 8 are explanatory diagrams of the operation of the disk control device of the present invention, FIGS. 9 and 10 are block diagrams of the internal configuration of a conventional disk control device, and FIGS. 11 to 14 are conventional disk control device FIG. Explanation of symbols 1... Disk control device, 2... Error detection/correction unit, 3... Host interface control unit, 4... Drive interface control unit, 5... Buffer control unit, 6...
Selector, 7... Buffer, 8... Host computer, 9... Disk device, 10... Microprocessor, 11... Host interface control device, 12...
Serial/parallel conversion circuit, 13... Recording/reproducing circuit, 14... Recording medium, 15... Write clock generation circuit, 16- Encoding circuit, 17... Head amplifier, 18
...Read/write head, 19...NRZ signal, 2
0. Phase synchronization circuit, 21.. Decoding circuit, 22.. Waveform shaping circuit, 23. DATA, 24. EC0 No. 6L21 JI20 No. 14L2] Ha Nofa'l
Claims (1)
て、 ホストコンピュータから送出されるブロック単位のパラ
レルデータを、半導体メモリに書込むと同時にECC演
算を行い、検査シンボルを生成する手段と、生成した前
記検査シンボルを半導体メモリに書込む手段と、記録媒
体から読出されるデータと前記検査シンボルを前記半導
体メモリに書込むと同時に、前記ECC演算を行い、読
出されたデータの誤り検出を行う手段と、誤りデータが
検出された場合、半導体メモリ上の誤りデータを訂正す
る手段と、前記半導体メモリ上のデータ並びに前記検査
シンボルを、前記ホストコンピュータ、若しくは前記記
録媒体に送出すると同時に前記ECC演算を行い、転送
したデータの誤り検出を行う手段と、前記誤りデータが
検出された場合、転送先の前記誤りデータを訂正する手
段を具備する手段を設けたことを特徴とするディスク制
御装置。 2、請求項1において、前記記録媒体から読出されるデ
ータと前記検査シンボルを前記半導体メモリに書込む時
に行う前記ECC演算と、前記半導体メモリ上のデータ
並びに前記検査シンボルを、前記ホストコンピュータ、
若しくは前記記録媒体に送出する時にそれぞれ行う前記
ECC演算を、一つの誤り検出/訂正回路で行うディス
ク制御装置。 3、請求項1または2において、誤り訂正符号にリード
ソロモン符号を使用するディスク制御装置。 4、請求項1または2において、その機能を一チップの
LSI上に設けるディスク制御装置。 5、請求項1または2のディスク制御装置を備えたディ
スク制御装置。[Claims] 1. In a disk control device having an error detection/correction circuit, parallel data in units of blocks sent from a host computer is written to a semiconductor memory and at the same time an ECC operation is performed to generate check symbols. means for writing the generated test symbol into a semiconductor memory; and a means for performing the ECC operation at the same time as writing the data read from the recording medium and the test symbol into the semiconductor memory, and detecting an error in the read data. means for performing detection; means for correcting error data on a semiconductor memory when error data is detected; and simultaneously transmitting the data on the semiconductor memory and the test symbol to the host computer or the recording medium. A disk control device comprising means for performing the ECC calculation and detecting errors in the transferred data, and means for correcting the error data at the transfer destination when the error data is detected. Device. 2. In claim 1, the ECC operation performed when writing the data read from the recording medium and the test symbol into the semiconductor memory, and the data on the semiconductor memory and the test symbol, are performed by the host computer,
Alternatively, a disk control device that uses one error detection/correction circuit to perform the ECC calculations respectively performed when sending data to the recording medium. 3. The disk control device according to claim 1 or 2, wherein a Reed-Solomon code is used as the error correction code. 4. The disk control device according to claim 1 or 2, wherein the function is provided on one chip of LSI. 5. A disk control device comprising the disk control device according to claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2328858A JPH04205133A (en) | 1990-11-30 | 1990-11-30 | disk controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2328858A JPH04205133A (en) | 1990-11-30 | 1990-11-30 | disk controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04205133A true JPH04205133A (en) | 1992-07-27 |
Family
ID=18214882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2328858A Pending JPH04205133A (en) | 1990-11-30 | 1990-11-30 | disk controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04205133A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6983413B2 (en) | 2000-12-12 | 2006-01-03 | Kabushiki Kaisha Toshiba | Data processing method using error-correcting code and an apparatus using the same method |
JP2007183844A (en) * | 2006-01-10 | 2007-07-19 | Hitachi Global Storage Technologies Netherlands Bv | Auxiliary storage device and recording / reproducing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60176136A (en) * | 1984-02-23 | 1985-09-10 | Fujitsu Ltd | Data recording method in magnetic recording and reproducing device |
JPS62182853A (en) * | 1986-02-05 | 1987-08-11 | Nec Corp | Disk cache device |
JPH029063A (en) * | 1988-06-28 | 1990-01-12 | Nec Corp | Disk controller |
JPH0264725A (en) * | 1988-05-06 | 1990-03-05 | Hitachi Ltd | Semiconductor integrated circuit device |
-
1990
- 1990-11-30 JP JP2328858A patent/JPH04205133A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS60176136A (en) * | 1984-02-23 | 1985-09-10 | Fujitsu Ltd | Data recording method in magnetic recording and reproducing device |
JPS62182853A (en) * | 1986-02-05 | 1987-08-11 | Nec Corp | Disk cache device |
JPH0264725A (en) * | 1988-05-06 | 1990-03-05 | Hitachi Ltd | Semiconductor integrated circuit device |
JPH029063A (en) * | 1988-06-28 | 1990-01-12 | Nec Corp | Disk controller |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6983413B2 (en) | 2000-12-12 | 2006-01-03 | Kabushiki Kaisha Toshiba | Data processing method using error-correcting code and an apparatus using the same method |
JP2007183844A (en) * | 2006-01-10 | 2007-07-19 | Hitachi Global Storage Technologies Netherlands Bv | Auxiliary storage device and recording / reproducing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6912682B1 (en) | Signal processor for correcting and detecting errors | |
US20070198904A1 (en) | Error correction processing apparatus and error correction processing method | |
JPH05166304A (en) | Data check method for array disk device | |
KR20210014473A (en) | Memory system and writing method in the memory system | |
US7322003B2 (en) | Information storage device | |
KR20150058315A (en) | Record/play device, error correction method, and control device | |
JPH07154271A (en) | Data correction device | |
JPH04205133A (en) | disk controller | |
US20110205654A1 (en) | Control apparatus, nonvolatile storage apparatus and data initialization method | |
JPS6343833B2 (en) | ||
US6697991B1 (en) | Data check circuit of magnetic disk device and data checking method of magnetic disk device | |
JP2013205853A (en) | Flash memory disk device, data storage control method and program in flash memory disk device | |
JP3671444B2 (en) | Recording / playback device | |
JPH06301604A (en) | Storage reproducing system | |
JPH04186559A (en) | Magnetic tape reading control method | |
JPH11177440A (en) | Error correction verification method and device, error correction device, reproducing device, recording / reproducing device, communication device | |
JPH11353818A (en) | Synchronous signal compensation function | |
JPH0816864B2 (en) | Magnetic disk processing device | |
JPH04259968A (en) | Cyclic redundancy check system for magnetic disk controller | |
JP2003177973A (en) | Data processor | |
JPH03189719A (en) | Disk control lsi, storage device and information processing system | |
JPS59146358A (en) | Error correction method | |
JPH0242688A (en) | Magnetic disk device | |
JPH0520215A (en) | Information processor | |
JPH0574065A (en) | Magnetic disk device |