JP3589830B2 - Electronic computer system - Google Patents

Electronic computer system Download PDF

Info

Publication number
JP3589830B2
JP3589830B2 JP16075497A JP16075497A JP3589830B2 JP 3589830 B2 JP3589830 B2 JP 3589830B2 JP 16075497 A JP16075497 A JP 16075497A JP 16075497 A JP16075497 A JP 16075497A JP 3589830 B2 JP3589830 B2 JP 3589830B2
Authority
JP
Japan
Prior art keywords
program
ipl
machine number
stored
storage means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP16075497A
Other languages
Japanese (ja)
Other versions
JPH1083285A (en
Inventor
裕寿 渋谷
文男 市川
邦夫 矢島
満 花田
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 JP16075497A priority Critical patent/JP3589830B2/en
Publication of JPH1083285A publication Critical patent/JPH1083285A/en
Application granted granted Critical
Publication of JP3589830B2 publication Critical patent/JP3589830B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、電子計算機システムのプログラム等のソフトウエア(ファームウエアを含む)を保守するための技術に関する。
【0002】
近年、電子計算機システムの普及が著しく、これに使用されるソフトウエアは非常に複雑且つ大規模になってきている。このような状況の中で、ソフトウエアの障害が発生することも多く、ソフトウエアの改版等の保守に要する作業工数や費用も増えてきており、その高効率化が要望されている。
【0003】
【従来の技術】
電子計算機システムにおいては、電子計算機システムが備える外部記憶装置(例えば、磁気ディスク装置)にインストールされたプログラムのバグの修正や機能の追加等に伴い、改版(バージョンアップ)作業が必要となる。この改版作業は、プログラム全体を一括的に従前のプログラムと置き換えることにより行われる場合がある。
【0004】
しかし、プログラムの規模は前述の通り日々増大しているので、改版作業の効率化のため、インストールされたプログラムに必要な修正を加える修正プログラム(修正データ)を該電子計算機システム上で実行することにより行われる場合がある。
【0005】
改版前のプログラムから該修正プログラムにより修正された改版後のプログラムへの切り換えは、電子計算機システムの運用状況に応じてその運用に支障がない時間帯に保守作業員が手作業により行っている。
【0006】
改版前のプログラムは、改版後のプログラムの検証(信頼性の確認作業)が必ずしも万全とはいえないため、電子計算機システムが備える外部記憶装置にそのまま残存させておき、改版後のプログラムに障害が発生した場合には、速やかに改版前のプログラムに切り換えることができるようにしておき、電子計算機システムの運転の継続を確保している。障害発生時における改版後のプログラムから改版前のプログラムへの変更作業も、保守作業員により手作業により行われている。
【0007】
改版前のプログラムは、改版後のプログラムによる運転が一定期間以上、支障なくなされ、あるいは改版後のプログラムの検証作業が十分に行われた後に、保守作業員により削除される。
【0008】
【発明が解決しようとする課題】
このように、プログラムの改版、改版後のプログラムへの切り換え、障害発生時の改版前のプログラムへの変更等は、保守作業員が現地(保守対象の電子計算機システムの設置されている場所)に出向いて手作業により行われているのが現状である。
【0009】
従って、これらのプログラムの改版、改版後のプログラムへの切り換え、障害発生時の改版前のプログラムへの変更に要する作業時間は非常に長時間であるとともに、保守作業員の負担が大きく、非常に非効率的であった。
【0010】
よって、本発明の目的は、電子計算機システムのプログラムの改版に伴う処理又は作業の高効率化を図ることである。
【0011】
【課題を解決するための手段】
本発明の一つの側面によると、プログラム実行手段と、プログラムが記憶される第1プログラム記憶手段と、前記第1プログラム記憶手段に記憶されるプログラムの版数と同一又は異なる版数のプログラムが記憶される第2プログラム記憶手段と、切換期間が記憶される切換期間記憶手段と、前記第1及び第2プログラム記憶手段の中で運用系としてのプログラムを記憶する記憶手段を特定するIPL機番を記憶する現IPL機番記憶手段と、前記第1及び第2プログラム記憶手段の中で運用系としてのプログラム又は次運用系としてのプログラムを記憶する記憶手段を特定するIPL機番を記憶する次IPL機番記憶手段と、現在の日時を検出する時計手段と、前記時計手段による日時が前記切換期間記憶手段の前記切換期間中でない場合又は前記現IPL機番記憶手段に記憶されたIPL機番と前記次IPL機番記憶手段に記憶されたIPL機番が同一である場合には前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとし、前記時計手段による日時が前記切換期間記憶手段の前記切換期間中であり且つ前記現IPL機番記憶手段に記憶されたIPL機番と前記次IPL機番記憶手段に記憶されたIPL機番が同一でない場合には前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとする切換処理を行う切換手段と、前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに記憶されたプログラムについてのエラーの存在を検出するエラー検出手段とを備え、前記切換手段は、前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のプログラムを前記プログラム実行手段が実行するプログラムとした後に、前記エラー検出手段によりエラーの存在が検出された場合には、前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとするとともに前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを廃棄し、前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに複写するようにした電子計算機システムが提供される。
【0012】
本発明が適用された電子計算機システムによると、切換期間記憶手段に記憶された切換期間内か否に応じて、切換手段により第1プログラム記憶手段又は第2プログラム記憶手段のプログラムを選択的にプログラム実行手段に実行させるようにしたから、保守作業員がプログラムの改版作業を行った後、切換作業を行う必要が無くなり、作業負担を軽減でき、プログラムの改版に伴う作業の高効率化を図ることができる。
【0017】
本発明のさらに他の側面によると、現在の日時を検出する時計手段として機能させるための時計プログラムと、前記時計手段による日時が切換期間記憶手段に記憶された切換期間が示す切換期間中でない場合、又はプログラムが記憶された第1プログラム記憶手段及び前記第1プログラム記憶手段に記憶されるプログラムの版数と同一又は異なる版数のプログラムが記憶される第2プログラム記憶手段の中で運用系としてのプログラムを記憶する記憶手段を特定するIPL機番を記憶する現IPL機番記憶手段に記憶されたIPL機番と前記第1及び第2プログラム記憶手段の中で運用系としてのプログラム又は次運用系としてのプログラムを記憶する記憶手段を特定するIPL機番を記憶する次IPL機番記憶手段に記憶されたIPL機番が同一である場合には前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを実行するプログラムとし、前記時計手段による日時が前記切換期間中であり且つ前記現IPL機番記憶手段に記憶されたIPL機番と前記次IPL機番記憶手段に記憶されたIPL機番が同一でない場合には前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを実行するプログラムとする切換処理を行う切換手段として機能させるための切換プログラムと、前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに記憶されたプログラムについてのエラーの存在を検出するエラー検出手段として機能させるためのエラー検出プログラムとを記憶し、前記切換プログラムは、前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとした後に、前記エラー検出手段によりエラーの存在が検出された場合には、前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとするとともに前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに記憶されたプログラムを廃棄し、前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに複写する手段として機能させるためのプログラムを含むコンピュータ読み取り可能な記憶媒体が提供される。
【0018】
本発明の記憶媒体に記憶された電子計算機システム用の保守プログラムを電子計算機システムにおいて実行すると、切換期間記憶手段に記憶された切換期間内か否かに応じて、切換プログラムにより第1プログラム記憶手段又は第2プログラム記憶手段のプログラムを選択的に実行プログラムに実行させるようにしたから、保守作業員がプログラムの改版作業を行った後、切換作業を行う必要が無くなり、作業負担を軽減でき、プログラムの改版に伴う作業の高効率化を図ることができる。
【0019】
本発明のさらに他の側面によると、複数の一般ユーザ端末と、前記一般ユーザ端末に通信回線を介して接続された該一般ユーザ端末を遠隔保守する保守センタとを備えた遠隔保守システム(電子計算機システム)に適用される遠隔保守プログラムであって、前記一般ユーザ端末が実行するプログラムの改版内容を示す修正データが記憶された修正データ記憶手段、及び前記修正データ記憶手段の修正データを前記一般ユーザ端末に転送する転送手段とを有する保守センタ用プログラムと、運用系及び待機系としての同一内容の二以上のプログラムが記憶されるプログラム記憶手段、及び前記保守センタから転送された前記修正データに従って待機系としてのプログラムを改版する適用処理を行う適用手段とを有する一般ユーザ端末用プログラムと、を備えた遠隔保守プログラムを記憶した記憶媒体が提供される。
【0020】
本発明の記憶媒体に記憶された遠隔保守プログラムを遠隔保守システム(電子計算機システム)において実行すると、保守センタから修正データを一般ユーザ端末に転送し、これを受けた一般ユーザ端末の適用手段が待機系としてのプログラムを該修正データに従って自動的に改版するようにしたから、保守作業員が現地に赴いてプログラムの改版作業を行う必要が無くなり、保守作業員の作業負担を軽減でき、プログラムの改版に伴う作業の高効率化を図ることができる。
【0021】
【発明の実施の形態】
以下、本発明の実施の形態を図面に基づいて説明することにする。
[第1の実施の形態]
図1は本発明の第1の実施の形態の電子計算機システムの概略構成を示すブロック図である。
【0022】
この電子計算機システムは、プログラム実行手段としての中央演算装置(CPU)11、主記憶装置(MEM)12、ブートロム(ROM)13、及び外部記憶装置(プログラム記憶手段)14を備えている。ブートロム13には切換手段の機能を実現するためのプログラムを含むプログラムが記憶されている。
【0023】
この電子計算機システムは、さらに、切換期間(切換開始日時、切換終了日時)が記憶される切換期間記憶部(切換期間記憶手段)15、現在の日時を検出する時計回路(時計手段)16、現IPL機番記憶部17、及び次IPL機番記憶部18を備えている。
【0024】
外部記憶装置14は、中央演算装置11により実行される同一又は異なる版数の二つのプログラム(データを含む)が記憶される第1プログラム領域14a及び第2プログラム領域14bを有している。
【0025】
中央演算装置11は、これらの第1プログラム領域14a及び第2プログラム領域14bの一方を運用系とし、他方を予備系として、運用系に障害が発生した場合には予備系に切り換えて実行する。
【0026】
第1プログラム領域14a及び第2プログラム領域14bを識別するため、第1プログラム領域14aにはIPL機番0が、第2プログラム領域14bにはIPL機番1が付与されている。
【0027】
現IPL機番記憶部17及び次IPL機番記憶部18には運用系としてのプログラム領域に対応したIPL機番(この場合はIPL機番1とする)が記憶されている。
【0028】
保守作業員がプログラムの改版作業を行う場合には、第1及び第2プログラム領域14a、14bのうちの予備系として使用している方(この場合は、第1プログラム領域14aとする)に対して、改版後のプログラムをインストールし、あるいは修正プログラムを実行することにより、改版を行う。
【0029】
次いで、切換期間記憶部15に切換期間を記憶せしめるとともに、次IPL機番記憶部18に改版作業を行った第1プログラム領域14aのIPL機番(この場合はIPL機番0)を記憶せしめる。現IPL機番記憶部17には第2プログラム領域14bのIPL機番1が記憶されたままである。
【0030】
ブートロム13には、IPL(イニシャル・プログラム・ロード)処理を行うためのプログラムが記憶されている。中央演算装置11はこのブートロム13のプログラムを実行することにより、図2に示されるようなIPL処理を行う。
【0031】
即ち、IPL処理が起動されると(ステップ「以下STと略す」1)、時計回路16により検出された現在の日時が切換期間記憶部15に記憶された切換期間内か否かを判断する(ST2)。
【0032】
ST2において、時計回路16により検出された現在の日時が切換期間記憶部15に記憶された切換期間内である場合には、現IPL機番記憶部17のIPL機番と次IPL機番記憶部18のIPL機番が同一か否かを判断する(ST3)。
【0033】
ST3において、現IPL機番記憶部17のIPL機番と次IPL機番記憶部18のIPL機番が同一でない場合には、次IPL機番記憶部18に記憶されたIPL機番(この場合はIPL機番0)に対応する外部記憶装置14の領域(この場合は第1プログラム領域14a)のプログラムを主記憶装置12にローディングし(ST4)、切換期間記憶部15の切換期間を初期化し(ST5)、次の処理(ローディングしたプログラムの実行等)を行う(ST6)。
【0034】
ST2において、時計回路16により検出された現在の日時が切換期間記憶部15に記憶された切換期間内でない場合、及びST3において、現IPL機番記憶部17のIPL機番と次IPL機番記憶部18のIPL機番が同一である場合には、現IPL機番記憶部17に記憶されたIPL機番(この場合はIPL機番1)に対応する外部記憶装置14の領域(この場合は第2プログラム領域14b)のプログラムを主記憶装置12にローディングし(ST7)、ST6を実行する。
【0035】
この実施の形態によると、保守作業員はプログラムの改版作業後、前記所定の設定作業(切換期間及びIPL機番の設定)を行うことにより、改版後のプログラムへの切り換えを自動的に行うようにしたから、改版後のプログラムへの切換作業を保守作業員が行う必要が無く、保守作業員の作業負担が少ない。
【0036】
[第2の実施の形態]
図3は本発明の第2の実施の形態の電子計算機システムの概略構成を示すブロック図である。前記第1の実施の形態と実質的に同一の構成部分については同一の番号を付してその説明の一部を省略する。
【0037】
この第2の実施の形態の電子計算機システムは、前記第1の実施の形態の構成に加えて、エラー検出部19を備えている。エラー検出部19は、現IPL機番及び次IPL機番に対応してエラー状態フラグ(初期状態はオフ「OFF」とする)を有している。エラー検出部19は、外部記憶装置14からプログラムが主記憶装置12にローディングされる際に、該プログラムをチェックし、該プログラムにエラーが存在する場合に、エラー状態フラグをオン「ON」とする。
【0038】
この第2の実施の形態では、中央演算装置11はブートロム13のプログラムを実行することにより、図4に示されるようなIPL処理を行う。
即ち、IPL処理が起動されると(ステップ1)、時計回路16により検出された現在の日時が切換期間記憶部15に記憶された切換期間内か否かを判断する(ST2)。
【0039】
ST2において、時計回路16により検出された現在の日時が切換期間記憶部15に記憶された切換期間内である場合には、現IPL機番記憶部17のIPL機番と次IPL機番記憶部18のIPL機番が同一か否かを判断する(ST3)。
【0040】
ST3において、現IPL機番記憶部17のIPL機番と次IPL機番記憶部18のIPL機番が同一でない場合には、次IPL機番記憶部18に記憶されたIPL機番(この場合はIPL機番0)に対応する外部記憶装置14の領域(この場合は第1プログラム領域14a)のプログラムを主記憶装置12にローディングする(ST4)。
【0041】
このローディング処理中に、エラーの存在が検出されると(ST5)、プログラム割り込みが発生し、エラー検出部19の次IPL機番に対応するエラー状態フラグがオン「ON」とされるから、エラー検出部19の内容を調べ(ST6)、エラー状態フラグがオフ「OFF」となっている現IPL機番記憶部17に記憶されたIPL機番(この場合はIPL機番1)に対応する外部記憶装置14の領域(この場合は第2プログラム領域14b)のプログラムを主記憶装置12に再ローディングする(ST7)。
【0042】
次いで、現IPL機番記憶部17のIPL機番を次IPL機番記憶部18に複写し(ST8)、次の処理へ進む(ST9)。
ST2において、時計回路16により検出された現在の日時が切換期間記憶部15に記憶された切換期間内でない場合、及びST3において、現IPL機番記憶部17のIPL機番と次IPL機番記憶部18のIPL機番が同一である場合には、現IPL機番記憶部17に記憶されたIPL機番(この場合はIPL機番1)に対応する外部記憶装置14の領域(この場合は第2プログラム領域14b)のプログラムを主記憶装置12にローディングし(ST10)、ST9を実行する。ST5において、エラーの存在が検出されなかった場合にはST9を実行する。
【0043】
この実施の形態によると、改版後のプログラムにエラーが存在することが検出された場合には、改版前のプログラムへ自動的に戻すようにしたから、保守作業員が速やかに対応できないような場合であっても電子計算機システムの運転を継続することができる。
【0044】
[第3の実施の形態]
図5は本発明の第3の実施の形態の電子計算機システムの概略構成を示すブロック図である。前記第1及び第2の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0045】
この第3の実施の形態の電子計算機システムは、前記第1の実施の形態の構成に加えて、保証期間が記憶される保証期間記憶部(保証期間記憶手段)20、及び保証期間監視部21を備えている。
【0046】
保証期間記憶部20は、ソフトウエア論理番号に対応して、状態フラグ、保証期間(保存日数)及び版数が設定されてなるテーブルであり、保守作業員がプログラムの改版作業を行った後、保守作業員によって設定される。保証期間は、改版前のプログラムから改版後のプログラムへ切り換えた後、改版前のプログラムを残存させておくべき期間(日数)である。
【0047】
保証期間監視部21は、改版前のプログラムから改版後のプログラムへ切り換えられてからの日数を検出して、保証期間記憶部20の保証期間内であるか否かを判断し、保証期間が経過した場合に、外部記憶装置14の改版前のプログラムが記憶された領域14a又は14bに改版後のプログラムの内容を複写する。
【0048】
この第3の実施の形態では、中央演算装置11はブートロム13のプログラムを実行することにより、図6に示されるような処理を含むIPL処理を行う。
即ち、IPL処理の起動に伴いパトロール機能が起動され(ステップ1)、現在が保証期間記憶部20の保証期間内か否かが判断される(ST2)。ST2において、保証期間内である場合には、改版前のプログラムが記憶されたIPL機番1に対応する第2プログラム領域14bのプログラムへの変更禁止を設定し(ST3)、保証期間から「1」を減算する(ST4)。ST4の処理は1日に1回のみ行われる。
【0049】
次いで、保証期間が「0」に等しくなっているか否かを判断し(ST5)、保証期間が「0」に等しくない場合には、ST1に戻り、保証期間が「0」に等しい場合には、改版前のプログラムが記憶されたIPL機番1に対応する第2プログラム領域14bに、改版後のプログラムが記憶されたIPL機番0に対応する第1プログラム領域14aの内容を複写し(ST6)、変更禁止状態を解除して(ST7)、この処理を終了する(ST8)。ST2において、保証期間内でない場合にも、この処理を終了する(ST8)。
【0050】
この実施の形態によると、保守作業員はプログラムの改版作業後、保証期間を設定することにより、改版後のプログラムへの切り換えの後保証期間が経過するまでは、改版前のプログラムを残存させておくようにしたから、必要に応じて改版前のプログラムに速やかに切り換えることができる。
【0051】
また、保証期間の経過後は、改版後のプログラムの検証が十分に行われたものとして、改版後のプログラムを改版前のプログラムに上書きするかたちで自動的に複写するようにしており、これらの作業を保守作業員が行う必要が無く、保守作業員の作業負担を軽減することができる。
【0052】
[第4の実施の形態]
図7は本発明の第4の実施の形態の電子計算機システムの概略構成を示すブロック図である。前記第1乃至第3の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0053】
この第4の実施の形態の電子計算機システムは、前記第3の実施の形態の構成に加えて、切換スイッチ22を備えている。この切換スイッチ22は、外部記憶装置14の第1及び第2プログラム領域14a、14bのいずれのプログラムを主記憶装置12にローディングするかを保守作業員が強制的に設定する手段である。
【0054】
この切換スイッチ22がオン「ON」とされた場合の処理が図8に示されている。即ち、切換スイッチ22がオンされたことを検出すると(ST1)、現在が保証期間記憶部20の保証期間内か否かが判断される(ST2)。
【0055】
ST2において、保証期間内である場合には、現IPL機番記憶部17のIPL機番と次IPL機番記憶部18のIPL機番とを比較し(ST3)、同一でない場合には、保証期間記憶部20の保証期間をクリアするとともに(ST4)、保証期間監視部21による処理を解除し、この処理を終了する(ST5)。
【0056】
ST2において、保証期間内でない場合、及びST3において、現IPL機番記憶部17のIPL機番と次IPL機番記憶部18のIPL機番とが同一である場合にも、この処理を終了する。
【0057】
この実施の形態によると、改版後のプログラムに切り換えた後に、改版後のプログラムに障害の発生が検出された場合やその他の必要な場合に、保守作業員が切換スイッチ22をオンとすることにより、実行するプログラムを改版前のプログラムに切り換えるとともに、保証期間経過後に実施する改版前のプログラムに対する改版後のプログラムの自動複写を停止するようにしている。
【0058】
なお、切換スイッチ22は初期設定はオフ「OFF」となっており、切換スイッチ22がオフの場合の処理は、前記第3の実施の形態と同様である。
[第5の実施の形態]
図9は本発明の第5の実施の形態の電子計算機システムの概略構成を示すブロック図である。前記第1乃至第4の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0059】
この第5の実施の形態の電子計算機システムは、前記第3の実施の形態の構成に加えて、診断部(診断手段)23を備えている。この診断部23は、中央演算装置11によるプログラムの実行中に、障害の発生を検出した場合に、該障害が該プログラムに起因するものであるか否かを診断する。
【0060】
中央演算装置11による改版後のプログラムの実行中に、障害の発生を検出した場合の処理が図10に示されている。即ち、装置障害が発生したことが検出されると(ST1)、ダンプファイルを解析するとともに、ソフトエラーコードを解析する(ST2)。
【0061】
次いで、障害発生の原因が実行中のプログラムに起因するものであるか否かを判断する(ST3)。ST3において、障害発生の原因が実行中のプログラムに起因するものである場合には、改版前のプログラムのローディング・実行に切り換え(ST4)、保証期間記憶部20の保証期間をクリアするとともに(ST5)、保証期間監視部21による処理を解除し、この処理を終了する(ST6)。
【0062】
ST3において、障害発生の原因が実行中のプログラムに起因するものでない場合にも、この処理を終了する(ST6)。
この実施の形態によると、改版後のプログラムに切り換えた後に、改版後のプログラムの実行中に障害の発生が検出され、この障害の発生の原因が実行中のプログラムに起因する場合には、改版前のプログラムに切り換えるとともに、保証期間経過後に実施する改版前のプログラムに対する改版後のプログラムの自動複写を停止するようにしている。
【0063】
従って、改版作業後における改版後のプログラムの実行中に該プログラムに起因する障害が発生した場合に、保守作業員による速やかな対応無しに、改版前のプログラムによる運転を継続することができる。
【0064】
[第6の実施の形態]
図11は本発明の第6の実施の形態の電子計算機システムの概略構成を示すブロック図である。前記第1乃至第5の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0065】
この第6の実施の形態の電子計算機システムは、前記第1の実施の形態の構成に加えて、修正データ記憶部(修正データ記憶手段)24、改版・修正機能部(適用手段)25、及び瞬断検出部26を備えている。
【0066】
修正データ記憶部24には、外部記憶装置14に記憶されたプログラム(第1プログラム領域14a又は第2プログラム領域14bのプログラム)の改版に必要なデータ又はプログラムである修正データが記憶される。修正データは保守作業員によってこの修正データ記憶部24に改版作業前に格納される。
【0067】
改版・修正機能部25は、保守作業員の指示に応じて修正データ記憶部24の修正データに従って、外部記憶装置14の第1プログラム領域14a又は第2プログラム領域14bのプログラムを改版する処理である適用処理を行う。
【0068】
瞬断検出部26は、改版・修正機能部25よる適用処理を実行中における、電源の瞬断の発生の有無を検出する。
適用処理を実施中に電源の瞬断が発生した場合の処理が図12に示されている。まず、プログラムの改版・修正処理が開始されると(ST1)、改版対象としてのプログラムを構成するファイルについての更新状態フラグをオン「ON」とし(ST2)、プログラムの改版に伴う必要なファイルの更新処理を実施する(ST3)。
【0069】
更新処理後、更新状態フラグをオフ「OFF」として(ST4)、この処理を終了する(ST5)。ファイルの更新処理中(ST3)に、電源の瞬断が発生すると、更新中のファイルについての更新状態フラグはオンのままとなる。
【0070】
適用処理を実施中に電源の瞬断が発生した後の再起動時の処理が図13に示されている。瞬断後に再起動されると(ST1)、初期化処理を行い(ST2)、プログラムを構成するファイルについての更新状態フラグを参照して、該ファイルが更新中か否かを判断する(ST3)。ST3において、ファイルの更新中である場合には、外部記憶装置14の改版中のプログラムが記憶された第1又は第2プログラム領域14a、14bに、改版前のプログラムを複写し(ST4)、この処理を終了する(ST5)。ST3において、ファイルの更新中でない場合には、この処理を終了する(ST5)。
【0071】
この実施の形態によると、修正データ記憶部24及び改版・修正機能部25により改版作業を自動的に行うようにしたから、保守作業員の作業負担を軽減することができる。また、プログラムの改版処理中における電源の瞬断の発生の有無を、再起動時に状態更新フラグを参照することにより認識し、改版処理中に電源の瞬断が発生した場合には、改版前のプログラムを改版中のプログラムに上書きするかたちで複写するようにしているから、プログラムの改版の信頼性を向上することができる。
【0072】
[第7の実施の形態]
図14は本発明の第7の実施の形態の遠隔保守システムの構成を示す図である。この遠隔保守システムは、保守対象の電子計算機システムとしての複数の一般ユーザ端末31、保守センタ32、開発システム33、及び検証システム(検証装置)34を備えている。一般ユーザ端末31は前記第1乃至第6の実施の形態の電子計算機システムと同様の構成を有している。
【0073】
複数の一般ユーザ端末31と保守センタ32とは通信回線を介して互いに接続されている。保守センタ32は、複数の一般ユーザ端末31を集中的に遠隔保守する装置である。
【0074】
開発システム33は、一般ユーザ端末31が実行するプログラムの改版内容を示す修正データの開発を行うシステムである。開発された修正データは、開発システム33において、一応の検証がなされ、フロッピーディスク等の媒体35を介して保守センタ32に送られ、登録される。開発システム33と保守センタ32を通信回線を介して接続し、開発された修正データを該通信回線を介して、転送・登録するようにしても良い。
【0075】
検証システム34は、一般ユーザ端末31と同一の条件で、修正データに基づき一般ユーザ端末31が実行するプログラムを改版する処理である適用処理を行い、プログラム内のバグの存在、一般ユーザ端末31との整合性等の信頼性について検査を行い、合否を認定するシステムである。保守センタ32と検証システム34とは通信回線を介して互いに接続されている。
【0076】
保守センタ32は、修正データ記憶部(修正データ記憶手段)32a、及び図示しない転送部(転送手段)を備えている。
開発システム33で作成された修正データは、保守センタ32の修正データ記憶部32aに登録される。この修正データ記憶部32aには、複数の修正データを登録することができ、登録された各修正データの識別(P−NO)に対応して、修正データの転送先を示す転送レベルを設定することができる。
【0077】
転送レベルは、一般ユーザ端末31への転送を示す「一般」及び検証システムへの転送を示す「検証」の二種類があり、開発システム33で開発された修正データが保守センタ32に初めて登録されたときには、「検証」が設定される。
【0078】
修正データ記憶部32aに登録された修正データは、転送部により、該当する転送レベルに応じて一般ユーザ端末31又は検証システム34に転送される。
修正データが転送された検証システム34においては、一般ユーザ端末31で実行されるのと同様に一般ユーザ端末31が実行するプログラムについて、該修正データに基づき適用処理を行い、改版されたプログラムの検証を行う。検証の結果(「良好」又は「不良」)は、保守センタ32に通知される。
【0079】
保守センタ32では、検証システム34からの検証結果が「良好」の場合には、該修正データに対応する転送レベルを「転送」から「一般」に変更する。検証システム34による検証結果が「不良」の場合には、開発システム33にその旨が通知される。
【0080】
一般ユーザ端末31は、運用系及び待機系としての同一内容の二以上のプログラムが記憶される記憶領域を有する磁気ディスク装置等の外部記憶装置(プログラム記憶手段)、保守センタ32から転送された修正データに従って待機系としてのプログラムについて適用処理を行う適用部(適用手段)、及び運用系から待機系へ切り換える切換処理を実行する切換部(切換手段)を有している。
【0081】
一般ユーザ端末31においては、保守センタ32から修正データの転送を受けると、適用部が外部記憶装置の待機系としてのプログラムを該修正データに従って改版する。
【0082】
この実施の形態によると、一般ユーザ端末31が実行するプログラムの改版のために必要な修正データは開発システム33で作成された後、保守センタ32に登録され、この保守センタ32から一般ユーザ端末31に転送されて、一般ユーザ端末32の適用部が適用処理を行うようにしたから、保守作業員は保守センタ32において、複数の一般ユーザ端末31に対して、集中的に改版作業を行うことができ、改版作業の高効率化が図れる。
【0083】
また、修正データは保守センタ32の修正データ記憶部32aに登録されたときには、その転送レベルは「検証」となっており、検証システム34に転送されて検証された後に、転送レベルを「一般」に変更して、転送レベルが「一般」の修正データのみを一般ユーザ端末31に転送するようにしたから、修正データの信頼性が高く、修正データにバグ等が存在することによる一般ユーザ端末31のシステムダウンを防止することができる。
【0084】
[第8の実施の形態]
図15は本発明の第8の実施の形態の遠隔保守システムの構成を示す図である。前記第7の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0085】
この第8の実施の形態の遠隔保守システムの保守センタ32は、期間記憶部(期間記憶手段)32bを有している。この期間記憶部32bには、一般ユーザ端末31が実行するプログラムについて改版処理を行った場合の改版前のプログラム(運用系のプログラム)から改版後のプログラム(予備系のプログラム)への切換期間(切換開始日時、切換終了日時)、及び改版後のプログラム(予備系のプログラム)に切り換えた後の改版前のプログラムを残存させておくべき日数である保証期間を含む切換情報が記憶される。
【0086】
これらの切換期間及び保証期間を含む切換情報は、一般ユーザ端末31は自動運転スケジュール情報(P−ON[パワーオン]時間、OS−IPL時間、OS−STOP時間、P−OFF[パワーオフ]時間等)を有しているので、保守センタ32はこの自動運転スケジュール情報の転送を受けて、この自動運転スケジュール情報を参照して、各一般ユーザ端末31毎に自動的に決定され、期間記憶部32bに設定される。
【0087】
これらの切換期間及び保証期間を含む切換情報は、保守センタ32の転送部により修正データが一般ユーザ端末31に転送される際に、これに随伴して転送される。
【0088】
一般ユーザ端末31においては、適用部による予備系のプログラムに対する適用処理の後、保守センタ32からの切換情報に含まれる切換期間に従って、運用系のプログラム(改版前のプログラム)から待機系のプログラム(改版後のプログラム)への切り換えを行うとともに、この切換処理から保守センタ32からの切換情報に含まれる保証期間が経過した後に、待機系としてのプログラム(改版前のプログラム)に運用系としてのプログラム(改版後のプログラム)を上書きすることにより待機系としてのプログラムの改版を行う。
【0089】
運用系から待機系に切り換えた後、保守センタ32からの保証期間内に、運用系についてのプログラムにエラーが存在することが検出された場合には、運用系から待機系にさらに切り換えることにより改版前のプログラムを実行する。
【0090】
この実施の形態によると、保守センタ32により一般ユーザ端末31のプログラムの改版処理、改版処理後の改版後のプログラムへの切換処理、改版前のプログラムに対する改版後のプログラムの複写処理、改版後のプログラムにエラーが発生した場合の改版前のプログラムへの切換処理等を全て自動的に行うようにしたから、保守作業員の作業負担は殆ど無くなる。
【0091】
[第9の実施の形態]
図16は本発明の第9の実施の形態の遠隔保守システムの構成を示す図である。前記第7及び第8の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0092】
この第9の実施の形態の遠隔保守システムにおいては、一般ユーザ端末31は適用部による外部記憶装置の待機系としてのプログラムの改版処理が完了した後に、一般ユーザ端末31は、プログラムの改版が完了した旨及び改版に使用した修正データの適用リスト(P−NOのメンバ一覧)を、保守センタ32に通知するようにしている。
【0093】
この通知を受けた保守センタ32は、保守センタ32が有する保守員用端末36のディスプレイ(表示手段)にプログラムの改版が完了した旨及び適用リストを表示するとともに、保守作業員が所持するポケットベルに対して自動発信する。保守作業員はポケットベルの鳴動によりあるいは保守端末の表示によりプログラムの改版が完了したことを認識し、保守員用端末36に表示された適用リストを参照する。
【0094】
[第10の実施の形態]
図17は本発明の第10の実施の形態の遠隔保守システムの構成を示す図である。前記第7乃至第9の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0095】
この第10の実施の形態の遠隔保守システムにおいては、一般ユーザ端末31は、切換部が運用系から待機系に切換処理を実施した後、運用系から待機系に切換処理を実施した旨を含む切換結果を、保守センタ32に通知するようにしている。
【0096】
この通知を受けた保守センタ32は、保守センタ32が有する保守員用端末36のディスプレイ(表示手段)に該切換結果を表示するとともに、保守作業員が所持するポケットベルに対して自動発信する。保守作業員はポケットベルの鳴動によりあるいは保守員用端末36の表示によりプログラムの切換が完了したことを認識し、保守員用端末36に表示された切換結果を参照する。
【0097】
[第11の実施の形態]
図18は本発明の第11の実施の形態の遠隔保守システムの構成を示す図である。前記第7乃至第10の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0098】
この第11の実施の形態の遠隔保守システムにおいては、保守センタ32は切換期間内に一般ユーザ端末31から前記第10の実施の形態における切換結果の通知が無かった場合には、コールバック接続により該切換結果の通知が無かった一般ユーザ端末31に接続し、プログラムの切換指示を出すようにしている。
【0099】
この切換指示を受信した一般ユーザ端末31は、ホストCPUが停止状態である場合には運用系から待機系へ即時に切換処理を行う。一般ユーザ端末31は、ホストCPUが動作中の場合には、保守センタ32に対して切換不可を通知する。
【0100】
一般ユーザ端末31から切換不可を通知された保守センタ33は、保守センタが保持している該一般ユーザ端末31についての自動運転スケジュール情報からOS−STOP時間を参照し、その時間に再度コールバック接続により、該一般ユーザ端末31に接続し、切換指示を行う。一般ユーザ端末31は、この場合にはホストCPUは停止中であるから、運用系から待機系へ即時に切換処理を行う。
【0101】
一般ユーザ端末31は、保守センタ32から切換指示を受信したときに、ホストCPUが動作中の場合には、保守センタ32に対して切換不可を通知し又は通知せずに、一般ユーザ端末31のホストCPUが停止状態になったときに自動的に切換処理を行うようにしても良い。
【0102】
[第12の実施の形態]
図19は本発明の第12の実施の形態の遠隔保守システムの構成を示す図である。前記第7乃至第11の実施の形態と実質的に同一の構成部分については同一の番号を付し、その説明の一部を省略する。
【0103】
この第12の実施の形態の遠隔保守システムにおいては、一般ユーザ端末31は、保守センタ32から転送された切換情報の保証期間をチェックする機能を有し、該保証期間が経過した時に、一般ユーザ端末31から保守センタ32に接続し、保守センタ32に対して修正データの転送を要求するようにしている。修正データの送信要求を受信した保守センタは修正データを該一般ユーザ端末31に転送する。
【0104】
【発明の効果】
本発明は以上説明したように構成したので、プログラムの改版、改版後のプログラムへの切換、障害発生時の改版前のプログラムへの変更、その他の作業についての保守作業員の負担を大幅に軽減することができ、プログラムの改版に伴う作業又は処理の高効率化を図れるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態の電子計算機システムの概略構成を示すブロック図である。
【図2】本発明の第1の実施の形態の電子計算機システムの処理を示すフローチャートである。
【図3】本発明の第2の実施の形態の電子計算機システムの概略構成を示すブロック図である。
【図4】本発明の第2の実施の形態の電子計算機システムの処理を示すフローチャートである。
【図5】本発明の第3の実施の形態の電子計算機システムの概略構成を示すブロック図である。
【図6】本発明の第3の実施の形態の電子計算機システムの処理を示すフローチャートである。
【図7】本発明の第4の実施の形態の電子計算機システムの概略構成を示すブロック図である。
【図8】本発明の第4の実施の形態の電子計算機システムの処理を示すフローチャートである。
【図9】本発明の第5の実施の形態の電子計算機システムの概略構成を示すブロック図である。
【図10】本発明の第5の実施の形態の電子計算機システムの処理を示すフローチャートである。
【図11】本発明の第6の実施の形態の電子計算機システムの概略構成を示すブロック図である。
【図12】本発明の第6の実施の形態の電子計算機システムの改版処理時の処理を示すフローチャートである。
【図13】本発明の第6の実施の形態の電子計算機システムの電源瞬断後の再起動時の処理を示すフローチャートである。
【図14】本発明の第7の実施の形態の遠隔保守システムの概略構成を示す図である。
【図15】本発明の第8の実施の形態の遠隔保守システムの概略構成を示す図である。
【図16】本発明の第9の実施の形態の遠隔保守システムの概略構成を示す図である。
【図17】本発明の第10の実施の形態の遠隔保守システムの概略構成を示す図である。
【図18】本発明の第11の実施の形態の遠隔保守システムの概略構成を示す図である。
【図19】本発明の第12の実施の形態の遠隔保守システムの概略構成を示す図である。
【符号の説明】
11 中央演算装置(CPU)
12 主記憶装置(MEM)
13 ブートロム(ROM)
14 外部記憶装置
15 切換期間記憶部
16 時計回路
17 現IPL機番記憶部
18 次IPL機番記憶部
19 エラー検出部
20 保証期間記憶部
21 保証期間監視部
22 切換スイッチ
23 診断部
24 修正データ記憶部
25 改版・修正機能部
26 瞬断検出部
31 一般ユーザ端末(電子計算機システム)
32 保守センタ
33 開発システム
34 検証システム
36 保守員用端末
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a technique for maintaining software (including firmware) such as a computer system program.
[0002]
2. Description of the Related Art In recent years, the spread of computer systems has been remarkable, and the software used for them has become very complicated and large-scale. Under such circumstances, software failures often occur, and the number of man-hours and costs required for maintenance such as software revisions are increasing, and higher efficiency is required.
[0003]
[Prior art]
In computer systems, revisions (version upgrades) are required to correct bugs and add functions to programs installed in external storage devices (for example, magnetic disk devices) provided in the computer systems. This revision work may be performed by replacing the entire program with a previous program at once.
[0004]
However, since the scale of the program is increasing day by day as described above, a correction program (correction data) for making necessary corrections to the installed program must be executed on the computer system in order to increase the efficiency of the revision work. It may be performed by.
[0005]
The switching from the program before the revision to the program after the revision modified by the modification program is manually performed by a maintenance worker during a time period in which the operation of the computer system is not hindered in accordance with the operation status.
[0006]
Since the verification of the program before the revision (confirmation of reliability) is not always thorough, the program before the revision must remain in the external storage device of the computer system, and if the program after the revision fails, When this occurs, the program can be promptly switched to the program before the revision, and the continuation of the operation of the computer system is ensured. In the event of a failure, the work of changing the program after the revision to the program before the revision is also performed manually by a maintenance worker.
[0007]
The program before the revision is deleted by the maintenance worker after the operation of the program after the revision has been performed without any trouble for a certain period of time or after the verification work of the program after the revision has been sufficiently performed.
[0008]
[Problems to be solved by the invention]
As described above, when a program is revised, the program is switched to the program after the revision, or the program is changed to the program before the revision in the event of a failure, the maintenance worker must send the program to the site (where the computer system to be maintained is installed). It is the present situation that they go out and work by hand.
[0009]
Therefore, the work time required for revising these programs, switching to the program after the revision, and changing to the program before the revision in the event of a failure is extremely long, and the burden on maintenance personnel is large, and It was inefficient.
[0010]
Accordingly, it is an object of the present invention to improve the efficiency of processing or work accompanying a revision of a computer system program.
[0011]
[Means for Solving the Problems]
According to one aspect of the present invention, a program execution unit, a first program storage unit in which a program is stored, and the same or the same version number of a program stored in the first program storage unit different Second program storage means for storing a version number program, switching period storage means for storing a switching period, A current IPL machine number storage means for storing an IPL machine number for specifying a storage means for storing a program as an operating system in the first and second program storage means; A next IPL machine number storage means for storing an IPL machine number for specifying a storage means for storing a program as an active system or a program as a next active system; Clock means for detecting the current date and time, and when the date and time by the clock means are not in the switching period of the switching period storage means Or, when the IPL machine number stored in the current IPL machine number storage means is the same as the IPL machine number stored in the next IPL machine number storage means To Identified by the IPL machine number stored in the current IPL machine number storage means The first And the second Of program storage means Stored in any The program is a program to be executed by the program execution means, and the date and time by the clock means are stored in the switching period storage means during the switching period. And the IPL machine number stored in the current IPL machine number storage means is not the same as the IPL machine number stored in the next IPL machine number storage means To Identified by the IPL machine number stored in the next IPL machine number storage means Said First and Of the second program storage means Stored in any Switching means for performing a switching process to make a program a program executed by the program execution means; Identified by the IPL machine number stored in the next IPL machine number storage means Said First and Of the second program storage means Remembered by one Error detecting means for detecting the presence of an error in the program, the switching means, Identified by the IPL machine number stored in the next IPL machine number storage means Said First and After the program of the second program storage means is changed to a program to be executed by the program execution means, if the presence of an error is detected by the error detection means, Identified by the IPL machine number stored in the current IPL machine number storage means The first And the second Of program storage means Stored in any A program to be executed by the program execution means; Identified by the IPL machine number stored in the next IPL machine number storage means Said First and Of the second program storage means Stored in any Discard the program, Identified by the IPL machine number stored in the current IPL machine number storage means The first And the second Of program storage means Stored in any Program Identified by the IPL machine number stored in the next IPL machine number storage means Said First and Second program storage means Any of An electronic computer system is provided for copying to a computer.
[0012]
According to the computer system to which the present invention is applied, the switching unit selectively programs the program in the first program storage unit or the second program storage unit according to whether or not the switching period is stored in the switching period storage unit. Since the execution means is executed, it is not necessary for the maintenance worker to perform the switching work after performing the program revision work, thereby reducing the work load and improving the efficiency of the work associated with the program revision. Can be.
[0017]
According to still another aspect of the present invention, a clock program for functioning as clock means for detecting the current date and time, and a case where the date and time by the clock means are not in the switching period indicated by the switching period stored in the switching period storage means , Alternatively, in the first program storage means in which the program is stored and the second program storage means in which a program of the same or different version number as the version number of the program stored in the first program storage means is stored, the program may be used as an active system. The IPL machine number stored in the current IPL machine number storing means for storing the IPL machine number for specifying the storing means for storing the program, and the program as the working system or the next working system in the first and second program storing means When the IPL device number stored in the next IPL device number storage device that stores the IPL device number that specifies the storage device that stores the program as To The IPL machine number stored in the current IPL machine number storage means; First And the second Of program storage means Stored in any A program for executing the program, wherein the date and time by the clock means is during the switching period. And the IPL machine number stored in the current IPL machine number storage means is not the same as the IPL machine number stored in the next IPL machine number storage means To The first and second IPL numbers specified by the IPL number stored in the next IPL number storage means Of the second program storage means Stored in any A switching program for functioning as a switching means for performing a switching process as a program for executing the program; Identified by the IPL machine number stored in the next IPL machine number storage means Said First and Of the second program storage means Remembered by one Storing an error detection program for functioning as error detection means for detecting the presence of an error in the program, the switching program, Identified by the IPL machine number stored in the next IPL machine number storage means Said First and Of the second program storage means Stored in any After the program is executed by the program execution unit, if the error detection unit detects the presence of an error, Identified by the IPL machine number stored in the current IPL machine number storage means The first And the second Of program storage means Stored in any A program to be executed by the program execution means; Identified by the IPL machine number stored in the next IPL machine number storage means The first as well as Of the second program storage means Remembered by one Discard the program, Identified by the IPL machine number stored in the current IPL machine number storage means The first And the second Of program storage means Stored in any Program Identified by the IPL machine number stored in the next IPL machine number storage means Said First and Second program storage means Any of A computer-readable storage medium including a program for causing a computer to function as a copying unit is provided.
[0018]
When the maintenance program for the computer system stored in the storage medium of the present invention is executed in the computer system, the switching is performed according to whether or not the switching period is stored in the switching period storage means. program In this way, the program in the first program storage means or the second program storage means is selectively executed by the execution program, so that the maintenance worker does not need to perform the switching work after performing the program revision work. The burden can be reduced, and the work associated with the program revision can be made more efficient.
[0019]
According to still another aspect of the present invention, a remote maintenance system (electronic computer) including a plurality of general user terminals and a maintenance center connected to the general user terminals via a communication line for remotely maintaining the general user terminals. A remote data maintenance program applied to the general user terminal, the correction data storing means storing correction data indicating a revision of the program executed by the general user terminal, and the correction data stored in the correction data storage means being stored in the general user terminal. A maintenance center program having transfer means for transferring to a terminal, a program storage means for storing two or more programs having the same contents as an active system and a standby system, and a standby in accordance with the correction data transferred from the maintenance center For a general user terminal having application means for performing an application process for revising a program as a system When a storage medium storing the remote maintenance program with is provided.
[0020]
When the remote maintenance program stored in the storage medium of the present invention is executed in the remote maintenance system (computer system), the correction data is transferred from the maintenance center to the general user terminal, and the application means of the general user terminal receiving the correction data waits. Since the program as a system is automatically updated according to the correction data, the maintenance worker does not need to go to the site and perform the work of updating the program, thereby reducing the work load of the maintenance worker and updating the program. The efficiency of the work associated with can be improved.
[0021]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a block diagram showing a schematic configuration of a computer system according to the first embodiment of this invention.
[0022]
This computer system includes a central processing unit (CPU) 11, a main storage device (MEM) 12, a boot ROM (ROM) 13, and an external storage device (program storage means) 14 as program execution means. The boot ROM 13 stores a program including a program for realizing the function of the switching unit.
[0023]
The computer system further includes a switching period storage unit (switching period storage unit) 15 in which switching periods (switching start date and time and switching end date and time) are stored, a clock circuit (clock unit) 16 for detecting the current date and time, An IPL machine number storage unit 17 and a next IPL machine number storage unit 18 are provided.
[0024]
The external storage device 14 has a first program area 14a and a second program area 14b in which two programs (including data) of the same or different versions executed by the central processing unit 11 are stored.
[0025]
The central processing unit 11 executes one of the first program area 14a and the second program area 14b as an active system and the other as a standby system, and switches to the standby system when a failure occurs in the active system.
[0026]
In order to identify the first program area 14a and the second program area 14b, the first program area 14a is assigned an IPL number 0 and the second program area 14b is assigned an IPL number 1.
[0027]
The current IPL machine number storage unit 17 and the next IPL machine number storage unit 18 store an IPL machine number (in this case, IPL machine number 1) corresponding to the program area as the active system.
[0028]
In the case where the maintenance worker performs a program revision operation, one of the first and second program areas 14a and 14b which is used as a standby system (in this case, the first program area 14a) is used. Then, the revised version is installed by installing the revised program or executing the modified program.
[0029]
Next, the switching period is stored in the switching period storage unit 15, and the IPL unit number (the IPL unit number 0 in this case) of the first program area 14 a for which the edition was revised is stored in the next IPL unit number storage unit 18. The IPL machine number 1 of the second program area 14b remains stored in the current IPL machine number storage unit 17.
[0030]
The boot ROM 13 stores a program for performing an IPL (initial program load) process. The central processing unit 11 executes the program of the boot ROM 13 to perform the IPL processing as shown in FIG.
[0031]
That is, when the IPL process is started (step “abbreviated to ST” hereinafter) 1, it is determined whether or not the current date and time detected by the clock circuit 16 is within the switching period stored in the switching period storage unit 15 ( ST2).
[0032]
In ST2, if the current date and time detected by the clock circuit 16 is within the switching period stored in the switching period storage unit 15, the IPL unit number of the current IPL unit number storage unit 17 and the next IPL unit number storage unit It is determined whether the 18 IPL machine numbers are the same (ST3).
[0033]
In ST3, if the IPL machine number in the current IPL machine number storage unit 17 and the IPL machine number in the next IPL machine number storage unit 18 are not the same, the IPL machine number stored in the next IPL machine number storage unit 18 (in this case, Loads the program in the area of the external storage device 14 (in this case, the first program area 14a) corresponding to the IPL machine number 0) into the main storage device 12 (ST4), and initializes the switching period of the switching period storage unit 15. (ST5), the following processing (execution of the loaded program, etc.) is performed (ST6).
[0034]
In ST2, if the current date and time detected by the clock circuit 16 is not within the switching period stored in the switching period storage unit 15, and in ST3, store the IPL unit number and the next IPL unit number in the current IPL unit number storage unit 17. If the IPL number of the unit 18 is the same, the area of the external storage device 14 corresponding to the IPL number (in this case, IPL number 1) stored in the current IPL number storage 17 (in this case, The program in the second program area 14b) is loaded into the main storage device 12 (ST7), and ST6 is executed.
[0035]
According to this embodiment, the maintenance worker performs the predetermined setting work (setting of the switching period and the IPL machine number) after the program revision work, thereby automatically switching to the program after the revision. Therefore, there is no need for the maintenance worker to switch to the program after the revision, and the work burden on the maintenance worker is small.
[0036]
[Second embodiment]
FIG. 3 is a block diagram illustrating a schematic configuration of a computer system according to the second embodiment of this invention. Components that are substantially the same as those in the first embodiment are given the same numbers, and a part of the description is omitted.
[0037]
The computer system according to the second embodiment includes an error detection unit 19 in addition to the configuration of the first embodiment. The error detection unit 19 has an error state flag (the initial state is OFF “OFF”) corresponding to the current IPL model number and the next IPL model number. The error detection unit 19 checks the program when the program is loaded from the external storage device 14 to the main storage device 12, and turns on the error state flag if there is an error in the program. .
[0038]
In the second embodiment, the central processing unit 11 performs the IPL processing as shown in FIG.
That is, when the IPL process is started (step 1), it is determined whether or not the current date and time detected by the clock circuit 16 is within the switching period stored in the switching period storage unit 15 (ST2).
[0039]
In ST2, if the current date and time detected by the clock circuit 16 is within the switching period stored in the switching period storage unit 15, the IPL unit number of the current IPL unit number storage unit 17 and the next IPL unit number storage unit It is determined whether the 18 IPL machine numbers are the same (ST3).
[0040]
In ST3, if the IPL machine number in the current IPL machine number storage unit 17 and the IPL machine number in the next IPL machine number storage unit 18 are not the same, the IPL machine number stored in the next IPL machine number storage unit 18 (in this case, Loads the program in the area of the external storage device 14 (in this case, the first program area 14a) corresponding to the IPL machine number 0) into the main storage device 12 (ST4).
[0041]
If an error is detected during the loading process (ST5), a program interrupt occurs and the error status flag corresponding to the next IPL machine number of the error detection unit 19 is turned ON. The contents of the detection unit 19 are checked (ST6), and an external device corresponding to the IPL machine number (in this case, IPL machine number 1) stored in the current IPL machine number storage unit 17 in which the error state flag is OFF “OFF”. The program in the area of the storage device 14 (in this case, the second program area 14b) is reloaded into the main storage device 12 (ST7).
[0042]
Next, the IPL machine number in the current IPL machine number storage unit 17 is copied to the next IPL machine number storage unit 18 (ST8), and the process proceeds to the next process (ST9).
In ST2, if the current date and time detected by the clock circuit 16 is not within the switching period stored in the switching period storage unit 15, and in ST3, store the IPL unit number and the next IPL unit number in the current IPL unit number storage unit 17. If the IPL number of the unit 18 is the same, the area of the external storage device 14 corresponding to the IPL number (in this case, IPL number 1) stored in the current IPL number storage 17 (in this case, The program in the second program area 14b) is loaded into the main storage device 12 (ST10), and ST9 is executed. If no error is detected in ST5, ST9 is executed.
[0043]
According to this embodiment, when it is detected that an error exists in the program after the revision, the program is automatically returned to the program before the revision, so that the maintenance worker cannot respond promptly. Even with this, the operation of the computer system can be continued.
[0044]
[Third Embodiment]
FIG. 5 is a block diagram showing a schematic configuration of a computer system according to the third embodiment of this invention. Components that are substantially the same as those in the first and second embodiments are denoted by the same reference numerals, and description thereof is partially omitted.
[0045]
In the computer system according to the third embodiment, in addition to the configuration of the first embodiment, a warranty period storage unit (warranty period storage unit) 20 for storing a warranty period, and a warranty period monitoring unit 21 It has.
[0046]
The warranty period storage unit 20 is a table in which a status flag, a warranty period (the number of storage days), and a version number are set in correspondence with the software logical number. Set by maintenance personnel. The warranty period is a period (days) in which the program before the revision is to remain after switching from the program before the revision to the program after the revision.
[0047]
The warranty period monitoring unit 21 detects the number of days since switching from the program before the revision to the program after the revision, determines whether or not it is within the warranty period of the warranty period storage unit 20, and determines whether the warranty period has elapsed. In this case, the contents of the revised program are copied to the area 14a or 14b of the external storage device 14 where the program before the revision is stored.
[0048]
In the third embodiment, the central processing unit 11 executes a program of the boot ROM 13 to perform an IPL process including a process as shown in FIG.
That is, the patrol function is activated with the activation of the IPL process (step 1), and it is determined whether or not the current time is within the guarantee period of the guarantee period storage unit 20 (ST2). In ST2, if it is within the warranty period, change to the program in the second program area 14b corresponding to the IPL machine number 1 in which the program before the revision is stored is set to prohibit (ST3). Is subtracted (ST4). The process of ST4 is performed only once a day.
[0049]
Next, it is determined whether or not the warranty period is equal to "0" (ST5). If the warranty period is not equal to "0", the process returns to ST1, and if the warranty period is equal to "0", the process returns to ST1. Then, the contents of the first program area 14a corresponding to the IPL machine number 0 where the revised program is stored are copied to the second program area 14b corresponding to the IPL machine number 1 where the program before the revision is stored (ST6). ), The change prohibition state is released (ST7), and this processing ends (ST8). In ST2, even if it is not within the warranty period, this process is terminated (ST8).
[0050]
According to this embodiment, the maintenance worker sets the warranty period after the program is updated, and leaves the program before the update until the warranty period elapses after switching to the program after the update. As a result, it is possible to quickly switch to the program before the revision if necessary.
[0051]
After the warranty period has passed, it is assumed that the revised program has been sufficiently verified, and the revised program is automatically copied over the original program. There is no need for the maintenance worker to perform the work, and the workload of the maintenance worker can be reduced.
[0052]
[Fourth Embodiment]
FIG. 7 is a block diagram illustrating a schematic configuration of a computer system according to the fourth embodiment of this invention. Components that are substantially the same as those in the first to third embodiments are denoted by the same reference numerals, and a description thereof is partially omitted.
[0053]
The computer system according to the fourth embodiment includes a changeover switch 22 in addition to the configuration of the third embodiment. The changeover switch 22 is means for a maintenance worker to forcefully set which of the first and second program areas 14a and 14b of the external storage device 14 is to be loaded into the main storage device 12.
[0054]
FIG. 8 shows a process performed when the changeover switch 22 is turned ON. That is, when it is detected that the changeover switch 22 is turned on (ST1), it is determined whether or not the current time is within the guarantee period of the guarantee period storage unit 20 (ST2).
[0055]
In ST2, if it is within the guarantee period, the IPL machine number in the current IPL machine number storage unit 17 is compared with the IPL machine number in the next IPL machine number storage unit 18 (ST3). The warranty period in the period storage unit 20 is cleared (ST4), the process by the warranty period monitoring unit 21 is canceled, and the process ends (ST5).
[0056]
This process is also terminated when the warranty period is not within ST2 and when the IPL machine number in the current IPL machine number storage unit 17 is the same as the IPL machine number in the next IPL machine number storage unit 18 in ST3. .
[0057]
According to this embodiment, the maintenance worker turns on the changeover switch 22 when the occurrence of a failure in the revised program is detected or other necessary after switching to the revised program. In addition, the program to be executed is switched to the program before the revision, and the automatic copying of the program after the revision to the program before the revision to be executed after the elapse of the warranty period is stopped.
[0058]
The changeover switch 22 is initially set to off "OFF", and the process when the changeover switch 22 is off is the same as that of the third embodiment.
[Fifth Embodiment]
FIG. 9 is a block diagram showing a schematic configuration of a computer system according to the fifth embodiment of the present invention. Components that are substantially the same as those in the first to fourth embodiments are denoted by the same reference numerals, and a description thereof is partially omitted.
[0059]
The computer system according to the fifth embodiment includes a diagnosis unit (diagnosis unit) 23 in addition to the configuration of the third embodiment. The diagnostic unit 23 diagnoses whether or not the failure is caused by the program when the failure is detected during the execution of the program by the central processing unit 11.
[0060]
FIG. 10 shows a process performed when the occurrence of a failure is detected during the execution of the revised program by the central processing unit 11. That is, when the occurrence of a device failure is detected (ST1), the dump file is analyzed and the soft error code is analyzed (ST2).
[0061]
Next, it is determined whether or not the cause of the failure is caused by the program being executed (ST3). In ST3, when the cause of the failure is due to the program being executed, the program is switched to loading and execution of the program before the revision (ST4), and the warranty period in the warranty period storage unit 20 is cleared (ST5). ), The process by the warranty period monitoring unit 21 is canceled, and this process is terminated (ST6).
[0062]
If the cause of the failure is not due to the program being executed in ST3, this process is terminated (ST6).
According to this embodiment, after switching to the program after the revision, the occurrence of a failure is detected during the execution of the program after the revision, and if the cause of the failure is caused by the program being executed, the In addition to switching to the previous program, automatic copying of the revised program to the pre-revised program to be performed after the warranty period has elapsed is stopped.
[0063]
Therefore, in the event that a failure due to the program occurs during the execution of the program after the revision after the revision, the operation based on the program before the revision can be continued without prompt action by a maintenance worker.
[0064]
[Sixth Embodiment]
FIG. 11 is a block diagram showing a schematic configuration of a computer system according to the sixth embodiment of the present invention. Components that are substantially the same as those in the first to fifth embodiments are denoted by the same reference numerals, and description thereof is partially omitted.
[0065]
In the computer system according to the sixth embodiment, in addition to the configuration of the first embodiment, a correction data storage unit (correction data storage unit) 24, a revision / correction function unit (application unit) 25, and An instantaneous interruption detection unit 26 is provided.
[0066]
The correction data storage unit 24 stores correction data, which is data necessary for revising a program (program of the first program area 14a or the second program area 14b) stored in the external storage device 14 or a program. The correction data is stored in the correction data storage unit 24 by the maintenance worker before the revision work.
[0067]
The revision / modification function unit 25 is a process for revising a program in the first program area 14a or the second program area 14b of the external storage device 14 according to the modification data in the modification data storage unit 24 in accordance with an instruction of the maintenance worker. Perform application processing.
[0068]
The instantaneous interruption detection unit 26 detects whether or not an instantaneous interruption of the power supply has occurred while the application processing by the revision / correction function unit 25 is being executed.
FIG. 12 shows a process performed when an instantaneous power interruption occurs during the application process. First, when a program revision / modification process is started (ST1), the update state flag of a file constituting a program to be revised is turned ON (ST2), and a file necessary for the program revision is turned on. Update processing is performed (ST3).
[0069]
After the update processing, the update state flag is set to "OFF" (ST4), and the processing is terminated (ST5). If an instantaneous power interruption occurs during the file update process (ST3), the update status flag for the file being updated remains on.
[0070]
FIG. 13 shows a process at the time of restarting after a momentary power interruption occurs during the application process. When the system is restarted after an instantaneous interruption (ST1), an initialization process is performed (ST2), and it is determined whether or not the file constituting the program is being updated by referring to an update state flag (ST3). . If the file is being updated in ST3, the program before the edition is copied to the first or second program area 14a, 14b of the external storage device 14 in which the program being updated is stored (ST4). The process ends (ST5). If the file is not being updated in ST3, this process ends (ST5).
[0071]
According to this embodiment, since the revision data is automatically performed by the revision data storage unit 24 and the revision / modification function unit 25, the work load of the maintenance worker can be reduced. Also, the presence or absence of an instantaneous power interruption during the program revision process is recognized by referring to the status update flag at the time of restart, and if an instantaneous power interruption occurs during the revision process, the Since the program is copied so as to overwrite the program being revised, the reliability of the program revision can be improved.
[0072]
[Seventh Embodiment]
FIG. 14 is a diagram showing the configuration of the remote maintenance system according to the seventh embodiment of the present invention. The remote maintenance system includes a plurality of general user terminals 31, a maintenance center 32, a development system 33, and a verification system (verification device) 34 as computer systems to be maintained. The general user terminal 31 has the same configuration as the computer systems of the first to sixth embodiments.
[0073]
The plurality of general user terminals 31 and the maintenance center 32 are connected to each other via a communication line. The maintenance center 32 is a device for centrally remotely maintaining a plurality of general user terminals 31.
[0074]
The development system 33 is a system that develops correction data indicating the contents of a revised version of a program executed by the general user terminal 31. The developed correction data is temporarily verified in the development system 33, sent to the maintenance center 32 via a medium 35 such as a floppy disk, and registered. The development system 33 and the maintenance center 32 may be connected via a communication line, and the developed correction data may be transferred and registered via the communication line.
[0075]
The verification system 34 performs an application process, which is a process of revising a program executed by the general user terminal 31 based on the correction data, under the same conditions as the general user terminal 31, and checks for the presence of a bug in the program and the general user terminal 31. It is a system that inspects the reliability, such as the consistency of the information, and recognizes the pass / fail. The maintenance center 32 and the verification system 34 are connected to each other via a communication line.
[0076]
The maintenance center 32 includes a correction data storage unit (correction data storage unit) 32a and a transfer unit (transfer unit) not shown.
The correction data created by the development system 33 is registered in the correction data storage unit 32a of the maintenance center 32. A plurality of correction data can be registered in the correction data storage unit 32a, and a transfer level indicating a transfer destination of the correction data is set in accordance with the identification (P-NO) of each registered correction data. be able to.
[0077]
There are two transfer levels, “general” indicating transfer to the general user terminal 31 and “verification” indicating transfer to the verification system. Correction data developed by the development system 33 is registered in the maintenance center 32 for the first time. Is set to "verify".
[0078]
The correction data registered in the correction data storage unit 32a is transferred by the transfer unit to the general user terminal 31 or the verification system 34 according to the corresponding transfer level.
In the verification system 34 to which the correction data has been transferred, the program executed by the general user terminal 31 is executed based on the correction data in the same manner as that executed by the general user terminal 31, and the verification of the revised program is performed. I do. The result of the verification (“good” or “bad”) is notified to the maintenance center 32.
[0079]
When the verification result from the verification system 34 is “good”, the maintenance center 32 changes the transfer level corresponding to the correction data from “transfer” to “general”. When the verification result by the verification system 34 is “bad”, the development system 33 is notified of the fact.
[0080]
The general user terminal 31 is an external storage device (program storage unit) such as a magnetic disk device having a storage area for storing two or more programs having the same contents as the active system and the standby system, and the correction transferred from the maintenance center 32. It has an application unit (application unit) that performs application processing on a program as a standby system according to data, and a switching unit (switching unit) that performs switching processing for switching from the active system to the standby system.
[0081]
In the general user terminal 31, upon receiving the transfer of the correction data from the maintenance center 32, the application unit updates the program as a standby system of the external storage device according to the correction data.
[0082]
According to this embodiment, the modification data necessary for the revision of the program executed by the general user terminal 31 is created in the development system 33 and then registered in the maintenance center 32. And the application unit of the general user terminal 32 performs the application processing. Therefore, the maintenance worker can intensively perform the revision work on the plurality of general user terminals 31 at the maintenance center 32. This can improve the efficiency of the revision work.
[0083]
When the correction data is registered in the correction data storage unit 32a of the maintenance center 32, the transfer level is “verified”, and after being transferred to the verification system 34 and verified, the transfer level is set to “general”. To transfer only the correction data having the transfer level "general" to the general user terminal 31, the reliability of the correction data is high, and the general user terminal 31 System down can be prevented.
[0084]
[Eighth Embodiment]
FIG. 15 is a diagram showing the configuration of the remote maintenance system according to the eighth embodiment of the present invention. Components that are substantially the same as those of the seventh embodiment are denoted by the same reference numerals, and description thereof is partially omitted.
[0085]
The maintenance center 32 of the remote maintenance system according to the eighth embodiment has a period storage section (period storage means) 32b. In the period storage unit 32b, a switching period (a program for an active system) to a program for a revised system (a program for a standby system) when a program executed by the general user terminal 31 is subjected to a revision process (a program for a standby system). Switching information including a switching start date and time, a switching end date and time, and a warranty period, which is the number of days for which the program before the revision after switching to the program after the revision (standby system program) should remain, is stored.
[0086]
The switching information including the switching period and the guarantee period includes the automatic driving schedule information (P-ON [power-on] time, OS-IPL time, OS-STOP time, P-OFF [power-off] time). The maintenance center 32 receives the transfer of the automatic operation schedule information, refers to the automatic operation schedule information, and is automatically determined for each of the general user terminals 31. 32b.
[0087]
The switching information including the switching period and the warranty period is transferred when the correction data is transferred to the general user terminal 31 by the transfer unit of the maintenance center 32.
[0088]
In the general user terminal 31, after the application processing for the standby system program by the application unit, the operation system program (the program before the revision) is changed to the standby system program (the program before the revision) according to the switching period included in the switching information from the maintenance center 32. (The program after the revision), and after a lapse of the warranty period included in the switching information from the maintenance center 32 after this switching process, the program as the standby system (the program before the revision) is replaced by the program as the active system. The program as the standby system is revised by overwriting (the program after revision).
[0089]
After switching from the active system to the standby system, if it is detected that there is an error in the program for the active system within the warranty period from the maintenance center 32, the version is changed by further switching from the active system to the standby system. Execute the previous program.
[0090]
According to this embodiment, the maintenance center 32 updates the program of the general user terminal 31, switches the program to the updated program after the update processing, copies the program after the update to the program before the update, and executes the processing after the update. When the error occurs in the program, the processing for switching to the program before the revision is all automatically performed, so that the work load of the maintenance worker is almost eliminated.
[0091]
[Ninth embodiment]
FIG. 16 is a diagram showing the configuration of the remote maintenance system according to the ninth embodiment of the present invention. The same components as those in the seventh and eighth embodiments are denoted by the same reference numerals, and the description thereof will be partially omitted.
[0092]
In the remote maintenance system according to the ninth embodiment, after the general user terminal 31 completes the revision of the program as the standby system of the external storage device by the application unit, the general user terminal 31 completes the revision of the program. The maintenance center 32 is notified of the fact that the update has been performed and the application list (P-NO member list) of the correction data used for the revision.
[0093]
The maintenance center 32 receiving the notification displays the completion of the program revision and an application list on the display (display means) of the maintenance person terminal 36 of the maintenance center 32, and displays the pager carried by the maintenance worker. Automatically send to. The maintenance worker recognizes that the edition of the program has been completed by ringing the pager or displaying on the maintenance terminal, and refers to the application list displayed on the terminal 36 for maintenance personnel.
[0094]
[Tenth embodiment]
FIG. 17 is a diagram showing the configuration of the remote maintenance system according to the tenth embodiment of the present invention. The same components as those in the seventh to ninth embodiments are denoted by the same reference numerals, and a part of the description will be omitted.
[0095]
In the remote maintenance system according to the tenth embodiment, the general user terminal 31 includes a message that the switching unit has performed the switching process from the active system to the standby system and then has performed the switching process from the active system to the standby system. The switching result is notified to the maintenance center 32.
[0096]
The maintenance center 32 that has received the notification displays the switching result on a display (display means) of the maintenance staff terminal 36 of the maintenance center 32 and automatically transmits the switching result to a pager carried by the maintenance worker. The maintenance worker recognizes that the switching of the program is completed by ringing the pager or by displaying on the terminal for maintenance personnel 36, and refers to the switching result displayed on the terminal for maintenance personnel 36.
[0097]
[Eleventh embodiment]
FIG. 18 is a diagram showing the configuration of the remote maintenance system according to the eleventh embodiment of the present invention. The same reference numerals are given to the same components as those in the seventh to tenth embodiments, and a part of the description is omitted.
[0098]
In the remote maintenance system according to the eleventh embodiment, if the general user terminal 31 does not notify the switching result in the tenth embodiment during the switching period, the maintenance center 32 establishes a callback connection. It is connected to the general user terminal 31 that has not been notified of the switching result, and issues a program switching instruction.
[0099]
The general user terminal 31 that has received the switching instruction immediately performs the switching process from the active system to the standby system when the host CPU is in a stopped state. When the host CPU is operating, the general user terminal 31 notifies the maintenance center 32 that switching is not possible.
[0100]
The maintenance center 33 notified of the switching failure from the general user terminal 31 refers to the OS-STOP time from the automatic operation schedule information of the general user terminal 31 held by the maintenance center, and calls back again at that time. Thus, the user is connected to the general user terminal 31 and gives a switching instruction. In this case, since the host CPU is stopped in this case, the general user terminal 31 immediately switches from the active system to the standby system.
[0101]
When the general user terminal 31 receives the switching instruction from the maintenance center 32 and the host CPU is operating, the general user terminal 31 notifies the maintenance center 32 that switching is not possible or does not notify the general user terminal 31. The switching process may be automatically performed when the host CPU is stopped.
[0102]
[Twelfth embodiment]
FIG. 19 is a diagram showing the configuration of the remote maintenance system according to the twelfth embodiment of the present invention. The same reference numerals are given to the same components as those in the seventh to eleventh embodiments, and a part of the description will be omitted.
[0103]
In the remote maintenance system according to the twelfth embodiment, the general user terminal 31 has a function of checking the guarantee period of the switching information transferred from the maintenance center 32. The terminal 31 is connected to the maintenance center 32 and requests the maintenance center 32 to transfer the correction data. The maintenance center that has received the correction data transmission request transfers the correction data to the general user terminal 31.
[0104]
【The invention's effect】
Since the present invention is configured as described above, it greatly reduces the burden on maintenance workers for updating a program, switching to a program after an update, changing to a program before an update when a failure occurs, and other operations. This makes it possible to increase the efficiency of work or processing involved in the revision of the program.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a computer system according to a first embodiment of this invention.
FIG. 2 is a flowchart illustrating processing of the computer system according to the first embodiment of this invention.
FIG. 3 is a block diagram illustrating a schematic configuration of a computer system according to a second embodiment of this invention.
FIG. 4 is a flowchart illustrating a process performed by the computer system according to the second embodiment of this invention;
FIG. 5 is a block diagram illustrating a schematic configuration of a computer system according to a third embodiment of this invention.
FIG. 6 is a flowchart illustrating processing of the computer system according to the third embodiment of this invention.
FIG. 7 is a block diagram illustrating a schematic configuration of a computer system according to a fourth embodiment of this invention.
FIG. 8 is a flowchart illustrating processing of the computer system according to the fourth embodiment of this invention.
FIG. 9 is a block diagram illustrating a schematic configuration of a computer system according to a fifth embodiment of the present invention.
FIG. 10 is a flowchart illustrating processing of the computer system according to the fifth embodiment of this invention.
FIG. 11 is a block diagram illustrating a schematic configuration of a computer system according to a sixth embodiment of the present invention.
FIG. 12 is a flowchart showing a process at the time of a revision process of the computer system according to the sixth embodiment of the present invention.
FIG. 13 is a flowchart illustrating a process at the time of restart after a momentary power interruption of the computer system according to the sixth embodiment of this invention.
FIG. 14 is a diagram illustrating a schematic configuration of a remote maintenance system according to a seventh embodiment of the present invention.
FIG. 15 is a diagram illustrating a schematic configuration of a remote maintenance system according to an eighth embodiment of the present invention.
FIG. 16 is a diagram illustrating a schematic configuration of a remote maintenance system according to a ninth embodiment of the present invention.
FIG. 17 is a diagram illustrating a schematic configuration of a remote maintenance system according to a tenth embodiment of the present invention.
FIG. 18 is a diagram illustrating a schematic configuration of a remote maintenance system according to an eleventh embodiment of the present invention.
FIG. 19 is a diagram illustrating a schematic configuration of a remote maintenance system according to a twelfth embodiment of the present invention.
[Explanation of symbols]
11 Central Processing Unit (CPU)
12 Main memory (MEM)
13. Boot ROM (ROM)
14 External storage device
15 Switching period storage
16 Clock circuit
17 Current IPL machine number storage
18th IPL machine number storage
19 Error detector
20 Warranty period storage
21 Warranty period monitoring unit
22 Changeover switch
23 Diagnosis unit
24 Correction data storage
25 Revision / Modification Function Department
26 Instantaneous interruption detector
31 General user terminal (computer system)
32 Maintenance Center
33 Development System
34 Verification system
36 Maintenance terminal

Claims (2)

プログラム実行手段と、
プログラムが記憶される第1プログラム記憶手段と、
前記第1プログラム記憶手段に記憶されるプログラムの版数と同一又は異なる版数のプログラムが記憶される第2プログラム記憶手段と、
切換期間が記憶される切換期間記憶手段と、
前記第1及び第2プログラム記憶手段の中で運用系としてのプログラムを記憶する記憶手段を特定するIPL機番を記憶する現IPL機番記憶手段と、
前記第1及び第2プログラム記憶手段の中で運用系としてのプログラム又は次運用系としてのプログラムを記憶する記憶手段を特定するIPL機番を記憶する次IPL機番記憶手段と、
現在の日時を検出する時計手段と、
前記時計手段による日時が前記切換期間記憶手段の前記切換期間中でない場合又は前記現IPL機番記憶手段に記憶されたIPL機番と前記次IPL機番記憶手段に記憶されたIPL機番が同一である場合には前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとし、前記時計手段による日時が前記切換期間記憶手段の前記切換期間中であり且つ前記現IPL機番記憶手段に記憶されたIPL機番と前記次IPL機番記憶手段に記憶されたIPL機番が同一でない場合には前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとする切換処理を行う切換手段と、
前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに記憶されたプログラムについてのエラーの存在を検出するエラー検出手段とを備え、
前記切換手段は、前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のプログラムを前記プログラム実行手段が実行するプログラムとした後に、前記エラー検出手段によりエラーの存在が検出された場合には、前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとするとともに前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを廃棄し、前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに複写するようにした電子計算機システム。
Program execution means;
First program storage means for storing a program,
A second program storage unit in which a program having the same or different version number as the version number of the program stored in the first program storage unit is stored;
Switching period storage means for storing a switching period,
A current IPL machine number storage unit for storing an IPL machine number for specifying a storage unit for storing a program as an operation system in the first and second program storage units;
A next IPL machine number storage unit that stores an IPL machine number that specifies a storage unit that stores a program as an active system or a program as a next active system in the first and second program storage units;
Clock means for detecting the current date and time;
If the date and time by the clock means is not during the switching period of the switching period storage means, or the IPL machine number stored in the current IPL machine number storage means is the same as the IPL machine number stored in the next IPL machine number storage means In the case of , the program stored in any of the first and second program storage means specified by the IPL machine number stored in the current IPL machine number storage means is a program executed by the program execution means. the Ri Oh in between switching period and the current IPL machine number the the IPL device number stored in the storage means following IPL machine number IPL machine number stored in the storage unit of time by the clock means is the switching period storage means flop but stored in one of said first and second program storage means identified by said next IPL machine number storage IPL machine number stored in the unit if not identical And switching means for switching processing of a program for executing grams said program execution means,
Error detection means for detecting the presence of an error in a program stored in any of the first and second program storage means specified by the IPL machine number stored in the next IPL machine number storage means ,
The switching means converts the program of the first and second program storage means specified by the IPL machine number stored in the next IPL machine number storage means into a program to be executed by the program execution means, and then detects the error. When the presence of an error is detected by the means, the program stored in one of the first and second program storage means specified by the IPL machine number stored in the current IPL machine number storage means is stored in the memory. discards said next IPL machine number or the program stored in the first and second program storage means specified by the stored IPL machine number in the memory means together with a program that the program executing means executes, the serial to any one of the first and second program storage means specified by IPL machine number stored in the current IPL machine number storage means Computer system adapted to copy any of the first and second program storage means specified by IPL machine number that is stored a program to the next IPL machine number storage means.
現在の日時を検出する時計手段として機能させるための時計プログラムと、
前記時計手段による日時が切換期間記憶手段に記憶された切換期間が示す切換期間中でない場合、又はプログラムが記憶された第1プログラム記憶手段及び前記第1プログラム記憶手段に記憶されるプログラムの版数と同一又は異なる版数のプログラムが記憶される第2プログラム記憶手段の中で運用系としてのプログラムを記憶する記憶手段を特定するIPL機番を記憶する現IPL機番記憶手段に記憶されたIPL機番と前記第1及び第2プログラム記憶手段の中で運用系としてのプログラム又は次運用系としてのプログラムを記憶する記憶手段を特定するIPL機番を記憶する次IPL機番記憶手段に記憶されたIPL機番が同一である場合には前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを実行するプログラムとし、前記時計手段による日時が前記切換期間中であり且つ前記現IPL機番記憶手段に記憶されたIPL機番と前記次IPL機番記憶手段に記憶されたIPL機 番が同一でない場合には前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを実行するプログラムとする切換処理を行う切換手段として機能させるための切換プログラムと、
前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに記憶されたプログラムについてのエラーの存在を検出するエラー検出手段として機能させるためのエラー検出プログラムとを記憶し、
前記切換プログラムは、前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとした後に、前記エラー検出手段によりエラーの存在が検出された場合には、前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記プログラム実行手段が実行するプログラムとするとともに前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに記憶されたプログラムを廃棄し、前記現IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段の何れかに記憶されたプログラムを前記次IPL機番記憶手段に記憶されたIPL機番により特定される前記第1及び第2プログラム記憶手段のいずれかに複写する手段として機能させるためのプログラムを含むコンピュータ読み取り可能な記憶媒体。
A clock program for functioning as a clock means for detecting the current date and time,
If the date and time by the clock means are not within the switching period indicated by the switching period stored in the switching period storage means, or the first program storage means storing the program and the version number of the program stored in the first program storage means IPL stored in the current IPL machine number storage means for storing an IPL machine number for specifying a storage means for storing a program as an active system in a second program storage means for storing a program of the same or different version number The next IPL machine number storing means for storing a machine number and an IPL machine number for specifying a storage means for storing a program as an operating system or a program as a next operating system in the first and second program storing means. the first and second flop when IPL machine number are the same are identified by the IPL device number stored in the current IPL machine number storage means has And program for carrying out any programs stored in grams storage means, said clock means date and Ri Oh in between the switching period by the IPL device number stored in the current IPL machine number storage unit the next IPL machine If the IPL number stored in the number storage means is not the same, the IPL number is stored in one of the first and second program storage means specified by the IPL number stored in the next IPL number storage means . A switching program for functioning as switching means for performing a switching process to be a program for executing the program;
To function as error detection means for detecting the presence of an error in a program stored in any of the first and second program storage means specified by the IPL machine number stored in the next IPL machine number storage means Memorizing the error detection program,
The switching program includes a program that is executed by the program execution unit and executes a program stored in one of the first and second program storage units specified by the IPL unit number stored in the next IPL unit number storage unit. after, if the presence of an error is detected by the error detection means, wherein either of said first and second program storage means specified by IPL machine number stored in the current IPL machine number storage means The stored program is a program to be executed by the program execution means, and is stored in one of the first and second program storage means specified by the IPL machine number stored in the next IPL machine number storage means . discard the program, the first and second professional specified by IPL machine number stored in the current IPL machine number storage means To function as a means for copying the one of the first and second program storage means specified by IPL machine number stored in the next IPL machine number storage means a program stored in any of ram memory means Computer-readable storage medium including the program.
JP16075497A 1996-06-24 1997-06-18 Electronic computer system Expired - Fee Related JP3589830B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16075497A JP3589830B2 (en) 1996-06-24 1997-06-18 Electronic computer system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-163279 1996-06-24
JP16327996 1996-06-24
JP16075497A JP3589830B2 (en) 1996-06-24 1997-06-18 Electronic computer system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004079934A Division JP3822210B2 (en) 1996-06-24 2004-03-19 Remote maintenance system

