JPH0325534A - Program abnormality processing method for composite computer system - Google Patents
Program abnormality processing method for composite computer systemInfo
- Publication number
- JPH0325534A JPH0325534A JP1158359A JP15835989A JPH0325534A JP H0325534 A JPH0325534 A JP H0325534A JP 1158359 A JP1158359 A JP 1158359A JP 15835989 A JP15835989 A JP 15835989A JP H0325534 A JPH0325534 A JP H0325534A
- Authority
- JP
- Japan
- Prior art keywords
- task
- importance
- processing
- abnormal termination
- degree
- 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
Links
Landscapes
- Hardware Redundancy (AREA)
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は複合系計算機システムのプログラム異常終了処
理方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a program abnormal termination processing method for a complex computer system.
(従来の技術)
第4図は、従来の複合系計:inシステムにおけるプロ
グラムの異常処理方式を示すフローチャートである。第
4図において341は処理プログラム(以後タスクと称
す)が異常終了したことを検出する処理である.S41
にてタスクの異常終了を検出後、842によりバックア
ップ可能状態の計算機があるかどうかの判断を行なう。(Prior Art) FIG. 4 is a flowchart showing a program abnormality processing method in a conventional complex system: in-system. In FIG. 4, 341 is a process for detecting that a processing program (hereinafter referred to as a task) has terminated abnormally. S41
After detecting abnormal termination of the task at step 842, it is determined whether there is a computer in a backup-enabled state.
複合系計算機システムにおいては、通常運用モードの計
算機と待機モードの計算機があり、運用モードの計算機
が停止した場合、直ちに待機モードの計算機を運用モー
ドとさせて処理を引き継がせる構成となっている。S4
2にてバックアップ可能状態の計算機があると判断され
た場合、S43にて待機モードの計算機を運用モードと
して確立させ処理を継続し、844にてタスク異常終了
を検出した計算機を停止させる。842にてバックアッ
プ可能状態の計算機がないと判断された場合、S45に
て異常終了したタスクを停止とする。In a complex computer system, there are computers in normal operation mode and computers in standby mode, and if the computer in operation mode stops, the computer in standby mode is immediately put into operation mode and takes over processing. S4
If it is determined in step 2 that there is a computer in a backup-enabled state, the computer in standby mode is established as an operating mode in step S43, and the processing is continued, and in step 844, the computer in which the abnormal task termination has been detected is stopped. If it is determined in step 842 that there is no computer in a backup-enabled state, the task that ended abnormally is stopped in step S45.
(発明が解決しようとする課題)
従来のプログラム異常処理方式では、異常終了の原因が
いかなる場合でも一度の異常終了にて第4図に示した処
理を行なっていた。しかるに、タスクの異常は一過性の
ものが多く、再度の実行でほとんどが解消される。また
、システムの中のタスクも、システムの運転上重要なも
のと計算機を停止する迄もないものなど、システムから
見た重要度にバラツキがある。計算機停止は機能停止と
なりシステムに大きな影響を与える。(Problems to be Solved by the Invention) In the conventional program abnormality processing method, the processing shown in FIG. 4 is performed in one abnormal termination, regardless of the cause of the abnormal termination. However, many task abnormalities are temporary, and most of them are resolved by re-execution. Additionally, tasks within the system vary in their importance from the system's perspective, such as those that are important for system operation and those that do not require stopping the computer. A computer outage causes a functional outage and has a major impact on the system.
本発明は上記事情に鑑みてなされたものであり、タスク
の重要度に応じてプログラムの異常処理を分類して行な
い、計算機停止を極力防ぐことの可能な複合系計算機シ
ステムのプログラム異常処理方式を提供することを目的
としている。The present invention has been made in view of the above circumstances, and provides a program abnormality processing method for a complex computer system that can classify and perform program abnormality processing according to the importance of the task and prevent computer stoppages as much as possible. is intended to provide.
[発明の構成]
(課題を解決するための千段)
上記した目的を達成するための処理を第2図の相関図に
より説明する.本発明では計算I16にタスク毎に重要
度を定義するタスク重要度設定処理7と、タスク重要度
設定処理7により設定された重要度を記憶するタスク重
要度記憶部8と、他にタスクの異常終了を検出する異常
終了検出処理11と、異常終了検出処理11より異常終
了の通知を受けてタスク異常終了の処理を行なう異常終
了処理9及びタスク10により構成されている。[Structure of the invention] (A thousand steps to solve the problem) The process for achieving the above purpose will be explained using the correlation diagram shown in Figure 2. In the present invention, the calculation I16 includes a task importance setting process 7 that defines the importance for each task, a task importance storage unit 8 that stores the importance set by the task importance setting process 7, and a task abnormality. It is composed of an abnormal termination detection process 11 that detects termination, and an abnormal termination process 9 and a task 10 that perform abnormal termination processing upon receiving notification of abnormal termination from the abnormal termination detection process 11.
(作 用〉
タスク1◇の重要度を予めタスク重要度設定処理7によ
りタスク重要度記憶部8に記憶しておく。(Function) The importance of task 1◇ is stored in the task importance storage unit 8 in advance by the task importance setting process 7.
タスク10が異常終了すると異常終了検出処理11によ
りタスク10の異常終了を検出し、異常終了処理9にタ
スク10の異常終了を通知する。異常終了処理9は異常
終了の通知を受けると、タスク10の重要度をタスク重
要度記憶部8より取り出し、重要度に従った処理を行な
う。When the task 10 ends abnormally, the abnormal end detection process 11 detects the abnormal end of the task 10, and notifies the abnormal end process 9 of the abnormal end of the task 10. When abnormal termination processing 9 receives notification of abnormal termination, it retrieves the importance of task 10 from task importance storage section 8 and performs processing according to the importance.
(実總例〉 以下図面を参照して実施例を説明する。(Actual example) Examples will be described below with reference to the drawings.
第1図は本発明によるタスク異常終了時の異常処理を説
明するフローチャートである。第1図にいてS11は従
来方式のタスク異常終了検出と同じである。S12では
異常終了したタスクの重要度をタスク重要度記憶部8の
記憶内容によりチェックし、例えば3ランクに分類され
た異常処理を行なう。313は重要度が高いタスクが異
常終了した場合の異常処理である。この場合は、原因が
一過性のものかどうか判断するためにタスクをn回再実
行可能として、n回目の異常終了であれば計算機を停止
させる。次に314は重要度がやや低いタスクが異常終
了した場合の異常処理である。この場合813の場合と
同様にタスクをn回再実行可能として、n回目の異常終
了であれば、バックアップ可能な待機モードの計算機が
あるかどうかチェックし、待機モードの計算機があれば
待機モードの計算機を運用モードとし、タスク異常終了
のあった計算機を停止する。待機モードの計算機がなけ
ればタスク停止とする。最後に315は重要度が低いタ
スクが異常終了した場合の異常処理である。FIG. 1 is a flowchart illustrating abnormal processing when a task ends abnormally according to the present invention. In FIG. 1, S11 is the same as the task abnormal end detection in the conventional method. In S12, the importance of the abnormally terminated task is checked based on the stored contents of the task importance storage unit 8, and abnormality processing classified into three ranks, for example, is performed. 313 is abnormal processing when a highly important task terminates abnormally. In this case, in order to determine whether the cause is temporary, the task is allowed to be re-executed n times, and if the task terminates abnormally for the nth time, the computer is stopped. Next, 314 is abnormal processing when a task of slightly lower importance ends abnormally. In this case, as in the case of 813, the task can be re-executed n times, and if it terminates abnormally for the nth time, it is checked whether there is a computer in standby mode that can be backed up, and if there is a computer in standby mode, it is Put the computer into operational mode and stop the computer where the task ended abnormally. If there is no computer in standby mode, the task will be stopped. Finally, 315 is abnormal processing when a task of low importance ends abnormally.
この場合も313 , S14と同様にタスクをn回再
実行可能として、n回目の異常終了であればタスクを停
止する。なお、上記説明中のnは1以上の値であり、シ
ステムに応じて、あるいはタスクに応じて定めればよい
ものである。In this case as well, the task is allowed to be re-executed n times as in 313 and S14, and the task is stopped if it is abnormally terminated for the nth time. Note that n in the above description is a value of 1 or more, and may be determined depending on the system or task.
第3図は第1図によるフローチャート処理を行なう複合
系計算機システムの構成を表した説明図である。入力装
置2と複合系計算機システム1と出力装改3にて梢成さ
れている。ここで複合系計算機システム1はNO. t
計算t114とNo. 2計ntli5の2台並列梢戊
となっているものとする。本図にて間1計算機4が運用
モード,馳2計算機5が待機モードであるとし、No.
1計算1fi4にて重要度が高いタスクが異常終了し
たとする。この場合No. 2計算機5が待機モードか
ら運用モードにモード遷移し、闇2計算機5が運用モー
ドとして確立後、恥1計算機4は停止となる。従来の方
式では重要度の高低に拘らず以上に説明した異常処理を
行なっていた。本発明ではNo. 1計算機にてタスク
が異常終了してもそのタスクの重要度が高くなければ、
11回の再実行を可能とし、異常終了がn回となった段
階にて前に述べたケースと同じ処理をするようにした。FIG. 3 is an explanatory diagram showing the configuration of a composite computer system that performs the flowchart processing shown in FIG. 1. It is composed of an input device 2, a complex computer system 1, and an output device 3. Here, the composite computer system 1 is NO. t
Calculation t114 and No. It is assumed that there are two ntli5 units connected in parallel. In this figure, it is assumed that the first computer 4 is in the operation mode and the second computer 5 is in the standby mode.
Assume that a highly important task terminates abnormally in 1 calculation 1fi4. In this case No. After the 2nd computer 5 makes a mode transition from the standby mode to the operational mode, and the dark 2nd computer 5 is established as the operational mode, the shame 1st computer 4 is stopped. In the conventional method, the above-described abnormality processing was performed regardless of the level of importance. In the present invention, No. Even if a task terminates abnormally on one computer, if the task is not highly important,
It is possible to re-execute the program 11 times, and when the number of abnormal terminations reaches n times, the same process as in the case described above is performed.
異常終了がn回となるまで再実行可能となったことによ
り複合系計算機システム1として入力装置2より入力し
たデータを確実に処理し、出力装置3へ出力することが
できるようになった。By making it possible to re-execute the process until the abnormal termination occurs n times, the composite computer system 1 can now reliably process the data input from the input device 2 and output it to the output device 3.
計算機を停止しに<<シ稼動率を向上させることはこの
複合系計算機システム1の役割が重要であればある程必
要条件となってくる。The more important the role of the complex computer system 1 is, the more important it becomes to improve the operating rate by stopping the computer.
[発明の効果]
以上説明した如く、本発明によればタスクの重要度によ
って異常終了処理を分けて行なうことにより、タスクが
異常終了してもn回の異常終了となるまではタスクの再
実行を可能とし機能の停止、さらには計算機の停止を極
力防ぐことができた。[Effects of the Invention] As explained above, according to the present invention, by performing abnormal termination processing separately depending on the importance of the task, even if a task terminates abnormally, the task can be re-executed until the abnormal termination occurs n times. This made it possible to prevent functional outages and even computer outages as much as possible.
これにより複合系計算機システムの信頼性を大幅に向上
させることが可能となる。This makes it possible to significantly improve the reliability of the composite computer system.
第1図は本発明による複合系計算機のプログラム異常処
理方式を説明するフローチャート、第2図は本方式を達
成するための各処理の相関図、第3図は本方式にてソフ
トウェア異常処理を行なう複合系計算機システム構成図
、第4図は従来方式による複合系計算機のソフトウェア
異常処理方式を説明するフローチャートである。
811 , 841・・・タスク興常終了検出処理部8
12・・・タスク重要度レベル判別部813・・・重要
度が高いタスクの異常終了処理部S14・・・重要度が
やや低いタスクの異常終了処理部
315・・・重要度が低いタスクの異常終了処理部34
2・・・バックアップCPU有無判断部843・・・バ
ックアッ7’CPυの運用モードへのモード変更処理部Figure 1 is a flowchart explaining the program abnormality handling method for a complex computer according to the present invention, Figure 2 is a correlation diagram of each process to achieve this method, and Figure 3 is a software abnormality handling method using this method. FIG. 4, which is a diagram showing the configuration of a complex computer system, is a flowchart illustrating a conventional software abnormality processing method for a complex computer. 811, 841...Task successful completion detection processing unit 8
12... Task importance level determination unit 813... Abnormal termination processing unit for tasks with high importance S14... Abnormal termination processing unit for tasks with somewhat low importance 315... Abnormal termination processing unit for tasks with low importance Termination processing unit 34
2... Backup CPU presence/absence determining unit 843... Mode change processing unit to backup 7'CPυ operation mode
Claims (1)
ログラム毎の重要度を設定する手段と、設定されたプロ
グラム毎の重要度を記憶する手段と、処理プログラムが
異常終了したとき前記予め設定した重要度に応じて異常
処理を実施する手段とを備えたことを特徴とする複合系
計算機システムのプログラム異常処理方式。In the software of a complex computer system, means for setting the importance level for each processing program, means for storing the set importance level for each program, and means for storing the importance level according to the preset importance level when the processing program terminates abnormally. 1. A program abnormality processing method for a complex computer system, comprising: means for performing abnormality processing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1158359A JPH0325534A (en) | 1989-06-22 | 1989-06-22 | Program abnormality processing method for composite computer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1158359A JPH0325534A (en) | 1989-06-22 | 1989-06-22 | Program abnormality processing method for composite computer system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0325534A true JPH0325534A (en) | 1991-02-04 |
Family
ID=15669949
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1158359A Pending JPH0325534A (en) | 1989-06-22 | 1989-06-22 | Program abnormality processing method for composite computer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0325534A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008004275A1 (en) * | 2006-07-04 | 2008-01-10 | Fujitsu Limited | Failure recovery program, failure recovery method, and failure recovery device |
| WO2008099453A1 (en) * | 2007-02-09 | 2008-08-21 | Fujitsu Limited | Degeneratuion method and information processor |
-
1989
- 1989-06-22 JP JP1158359A patent/JPH0325534A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008004275A1 (en) * | 2006-07-04 | 2008-01-10 | Fujitsu Limited | Failure recovery program, failure recovery method, and failure recovery device |
| WO2008099453A1 (en) * | 2007-02-09 | 2008-08-21 | Fujitsu Limited | Degeneratuion method and information processor |
| JPWO2008099453A1 (en) * | 2007-02-09 | 2010-05-27 | 富士通株式会社 | Degeneration method and information processing apparatus |
| JP4485591B2 (en) * | 2007-02-09 | 2010-06-23 | 富士通株式会社 | Degeneration method and information processing apparatus |
| US8166273B2 (en) | 2007-02-09 | 2012-04-24 | Fujitsu Limited | Degeneration method and information processing apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5872907A (en) | Fault tolerant design for identification of AC defects including variance of cycle time to maintain system operation | |
| EP0505706B1 (en) | Alternate processor continuation of the task of a failed processor | |
| US7305578B2 (en) | Failover method in a clustered computer system | |
| US4096564A (en) | Data processing system with interrupt functions | |
| JP2778798B2 (en) | Queue structure management processing method for control data | |
| US20060048000A1 (en) | Process management system | |
| CN118963973A (en) | A data task execution system, method, device, equipment and medium | |
| JPH07183891A (en) | Computer system | |
| US6209019B1 (en) | Data processing system, computer network, and data processing method | |
| CN105677515A (en) | Online backup method and system for database | |
| JPH0334037A (en) | Processing system for detection of system abnormality | |
| JP2922981B2 (en) | Task execution continuation method | |
| JPS62113241A (en) | Fault recovery device | |
| JP2902769B2 (en) | Robot sequence control method | |
| JPH0318942A (en) | Computer runaway detecting circuit | |
| JPS5827538B2 (en) | Mutual monitoring method | |
| JPH1021096A (en) | Method for detecting abnormal termination of a process | |
| JPH05108503A (en) | Power failure processing system | |
| JPH05143379A (en) | Program monitoring device | |
| CN121326531A (en) | System task exception handling methods and equipment | |
| JPH0149975B2 (en) | ||
| JPS6258344A (en) | Fault recovering device | |
| JPH09285039A (en) | System monitoring control system | |
| JPS6341943A (en) | Error restoring system for logic unit | |
| JPS62102335A (en) | Fault recovery device |