JP4351328B2 - Information processing apparatus and system activation management method - Google Patents
Information processing apparatus and system activation management method Download PDFInfo
- Publication number
- JP4351328B2 JP4351328B2 JP18320799A JP18320799A JP4351328B2 JP 4351328 B2 JP4351328 B2 JP 4351328B2 JP 18320799 A JP18320799 A JP 18320799A JP 18320799 A JP18320799 A JP 18320799A JP 4351328 B2 JP4351328 B2 JP 4351328B2
- Authority
- JP
- Japan
- Prior art keywords
- load module
- internal
- storage means
- file
- memory
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
- Multi Processors (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、システム起動ロードモジュールの起動、管理を行う情報処理装置及びシステム起動管理方法に関する。
【0002】
【従来の技術】
従来の情報処理装置におけるシステム起動管理方法として、特開平6−202923号公報に記載されているものがある。
【0003】
図14は、従来の情報処理装置の構成を示すブロック図である。図14に示す情報処理装置1は、システムから取り外し可能な外部メモリ10と、システム内部に実装された内部メモリ20と、システムにおける主処理を行うプロセッサモジュール30と、プロセッサモジュール30と外部メモリ10、内部メモリ20を結ぶバス等の結合媒体40とから主に構成される。
【0004】
内部メモリ20は、内部にバージョン管理ファイル21を有する。また、プロセッサモジュール30は、内部にCPU50と、主記憶部60とを有する。
【0005】
図15は、従来の情報処理装置におけるバージョン管理ファイル21の内部構造を示す図である。図15に示すように、バージョン管理ファイル21には1つのオブジェクト(プログラム、データ等)のファイル名22が書込まれ、ファイル名22にはバージョン符号23が付随している。
【0006】
次に、従来の情報処理装置のシステム起動管理処理手順について、図16のフロー図を用いて説明する。
【0007】
まず、ステップ(以下、「ST」という)81で、内部メモリ20のバージョン管理ファイル21に書き込まれたオブジェクトのバージョン符号23を読み出す。
【0008】
次に、ST82で、外部メモリ10に記録されたオブジェクトに付随するバージョン符号とを比較する。
【0009】
ST82の比較において変化があればバージョンアップとみなし、ST83で、外部メモリ10から内部メモリ20にオブジェクトを書き移す。
【0010】
そして、ST84で、内部メモリ20からプロセッサモジュール30の主記憶部60にロードを行う。
【0011】
このように、従来の情報処理装置におけるシステム起動管理方法は、オブジェクトのファイル名にバージョン符号を付随させることにより、オブジェクトが変更されたり、バージョンアップした場合における処理時間を短縮している。
【0012】
【発明が解決しようとする課題】
しかしながら、従来の情報処理装置におけるシステム起動管理方法では、内部メモリ内に単一のバージョンのロードモジュールを管理することしかできず、デバッグ時のように、複数バージョンのロードモジュールを入れ替えて使用する場合、その度、外部メモリからロードモジュールを読み込む必要がある。
【0013】
これは、外部メモリが取り外された状態では、単一のロードモジュールでしか起動ができないことを意味する。また、外部メモリは内部メモリに比べ、一般にアクセスが低速であるため、起動に時間がかかってしまうことになる。
【0014】
さらに、システムが運用された後、新しいバージョンのロードモジュールをシステムにインストールする際に、システムが正常に動作しないという障害が発生した場合、正常に動作したロードモジュールを再度ロードし直す必要があるため、復旧に非常に時間がかかってしまい、通信制御装置の様なリアルタイム処理が必要なシステムには不適切である。
【0015】
本発明はかかる点に鑑みてなされたものであり、複数のバージョンのロードモジュールでシステムを起動することができ、かつ、外部メモリが取り外されている状況でも、起動するロードモジュールを容易に特定することができる情報処理装置及びシステム起動管理方法を提供することを目的とする。
【0016】
【課題を解決するための手段】
本発明の情報処理装置は、システムから取り外し可能な外部記憶手段と、システム内部に実装され、複数のバージョンのロードモジュール及びこれらのファイル名を管理する第1管理ファイルを記憶する内部記憶手段と、前記外部記憶手段の実装状態及び前記第1管理ファイルの内容に基づいて、前記外部記憶手段あるいは前記内部記憶手段に記憶された指定ロードモジュールを読み込む複数の起動管理手段とを具備し、一つの起動管理手段が、特定の指定ロードモジュールのファイル名及びそれが記憶されている記憶手段名を内部記憶手段の第2管理ファイルに書込むとともに、指定ロードモジュールを特定した旨のフラグを設定し、他の起動管理手段が、前記第2管理ファイルに書き込まれた内容に従って前記特定の指定ロードモジュールを読み込む、構成を採る。
【0017】
この構成により、複数のバージョンのロードモジュールでシステムを起動することができ、かつ、外部記憶手段が取り外されている状況でも、起動するロードモジュールを容易に特定することができる。さらに、この構成により、マルチプロセッサにおいて全てのCPUが同一のロードモジュールを特定することができる。
【0018】
また、ロードモジュール起動後にロードモジュールに障害がないことをチェックし、その後にバージョン管理ファイルの優先度を変更することにより、常に障害のないロードモジュールでのシステム起動を行うことができる。
【0019】
さらに、障害が発生し、システムが動作しなくなったときでも、バージョン管理ファイルを書き換える時間だけで、別のロードモジュールを起動することができ、システム再起動の時間が短縮される。
【0020】
また、本発明の情報処理装置において、起動管理手段は、外部記憶手段が実装されていない場合、内部記憶手段の第1管理ファイルを参照し、優先度が最も高いロードモジュールを指定ロードモジュールとして読み込む構成を採る。
【0021】
この構成により、外部記憶手段が取り外されている場合において、内部記憶手段に記憶された複数のバージョンのロードモジュールから優先度の高いものを選択して起動することができる。
【0022】
また、本発明の情報処理装置において、起動管理手段は、外部記憶手段の指定ロードモジュールが内部記憶手段にも記憶されている場合、内部記憶手段の指定ロードモジュールを読み込む構成を採る。
【0023】
また、本発明の情報処理装置において、起動管理手段は、内部記憶手段に記憶されていない指定ロードモジュールを外部記憶手段から前記内部記憶手段に複写可能な場合、指定ロードモジュールを前記内部記憶手段に複写した後、前記内部記憶手段から指定ロードモジュールを読み込み、複写不可能な場合、前記外部記憶手段から指定ロードモジュールを読み込む構成を採る。
【0024】
また、本発明の情報処理装置において、起動管理手段は、内部記憶手段の空き容量が指定ロードモジュールのモジュールサイズより大きい場合、外部記憶手段から前記内部記憶手段に指定ロードモジュールを複写可能と判断する構成を採る。
【0025】
また、本発明の情報処理装置において、起動管理手段は、内部記憶手段の空き容量が指定ロードモジュールのモジュールサイズより大きくなるまで、内部記憶手段に既に記憶されているロードモジュールを優先度が低い順に削除する構成を採る。
【0026】
これらの構成により、システム内部に位置する内部記憶手段に対するアクセスが、外部記憶手段に対してアクセスする場合に比べて早いことから、より高速にロードモジュールを読み込むことができる。
【0029】
また、本発明の情報処理装置は、複数系の内部記憶手段及び外部記憶手段を具備し、一つの起動管理手段が、特定の指定ロードモジュールの系のフラグを設定した場合、他の起動管理手段は、前記フラグの系に属する内部記憶手段の第2ファイルに書き込まれた内容に従って前記特定の指定ロードモジュールを読み込む構成を採る。
【0030】
この構成により、外部記憶手段及び内部記憶手段が2重化されたマルチプロセッサにおいて、全てのCPUが同一のロードモジュールを特定することができる。
【0031】
また、本発明のシステム起動管理方法は、システム内部の内部メモリに複数のバージョンのロードモジュールを管理する第1管理ファイルを記憶し、外部メモリの実装状態及び前記第1管理ファイルの内容に基づいて、前記外部メモリあるいは前記内部メモリの指定ロードモジュールを読み込むシステム起動管理方法であって、一つのプロセッサが、特定のロードモジュールのファイル名及びそれが記憶されている記憶メモリ名を内部メモリの第2管理ファイルに書込むとともに、ロードモジュールを特定した旨のフラグを設定し、他のプロセッサが、前記第2管理ファイルに書き込まれた内容に従って前記特定のロードモジュールを読み込む方法を採る。
【0032】
この方法により、複数のバージョンのロードモジュールでシステムを起動することができ、かつ、外部メモリが取り外されている状況でも、起動するロードモジュールを容易に特定することができる。さらに、この方法により、マルチプロセッサにおいて全てのCPUが同一のロードモジュールを特定することができる。
【0033】
また、ロードモジュール起動後にロードモジュールに障害がないことをチェックし、その後にバージョン管理ファイルの優先度を変更することにより、常に障害のないロードモジュールでのシステム起動を行うことができる。
【0034】
さらに、障害が発生し、システムが動作しなくなったときでも、バージョン管理ファイルを書き換える時間だけで、別のロードモジュールを起動することができ、システム再起動の時間が短縮される。
【0035】
また、本発明のシステム起動管理方法は、外部メモリが実装されていない場合、内部メモリの第1管理ファイルを参照し、優先度が最も高いロードモジュールを指定ロードモジュールとして読み込む方法を採る。
【0036】
この方法により、外部メモリが取り外されている場合において、内部メモリに記憶された複数のバージョンのロードモジュールから優先度の高いものを選択して起動することができる。
【0037】
また、本発明のシステム起動管理方法は、外部メモリの指定ロードモジュールが内部メモリにも記憶されている場合、内部メモリの指定ロードモジュールを読み込む方法を採る。
【0038】
また、本発明のシステム起動管理方法は、内部メモリに記憶されていない指定ロードモジュールを外部メモリから前記内部メモリに複写可能な場合、指定ロードモジュールを前記内部メモリに複写した後、複写された指定ロードモジュールを読み込み、複写不可能な場合、前記外部メモリから指定ロードモジュールを読み込む方法を採る。
【0039】
これらの方法により、システム内部に位置する内部メモリに対するアクセスが、外部メモリに対してアクセスする場合に比べて早いことから、より高速にロードモジュールを読み込むことができる。
【0042】
また、本発明のシステム起動管理方法は、複数系の内部メモリ及び外部メモリを具備し、一つのプロセッサが、特定のロードモジュールの系のフラグを設定した場合、他のプロセッサは、前記フラグの系に属する内部メモリの第2ファイルに書き込まれた内容に従って前記特定のロードモジュールを読み込む方法を採る。
【0043】
この方法により、外部メモリ及び内部メモリが2重化されたマルチプロセッサにおいて全てのCPUが同一のロードモジュールを特定することができる。
【0044】
【発明の実施の形態】
本発明の骨子は、複数のバージョンのロードモジュール及びこれらを管理するバージョン管理ファイルを内部メモリ内に設け、外部メモリの実装状態及びバージョン管理ファイルの内容に基づいて、起動するロードモジュールを特定することである。
【0045】
以下、本発明の実施の形態について、添付図面を参照して詳細に説明する。
【0046】
(実施の形態1)
図1は、実施の形態1に係る情報処理装置の構成を示すブロック図である。図1に示す情報処理装置100は、システムから取り外し可能な外部メモリ110と、システム内部に実装された内部メモリ120と、システムにおける主処理を行うプロセッサモジュール130と、プロセッサモジュール130と外部メモリ110、内部メモリ120を結ぶバス等の結合媒体140とから主に構成される。
【0047】
プロセッサモジュール130は、内部にCPU150と、主記憶部160とを有する。なお、CPU150と主記憶部160との間にキャッシュを設けることもできる。キャッシュとは、小容量のの高速半導体メモリであって、低速大容量のコアメモリを援助するものである。
【0048】
図2は、実施の形態1に係る情報処理装置の外部メモリ110のファイルイメージを示す図である。図2に示すように、外部メモリ110には、保守者により書き込まれるロードモジュール指定ファイル111及びシステムの起動を行うロードモジュール112が格納されている。なお、外部メモリには複数のロードモジュールを格納することができる。ただし、ユーザが指定できるロードモジュールは1つであるので、説明を簡単にするために、図2では、1つのロードモジュール112を記載している。
【0049】
図3は、実施の形態1に係る情報処理装置のロードモジュール指定ファイル111の内部構造を示す図である。図3に示すように、ロードモジュール指定ファイル111の1行目には、ロードモジュール名、日付等で表され、保守者またはシステム管理者により特定されるロードモジュール112の識別子116がテキスト形式で書き込まれている。ロードモジュール指定ファイル内の記述を識別子の羅列という簡単な形式にすることにより、保守者が簡単にファイルの更新を行うことができる。
【0050】
図4は、実施の形態1に係る情報処理装置の内部メモリ120のファイルイメージを示す図である。図4に示すように、内部メモリ120には、システム起動時に自動で書き込まれるバージョン管理ファイル121及び1又は複数のロードモジュール122が格納されている。
【0051】
図5は、実施の形態1に係る情報処理装置のバージョン管理ファイル121の内部構造を示す図である。図5に示すように、バージョン管理ファイル121には、ロードモジュール指定ファイル111と同様に、ロードモジュール122の識別子126がシステム固定の数分、または不定数、テキスト形式で1行目から順に列挙されている。この識別子の順番が優先度を表しており、バージョン管理ファイル121は、優先度が高いロードモジュールの識別子を上位に書き込む構成となっている。
【0052】
図6は、実施の形態1に係る情報処理装置のCPU150の機能ブロック図である。
【0053】
図6において、外部メモリ実装判定部151は、システムに外部メモリ110が実装されているか否かを判定し、外部メモリ110が実装されている場合、その旨の信号をロードモジュール特定部152に出力し、外部メモリ110が実装されていない場合、その旨の信号をロード実行部153に出力する。
【0054】
ロードモジュール特定部152は、ロードモジュール指定ファイル111のロードモジュール112の識別子116とバージョン管理ファイル121に登録された各ロードモジュール122の識別子126とを比較し、識別子が一致するロードモジュールが存在する場合、その旨の信号をロード実行部153に出力する。
【0055】
また、ロードモジュール特定部152は、識別子が一致するロードモジュールが存在しない場合、ロードモジュール指定ファイル111の指定ロードモジュールのモジュールサイズとバージョン管理ファイル121の残容量とを比較し、指定ロードモジュールを内部メモリ120に書込み可能な場合、その旨の信号をロードモジュール複写部154に出力し、書込み不可能な場合、その旨の信号をロード実行部153に出力する。
【0056】
ロード実行部153は、各部から入力した信号の種類に応じて、内部メモリ120のロードモジュール122、あるいは、外部メモリ110のロードモジュール112を主記憶部160に書込む。
【0057】
ロードモジュール複写部154は、ロードモジュール特定部152からの指示に基づいて、外部メモリ110から読み込んだロードモジュール112を内部メモリ120に複写し、バージョン管理ファイル121にロードモジュールの識別子を追加する。
【0058】
次に、実施の形態1に係る情報処理装置のCPU150におけるシステム起動管理処理手順について、図7のフロー図を用いて説明する。
【0059】
まず、CPU150にリセット信号が入力されると、ステップ(以下、「ST」という)201で、外部メモリ実装判定部151が、システムに外部メモリ110が実装されているか否かを判定する。
【0060】
ST201において、外部メモリ110が実装されていないと判定された場合、ST202で、ロード実行部153が、内部メモリ120のバージョン管理ファイル121を参照し、ロードモジュール122の中で優先度が最も高いものを主記憶部160に書込む。
【0061】
一方、ST201において、外部メモリ110が実装されていないと判定された場合、ST203で、ロードモジュール特定部152が、ロードモジュール指定ファイル111に書かれたバージョンを示すロードモジュールの識別子116とバージョン管理ファイル121に登録されたロードモジュール識別子126とを比較し、識別子が一致するロードモジュールが存在するか否かを検索する。
【0062】
ST203において、識別子が一致するロードモジュールが存在しなかった場合、ST204で、ロードモジュール特定部152が、外部メモリ110のロードモジュール112のモジュールサイズと内部メモリ120の残容量とを比較して、外部メモリ110のロードモジュール122を内部メモリ120に複写することが可能か否かを判定する。
【0063】
ST204において、内部メモリ120の残容量がロードモジュール112のモジュールサイズより小さい場合、ST205で、ロードモジュール特定部152が、内部メモリ120のロードモジュール122を優先度の低い順に検索し、検索したロードモジュールを削除した場合に外部メモリ110のロードモジュール112を複写することが可能か否かを判定する。
【0064】
ST205において、削除してもロードモジュール112を複写することが不可能である場合、ST206で、ロード実行部153が、外部メモリ110のロードモジュール122を主記憶部160に書込む。
【0065】
ST205において、削除すればロードモジュール112を複写することが可能である場合、ST207で、ロードモジュール複写部154が、バージョン管理ファイル121から検索されたロードモジュール122を削除する。
【0066】
ST204において、内部メモリ120の残容量がロードモジュールのモジュールサイズより大きい場合、又は、ST207で検索ロードモジュールを削除した後、ロードモジュール複写部154が、外部メモリ110から内部メモリ120にロードモジュールを複写し、バージョン管理ファイル121に指定ロードモジュールを追加する。これは、システム内部に位置する内部メモリに対するアクセスが、外部メモリに対してアクセスする場合に比べて早いことから、より高速にロードモジュールを読み込むためである。
【0067】
ST203において、識別子が一致するロードモジュールが存在する場合、又は、ST208でロードモジュールを書込んだ後、ST209で、ロード実行部153が、内部メモリ120内のロードモジュールを主記憶部160に書込む。
【0068】
このように、複数のロードモジュールを内部メモリに蓄え、バージョン管理ファイルを更新することにより、複数のバージョンのロードモジュールでシステムを起動することができ、かつ、外部メモリが取り外されている状況でも、起動するロードモジュールを保守者により容易に特定できる。
【0069】
また、ロードモジュール起動後にロードモジュールに障害がないことをチェックし、その後にバージョン管理ファイルの優先度を変更することにより、常に障害のないロードモジュールでのシステム起動を行うことができる。
【0070】
さらに、障害が発生し、システムが動作しなくなったときでも、バージョン管理ファイルを書き換える時間だけで、別のロードモジュールを起動することができ、システム再起動の時間が短縮される。
【0071】
(実施の形態2)
図8は、実施の形態2に係る情報処理装置の構成を示すブロック図である。なお、図8に示す情報処理装置300において、図1に示した情報処理装置100と共通する構成部分については、図1と同一の符号を付して説明を省略する。
【0072】
図8に示す情報処理装置300は、図1に示した情報処理装置100と比較して、内部メモリ120の代りに内部構成を異にする内部メモリ320を備えている。また、情報処理装置300は、複数のプロセッサモジュールを実装したマルチプロセッサ構成を採り、その中の1つをマスタプロセッサモジュール130として定め、他をスレーブプロセッサモジュール330としている。
【0073】
スレーブプロセッサモジュール330は、内部にCPU350、主記憶部360とを有する。
【0074】
また、情報処理装置300は、マスタCPU150がロードモジュールを特定したことを示すフラグ370を有する。フラグ370は、全CPUから読み出し可能である。なお、情報処理装置300は、フラグ370を内部メモリ320内にファイルとして持たせることもできる。
【0075】
また、情報処理装置300には、マスタCPU150を特定する機構が備わっているものとし、システム起動管理処理を開始する際にはマスタCPU150、スレーブCPU350が決定されている。
【0076】
図9は、実施の形態2に係る情報処理装置の内部メモリ320のファイルイメージを示す図である。図9に示すように、内部メモリ320には、バージョン管理ファイル121及び複数のロードモジュール122に加えて、マスタCPU150により書込まれる特定ロードモジュール書込みファイル323が格納されている。
【0077】
図10は、実施の形態2に係る情報処理装置の特定ロードモジュール書込みファイル323の内部構造を示す図である。図10に示すように、特定ロードモジュール書込みファイル323には、マスタCPU150により特定されたロードモジュールが記憶されている記憶部を示す記号326がテキスト形式で1行目に書込まれ、さらに、特定されたロードモジュールのロードモジュール識別子327がテキスト形式で2行目以降に書込まれる。
【0078】
マスタCPU150が特定ロードモジュール書込みファイル323を書込んだ後、スレーブCPU350がこの特定ロードモジュール書込みファイル323を読み込むことにより、全CPUが特定ロードモジュール及び特定ロードモジュールが記憶されている記憶部を知ることができる。
【0079】
図11は、実施の形態2に係る情報処理装置のマスタCPU150の機能ブロック図である。なお、図11に示すマスタCPU150において、図6と共通する構成部分については、図6と同一の符号を付して説明を省略する。
【0080】
図11に示すマスタCPU150は、図6にロードモジュール書込み部355及びフラグ設定部356を追加した構成を採る。
【0081】
ロードモジュール書込み部355は、ロード実行部153が主記憶部160に対するロードモジュールの書込みを完了した後、図10に示したように内部メモリ320の特定ロードモジュール書込みファイル323に書込みを行う。
【0082】
フラグ設定部356は、ロード実行部153が主記憶部160に対するロードモジュールの書込みを完了した後、フラグ370を設定する。
【0083】
次に、実施の形態2に係る情報処理装置のスレーブCPU350におけるシステム起動管理処理手順について、図12のフロー図を用いて説明する。
【0084】
まず、前提として、マスタCPU150が、上記図7に示したフロー図にしたがってロードを実行した後、内部メモリ320に特定ロードモジュール書込みファイル323を書込み、フラグ370を設定する。
【0085】
ST401で、スレーブCPU350は、フラグ370がセットされるまで待機し、フラグ370がセットされると、ST402で、内部メモリ320に特定ロードモジュール書込みファイル323の内容を読み込む。
【0086】
次に、ST403で、スレーブCPU350は、特定ロードモジュール書込みファイル323の内容に従って、指定された記憶部から特定ロードモジュールを読み込んで、主記憶部360に書込む。
【0087】
このように、マスタCPUが、特定ロードモジュール書込みファイルに書込みを行い、フラグを設定することにより、マルチプロセッサにおいて全てのCPUが同一のロードモジュールを特定することができる。
【0088】
(実施の形態3)
図13は、実施の形態3に係る情報処理装置の構成を示すブロック図である。
【0089】
図13に示す情報処理装置500は、図8に示した情報処理装置300と比較して、外部メモリ、内部メモリ及びフラグが、運用系と待機系の2つの系に2重化されている。
【0090】
両系の内部メモリ520の間には、予め優先度が決められている。一般的には、運用系の方が待機系よりも優先度が高い。
【0091】
外部メモリ実装判定部151は、システムに外部メモリ110が実装されているか否かを判定し、いずれかの系が実装されている場合、実装されている系を示す信号をロードモジュール特定部152に出力し、どちらの系も実装されていない場合、その旨の信号をロード実行部153に出力する。
【0092】
ロード実行部153は、外部メモリ実装判定部151から、どちらの系も実装されていない旨を示す信号を入力した場合、優先度が高い系の内部メモリ520のバージョン管理ファイル121を参照し、ロードモジュール122の中で優先度が最も高いものを主記憶部160に書込む。また、ロード実行部153は、優先度が高い系の内部メモリ520にロードモジュール122が登録されていない場合には、優先度が低い系に対して処理を行う。
【0093】
以下、特定されたロードモジュールが記憶されている記憶部が属する系を指定系という。
【0094】
ロードモジュール書込み部355は、ロード実行部153が主記憶部160に対するロードモジュールの書込みを完了した後、指定系の内部メモリ520の特定ロードモジュール書込みファイルに書込みを行う。
【0095】
フラグ設定部356は、ロード実行部153が主記憶部160に対するロードモジュールの書込みを完了した後、指定系のフラグ570を設定する。
【0096】
スレーブCPU350は、指定系のフラグ570がセットされると、指定系の内部メモリ520の特定ロードモジュール書込みファイルを読み込み、その情報に従って、指定された記憶部から特定ロードモジュールを読み込んで、主記憶部360に書込む。
【0097】
なお、図13示す情報処理装置500における各構成部のその他の動作は、図8に示した情報処理装置300と共通するので説明を省略する。
【0098】
このように、内部メモリの優先度を予め決定することにより、外部メモリ及び内部メモリが2重化されたマルチプロセッサにおいて全てのCPUが同一のロードモジュールを特定することができる。
【0099】
なお、上記実施の形態3においては、外部メモリ、内部メモリ及びフラグのみを2重化したが、本発明はこれに限られず、情報処理装置全体を2重化することもできる。
【0100】
【発明の効果】
以上説明したように、本発明の情報処理装置及びシステム起動管理方法によれば、複数のバージョンのロードモジュールでシステムを起動することができ、かつ、外部メモリが取り外されている状況でも、起動するロードモジュールを容易に特定することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1に係る情報処理装置の構成を示すブロック図
【図2】実施の形態1に係る情報処理装置の外部メモリのファイルイメージを示す図
【図3】実施の形態1に係る情報処理装置のロードモジュール指定ファイルの内部構造を示す図
【図4】実施の形態1に係る情報処理装置の内部メモリのファイルイメージを示す図
【図5】実施の形態1に係る情報処理装置のバージョン管理ファイルの内部構造を示す図
【図6】実施の形態1に係る情報処理装置のCPUの機能ブロック図
【図7】実施の形態1に係る情報処理装置のCPUにおけるシステム起動管理処理手順を示すフロー図
【図8】本発明の実施の形態2に係る情報処理装置の構成を示すブロック図
【図9】実施の形態2に係る情報処理装置の内部メモリのファイルイメージを示す図
【図10】実施の形態2に係る情報処理装置の特定ロードモジュール書込みファイルの内部構造を示す図
【図11】実施の形態2に係る情報処理装置のマスタCPUの機能ブロック図
【図12】実施の形態2に係る情報処理装置のスレーブCPUにおけるシステム起動管理処理手順を示すフロー図
【図13】本発明の実施の形態3に係る情報処理装置の構成を示すブロック図
【図14】従来の情報処理装置の構成を示すブロック図
【図15】従来の情報処理装置におけるバージョン管理ファイルの内部構造を示す図
【図16】従来の情報処理装置のシステム起動管理処理手順を示すフロー図
【符号の説明】
100、300、500 情報処理装置
110、510 外部メモリ
120、320、520 内部メモリ
121 バージョン管理ファイル
130、330 プロセッサモジュール
150、350 CPU
151 外部メモリ実装判定部
152 ロードモジュール特定部
153 ロード実行部
154 ロードモジュール複写部
160、360 主記憶部
323 特定ロードモジュール書込みファイル
355 ロードモジュール書込み部
356 フラグ設定部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus and a system activation management method for activating and managing a system activation load module.
[0002]
[Prior art]
As a system activation management method in a conventional information processing apparatus, there is one described in JP-A-6-202923.
[0003]
FIG. 14 is a block diagram showing a configuration of a conventional information processing apparatus. The
[0004]
The
[0005]
FIG. 15 is a diagram showing the internal structure of the
[0006]
Next, a system activation management process procedure of a conventional information processing apparatus will be described with reference to the flowchart of FIG.
[0007]
First, in step (hereinafter referred to as “ST”) 81, the
[0008]
Next, in ST82, the version code associated with the object recorded in the
[0009]
If there is a change in the comparison in ST82, it is regarded as version upgrade, and the object is transferred from the
[0010]
In ST84, loading from the
[0011]
As described above, the system activation management method in the conventional information processing apparatus shortens the processing time when the object is changed or upgraded by attaching the version code to the file name of the object.
[0012]
[Problems to be solved by the invention]
However, with the system activation management method in the conventional information processing apparatus, only a single version of the load module can be managed in the internal memory, and when multiple versions of the load module are used interchangeably as in debugging Each time, it is necessary to read the load module from the external memory.
[0013]
This means that only a single load module can be started when the external memory is removed. In addition, since the external memory is generally accessed at a lower speed than the internal memory, it takes time to start.
[0014]
In addition, when a new version of a load module is installed in the system after the system is operated, if a failure occurs that prevents the system from operating normally, it is necessary to reload the load module that worked normally. Recovery is very time consuming and is not suitable for systems that require real-time processing such as communication control devices.
[0015]
The present invention has been made in view of the above points, and the system can be started with a plurality of versions of load modules, and the load module to be started can be easily specified even when the external memory is removed. It is an object of the present invention to provide an information processing apparatus and a system activation management method that can be used.
[0016]
[Means for Solving the Problems]
An information processing apparatus according to the present invention includes an external storage unit that is removable from the system, an internal storage unit that is mounted in the system and stores a plurality of versions of load modules and a first management file that manages these file names, Based on the mounting state of the external storage means and the contents of the first management file, the designated load module stored in the external storage means or the internal storage means is read.pluralWith startup management meansOne start management means writes the file name of a specific designated load module and the name of the storage means in which it is stored in the second management file of the internal storage means, and indicates that the designated load module has been specified. And another start management means reads the specific designated load module according to the contents written in the second management file.Take the configuration.
[0017]
With this configuration, the system can be started with a plurality of versions of load modules, and the load modules to be started can be easily specified even when the external storage unit is removed.Further, with this configuration, all CPUs in the multiprocessor can specify the same load module.
[0018]
Further, by checking that there is no failure in the load module after starting the load module, and then changing the priority of the version management file, it is possible to always start the system with the load module without failure.
[0019]
Furthermore, even when a failure occurs and the system becomes inoperable, another load module can be activated only by rewriting the version management file, and the system restart time is shortened.
[0020]
In the information processing apparatus of the present invention, when the external storage unit is not mounted, the activation management unit refers to the first management file in the internal storage unit and reads the load module with the highest priority as the designated load module. Take the configuration.
[0021]
With this configuration, when the external storage unit is removed, it is possible to select and activate a high-priority load module from a plurality of versions of load modules stored in the internal storage unit.
[0022]
In the information processing apparatus according to the present invention, the activation management unit adopts a configuration in which the designated load module of the internal storage unit is read when the designated load module of the external storage unit is also stored in the internal storage unit.
[0023]
In the information processing apparatus according to the present invention, the activation management unit may copy the designated load module that is not stored in the internal storage unit from the external storage unit to the internal storage unit. After copying, the designated load module is read from the internal storage means. When copying is impossible, the designated load module is read from the external storage means.
[0024]
In the information processing apparatus of the present invention, the activation management unit determines that the designated load module can be copied from the external storage unit to the internal storage unit when the free capacity of the internal storage unit is larger than the module size of the designated load module. Take the configuration.
[0025]
Further, in the information processing apparatus of the present invention, the activation management unit selects the load modules already stored in the internal storage unit in order of decreasing priority until the free capacity of the internal storage unit becomes larger than the module size of the designated load module. Use a configuration to delete.
[0026]
With these configurations, since the access to the internal storage means located in the system is faster than the access to the external storage means, the load module can be read at a higher speed.
[0029]
The information processing apparatus of the present invention includes a plurality of internal storage means and external storage means, and when one activation management means sets a system flag for a specific designated load module, other activation management means Adopts a configuration in which the specific designated load module is read in accordance with the contents written in the second file of the internal storage means belonging to the flag system.
[0030]
With this configuration, all CPUs can specify the same load module in the multiprocessor in which the external storage means and the internal storage means are duplicated.
[0031]
The system activation management method of the present invention stores a first management file for managing a plurality of versions of load modules in an internal memory inside the system, and is based on the external memory mounting state and the contents of the first management file. Read the specified load module of the external memory or the internal memoryA system activation management method, in which one processor writes a file name of a specific load module and a storage memory name in which it is stored in a second management file in the internal memory and specifies that the load module is specified A flag is set, and another processor reads the specific load module according to the contents written in the second management file.Take the method.
[0032]
By this method, the system can be started with a plurality of versions of load modules, and the load modules to be started can be easily specified even in a situation where the external memory is removed.Further, this method allows all CPUs in the multiprocessor to specify the same load module.
[0033]
Further, by checking that there is no failure in the load module after starting the load module, and then changing the priority of the version management file, it is possible to always start the system with the load module without failure.
[0034]
Furthermore, even when a failure occurs and the system becomes inoperable, another load module can be activated only by rewriting the version management file, and the system restart time is shortened.
[0035]
The system activation management method according to the present invention employs a method of referring to the first management file in the internal memory and reading the load module having the highest priority as the designated load module when the external memory is not mounted.
[0036]
By this method, when the external memory is removed, it is possible to select and activate a high-priority load module from a plurality of versions of load modules stored in the internal memory.
[0037]
The system activation management method according to the present invention adopts a method of reading the designated load module in the internal memory when the designated load module in the external memory is also stored in the internal memory.
[0038]
Further, the system activation management method of the present invention can copy a designated load module after copying the designated load module to the internal memory when the designated load module not stored in the internal memory can be copied from the external memory to the internal memory. When the load module is read and copying is impossible, a method of reading the designated load module from the external memory is adopted.
[0039]
By these methods, since the access to the internal memory located in the system is faster than the access to the external memory, the load module can be read at a higher speed.
[0042]
The system activation management method according to the present invention includes a plurality of internal memories and external memories. When one processor sets a flag for a specific load module, the other processor uses the flag system. The specific load module is read in accordance with the contents written in the second file in the internal memory belonging to.
[0043]
By this method, all CPUs can specify the same load module in the multiprocessor in which the external memory and the internal memory are duplicated.
[0044]
DETAILED DESCRIPTION OF THE INVENTION
The essence of the present invention is that a plurality of versions of load modules and version management files for managing them are provided in the internal memory, and the load module to be activated is specified based on the mounting state of the external memory and the contents of the version management file. It is.
[0045]
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0046]
(Embodiment 1)
FIG. 1 is a block diagram illustrating a configuration of the information processing apparatus according to the first embodiment. An
[0047]
The
[0048]
FIG. 2 is a diagram illustrating a file image in the
[0049]
FIG. 3 is a diagram showing an internal structure of the load
[0050]
FIG. 4 is a diagram showing a file image of the
[0051]
FIG. 5 is a diagram showing an internal structure of the
[0052]
FIG. 6 is a functional block diagram of the
[0053]
In FIG. 6, the external memory mounting
[0054]
The load
[0055]
Also, when there is no load module with the same identifier, the load
[0056]
The
[0057]
The load
[0058]
Next, a system activation management processing procedure in the
[0059]
First, when a reset signal is input to the
[0060]
When it is determined in ST201 that the
[0061]
On the other hand, when it is determined in ST201 that the
[0062]
In ST203, when there is no load module having the same identifier, in ST204, the load
[0063]
In ST204, when the remaining capacity of the
[0064]
In ST205, if it is impossible to copy the
[0065]
In ST205, if it is possible to copy the
[0066]
In ST204, when the remaining capacity of the
[0067]
In ST203, when there is a load module with the same identifier, or after writing the load module in ST208, in ST209, the
[0068]
In this way, by storing multiple load modules in the internal memory and updating the version control file, the system can be started with multiple versions of load modules, and even when the external memory is removed, The load module to be activated can be easily identified by the maintenance person.
[0069]
Further, by checking that there is no failure in the load module after starting the load module, and then changing the priority of the version management file, it is possible to always start the system with the load module without failure.
[0070]
Furthermore, even when a failure occurs and the system becomes inoperable, another load module can be activated only by rewriting the version management file, and the system restart time is shortened.
[0071]
(Embodiment 2)
FIG. 8 is a block diagram illustrating a configuration of the information processing apparatus according to the second embodiment. In the
[0072]
The
[0073]
The
[0074]
In addition, the
[0075]
Further, it is assumed that the
[0076]
FIG. 9 is a diagram showing a file image of the
[0077]
FIG. 10 is a diagram showing an internal structure of the specific load
[0078]
After the
[0079]
FIG. 11 is a functional block diagram of the
[0080]
The
[0081]
The load
[0082]
The
[0083]
Next, a system activation management processing procedure in the
[0084]
First, as a premise, the
[0085]
In ST401, the
[0086]
Next, in ST403,
[0087]
Thus, the master CPU writes to the specific load module write file and sets the flag, so that all CPUs in the multiprocessor can specify the same load module.
[0088]
(Embodiment 3)
FIG. 13 is a block diagram illustrating a configuration of the information processing apparatus according to the third embodiment.
[0089]
Compared with the
[0090]
Priorities are determined in advance between the
[0091]
The external memory mounting
[0092]
When the
[0093]
Hereinafter, the system to which the storage unit storing the specified load module belongs is referred to as a designated system.
[0094]
The load
[0095]
The
[0096]
When the designated system flag 570 is set, the
[0097]
The other operations of the components in the
[0098]
Thus, by determining the priority of the internal memory in advance, all CPUs can specify the same load module in the multiprocessor in which the external memory and the internal memory are duplicated.
[0099]
In the third embodiment, only the external memory, the internal memory, and the flag are duplexed. However, the present invention is not limited to this, and the entire information processing apparatus can be duplexed.
[0100]
【The invention's effect】
As described above, according to the information processing apparatus and the system activation management method of the present invention, the system can be activated with a plurality of versions of load modules and can be activated even when the external memory is removed. The load module can be easily specified.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a diagram showing a file image of an external memory of the information processing apparatus according to the first embodiment
FIG. 3 is a diagram showing an internal structure of a load module designation file of the information processing apparatus according to the first embodiment
FIG. 4 is a diagram showing a file image of an internal memory of the information processing apparatus according to the first embodiment.
FIG. 5 is a diagram showing an internal structure of a version management file of the information processing apparatus according to the first embodiment
FIG. 6 is a functional block diagram of a CPU of the information processing apparatus according to the first embodiment.
FIG. 7 is a flowchart showing a system activation management processing procedure in the CPU of the information processing apparatus according to the first embodiment;
FIG. 8 is a block diagram showing a configuration of an information processing apparatus according to a second embodiment of the present invention.
FIG. 9 is a diagram showing a file image of an internal memory of the information processing apparatus according to the second embodiment.
FIG. 10 is a diagram showing an internal structure of a specific load module write file of the information processing apparatus according to the second embodiment
FIG. 11 is a functional block diagram of a master CPU of the information processing apparatus according to the second embodiment.
FIG. 12 is a flowchart showing a system activation management process procedure in the slave CPU of the information processing apparatus according to the second embodiment;
FIG. 13 is a block diagram showing a configuration of an information processing apparatus according to
FIG. 14 is a block diagram illustrating a configuration of a conventional information processing apparatus.
FIG. 15 is a diagram showing an internal structure of a version management file in a conventional information processing apparatus
FIG. 16 is a flowchart showing a system activation management processing procedure of a conventional information processing apparatus.
[Explanation of symbols]
100, 300, 500 Information processing apparatus
110, 510 External memory
120, 320, 520 Internal memory
121 Version control file
130, 330 processor module
150, 350 CPU
151 External memory mounting determination unit
152 Load module specific part
153 Load execution part
154 Load module copy section
160, 360 Main memory
323 Specific load module write file
355 Load module writing part
356 Flag setting part
Claims (12)
一つの起動管理手段が、特定の指定ロードモジュールのファイル名及びそれが記憶されている記憶手段名を内部記憶手段の第2管理ファイルに書込むとともに、指定ロードモジュールを特定した旨のフラグを設定し、他の起動管理手段が、前記第2管理ファイルに書き込まれた内容に従って前記特定の指定ロードモジュールを読み込む、ことを特徴とする情報処理装置。External storage means removable from the system, internal storage means mounted in the system for managing a plurality of versions of load modules, the mounting state of the external storage means, and the first management file based of the contents, and a plurality of activation management means for reading the specified load modules stored in the external storage means or the internal storage means,
One activation management means writes the file name of a specific designated load module and the name of the storage means in which it is stored in the second management file of the internal storage means, and sets a flag indicating that the designated load module has been identified. Then, the other activation management means reads the specific designated load module according to the contents written in the second management file .
一つのプロセッサが、特定のロードモジュールのファイル名及びそれが記憶されている記憶メモリ名を内部メモリの第2管理ファイルに書込むとともに、ロードモジュールを特定した旨のフラグを設定し、他のプロセッサが、前記第2管理ファイルに書き込まれた内容に従って前記特定のロードモジュールを読み込むことを特徴とするシステム起動管理方法。A first management file for managing a plurality of versions of load modules is stored in an internal memory in the system, and a designated load of the external memory or the internal memory is performed based on the mounting state of the external memory and the contents of the first management file A system activation management method for loading a module ,
One processor writes the file name of a specific load module and the name of the storage memory in which it is stored in the second management file in the internal memory, and sets a flag indicating that the load module has been specified. Reading the specific load module according to the contents written in the second management file .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18320799A JP4351328B2 (en) | 1999-06-29 | 1999-06-29 | Information processing apparatus and system activation management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18320799A JP4351328B2 (en) | 1999-06-29 | 1999-06-29 | Information processing apparatus and system activation management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001014167A JP2001014167A (en) | 2001-01-19 |
| JP4351328B2 true JP4351328B2 (en) | 2009-10-28 |
Family
ID=16131661
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18320799A Expired - Fee Related JP4351328B2 (en) | 1999-06-29 | 1999-06-29 | Information processing apparatus and system activation management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4351328B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5290064B2 (en) * | 2009-06-17 | 2013-09-18 | 株式会社東京証券取引所 | Software switching device, software switching method and program thereof |
| CN109976812B (en) * | 2017-12-27 | 2022-07-12 | 合肥杰发科技有限公司 | Vehicle starting method and system, vehicle and device with storage function |
-
1999
- 1999-06-29 JP JP18320799A patent/JP4351328B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001014167A (en) | 2001-01-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6772421B2 (en) | Information processing apparatus and method therefor of binding common data between processes based on common data search results, and recording medium | |
| CN116909490B (en) | Data processing method, device, storage system and computer readable storage medium | |
| US6658541B2 (en) | Computer system and a database access method thereof | |
| JPH07152641A (en) | Program cache device | |
| JP4351328B2 (en) | Information processing apparatus and system activation management method | |
| JPH0997139A (en) | Flash ROM management method and apparatus and computer control apparatus | |
| JP2000293391A (en) | Large-scale memory system management method and apparatus | |
| JPH0997206A (en) | Flash ROM management method and apparatus and computer control apparatus | |
| JP3832933B2 (en) | Information processing apparatus and method, operating system, and storage medium | |
| JP2003241981A (en) | Data transfer method between computers | |
| JP3460265B2 (en) | Data transfer method between computers | |
| JP2850857B2 (en) | Data storage area management system | |
| JPH06214839A (en) | File management method | |
| JPS5856277A (en) | Method and device for information processing | |
| JP2019139612A (en) | Information processing device, and method for controlling information processing device | |
| WO2025261233A1 (en) | Method for determining difference of file before and after change, and related apparatus | |
| JPH02161514A (en) | Control processing system for idle storage block | |
| JPH0997314A (en) | IC card device | |
| JPH11237959A (en) | Multiple write storage | |
| WO2011004634A1 (en) | File management method, computer, and file management program | |
| JP2003036201A (en) | Memory access management device | |
| JPH05225055A (en) | Information processing equipment | |
| JP2010061253A (en) | Memory management server and method, and program | |
| JP2010277184A (en) | Information processing apparatus, information processing method, and information processing program | |
| JPH0944405A (en) | Electronic computer system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060327 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081105 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090414 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090608 |
|
| 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: 20090630 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090724 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120731 Year of fee payment: 3 |
|
| 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: 20120731 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130731 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |