JPH05314017A - Data recovering system - Google Patents
Data recovering systemInfo
- Publication number
- JPH05314017A JPH05314017A JP4117237A JP11723792A JPH05314017A JP H05314017 A JPH05314017 A JP H05314017A JP 4117237 A JP4117237 A JP 4117237A JP 11723792 A JP11723792 A JP 11723792A JP H05314017 A JPH05314017 A JP H05314017A
- Authority
- JP
- Japan
- Prior art keywords
- data
- address
- register
- information processing
- storage device
- 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.)
- Withdrawn
Links
- 230000010365 information processing Effects 0.000 claims description 21
- 238000011084 recovery Methods 0.000 claims description 12
- 238000000034 method Methods 0.000 claims description 7
- 238000013500 data storage Methods 0.000 abstract description 24
- 238000010586 diagram Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、データリカバリ方式、
特に情報処理装置が障害を起こしたときに、情報処理装
置が持つ記憶手段(RAMやレジスタファイルなど)の
データをリカバリし、リトライを行なうデータリカバリ
方式に関する。The present invention relates to a data recovery system,
In particular, the present invention relates to a data recovery method for recovering data in a storage unit (RAM, register file, etc.) of the information processing apparatus and retrying the data processing apparatus when a failure occurs in the information processing apparatus.
【0002】[0002]
【従来の技術】従来、この種のデータリカバリ方式で
は、記憶装置のデータに誤りがある場合は、ECC(ER
ROR CORRECTING CODE )により1バットエラーの修正を
行う方法が一般的に用いられている。2. Description of the Related Art Conventionally, in this type of data recovery method, when data in a storage device has an error, ECC (ER
ROR CORRECTING CODE) is generally used to correct one bat error.
【0003】[0003]
【発明が解決しようとする課題】上述したように従来の
データリカバリ方式では、1ビットエラー等の単純な場
合にのみリカバリが可能であり、2ビット以上エラーし
た場合にはリカバリがかなり困難になってしまう。ま
た、そのような場合情報処理装置のダウンまで引き起す
こととなってしまうという欠点があった。As described above, in the conventional data recovery method, the recovery is possible only in a simple case such as a 1-bit error, and the recovery becomes considerably difficult when an error of 2 bits or more occurs. Will end up. Further, in such a case, there is a drawback that the information processing apparatus is brought down.
【0004】[0004]
【課題を解決するための手段】本発明の方式は、ストア
スルー構成の記憶手段を備えた情報処理装置と診断装置
から成るデータ処理装置におけるデータリカバリ方式に
おいて、前記情報処理装置には、前記記憶手段に書き込
むデータを保持するデータ保持手段と、前記記憶手段の
読みだし書き込みアドレスを保持するアドレス保持手段
と、前記データ保持手段のデータと前記記憶手段のデー
タを比較するデータ比較手段と、前記データ比較手段が
データの不一致を検出したとき前記診断装置より前記記
憶手段に書き込むデータを前記データ保持手段のデータ
に切り換えるデータ切り替え手段と、前記データ不一致
のときに前記診断装置より前記記憶手段の読みだし書き
込みアドレスを前記アドレス保持手段のアドレスに切り
替えるアドレス切り替え手段とを具備し、また前記診断
装置には、前記データ比較手段がデータの不一致を検出
したことを示すフラグを具備し、前記フラグが立つと前
記診断装置は前記情報処理装置における処理を一時停止
し、前記アドレス保持手段および前記データ保持手段の
各保持内容により前記記憶手段への書き込みを行うよう
にしたことを特徴とする。The system of the present invention is a data recovery system in a data processing device comprising an information processing device and a diagnostic device having a storage means of a store-through structure, wherein the information processing device has the storage device. Data holding means for holding data to be written in the means, address holding means for holding the read / write address of the storage means, data comparison means for comparing the data of the data holding means with the data of the storage means, and the data Data switching means for switching the data to be written in the storage means from the diagnostic device to the data in the data holding means when the comparing means detects a data mismatch, and reading the storage means from the diagnostic device when the data does not match. Address switching to switch the write address to the address of the address holding means And a flag indicating that the data comparison unit has detected a data mismatch, and the diagnostic device temporarily stops the processing in the information processing device when the flag is set. The present invention is characterized in that the storage is stopped and writing is performed to the storage means according to the held contents of the address holding means and the data holding means.
【0005】[0005]
【実施例】次に、本発明について図面を参照して説明す
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.
【0006】本発明の一実施例を示す図1を参照する
と、本実施例はデータ記憶装置11,データレジスタ1
2,アドレスレジスタ13,データ比較器14,データ
セレクタ15およびアドレスセレクタ16を含む情報処
理装置1と、エラーフラグ21を含む診断装置2とから
構成されている。Referring to FIG. 1 showing an embodiment of the present invention, the present embodiment has a data storage device 11 and a data register 1.
2, an information processing device 1 including an address register 13, a data comparator 14, a data selector 15 and an address selector 16 and a diagnostic device 2 including an error flag 21.
【0007】データ記憶装置11は、情報処理装置1が
種々の処理を行なうためのデータ等を記憶しておりスト
アスルーのメモリ構成である。データレジスタ12は、
データ記憶装置11に記憶されるデータを保持するレジ
スタであり、その出力はデータ比較器14とデータセレ
クタ15に入っている。アドレスレジスタ13は、デー
タ記憶装置11の書き込み読みだしアドレスを保持する
レジスタであり、その出力はアドレスセレクタ16に入
力している。The data storage device 11 stores data and the like for the information processing device 1 to perform various processes, and has a store-through memory configuration. The data register 12 is
It is a register that holds the data stored in the data storage device 11, and its output is stored in the data comparator 14 and the data selector 15. The address register 13 is a register that holds the write / read address of the data storage device 11, and its output is input to the address selector 16.
【0008】データ比較器14は、データ記憶装置11
に記憶されたデータと、データレジスタ12に保持され
たデータとを比較するものでその比較結果は診断装置2
に送られる。データセレクタ15は、データ比較器14
が比較の結果、不一致を検出したとき診断装置2により
データのパスをデータレジスタ12側に切り換える。ア
ドレスセレクタ16は、データ比較器14が比較の結
果、不一致を検出したとき診断装置2によりアドレスの
パスをアドレスレジスタ13側に切り換える。The data comparator 14 includes a data storage device 11
The data stored in the data register 12 is compared with the data held in the data register 12. The comparison result is the diagnostic device 2
Sent to. The data selector 15 includes a data comparator 14
As a result of the comparison, when a mismatch is detected, the diagnostic device 2 switches the data path to the data register 12 side. The address selector 16 switches the address path to the address register 13 side by the diagnostic device 2 when the data comparator 14 detects a mismatch as a result of the comparison.
【0009】診断装置2内のエラーフラグ21は、デー
タ比較器14でデータが比較不一致を検出したときに立
つことになる。また、診断装置2は、エラーの報告等を
受けると情報処理装置1を一時的に止めたり、情報処理
装置1のデータセレクタ15やアドレスセレクタ16の
セレクト方向を替えたりすることができる。The error flag 21 in the diagnostic device 2 is set when the data comparator 14 detects a data mismatch. Further, when the diagnostic device 2 receives an error report or the like, it can temporarily stop the information processing device 1 or change the selection direction of the data selector 15 or the address selector 16 of the information processing device 1.
【0010】次に本実施例の動作の説明をする。Next, the operation of this embodiment will be described.
【0011】情報処理装置1が通常動作をしているとき
は、データセレクタ15は、データレジスタ12の出力
を受けるのと逆側に切り換えてあり、アドレスセレクタ
16は、アドレスレジスタ13の出力を受けるのと逆側
に切り換えてある。When the information processing device 1 is operating normally, the data selector 15 is switched to the opposite side to the output of the data register 12, and the address selector 16 receives the output of the address register 13. It has been switched to the opposite side.
【0012】データ記憶装置11にライトイネーブルが
くるたびに指示されたアドレスでデータをデータ記憶装
置11に記憶していく。またそれと同時にデータのパス
はデータレジスタ12にも入っているのでデータがデー
タ記憶装置11に記憶されるたびにそのデータがデータ
レジスタ12にも保持される。同様にアドレスに関して
もアドレスのパスがアドレスレジスタ13に入っている
のでそのときのアドレスもアドレスレジスタ13に保持
される。Each time the data storage device 11 receives a write enable, data is stored in the data storage device 11 at the designated address. At the same time, since the data path is also stored in the data register 12, the data is held in the data register 12 every time the data is stored in the data storage device 11. Similarly, as for the address, since the address path is stored in the address register 13, the address at that time is also held in the address register 13.
【0013】データ記憶装置11は、ストアスルー方式
なので記憶されたデータはアドレスをかえないかぎりデ
ータ記憶装置11の出力として常に見えている。また、
データ比較器14はデータ記憶装置11の出力とデータ
レジスタ12の出力を比較し、正しくデータがデータ記
憶装置11に記憶されているかをデータがデータ記憶装
置11に記憶されるたびにチェックする。Since the data storage device 11 is a store-through system, the stored data is always visible as an output of the data storage device 11 unless the address is changed. Also,
The data comparator 14 compares the output of the data storage device 11 with the output of the data register 12, and checks whether the data is correctly stored in the data storage device 11 each time the data is stored in the data storage device 11.
【0014】ここでデータ記憶装置11になんらかの障
害が発生し、その結果により、記憶されたデータとデー
タレジスタ12のデータとがデータ比較器14で不一致
となると、データ比較器14より診断装置2のエラーフ
ラグ21を立てる。診断装置2はエラーフラグ21が立
つたのがわかると、ただちに情報処理装置1に対して処
理を一時停止するようにする。If some trouble occurs in the data storage device 11 and the stored data and the data in the data register 12 do not match in the data comparator 14 as a result, the data comparator 14 causes the diagnostic device 2 to operate. The error flag 21 is set. When the diagnostic device 2 finds that the error flag 21 is set, it immediately causes the information processing device 1 to suspend the processing.
【0015】次に診断装置2は、データセレクタ15を
データレジスタ12側にアドレスセレクタ16をアドレ
スレジスタ13側に切り換える。このときデータレジス
タ12にはデータ記憶装置11に記憶されたときのデー
タが保持してあり、アドレスレジスタ13にはデータ記
憶装置11にデータが記憶されたときのアドレスが保持
されている。そこで診断装置2はデータ記憶装置11に
対して一回ライトイネーブルを出してデータのリカバリ
を行なう。このときのデータ及びアドレスはデータ比較
器14で不一致を検出したときの書き込みデータ及びア
ドレスである。Next, the diagnostic device 2 switches the data selector 15 to the data register 12 side and the address selector 16 to the address register 13 side. At this time, the data register 12 holds the data stored in the data storage device 11, and the address register 13 holds the address stored in the data storage device 11. Therefore, the diagnostic device 2 issues a write enable to the data storage device 11 once to recover the data. The data and address at this time are the write data and address when the data comparator 14 detects a mismatch.
【0016】リカバリで記憶されたデータも通常動作の
ときと同様にデータ比較器14でデータの一致チェック
が行なわれ、不一致でなければ診断装置2のエラーフラ
グ21にリセットされるので、診断装置2は、情報処理
装置1を一時止めたのを解除し、情報処理装置1は通常
処理に戻る。The data stored in the recovery is also checked for data coincidence by the data comparator 14 as in the normal operation, and if there is no discrepancy, the error flag 21 of the diagnostic device 2 is reset. Cancels the temporary suspension of the information processing device 1, and the information processing device 1 returns to the normal processing.
【0017】しかし、リカバリしたにもかかわらずやは
りデータ比較器14でデータ不一致を検出した場合は、
診断装置2のエラーフラグ21は立ったままなので診断
装置2はデータ記憶装置11の障害として情報処理装置
1を再び動作させず、障害処理をおこなう。However, when the data comparator 14 still detects a data mismatch even after the recovery,
Since the error flag 21 of the diagnostic device 2 remains on, the diagnostic device 2 does not operate the information processing device 1 again as a fault of the data storage device 11 and performs the fault process.
【0018】このように、記憶されたデータの一致性を
常にチェックし、不一致の場合は、データレジスタ12
に保持されたデータによりデータ記憶装置11のデータ
をリカバリして情報処理装置1の運用を続けるようにす
る。In this way, the consistency of the stored data is always checked, and if they do not match, the data register 12
The data stored in the data storage device 11 is recovered by the data held in the information processing device 1 to continue the operation of the information processing device 1.
【0019】[0019]
【発明の効果】以上説明したように本発明は、データ記
憶装置に記憶されたデータを常時比較一致チェックをし
ているし、またリカバリ用のデータもデータレジスタに
保持しているので単純な構成でデータのリカバリが可能
である。この結果、ECCのように1ビットの反転エラ
ーだけでなく、データそのものを比較一致チェックして
いるので、データが2ビット以上エラーしている場合も
簡単にデータのリカバリをすることができる。As described above, according to the present invention, the data stored in the data storage device is constantly compared and matched, and the data for recovery is also held in the data register. Data can be recovered with. As a result, not only the 1-bit inversion error as in the ECC but also the data itself is compared and checked. Therefore, even if the data has an error of 2 bits or more, the data can be easily recovered.
【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
1 情報処理装置 11 データ記憶部 12 データレジスタ 13 アドレスレジスタ 14 データ比較器 15 データセレクタ 16 アドレスレジスタ 2 診断装置 21 エラーフラグ 1 Information Processing Device 11 Data Storage Unit 12 Data Register 13 Address Register 14 Data Comparator 15 Data Selector 16 Address Register 2 Diagnostic Device 21 Error Flag
Claims (1)
報処理装置と診断装置から成るデータ処理装置における
データリカバリ方式において、 前記情報処理装置には、前記記憶手段に書き込むデータ
を保持するデータ保持手段と、前記記憶手段の読みだし
書き込みアドレスを保持するアドレス保持手段と、前記
データ保持手段のデータと前記記憶手段のデータを比較
するデータ比較手段と、前記データ比較手段がデータの
不一致を検出したとき前記診断装置より前記記憶手段に
書き込むデータを前記データ保持手段のデータに切り換
えるデータ切り替え手段と、前記データ不一致のときに
前記診断装置より前記記憶手段の読みだし書き込みアド
レスを前記アドレス保持手段のアドレスに切り替えるア
ドレス切り替え手段とを具備し、 また前記診断装置には、前記データ比較手段がデータの
不一致を検出したことを示すフラグを具備し、 前記フラグが立つと前記診断装置は前記情報処理装置に
おける処理を一時停止し、前記アドレス保持手段および
前記データ保持手段の各保持内容により前記記憶手段へ
の書き込みを行うようにしたことを特徴とするデータリ
カバリ方式。1. A data recovery method in a data processing apparatus comprising an information processing apparatus and a diagnostic apparatus having a storage means having a store-through structure, wherein the information processing apparatus holds data to be written in the storage means. An address holding means for holding the read / write address of the storage means, a data comparison means for comparing the data of the data holding means with the data of the storage means, and when the data comparison means detects a data mismatch Data switching means for switching the data written in the storage means from the diagnostic device to the data in the data holding means; and the read / write address of the storage means from the diagnostic device when the data does not match, to the address of the address holding means. And an address switching means for switching, The disconnection device includes a flag indicating that the data comparison means has detected a data mismatch, and when the flag is set, the diagnostic device suspends the processing in the information processing device, and the address holding means and the A data recovery method characterized in that writing to the storage means is performed according to each held content of the data holding means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4117237A JPH05314017A (en) | 1992-05-11 | 1992-05-11 | Data recovering system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4117237A JPH05314017A (en) | 1992-05-11 | 1992-05-11 | Data recovering system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05314017A true JPH05314017A (en) | 1993-11-26 |
Family
ID=14706782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4117237A Withdrawn JPH05314017A (en) | 1992-05-11 | 1992-05-11 | Data recovering system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05314017A (en) |
-
1992
- 1992-05-11 JP JP4117237A patent/JPH05314017A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4371754A (en) | Automatic fault recovery system for a multiple processor telecommunications switching control | |
JPH04338849A (en) | Excessive error correction method | |
JPH05314017A (en) | Data recovering system | |
JPH0316655B2 (en) | ||
JPH04115339A (en) | Memory error processing system | |
JPH07219796A (en) | Information processor | |
JPS608962A (en) | Storage information temporary failure detection method | |
JPS59163653A (en) | Debug device | |
JPH02245954A (en) | semiconductor storage device | |
JPH02297235A (en) | Memory data protecting circuit | |
JPH0667989A (en) | Patrol circuit for memory | |
JPS6367646A (en) | Information processing system with faulty area separating function | |
JPS6143739B2 (en) | ||
JPH04365145A (en) | Memory fault processing method | |
JPH01309421A (en) | error correction method | |
JPH07295807A (en) | Micro program controller | |
JPS61150041A (en) | Duplex information processing system | |
JPH0520215A (en) | Information processor | |
JPH10247157A (en) | Transaction processing system and its recovering method | |
JPS61253564A (en) | Storage device | |
JPS6356751A (en) | Memory patrol control method | |
JPH07244613A (en) | Redundant memory control method | |
JPH0135369B2 (en) | ||
JPH039433A (en) | Information processor | |
JPH045222B2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19990803 |