JPH0242519A - Automatic restoring method for computer - Google Patents

Automatic restoring method for computer

Info

Publication number
JPH0242519A
JPH0242519A JP63192807A JP19280788A JPH0242519A JP H0242519 A JPH0242519 A JP H0242519A JP 63192807 A JP63192807 A JP 63192807A JP 19280788 A JP19280788 A JP 19280788A JP H0242519 A JPH0242519 A JP H0242519A
Authority
JP
Japan
Prior art keywords
computer
application processing
processing
state
application
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
JP63192807A
Other languages
Japanese (ja)
Inventor
Yoshio Katsuki
良夫 香月
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63192807A priority Critical patent/JPH0242519A/en
Publication of JPH0242519A publication Critical patent/JPH0242519A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To automatically restore a computer to the state set before occurrence of the abnormality like a service interruption at release of this service interruption by referring to the memory data for the IPL program processing and recognizing the process state of the computer at occurrence of the abnormality to perform the due processing. CONSTITUTION:When the supply of the prescribed voltage is started to a CPU 1, a power-on IPL function works and an IPL program is loaded to a memory 2 from a disk device 4. Then the IPL program is executed by the CPU 1. The IPL program loads the basic part of an operating system into the memory 2 and actuates the operating system. Then the IPL program reads the data showing the computer application processing state stored in the device 4 out of a file 5 and restarts automatically the due processing as long as the contents of data show an application processing state. While the IPL end state is held in case the contents of data show a non-application processing state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、停電などにより計算機システムが停止し、
その後電源供給が再開された場合の計算機の自動復旧方
法に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention is applicable to computer systems that stop due to power outages, etc.
The present invention relates to an automatic computer recovery method when power supply is resumed after that.

〔従来の技術〕[Conventional technology]

第13図は従来の計算機の自動復旧方法に適用される計
算機の構成図であり、図において、1はプログラムを実
行する中央処理装置(以下、CPUという)、2はプロ
グラムおよびプログラムの実行状態を示すデータを一時
的に退避するメモリ、3は停電時にメモリ2の内容を保
持するためのメモリバックアップ用バッテリ、4はメモ
リ2上にロードされるプログラム内容および通常の処理
結果などをファイルとして記録するためのディスク装置
である6 次に動作について説明する。CPUIによって停電が検
知された場合、CPUIは実行中のプログラムのどの命
令を次に実行すべきかというデータおよび停電が発生し
たというデータをメモリ2に記録し、処理を停止する。
FIG. 13 is a configuration diagram of a computer applied to the conventional computer automatic recovery method. 3 is a memory backup battery for retaining the contents of memory 2 in the event of a power outage; 4 is a memory for recording program contents loaded onto memory 2 and normal processing results as files. The operation of this disk device will be explained next. When a power outage is detected by the CPUI, the CPU records in the memory 2 data indicating which command of the program being executed should be executed next and data indicating that a power outage has occurred, and stops processing.

メモリ2への記録内容は停電中もバッテリバックアップ
用バッテリ3からメモリ2ヘメモリ内容を保持するに足
る電圧が供給されることによって保持される。
The contents recorded in the memory 2 are retained even during a power outage by supplying voltage sufficient to retain the memory contents from the battery backup battery 3 to the memory 2.

停電が復旧し、CPUIに供給される電源電圧値が所定
のレベルに達すると、CPUIはメモリ    この発
明に係る計算機の自動復旧方法は、計算2に記録されて
いる停電が発生したというデータ   機のIPL(イ
ニシアル・プログラム・ローデイと、その停電時に実行
途中だったプロゲラ□ムのど  ン1グ)′プログラム
の処理の中で異常発生前の計算の命令を次に実行すべき
かというデータを参照し、  機のアプリケーション処
理中、非アプリケーショ上記データで示された命令より
処理を開始するこ   ン処理中その他のアプリケージ
1ン処理状態を示とによって、停電前の処理状態に復旧
する。     したメツセージを他計算機より受信す
るか、ある〔発明が解決しようとする課題〕     
     いはこの処理状態を記録したファイル内容を
