JPH04256121A - Disk device - Google Patents

Disk device

Info

Publication number
JPH04256121A
JPH04256121A JP3017931A JP1793191A JPH04256121A JP H04256121 A JPH04256121 A JP H04256121A JP 3017931 A JP3017931 A JP 3017931A JP 1793191 A JP1793191 A JP 1793191A JP H04256121 A JPH04256121 A JP H04256121A
Authority
JP
Japan
Prior art keywords
data
electronic disk
disk device
error
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.)
Pending
Application number
JP3017931A
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 JP3017931A priority Critical patent/JPH04256121A/en
Publication of JPH04256121A publication Critical patent/JPH04256121A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To enable a disk device to perform its processing in a double write subsystem state for a long period of time by providing an interface controller which can perform the direct transfer of data between 1st and 2nd electronic disk devices. CONSTITUTION:A disk device 10 consists of the electronic disk devices 1 and 2 containing the semiconductor devices as their memory parts end an electronic disk processor 3 so as to form a double write subsystem. Both devices 1 and 2 start the reed operations at each fixed time through the microprocessor circuits 12 and 22. When the ECC circuits 14 and 24 detect the data on the uncorrectable errors produced by the error correction codes, the correction data are reed out of the device 1 or 2 via the copy interface control circuits 13 and 23. Then the data on the uncorrectable errors are rewritten and can be corrected.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はディスク装置に関し、特
に二重書きサブシステム構成で運転中に電子ディスク装
置内での読出し動作時、誤り訂正符号による修正不可能
エラーのデータの検出及び修正を行うディスク装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk device, and in particular, detects and corrects uncorrectable error data using an error correction code during a read operation in an electronic disk device while operating with a dual write subsystem configuration. Regarding the disk device used.

【0002】0002

【従来の技術】従来のディスク装置では、二重書きサブ
システム構成で運転中に電子ディスク装置内での読出し
動作時、誤り訂正符号による修正不可能エラーのデータ
を検出した場合、修正する手段を有していなかった。
2. Description of the Related Art In a conventional disk device, when data with an error that cannot be corrected by an error correction code is detected during a read operation in the electronic disk device while operating with a dual write subsystem configuration, a correcting means is provided. I didn't have it.

【0003】0003

【発明が解決しようとする課題】上述した従来のディス
ク装置は、二重書きサブシステム構成で運転中に電子デ
ィスク装置内で読出し動作時、誤り訂正符号による修正
不可能エラーのデータを検出した場合、修正する手段を
有していなかったので、電子ディスク処理装置からのア
クセスに対して誤り訂正符号による修正不可能エラーの
データが発生した場合、電子ディスク処理装置は誤り訂
正符号による修正不可能エラーのデータの発生した第1
の電子ディスク装置または第2の電子ディスク装置を切
り離し、残った電子ディスク装置を一重書きサブシステ
ム構成として処理を続行しなければならないという問題
点がある。
[Problems to be Solved by the Invention] In the conventional disk device described above, when data with an error that cannot be corrected by an error correction code is detected during a read operation in the electronic disk device while operating with a dual write subsystem configuration. Since the electronic disk processing device did not have a means to correct the error, if data with an error that cannot be corrected by the error correction code occurs in response to access from the electronic disk processing device, the electronic disk processing device The first data generated
There is a problem in that it is necessary to disconnect the first electronic disk device or the second electronic disk device and continue processing with the remaining electronic disk device configured as a single-write subsystem.

【0004】本発明の目的は、誤り訂正符号による修正
不可能エラーのデータが発生しても他方の電子ディスク
装置から助けられる場合には必ず助けることの可能な、
上位装置からのアクセスに対して誤り訂正符号による修
正不可能エラーのデータの発生しにくい、ディスク装置
を提供することにある。
[0004] An object of the present invention is to provide a method that can be saved even if data with an error that cannot be corrected by an error correction code is saved when it is saved from the other electronic disk device.
It is an object of the present invention to provide a disk device in which data with errors that cannot be corrected by an error correction code is less likely to occur when accessed from a host device.

【0005】[0005]

【課題を解決するための手段】本発明のディスク装置は
、第1および第2の電子ディスク装置と、前記第1およ
び第2の電子ディスク装置と上位装置との間に設けデー
タの書込み読出しを制御する電子ディスク処理装置とか
ら成り二重書きサブシステムを構成できるディスク装置
において、前記第1および第2の電子ディスク装置の間
で直接にデータの授受を可能とするインタフェース制御
装置を備える構成である。
[Means for Solving the Problems] A disk device of the present invention is provided between first and second electronic disk devices, and between the first and second electronic disk devices and a higher-level device, so as to write and read data. A disk device capable of configuring a dual-write subsystem including an electronic disk processing device to be controlled, comprising an interface control device that enables data to be directly exchanged between the first and second electronic disk devices. be.

