JPS62221765A - Reloading system for on-line program - Google Patents

Reloading system for on-line program

Info

Publication number
JPS62221765A
JPS62221765A JP3742786A JP3742786A JPS62221765A JP S62221765 A JPS62221765 A JP S62221765A JP 3742786 A JP3742786 A JP 3742786A JP 3742786 A JP3742786 A JP 3742786A JP S62221765 A JPS62221765 A JP S62221765A
Authority
JP
Japan
Prior art keywords
program
online
recovery
automatic
line
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
JP3742786A
Other languages
Japanese (ja)
Inventor
Kenichi Seto
瀬戸 賢一
Toshiro Ueda
上田 俊郎
Akiji Yamamoto
山本 章治
Shigeo Yonenaga
米永 茂男
Koji Uehara
上原 浩司
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.)
Railway Technical Research Institute
Hitachi Ltd
Original Assignee
Railway Technical Research Institute
Hitachi 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 Railway Technical Research Institute, Hitachi Ltd filed Critical Railway Technical Research Institute
Priority to JP3742786A priority Critical patent/JPS62221765A/en
Publication of JPS62221765A publication Critical patent/JPS62221765A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the automatic recovery of on-line processing and to shorten the recovery time by providing an abnormality monitor means for on-line programs and a means which stores the automatic reload-enable/-unable state to an on-line system. CONSTITUTION:An on-line computer system consists of an operating system 1, an operation control program 2, a monitor program 3 and an on-line program 4. The program 2 loads the program 4 under the control of the system 1 and delivers a command for start or recovery. While the program 4 can turn on or off the automatic reload start-enable/-unable state flag contained in the program 2. In case a fault occurs while said flag is kept on, a monitor program informs the occurrence of the fault to the program 2. Then the program 2 executes an instruction for automatic reloading and recovery of the corresponding program 4.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は高信頼性を要求されるオンライン・システムに
おいて、オンライン・プログラム圧障害が発生した場合
に、自動的にオンライン・プログラムを再ロードし、迅
速に業務処理を再開させる方式に関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention provides a method for automatically reloading an online program when an online program pressure failure occurs in an online system that requires high reliability. This relates to a method for quickly restarting business processing.

〔発明の背景〕[Background of the invention]

従来オンラインのプログラムで異常が発生した場合、自
動的に回復する方法として次の2種の方式が一般に採用
されているが、それぞれに問題が存在する。
Conventionally, when an abnormality occurs in an online program, the following two methods have generally been adopted as methods for automatically recovering, but each method has its own problems.

