JPH04329444A - Error correcting and detecting system for information processor - Google Patents

Error correcting and detecting system for information processor

Info

Publication number
JPH04329444A
JPH04329444A JP3126802A JP12680291A JPH04329444A JP H04329444 A JPH04329444 A JP H04329444A JP 3126802 A JP3126802 A JP 3126802A JP 12680291 A JP12680291 A JP 12680291A JP H04329444 A JPH04329444 A JP H04329444A
Authority
JP
Japan
Prior art keywords
circuit
data
storage device
host device
check
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
JP3126802A
Other languages
Japanese (ja)
Inventor
Naoki Kobayashi
直樹 小林
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP3126802A priority Critical patent/JPH04329444A/en
Publication of JPH04329444A publication Critical patent/JPH04329444A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To correct one-block error generated in transfer between a host device, which reads/writes data, and a storage device and to reduce an entire hardware amount. CONSTITUTION:A check bit generating circuit 11-2 to generate a check bit from written data and to add it to the written data and an error correcting and detecting circuit 11-4 to check read data and the check bit and to correct or detect them are housed in a host device 11, and a parity generating circuit for data transfer and a parity check circuit between the host device 11 and a storage device 12 are excluded.

Description

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

【0001】0001

【産業上の利用分野】本発明は、情報処理装置に関し、
特に、記憶装置と上位装置とを有する情報処理装置のエ
ラー訂正検出方式に関する。
[Industrial Application Field] The present invention relates to an information processing device,
In particular, the present invention relates to an error correction detection method for an information processing device having a storage device and a host device.

【0002】0002

【従来の技術】従来、この種の情報処理装置のエラー訂
正検出方式は、図2に示すように、チェックビット生成
回路22−3およびエラー訂正検出回路22−4を記憶
装置22内に収容し、また、上位装置21と記憶装置2
2との間を転送する書込み読出しデータのパリティチェ
ックを行なうためのパリティ生成回路21−2,22−
5とパリティチェック回路21−4,22−2とを有し
ている。
2. Description of the Related Art Conventionally, as shown in FIG. 2, an error correction detection method for this type of information processing apparatus accommodates a check bit generation circuit 22-3 and an error correction detection circuit 22-4 in a storage device 22. , Also, the host device 21 and the storage device 2
Parity generation circuits 21-2 and 22- for performing parity check of write and read data transferred between
5 and parity check circuits 21-4 and 22-2.

【0003】次に、動作について説明する。書込み時は
、上位装置21内の書込みデータ出力回路21−1から
出力された書込みデータに、パリティ生成回路21−2
で生成したパリティを付加して記憶装置22に転送し、
記憶制御部22−1内のパリティチェック回路22−2
でパリティチェックを行なうとともに、チェックビット
生成回路22−3でチェックビットを生成して記憶部2
2−6にデータおよびチェックビットを書込む。
Next, the operation will be explained. During writing, the parity generation circuit 21-2 receives the write data output from the write data output circuit 21-1 in the host device 21.
The parity generated in is added and transferred to the storage device 22,
Parity check circuit 22-2 in storage control unit 22-1
At the same time, the check bit generating circuit 22-3 generates a check bit and stores it in the storage unit 2.
Write data and check bits to 2-6.

【0004】読出し時は、記憶部22−6から読出され
たデータおよびチェックビットから記憶制御部内のエラ
ー訂正検出回路22−4で読出しデータのエラー訂正ま
たは検出を行ない、訂正後の読出しデータにパリティ生
成回路22−5で生成したパリティを付加して上位装置
21へ送出し、読出しデータ入力回路21−3に入力す
るとともに、パリティチェック回路21−4でパリティ
チェックを行なう。
During reading, the error correction and detection circuit 22-4 in the storage control unit corrects or detects errors in the read data based on the data read from the storage unit 22-6 and check bits, and parity is added to the corrected read data. The parity generated by the generation circuit 22-5 is added and sent to the host device 21, inputted to the read data input circuit 21-3, and a parity check is performed by the parity check circuit 21-4.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、この従
来のエラー訂正検出方式では、上位装置21と記憶装置
22との間の転送はパリティチェックを行なっているだ
けであり、この間で1ブロックエラーが発生した場合、
データの訂正は行なわれず、リトライ後に再発生すると
システムダウンしてしまうという問題点があった。
[Problem to be Solved by the Invention] However, in this conventional error correction detection method, the transfer between the host device 21 and the storage device 22 only performs a parity check, and one block error occurs during this time. if you did this,
There was a problem in that the data was not corrected and if it occurred again after a retry, the system would go down.

