JP2500440B2 - Fault handling method - Google Patents
Fault handling methodInfo
- Publication number
- JP2500440B2 JP2500440B2 JP5118862A JP11886293A JP2500440B2 JP 2500440 B2 JP2500440 B2 JP 2500440B2 JP 5118862 A JP5118862 A JP 5118862A JP 11886293 A JP11886293 A JP 11886293A JP 2500440 B2 JP2500440 B2 JP 2500440B2
- Authority
- JP
- Japan
- Prior art keywords
- storage unit
- data
- block
- processing
- copy
- 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.)
- Expired - Lifetime
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、リアルタイム処理を行
う情報処理装置の障害処理方式に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure processing method for an information processing apparatus which performs real time processing.
【0002】[0002]
【従来の技術】従来の情報処理装置における障害処理方
式は、障害検出時に内部メモリのその時点における状態
をログアウトするため、マイクロプログラムによって内
部メモリ状態の凍結を目的として内部メモリの情報を内
部メモリのログアウト用エリアに退避し、その後通常動
作回復処理を行っている。2. Description of the Related Art In a conventional failure processing method in an information processing apparatus, since the state of the internal memory at that time is logged out when a failure is detected, information in the internal memory is stored in the internal memory for the purpose of freezing the internal memory state by a microprogram. After saving to the logout area, normal operation recovery processing is performed.
【0003】[0003]
【発明が解決しようとする課題】一般的に、内部メモリ
への退避データは大量であるため、障害検出から通常動
作回復処理(リアルタイム処理等の要求を受付可能な状
態にする処理)への移行には時間を要し、また、連続し
ない単発の障害であっても、リアルタイム処理要求が待
たされるため、業務に支障を来たすという欠点がある。Generally, since a large amount of data is saved in the internal memory, a transition from a failure detection to a normal operation recovery process (a process for making a request such as a real-time process available for reception) is performed. Takes time, and even in the case of a single continuous failure, the real-time processing request is kept waiting, which has a drawback that it hinders business.
【0004】[0004]
【課題を解決するための手段】本発明の障害処理方式
は、リアルタイム処理を行う情報処理装置における障害
処理方式であって、複数のブロックを有する第1の記憶
部と、前記第1の記憶部の前記複数のブロックのアドレ
スに対応する複数のブロックを有しログを格納するため
の第2の記憶部と、前記第1の記憶部へのデータ書込み
時に同じデータを前記第2の記憶部に対して書込むデー
タログ動作を行いこのデータログ動作を前記第2の記憶
部の各ブロックごとへの抑止・開始と前記第2の記憶部
へのデータの読出し・書込みとを制御する記憶部制御手
段と、前記第1の記憶部への書込み動作の有無を各ブロ
ックごとに検出しこの検出結果に基づいて前記各ブロッ
ク個別に初期化する記憶部書込み検出手段と、前記情報
処理装置の障害検出時に前記記憶部制御手段に対し前記
第2の記憶部の全ブロックへのデータログ動作の抑止を
指示し通常処理を受付可能にする通常動作回復手段と、
前記通常動作回復手段による処理後前記第2の記憶部内
のデータのログアウトを行うログアウト手段と、前記ロ
グアウト手段による処理後前記第1の記憶部から前記第
2の記憶部への全データのコピー処理を実行し、コピー
処理中に他の処理要求がある場合は前記コピー処理を中
断し前記記憶部制御手段にコピーの完了したブロックま
でのデータログ動作の再開を指示し、前記記憶部書込み
検出手段に前記コピー処理を中断したブロックの初期化
を指示する記憶部データ復帰手段とを備えている。A failure processing method according to the present invention is a failure processing method in an information processing apparatus that performs real-time processing, and includes a first storage section having a plurality of blocks, and the first storage section. A second storage unit having a plurality of blocks corresponding to addresses of the plurality of blocks for storing a log, and the same data in the second storage unit when writing data to the first storage unit. Storage unit control for performing a data log operation of writing to the second storage unit and controlling inhibition / start of each data storage block in each block of the second storage unit and reading / writing of data to the second storage unit Means, storage unit write detection means for detecting the presence or absence of a write operation to the first storage unit for each block, and initializing each block individually based on the detection result, and failure detection of the information processing device. A normal operation recovery means to said storage unit controlling means can be accepted instructions normally process the suppression of data logging operations to all the blocks of the second storage unit, the
Logout means for logging out the data in the second storage unit after processing by the normal operation recovery means, and copy processing of all data from the first storage section to the second storage section after processing by the logout means When there is another processing request during the copy process, the copy process is interrupted, the storage unit control unit is instructed to restart the data log operation up to the block where the copy is completed, and the storage unit write detection unit is executed. And a storage unit data restoring means for instructing initialization of the block in which the copy processing is interrupted.
【0005】さらに、前記記憶部データ復帰手段は、前
記記憶部書込み検出手段による検出結果を基に、前記コ
ピー処理中断中に前記コピー処理を中断したブロックへ
の書込み動作が行われていない場合は中断した箇所から
コピー処理を再開し、書込み動作が行われていた場合は
前記コピー処理を中断したブロックの先頭から前記コピ
ー処理を再開し、全データのコピー処理終了時は前記第
2の記憶部の抑止している全ブロックのデータログ動作
を再開することを特徴とする。Further, the storage section data restoring means is based on the detection result by the storage section write detecting means, when the writing operation to the block in which the copy processing is interrupted is not performed during the copy processing interruption. The copy process is restarted from the interrupted position, and if the write operation is being performed, the copy process is restarted from the beginning of the block in which the copy process is interrupted, and when the copy process of all data is completed, the second storage unit is restarted. It is characterized by restarting the data log operation of all blocks that are suppressed.
【0006】[0006]
【実施例】次に、本発明について図面を参照して具体的
に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be specifically described with reference to the drawings.
【0007】図1は、本発明を実現する一実施例の構成
を示すブロック図である。本発明の障害処理方式は、図
1に示すように、プロセッサ1と、プロセッサ1を動作
させるためのプログラムを格納する制御メモリ(以下、
CSという)2と、内部メモリ(以下、LMという)3
と、ログ用内部メモリ(以下、ログ用LMという)4
と、ログ用LM4の動作を制御するログ用LMコントロ
ーラ5と、LM書込み検出回路6とから構成されてい
る。また、CS2内には、通常動作回復処理プログラム
7,ログアウトプログラム8およびログ用LMデータ復
帰プログラム9を格納している。FIG. 1 is a block diagram showing the configuration of an embodiment for realizing the present invention. As shown in FIG. 1, the failure processing method of the present invention includes a processor 1 and a control memory (hereinafter, referred to as a control memory) that stores a program for operating the processor 1.
2) and internal memory (hereinafter referred to as LM) 3
And a log internal memory (hereinafter referred to as a log LM) 4
And a log LM controller 5 for controlling the operation of the log LM 4, and an LM write detection circuit 6. In addition, a normal operation recovery processing program 7, a logout program 8 and a log LM data restoration program 9 are stored in the CS 2.
【0008】プロセッサ1は、CS2内に格納するプロ
グラムの指示に従って動作し、LM3および図示しない
I/O(入出力部)に対してアクセスすることにより処
理を行う。ログ用LM4は、LM3と同一のアドレスに
配置されている。また、プロセッサのLM3に対するデ
ータの書込み動作時は、ログ用LM4がLM3と同一の
イメージを有するように、ログ用LMコントローラ5が
同じデータをログ用LM4に書込むためのライトデータ
の書込み動作(以下、データログ動作という)を制御す
る。The processor 1 operates according to the instructions of the program stored in the CS 2 and performs processing by accessing the LM 3 and an I / O (input / output unit) not shown. The log LM4 is arranged at the same address as the LM3. Further, when the processor writes data to the LM3, the write LM controller 5 writes the same data to the log LM4 so that the log LM4 has the same image as the LM3. Hereinafter, the data log operation) is controlled.
【0009】さらに、LM3およびログ用LM4は、両
者同じ構成で複数ブロックに分割されており、本実施例
ではそれぞれ4ブロックに分割されているものとして、
LM3のブロックをLM3a〜3dとし、ログ用LM4
のブロックをログ用LM4a〜4dとする。Further, the LM 3 and the log LM 4 are divided into a plurality of blocks with the same structure, and in this embodiment, each is divided into 4 blocks.
The blocks of LM3 are LM3a to 3d, and LM4 for log is used.
Blocks are designated as log LMs 4a to 4d.
【0010】ログ用LMコントローラ5は、各ブロック
ごとにデータログ動作をプロセッサ1からの指示により
開始,抑止する機能と、プロセッサ1からの指示により
ログ用LM4内のデータを読出す機能と、ログ用LM4
へのデータ書込みをLM3とは個別に行う機能とを有し
ている。The log LM controller 5 has a function of starting and suppressing a data log operation for each block according to an instruction from the processor 1, a function of reading data in the log LM 4 according to an instruction from the processor 1, and a log. For LM4
It has a function of writing data to the LM3 separately.
【0011】LM書込み検出回路6は、LM3の各ブロ
ックに対応して書込みの有無を検出するF/F(フリッ
プフロップ)からなる書込み検出F/F6a〜6dを有
し、プロセッサ1のLM3へのアクセスを監視してい
る。そして、書込み動作時には、アクセスするアドレス
により該当ブロックを割り出し、対応する書込み検出F
/F6a〜6dの内の1つをセットする。この書込み検
出F/F6a〜6dは、プロセッサ1より読出すことが
可能であり、各書込み検出F/F6a〜6dごとにリセ
ット可能である。The LM write detection circuit 6 has write detection F / Fs 6a to 6d composed of F / Fs (flip-flops) for detecting the presence / absence of writing corresponding to each block of the LM3, and the LM3 of the processor 1 is connected to the LM3. Monitors access. Then, at the time of write operation, the corresponding block is determined by the address to be accessed, and the corresponding write detection F
Set one of / F6a-6d. The write detection F / Fs 6a to 6d can be read by the processor 1, and can be reset for each write detection F / F 6a to 6d.
【0012】ここで、LM3およびログ用LM4の各ブ
ロックと書込み検出F/F6a〜6dとの対応は、図
中、同じ添字のものが対応しているものとし、例えば、
LM3のブロック3a,ログ用LM4のブロック4a,
LM書込み検出回路6の書込み検出F/F6aが対応す
る。Here, the correspondence between the blocks of the LM3 and the log LM4 and the write detection F / Fs 6a to 6d are assumed to correspond to those having the same subscript in the figure.
Block 3a of LM3, block 4a of LM4 for log,
The write detection F / F 6a of the LM write detection circuit 6 corresponds thereto.
【0013】次に、情報処理装置の障害を検出したとき
の動作について、CS2内に備える通常動作回復処理プ
ログラム7,ログアウトプログラム8,ログ用LMデー
タ復帰プログラム9の動作とともに説明する。Next, the operation when a failure of the information processing device is detected will be described together with the operations of the normal operation recovery processing program 7, the logout program 8 and the log LM data restoration program 9 provided in the CS2.
【0014】まず、情報処理装置の障害が検出され、通
常動作回復プログラム7がプロセッサ1により起動され
ると、通常動作回復処理プログラム7はログ用LMコン
トローラ5に対しログ用LM4へのデータログ動作を抑
止する指示を行った後、直ちに割り込みによるリアルタ
イム処理等の通常処理を受付可能な状態にする。First, when a failure of the information processing device is detected and the normal operation recovery program 7 is started by the processor 1, the normal operation recovery processing program 7 causes the log LM controller 5 to perform a data log operation to the log LM 4. Immediately after giving an instruction to suppress, normal processing such as real-time processing by interruption is ready to be accepted.
【0015】そして、通常動作回復処理プログラム7の
動作後、プロセッサ1は通常処理が実行可能な状態にな
るとともに、通常処理の空き時間を利用してログアウト
プログラム8を動作させる。ただし、この時点で再度障
害が発生した場合は、この障害に対応するLMログアウ
トは実施できない。After the normal operation recovery processing program 7 is operated, the processor 1 is ready to execute the normal processing and operates the logout program 8 by utilizing the idle time of the normal processing. However, if a failure occurs again at this point, LM logout corresponding to this failure cannot be performed.
【0016】次に、ログアウトプログラム8は、ログ用
LM4内のデータを図示しない保守診断プロセッサ(S
VP)に対して転送し、その後ログ用LMデータ復帰プ
ログラム9を動作させる。ただし、ログアウトプログラ
ム8の実行中に他の通常処理要求が発生した場合は、ロ
グアウトプログラム8の実行を一時中断し、要求された
通常処理を優先的に実行する。そして、通常処理が終了
すると、ログアウトプログラム8は中断していた箇所か
ら処理を再開する。Next, the logout program 8 uses the maintenance diagnostic processor (S) (not shown) for the data in the log LM 4.
VP) and then operates the log LM data restoration program 9. However, if another normal processing request occurs during execution of the logout program 8, the execution of the logout program 8 is temporarily suspended, and the requested normal processing is preferentially executed. Then, when the normal process ends, the logout program 8 restarts the process from the position where it was interrupted.
【0017】さらに、ログ用LMデータ復帰プログラム
9は、LM3からログ用LM4への全データのコピー処
理をプログラムによる転送によって行う。ただし、ログ
用LMデータ復帰プログラム9の動作中であっても通常
処理要求が発生すると、その通常処理要求を優先的に実
行するため、ログ用LMデータ復帰プログラム9は、そ
の動作を中断されることがある。Further, the log LM data restoration program 9 performs a copy process of all data from the LM 3 to the log LM 4 by transferring the program. However, if a normal processing request occurs even during the operation of the log LM data restoration program 9, the normal processing request is preferentially executed, so the log LM data restoration program 9 suspends its operation. Sometimes.
【0018】いま、LM3のブロック3aからログ用L
M4のブロック4aへのコピー処理と、LM3のブロッ
ク3bからログ用LM4のブロック4bへのコピー処理
とが完了し、続いて、LM3のブロック3cからログ用
LM4のブロック4cへのコピー処理の最中に、ログ用
LMデータ復帰プログラム9による処理を通常処理の要
求のために中断する場合は、ログ用LMコントローラ5
に対してコピー処理を一時中断し、その後コピー処理が
完了しているログ用LM4のブロック4a〜4bまでの
データログ動作を開始させる指示を行うとともに、コピ
ー処理を中断したLM3のブロック3cに対応する書込
み検出F/F6cをリセットし、要求された通常処理を
行う。Now, from the block 3a of the LM3 to the log L
The copy processing from the block 4a of M4 and the block 3b of the LM3 to the block 4b of the log LM4 is completed, and then the copy processing from the block 3c of the LM3 to the block 4c of the log LM4 is completed. In the meantime, when the processing by the log LM data restoration program 9 is interrupted due to a request for normal processing, the log LM controller 5
To the block 3c of the LM3 in which the copy process is interrupted, as well as instructing to start the data log operation of the blocks 4a to 4b of the log LM4 for which the copy process is completed The write detection F / F 6c is reset, and the requested normal processing is performed.
【0019】通常処理の終了後、ログ用LMデータ復帰
プログラム9による処理を再開する場合は、書込み検出
F/F6cのチェックを行う。そして、書込み検出F/
F6cがセットされていない場合は、コピー処理を中断
した箇所からコピー処理を再開し、また、セットされて
いる場合は、ログ用LM4のブロック4cの先頭に戻り
コピー処理を再開する。When the processing by the log LM data restoration program 9 is restarted after the end of the normal processing, the write detection F / F 6c is checked. And write detection F /
If F6c is not set, the copy process is restarted from the position where the copy process was interrupted. If F6c is set, the copy process is restarted by returning to the head of the block 4c of the log LM4.
【0020】LM3からログ用LM4へのコピー処理が
すべて終了すると、ログ用LMコントローラ5に対し、
その時点でデータログ動作を抑止しているログ用LM4
の全ブロックに対するデータログ動作の開始を指示す
る。これにより、障害が再発生してもLM3のログアウ
トが可能になる。When the copy processing from the LM3 to the log LM4 is completed, the log LM controller 5
LM4 for log that has suppressed the data log operation at that time
To start the data log operation for all blocks of This enables the LM3 to log out even if a failure occurs again.
【0021】[0021]
【発明の効果】以上説明したように本発明によれば、連
続して発生しない障害であれば、ログアウトのために内
部メモリ状態を凍結していても障害検出から通常動作回
復処理へ速やかに移行することができる。As described above, according to the present invention, if there is a failure that does not occur consecutively, even if the internal memory state is frozen for logout, the failure detection can be immediately followed by the normal operation recovery processing. can do.
【0022】また、内部メモリ状態の凍結のためにリア
ルタイム処理要求を待つことがなくなるという効果があ
る。Further, there is an effect that it is not necessary to wait for a real-time processing request because the internal memory state is frozen.
【図1】本発明を実現する一実施例の構成を示すブロッ
ク図である。FIG. 1 is a block diagram showing a configuration of an embodiment for realizing the present invention.
1 プロセッサ 2 CS(制御メモリ) 3 LM(内部メモリ) 3a〜3d LM3の各ブロック 4 ログ用LM(ログ用内部メモリ) 4a〜4d ログ用LM4の各ブロック 5 ログ用LMコントローラ 6 LM書込み検出回路 6a〜6d 書込み検出F/F(フリップフロップ) 7 通常動作回復処理プログラム 8 ログアウトプログラム 9 ログ用LMデータ復帰プログラム 1 Processor 2 CS (Control Memory) 3 LM (Internal Memory) 3a to 3d Each Block of LM3 4 Log LM (Internal Memory for Log) 4a to 4d Each Block of LM4 for Log 5 LM Controller for Log 6 LM Write Detection Circuit 6a to 6d Write detection F / F (flip-flop) 7 Normal operation recovery processing program 8 Logout program 9 LM data restoration program for log
Claims (2)
障害処理方式であって、複数のブロックを有する第1の
記憶部と、 前記第1の記憶部の前記複数のブロックのアドレスに対
応する複数のブロックを有しログを格納するための第2
の記憶部と、 前記第1の記憶部へのデータ書込み時に同じデータを前
記第2の記憶部に対して書込むデータログ動作を行いこ
のデータログ動作を前記第2の記憶部の各ブロックごと
への抑止・開始と前記第2の記憶部へのデータの読出し
・書込みとを制御する記憶部制御手段と、 前記第1の記憶部への書込み動作の有無を各ブロックご
とに検出しこの検出結果に基づいて前記各ブロック個別
に初期化する記憶部書込み検出手段と、 前記情報処理装置の障害検出時に前記記憶部制御手段に
対し前記第2の記憶部の全ブロックへのデータログ動作
の抑止を指示し通常処理を受付可能にする通常動作回復
手段と、 前記通常動作回復手段による処理後前記第2の記憶部内
のデータのログアウトを行うログアウト手段と、 前記ログアウト手段による処理後前記第1の記憶部から
前記第2の記憶部への全データのコピー処理を実行し、
コピー処理中に他の処理要求がある場合は前記コピー処
理を中断し前記記憶部制御手段にコピーの完了したブロ
ックまでのデータログ動作の再開を指示し、前記記憶部
書込み検出手段に前記コピー処理を中断したブロックの
初期化を指示する記憶部データ復帰手段とを備えること
を特徴とする障害処理方式。1. A failure processing method for an information processing apparatus that performs real-time processing, comprising: a first storage unit having a plurality of blocks; and a plurality of storage units corresponding to addresses of the plurality of blocks in the first storage unit. Second with a block for storing logs
And a data log operation for writing the same data to the second memory unit when writing data to the first memory unit, and this data log operation is performed for each block of the second memory unit. Storage unit control means for controlling inhibition / starting to the second storage unit and reading / writing of data from / to the second storage unit, and presence / absence of write operation to / from the first storage unit is detected for each block and detected. A storage unit write detection unit that initializes each of the blocks individually based on the result, and a data log operation to all blocks of the second storage unit for the storage unit control unit when a failure of the information processing device is detected. And a logout means for logging out the data in the second storage unit after the processing by the normal operation recovery means, and the logout means. Run the copy processing of all data from management after the first storage unit to the second storage unit,
When there is another processing request during the copy process, the copy process is interrupted, the storage unit control unit is instructed to restart the data log operation up to the block where the copy is completed, and the storage unit write detection unit is connected to the copy process. And a storage unit data restoring means for instructing initialization of the block in which the interruption is performed.
部書込み検出手段による検出結果を基に、前記コピー処
理中断中に前記コピー処理を中断したブロックへの書込
み動作が行われていない場合は中断した箇所からコピー
処理を再開し、書込み動作が行われていた場合は前記コ
ピー処理を中断したブロックの先頭から前記コピー処理
を再開し、全データのコピー処理終了時は前記第2の記
憶部の抑止している全ブロックのデータログ動作を再開
することを特徴とする請求項1記載の障害処理方式。2. The storage unit data restoration means, based on the detection result of the storage unit write detection means, when the writing operation to the block in which the copy processing is interrupted is not performed during the interruption of the copy processing, The copy process is restarted from the interrupted position, and if the write operation is being performed, the copy process is restarted from the beginning of the block in which the copy process is interrupted, and when the copy process of all data is completed, the second storage unit is restarted. 2. The failure processing method according to claim 1, wherein the data log operation of all the blocks which are suppressed is restarted.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5118862A JP2500440B2 (en) | 1993-05-21 | 1993-05-21 | Fault handling method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5118862A JP2500440B2 (en) | 1993-05-21 | 1993-05-21 | Fault handling method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06332758A JPH06332758A (en) | 1994-12-02 |
| JP2500440B2 true JP2500440B2 (en) | 1996-05-29 |
Family
ID=14746978
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5118862A Expired - Lifetime JP2500440B2 (en) | 1993-05-21 | 1993-05-21 | Fault handling method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2500440B2 (en) |
-
1993
- 1993-05-21 JP JP5118862A patent/JP2500440B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06332758A (en) | 1994-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5409159B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
| JP2500440B2 (en) | Fault handling method | |
| JPH09160889A (en) | Control method for multiprocessor system | |
| JPH0962499A (en) | Program file update device | |
| JP2846760B2 (en) | Programmable controller | |
| JPH1124936A (en) | High-speed restart method for information processing equipment | |
| JP2713218B2 (en) | Checkpoint / restart processing method | |
| JPH05143248A (en) | Data backup system for semiconductor disk device | |
| JPH09330253A (en) | Memory dump method and memory damp system applying the same | |
| JPH117392A (en) | Data processor obtained by duplexing auxiliary storage device and method for falling system of data processor | |
| JPH0133856B2 (en) | ||
| JP2849780B2 (en) | Computer system | |
| JP2775865B2 (en) | Fault analysis information collection method for peripheral control devices | |
| JP3664079B2 (en) | Job stopping method and apparatus in system freeze | |
| JPH04338852A (en) | File transfer program with interruption restart mechanism | |
| JPH10240569A (en) | Computer tracing equipment | |
| JPS58114152A (en) | Back up device for magnetic disc | |
| JPH0820934B2 (en) | Disk cache control method | |
| JPS585856A (en) | Error recovery system for logical device | |
| JPH0395634A (en) | Restart control system for computer system | |
| JPH0619767A (en) | Magnetic disk device with file restoration function | |
| JPS63155245A (en) | Data backup system for semiconductor disk | |
| JPH09269906A (en) | Computer system input / output control device and input / output control method | |
| JPH03225434A (en) | Job reactuation system | |
| JPH02219145A (en) | Missing page processing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19960116 |