【0006】本発明のディスク装置は、第1および第2
の電子ディスク装置がデータおよび誤り訂正符号の格納
を行うメモリ回路と、前記メモリ回路に格納する誤り訂
正符号の生成と前記誤り訂正符号によるエラーの検出お
よび修正を行う誤り訂正符号生成修正回路とを有し、前
記誤り訂正符号生成修正回路で前記誤り訂正符号による
修正不可能エラーのデータを検出した場合、インタフェ
ース制御回路を介して他の電子ディスク装置から修正デ
ータを読込み前記修正不可能エラーのデータを正常状態
に書直してもよい。
[0006] The disk device of the present invention has first and second disk drives.
An electronic disk device includes a memory circuit that stores data and error correction codes, and an error correction code generation and correction circuit that generates error correction codes to be stored in the memory circuit and detects and corrects errors using the error correction codes. and when the error correction code generation/correction circuit detects data of an error that cannot be corrected by the error correction code, the correction data is read from another electronic disk device via the interface control circuit and the data of the error that cannot be corrected is read. may be rewritten to the normal state.

【0007】本発明のディスク装置は、第1および第2
の電子ディスク装置内における制御回路が予め定める時
間ごとにメモリ回路内のデータを読出し誤り訂正符号生
成修正回路で誤りを修正し、前記誤り訂正符号生成修正
回路で前記誤り訂正符号による修正不可能エラーのデー
タを検出した場合、インタフェース制御回路を介して他
の電子ディスク装置から修正データを読込み前記修正不
可能エラーのデータを正常状態に書直してもよい。
[0007] The disk device of the present invention has first and second disk drives.
A control circuit in an electronic disk device reads data in a memory circuit at predetermined time intervals, corrects errors in an error correction code generation and correction circuit, and corrects errors that cannot be corrected by the error correction code in the error correction code generation and correction circuit. If data is detected, corrected data may be read from another electronic disk device via the interface control circuit and the uncorrectable error data may be rewritten to a normal state.

【0008】[0008]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0009】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of one embodiment of the present invention.

【0010】ディスク装置10は、記憶部分を半導体装
置とした電子ディスク装置1及び電子ディスク装置2と
電子ディスク処理装置3とから成り、二重書きサブシス
テムを構成できるものである。電子ディスク処理装置3
からの書込み動作時には、データを電子ディスク装置1
および電子ディスク装置2に同時に書込み、読出し動作
時には、電子ディスク装置1又は電子ディスク装置2の
いずれか一方のメインとなる方から読出しを行う。
The disk device 10 is composed of an electronic disk device 1 whose storage portion is a semiconductor device, an electronic disk device 2, and an electronic disk processing device 3, and can constitute a dual write subsystem. Electronic disk processing device 3
When writing data from the electronic disk device 1
When simultaneously writing to and reading from the electronic disk device 2, reading is performed from either the electronic disk device 1 or the electronic disk device 2, whichever is the main one.

【0011】電子ディスク装置1及び電子ディスク装置
2の内部構成は同一で、電子ディスク処理装置3とのイ
ンタフェースを制御する電子ディスクインタフェース制
御回路11,21と、電子ディスク装置1と電子ディス
ク装置2とのインタフェースを制御するコピーインタフ
ェース制御回路13,23と、データ及び誤り訂正符号
の格納を行うメモリ回路16,26と、メモリ回路16
,26に格納する誤り訂正符号の生成と誤り訂正符号に
よるエラーの検出及び修正を行う誤り訂正符号生成修正
回路(以下ECC生成修正回路と記す)14,24と、
メモリ回路16,26に一定時間毎に読み出し動作を行
うマイクロプロセッサ回路12,22と、メモリ回路1
6,26のアドレスをカウントするアドレスカウンタ1
5,25とを有している。
The internal configurations of the electronic disk device 1 and the electronic disk device 2 are the same, and include electronic disk interface control circuits 11 and 21 that control the interface with the electronic disk processing device 3, and the electronic disk device 1 and the electronic disk device 2. Copy interface control circuits 13 and 23 that control the interface of , memory circuits 16 and 26 that store data and error correction codes, and memory circuit 16
, 26, and error correction code generation and correction circuits (hereinafter referred to as ECC generation and correction circuits) 14 and 24 that detect and correct errors using the error correction codes;
Microprocessor circuits 12 and 22 that perform read operations on memory circuits 16 and 26 at regular intervals, and memory circuit 1
Address counter 1 that counts 6, 26 addresses
5, 25.