【0006】本発明は、上記の問題点にかんがみてなさ
れたもので、上位装置と記憶装置との間の転送において
発生した1ブロックエラーの訂正を可能にした情報処理
装置のエラー訂正検出方式の提供を目的とする。
The present invention was made in view of the above-mentioned problems, and provides an error correction detection method for an information processing device that makes it possible to correct a single block error that occurs during transfer between a host device and a storage device. For the purpose of providing.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
本発明の情報処理装置のエラー訂正検出方式は、記憶装
置と、該記憶装置にデータの読み書きを行なう上位装置
とを有する情報処理装置において、上位装置は、記憶装
置に書き込むデータを出力する書込みデータ出力回路と
、該書込みデータ出力回路からの書込みデータからチェ
ックビットを生成して該書込みデータに付加するチェッ
クビット生成回路と、記憶装置から読み出してきた読出
しデータを入力する読出しデータ入力回路と、該読出し
データ入力回路が入力する読出しデータおよびチェック
ビットをチェックしてエラーの訂正もしくは検出を行な
うエラー訂正検出回路とを備えた構成としてある。
[Means for Solving the Problems] In order to achieve the above object, an error correction detection method for an information processing device according to the present invention is provided in an information processing device having a storage device and a host device that reads and writes data to the storage device. , the host device includes a write data output circuit that outputs data to be written to the storage device, a check bit generation circuit that generates a check bit from the write data from the write data output circuit and adds it to the write data, and a check bit generation circuit that outputs the data to be written to the storage device. The configuration includes a read data input circuit that inputs read data that has been read, and an error correction detection circuit that corrects or detects errors by checking the read data and check bits input by the read data input circuit.

【0008】[0008]

【作用】上記構成からなる情報処理装置のエラー訂正検
出方式によれば、上位装置内に書込みデータに付加する
チェックビットを生成するチェックビット生成回路と読
出しデータのエラー訂正または検出を行なうエラー訂正
検出回路とを収納したので、上位装置と記憶装置との間
の転送において発生した1ブロックエラーが訂正可能に
なる。
[Operation] According to the error correction detection method for an information processing device having the above configuration, a check bit generation circuit that generates a check bit to be added to write data is included in the host device, and an error correction detection circuit that performs error correction or detection of read data. Since the circuit is accommodated, it becomes possible to correct a one-block error that occurs during transfer between the host device and the storage device.

【0009】[0009]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は本発明の一実施例に係る情報処理装
置を示すブロック図である。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an information processing apparatus according to an embodiment of the present invention.

【0010】図中11は記憶装置12にデータの書込み
および読出しを行なう上位装置で、11−1は記憶装置
12に書込むデータを出力する書込みデータ出力回路、
11−2は書込みデータからチェックビットを生成して
書込みデータに付加し記憶装置12に送出するチェック
ビット生成回路、11−3は記憶装置12から読出して
きたデータを入力する読出しデータ入力回路、11−4
は記憶装置12から読出してきたデータおよびチェック
ビットをチェックしエラーの訂正または検出を行なうエ
ラー訂正検出回路である。
In the figure, 11 is a host device that writes and reads data to and from the storage device 12; 11-1 is a write data output circuit that outputs data to be written to the storage device 12;
11-2 is a check bit generation circuit that generates a check bit from the write data, adds it to the write data, and sends it to the storage device 12; 11-3 is a read data input circuit that inputs the data read from the storage device 12; -4
is an error correction and detection circuit that checks the data and check bits read from the storage device 12 and corrects or detects errors.