参照従来の計算機の自動復旧方法は以上のように構  
するなど不揮発性記憶手段に記憶されて−)るアブ成さ
れているので、停電中もメモリ2の内容を保  リケー
ション処纏状態を示すデータを参照し、計持しなければ
ならず、そのためにメモリバッファ  □算機漬処理状
態を”異常発生前の状態に自動的に復ツブ用バッテリ3
を付加することが必要であり、□  旧するようにした
ものである。
When the power outage is restored and the power supply voltage value supplied to the CPUI reaches a predetermined level, the CPUI automatically restores the computer in memory. IPL (initial program load day and program program program that was in the middle of execution at the time of the power outage) refers to data indicating whether the calculation instruction before the error occurred should be executed next during program processing. While the machine is processing an application, the non-application starts processing from the command indicated by the above data, and the processing state of other applications is restored to the processing state before the power outage. Is it possible to receive messages from other computers? [Problem to be solved by the invention]
Or refer to the contents of the file that records this processing status.The conventional automatic recovery method for computers is structured as described above.
Since the contents of memory 2 are stored in non-volatile storage means such as 1), it is necessary to maintain the contents of memory 2 even during a power outage by referring to the data indicating the completion status of the processing. Memory buffer □Automatically restores the computer processing state to the state before the error occurred
It is necessary to add □, and it has been made obsolete.

また、停電時間が長期化し、バッテリの能力を越   
〔作用〕えた場合に、メモリ2の内容が保持されず、自
動   この発明における計算機の自動復旧方法は、計
復旧できなくなるなどの間−点があった。      
算機のアプリケ−?ミン処讐状態を糸すデータとこの発
明は上記のような問題点を解消するため  して、アプ
リケーション処理開始時にはアプリケになされたもので
、メモリバックアップ用バッチ  −ション処理中を示
すデータを、またアプリケーリなしで、停電などの異常
が解除されたときに停  ジョン処理終了時には非アプ
リケーション処理を型筒の状態に自動復旧する計算機の
自動復旧方法・  示すデータをそれぞれ不揮発性記憶
手段に記憶し、を得ることを目的とする。
In addition, power outages may become longer and the battery capacity may be exceeded.
[Operation] The automatic computer recovery method according to the present invention has had its drawbacks, such as when the contents of the memory 2 are not retained and automatic computer recovery is no longer possible.
Calculator application? In order to solve the above-mentioned problems, this invention uses data that indicates batch processing for memory backup, which is done in the application at the start of application processing. An automatic recovery method for a computer that automatically restores non-application processing to the normal state at the end of shutdown processing when an abnormality such as a power outage is removed without an application. The purpose is to obtain.

〔課題を解決するための手段〕[Means to solve the problem]

この不揮発性記憶手段で記憶したデータを計算機のIP
Lプログラム処理で参照し、このデータに基づいて異常
発生時の計算機の処理状態を認識して、つまり、データ
の内容がアプリケーション処理中を示していればIPL
完了後アプリケーション処理を開始し、非アプリケーシ
ョン処理中であれば、IPL処理終了状態に復旧する。
The data stored in this non-volatile storage means can be transferred to the computer's IP address.
It is referenced in the L program processing, and based on this data, the processing state of the computer at the time of the abnormality is recognized.In other words, if the data content indicates that the application is being processed, the IPL is executed.
After completion, application processing is started, and if non-application processing is in progress, the state is restored to the IPL processing completed state.

【実施例〕【Example〕

以下、この発明の一実施例を図について説明する。第1
図において、1はプログラムを実行するCPU、2はプ
ログラムおよびプログラムの実行状態を示すデータを一
時的に退避するメモリ、4はメモリ2上にロードされる
プログラム内容および処理結果などをファイルとして記
録するためのディスク装置、5は計算機のアプリケーシ
ョン処理状態(アプリケージ1ン処理中、非アプリケー
ション処理中)を示すデータを記録したファイル(不揮
発性記憶手段)である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, 1 is a CPU that executes a program, 2 is a memory that temporarily saves the program and data indicating the execution state of the program, and 4 is a file that records the program contents and processing results loaded onto the memory 2. A disk device 5 is a file (non-volatile storage means) that records data indicating the application processing status of the computer (application processing in progress, non-application processing in progress).

