JPS6230656B2 - - Google Patents
Info
- Publication number
- JPS6230656B2 JPS6230656B2 JP57129882A JP12988282A JPS6230656B2 JP S6230656 B2 JPS6230656 B2 JP S6230656B2 JP 57129882 A JP57129882 A JP 57129882A JP 12988282 A JP12988282 A JP 12988282A JP S6230656 B2 JPS6230656 B2 JP S6230656B2
- Authority
- JP
- Japan
- Prior art keywords
- retry
- control circuit
- machine instruction
- present
- timing
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Retry When Errors Occur (AREA)
Description
【発明の詳細な説明】
(1) 発明の技術分野
本発明は計算機における障害発生時、リトライ
単位を1回ずつリトライしていく方式に関する。DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a method of retrying each retry unit once when a failure occurs in a computer.
(2) 従来技術と問題点
計算機における障害発生時、障害状況の記録を
保守等のためにとつた後、再度障害発生前の状況
に戻して障害発生した処理をリトライ(再試行)
することは間欠障害の場合非常に有効である。そ
れ故、計算機内ではマイクロ命令単位やマシン命
令単位、或いは各命令グループ単位で障害時、変
更されてるデータをセーブしておいたデータで復
元して処理を再試行する。この時、設計ミスによ
り復元したデータがもしもとのデータと異なつて
いればリトライによりデータが化けることになり
リトライすることによりかえつて事態を悪化させ
る。この為リトライ機能をもつ計算機では該機能
が正しく動作するかをチエツクすることが非常に
重要で、この為に強制的にエラー状態を起させる
方式が従来行なわれて来た。しかし、該従来方式
ではエラー発生個所、エラー発生タイミングに制
約があり、複雑なシーケンスで流れている処理の
あらゆるケースについてリトライの正当性をチエ
ツクすることは出来ないという欠点があつた。(2) Conventional technology and problems When a failure occurs in a computer, a record of the failure status is kept for maintenance, etc., and then the status is returned to the status before the failure and the process where the failure occurred is retried (retry).
This is very effective in cases of intermittent disorders. Therefore, in a computer, when a failure occurs in each microinstruction unit, machine instruction unit, or each instruction group, the changed data is restored using the saved data and the process is retried. At this time, if the restored data is different from the original data due to a design error, the retry will corrupt the data, and retrying will only make the situation worse. For this reason, in computers with a retry function, it is very important to check whether the function operates correctly, and for this purpose, a method of forcibly causing an error state has been used in the past. However, this conventional method has the disadvantage that there are restrictions on the location and timing of error occurrence, and that it is not possible to check the validity of retries in all cases of processing flowing in a complex sequence.
(3) 発明の目的
本発明は前記欠点を解消して計算機内でのあら
ゆる処理において必ずリトライを行ないながら処
理を進めることにより、あらゆるリトライの正当
性を保証する方式を提供することを目的とする。(3) Purpose of the Invention The purpose of the present invention is to eliminate the above-mentioned drawbacks and provide a method that guarantees the validity of all retries by always performing retries in all processing within a computer. .
(4) 発明の構成
該目的は障害発生時に予め設定されたチエツク
ポイントよりリトライ(再試行)を実行する手段
を備えた計算機において、リトライ機能をチエツ
クするリトライモード設定手段及び該リトライモ
ード設定手段により設定された機能チエツクモー
ドに基づいて、予め設定されたリトライ単位によ
り順位リトライを実行する手段を設けたことを特
徴とするリトライ制御方式により達成される。(4) Structure of the Invention The object is to provide a retry mode setting means for checking the retry function and a retry mode setting means in a computer equipped with means for retrying from a preset check point when a failure occurs. This is achieved by a retry control method characterized by providing means for executing ranking retry in preset retry units based on a set function check mode.
(5) 発明の実施例
以下図面を参照しながら本発明を詳細に説明す
る。(5) Embodiments of the Invention The present invention will be described in detail below with reference to the drawings.
第1図は本発明の一実施例を示すブロツク図で
ある。図において、11はレジスタ群、12はメ
モリ、13は命令制御回路、14はリトライ制御
回路、15はリトライモード制御回路、16は演
算回路、17はセーブ回路、18はリトライモー
ド、19はリトライタイミング、110は
RTRYINH、111はリトライ処理ルーチン起動
信号、Pはエラー発生信号、Qはクロツクストツ
プ、RはSCANOUTである。 FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, 11 is a register group, 12 is a memory, 13 is an instruction control circuit, 14 is a retry control circuit, 15 is a retry mode control circuit, 16 is an arithmetic circuit, 17 is a save circuit, 18 is a retry mode, and 19 is a retry timing. , 110 is
RTRYINH, 111 is a retry processing routine activation signal, P is an error occurrence signal, Q is a clock stop, and R is a SCANOUT.
第2図は本発明の一実施例を示すセーブ回路等
の詳細を示す図である。 FIG. 2 is a diagram showing details of a save circuit, etc., showing an embodiment of the present invention.
図において、21はREGSAVE、22は
ICSAVE、23はIC、A〜Dはレジスタである。 In the figure, 21 is REGSAVE, 22 is
ICSAVE, 23 is an IC, and A to D are registers.
第3図は本発明の一実施例を示すリトライ制御
回路の詳細を示す図である。 FIG. 3 is a diagram showing details of a retry control circuit according to an embodiment of the present invention.
図において、31はエラー処理回路、32は
SCANOUT回路、33はリトライ処理回路であ
る。 In the figure, 31 is an error processing circuit, and 32 is an error processing circuit.
SCANOUT circuit 33 is a retry processing circuit.
第4図は本発明の一実施例を示すリトライモー
ド制御回路の詳細を示す図である。 FIG. 4 is a diagram showing details of a retry mode control circuit according to an embodiment of the present invention.
図において、41はリトライ開始信号、42は
マシン命令実行終了信号、43はタイミングであ
る。 In the figure, 41 is a retry start signal, 42 is a machine instruction execution end signal, and 43 is a timing.
さて、本発明はリトライモード制御15内にリ
トライモード18が1でリトライタイミング19
で指定したタイミングの時、RTRYINH110が
0ならばリトライ処理ルーチン起動信号111を
発生し、該信号によりリトライ制御回路14を起
動し、該リトライ制御回路は、クロツクの停止、
命令制御回路13のリセツト、セーブ回路よりの
ソースデータの再格納、リトライするマシン命令
の再読出しと処理を実行する。リトライタイミン
グ19で各マシン命令の最初のステツプないし最
後のステツプのタイミングを指示すれば各マシン
命令毎にリトライ処理ルーチン起動信号111が
発生され、各マシン命令のリトライを繰返しなが
ら処理される。(この際エラー発生時の処理と異
なるのは、クロツクストツプ後、SCANOUTRを
行なわないことである。該SCANOUTは時間が
掛るため各マシン命令のリトライのたびに
SCANOUTRを行なつていては時間がオーバして
実際的でない。)
RETRYINH110の信号ないし、ラツチの役
割は、マシン命令のリトライの際、同じマシン命
令のリトライを繰返さないようにするものである
から、即ち、マシン命令2(マシン命令1の次の
もの)の途中のタイミングで処理ルーチン起動信
号111が発生して、マシン命令1(リトライ単
位)のリトライを行なう時、該マシン命令1及び
マシン命令2(リトライ単位)のリトライタイミ
ング19で指定されたタイミングで再度リトライ
処理ルーチン起動信号111が発生しないように
するものである。 Now, in the present invention, the retry mode 18 is set to 1 in the retry mode control 15 and the retry timing 19 is set to 1.
At the timing specified by , if RTRYINH110 is 0, a retry processing routine activation signal 111 is generated, and this signal activates the retry control circuit 14, and the retry control circuit stops the clock,
It resets the instruction control circuit 13, restores the source data from the save circuit, and rereads and processes the machine instruction to be retried. If the retry timing 19 indicates the timing of the first step to the last step of each machine instruction, a retry processing routine activation signal 111 is generated for each machine instruction, and each machine instruction is processed while being repeatedly retried. (In this case, the difference from the processing when an error occurs is that SCANOUTR is not performed after the clock is stopped. Since SCANOUT takes time, each machine instruction is retried.
Executing SCANOUTR takes too much time and is not practical. ) The role of the RETRYINH 110 signal or latch is to prevent the same machine instruction from being retried repeatedly when retrying a machine instruction. When the processing routine start signal 111 is generated at the timing of , and the machine instruction 1 (retry unit) is retried, the machine instruction 1 and machine instruction 2 (retry unit) are retried again at the timing specified by the retry timing 19 of the machine instruction 2 (retry unit). This prevents the processing routine activation signal 111 from being generated.
リトライのチエツクのため、擬似障害を起すの
ではなく処理の流れの中のある時点でチエツクポ
イントをとると、次の時点のチエツクポイントを
取る前に強制的に処理を中断させ、セーブデータ
をもとに戻してチエツクポイントより処理を再試
行させ、次の時点のチエツクポイントをとると、
また同様処理を繰り返す、つまりリトライ単位を
必ず1度ずつリトライしていく方式である。 To check for retry, if you take a checkpoint at a certain point in the flow of processing instead of causing a pseudo failure, the process will be forcibly interrupted before taking the checkpoint at the next point, and the saved data will be lost. If you return to
Furthermore, the same process is repeated, that is, the retry unit is always retried once.
(6) 発明の効果
以上説明したように、本発明によれば、あらゆ
る処理について必ずリトライを行なうことにな
り、あらゆるケースでのリトライの正当性を保証
できる。(6) Effects of the Invention As explained above, according to the present invention, all processing is always retried, and the validity of the retry can be guaranteed in all cases.
第1図は本発明の一実施例を示すブロツク図で
ある。第2図は本発明の一実施例を示すセーブ回
路等の詳細を示す図である。第3図は本発明の一
実施例を示すリトライ制御回路の詳細を示す図で
ある。第4図は本発明の一実施例を示すリトライ
モード制御回路の詳細を示す図である。
11はレジスタ群、12はメモリ、13は命令
制御回路、14はリトライ制御回路、15はリト
ライモード制御回路、16は演算回路、17はセ
ーブ回路、18はリトライモード、19はリトラ
イタイミング、110はRTRYINH、111はリ
トライ処理ルーチン起動信号、Pはエラー発生信
号、Qはクロツクストツプ、RはSCANOUT。
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a diagram showing details of a save circuit, etc., showing an embodiment of the present invention. FIG. 3 is a diagram showing details of a retry control circuit according to an embodiment of the present invention. FIG. 4 is a diagram showing details of a retry mode control circuit according to an embodiment of the present invention. 11 is a register group, 12 is a memory, 13 is an instruction control circuit, 14 is a retry control circuit, 15 is a retry mode control circuit, 16 is an arithmetic circuit, 17 is a save circuit, 18 is a retry mode, 19 is a retry timing, and 110 is a RTRYINH, 111 is the retry processing routine start signal, P is the error occurrence signal, Q is the clock stop, and R is the SCANOUT.
Claims (1)
トより、リトライ(再試行)を実行する手段を備
えた計算機において、リトライ機能をチエツクす
るリトライモード設定手段及び該リトライモード
設定手段により設定された機能チエツクモードに
基づいて、予め設定されたリトライ単位により順
次リトライを実行する手段を設けたことを特徴と
するリトライ制御方式。1. In a computer equipped with a means for executing a retry (retry) from a preset check point when a failure occurs, a retry mode setting means for checking the retry function and a function check mode set by the retry mode setting means. 1. A retry control method comprising means for sequentially executing retries in preset retry units based on the above information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57129882A JPS5920054A (en) | 1982-07-26 | 1982-07-26 | Retrial control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57129882A JPS5920054A (en) | 1982-07-26 | 1982-07-26 | Retrial control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5920054A JPS5920054A (en) | 1984-02-01 |
| JPS6230656B2 true JPS6230656B2 (en) | 1987-07-03 |
Family
ID=15020657
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57129882A Granted JPS5920054A (en) | 1982-07-26 | 1982-07-26 | Retrial control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5920054A (en) |
-
1982
- 1982-07-26 JP JP57129882A patent/JPS5920054A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5920054A (en) | 1984-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4703481A (en) | Method and apparatus for fault recovery within a computing system | |
| US4740969A (en) | Method and apparatus for recovering from hardware faults | |
| US5640508A (en) | Fault detecting apparatus for a microprocessor system | |
| KR100304319B1 (en) | Apparatus and method for implementing time-lag duplexing techniques | |
| Taşar et al. | A study of intermittent faults in digital computers | |
| US3618042A (en) | Error detection and instruction reexecution device in a data-processing apparatus | |
| JPH07141176A (en) | Command retry control method | |
| JPS6230656B2 (en) | ||
| TW389874B (en) | Game apparatus and method for debugging game program | |
| JPS60142747A (en) | Instruction execution control system | |
| JP2695775B2 (en) | How to recover from computer system malfunction | |
| JPH0449141B2 (en) | ||
| JPS6156537B2 (en) | ||
| JP3172981B2 (en) | Unused memory space access error detection circuit | |
| JPS59178552A (en) | Self diagnosis controlling system | |
| JPH0149975B2 (en) | ||
| JPH0628218A (en) | Microcomputer program development support device | |
| Tamir | Self-checking self-repairing computer nodes using the Mirror Processor | |
| JPH07230432A (en) | Computing device | |
| DE69126584T2 (en) | Error handling in a central processing unit from VLSI that uses an address and execution pipeline module | |
| JPS6146535A (en) | Pseudo error setting control system | |
| JPS63307547A (en) | Cpu monitor circuit | |
| JPS59121540A (en) | Operation control system | |
| JPH02178862A (en) | Information processor | |
| JPH0619726B2 (en) | Information processing equipment |