【0011】12は上位装置11から書込みおよび読出
しされるデータを記憶する記憶装置で、12−1は記憶
部12−2の所定のアドレスにアクセスしてデータの書
込みまたは読出しを行なう記憶制御部、12−2は記憶
制御部12−1から書込み、読出しされるデータを所定
のアドレスに記憶保持する記憶部である。
12 is a storage device that stores data written and read from the host device 11; 12-1 is a storage control unit that accesses a predetermined address of the storage unit 12-2 to write or read data; 12-2 is a storage unit that stores and holds data written and read from the storage control unit 12-1 at a predetermined address.

【0012】したがって、本実施例においては、書込み
時は上位装置11内の書込みデータ出力回路11−1か
ら出力された書込みデータに上位装置11内のチェック
ビット生成回路11−2で生成したチェックビットを付
加して記憶装置12に転送し、記憶制御部12−1にお
いて生成される制御信号にしたがって記憶部12−2の
所定のアドレスにデータおよびチェックビットを書込む
Therefore, in this embodiment, during writing, the check bit generated by the check bit generation circuit 11-2 in the host device 11 is added to the write data output from the write data output circuit 11-1 in the host device 11. is added and transferred to the storage device 12, and data and check bits are written to a predetermined address in the storage section 12-2 according to a control signal generated in the storage control section 12-1.

【0013】上位装置11および記憶装置12には、そ
れぞれパリティ生成回路,パリティチェック回路は用意
せず、上位装置11と記憶装置12との間のデータおよ
びチェックビット転送においてパリティの生成,チェッ
クは行なわない。
The host device 11 and the storage device 12 are not provided with a parity generation circuit and a parity check circuit, respectively, and parity generation and checking are not performed during data and check bit transfer between the host device 11 and the storage device 12. do not have.

【0014】一方、読出し時は、記憶部12−2から読
出されたデータおよびチェックビットを、記憶制御部1
2−1において生成される制御信号にしたがって上位装
置11に転送し、上位装置11内のエラー訂正検出回路
11−4で読出しデータおよびチェックビットをチェッ
クしエラーの訂正または検出を行なって読出しデータ入
力回路11ー3に入力する。
On the other hand, during reading, the data and check bits read from the storage section 12-2 are transferred to the storage control section 1.
2-1, the read data and the check bit are checked by the error correction detection circuit 11-4 in the host device 11, and the error is corrected or detected, and the read data is input. Input to circuit 11-3.

【0015】書込み時と同様に、記憶装置12,上位装
置11にはそれぞれパリティ生成回路,パリティチェッ
ク回路は用意せず、記憶装置12と上位装置11との間
のデータおよびチェックビット転送において、パリティ
の生成,チェックは行なわない。
As in the case of writing, a parity generation circuit and a parity check circuit are not provided in the storage device 12 and the host device 11, respectively, and parity is used in data and check bit transfer between the storage device 12 and the host device 11. is not generated or checked.

【0016】[0016]

【発明の効果】以上説明したように、本発明の情報処理
装置のエラー訂正検出方式によれば、チェックビット生
成回路およびエラー訂正検出回路を上位装置内に収容し
たので、上位装置と記憶装置との間の転送において発生
した1ブロックエラーの訂正が可能となり、たとえ固定
障害であってもシステムをダウンさせることなく、修理
実施までデータを訂正しながら動作させることができる
As explained above, according to the error correction detection method of the information processing device of the present invention, the check bit generation circuit and the error correction detection circuit are housed in the host device, so that the host device and the storage device can be easily connected to each other. It is possible to correct a one-block error that occurs during transfer, and even if it is a fixed failure, the system can continue to operate while correcting data until repairs are made without bringing the system down.

【0017】しかも、上位装置と記憶装置との間を転送
する書込み読出しデータのパリティチェックを行なうた
めのパリティ生成回路およびパリティチェック回路を削
除したので、全体のハードウェア量を削減することがで
きる。
Furthermore, since the parity generation circuit and the parity check circuit for performing parity check of write/read data transferred between the host device and the storage device are eliminated, the overall amount of hardware can be reduced.

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

【図1】本発明の一実施例に係る情報処理装置のエラー
訂正検出方式を示すブロック図である。
FIG. 1 is a block diagram showing an error correction detection method of an information processing apparatus according to an embodiment of the present invention.

【図2】従来の情報処理装置のエラー訂正検出方式を示
すブロック図である。
FIG. 2 is a block diagram showing an error correction detection method of a conventional information processing device.

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