次に動作について説明する。第1図において、停電が復
旧し、CPUIに所定の電圧が供給され始めると、CP
UIのパワーオンIPL機能が動作し、第2図のフロー
チャートに示される工PLプログラムがディスク装置4
よりメモリ2にロードされ、ロードされたIPLプログ
ラムがCPU1によって実行される。5 第2図に示されるように、IPLプログラムはステップ
ST1でオペレーティングシステム基本部分をメモリ2
上にロードして、オペレーティングシステムが心動する
状態にしたのち、ステップST2でディスク装置4内の
計算機のアプリケーション処理状態を示すデータをファ
イル5より読み取り、ステップST3でデータ内容がア
プリケーション処理中を示ルでいれば、ステップST4
に進み、アプリケーションン処理中に停電が発生したも
のと判断して、アプリケーション処理を自動的に再開す
る。
Next, the operation will be explained. In Figure 1, when the power outage is restored and a predetermined voltage begins to be supplied to the CPUI, the CPU
The power-on IPL function of the UI operates, and the engineering PL program shown in the flowchart of FIG.
The IPL program is loaded into the memory 2, and the loaded IPL program is executed by the CPU 1. 5 As shown in FIG. 2, the IPL program stores the basic parts of the operating system in the memory 2 in step ST1.
After the operating system is in a state where the operating system is running, in step ST2, data indicating the application processing status of the computer in the disk device 4 is read from the file 5, and in step ST3, the data content indicates that the application is being processed. If so, step ST4
It is determined that a power outage has occurred during application processing, and the application processing is automatically restarted.

また、ステップST3でデータ内容が非アプリケーショ
ン処理中を示していれば、処理中の停電は発生していな
いものとして、アプリケーション処理を開始する前の状
態(IPL、完了状態)を保持して復旧処理を終了する
In addition, if the data content indicates that non-application processing is in progress in step ST3, it is assumed that a power outage has not occurred during processing, and the state (IPL, completion state) before application processing is maintained and the recovery process is performed. end.

第3図はアプリケージ迩ン処理開始時のファイル5に対
するデータの設定プログラムのフローチャートを示す、
この第3図において、アプリケーション処理が開始され
ると、ステップST5でCPUIはアプリケーション処
理中を示すデータにファイル5の内容を更新し、ステッ
プST6でアプリケーションプログラムを起動し、この
データ更新の処理を終了する。
FIG. 3 shows a flowchart of a data setting program for file 5 at the start of application cage processing.
In FIG. 3, when application processing is started, the CPU updates the contents of file 5 to data indicating that the application is being processed in step ST5, starts the application program in step ST6, and ends this data update process. do.

また、第4図はアプリケーション処理停止時のファイル
5に対するデータの設定プログラムのフローチャートで
あり、アプリケーション処理が終了すると、ステップS
T7で非アプリケーション処理中を示すデータにファイ
ル5の内容を更新し、ステップST8でアプリケーショ
ンプログラムを停止する。
FIG. 4 is a flowchart of the data setting program for file 5 when application processing is stopped, and when application processing is finished, step S
At T7, the contents of the file 5 are updated to data indicating that non-application processing is in progress, and at step ST8, the application program is stopped.

なお、上記実施例では計算機のアプリケーション処理状
態を示すデータをディスク装置4のファイル5に記録す
る場合を示したが、上記データを第5図に示すようにデ
ィスク装置4以外の他の補助記憶装置(不揮発性記憶手
段)6(磁気テープ、フロッピディスクなど)上のファ
イルとして設けてもよい。
In addition, in the above embodiment, a case was shown in which data indicating the application processing status of the computer is recorded in the file 5 of the disk device 4, but the above data is recorded in an auxiliary storage device other than the disk device 4 as shown in FIG. (Nonvolatile storage means) 6 (Magnetic tape, floppy disk, etc.) may be provided as a file.

