JPH0327433A - Electronic disk device - Google Patents

Electronic disk device

Info

Publication number
JPH0327433A
JPH0327433A JP1162239A JP16223989A JPH0327433A JP H0327433 A JPH0327433 A JP H0327433A JP 1162239 A JP1162239 A JP 1162239A JP 16223989 A JP16223989 A JP 16223989A JP H0327433 A JPH0327433 A JP H0327433A
Authority
JP
Japan
Prior art keywords
ecc
circuit
error
generation
data
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
Application number
JP1162239A
Other languages
Japanese (ja)
Inventor
Hironori Mizoguchi
溝口 博教
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1162239A priority Critical patent/JPH0327433A/en
Publication of JPH0327433A publication Critical patent/JPH0327433A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent a data change by detecting an uncorrectable error in reading after restoration. CONSTITUTION:In the saving/restoring processing of data with a magnetic disk device 3, an ECC (error correction code) generation correction circuit 24 detects and corrects an ECC error without functioning an error generation circuit 25 and a magnetic disk control circuit 22 writes the data for which the ECC generation/correction circuit 24 corrects into the magnetic disk device 3 with error information. At the time of a restoring processing, ECC generation/ correction circuit 24 generates ECC for the data which the magnetic disk control circuit 22 reads. When an uncorrectable error is detected, the error generation circuit 25 inverts the several bits of ECC, the data where the uncorrectable error occurs is generated and written into a memory circuit 26. When the uncorrectable error is not detected, the data is written into the memory circuit 26 without functioning the error generation circuit 25. Thus, the data alteration can be prevented.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、電子ディスク装置に関し、特に、磁気ディス
ク装置にデータのセーブ/リストアを行う電子ディスク
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an electronic disk device, and more particularly to an electronic disk device that saves/restores data on a magnetic disk device.

従来の技術 従来、この種の電子ディスク装置には、アンコレクタブ
ルエラーの発生するデータであることを識別する情報を
磁気ディスク装置にセーブ/リストアする手段を有して
ぃながった。
BACKGROUND OF THE INVENTION Conventionally, electronic disk drives of this type have been provided with means for saving/restoring information identifying data in which an uncorrectable error has occurred in the magnetic disk drive.

発明が解決しようとする課題 従って、従来の電子ディスク装置では、磁気ディスク装
置へのセーブ処理においてアンコレクタブルエラー検出
してもセーブを継続すると、リストア処理時に誤ったデ
ータに対してECC’ (エラーコレクションコード〉
が生成され、そのデータを読出した場合誤ったデータが
エラーとならずに読出されるという欠点がある。
Problems to be Solved by the Invention Therefore, in a conventional electronic disk device, if an uncorrectable error is detected during save processing to a magnetic disk device and the save continues, ECC' (error correction) will be applied to erroneous data during restore processing. code>
is generated, and when the data is read out, there is a drawback that incorrect data is read out without causing an error.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能とした新規な電子ディスク装置を
提供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
Accordingly, an object of the present invention is to provide a novel electronic disk device that makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.

課題を解決するための手段 上記目的を達成する為に、本発明に係る電子ディスク装
置は、電子ディスク処理装置、電子ディスク装置及び磁
気ディスク装置を含む電子ディスクサブシステムにおい
て、前記電子ディスク装置は電子ディスク処理装置及び
磁気ディスク装置と接続され、前記電子ティスク装置は
電子ディスク処理装置とのインタフェースを制御する電
子ディスクインタフェース制御回路と、磁気ディスク装
置の制御を行う磁気ディスク制御回路と、データ及びE
CCの格納を行うメモリ回路と、該メモリ回路に格納す
るECCの生成とECCエラーの検出及び修正を行うE
CC生成修正回路と、前記\ メモリ回路の読み書きを制御するメモリ制御回路と、前
記ECC生成修正回路により生成されたECCの数ビッ
トを反転してアンコレクタブルエラーの発生するデータ
を作るエラー発生回路とを有し、通常、電子ディスク処
理装置とのデータの読み書き処理においてはエラー発生
回路を機能させずに前記ECC生成修正回路においてE
CCの生成及びECCエラーの検出、修正を行い、前記
磁気ディスク装置とのデータのセーブ/リス1〜ア処理
において、セーブ処理時には前記エラー発生回路を機能
させずに前記ECC生成修正回路によりECCエラーの
検出及び訂正を行い、前記磁気ディスク制御回路により
、前記ECC生成修正回路でアンコレクタブルエラーが
検出されたか検出されなかったがのエラー情報と共に該
ECC生成修正回路により訂正を行ったデータを前記磁
気ディスク装置に書込み、リストア処理時には、前記磁
気ディスク制御回路により読出されたデータに対して前
記ECC生成修正回路によりECCを生成し、前記磁気
ディスク制御回路によりECCを生成し、該磁気ディス
ク制御回路により読出されたエラー情報によりアンコレ
クタブルエラーが検出されていれば前記エラー発生回路
によりECCの数ビットを反転し、アンコレクタブルエ
ラーの発生するデータを作り前記メモリ回路に書込み、
アンコレクタブルエラーが検出されていなければエラー
発生回路を機能させずにメモリ回路に書込みを行うこと
を特徴としている。
Means for Solving the Problems In order to achieve the above object, an electronic disk device according to the present invention is an electronic disk subsystem including an electronic disk processing device, an electronic disk device, and a magnetic disk device, in which the electronic disk device is an electronic disk device. The electronic disk device is connected to a disk processing device and a magnetic disk device, and the electronic disk device includes an electronic disk interface control circuit that controls an interface with the electronic disk processing device, a magnetic disk control circuit that controls the magnetic disk device, and a data and E-disk interface control circuit that controls the interface with the electronic disk processing device.
A memory circuit that stores CC, and an E that generates ECC to be stored in the memory circuit and detects and corrects ECC errors.
a CC generation correction circuit; a memory control circuit that controls reading and writing of the memory circuit; and an error generation circuit that inverts several bits of the ECC generated by the ECC generation correction circuit to generate data in which an uncorrectable error occurs. Normally, during data read/write processing with the electronic disk processing device, the ECC generation correction circuit does not function the error generation circuit.
Generates a CC and detects and corrects ECC errors, and in data save/restore processing with the magnetic disk device, the ECC generation correction circuit detects and corrects ECC errors without causing the error generation circuit to function during save processing. The magnetic disk control circuit detects and corrects the data corrected by the ECC generation correction circuit along with error information indicating whether or not an uncorrectable error is detected by the ECC generation correction circuit. When writing to a disk device and performing a restore process, the ECC generation/correction circuit generates an ECC for data read by the magnetic disk control circuit, the magnetic disk control circuit generates an ECC, and the magnetic disk control circuit generates an ECC. If an uncorrectable error is detected based on the read error information, the error generation circuit inverts several bits of the ECC to create data that causes an uncorrectable error and writes it into the memory circuit;
It is characterized in that if an uncorrectable error is not detected, writing is performed in the memory circuit without making the error generating circuit function.

実施例 次に、本発明をその好ましい一実施例について図面を参
照して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック構戒図である
FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図において、本発明に係る電子ディスク装置2は、
電子ディスク処理装置1及び磁気ディスク装置3と接続
されている。電子ディスク装置2は、電子ディスク処理
装置1とのインタフェースの制御を行う電子ディスクイ
ンタフェース制御回路21と、磁気ディスク装置3の制
御を行う磁気ディスク制御回路22と、データ及びEC
Cの格納を行うメモリ回路26と、メモリ回路26に格
納するECCの生成とECCエラーの検出及び修正を行
うECC生成修正回路24と、メモリ回路26の読み書
き5 −6 を制御するメモリ制御回路23と、ECC生成修正回路
24により生成されたECCの数ビットを反転してアン
コレクタブルエラーの発生するデータを作るエラー発生
回路25とを有している。
In FIG. 1, an electronic disk device 2 according to the present invention includes:
It is connected to an electronic disk processing device 1 and a magnetic disk device 3. The electronic disk device 2 includes an electronic disk interface control circuit 21 that controls the interface with the electronic disk processing device 1, a magnetic disk control circuit 22 that controls the magnetic disk device 3, and a data and EC interface control circuit 21 that controls the interface with the electronic disk processing device 1.
a memory circuit 26 that stores C; an ECC generation/correction circuit 24 that generates ECC to be stored in the memory circuit 26 and detects and corrects ECC errors; and a memory control circuit 23 that controls reading/writing 5-6 of the memory circuit 26. and an error generation circuit 25 that inverts several bits of the ECC generated by the ECC generation and correction circuit 24 to create data in which an uncorrectable error occurs.

通常、電子ディスク処理装置1とのデータの読み書き処
理においてはエラー発生回路25を機能させずにECC
生成修正回路24においてECCの生成及びECCエラ
ーの検出、修正を行う。
Normally, in data read/write processing with the electronic disk processing device 1, the error generating circuit 25 is not activated and ECC is executed.
The generation/correction circuit 24 generates ECC and detects and corrects ECC errors.

磁気ディスク装置3とのデータのセーブ/リス1・ア処
理において、セーブ処理時にはエラー発生回路25を機
能させずにECC生成修正回路24によりECCエラー
の検出及び訂正を行い、磁気ディスク制御回路22によ
り、ECC生成修正回路24でアンコレクタブルエラー
が検出されたか検出されながったかを示すエラー情報と
共にECC生成修正回路24により訂正を行ったデータ
を磁気ディスク装置3に書込む。
In data save/restore processing with the magnetic disk device 3, the ECC generation and correction circuit 24 detects and corrects ECC errors without making the error generation circuit 25 function during the save process, and the magnetic disk control circuit 22 detects and corrects ECC errors. , the data corrected by the ECC generation and correction circuit 24 is written to the magnetic disk device 3 along with error information indicating whether an uncorrectable error has been detected or not detected by the ECC generation and correction circuit 24.

リストア処理時には磁気ディスク制御回路22により読
出されたデータに対し、ECC生成修正回路24により
ECCを生成し、磁気ディスク制御回路22により読出
されたエラー情報によりアンコレクタブルエラーが検出
されていればエラー発生回路25によりECCの数ビッ
トを反転し、アンコレクタブルエラーの発生ずるデータ
を作りメモリ回路26に書込み、アンコレクタブルエラ
ーが検出されていなければエラー発生回路25を機能さ
せずにメモリ回路26に書込みを行う。
During the restore process, the ECC generation/correction circuit 24 generates an ECC for the data read by the magnetic disk control circuit 22, and if an uncorrectable error is detected based on the error information read by the magnetic disk control circuit 22, an error occurs. The circuit 25 inverts several bits of the ECC, creates data that causes an uncorrectable error, and writes it into the memory circuit 26. If an uncorrectable error is not detected, the data is written into the memory circuit 26 without making the error generating circuit 25 function. conduct.

発明の効果 以上説明したように、本発明によれば、磁気ディスク装
置へのデータのセーブ時にアンコレクタブルエラーの生
ずるようなデータを読出した場合にセーブ処理を継続し
ても、リストア後の読出しにおいて、アンコレクタブル
エラーを検出することにより、データ化けが発生しない
という効果が得られる。
Effects of the Invention As explained above, according to the present invention, even if data is read that causes an uncorrectable error when data is saved to a magnetic disk device, even if the save processing is continued, the readout after restoration is performed. By detecting uncorrectable errors, it is possible to prevent data corruption.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明に係る電子ディスクサブシステムの一実
施例を示すブロック構成図である。
FIG. 1 is a block diagram showing an embodiment of an electronic disk subsystem according to the present invention.

Claims (1)

【特許請求の範囲】[Claims] 電子ディスク処理装置、電子ディスク装置及び磁気ディ
スク装置を含む電子ディスクサブシステムにおいて、前
記電子ディスク装置は前記電子ディスク処理装置及び前
記磁気ディスク装置と接続されており、前記電子ディス
ク装置は前記電子ディスク処理装置とのインタフェース
を制御する電子ディスクインタフェース制御回路と、前
記磁気ディスク装置の制御を行う磁気ディスク制御回路
と、データ及びECCの格納を行うメモリ回路と、前記
メモリ回路に格納するECCの生成とECCエラーの検
出及び修正を行うECC生成修正回路と、前記メモリ回
路の読み書きを制御するメモリ制御回路と、前記ECC
生成修正回路により生成されたECCの数ビットを反転
してアンコレクタブルエラーの発生するデータを作るエ
ラー発生回路とを有し、前記電子ディスク処理装置との
データの読み書き処理においては前記エラー発生回路を
機能させずに前記ECC生成修正回路においてECCの
生成及びECCエラー検出、修正を行い、前記磁気ディ
スク装置とのデータのセーブ/リストア処理において、
セーブ処理時には前記エラー発生回路を機能させずに前
記ECC生成修正回路によりECCエラーの検出及び訂
正を行い、前記磁気ディスク制御回路により前記ECC
生成修正回路でアンコレクタブルエラーが検出されたか
検出されなかったかを示すエラー情報と共に前記ECC
生成修正回路により訂正を行ったデータを前記磁気ディ
スク装置に書込み、リストア処理時には前記磁気ディス
ク制御回路により読み出されたデータに対し、前記EC
C生成修正回路によりECCを生成し、前記磁気ディス
ク制御回路により読出されたエラー情報によりアンコレ
クタブルエラーが検出されていれば前記エラー発生回路
によりECCの数ビットを反転し、アンコレクタブルエ
ラーの発生するデータを作り前記メモリ回路に書込み、
アンコレクタブルエラーが検出されていなければ前記エ
ラー発生回路を機能させず前記メモリ回路に書込むこと
を特徴とする電子ディスク装置。
In an electronic disk subsystem including an electronic disk processing device, an electronic disk device, and a magnetic disk device, the electronic disk device is connected to the electronic disk processing device and the magnetic disk device, and the electronic disk device is connected to the electronic disk processing device. an electronic disk interface control circuit that controls an interface with the device; a magnetic disk control circuit that controls the magnetic disk device; a memory circuit that stores data and ECC; and generation of ECC and ECC to be stored in the memory circuit. an ECC generation and correction circuit that detects and corrects errors; a memory control circuit that controls reading and writing of the memory circuit; and an ECC generation and correction circuit that detects and corrects errors;
and an error generation circuit that inverts several bits of the ECC generated by the generation correction circuit to create data in which an uncorrectable error occurs, and the error generation circuit is used in data read/write processing with the electronic disk processing device. ECC generation and ECC error detection and correction are performed in the ECC generation and correction circuit without functioning, and in data save/restore processing with the magnetic disk device,
During save processing, the ECC generation and correction circuit detects and corrects the ECC error without making the error generation circuit function, and the magnetic disk control circuit detects and corrects the ECC error.
The ECC along with error information indicating whether an uncorrectable error is detected or not detected in the generation correction circuit.
The data corrected by the generation correction circuit is written to the magnetic disk device, and during the restore process, the data read by the magnetic disk control circuit is written to the EC.
The C generation correction circuit generates an ECC, and if an uncorrectable error is detected from the error information read by the magnetic disk control circuit, the error generation circuit inverts several bits of the ECC to generate an uncorrectable error. create data and write it into the memory circuit;
An electronic disk device characterized in that if an uncorrectable error is not detected, the error generation circuit is not made to function and data is written in the memory circuit.
JP1162239A 1989-06-23 1989-06-23 Electronic disk device Pending JPH0327433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1162239A JPH0327433A (en) 1989-06-23 1989-06-23 Electronic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1162239A JPH0327433A (en) 1989-06-23 1989-06-23 Electronic disk device

Publications (1)

Publication Number Publication Date
JPH0327433A true JPH0327433A (en) 1991-02-05

Family

ID=15750630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1162239A Pending JPH0327433A (en) 1989-06-23 1989-06-23 Electronic disk device

Country Status (1)

Country Link
JP (1) JPH0327433A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04353935A (en) * 1991-05-30 1992-12-08 Nec Corp Magnetic disk controller
JP2012508425A (en) * 2008-12-29 2012-04-05 インテル コーポレイション Poison bit error check code technique

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04353935A (en) * 1991-05-30 1992-12-08 Nec Corp Magnetic disk controller
JP2012508425A (en) * 2008-12-29 2012-04-05 インテル コーポレイション Poison bit error check code technique

Similar Documents

Publication Publication Date Title
JPS592057B2 (en) Error correction/detection method
JP2003516598A (en) Error correction device
JPH0327433A (en) Electronic disk device
JPS6232813B2 (en)
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
JPH0652065A (en) Memory control circuit
JPH0327432A (en) Electronic disk device
JP2601038B2 (en) Microprogram error detection / correction device
JPH02178722A (en) Electronic disk device
JP2503981B2 (en) Peripheral storage
JPH0756816A (en) Controller for memory
JPS6155131B2 (en)
DE69926511D1 (en) CIRCUIT AND METHOD FOR FAST CHECKING OF ERROR CORRECTION CODES WITH THE HELP OF A CYCLIC REDUNDANCY TEST
JPS63117369A (en) Optical disk device
JPH0520215A (en) Information processor
JPS6223337B2 (en)
JPH0312756A (en) Electronic disk device
JPS5823679B2 (en) Storage device
JPH02205955A (en) Error processing system for memory device
JPH06124174A (en) Defective magnetic disk substitution system
JPH04367046A (en) Information processor
JPS62164128A (en) Microprogram processor with cache memory
JPH02105229A (en) Temporary memory circuit
JPS60191350A (en) Memory device
JP2000215618A (en) Magnetic recording/reproducing apparatus