11      上位装置 11−1  書込みデータ出力回路 11−2  チェックビット生成回路 11−3  読出しデータ入力回路 11−4  エラー訂正検出回路 12      記憶装置 12−1  記憶制御部 12−2  記憶部 21      上位装置 21−1  書込みデータ出力回路 21−2  パリティ生成回路 21−3  読出しデータ入力回路 21−4  パリティチェック回路 22      記憶装置 22−1  記憶制御部 22−2  パリティチェック回路 22−3  チェックビット生成回路 22−4  エラー訂正検出回路 22−5  パリティ生成回路 22−6  記憶部 11 Upper device 11-1 Write data output circuit 11-2 Check bit generation circuit 11-3 Read data input circuit 11-4 Error correction detection circuit 12 Storage device 12-1 Memory control unit 12-2 Storage section 21 Upper device 21-1 Write data output circuit 21-2 Parity generation circuit 21-3 Read data input circuit 21-4 Parity check circuit 22 Storage device 22-1 Memory control unit 22-2 Parity check circuit 22-3 Check bit generation circuit 22-4 Error correction detection circuit 22-5 Parity generation circuit 22-6 Memory section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  記憶装置と、該記憶装置にデータの読
み書きを行なう上位装置とを有する情報処理装置におい
て、上位装置は、記憶装置に書き込むデータを出力する
書込みデータ出力回路と、該書込みデータ出力回路から
の書込みデータからチェックビットを生成して該書込み
データに付加するチェックビット生成回路と、記憶装置
から読み出してきた読出しデータを入力する読出しデー
タ入力回路と、該読出しデータ入力回路が入力する読出
しデータおよびチェックビットをチェックしてエラーの
訂正もしくは検出を行なうエラー訂正検出回路とを備え
たことを特徴とする情報処理装置のエラー訂正検出方式
Claim 1. An information processing device comprising a storage device and a host device that reads and writes data to the storage device, wherein the host device includes a write data output circuit that outputs data to be written to the storage device, and a write data output circuit that outputs data to be written to the storage device. A check bit generation circuit that generates a check bit from write data from a circuit and adds it to the write data, a read data input circuit that inputs read data read from a storage device, and a read input circuit that inputs the read data input circuit. 1. An error correction and detection method for an information processing device, comprising an error correction and detection circuit that corrects or detects errors by checking data and check bits.
JP3126802A 1991-04-30 1991-04-30 Error correcting and detecting system for information processor Pending JPH04329444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3126802A JPH04329444A (en) 1991-04-30 1991-04-30 Error correcting and detecting system for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3126802A JPH04329444A (en) 1991-04-30 1991-04-30 Error correcting and detecting system for information processor

Publications (1)

Publication Number Publication Date
JPH04329444A true JPH04329444A (en) 1992-11-18

Family

ID=14944325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3126802A Pending JPH04329444A (en) 1991-04-30 1991-04-30 Error correcting and detecting system for information processor

Country Status (1)

Country Link
JP (1) JPH04329444A (en)

Similar Documents

Publication Publication Date Title
JPH0212445A (en) Storage device
JPH04329444A (en) Error correcting and detecting system for information processor
JPH0316655B2 (en)
JPH04115340A (en) Duplex storage circuit
JP2853555B2 (en) Storage controller
JPH06149685A (en) Memory error recovering circuit
JP2601038B2 (en) Microprogram error detection / correction device
JPS62125453A (en) Storage device
JPH0216658A (en) Memory device
JPH0520215A (en) Information processor
JPH10143383A (en) Error detecting and correcting device
JP2000207289A (en) Data error detecting system and its method
JP2609768B2 (en) Error detection method for control information read data
JPH0533252U (en) Memory controller
JP3045532B2 (en) Memory device
JPH06301604A (en) Storage reproducing system
JPH0553924A (en) System for testing storage device
JPH0612273A (en) Data memory monitor system
JP2000099410A (en) Memory control circuit and information processor
JPH01282657A (en) Memory
JPH054266U (en) Memory device
JPH05173899A (en) Information processor
JPH03152643A (en) Double bit error control circuit
JPH05224968A (en) Data check system
JPH03126146A (en) Storage device