さらに、第6図に示すように、上記データをデータ入力
インタフェース7およびデータ設定用の信号線9を介し
てラッチングリレーなどのハードウェアの状態保持回路
(不揮発性記憶手段)8で実現してもよい、この八−ド
ウエア保持回路8に保持された状態出力は状態出力用の
信号線10およびデータ入出力インタフェース7を介し
てCPU1に伝送される。
Furthermore, as shown in FIG. 6, the above data may be realized by a hardware state holding circuit (non-volatile storage means) 8 such as a latching relay via a data input interface 7 and a signal line 9 for data setting. The status output held in this eight-domain storage circuit 8 is transmitted to the CPU 1 via the status output signal line 10 and the data input/output interface 7.

また、上記第1図の実施例ではアプリケーション処理中
、非アブリケーシゴン処理中の2種の状態の自動復旧に
ついて説明したが、3種以上の処理状態がある場合でも
、この発明は適用でき、上記実施例と同様の効果を奏す
る。
Further, in the embodiment shown in FIG. 1 above, automatic recovery of two types of states, ie, during application processing and during non-abbreviation processing, was explained, but the present invention can be applied even when there are three or more processing states. The same effects as in the above embodiment are achieved.

第7図はこの発明の第4の実施例のブロック図であり、
この第7図において、11はアプリケーション処理を実
行するCPU、12はアプリケーション処理およびO8
(オペレーティングシステム)ソフトウェアのプログラ
ムを実行時に記録しておくメモリ、14はメモリ12上
にロードされるプログラムおよびアプリケーションプロ
グラムによる処理結果などをファイルとして記録するた
めのディスク装置、15はデータ交換を行う交信相手の
他計算機(不揮発性記憶手段)、16は他計算機15に
記憶された、計算機のアプリケーション処理状態(アプ
リケーション処理中、非アプリケーション処理中)を示
すデータである。
FIG. 7 is a block diagram of a fourth embodiment of the invention,
In this FIG. 7, 11 is a CPU that executes application processing, 12 is an application processing and O8
(Operating system) A memory for recording software programs during execution; 14 a disk device for recording programs loaded onto the memory 12 and processing results by application programs as files; 15 a communication unit for exchanging data; The other computer (non-volatile storage means) 16 is data stored in the other computer 15 that indicates the application processing state of the computer (application processing, non-application processing).

次に動作について説明する。第7図において。Next, the operation will be explained. In FIG.

停電が復旧し、CPUIIに所定の電圧が供給され始め
ると、CPUI 1のパワーオンIPL機能が動作し、
第8図のフローチャートに示される工PLプログラムが
ディスク装置14よりメモリ12にロードされ、ロード
されたIPLプログラムがCPUIIによって実行され
る。
When the power outage is restored and the specified voltage begins to be supplied to CPU II, the power-on IPL function of CPU 1 will operate.
The engineering PL program shown in the flowchart of FIG. 8 is loaded from the disk device 14 into the memory 12, and the loaded IPL program is executed by the CPU II.

第8図に示されるようにIPLプログラムはステップ5
T11でオペレーティングシステム基本部分をメモリ1
2上にローディングしてオペレーティングシステムが稼
動する状態にしたのち、ステップ5T12で他計算機1
5に対してCPU11は計算機のアプリケーション処理
状態(アプリケーション処理中、非アプリケーション処
理中)を示すデータ16の内容の間合わせ、メツセージ
を出力する。
As shown in FIG.
T11 stores the basic parts of the operating system in memory 1.
After loading on computer 2 and making the operating system operational, in step 5T12, load the operating system on computer 1.
5, the CPU 11 adjusts the contents of data 16 indicating the application processing status of the computer (application processing, non-application processing) and outputs a message.

その後、ステップ5T13でCPUIIはこのメツセー
ジに対する応答メツセージを他計算機15から受信し、
その内容から計算機のアプリケーション処理状態を示す
データ16の内容を認識する。
Thereafter, in step 5T13, the CPU II receives a response message to this message from the other computer 15,
From the contents, the contents of the data 16 indicating the application processing state of the computer are recognized.

このデータ16の内容がステップ5T14でアプリケー
ション処理中を示していれば、アプリケーション処理状
態で停電が発生したものと判断して、ステップ5T15
でアプリケ−・シミン処理を自動的に再開する。
If the content of this data 16 indicates that the application is being processed in step 5T14, it is determined that a power outage has occurred while the application is being processed, and step 5T15
will automatically restart the applica- tion shimin process.

また、ステップ5T14において、データ16の内容が
非アプリケーション処理中を示していると判断すれば、
処理中の停電は発生していないものとして、アプリケー
ション処理を開始する前の状態(IPL完了状態)を保
持して復旧処理を終了する。
Further, in step 5T14, if it is determined that the content of the data 16 indicates that non-application processing is in progress,
Assuming that no power outage has occurred during the processing, the recovery processing is ended while maintaining the state before starting the application processing (IPL completion state).

第9図はアプリケーション処理開始時の他計算機15へ
のメツセージ送信プログラムの実行フローチャートであ
り、アプリケージ目ン処理が開始されると、ステップ5
T16でアプリケーション処理中を示すメツセージを他
計算機15に送信し、ステップ5T17でアプリケーシ
ョンプログラムを起動する。
FIG. 9 is an execution flowchart of a message sending program to other computers 15 at the start of application processing.
At T16, a message indicating that the application is being processed is sent to the other computer 15, and at step 5T17, the application program is started.

また、第10図はアプリケーション処理停止時の他計算
機15へのメツセージ送信プログラムのフローチャート
を示すものであり、アプリケーション処理が終了すると
、ステップ5T18で非アプリケーション処理中を示す
メツセージを他計算機15に送信し、ステップ5T19
でアプリケーションプログラムを停止する。
Furthermore, FIG. 10 shows a flowchart of a message sending program to other computers 15 when application processing is stopped. When application processing is completed, a message indicating that non-application processing is in progress is sent to other computers 15 in step 5T18. , step 5T19
Stop the application program.

第11図に計算機の状態変化とメツセージ交換タイミン
グおよび偽計算機15内のアプリケーション処理状態を
示すデータ16の内容の変化を示すタイミングチャート
を示す。
FIG. 11 shows a timing chart showing changes in the state of the computer, message exchange timing, and changes in the contents of the data 16 indicating the application processing state in the fake computer 15.

この第11図において、最初は偽計算機15内のアプリ
ケーション処理状態を示すデータ16が非アプリケーシ
ョン処理中であるから計算機が工PLプログラムをメモ
リ12にロードした後、工PLプログラムは間合わせメ
ツセージを他計算機15に送ると、他計算機15から応
答メツセージ(非アプリケーション処理中のメツセージ
)を受信する。そこで、計算機は新たなアプリケーショ
ン処理を開始するとともに、他計算機15にアプリケー
ション処理中に更新させるメツセージを送信する。
In this FIG. 11, since the data 16 indicating the application processing state in the fake computer 15 is in non-application processing at first, after the computer loads the engineering PL program into the memory 12, the engineering PL program sends a makeshift message to another. When the message is sent to the computer 15, a response message (a message being processed by a non-application) is received from the other computer 15. Therefore, the computer starts a new application process and sends a message to the other computers 15 to update the application process.

そこで、他計算機15はアプリケーション処理状態をア
プリケーション処理中に更新する。
Therefore, the other computer 15 updates the application processing state while the application is being processed.

このアプリケーション処理中に、停電が発生し、その後
停電が復旧すると、計算機はパワーオン時にIPLプロ
グラムをメモリにロードして、他計算機15に対してア
プリケーション処理状態を問い合わす間合わせメツセー
ジを送ると、他計算機15から計算機に応答メツセージ
(アプリケーション処理中)が送られてくるので、計算
機はアプリケーション処理復旧を行う。
During this application processing, a power outage occurs, and when the power is restored, the computer loads the IPL program into memory at power-on, and sends an interim message to other computers 15 to inquire about the application processing status. Since a response message (application processing in progress) is sent to the computer from the other computer 15, the computer performs application processing recovery.

復旧処理が終了し、その後アプリケーション処理が完了
すると、計算機はアプリケーション処理を、停止して、
アプリケーション処理状態を更新させるメツセージ(非
アプリケーション処理中)を他計算機15に送信し、他
計算機内のアブ、リケーション処理状態を示すデータ1
6は非アプリケージ、ヨン処理中となる。
When the recovery process is finished and the application process is completed, the computer stops the application process and
A message to update the application processing status (non-application processing in progress) is sent to other computers 15, and data 1 indicating the application processing status in the other computers is sent.
6 is a non-application case and is being processed.

なお、上記第7図の実施例ではアプリケーション処理開
始および停止時にメツセージ交換を行って、偽計算機1
5内のアプリケーション処理状態を示すデータ16を更
新する例を示したが、アプリケーション処理状態を示す
データ16の更新方法としては、一定時間間隔で定常的
にメツセージ交換を行っている計算機の場合、その交換
メツセージの一部にアプリケーション処理状態を示す情
報を含め、その内容に応じて毎受信タイミングで処理状
態を示すデータ16を更新してもよい。
In the embodiment shown in FIG. 7, messages are exchanged when application processing starts and stops, and the fake computer 1
5, the data 16 indicating the application processing status can be updated in the case of a computer that regularly exchanges messages at regular intervals. Information indicating the application processing status may be included in a part of the exchanged message, and the data 16 indicating the processing status may be updated at each reception timing according to the content.

この場合、定常的なメツセージ交換データ内にアプリケ
ージ1ン処理状態を示すデータを追加するだけで、特殊
なプロトコルの追加なしで上記実施例と同様の効果を奏
する。
In this case, by simply adding data indicating the application processing status to the regular message exchange data, the same effect as the above embodiment can be achieved without adding any special protocol.

第12図に上記変形例の場合の計算機の状態変化とメツ
セージ交換タイミングおよび偽計算機15内のアプリケ
ーション処理状態を示すデータ16内容の変化を示すタ
イミングチャートを示す。
FIG. 12 shows a timing chart showing changes in the state of the computer, message exchange timing, and changes in the contents of the data 16 indicating the application processing state in the fake computer 15 in the case of the above modification.

この第12図において、最初は偽計算機15内のアプリ
ケーション処理状態が非アプリケーション処理中である
から、他計算機15から定常メツセージ(非アプリケー
ション処理中応答)を計算機に送り、計算機がIPLプ
ログラムをメモリにロードし、定常メツセージ(非アプ
リケーション処理中通知)を他計算機15に送る。
In this FIG. 12, since the application processing state in the fake computer 15 is initially in non-application processing, the other computer 15 sends a regular message (non-application processing response) to the computer, and the computer stores the IPL program in the memory. and sends a regular message (non-application processing notification) to the other computer 15.

他計算機15はこのメツセージを受けると、定常メツセ
ージ(非、アプリケーション処理中応答)を計算機に送
り、計算機から定常メツセージ(非アプリケージ1ン処
理中通知)を他計算機15に送る。
When the other computer 15 receives this message, it sends a regular message (non-application processing response) to the computer, and the computer sends a regular message (non-application processing notification) to the other computer 15.

次いで、他計算機15から定常メツセージ(非アプリケ
ーション処理中応答)を計算機に送る。
Next, a regular message (non-application processing response) is sent from the other computer 15 to the computer.

アプリケーション処理が開始されると、定常メツセージ
(アプリケーション処理中通知)を他計算機15に送り
、他計算機15から定常メッセ−ジ(アプリケーション
処理中応答)を計算機に送る。
When application processing is started, a regular message (application processing notification) is sent to the other computer 15, and the other computer 15 sends a regular message (application processing response) to the computer.

停電が発生し、その後停電が復旧すると、他計算機15
から定常メツセージ(アプリケーション処理中応答)が
計算機に送られてくるので、計算機はアプリケーション
処理を復旧し、定常メツセージ(アプリケーション処理
中通知)を他計算機15に送り、他計算機15から定常
メツセージ(アプリケーション処理中応答)を計算機に
送る。
When a power outage occurs and the power is restored, other computers 15
Since a regular message (response during application processing) is sent to the computer from medium response) is sent to the computer.

次にアプリケーション処理が停止されると、計算機から
定常メツセージ(非アプリケーション処理中通知)を他
計算機15に送る。他計算機15内のアプリケーション
処理状態は非アプリケーション処理中となり、他計算機
15から計算機に定常メツセージ(非アプリケーション
処理中応答)を送る。
Next, when the application processing is stopped, the computer sends a regular message (non-application processing notification) to the other computer 15. The application processing state in the other computer 15 becomes non-application processing, and the other computer 15 sends a regular message (non-application processing response) to the computer.

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

以上のように、この発明によれば、IPLプログラムの
処理の中で停電などの異常発生前の計算機のアプリケー
ション処理状態を示したメツセージをメツセージ交換を
行う他計算機より受信してその内容を参照するか、ある
いはアプリケーション処理状態を記録したファイル内容
を参照するなど不揮発性記憶手段に記憶されているアプ
リケーション処理状態を示すデータを参照して、計算機
を停電などの異常発生前状態に自動的に復旧するように
構成したので、装置が安価にでき、また、停電などの異
常状態の時間がいかに長期にわたっても、停電などの異
常前の処理状態への自動復旧が可能となる効果がある。
As described above, according to the present invention, a message indicating the application processing state of a computer before an abnormality such as a power outage occurs during processing of an IPL program is received from another computer with which messages are exchanged, and the contents are referenced. Alternatively, the computer can be automatically restored to the state before an abnormality such as a power outage occurred by referring to data indicating the application processing state stored in a nonvolatile storage means, such as by referring to the contents of a file that records the application processing state. With this configuration, the apparatus can be made inexpensive, and no matter how long an abnormal state such as a power outage lasts, it is possible to automatically restore the processing state to the state before the abnormality such as a power outage.

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

第1図はこの発明の一実施例による計算機の自動復旧方
法に適用される計算機の構成図、第2図は同上実施例の
IPLプログラムの実行フローチャート、第3図は同上
実施例のアプリケーション処理開始時のデータ設定プロ
グラムの実行フローチャート、第4図は同上実施例のア
プリケーション処理停止時のデータ設定プログラムの実
行フローチャート、第5図ないし第7図はそれぞれこの
発明の第2ないし第4の実施例による計算機の自動復旧
方法に適用される計算機の構成図、第8図は第7図の実
施例のIPLプログラムの実行フローチャート、第9図
は第7図の実施例のアプリケーション処理開始時のメツ
セージ送信プログラムの実行フローチャート、第10図
は第7図の実施例のアプリケーション処理停止時のメツ
セージ送信プログラムのフローチャート、第11図は第
7図の実施例のメツセージ交換タイミングチャート、第
12図は一定時間間隔でメツセージ交換を行っている計
算機の定常メツセージにアプリケーション処理状態を示
すデータを追加した実施例のタイミングチャート、第1
3図は従来の計算機の自動復旧方法に適用する計算機の
構成図である。 1.11はCPU、2,12はメモリ、4,14はディ
スク装置、5はファイル(不揮発性記憶手段)、6は補
助記憶袋W(不揮発性記憶手段)。 8はハードウェア状態保持回路(不揮発性記憶手段)、
15は他計算機(不揮発性記憶手段)。 なお、図中、同一符号は同一、又は相当部分を示す。 (不揮発性19魔仔段) 第 図 第 図 (不揮発柱託邊手役) 第3r!lJ 第 図 第 図
FIG. 1 is a configuration diagram of a computer applied to an automatic computer recovery method according to an embodiment of the present invention, FIG. 2 is an execution flowchart of an IPL program according to the above embodiment, and FIG. 3 is a start of application processing according to the above embodiment. FIG. 4 is an execution flowchart of the data setting program when application processing is stopped according to the same embodiment, and FIGS. 5 to 7 are according to the second to fourth embodiments of the present invention, respectively. A configuration diagram of a computer applied to the automatic computer recovery method, FIG. 8 is an execution flowchart of the IPL program of the embodiment of FIG. 7, and FIG. 9 is a message sending program at the start of application processing of the embodiment of FIG. 7. FIG. 10 is a flowchart of the message sending program when application processing is stopped in the embodiment of FIG. 7, FIG. 11 is a message exchange timing chart of the embodiment of FIG. Timing chart of an embodiment in which data indicating application processing status is added to regular messages of computers exchanging messages, 1st
FIG. 3 is a configuration diagram of a computer applied to the conventional automatic computer recovery method. 1 and 11 are CPUs, 2 and 12 are memories, 4 and 14 are disk devices, 5 is a file (non-volatile storage means), and 6 is an auxiliary storage bag W (non-volatile storage means). 8 is a hardware state holding circuit (non-volatile storage means);
15 is another computer (non-volatile storage means). In addition, in the figures, the same reference numerals indicate the same or equivalent parts. (Non-volatile 19th demon child stage) Diagram diagram (Non-volatile pillar caretaker role) 3rd r! lJ Figure Figure

Claims (1)

【特許請求の範囲】[Claims]  パワーオン時のイニシャルプログラムローディングプ
ログラムをもった計算機において、上記イニシャルプロ
グラムローディングプログラムの処理の中で停電などの
異常発生前の計算機のアプリケーション処理中、非アプ
リケーション処理中のその他のアプリケーション処理状
態を示すデータを不揮発性記憶手段より参照して前記計
算機のアプリケーション処理状態が上記異常発生前の状
態に自動的に復旧することを特徴とする計算機の自動復
旧方法。
In a computer that has an initial program loading program at power-on, data indicating other application processing states during application processing or non-application processing of the computer before an abnormality such as a power outage occurs during the processing of the initial program loading program. An automatic recovery method for a computer, characterized in that the application processing state of the computer is automatically restored to the state before the abnormality occurred by referring to the above from a non-volatile storage means.
JP63192807A 1988-08-03 1988-08-03 Automatic restoring method for computer Pending JPH0242519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63192807A JPH0242519A (en) 1988-08-03 1988-08-03 Automatic restoring method for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63192807A JPH0242519A (en) 1988-08-03 1988-08-03 Automatic restoring method for computer

Publications (1)

Publication Number Publication Date
JPH0242519A true JPH0242519A (en) 1990-02-13

Family

ID=16297317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63192807A Pending JPH0242519A (en) 1988-08-03 1988-08-03 Automatic restoring method for computer

Country Status (1)

Country Link
JP (1) JPH0242519A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5421003A (en) * 1992-09-17 1995-05-30 International Business Machines Corporation Disk storage system with fault tolerant media maintenance

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5421003A (en) * 1992-09-17 1995-05-30 International Business Machines Corporation Disk storage system with fault tolerant media maintenance

Similar Documents

Publication Publication Date Title
CN107315656B (en) Multi-kernel embedded PLC software recovery method and PLC
JP5183542B2 (en) Computer system and setting management method
CN111858077A (en) Recording method, device and equipment for IO request log in storage system
WO2000054133A1 (en) Information processor, method for saving/loading data, and information recorded medium
CN114756355B (en) Method and device for automatically and quickly recovering process of computer operating system
JPH0242519A (en) Automatic restoring method for computer
JP3231561B2 (en) Backup memory control method
JP2011053780A (en) Restoration system, restoration method and backup control system
CN114328020A (en) Data backup method and related device for cluster file system
JP6160688B2 (en) Information processing apparatus, information processing method, and information processing program
JP3226867B2 (en) Received message recovery method in hot standby system, received message recovery method in hot standby system, and recording medium storing received message processing program
JP2000305830A (en) Method and system for managing file in computer system
JPS62284440A (en) Software resource maintenance system for terminal equipment
CN114490175A (en) Data processing method, system, computer device and readable storage medium
JPH10105407A (en) Autonomous program fault restoring system
JPH03163617A (en) Warm-boot method of program in computer system
CN117519745A (en) Software upgrading method and device
JP2000047830A (en) Device and method for mirror disk access
JPS6012849A (en) Fault information recording system
CN112667358A (en) Management method of virtual machine snapshot, electronic device and computer readable medium
JPH06309210A (en) File system information controller
JP2005078336A (en) Image forming apparatus and program rewriting method for image forming apparatus
JP3509705B2 (en) Automatic restart processing system and restart processing method in switching system
JPH07160651A (en) Backup mode for system data
JPH0789308B2 (en) Computer automatic restart method