【0012】次に本発明の誤り訂正符号による修正不可
能エラーのデータの修正動作について説明する。
Next, the operation of correcting data with uncorrectable errors using the error correction code of the present invention will be explained.

【0013】電子ディスク装置1又は電子ディスク装置
2のメインとなる方(この例では電子ディスク装置1と
する)のマイクロプロセッサ回路12は、一定時間ごと
に動作の履歴を確認し、この間に電子ディスク処理装置
3からの書込み動作又は読出し動作が1回も行われてい
なければ、コピーインタフェース制御回路13から他方
の電子ディスク装置2のコピーインタフェース制御回路
23を介してマイクロプロセッサ回路22に一定時間ご
との読出し動作の開始を報告すると共に、メモリアドレ
スカウンタ15に読み出し開始アドレスをセットする。 又、他方の電子ディスク装置2の一定時間毎の読出し動
作の開始を報告されたマイクロプロセッサ回路22もメ
モリアドレスカウンタ25に読み出し開始アドレスをセ
ットする。この時セットされるアドレスは、電子ディス
ク装置1と電子ディスク装置2とで同じである。このよ
うにして、電子ディスク装置1及び電子ディスク装置2
は、マイクロプロセッサ回路12,22による一定時間
ごとの読出し動作を開始し、ECC生成修正回路14,
24で誤り訂正符号による修正不可能エラーのデータを
検出した場合、コピーインタフェース制御回路13,2
3を介して電子ディスク装置1又は電子ディスク装置2
から修正データを読込み、修正不可能エラーのデータを
書直すことにより誤り修正不可能エラーのデータを修正
する。
The microprocessor circuit 12 of the main electronic disk device 1 or the electronic disk device 2 (electronic disk device 1 in this example) checks the operation history at regular intervals, and during this period the electronic disk device If no write or read operation has been performed from the processing device 3, the copy interface control circuit 13 sends data to the microprocessor circuit 22 at regular intervals via the copy interface control circuit 23 of the other electronic disk device 2. The start of the read operation is reported and the read start address is set in the memory address counter 15. Furthermore, the microprocessor circuit 22 that has been notified of the start of the read operation at fixed time intervals of the other electronic disk device 2 also sets a read start address in the memory address counter 25. The address set at this time is the same for the electronic disk device 1 and the electronic disk device 2. In this way, the electronic disk device 1 and the electronic disk device 2
The microprocessor circuits 12 and 22 start reading operations at regular intervals, and the ECC generation and correction circuits 14 and
24, when data with an error that cannot be corrected by the error correction code is detected, the copy interface control circuits 13 and 2
3 to the electronic disk device 1 or the electronic disk device 2
The error data that cannot be corrected is corrected by reading correction data from and rewriting the data that contains the uncorrectable error.

【0014】[0014]

【発明の効果】以上説明したように本発明は、二重書き
サブシステム構成で運転中に電子ディスク装置内での読
出し動作時、誤り訂正符号による修正不可能エラーのデ
ータを検出し、修正することにより、電子ディスク処理
装置からのアクセスを妨げることなく、上位装置からの
アクセスに対して誤り訂正符号による修正不可能エラー
のデータを発生しにくく、従来の電子ディスク装置より
も長い間二重書きサブシステムの状態で処理を行える効
果がある。
[Effects of the Invention] As explained above, the present invention detects and corrects uncorrectable error data using an error correction code during read operation in an electronic disk device while operating with a dual write subsystem configuration. As a result, without interfering with access from the electronic disk processing device, data with errors that cannot be corrected by error correction codes are less likely to occur when accessed from the host device, and double writing is possible for a longer period of time than with conventional electronic disk devices. This has the effect of allowing processing to be performed in the subsystem state.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1,2    第2の電子ディスク装置3    電子
ディスク処理装置 10    ディスク装置 11,21    電子ディスクインタフェース制御回
路12,22    マイクロプロセッサ回路13,2
3    コピーインタフェース制御回路14,24 
   誤り訂正符号生成修正回路(ECC生成修正回路
) 15,25    メモリアドレスカウンタ16,26
    メモリ回路