Publications (2)

Publication Number Publication Date
JPH1083285A JPH1083285A (en) 1998-03-31
JP3589830B2 true JP3589830B2 (en) 2004-11-17

Family

ID=26487154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16075497A Expired - Fee Related JP3589830B2 (en) 1996-06-24 1997-06-18 Electronic computer system

Country Status (1)

Country Link
JP (1) JP3589830B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7373492B2 (en) * 2004-08-30 2008-05-13 Lehman Brothers Inc. Boot disk management utility
JP2008046708A (en) 2006-08-11 2008-02-28 Sharp Corp Data processor, program management device, control program update method, program management method, program management system, update program, and recording medium
JP5206203B2 (en) * 2008-07-31 2013-06-12 富士通株式会社 Information processing apparatus, apparatus management system, apparatus management method, and program
JP5123979B2 (en) * 2010-04-16 2013-01-23 シャープ株式会社 Program management system
KR101422718B1 (en) * 2013-01-17 2014-07-24 삼성중공업 주식회사 Method for processing duplication of control logic
JP6613372B2 (en) * 2016-06-01 2019-11-27 株式会社日立製作所 Information processing system and business redundancy method

Also Published As

Publication number Publication date
JPH1083285A (en) 1998-03-31

Similar Documents

Publication Publication Date Title
US6971095B2 (en) Automatic firmware version upgrade system
EP1087294B1 (en) Method and apparatus of remotely updating firmware of a communication device
EP0687975B1 (en) Method and system for downloading data to network nodes
US8930931B2 (en) Information processing apparatus using updated firmware and system setting method
US4377000A (en) Automatic fault detection and recovery system which provides stability and continuity of operation in an industrial multiprocessor control
US7941658B2 (en) Computer system and method for updating program code
US7178056B2 (en) Rolling software upgrades for fault tolerant systems
JP3589830B2 (en) Electronic computer system
US20040024878A1 (en) Network device and automatic program update technique
EP0477385B1 (en) Method of resetting adapter module at failing time and computer system executing said method
CA2340342A1 (en) A method, computer, and article of manufacturing for fault tolerant booting
JP3822210B2 (en) Remote maintenance system
JP2005284902A (en) Terminal device, control method and control program thereof, host device, control method and control program thereof, and method, system, and program for remote updating
TWI786871B (en) Computer and system bootup method
JP2011053780A (en) Restoration system, restoration method and backup control system
JP2003228490A (en) Terminal equipment connected to network, and network system using the same
JP2002041298A (en) Computer, automatic resource application processing program, and record medium of automatic resource application processing program
WO2007077604A1 (en) Information processor and method of monitoring hang-up
JPH09198334A (en) Fault managing method for data transmission system
CN114655140B (en) Vehicle starting control method and related device
JP3589433B2 (en) Database guarantee method
JP2007073069A (en) Computer, automatic resource application processing program, and computer-readable record medium with the same recorded therein
JPH10105407A (en) Autonomous program fault restoring system
JPH07129425A (en) Reboot processing method
JP2002244885A (en) Computer system monitoring system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040420

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040618

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040817

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040818

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110827

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees