JPH06149557A - Automatic firmware recovery system - Google Patents

Automatic firmware recovery system

Info

Publication number
JPH06149557A
JPH06149557A JP4299475A JP29947592A JPH06149557A JP H06149557 A JPH06149557 A JP H06149557A JP 4299475 A JP4299475 A JP 4299475A JP 29947592 A JP29947592 A JP 29947592A JP H06149557 A JPH06149557 A JP H06149557A
Authority
JP
Japan
Prior art keywords
correction
firmware
mark
data
automatic
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.)
Granted
Application number
JP4299475A
Other languages
Japanese (ja)
Other versions
JP3102962B2 (en
Inventor
Hirohisa Shibuya
裕寿 渋谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP04299475A priority Critical patent/JP3102962B2/en
Publication of JPH06149557A publication Critical patent/JPH06149557A/en
Application granted granted Critical
Publication of JP3102962B2 publication Critical patent/JP3102962B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To enable automatic recovery by setting a correction apply flag when a correction managing table is provided and correction is performed, setting a guarantee mark when the correction is normally started, and recovering abnormality while referring to the correction managing table when the abnormality is detected. CONSTITUTION:When turning on a power source or the like, an automatic patch 3 corrects a firmware based on correction data set to a correction managing table 2 and after the correction apply mark corresponding to the correction data is set to ON, the firmware is loaded and activated. When it is normal, the guarantee mark is set to ON, and the operation is started. On the other hand, when it is abnormal, an automatic recovery 5 recovers the firmware, for which the correction apply mark is turned on and the guarantee mark is turned off, with preserved old data while referring to the correction managing table 2 and the old firmware is loaded and activated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ファームウェアの修正
データの適用時に自動リカバリするファームウェア自動
リカバリ方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a firmware automatic recovery system for automatically recovering when correction data of firmware is applied.

【0002】通常、顧客システムの電源投入時に自動パ
ッチ処理により、ファームウェアの自動修正が行われ
る。しかし、修正データに不備があった場合、ファーム
ウェアが誤動作し、顧客システムが立ち上がらないこと
があったので、自動リカバリを行うことが望まれてい
る。
[0002] Normally, when the power of the customer system is turned on, the firmware is automatically corrected by the automatic patch processing. However, if the correction data is deficient, the firmware may malfunction and the customer system may not start up. Therefore, automatic recovery is desired.

【0003】[0003]

【従来の技術】従来、顧客システムのファームウェア修
正は、図6に示すように、自動パッチ処理によって自動
的に修正し、システムを立ち上げる仕組みになってい
る。しかし、修正データの誤りでファームウェアが誤動
作し、システムが立ち上がらないことがある。これを前
のレベルに復元するためには、ファームウェアを再イン
ストールするか、あるいは保守端末を接続して保守員に
よって修復作業を行うかしていた。以下図6の構成およ
び動作を簡単に説明する。
2. Description of the Related Art Conventionally, as shown in FIG. 6, the firmware of a customer system is automatically corrected by an automatic patch process to start up the system. However, the firmware may malfunction due to incorrect correction data, and the system may not start up. In order to restore this to the previous level, the firmware was re-installed, or the maintenance terminal was connected and repair work was performed by maintenance personnel. The configuration and operation of FIG. 6 will be briefly described below.

【0004】図6は、従来技術の説明図を示す。図6の
(a)は、自動パッチ処理の構成および動作説明図を示
す。図6の(a)において、修正データ21は、保守セ
ンタから回線を介して格納したり、フロッピィから格納
したりした修正データである。
FIG. 6 shows an explanatory view of the prior art. FIG. 6A shows a configuration and operation explanatory diagram of the automatic patch processing. In FIG. 6A, the correction data 21 is the correction data stored from the maintenance center via the line or stored from the floppy.

【0005】F1からFnは、ファームウェアである。
次に、動作を説明する。図6の(a)において、S21
は、システム電源投入する。
F1 to Fn are firmware.
Next, the operation will be described. In FIG. 6A, S21
Power on the system.

【0006】S22は、自動パッチ処理を行う。これ
は、磁気ディスク装置内の修正データを取り出し、ファ
ームウェアF1からFnを修正する。S23は、修正し
た後のファームウェアをローディングして順次起動す
る。
At step S22, automatic patch processing is performed. This takes out the correction data in the magnetic disk device and corrects the firmware F1 to Fn. In S23, the corrected firmware is loaded and sequentially activated.

【0007】S24は、S23の起動に対応して、シス
テムが正常に動作開始したか判別する。YESの場合に
は、S25でシステム稼働を開始する。一方、NOの場
合には、修正した後のファームウェアをローディングし
て起動したが、正常に動作しなかったので、S26でシ
ステム停止する。
In step S24, in response to the activation in step S23, it is determined whether the system has started operating normally. If YES, the system operation is started in S25. On the other hand, in the case of NO, the corrected firmware is loaded and started up, but since it did not operate normally, the system is stopped in S26.

【0008】次に、S26でシステム停止したときの復
元方法について説明する。図6の(b)は、復元方法を
示す。復元方法には、再インストールする方法があ
る。これは、フロッピィから元のファームウェアをF1
からFnにそれぞれインストールすると共に、フロッピ
ィから前回までの修正データを格納し、修正前の元の状
態に復元する。そして、再度、図6の(a)のS21か
らS25によって、ローディングおよび起動し、システ
ム稼働を開始する。
Next, a restoration method when the system is stopped in S26 will be described. FIG. 6B shows the restoration method. There is a method of re-installation as a restoration method. This is F1 with the original firmware from Floppy
To Fn, store the correction data from the floppy to the previous time, and restore the original state before the correction. Then, again, in S21 to S25 of FIG. 6A, loading and activation are performed, and system operation is started.

【0009】保守端末により復元する場合には、保
守端末を接続し、異常であったファームウェア(ここで
はファームウェアn)を保守員が修正し、システム稼働
を開始させる。
In the case of restoration by the maintenance terminal, the maintenance terminal is connected, the maintenance staff corrects the abnormal firmware (here, firmware n), and the system operation is started.

【0010】[0010]

【発明が解決しようとする課題】従来は上述したよう
に、電源投入時に自動パッチ処理で修正データをもとに
ファームウェアを修正してローディングした後、起動し
てシステム停止した場合、修正前の状態に再インストー
ルしたり、保守端末を接続してダウン発生のファームウ
ェアを修復していたため、いずれも手作業が必要とな
り、保守員の熟練度が要求されると共に修復に多くの時
間が必要になってしまうという問題があった。
Conventionally, as described above, when the power is turned on, the firmware is corrected by the automatic patch processing based on the correction data to load the firmware, and then the system is started and stopped. It was necessary to re-install the firmware in the same way or repair the firmware that was down by connecting a maintenance terminal. There was a problem of being lost.

【0011】本発明は、これらの問題を解決するため、
修正管理テーブルを設けて自動パッチが修正したときに
修正適用フラグをセットし、正常に立ち上がったときに
保証マークをセットし、システム監視処理が異常を検出
したときに修正管理テーブルを参照して異常のファーム
ウェアを保存しておいた元のデータで復元し、自動リカ
バリを行うことを目的としている。
The present invention solves these problems.
A fix management table is provided to set a fix application flag when an automatic patch is fixed, a warranty mark is set when the system starts up normally, and when the system monitoring process detects an error, the fix management table is referenced and an error is detected. The purpose is to restore the original firmware that has been saved with the original data and perform automatic recovery.

【0012】[0012]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、修正管理
テーブル2は、修正データに対応づけて修正適用マーク
および保証マークを設定するものである。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, the correction management table 2 sets a correction application mark and a guarantee mark in association with correction data.

【0013】自動パッチ3は、修正管理テーブル2を参
照してパッチを行うものである。自動リカバリ5は、修
正管理テーブル2を参照してリカバリを行うものであ
る。
The automatic patch 3 refers to the correction management table 2 to apply a patch. The automatic recovery 5 refers to the correction management table 2 to perform recovery.

【0014】システム監視処理41は、ROM4に格納
して常駐させ、システムの異常を監視するものである。
The system monitoring process 41 stores the program in the ROM 4 and makes it resident so as to monitor the system for abnormality.

【0015】[0015]

【作用】本発明は、図1に示すように、電源投入時など
に、自動パッチ3が修正管理テーブル2に設定されてい
る修正データをもとにファームウェアを修正および旧デ
ータを保存すると共に当該修正データに対応する修正適
用マークをオンに設定した後、ファームウェアをローデ
ィングして起動し、正常のときに該当する保証マークを
オンに設定し、運用を開始する。一方、異常のときに自
動リカバリ5が修正管理テーブル2を参照して修正適用
マークがオンで保証マークがオフのファームウェアにつ
いて保存しておいた旧のデータで復元し、旧のファーム
ウェアをローディングして起動するようにしている。
According to the present invention, as shown in FIG. 1, when the power is turned on, the automatic patch 3 corrects the firmware based on the correction data set in the correction management table 2 and saves the old data and After the correction application mark corresponding to the correction data is set to ON, the firmware is loaded and activated, and when the condition is normal, the corresponding guarantee mark is set to ON and operation is started. On the other hand, in the event of an abnormality, the automatic recovery 5 refers to the correction management table 2 and restores the old data saved for the firmware with the correction application mark turned on and the warranty mark turned off, and loads the old firmware. I'm trying to start.

【0016】この際、ROM4内にシステムの異常を監
視するシステム監視処理41を常駐させ、当該システム
監視処理41がシステムの異常を検出したときに、自動
リカバリ5を起動し、復元してローディングし、起動す
るようにしている。
At this time, the system monitoring processing 41 for monitoring the system abnormality is made resident in the ROM 4, and when the system monitoring processing 41 detects the system abnormality, the automatic recovery 5 is activated, restored and loaded. , Is trying to start.

【0017】従って、修正管理テーブル2を設けて自動
パッチ3が修正したときに修正適用フラグをセットし、
正常に立ち上がったときに保証マークをセットする。一
方、常駐するシステム監視処理41が異常を検出したと
きに自動リカバリ5を起動し、この自動リカバリ5が修
正管理テーブル2を参照して異常のファームウェアにつ
いて保存しておいた元のデータで復元し、自動リカバリ
を行うことにより、修正データのバグなどによるシステ
ム停止を自動的に回避して修正前の状態でシステムを起
動し、運用することが可能となる。
Therefore, the correction management table 2 is provided to set the correction application flag when the automatic patch 3 is corrected,
Set the warranty mark when you start up normally. On the other hand, when the resident system monitoring process 41 detects an abnormality, the automatic recovery 5 is activated, and the automatic recovery 5 refers to the correction management table 2 and restores the original data saved for the abnormal firmware. By performing automatic recovery, it is possible to automatically avoid a system stop due to a bug in the correction data and start the system in the state before correction and operate it.

【0018】[0018]

【実施例】次に、図1から図5を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0019】図1は、本発明の1実施例構成図を示す。
図1において、SVP1は、サービスプロセッサであっ
て、各種サービスを提供するものであり、ここでは、修
正管理テーブル2、自動パッチ3、ROM4、自動リカ
バリ5、およびセンサレジスタ6などから構成されるも
のである。
FIG. 1 shows a block diagram of an embodiment of the present invention.
In FIG. 1, an SVP 1 is a service processor that provides various services, and is composed of a correction management table 2, an automatic patch 3, a ROM 4, an automatic recovery 5, a sensor register 6, and the like here. Is.

【0020】修正管理テーブル2は、修正データ、この
修正データに対応づけた修正適用マークおよび保証マー
クを設定するものである。修正データは、ファームウェ
アに修正を施すためのデータであって、回線を介してリ
モートによって格納したり、保守者がフロッピィから格
納したりしたものである。
The modification management table 2 is for setting modification data, a modification application mark and a guarantee mark associated with this modification data. The modification data is data for modifying the firmware, and is stored remotely via a line or stored by a maintenance person from a floppy.

【0021】修正適用マークは、自動パッチ3が修正デ
ータをもとにファームウェアに修正を施したときにP
(オン)に設定するものである。保証マークは、修正デ
ータをもとにファームウェアを修正してローディング・
起動し、正常に稼働したときにM(オン)と設定するも
のである。
The correction applied mark is P when the automatic patch 3 corrects the firmware based on the correction data.
It is set to (ON). The warranty mark is based on the correction data and the
It is set to M (ON) when it starts up and operates normally.

【0022】自動パッチ3は、修正管理テーブル2を参
照し、格納されている修正データを取り出して該当する
ファームウェアに修正を施すと共に修正適用マークをP
に設定して修正を施した旨を記憶するものである。
The automatic patch 3 refers to the modification management table 2, extracts the modification data stored therein, modifies the corresponding firmware, and sets the modification application mark to P.
It is stored by setting to and the fact that the correction has been made.

【0023】ROM4は、ここでは、システム監視処理
41を格納して常駐させるものである。システム監視処
理41は、常駐し、システムの動作状態を監視、特に自
動パッチ3によって修正データをもとにファームウェア
を修正してローディング・起動したときに、システムの
異常が発生、例えば停止状態が5分間続いたときにシス
テム異常が発生と検出するものである。システム異常を
検出した場合、自動リカバリ5を起動する。
Here, the ROM 4 stores the system monitoring process 41 and makes it resident. The system monitoring process 41 is resident and monitors the operating state of the system. In particular, when the automatic patch 3 corrects the firmware based on the correction data to load and activate the system, an abnormality occurs in the system, for example, when the stopped state is 5 When it continues for a minute, it detects that a system abnormality has occurred. When the system abnormality is detected, the automatic recovery 5 is activated.

【0024】自動リカバリ5は、システム監視処理41
から起動され、修正管理テーブル2を参照し、修正適用
マークがPかつ保証マークが設定されていないファーム
ウェアに障害発生とし、保存しておいた元のデータで復
元し、ローディング・起動するものである。
The automatic recovery 5 is a system monitoring process 41.
The firmware is activated from the following, refers to the modification management table 2, and determines that the firmware for which the modification application mark is P and the warranty mark is not set to have a failure, restores the saved original data, loads and starts up. .

【0025】センサレジスタ6は、システムの異常を検
出するためのものであって、システム起動当初にOFF
に設定しておき、システムが正常に稼働状態になったと
きにONにするものである。このセンサレジスタ6の内
容をシステム監視処理41がチェックし、システム起動
時にOFFに設定されたものが、例えば5分を経過して
もONに設定されないときに、修正データをもとにファ
ームウェアに修正を施して正常にシステムが立ち上がら
なかったとして異常と判断するためのものである。
The sensor register 6 is for detecting a system abnormality and is turned off at the beginning of system startup.
And is turned on when the system is normally operating. When the system monitoring process 41 checks the contents of the sensor register 6 and the one that is set to OFF at system startup is not set to ON even after 5 minutes elapse, the firmware is corrected based on the correction data. This is for judging that the system is abnormal if the system does not start up normally.

【0026】次に、図1の動作を説明する。図1におい
て、は、P−ONすると共にのセンサレジスタ6を
OFF(システム停止の信号)にする。これは、システ
ムの電源をONしたときに、合わせてセンサレジスタ6
をOFFに設定する。このセンサレジスタ6をOFFに
するのは、所定時間(例えば5分)経過しても当該セン
サレジスタ6がシステム稼働となってONとされないと
きに、システムが停止したと常駐するシステム監視処理
41が判断して自動リカバリ5を起動するためである。
Next, the operation of FIG. 1 will be described. In FIG. 1, at the same time as P-ON, the sensor register 6 is turned OFF (system stop signal). This is the sensor register 6 when the system power is turned on.
Set to OFF. This sensor register 6 is turned off by the system monitoring processing 41 resident when the system is stopped when the sensor register 6 is not turned on due to system operation even if a predetermined time (for example, 5 minutes) has elapsed. This is because it is determined and the automatic recovery 5 is activated.

【0027】は、自動パッチ3が起動され、修正管理
テーブル2を参照し、修正データが格納されて未だ修正
適用マークにPが設定されていない未適用分について、
修正データをもとに該当するファームウェアを修正し、
修正適用マークをPに設定する。
[0027] The automatic patch 3 is started, the correction management table 2 is referred to, and the correction data is stored and the unapplied portion for which P is not set in the correction application mark is
Correct the corresponding firmware based on the correction data,
Set the correction application mark to P.

【0028】は、ファームウェアをローディングして
起動する。は、の起動に対応して、システムの立ち
上げに成功したか判別する。YESの場合には、システ
ムが正常に立ち上がり、でシステムが正常に稼働を開
始し、この中で修正管理テーブル2中の保証マークにM
を設定し、正常に立ち上がった旨を設定すると共に、セ
ンサレジスタ6をONに設定してシステムが稼働状態と
しておく。一方、のNOでシステムの立ち上げに成功
しなく、システムが停止状態となってしまった場合、保
証マークが設定されないこととなる。このため、でR
OM4中の常駐しているシステム監視処理41が所定時
間(例えばP−ONから5分間)の間、センサレジスタ
6がOFFに設定されたままのとき、システムの立ち上
げに失敗してシステム停止状態と判定し、で自動リカ
バリ5を起動する。起動された自動リカバリ5が修正管
理テーブル2を参照し、修正適用マークがPと設定さ
れ、かつ保証マークが設定されていない修正データのフ
ァームウェアについて、保存しておいた旧のデータで復
元すると共に修正適用マークの設定をクリアし、でフ
ァームウェアをローディングして起動する。この場合に
は、旧のファームウェアに復元したので、でシステム
の立ち上げに成功し、でシステム稼働し、この中でセ
ンサレジスタ6をONに設定し、運用を開始する。
[0038] is loaded with firmware and activated. Responds to the startup of and determines whether the system startup was successful. In the case of YES, the system normally starts up, and the system starts to operate normally. In this, the guarantee mark in the correction management table 2 is M
Is set to indicate that the system has started up normally, and the sensor register 6 is set to ON to keep the system in an operating state. On the other hand, if the answer is NO, and the system is not successfully started up, and the system is in the stopped state, the guarantee mark is not set. Therefore, in R
When the resident system monitoring process 41 in the OM 4 remains OFF for a predetermined time (for example, 5 minutes from P-ON), the system register fails and the system is stopped. Then, the automatic recovery 5 is started with. The activated automatic recovery 5 refers to the correction management table 2 and restores the firmware of the correction data for which the correction application mark is set to P and the guarantee mark is not set with the saved old data. Clear the setting of the fix application mark, load the firmware with and start. In this case, since the old firmware is restored, the system is successfully started up with, the system is started up, the sensor register 6 is set to ON in this, and the operation is started.

【0029】以上のように、修正管理テーブル2に格納
された修正データについて、修正適用マークが設定され
ていない修正データをもとにファームウェアを修正して
ローディング・起動し、システムの立ち上げに成功した
ときは、システム稼働の中で修正管理テーブル2の保証
マークをMに設定すると共にセンサレジスタ6をONに
設定し、運用を行う。一方、システムの立ち上げに失敗
した場合には、ROM4中の常駐するシステム監視処理
41がセンサレジスタ6について所定時間(例えば5分
間)経過してもOFFからONに設定されないときにシ
ステム立ち上げに失敗してシステム停止と判断して自動
リカバリ5を起動する。起動された自動リカバリ5が修
正管理テーブル2を参照して修正適用マークがP、かつ
保証マークが設定なしの修正データのファームウェアを
保存しておいた旧のデータで復元して起動し、今回はシ
ステムの立ち上げに成功するので、システム稼働の中で
保証マークをMに設定およびセンサレジスタ6をONに
設定し、運用を開始する。これらにより、修正データの
自動パッチを行うと共にシステムの立ち上げに失敗した
ときに自動的に復元することが可能となり、従来の保守
員によるリカバリ操作が不要となる。
As described above, with respect to the correction data stored in the correction management table 2, the firmware is corrected based on the correction data for which the correction application mark is not set, the firmware is loaded and activated, and the system is successfully started. If so, the warranty mark of the modification management table 2 is set to M and the sensor register 6 is set to ON during the system operation, and the operation is performed. On the other hand, if the system startup fails, the system monitoring process 41 resident in the ROM 4 does not switch from OFF to ON even after a predetermined time (for example, 5 minutes) has passed with respect to the sensor register 6 and the system startup process is started. If it fails and it is judged that the system is stopped, the automatic recovery 5 is started. The activated automatic recovery 5 refers to the correction management table 2 and restores and starts up with the old data in which the firmware of the correction data with the correction application mark P and the guarantee mark not set is stored, and this time, Since the system is successfully started up, the guarantee mark is set to M and the sensor register 6 is set to ON during the operation of the system, and the operation is started. As a result, it is possible to automatically patch the correction data and automatically restore the data when the system fails to start up, which eliminates the need for the recovery operation by the conventional maintenance personnel.

【0030】以下順次詳細に説明する。図2は、本発明
の動作説明フローチャートを示す。図2において、S1
は、保守センタ(回線)またはフロッピィから修正デー
タを格納する。これは、図1の修正管理テーブル2に対
して、保守センタから回線を介して修正データを格納し
たり、あるいはフロッピィから修正データを格納したり
する。
The details will be sequentially described below. FIG. 2 shows a flowchart for explaining the operation of the present invention. In FIG. 2, S1
Stores the correction data from the maintenance center (line) or floppy. This stores the correction data in the correction management table 2 of FIG. 1 from the maintenance center via the line, or stores the correction data from the floppy disk.

【0031】S2は、P−ONか判別する。これは、図
1のシステムの電源が投入されたか判別する。YESの
場合には、S3に進む。一方、NOの場合には、S4に
進む。
In step S2, it is determined whether it is P-ON. This determines whether the system of FIG. 1 has been powered on. If yes, then continue with S3. On the other hand, if NO, the process proceeds to S4.

【0032】S3は、S2のYESで電源が投入された
ので、修正データをもとにファームウェアを修正および
旧データを保存する。この際、修正管理テーブル2内の
修正適用マークにPを設定する。
In step S3, since the power is turned on in YES in step S2, the firmware is modified based on the modified data and the old data is saved. At this time, P is set to the correction application mark in the correction management table 2.

【0033】S4は、ファームウェアをローディングし
て起動する。S5は、システムが正常に立ち上がったか
判別する。YESの場合には、S6でシステム稼働し、
修正管理テーブル2内の保証マークをMに設定およびセ
ンサレジスタ6にONを設定する。一方、NOの場合に
は、S7で自動リカバリ処理(後述する図3の処理)に
よって、システムの立ち上げに失敗した修正データのフ
ァームウェアを保存しておいた旧のデータで復元し、S
4に戻る。
In step S4, the firmware is loaded and activated. In S5, it is determined whether the system has normally started up. If YES, the system starts operating in S6,
The guarantee mark in the correction management table 2 is set to M and the sensor register 6 is set to ON. On the other hand, in the case of NO, in S7, the automatic recovery process (the process of FIG. 3 described later) restores the firmware of the corrected data that failed to start the system with the old data stored,
Return to 4.

【0034】以上によって、修正データを修正管理テー
ブル2に格納しておき、電源投入時に修正管理テーブル
2を参照して修正データをもとにファームウェアを修正
すると共に修正適用マークをPに設定し、ファームウェ
アをローディング・起動し、正常に立ち上がったときは
保証マークをMに設定およびセンサレジスタ6をONに
設定し、運用を開始する。一方、システムが正常に立ち
上がらなく、センサレジスタ6が所定時間(例えば5分
間)経過してもONに設定されないときにシステム監視
処理41がこの旨を検出して自動リカバリ5を起動し、
後述する図3のフローチャートに従って保存しておいた
旧のデータで復元し、ローディング・起動し、正常に立
ち上がったときに保証マークをMに設定およびセンサレ
ジスタ6をONに設定し、運用を開始する。
As described above, the modification data is stored in the modification management table 2, the firmware is modified based on the modification data by referring to the modification management table 2 when the power is turned on, and the modification application mark is set to P. When the firmware is loaded and activated, and when it starts up normally, the guarantee mark is set to M and the sensor register 6 is set to ON, and the operation is started. On the other hand, when the system does not start normally and the sensor register 6 is not set to ON even after a predetermined time (for example, 5 minutes) has passed, the system monitoring process 41 detects this fact and starts the automatic recovery 5,
Restored with the old data saved according to the flowchart of FIG. 3 described later, loaded / started, set the guarantee mark to M and set the sensor register 6 to ON when starting normally, and start operation. .

【0035】図3は、本発明の動作説明フローチャート
を示す。これは、自動リカバリ5による処理である。図
3において、S11は、センサレジスタ6がOFFか判
別する。これは、図1のセンサレジスタ6が電源の投入
時にOFFに設定されたままか判別する。YESの場合
には、S12でシステム監視処理41が監視を開始し、
例えば5分間経過したときにファームウェアをローディ
ングして起動し、正常に立ち上がらないと判定し、シス
テム停止と判断し、S13で自動リカバリ5を起動す
る。
FIG. 3 shows a flowchart for explaining the operation of the present invention. This is processing by the automatic recovery 5. In FIG. 3, S11 determines whether the sensor register 6 is OFF. This determines whether the sensor register 6 of FIG. 1 remains off when the power is turned on. If YES, the system monitoring process 41 starts monitoring in S12,
For example, when 5 minutes have elapsed, the firmware is loaded and activated, it is determined that the system does not start up normally, it is determined that the system is stopped, and the automatic recovery 5 is activated in S13.

【0036】S14は、修正管理テーブル2内でPが有
り、Mが無しがあるか判別する。YESの場合には、修
正データをもとにファームウェアを修正し、未だ稼働状
態になっていないファームウェアが存在すると判明した
ので、S15で旧データを取り出し、復元および修正適
用マークのPを削除する。そして、S14に戻り繰り返
す。一方、S14でNOの場合には、S17でファーム
ウェアをローディングして起動する。そして、図2のS
5以降の処理を行う。
In step S14, it is determined whether P is present and M is not present in the correction management table 2. In the case of YES, the firmware is corrected based on the correction data, and it is found that there is firmware that is not in the operating state yet. Therefore, in S15, the old data is taken out and P of the restoration and correction application mark is deleted. And it returns to S14 and repeats. On the other hand, if NO in S14, the firmware is loaded and activated in S17. And S in FIG.
The processing after 5 is performed.

【0037】以上によって、システムが正常に立ち上が
らなく、5分間経過してもセンサレジスタ6がOFFの
ままの場合、システム停止とシステム監視処理41が判
断し、自動リカバリ5を起動し、この自動リカバリ5が
修正管理テーブル2を参照して修正適用マークにPが有
り、保証マークにMがない修正データのファームウェア
について保存しておいた旧のデータを取り出して復元
し、ローディング・起動し、システムを正常に立ち上げ
る。これにより、修正データにたとえバグなどが有って
正常に立ち上がらないときでも、自動リカバリ5が自動
的に旧のデータで復元し、自動的にシステムを立ち上げ
ることが可能となる。
As described above, when the system does not start up normally and the sensor register 6 remains off even after 5 minutes, the system monitoring process 41 judges that the system is stopped, and the automatic recovery 5 is activated. 5 refers to the correction management table 2 to retrieve and restore the old data stored for the firmware of the correction data in which the correction application mark has P and the warranty mark does not have M, load and start the system, Start up normally. As a result, even if the corrected data has a bug or the like and does not normally start up, the automatic recovery 5 can automatically restore the old data and automatically start up the system.

【0038】図4は、本発明の修正管理テーブル2の遷
移例を示す。(1)は、自動パッチの適用前を示す。こ
れは、修正データC、Dを修正管理テーブル2に格納し
た状態であって、図示の下記のように設定されている。
FIG. 4 shows a transition example of the modification management table 2 of the present invention. (1) shows before application of the automatic patch. This is a state in which the correction data C and D are stored in the correction management table 2 and is set as shown below.

【0039】 修正データ→ A B C D 修正適用マーク→ P P − − 保証マーク→ M M − − この状態では、修正データA、Bが修正済であって、修
正データC、Dが未修正である。
Correction data → ABCCD Modification application mark → PP−− Guarantee mark → MM−− In this state, the correction data A and B have been corrected and the correction data C and D have not been corrected. is there.

【0040】(2)は、自動パッチ適用した状態を示
す。これは、修正データC、Dをもとに、図1の自動パ
ッチ3がファームウェアを修正した状態であって、図示
の下記のように設定されている。
(2) shows a state in which an automatic patch is applied. This is a state in which the firmware is corrected by the automatic patch 3 in FIG. 1 based on the correction data C and D, and is set as shown below.

【0041】 修正データ→ A B C D 修正適用マーク→ P P P P 保証マーク→ M M − − この状態では、修正データC、Dをもとにファームウェ
アを修正してローディング・起動した状態である。
Modified data → ABCCD Modified application mark → PPPP Guaranteed mark → MM-In this state, the firmware is modified based on the modified data C and D, and loading / starting is performed. .

【0042】(3)は、システム稼働した状態を示す。
これは、修正データC、Dをもとに、図1の自動パッチ
3がファームウェアを修正し、ローディング・起動し、
正常に立ち上がり、システムが稼働し、保証マークにM
を設定した状態であって、図示の下記のように設定され
ている。
(3) shows a system operating state.
This is because the automatic patch 3 in FIG. 1 corrects the firmware based on the correction data C and D, loads and activates the firmware,
The system starts up normally, the system operates, and the guarantee mark is M
Is set and is set as shown below.

【0043】 修正データ→ A B C D 修正適用マーク→ P P P P 保証マーク→ M M M M この状態では、修正データC、Dの修正が完了し、シス
テムが稼働状態となっている。
Correction data → ABCCD Modification application mark → PPPP Guaranteed mark → MMMM In this state, the corrections of the correction data C and D are completed, and the system is in operation.

【0044】図5は、本発明のリカバリ処理説明図を示
す。図5において、S21は、修正管理テーブル2を検
索し、 ・修正適用マーク=P ・保証マーク=無し の修正データが存在するか判別する。これは、図3のS
14の判定であって、自動パッチ3が修正データをもと
にファームウェアの修正を行ったときに修正適用マーク
をMに設定し、システムが停止状態にあるか判別するも
のである。YESの場合には、S22のリカバリ処理を
行う。
FIG. 5 is a diagram for explaining the recovery process of the present invention. In FIG. 5, in step S21, the modification management table 2 is searched, and it is determined whether there is modification data of: modification application mark = P, guarantee mark = none. This is S in FIG.
In the determination of 14, the correction application mark is set to M when the automatic patch 3 corrects the firmware based on the correction data, and it is determined whether the system is in the stopped state. In the case of YES, the recovery process of S22 is performed.

【0045】S22は、S21でシステム停止と図1の
システム監視処理41によって判別されたので、自動リ
カバリ5を起動し、リカバリ処理を行う。即ち図4の
(2)に示すように修正管理テーブル2がなっていたと
きに、図示の下記のように、修正データC、Dの修正適
用マークのMを削除すると共に、保存しておいた旧のデ
ータで復元したファームウェアをローディング・起動
し、システムを稼働状態にする。
At S22, the system is stopped at S21 and the system monitoring process 41 of FIG. 1 determines that the automatic recovery 5 is started and the recovery process is performed. That is, when the modification management table 2 is as shown in (2) of FIG. 4, the modification application mark M of the modification data C and D is deleted and saved as shown below. Load and boot the firmware restored with the old data, and put the system into operation.

【0046】 修正データ→ A B C D 修正適用マーク→ P P − − 保証マーク→ M M − −Correction data → ABCCD Correction application mark → PP --- Guarantee mark → MM ---

【0047】[0047]

【発明の効果】以上説明したように、本発明によれば、
修正管理テーブル2を設けて自動パッチ3が修正したと
きに修正適用フラグをPにセットし、正常に立ち上がっ
たときに保証マークをMにセットし、一方、常駐するシ
ステム監視処理41が異常を検出したときに自動リカバ
リ5を起動し、この自動リカバリ5が修正管理テーブル
2を参照して異常のファームウェアを保存しておいた旧
のデータで復元し、自動リカバリを行う構成を採用して
いるため、修正データのバグなどによるシステム停止を
自動的に回避して修正前の状態でシステムを起動し、運
用することができる。これらにより、システム立ち上げ
時のトラブルを回避し、システムの安定稼働を実現でき
ると共に、保守員が復元作業を行う必要がない。
As described above, according to the present invention,
The correction management table 2 is provided to set the correction application flag to P when the automatic patch 3 corrects it, and to set the guarantee mark to M when it starts up normally, while the resident system monitoring process 41 detects an abnormality. When this happens, the automatic recovery 5 is started, and the automatic recovery 5 refers to the correction management table 2 to restore the old data in which the abnormal firmware is stored and to perform automatic recovery. , It is possible to automatically avoid the system stop due to the bug of the correction data and start the system in the state before the correction and operate it. As a result, troubles at system startup can be avoided, stable operation of the system can be realized, and maintenance personnel need not perform restoration work.

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

【図1】本発明の1実施例構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の動作説明フローチャートである。FIG. 2 is a flowchart explaining the operation of the present invention.

【図3】本発明の動作説明フローチャートである。FIG. 3 is a flowchart for explaining the operation of the present invention.

【図4】本発明の修正管理テーブルの遷移例である。FIG. 4 is a transition example of a modification management table of the present invention.

【図5】本発明のリカバリ処理説明図である。FIG. 5 is an explanatory diagram of recovery processing of the present invention.

【図6】従来技術の説明図である。FIG. 6 is an explanatory diagram of a conventional technique.

【符号の説明】[Explanation of symbols]

1:SVP 2:修正管理テーブル 3:自動パッチ 4:ROM 41:システム監視処理 5:自動リカバリ 6:センサレジスタ 1: SVP 2: Correction management table 3: Automatic patch 4: ROM 41: System monitoring process 5: Automatic recovery 6: Sensor register

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ファームウェアの修正データの適用時に自
動リカバリするファームウェア自動リカバリ方式におい
て、 修正データに対応づけて修正適用マークおよび保証マー
クを設定する修正管理テーブル(2)と、 この修正管理テーブル(2)を参照して自動的にパッチ
を行う自動パッチ(3)と、 修正管理テーブル(2)を参照してリカバリを自動的に
行う自動リカバリ(5)とを備え、 電源投入時などに、上記自動パッチ(3)が上記管理修
正テーブル(2)に設定されている修正データをもとに
ファームウェアを修正および旧データを保存すると共に
当該修正データに対応する修正適用マークをオンに設定
した後、ファームウェアをローディングして起動し、正
常のときに該当する保証マークをオンに設定および運用
を開始し、一方、異常のときに上記自動リカバリ(5)
が修正管理テーブル(2)を参照して修正適用マークが
オンで保証マークがオフのファームウェアについて保存
しておいた旧のデータで復元し、旧のファームウェアを
ローディングして起動するように構成したことを特徴と
するファームウェア自動リカバリ方式。
1. In a firmware automatic recovery method for automatically recovering when applying correction data of firmware, a correction management table (2) for setting a correction application mark and a guarantee mark in association with the correction data, and this correction management table (2). ) And an automatic patch (3) for automatically performing a patch and an automatic recovery (5) for automatically performing a recovery by referring to the correction management table (2). After the automatic patch (3) corrects the firmware based on the correction data set in the management correction table (2) and saves the old data and sets the correction application mark corresponding to the correction data to ON, When the firmware is loaded and booted, the appropriate warranty mark is set to ON when normal and the operation is started. In case of abnormality, the above automatic recovery (5)
Configured to restore the old data stored in the firmware for which the fix application mark is on and the warranty mark is off by referring to the fix management table (2) and load the old firmware to start A firmware automatic recovery method featuring.
【請求項2】ROM(4)内にシステムの異常を監視す
るシステム監視処理(41)を常駐させ、当該システム
監視処理(41)が上記異常を検出したときに、上記自
動リカバリ(5)を起動するように構成したことを特徴
とするファームウェア自動リカバリ方式。
2. A system monitoring process (41) for monitoring a system abnormality is resident in a ROM (4), and when the system monitoring process (41) detects the abnormality, the automatic recovery (5) is performed. An automatic firmware recovery method characterized by being configured to start up.
JP04299475A 1992-11-10 1992-11-10 Firmware recovery method Expired - Fee Related JP3102962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04299475A JP3102962B2 (en) 1992-11-10 1992-11-10 Firmware recovery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04299475A JP3102962B2 (en) 1992-11-10 1992-11-10 Firmware recovery method

Publications (2)

Publication Number Publication Date
JPH06149557A true JPH06149557A (en) 1994-05-27
JP3102962B2 JP3102962B2 (en) 2000-10-23

Family

ID=17873059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04299475A Expired - Fee Related JP3102962B2 (en) 1992-11-10 1992-11-10 Firmware recovery method

Country Status (1)

Country Link
JP (1) JP3102962B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09138769A (en) * 1995-11-14 1997-05-27 Mitsubishi Electric Corp System and method for software delivery
JP2010026835A (en) * 2008-07-22 2010-02-04 Hitachi Information Systems Ltd Program distribution processing system, method, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0445463U (en) * 1990-08-22 1992-04-17

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09138769A (en) * 1995-11-14 1997-05-27 Mitsubishi Electric Corp System and method for software delivery
JP2010026835A (en) * 2008-07-22 2010-02-04 Hitachi Information Systems Ltd Program distribution processing system, method, and program

Also Published As

Publication number Publication date
JP3102962B2 (en) 2000-10-23

Similar Documents

Publication Publication Date Title
US20040044890A1 (en) Apparatus and method for protecting failure of computer operating system
WO2019062576A1 (en) Protection method against abnormal power disconnection during system upgrade and terminal device
KR100899582B1 (en) Information processing apparatus, control apparatus therefor, control method therefor and control program
JPH06149557A (en) Automatic firmware recovery system
CN111917576B (en) Storage cluster control method and device, computer readable storage medium and processor
JPH10307726A (en) System for firmware recovery at time of start error
JP2004054616A (en) Information processor with function to automatically restore firmware
JP4708088B2 (en) Failure recovery method and microcomputer
CN114115945A (en) Remote upgrading method for anti-downtime of embedded system
JPS58175198A (en) Data processing device
JP2000163274A (en) Electronic equipment and recording medium with rom data monitoring program recorded thereon
JPH04369735A (en) Backup system for computer system
JPH10105407A (en) Autonomous program fault restoring system
JP3153977B2 (en) Information processing device
JPH04170619A (en) Controller for semiconductor manufacture equipment
JPH1125007A (en) Method for storing/recovering backup data
JPH07129425A (en) Reboot processing method
JPH06180643A (en) Version check system
JPH05151009A (en) Automatic fault recovery system
JPS58195968A (en) Re-execution controlling system
CN115292087A (en) Method, system and device for updating recovery area of baseboard management controller
JPS63276111A (en) Start system for microcomputer applied device
JPS63298455A (en) File replacement method for remote system
CN110874289A (en) System program backup method, device, information processor and storage medium
JPS61226820A (en) Data processing resuming system by power restoration

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: 20000801

LAPS Cancellation because of no payment of annual fees