1, 2 Second electronic disk device 3 Electronic disk processing device 10 Disk devices 11, 21 Electronic disk interface control circuit 12, 22 Microprocessor circuit 13, 2
3 Copy interface control circuit 14, 24
Error correction code generation/correction circuit (ECC generation/correction circuit) 15, 25 Memory address counter 16, 26
memory circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  第1および第2の電子ディスク装置と
、前記第1および第2の電子ディスク装置と上位装置と
の間に設けデータの書込み読出しを制御する電子ディス
ク処理装置とから成り二重書きサブシステムを構成でき
るディスク装置において、前記第1および第2の電子デ
ィスク装置の間で直接にデータの授受を可能とするイン
タフェース制御装置を備えることを特徴とするディスク
装置。
1. A dual electronic disk drive system comprising first and second electronic disk devices, and an electronic disk processing device that is provided between the first and second electronic disk devices and a host device and controls data writing and reading. What is claimed is: 1. A disk device capable of configuring a writing subsystem, characterized by comprising an interface control device that enables data to be directly exchanged between the first and second electronic disk devices.
【請求項2】  第1および第2の電子ディスク装置が
データおよび誤り訂正符号の格納を行うメモリ回路と、
前記メモリ回路に格納する誤り訂正符号の生成と前記誤
り訂正符号によるエラーの検出および修正を行う誤り訂
正符号生成修正回路とを有し、前記誤り訂正符号生成修
正回路で前記誤り訂正符号による修正不可能エラーのデ
ータを検出した場合、インタフェース制御回路を介して
他の電子ディスク装置から修正データを読込み前記修正
不可能エラーのデータを正常状態に書直すことを特徴と
する請求項1記載のディスク装置。
2. A memory circuit in which the first and second electronic disk devices store data and error correction codes;
an error correction code generation and correction circuit that generates an error correction code to be stored in the memory circuit and detects and corrects errors caused by the error correction code; 2. The disk device according to claim 1, wherein when data with a possible error is detected, correction data is read from another electronic disk device via an interface control circuit and the data with the uncorrectable error is rewritten to a normal state. .
【請求項3】  第1および第2の電子ディスク装置内
における制御回路が予め定める時間ごとにメモリ回路内
のデータを読出し誤り訂正符号生成修正回路で誤りを修
正し、前記誤り訂正符号生成修正回路で前記誤り訂正符
号による修正不可能エラーのデータを検出した場合、イ
ンタフェース制御回路を介して他の電子ディスク装置か
ら修正データを読込み前記修正不可能エラーのデータを
正常状態に書直すことを特徴とする請求項1記載のディ
スク装置。
3. A control circuit in the first and second electronic disk devices reads data in the memory circuit at predetermined time intervals and corrects errors in the error correction code generation and correction circuit, and the error correction code generation and correction circuit corrects the error. If data with an error that cannot be corrected by the error correction code is detected, correction data is read from another electronic disk device via an interface control circuit and the data with the uncorrectable error is rewritten to a normal state. The disk device according to claim 1.
JP3017931A 1991-02-08 1991-02-08 Disk device Pending JPH04256121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3017931A JPH04256121A (en) 1991-02-08 1991-02-08 Disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3017931A JPH04256121A (en) 1991-02-08 1991-02-08 Disk device

Publications (1)

Publication Number Publication Date
JPH04256121A true JPH04256121A (en) 1992-09-10

Family

ID=11957519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3017931A Pending JPH04256121A (en) 1991-02-08 1991-02-08 Disk device

Country Status (1)

Country Link
JP (1) JPH04256121A (en)

Similar Documents

Publication Publication Date Title
US6085339A (en) System for memory error handling
JPS598852B2 (en) Error handling method
US7246257B2 (en) Computer system and memory control method thereof
JPH04256121A (en) Disk device
JP2751822B2 (en) Memory control method for FIFO memory device
JPH0314054A (en) Electronic disk device
JPH0652065A (en) Memory control circuit
JPH05274227A (en) Electronic disk device
JP3098363B2 (en) Storage device
JPH10143448A (en) Memory system
JPS6161273A (en) Control system of memory device
JP2861846B2 (en) Magnetic disk control system
JPS63271555A (en) Storage control system
JPS6370357A (en) Memory data correction system
JPH0434632A (en) Memory system
JPH1011284A (en) Controlled storage device
JPH0313669B2 (en)
JPH02230556A (en) Disk processor
JPH0520215A (en) Information processor
JPH06250936A (en) Computer system
JPH03204745A (en) Memory card device
JPH054266U (en) Memory device
JPH05173899A (en) Information processor
JPH0341538A (en) Main storage device
JPS6356751A (en) Memory patrol control system