(1)限定した範囲での障害に対する回復方式純粋な業
務プログラム部分など、オンライン・プログラムの一部
の障害が発生した場合には、エラー発生の直接原因とな
ったデータの処理結果に・ついて回復処理を行ない、並
行して処理中の他のデータ処理および親規のデータ処[
には影響を与えない方式である。
(1) Recovery method for failures within a limited range If a failure occurs in a part of an online program, such as a pure business program part, the results of processing the data that directly caused the error will be recovered. Processing, other data processing being processed in parallel and data processing of parent regulations [
This is a method that does not affect the

この方式ではオンライン制御プログラムなど1木刀式で
の回復対象外での部分での障害に対しては回復不能とな
るため、オンライン・プログラム全体の障害となってし
まう。
In this method, it is impossible to recover from a failure in a part of the online control program that is not subject to recovery using the single-bokuto method, and this results in a failure of the entire online program.

(2)  システム全体の回復方式 (1)項の方式で同復不司能となった場合、オベレーテ
ィングーシステム等も含めたシステム全体を再開始する
ことにより、自動的にシステム全体を再開始することに
よりオンライン処理の回復を行なう方式である。
(2) Recovery method for the entire system If the method described in (1) fails, the entire system will be automatically restarted by restarting the entire system, including the operating system, etc. This method recovers online processing by doing so.

この方式では(1)項の方式に比べ、回復時間が大巾に
太き(なる欠点を持っている。
This method has the disadvantage that the recovery time is significantly longer than the method in item (1).

〔発明の目的〕[Purpose of the invention]

本発明の目的は前記の従来の問題点に鑑み、オンライン
処理の回復を自動的に実施する方式を提供することにあ
る。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional problems, an object of the present invention is to provide a method for automatically performing recovery of online processing.

〔発明の概要〕[Summary of the invention]

本発明はオンライン・プログラムの異常を監視する監視
手段と自動再ロード可否状態を記憶する手段をオンライ
ン・システムに備え自動再ロード可の状態のとき監視手
段により異常が検出されたとき、自動的にオンラインの
プログラムを再ロードし、回復時間を短縮するものであ
る。
The present invention provides an online system with a monitoring means for monitoring an abnormality in an online program and a means for storing an automatic reload permission status, so that when an abnormality is detected by the monitoring means when automatic reloading is possible, the online program is automatically reloaded. It reloads online programs and reduces recovery time.

〔発明の実施例〕[Embodiments of the invention]

オンライン・システムを複数のオンライン会プログラム
(リアルタイム処理プログラムニオンライン制御プログ
ラムと業務プログラムを含む)、オンラ・rン運転管理
プログラム(以下運転管理プログラムという)′j6よ
びオンライン・プログラムの状態監視プログラム(以下
監視プログラムという)より構成する。各オンライン・
プログラムは各々プログラム空間、または記憶保護キー
により相互に記憶保護を行なうとともに、運転管理プロ
グラム、監視プログラムともプログラム空間、丈たは記
憶保護キーによる記憶保護を施す。
The online system includes multiple online meeting programs (including real-time processing programs, online control programs, and business programs), an online operation management program (hereinafter referred to as the operation management program), and an online program status monitoring program (hereinafter referred to as the operation management program). It consists of a monitoring program (called a monitoring program). Each online
The programs mutually protect each other's memories using a program space or a memory protection key, and both the operation management program and the monitoring program are protected using a program space, a memory protection key, or a memory protection key.

運転管理プログラムは各オンライン0プログラムの状態
を制御し、オペレータの指令により各オンライン・プロ
グラムのロード、起動、停止を実現する機能を有するも
のとする。
The operation management program controls the status of each online 0 program, and has the function of loading, starting, and stopping each online program according to an operator's command.

また、運転管理プログラムは各オンライン・プログラム
の自動再ロード、起動の可否状態を管理し、オンライン
・プログラムは運転管理プログラムに連絡を行なうこと
により、運転管理プログラムの持つ当該オンライン・プ
ログラム° 3 。
Further, the operation management program manages the automatic reloading and activation status of each online program, and the online program communicates with the operation management program to update the online program held by the operation management program.

に関する自動再ロード、起動の可否状態を変更すること
ができるものとする。
It is possible to change the status of automatic reloading and activation.

監視プログラムはオンラインeプログラムに障害が発生
したこと、3よびオンライン・プログラムが積極的に自
ら終了したことを自動的に検知し障害の発生およびオン
ライン・プログラムの終了を運転管理プログラムに通知
する機能を有するものとする。また、オンラインeプロ
グラムが終了する場合、終了の理由を運転管理プログラ
ムに同時に連絡可能な機能を監視プログラムが有するも
のとする。
The monitoring program has a function to automatically detect that a failure has occurred in the online e-program, or that the online program has actively terminated itself, and to notify the operation management program of the occurrence of the failure and the termination of the online program. shall have. Furthermore, when the online e-program ends, the monitoring program has a function that can simultaneously notify the operation management program of the reason for the end.

以上のような機構により、オンライン・プログラムに障
害が発生した場合、またはオンライン・プログラムが終
了し7こ場合、以下の21の条件の組合せが成立したと
き、運転管理プログラムはオンライン・プログラムを自
動的に再ロードし回復処理の実行、業務処理の再開を指
示する。
With the mechanism described above, if a failure occurs in the online program, or if the online program ends, the operation management program automatically restarts the online program when a combination of the following 21 conditions is met. Instructs to reload the file, execute recovery processing, and restart business processing.

0オンライン・プログラムに障害が発生し、運転管理プ
ログラムの管理する自動再ロード、° 4 。
0 Online program failure, automatic reload managed by operational management program, ° 4.

起動が可の状態の場合。If startup is possible.

Oオンライン・プログラムが終了し、終了の理由が自動
的に書ロードし、かつ再起動することが可能であると運
転管理プログラムが判断するものであり、かつ運転管理
プログラムの管理する自動再ロード、起動が可の状態の
場合。
O When the online program terminates, the operation management program determines that the reason for the termination is that it can be automatically loaded and restarted, and automatic reloading is managed by the operation management program. If startup is possible.

以下、本発明の一実施例をオンライン拳プログラムが1
個たけ存在する場合を例により詳細に図面により説明す
る。
Hereinafter, one embodiment of the present invention will be described as an online fist program.
A case in which there are as many as 100% is explained in detail with reference to the drawings as an example.

第1図はオペレーティング・システム1の下運転管理プ
ログラム2.監視プログラム3.およびオンライン・プ
ログラム4によりオンライン・システムが構成されてい
ることを示している。運転管理プログラム2はオペレー
ティング・システム1の制御によってオンライン・プロ
グラム4をロードし、起動または回復の指令を行なう機
能を持つ。オンライン・プログラムが障害となった時、
監視プログラム3は運転管理プログラム2に障害連絡を
行なう機能を持つ。
Figure 1 shows the operation management program 2 under the operating system 1. Monitoring program 3. This shows that the online system is configured by online program 4 and online program 4. The operation management program 2 has a function of loading an online program 4 under the control of the operating system 1 and issuing a start-up or recovery command. When an online program becomes a hindrance,
The monitoring program 3 has a function of notifying the operation management program 2 of failures.

オンライン・プログラム4からの要求により、運転管理
プログラム2中の自動再ロード起動可否状態フラグをオ
ンまたはオフにすることができる。
In response to a request from the online program 4, the automatic reload activation flag in the operation management program 2 can be turned on or off.

第2図は自動再ロード処理の詳aKついて、制御の流れ
を中心に説明したものである。運転管理プログラムはオ
ペレータの指令により、オンライン・プログラムのロー
ドを行なうとともにオンライン業務処理の開始をオンラ
イン・プログラムに指示する。オンライン−プログラム
は通常の処理を行なっているときは運転管理プログラム
に自動再ロード、起動可を連絡し運転管理プログラムは
自らの9理する当該オンラインゆプログラム自動再ロー
ド、起動フラグをオンと−する。また、リラン処理中や
終了指示中など自動杏ロードか不用の処理をするときは
自動再ロード否要求を出す。これに応答して運転管用1
ブ′ログラムは当該オンラ・イン・プログラム自動再ロ
ードフラグをオフとする。フラグがオングラムエラーや
デープルが違う、ファイル破壊があった等の異常を検知
したという障害が発生すると、監視プログラムが障害を
検知し監視プログラムは運転管理プログラムに障害の発
生した旨を連絡する。この連絡を受は取ると運転管理プ
ログラムは自動再ロードフラグを調べて当該オンライン
・プログラムの自動再ロード、起動の可否を判断し、可
であれば当該オンライン・プログラムの自動再ロード、
回復指示を実行する。
FIG. 2 is a detailed explanation of the automatic reload processing, focusing on the flow of control. The operation management program loads the online program and instructs the online program to start online business processing in response to instructions from the operator. When the online program is performing normal processing, it informs the operation management program that it can be automatically reloaded and started, and the operation management program automatically reloads and starts the online program that it manages itself. . Also, when performing automatic reloading or unnecessary processing, such as during rerun processing or when instructing termination, an automatic reloading refusal request is issued. In response to this, operation pipe 1
The program turns off the online program automatic reload flag. When a failure occurs, such as an on-gram error in the flag, a wrong file, or a file corruption, the monitoring program detects the failure and notifies the operation management program that the failure has occurred. When this communication is received, the operation management program checks the automatic reload flag to determine whether automatic reloading and startup of the online program is possible, and if possible, automatically reloading the online program.
Execute recovery instructions.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明の方式によれば
オンライン・プログラムの障害が発生した場合に、自動
的にオンライン争プログラムが再開始可能であり、オン
ライン業務処理の中断時間の短縮によるシステムの信頼
性向上を実現することができるとともに、オンライン・
プログラム側の判断により自動再ロード、起動の実行を
制御できるため、自動再ロード、起動を行なうと不都合
なタイミングが存在する場合にも対処し得る効果をも有
している。
As is clear from the above explanation, according to the method of the present invention, when a failure occurs in the online program, the online dispute program can be automatically restarted, and the system is improved by reducing the interruption time of online business processing. In addition to improving the reliability of online
Since execution of automatic reloading and startup can be controlled based on judgment on the program side, it also has the effect of being able to cope with cases where there is an inconvenient timing when automatic reloading and startup is performed.

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

第1図はオンライン−システムの構成および各プログラ
ム間の連絡関連を示す図、第2図は本発明における処理
フローを示す図。 1・・・オペレーティングシステム、 2・・・運転管理プログラム、 3・・・オンラインプログラム。
FIG. 1 is a diagram showing the configuration of an online system and communication relationships between programs, and FIG. 2 is a diagram showing a processing flow in the present invention. 1...Operating system, 2...Operation management program, 3...Online program.

Claims (1)

【特許請求の範囲】[Claims] オンライン運転管理プログラムと、複数のオンライン・
プログラムとを有するオンライン・コンピュータ・シス
テムにおいて、前記オンライン・プログラムの異常を検
知する監視する監視手段と、前記オンライン・プログラ
ムの再ロードによる回復が可であるかどうかを示すフラ
グ手段とを具え、前記オンライン運転管理プログラムは
、前記監視手段が異常を検知し、かつ前記フラグ手段が
可を示すときオンライン・プログラムを再ロードするこ
とを特徴とするオンライン・プログラム再ロード方式。
Online operations management program and multiple online
an online computer system comprising: a monitoring means for detecting an abnormality in the online program; and a flag means for indicating whether recovery by reloading the online program is possible; An online program reloading method, wherein the online operation management program reloads the online program when the monitoring means detects an abnormality and the flag means indicates OK.
JP3742786A 1986-02-24 1986-02-24 Reloading system for on-line program Pending JPS62221765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3742786A JPS62221765A (en) 1986-02-24 1986-02-24 Reloading system for on-line program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3742786A JPS62221765A (en) 1986-02-24 1986-02-24 Reloading system for on-line program

Publications (1)

Publication Number Publication Date
JPS62221765A true JPS62221765A (en) 1987-09-29

Family

ID=12497215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3742786A Pending JPS62221765A (en) 1986-02-24 1986-02-24 Reloading system for on-line program

Country Status (1)

Country Link
JP (1) JPS62221765A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5346579A (en) * 1976-10-06 1978-04-26 Fuji Electric Co Ltd Signal generating circuit for deviation compensation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5346579A (en) * 1976-10-06 1978-04-26 Fuji Electric Co Ltd Signal generating circuit for deviation compensation

Similar Documents

Publication Publication Date Title
US6195760B1 (en) Method and apparatus for providing failure detection and recovery with predetermined degree of replication for distributed applications in a network
US6266781B1 (en) Method and apparatus for providing failure detection and recovery with predetermined replication style for distributed applications in a network
US7305578B2 (en) Failover method in a clustered computer system
KR100899582B1 (en) Information processing apparatus, control apparatus therefor, control method therefor and control program
JPH02294739A (en) Fault detecting system
JPS62221765A (en) Reloading system for on-line program
JP2002049509A (en) Data processing system
JP2009025967A (en) Backup system of duplicated firmware, method and operating system
JP3185446B2 (en) Computer system
JPH0534877B2 (en)
JP3103877B2 (en) Program execution method by multi-configuration system
JP2872008B2 (en) Computer system and method for implementing system reduced operation
JP2578908B2 (en) Restart method
JPH07271611A (en) Automatic process restarting and processing system
JPS597982B2 (en) Restart method in case of system failure of computer system
JPH02196341A (en) Fault restoring system for information processor
JPH0395634A (en) Restart control system for computer system
JP2000163274A (en) Electronic equipment and recording medium with rom data monitoring program recorded thereon
JP3470454B2 (en) Communication control method for multiprocessor system
JP2000322397A (en) Information processor
JPH04330531A (en) Check point processing system
JPH0695974A (en) Memory protecting system
JPS58195968A (en) Re-execution controlling system
JPS6242252A (en) Switching system for communication controller
JPS62212865A (en) Multiprocessor control system