JP5290064B2 - Software switching device, software switching method and program thereof - Google Patents

Software switching device, software switching method and program thereof Download PDF

Info

Publication number
JP5290064B2
JP5290064B2 JP2009144677A JP2009144677A JP5290064B2 JP 5290064 B2 JP5290064 B2 JP 5290064B2 JP 2009144677 A JP2009144677 A JP 2009144677A JP 2009144677 A JP2009144677 A JP 2009144677A JP 5290064 B2 JP5290064 B2 JP 5290064B2
Authority
JP
Japan
Prior art keywords
software
target software
activation
intermediate file
environment
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
JP2009144677A
Other languages
Japanese (ja)
Other versions
JP2011002969A (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
Fujitsu Social Science Labs Ltd
Tokyo Stock Exchange Inc
Original Assignee
Fujitsu Ltd
Fujitsu Social Science Labs Ltd
Tokyo Stock Exchange Inc
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, Fujitsu Social Science Labs Ltd, Tokyo Stock Exchange Inc filed Critical Fujitsu Ltd
Priority to JP2009144677A priority Critical patent/JP5290064B2/en
Publication of JP2011002969A publication Critical patent/JP2011002969A/en
Application granted granted Critical
Publication of JP5290064B2 publication Critical patent/JP5290064B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、複数のソフトウェアのうちの起動対象を切り替えるソフトウェア切り替え装置及びソフトウェア切り替え方法並びにそのプログラムに関する。   The present invention relates to a software switching device, a software switching method, and a program for switching an activation target among a plurality of software.

ソフトウェアの改善・修正に基づいて、既に利用されてきたソフトウェアから、改善・修正後のソフトウェアへの更新作業が、多くのコンピュータシステムで行われている。ここで、このソフトウェアの更新作業においては、改善・修正後のソフトウェアに対して、障害原因の混入有無の確認や、動作確認テストを実施し、障害の発生しないことが確認された改善・修正後のソフトウェアを用いて行うことが必要である。そして、このような更新作業は、例えば既に利用されてきたソフトウェアのプログラムのファイルに対して、改善・修正後のソフトウェアのプログラムのファイルを上書きコピーなどして、行うことが多い。なお、ソフトウェアプログラムの更新に関する技術が特許文献1に開示されている。   On the basis of software improvements / modifications, many computers have been updated from software that has already been used to software that has been improved / modified. Here, in this software update work, after the improvement / correction, it was confirmed that the failure did not occur by confirming the presence or absence of the cause of the failure and the operation check test for the improved / corrected software. It is necessary to carry out using this software. Such an update operation is often performed, for example, by overwriting a software program file that has been improved or modified with respect to a software program file that has already been used. Patent Document 1 discloses a technique related to software program update.

特許第3225999号公報Japanese Patent No. 3225999

ここで、ソフトウェアの更新作業において、改善・修正後のソフトウェアに対して、障害原因の混入有無の確認や、動作確認テストを実施したとしても、時間的制限や、テスト対象項目の特定誤りなどにより、必ずしも改善・修正後のソフトウェアに対する全ての障害原因の混入の有無を確認できるとは限らない。したがって、このような障害原因が混入してしまっている改善・修正後のソフトウェアを用いてソフトウェアの更新作業を行ってしまった場合の復旧作業をより迅速に行う必要がある。   Here, in software update work, even if a failure cause is mixed in or the operation check test is performed on the software that has been improved or corrected, due to time restrictions or a specific error in the test target item, etc. However, it is not always possible to confirm the presence / absence of all fault causes in the improved / modified software. Therefore, it is necessary to perform a recovery operation more quickly when the software update operation is performed using the improved / corrected software in which the cause of the failure is mixed.

そこでこの発明は、ソフトウェア更新時に、改善・修正後のソフトウェアの動作に障害が発生した場合の復旧作業を、より迅速に行うことのできるソフトウェア切り替え装置及びソフトウェア切り替え方法並びにそのプログラムを提供することを目的としている。   Therefore, the present invention provides a software switching device, a software switching method, and a program thereof that can more quickly perform a recovery operation when a failure occurs in the operation of software after improvement / correction during software update. It is aimed.

上記目的を達成するために、本発明は、複数の起動対象ソフトウェアを記憶する起動対象ソフトウェア記憶手段と、前記複数の起動対象ソフトウェアのうちの1つの起動対象ソフトウェアを記述した中間ファイルを記憶する中間ファイル記憶手段と、前記中間ファイルに記述されている起動対象ソフトウェアの情報を読み取って、前記起動対象ソフトウェアを検知し、当該起動対象ソフトウェアに起動要求を行う起動要求手段と、前記起動対象ソフトウェアの動作障害を検出する動作障害検出手段と、前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている起動対象ソフトウェアの情報を、M(1,…,N,…,M)個の起動対象ソフトウェアのうち現在起動している起動対象ソフトウェアNに1を加算したことで特定される他の起動対象ソフトウェアの情報に書き換える起動対象書き換え手段と、前記中間ファイルに記述されている起動対象ソフトウェアの情報が他の起動対象ソフトウェアの情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている起動対象ソフトウェアの情報の再読み取りと、当該ソフトウェアの再起動要求とを指示する切り替え制御手段と、を備えことを特徴とするソフトウェア切り替え装置である。 In order to achieve the above object, the present invention provides a boot target software storage unit that stores a plurality of boot target software and an intermediate file that stores an intermediate file describing one boot target software among the plurality of boot target software. A file storage unit, a startup request unit that reads information on the startup target software described in the intermediate file, detects the startup target software, and issues a startup request to the startup target software; and an operation of the startup target software In response to an operation failure detecting means for detecting a failure and an operation failure of the startup target software , M (1,..., N,..., M) pieces of information on the startup target software described in the intermediate file are obtained. 1 is added to the startup target software N that is currently running among the startup target software It triggered the start target rewriting means for rewriting the information of the other boot target software identified, that the startup target software information of the listed in the intermediate file are rewritten on the information of the other start target software, the activation A software switching device, characterized in that the requesting means comprises switching control means for instructing re-reading of information on the activation target software described in the intermediate file and a request for restarting the software.

また本発明は、複数の異なる環境毎に、対応する複数の起動対象ソフトウェアを記憶する起動対象ソフトウェア記憶手段と、前記複数の異なる環境のうちの1つの環境を記述した中間ファイルを記憶する中間ファイル記憶手段と、前記中間ファイルに記述されている環境の情報を読み取って、環境を検知し、当該環境に対応する複数の起動対象ソフトウェアに起動要求を行う起動要求手段と、前記起動対象ソフトウェアの動作障害を検出する動作障害検出手段と、前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている環境の情報を、M(1,…,N,…,M)個の環境のうち現在起動している起動対象ソフトウェアに対応する環境Nに1を加算したことで特定される他の環境の情報に書き換える環境書き換え手段と、前記中間ファイルに記述されている環境の情報が他の環境の情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている環境の情報の再読み取りと、当該環境に対応する複数のソフトウェアの再起動要求とを指示する切り替え制御手段と、を備えることを特徴とするソフトウェア切り替え装置である。 Further, the present invention provides an activation target software storage unit that stores a plurality of corresponding activation target software for each of a plurality of different environments, and an intermediate file that stores an intermediate file describing one of the plurality of different environments A storage unit, an activation request unit that reads information on the environment described in the intermediate file, detects the environment, and requests activation of a plurality of activation target software corresponding to the environment; and the operation of the activation target software In response to an operation failure detection means for detecting a failure and an operation failure of the activation target software, the environment information described in the intermediate file is converted into M (1,..., N,..., M) environment information. Of these, the environment rewrite operator that rewrites the information in another environment identified by adding 1 to the environment N corresponding to the currently activated software to be activated And when the environment information described in the intermediate file has been rewritten to other environment information, the activation request means is re-read of the environment information described in the intermediate file; A software switching device comprising switching control means for instructing a restart request for a plurality of software corresponding to the environment.

また本発明は、ソフトウェア切り替え装置の起動対象ソフトウェア記憶手段が、複数の起動対象ソフトウェアを記憶し、前記ソフトウェア切替え装置の中間ファイル記憶手段が、前記複数の起動対象ソフトウェアのうちの1つの起動対象ソフトウェアを記述した中間ファイルを記憶し、前記ソフトウェア切替え装置の起動要求手段が、前記中間ファイルに記述されている起動対象ソフトウェアの情報を読み取って起動対象ソフトウェアを検知し、当該起動対象ソフトウェアに起動要求を行い、前記ソフトウェア切替え装置の動作障害検出手段が、前記起動対象ソフトウェアの動作障害を検出し、前記ソフトウェア切替え装置の起動対象書き換え手段が、前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている起動対象ソフトウェアの情報を、M(1,…,N,…,M)個の起動対象ソフトウェアのうち現在起動している起動対象ソフトウェアNに1を加算したことで特定される他の起動対象ソフトウェアの情報に書き換え、前記ソフトウェア切替え装置の切り替え制御手段が、前記中間ファイルに記述されている起動対象ソフトウェアの情報が他の起動対象ソフトウェアの情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている起動対象ソフトウェアの情報の再読み取りと、当該ソフトウェアの再起動要求とを指示することを特徴とするソフトウェア切り替え方法である。 According to the present invention, the activation target software storage unit of the software switching device stores a plurality of activation target software, and the intermediate file storage unit of the software switching device stores one activation target software among the plurality of activation target softwares. The activation request unit of the software switching device reads the activation target software information described in the intermediate file, detects the activation target software, and requests the activation target software to activate The operation failure detection unit of the software switching device detects an operation failure of the activation target software, and the activation target rewrite unit of the software switching device triggers the operation failure of the activation target software. Described in The information of the target software, M (1, ..., N , ..., M) pieces of the boot target of software to start target software N currently running other specified by the sum of 1 start target software Rewritten to information, the switching control means of the software switching device, when the information of the boot target software described in the intermediate file has been rewritten to information of other boot target software, to the boot request means, The software switching method is characterized by instructing re-reading of information on the activation target software described in the intermediate file and a request to restart the software.

また本発明は、ソフトウェア切り替え装置の起動対象ソフトウェア記憶手段が、複数の異なる環境毎に、対応する複数の起動対象ソフトウェアを記憶し、前記ソフトウェア切替え装置の中間ファイル記憶手段が、前記複数の異なる環境のうちの1つの環境を記述した中間ファイルを記憶し、前記ソフトウェア切替え装置の起動要求手段が、前記中間ファイルに記述されている環境の情報を読み取って、環境を検知し、当該環境に対応する複数の起動対象ソフトウェアに起動要求を行い、前記ソフトウェア切替え装置の動作障害検出手段が、前記起動対象ソフトウェアの動作障害を検出し、前記ソフトウェア切替え装置の起動対象書き換え手段が、前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている環境の情報を、M(1,…,N,…,M)個の環境のうち現在起動している起動対象ソフトウェアに対応する環境Nに1を加算したことで特定される他の環境の情報に書き換え、前記ソフトウェア切替え装置の切り替え制御手段が、前記中間ファイルに記述されている環境の情報が他の環境の情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている環境の情報の再読み取りと、当該環境に対応する複数のソフトウェアの再起動要求とを指示することを特徴とするソフトウェア切り替え方法である。 According to the present invention, the activation target software storage unit of the software switching device stores a plurality of corresponding activation target software for each of a plurality of different environments, and the intermediate file storage unit of the software switching device stores the plurality of different environments. An intermediate file describing one of the environments is stored, and the activation request unit of the software switching device reads the environment information described in the intermediate file, detects the environment, and corresponds to the environment An activation request is made to a plurality of activation target software, the operation failure detection unit of the software switching device detects an operation failure of the activation target software, and the activation target rewriting unit of the software switching device operates the operation of the activation target software Information about the environment described in the intermediate file when a failure occurs , M (1,..., N,..., M) of the environments, the information is rewritten with information on other environments specified by adding 1 to the environment N corresponding to the currently activated software to be activated. When the switching control means of the software switching device rewrites the environment information described in the intermediate file with the information of another environment, the environment described in the intermediate file in the start request means Is a software switching method characterized by instructing a re-reading of the information and a restart request of a plurality of software corresponding to the environment.

また本発明は、複数の起動対象ソフトウェアを記憶する起動対象ソフトウェア記憶手段と、前記複数の起動対象ソフトウェアのうちの1つの起動対象ソフトウェアを記述した中間ファイルを記憶する中間ファイル記憶手段と、を備えたコンピュータを、前記中間ファイルに記述されている起動対象ソフトウェアの情報を読み取って、前記起動対象ソフトウェアを検知し、当該起動対象ソフトウェアに起動要求を行う起動要求手段、前記起動対象ソフトウェアの動作障害を検出する動作障害検出手段、前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている起動対象ソフトウェアの情報を、M(1,…,N,…,M)個の起動対象ソフトウェアのうち現在起動している起動対象ソフトウェアNに1を加算したことで特定される他の起動対象ソフトウェアの情報に書き換える起動対象書き換え手段、前記中間ファイルに記述されている起動対象ソフトウェアの情報が他の起動対象ソフトウェアの情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている起動対象ソフトウェアの情報の再読み取りと、当該ソフトウェアの再起動要求とを指示する切り替え制御手段、として機能させることを特徴とするプログラムである。 The present invention includes a boot target software storing means for storing a plurality of start target software, an intermediate file storage means for storing the intermediate file describes one boot target software of said plurality of boot target software, the A boot request unit that reads the boot target software information described in the intermediate file, detects the boot target software, and sends a boot request to the boot target software; In response to an operation failure detecting means for detecting an operation failure of the activation target software , M (1,..., N,..., M) pieces of activation target software are described as information on the activation target software described in the intermediate file. Of adding 1 to the currently activated software N Start target rewriting means for rewriting the other boot target software information that is constant, in response to the boot target software information of the listed in the intermediate file are rewritten on the information of the other start target software, the start request The program causes the means to function as switching control means for instructing re-reading of information on the activation target software described in the intermediate file and a request for restarting the software .

また本発明は、複数の異なる環境毎に、対応する複数の起動対象ソフトウェアを記憶する起動対象ソフトウェア記憶手段と、前記複数の異なる環境のうちの1つの環境を記述した中間ファイルを記憶する中間ファイル記憶手段と、を備えたコンピュータを、前記中間ファイルに記述されている環境の情報を読み取って、環境を検知し、当該環境に対応する複数の起動対象ソフトウェアに起動要求を行う起動要求手段、前記起動対象ソフトウェアの動作障害を検出する動作障害検出手段、前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている環境の情報を、M(1,…,N,…,M)個の環境のうち現在起動している起動対象ソフトウェアに対応する環境Nに1を加算したことで特定される他の環境の情報に書き換える環境書き換え手段、前記中間ファイルに記述されている環境の情報が他の環境の情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている環境の情報の再読み取りと、当該環境に対応する複数のソフトウェアの再起動要求とを指示する切り替え制御手段、として機能させることを特徴とするプログラムである。 Further, the present invention provides an activation target software storage unit that stores a plurality of corresponding activation target software for each of a plurality of different environments, and an intermediate file that stores an intermediate file describing one of the plurality of different environments A boot request unit that reads information on the environment described in the intermediate file, detects the environment, and makes a boot request to a plurality of boot target software corresponding to the environment; An operation failure detecting means for detecting an operation failure of the activation target software, and the information on the environment described in the intermediate file in response to the operation failure of the activation target software, M (1,..., N,..., M) Write in the information of the other environment specified by adding 1 to the environment N corresponding to the software to be started currently running When the environment information described in the intermediate file is rewritten to the other environment information, the activation request unit re-restores the environment information described in the intermediate file. A program that functions as a switching control unit that instructs reading and a restart request for a plurality of software corresponding to the environment .

本発明によれば、起動対象ソフトウェアに障害が発生した場合には、直ちに、他のソフトウェアに切り替えて、その切り替え後の新たなソフトウェアを起動対象ソフトウェアとして起動させることができる。したがって、既存のソフトウェアを改善・修正した改善・修正後のソフトウェアへ更新して、そのソフトウェアの処理をさせた場合に、障害が発生したとしても、直ちに、元のソフトウェアに切り替えて、そのソフトウェアによる処理によりシステム障害を復旧させることができる。また、障害を復旧するために、その障害の発生した改善・修正したソフトウェアに、元のソフトウェアをコピーする必要がなく、中間ファイルの記述を書き換えるだけでよいため、障害時の切り替え作業の短縮と、障害継続時間の短縮を図ることが可能となる。   According to the present invention, when a failure occurs in the activation target software, it is possible to immediately switch to another software and activate the new software after the switching as the activation target software. Therefore, even if a failure occurs when an existing software is improved / modified and updated to an improved / modified software and the software is processed, the software is immediately switched to the original software. System failure can be recovered by processing. In addition, in order to recover from a failure, it is not necessary to copy the original software to the improved / corrected software in which the failure occurred, and it is only necessary to rewrite the description of the intermediate file. It is possible to shorten the failure duration.

ソフトウェア切り替え装置の構成を示すブロック図である。It is a block diagram which shows the structure of a software switching apparatus. ソフトウェア切替え装置の処理フローを示す図である。It is a figure which shows the processing flow of a software switching apparatus. ソフトウェア切替え装置の動作概要を示す第1の図である。It is a 1st figure which shows the operation | movement outline | summary of a software switching apparatus. ソフトウェア切替え装置の動作概要を示す第2の図である。It is a 2nd figure which shows the operation | movement outline | summary of a software switching apparatus. ソフトウェア切替え装置の動作概要を示す第3の図である。It is a 3rd figure which shows the operation | movement outline | summary of a software switching apparatus. ソフトウェア切替え装置の動作概要を示す第4の図である。It is a 4th figure which shows the operation | movement outline | summary of a software switching apparatus.

以下、本発明の一実施形態によるソフトウェア切り替え装置を図面を参照して説明する。
図1は同実施形態によるソフトウェア切り替え装置の構成を示すブロック図である。
この図において、符号1はソフトウェア切り替え装置である。そして、ソフトウェア切り替え装置1は、中間ファイル記憶部11、起動要求部12、起動対象書き換え部13、切り替え制御部14、動作障害検出部15、起動対象ソフトウェア記憶部16の各処理部および記憶部を備えている。なお、ソフトウェア切替え装置1において、少なくとも、起動要求部12は、起動対象ソフトウェアの起動(呼び出し)を行う、呼び出し元ソフトウェアによって構成される処理部である。
Hereinafter, a software switching device according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing the configuration of the software switching device according to the embodiment.
In this figure, reference numeral 1 denotes a software switching device. The software switching device 1 includes the intermediate file storage unit 11, the activation request unit 12, the activation target rewriting unit 13, the switching control unit 14, the operation failure detection unit 15, and each processing unit and storage unit of the activation target software storage unit 16. I have. In the software switching device 1, at least the activation request unit 12 is a processing unit configured by caller software that activates (calls) the activation target software.

そして、ソフトウェア切り替え装置1は、起動対象ソフトウェアを記述した中間ファイルを記憶しており、起動要求12が、中間ファイルに記述されている起動対象ソフトウェアの情報を読み取って、起動対象ソフトウェアを検知し、当該起動対象ソフトウェアに起動要求を行う。また、起動対象書き換え部13が、起動対象ソフトウェアの動作障害の発生を契機に、中間ファイルに記述されている起動対象ソフトウェアの情報を他の起動対象ソフトウェアの情報に書き換える。
また、ソフトウェア切替え装置1では、動作障害検出部15が、起動対象ソフトウェアの動作障害を検出し、切り替え制御部14が、中間ファイルに記述されている起動対象ソフトウェアの情報が他の起動対象ソフトウェアの情報に書き換えられたことを契機に、起動要求部12に、中間ファイルに記述されている起動対象ソフトウェアの情報の再読み取りと、当該ソフトウェアの再起動要求とを指示する。
The software switching device 1 stores an intermediate file describing the activation target software, and the activation request 12 reads the activation target software information described in the intermediate file, detects the activation target software, A startup request is made to the startup target software. In addition, the activation target rewriting unit 13 rewrites information on the activation target software described in the intermediate file with information on other activation target software when an operation failure of the activation target software occurs.
In the software switching device 1, the operation failure detection unit 15 detects an operation failure of the activation target software, and the switching control unit 14 determines that the information on the activation target software described in the intermediate file is the other activation target software. When the information is rewritten, the activation request unit 12 is instructed to re-read information on the activation target software described in the intermediate file and a request to restart the software.

以上の処理により、ソフトウェア切替え装置1は、ソフトウェア更新時に、改善・修正後のソフトウェアの動作に障害が発生した場合の復旧作業を、より迅速に行う。   With the above processing, the software switching device 1 more quickly performs a recovery operation when a failure occurs in the operation of the software after the improvement / correction at the time of software update.

(第1の実施形態)
図2はソフトウェア切替え装置の処理フローを示す図である。
図3はソフトウェア切替え装置の動作概要を示す第1の図である。
次に、ソフトウェア切替え装置1の第1の実施形態による処理フローの詳細について、図1〜図3を参照しながら、順を追って説明する。
まず、図3に示すように起動対象ソフトウェア記憶部16には、ソフトウェアA、ソフトウェアA’、ソフトウェアA”の3つのソフトウェアが格納されている。これら3つのソフトウェアは、例えばソフトウェアA’が、改善・修正後のソフトウェアであり、他の2つのソフトウェアAやA”は、改善・修正前のソフトウェアであるとする。
(First embodiment)
FIG. 2 is a diagram showing a processing flow of the software switching device.
FIG. 3 is a first diagram showing an outline of the operation of the software switching device.
Next, details of the processing flow according to the first embodiment of the software switching device 1 will be described in order with reference to FIGS.
First, as shown in FIG. 3, the activation target software storage unit 16 stores three pieces of software, software A, software A ′, and software A ″. These three pieces of software are improved by, for example, software A ′. -It is software after correction, and the other two softwares A and A "are software before improvement and correction.

また、これらソフトウェアは、基本的には、それぞれが同様の処理のために利用されるソフトウェアであり、製作元や、プログラム内部の構成が異なっている。これらの製造元の違いや、内部構成の違いにより、起動対象ソフトウェア記憶部16の記憶するソフトウェアそれぞれのソフトウェア障害発生確率は多少異なる。また、これらソフトウェアA、ソフトウェアA’、ソフトウェアA”のいずれかが起動対象ソフトウェアとなる。そして、このソフトウェア切替え装置1は、何らかの処理を行うサーバ等の一部として機能として動作するものである。   In addition, these software are basically software used for the same processing, and are different from each other in the manufacturer and the internal configuration of the program. The software failure occurrence probabilities of the software stored in the activation target software storage unit 16 are slightly different due to differences in manufacturers and internal configurations. Further, any one of these software A, software A ′, and software A ″ is the activation target software. The software switching device 1 operates as a function as a part of a server or the like that performs some processing.

また、中間処理ファイル記憶部11の記憶する中間ファイルには、事前に、改善・修正後のソフトウェアを特定するための情報が記述されているものとする。記述形態としては、例えば、起動対象のソフトウェアのパスとそのソフトウェアのファイル名である。この記述は、例えば、ユーザが手作業で行っても良いし、改善・修正後のソフトウェアの起動対象ソフトウェア記憶部16への登録に基づいて、何らかのソフトウェアによって、その、改善・修正後のソフトウェアの情報が、起動対象ソフトウェアの情報として自動的に中間ファイルに記述されるようにしていてもよい。   In addition, it is assumed that the intermediate file stored in the intermediate processing file storage unit 11 includes information for specifying the improved / modified software in advance. The description form is, for example, a path of software to be activated and a file name of the software. This description may be performed manually by the user, or the software after the improvement / correction may be performed by some software based on the registration of the software after improvement / correction in the activation target software storage unit 16. The information may be automatically described in the intermediate file as information on the activation target software.

そして、呼び出し元ソフトウェアが他のソフトウェアから、またはユーザインターフェースから起動指示を受け付けると(ステップS101)、起動要求部12が、中間ファイル記憶部11に格納されている中間ファイルから起動対象ソフトウェアの情報を読み取る(ステップS102)。そして、起動要求部12は、読み取った情報に基づいて、起動対象ソフトウェア記憶部16の中から、起動対象ソフトウェア(ソフトウェアA’)を特定し、その起動対象ソフトウェアを起動する(ステップS103)。これにより、起動対象ソフトウェアが起動し、CPU等の制御部が、そのソフトウェアのプログラムの処理を実行することとなる。   When the caller software receives a start instruction from another software or from the user interface (step S101), the start request unit 12 obtains information about the start target software from the intermediate file stored in the intermediate file storage unit 11. Read (step S102). Then, the activation request unit 12 identifies the activation target software (software A ′) from the activation target software storage unit 16 based on the read information, and activates the activation target software (step S103). As a result, the activation target software is activated, and a control unit such as a CPU executes processing of the software program.

ここで、動作障害検出部15は、起動対象ソフトウェア(ソフトウェアA’)が正常に動作しているか否かを判定する(ステップS104)。または、ユーザからの入力によって、起動対象ソフトウェア(ソフトウェアA’)が正常に動作しているか否かを検出するようにしてもよい。そして、動作障害検出部15は、起動対象ソフトウェア(ソフトウェアA’)が正常に動作していないと検出した場合には、起動対象書き換え部13に対して、起動対象ソフトウェアの変更を指示する(ステップS105)。このとき、動作障害検出部15は、この指示において新たに起動対象とするソフトウェアの情報(ソフトウェアAまたはソフトウェアA”)を通知するようにしてもよい。すると、起動対象書き換え部13は、中間ファイル記憶部11の中間ファイルに記述されている起動対象ソフトウェアの情報(ソフトウェアA’)を、指示されたソフトウェアまたは自動的に特定したソフトウェア(ソフトウェアAまたはソフトウェアA”)の情報に書き換える(ステップS106)。   Here, the operation failure detection unit 15 determines whether or not the activation target software (software A ′) is operating normally (step S <b> 104). Alternatively, it may be detected whether or not the activation target software (software A ′) is operating normally based on an input from the user. If the operation failure detection unit 15 detects that the activation target software (software A ′) is not operating normally, the operation failure detection unit 15 instructs the activation target rewriting unit 13 to change the activation target software (Step S1). S105). At this time, the operation failure detection unit 15 may notify the information about the software to be newly activated (software A or software A ″) in this instruction. The information on the activation target software (software A ′) described in the intermediate file in the storage unit 11 is rewritten with the information on the designated software or automatically identified software (software A or software A ″) (step S106). .

切り替え制御部14は、例えば中間ファイルを監視し、中間ファイルに記述されている起動対象ソフトウェアの情報が他の起動対象ソフトウェアの情報に書き換えられたことを検出すると(例えば、中間ファイルの更新日時などを記憶しておき、その更新日時が変更したことを検出した場合など)、起動要求部12に、中間ファイルに記述されている起動対象ソフトウェアの情報の再読み取りと、当該ソフトウェアの再起動要求とを指示する。そして、起動要求部12は、再度、中間ファイル記憶部11に記録されている中間ファイルから、起動対象ソフトウェアの情報を読み取って(ステップS107)、読み取った情報に基づいて、起動対象ソフトウェア記憶部16の中から、起動対象ソフトウェア(ソフトウェアA’以外のソフトウェア)を特定し、その起動対象ソフトエアを起動する(ステップS108)。これにより、ソフトウェアA’以外の他の起動対象ソフトウェアが起動し、CPU等の制御部が、そのソフトウェアのプログラムの処理を実行することとなる。   The switching control unit 14 monitors, for example, the intermediate file and detects that the information on the activation target software described in the intermediate file has been rewritten with information on other activation target software (for example, the update date of the intermediate file, etc.) Are stored, and when the update date / time is detected to be changed), the activation request unit 12 re-reads the information on the activation target software described in the intermediate file, Instruct. Then, the activation request unit 12 again reads the information of the activation target software from the intermediate file recorded in the intermediate file storage unit 11 (step S107), and based on the read information, the activation target software storage unit 16 The activation target software (software other than the software A ′) is specified from among the activation target software, and the activation target software is activated (step S108). As a result, other activation target software other than the software A ′ is activated, and a control unit such as a CPU executes processing of the software program.

以上の処理によれば、起動対象ソフトウェアに障害が発生した場合には、直ちに、他のソフトウェアに切り替えて、その切り替え後の新たなソフトウェアを起動対象ソフトウェアとして起動させることができる。したがって、既存のソフトウェアを改善・修正した改善・修正後のソフトウェアへ更新して、そのソフトウェアの処理をさせた場合に、障害が発生したとしても、直ちに、元のソフトウェアに切り替えて、そのソフトウェアによる処理によりシステム障害を復旧させることができる。また、障害を復旧するために、その障害の発生した改善・修正したソフトウェアに、元のソフトウェアをコピーする必要がなく、中間ファイルの記述を書き換えるだけでよいため、障害時の切り替え作業の短縮と、障害継続時間の短縮を図ることが可能となる。   According to the above processing, when a failure occurs in the activation target software, it is possible to immediately switch to other software and activate the new software after the switching as the activation target software. Therefore, even if a failure occurs when an existing software is improved / modified and updated to an improved / modified software and the software is processed, the software is immediately switched to the original software. System failure can be recovered by processing. In addition, in order to recover from a failure, it is not necessary to copy the original software to the improved / corrected software in which the failure occurred, and it is only necessary to rewrite the description of the intermediate file. It is possible to shorten the failure duration.

図4はソフトウェア切替え装置の動作概要を示す第2の図である。
次に、図4を用いて、第2の実施形態によるソフトウェア切替え装置の概要について説明する。
ソフトウェア切替え装置1では、図4で示すように、環境ごとに複数のソフトウェアを起動対象ソフトウェアとして起動させるようにしても良い。つまり、ソフトウェア切替え装置1は、環境Aで利用するソフトウェアとして、ソフトウェアA、ソフトウェアA’、ソフトウェアA”を起動対象ソフトウェア記憶部16に記憶し、また、環境Bで利用するソフトウェアとして、ソフトウェアB、ソフトウェアB’、ソフトウェアB”を起動対象ソフトウェア記憶部16に記憶し、また、環境Cで利用するソフトウェアとして、ソフトウェアC、ソフトウェアC’、ソフトウェアC”を起動対象ソフトウェア記憶部16に記憶している。
FIG. 4 is a second diagram showing an outline of the operation of the software switching device.
Next, the outline of the software switching device according to the second embodiment will be described with reference to FIG.
In the software switching device 1, as shown in FIG. 4, a plurality of software may be activated as activation target software for each environment. That is, the software switching device 1 stores software A, software A ′, and software A ″ as software used in the environment A in the activation target software storage unit 16, and software B, Software B ′ and software B ″ are stored in the activation target software storage unit 16, and software C, software C ′, and software C ″ are stored in the activation target software storage unit 16 as software used in the environment C. .

そして、中間ファイルには、「環境A」、「環境B」、「環境C」のいずれかを示す情報のみが記述される。なお、環境Aで利用するソフトウェアが、ソフトウェアA、ソフトウェアA’、ソフトウェアA”であること、また、環境Bで利用するソフトウェアが、ソフトウェアB、ソフトウェアB’、ソフトウェアB”であること、また、環境Cで利用するソフトウェアが、ソフトウェアC、ソフトウェアC’、ソフトウェアC”であることは、別途記憶する、環境毎利用ソフトウェア記述ファイルに記述されているものとする。   In the intermediate file, only information indicating any one of “environment A”, “environment B”, and “environment C” is described. The software used in the environment A is software A, software A ′, software A ″, the software used in the environment B is software B, software B ′, software B ″, It is assumed that the software used in the environment C is software C, software C ′, and software C ″, which is described in a software description file for each environment stored separately.

そして、第1の実施形態の処理と同様に、ソフトウェア切替え装置1が動作するが、このときソフトウェア切替え装置1の起動要求部12は、中間ファイルの記述から、「環境A」、「環境B」、「環境C」のいずれかを示す情報を読み取り、その情報に基づいて、環境毎利用ソフトウェア記述ファイルに記述されている、該当環境に対応する複数の起動対象ソフトウェアを読み取り(環境Aであれば、ソフトウェアA、ソフトウェアA’、ソフトウェアA”の全て)、それらの起動対象ソフトウェアを起動させる処理を行う。   The software switching device 1 operates in the same manner as in the first embodiment. At this time, the activation request unit 12 of the software switching device 1 determines “environment A” and “environment B” from the description of the intermediate file. , The information indicating any one of “environment C” is read, and based on the information, a plurality of boot target softwares corresponding to the corresponding environment described in the use software description file for each environment are read (if environment A) , All of software A, software A ′, and software A ″), and a process for starting up the activation target software.

このような構成によれば、環境ごとに複数のソフトウェアを起動する必要がある場合でも、その環境の切り替えにおいて、第1の実施形態と同様に、切り替え作業の短縮を図ることができる。   According to such a configuration, even when it is necessary to start a plurality of software for each environment, in the switching of the environment, switching work can be shortened as in the first embodiment.

図5はソフトウェア切替え装置の動作概要を示す第3の図である。
第2の実施形態によるソフトウェア切替え装置においては、図5で示すように、複数の環境にまたがって利用される共通のソフトウェア(図においてはソフトウェアB’)や、データ(データA)があってもよい。この場合でも、各環境において利用されるソフトウェアが、環境毎利用ソフトウェア記述ファイルに記述されているため、中間ファイルにおいて、環境の情報だけを記述していれば良い。
FIG. 5 is a third diagram showing an outline of the operation of the software switching device.
In the software switching device according to the second embodiment, as shown in FIG. 5, even if there is common software (software B ′ in the figure) or data (data A) used across a plurality of environments. Good. Even in this case, since the software used in each environment is described in the software description file used for each environment, only the environment information needs to be described in the intermediate file.

図6はソフトウェア切替え装置の動作概要を示す第4の図である。
次に、図6を用いて、第3の実施形態によるソフトウェア切替え装置の概要について説明する。
ソフトウェア切替え装置1は、図6に示すように、起動対象とする可能性のある複数のソフトウェアを、現用系と、待機系とに分けて、システムの冗長構成を取るようにしても良い。この場合、現用系の運用時に障害が発生した場合には、その現用系で動作しているソフトウェアから、上記第1の実施形態や第2の実施形態の処理と同様に、待機系で動作するソフトウェアを、起動対象ソフトウェアとして中間ファイルを書き換える。
FIG. 6 is a fourth diagram showing an outline of the operation of the software switching device.
Next, the outline of the software switching device according to the third embodiment will be described with reference to FIG.
As shown in FIG. 6, the software switching device 1 may take a redundant configuration of the system by dividing a plurality of pieces of software that may be activated as an active system and a standby system. In this case, if a failure occurs during the operation of the active system, the software operating in the active system operates in the standby system in the same manner as the processing in the first and second embodiments. Rewrite the intermediate file as the software to be started.

ここで、現用系や待機系など系ごとに1つの起動対象のソフトウェアが存在する場合において、起動対象のソフトウェア数をM、現在実行中のソフトウェアの番号をN(初期値=1)とし、このソフトウェア番号Nのソフトウェアが起動対象ソフトウェアとして中間ファイルに記述されているとする。すると、ソフトウェア切替え装置1は、中間ファイルに記述されている起動対象ソフトウェアNを起動し、その起動対象ソフトウェアNの動作に障害が発生しているかを判定する。そして、障害が発生している場合には、起動対象ソフトウェアNに+1を加算して、起動対象ソフトウェアN+1で特定される次の系のソフトウェアの情報を中間ファイルに記述する。そして、N>Mかを判定し、N>Mであれば、次の障害時には処理を終了し、N>Mとなるまで、障害が発生した場合には、次の系のソフトウェアに切り替える処理を行う。   Here, when there is one software to be activated for each system such as the active system and the standby system, the number of software to be activated is M, and the number of software currently being executed is N (initial value = 1). It is assumed that software with software number N is described in the intermediate file as activation target software. Then, the software switching device 1 activates the activation target software N described in the intermediate file, and determines whether a failure has occurred in the operation of the activation target software N. If a failure has occurred, +1 is added to the activation target software N, and information about the next system software identified by the activation target software N + 1 is described in the intermediate file. Then, it is determined whether N> M. If N> M, the process is terminated at the time of the next failure, and if a failure occurs until N> M, the process of switching to the next system software is performed. Do.

従来の技術において、冗長化させるソフトウェアの数を1、ソフトウェア停止発生確率をα(0≦α≦1)である場合、その従来技術におけるシステム全体の停止発生確率は1×α=αである。
しかしながら、上述のように、複数の系のソフトウェアをN保持し、各ソフトウェアが異なるソフトウェア停止発生確率であるとすると、システム全体の停止発生確率は、α1×α1×α2×・・・×αN(0≦α1,α2,…,αN≦1)≒αとなる。したがって、システム全体の停止発生確率として、従来と比べて、α(N−1)の確率だけ、システム全体の停止発生確率を軽減することができる。
In the conventional technique, when the number of software to be made redundant is 1 and the software stop occurrence probability is α (0 ≦ α ≦ 1), the stop occurrence probability of the entire system in the prior art is 1 × α = α.
However, as described above, assuming that software of a plurality of systems is held N and each software has a different software stop occurrence probability, the stop occurrence probability of the entire system is α1 × α1 × α2 ×. 0 ≦ α1, α2, ..., a αN ≦ 1) ≒ α N. Therefore, the outage probability of the entire system can be reduced by the probability of α (N−1) as the outage probability of the entire system as compared with the conventional case.

なお、上述のソフトウェア切り替え装置は内部に、コンピュータシステムを有している。そして、上述した各処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   The above-described software switching device has a computer system inside. Each process described above is stored in a computer-readable recording medium in the form of a program, and the above process is performed by the computer reading and executing the program. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.

1・・・ソフトウェア切替え装置
11・・・中間ファイル記憶部
12・・・起動要求部
13・・・起動対象書き換え部
14・・・切り替え制御部
15・・・動作障害検出部
16・・・起動対象ソフトウェア記憶部
DESCRIPTION OF SYMBOLS 1 ... Software switching apparatus 11 ... Intermediate file storage part 12 ... Activation request part 13 ... Activation object rewriting part 14 ... Switching control part 15 ... Operation failure detection part 16 ... Activation Target software storage

Claims (6)

複数の起動対象ソフトウェアを記憶する起動対象ソフトウェア記憶手段と、
前記複数の起動対象ソフトウェアのうちの1つの起動対象ソフトウェアを記述した中間ファイルを記憶する中間ファイル記憶手段と、
前記中間ファイルに記述されている起動対象ソフトウェアの情報を読み取って、前記起動対象ソフトウェアを検知し、当該起動対象ソフトウェアに起動要求を行う起動要求手段と、
前記起動対象ソフトウェアの動作障害を検出する動作障害検出手段と、
前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている起動対象ソフトウェアの情報を、M(1,…,N,…,M)個の起動対象ソフトウェアのうちの現在起動している起動対象ソフトウェアNが示すNの値に1を加算したことで特定される他の起動対象ソフトウェアの情報に書き換える起動対象書き換え手段と、
前記中間ファイルに記述されている起動対象ソフトウェアの情報が他の起動対象ソフトウェアの情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている起動対象ソフトウェアの情報の再読み取りと、当該ソフトウェアの再起動要求とを指示する切り替え制御手段と、
を備えることを特徴とするソフトウェア切り替え装置。
Boot target software storage means for storing a plurality of boot target software;
Intermediate file storage means for storing an intermediate file describing one activation target software among the plurality of activation target software ;
Boot request means for reading boot target software information described in the intermediate file, detecting the boot target software, and making a boot request to the boot target software;
An operation failure detecting means for detecting an operation failure of the activation target software;
In response to an operation failure of the boot target software, the boot target software information described in the intermediate file is started currently among M (1,..., N,..., M) boot target software. Boot target rewriting means for rewriting information of other boot target software specified by adding 1 to the value of N indicated by the boot target software N ;
When the information on the boot target software described in the intermediate file is rewritten with the information on the other boot target software, the boot request unit stores the information on the boot target software described in the intermediate file. Switching control means for instructing re-reading and a restart request of the software;
A software switching device comprising:
複数の異なる環境毎に、対応する複数の起動対象ソフトウェアを記憶する起動対象ソフトウェア記憶手段と、Activation target software storage means for storing a plurality of corresponding activation target software for each of a plurality of different environments;
前記複数の異なる環境のうちの1つの環境を記述した中間ファイルを記憶する中間ファイル記憶手段と、Intermediate file storage means for storing an intermediate file describing one of the plurality of different environments;
前記中間ファイルに記述されている環境の情報を読み取って、環境を検知し、当該環境に対応する複数の起動対象ソフトウェアに起動要求を行う起動要求手段と、An activation request unit that reads environment information described in the intermediate file, detects the environment, and requests activation of a plurality of activation target software corresponding to the environment;
前記起動対象ソフトウェアの動作障害を検出する動作障害検出手段と、An operation failure detecting means for detecting an operation failure of the activation target software;
前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている環境の情報を、M(1,…,N,…,M)個の環境のうちの現在起動している起動対象ソフトウェアに対応する環境Nが示すNの値に1を加算したことで特定される他の環境の情報に書き換える環境書き換え手段と、In response to an operation failure of the activation target software, the environment information described in the intermediate file is changed to M (1,..., N,..., M) environment currently activated activation target software. Environment rewriting means for rewriting information of another environment specified by adding 1 to the value of N indicated by the environment N corresponding to
前記中間ファイルに記述されている環境の情報が他の環境の情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている環境の情報の再読み取りと、当該環境に対応する複数のソフトウェアの再起動要求とを指示する切り替え制御手段と、When the environment information described in the intermediate file is rewritten with other environment information, the activation request unit re-reads the environment information described in the intermediate file, and the environment Switching control means for instructing a restart request of a plurality of software corresponding to
を備えることを特徴とするソフトウェア切り替え装置。A software switching device comprising:
ソフトウェア切り替え装置の起動対象ソフトウェア記憶手段が、複数の起動対象ソフトウェアを記憶し、
前記ソフトウェア切替え装置の中間ファイル記憶手段が、前記複数の起動対象ソフトウェアのうちの1つの起動対象ソフトウェアを記述した中間ファイルを記憶し、
前記ソフトウェア切替え装置の起動要求手段が、前記中間ファイルに記述されている起動対象ソフトウェアの情報を読み取って起動対象ソフトウェアを検知し、当該起動対象ソフトウェアに起動要求を行い、
前記ソフトウェア切替え装置の動作障害検出手段が、前記起動対象ソフトウェアの動作障害を検出し、
前記ソフトウェア切替え装置の起動対象書き換え手段が、前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている起動対象ソフトウェアの情報を、M(1,…,N,…,M)個の起動対象ソフトウェアのうちの現在起動している起動対象ソフトウェアNが示すNの値に1を加算したことで特定される他の起動対象ソフトウェアの情報に書き換え、
前記ソフトウェア切替え装置の切り替え制御手段が、前記中間ファイルに記述されている起動対象ソフトウェアの情報が他の起動対象ソフトウェアの情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている起動対象ソフトウェアの情報の再読み取りと、当該ソフトウェアの再起動要求とを指示する
ことを特徴とするソフトウェア切り替え方法。
The activation target software storage means of the software switching device stores a plurality of activation target software,
The intermediate file storage means of the software switching device stores an intermediate file describing one activation target software among the plurality of activation target software ,
Start request means of said software switching device, reads the boot target software information of the described in the intermediate file, detects the start target software performs an activation request to the start target software,
The operation failure detection means of the software switching device detects an operation failure of the activation target software,
The activation target rewriting means of the software switching device obtains M (1,..., N,..., M) pieces of information on the activation target software described in the intermediate file in response to an operation failure of the activation target software. Rewriting to the information of other boot target software identified by adding 1 to the value of N indicated by the boot target software N currently booted among
When the switching control unit of the software switching device rewrites the information of the activation target software described in the intermediate file with the information of the other activation target software, A software switching method characterized by instructing re-reading of the information about the activation target software described and a request to restart the software.
ソフトウェア切り替え装置の起動対象ソフトウェア記憶手段が、複数の異なる環境毎に、対応する複数の起動対象ソフトウェアを記憶し、The activation target software storage means of the software switching device stores a plurality of corresponding activation target software for each of a plurality of different environments,
前記ソフトウェア切替え装置の中間ファイル記憶手段が、前記複数の異なる環境のうちの1つの環境を記述した中間ファイルを記憶し、Intermediate file storage means of the software switching device stores an intermediate file describing one of the plurality of different environments;
前記ソフトウェア切替え装置の起動要求手段が、前記中間ファイルに記述されている環境の情報を読み取って、環境を検知し、当該環境に対応する複数の起動対象ソフトウェアに起動要求を行い、The activation request unit of the software switching device reads the environment information described in the intermediate file, detects the environment, and requests activation of a plurality of activation target software corresponding to the environment,
前記ソフトウェア切替え装置の動作障害検出手段が、前記起動対象ソフトウェアの動作障害を検出し、The operation failure detection means of the software switching device detects an operation failure of the activation target software,
前記ソフトウェア切替え装置の起動対象書き換え手段が、前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている環境の情報を、M(1,…,N,…,M)個の環境のうちの現在起動している起動対象ソフトウェアに対応する環境Nが示すNの値に1を加算したことで特定される他の環境の情報に書き換え、The activation target rewriting means of the software switching device converts the environment information described in the intermediate file into M (1,..., N,..., M) environments triggered by an operation failure of the activation target software. Rewriting to information of other environment specified by adding 1 to the value of N indicated by the environment N corresponding to the currently activated software to be activated,
前記ソフトウェア切替え装置の切り替え制御手段が、前記中間ファイルに記述されている環境の情報が他の環境の情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている環境の情報の再読み取りと、当該環境に対応する複数のソフトウェアの再起動要求とを指示するThe switching control unit of the software switching device is described in the intermediate file in the activation request unit when the environment information described in the intermediate file is rewritten with information of another environment. Instructing re-reading of environment information and restart request of multiple software corresponding to the environment
ことを特徴とするソフトウェア切り替え方法。A software switching method characterized by that.
複数の起動対象ソフトウェアを記憶する起動対象ソフトウェア記憶手段と、
前記複数の起動対象ソフトウェアのうちの1つの起動対象ソフトウェアを記述した中間ファイルを記憶する中間ファイル記憶手段と、を備えたコンピュータを、
前記中間ファイルに記述されている起動対象ソフトウェアの情報を読み取って、前記起動対象ソフトウェアを検知し、当該起動対象ソフトウェアに起動要求を行う起動要求手段、
前記起動対象ソフトウェアの動作障害を検出する動作障害検出手段、
前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている起動対象ソフトウェアの情報を、M(1,…,N,…,M)個の起動対象ソフトウェアのうちの現在起動している起動対象ソフトウェアNが示すNの値に1を加算したことで特定される他の起動対象ソフトウェアの情報に書き換える起動対象書き換え手段、
前記中間ファイルに記述されている起動対象ソフトウェアの情報が他の起動対象ソフトウェアの情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている起動対象ソフトウェアの情報の再読み取りと、当該ソフトウェアの再起動要求とを指示する切り替え制御手段、
として機能させることを特徴とするプログラム。
Boot target software storage means for storing a plurality of boot target software;
An intermediate file storage means for storing an intermediate file describing one start target software among the plurality of start target software ;
Boot request means for reading boot target software information described in the intermediate file, detecting the boot target software, and making a boot request to the boot target software;
An operation failure detecting means for detecting an operation failure of the activation target software;
In response to an operation failure of the boot target software, the boot target software information described in the intermediate file is started currently among M (1,..., N,..., M) boot target software. Activation target rewriting means for rewriting information of other activation target software specified by adding 1 to the value of N indicated by activation target software N ;
When the information on the boot target software described in the intermediate file is rewritten with the information on the other boot target software, the boot request unit stores the information on the boot target software described in the intermediate file. Switching control means for instructing re-reading and a restart request of the software,
A program characterized by functioning as
複数の異なる環境毎に、対応する複数の起動対象ソフトウェアを記憶する起動対象ソフトウェア記憶手段と、Activation target software storage means for storing a plurality of corresponding activation target software for each of a plurality of different environments;
前記複数の異なる環境のうちの1つの環境を記述した中間ファイルを記憶する中間ファイル記憶手段と、を備えたコンピュータを、An intermediate file storage unit for storing an intermediate file describing one of the plurality of different environments;
前記中間ファイルに記述されている環境の情報を読み取って、環境を検知し、当該環境に対応する複数の起動対象ソフトウェアに起動要求を行う起動要求手段、An activation request unit that reads environment information described in the intermediate file, detects the environment, and requests activation of a plurality of activation target software corresponding to the environment;
前記起動対象ソフトウェアの動作障害を検出する動作障害検出手段、An operation failure detecting means for detecting an operation failure of the activation target software;
前記起動対象ソフトウェアの動作障害を契機に、前記中間ファイルに記述されている環境の情報を、M(1,…,N,…,M)個の環境のうちの現在起動している起動対象ソフトウェアに対応する環境Nが示すNの値に1を加算したことで特定される他の環境の情報に書き換える環境書き換え手段、In response to an operation failure of the activation target software, the environment information described in the intermediate file is changed to M (1,..., N,..., M) environment currently activated activation target software. Environment rewriting means for rewriting information of other environments specified by adding 1 to the value of N indicated by the environment N corresponding to
前記中間ファイルに記述されている環境の情報が他の環境の情報に書き換えられたことを契機に、前記起動要求手段に、前記中間ファイルに記述されている環境の情報の再読み取りと、当該環境に対応する複数のソフトウェアの再起動要求とを指示する切り替え制御手段、When the environment information described in the intermediate file is rewritten with other environment information, the activation request unit re-reads the environment information described in the intermediate file, and the environment Switching control means for instructing a restart request of a plurality of software corresponding to
として機能させることを特徴とするプログラム。A program characterized by functioning as
JP2009144677A 2009-06-17 2009-06-17 Software switching device, software switching method and program thereof Expired - Fee Related JP5290064B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009144677A JP5290064B2 (en) 2009-06-17 2009-06-17 Software switching device, software switching method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009144677A JP5290064B2 (en) 2009-06-17 2009-06-17 Software switching device, software switching method and program thereof

Publications (2)

Publication Number Publication Date
JP2011002969A JP2011002969A (en) 2011-01-06
JP5290064B2 true JP5290064B2 (en) 2013-09-18

Family

ID=43560882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009144677A Expired - Fee Related JP5290064B2 (en) 2009-06-17 2009-06-17 Software switching device, software switching method and program thereof

Country Status (1)

Country Link
JP (1) JP5290064B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH081594B2 (en) * 1990-08-23 1996-01-10 富士通株式会社 Firmware change system
JP4351328B2 (en) * 1999-06-29 2009-10-28 パナソニック株式会社 Information processing apparatus and system activation management method
JP2008108155A (en) * 2006-10-27 2008-05-08 Hitachi Ltd Module change system based on working result information

Also Published As

Publication number Publication date
JP2011002969A (en) 2011-01-06

Similar Documents

Publication Publication Date Title
JP4363676B2 (en) Computer system
US8549510B2 (en) Firmware update apparatus and method
US7340638B2 (en) Operating system update and boot failure recovery
US7761734B2 (en) Automated firmware restoration to a peer programmable hardware device
US8639973B2 (en) System reset
JP5093259B2 (en) Communication path strengthening method between BIOS and BMC, apparatus and program thereof
US7882388B2 (en) Dual independent non volatile memory systems
JP2003256225A (en) Computer system, failure countermeasure and program for making computer system function
JPWO2013103023A1 (en) Information processing apparatus, information processing method, and computer program
US20110209134A1 (en) Information processing apparatus
US7543168B1 (en) Specifying an operating system level to use after reboot
JP5683088B2 (en) Recovery system, recovery method, and backup control system
JP2019020798A (en) Information processing device and program
JP5290064B2 (en) Software switching device, software switching method and program thereof
JP5910413B2 (en) Information processing apparatus, activation program, and activation method
JP6160688B2 (en) Information processing apparatus, information processing method, and information processing program
JP2010146436A (en) Monitoring system, control method and program
JP2011248692A (en) Information processor and program
JP2008077378A (en) System, method and program for diagnosing start
JP2008198152A (en) Computer system with redundant configuration, and system switching method for computer system
JP5023169B2 (en) Required patch list creation apparatus and method
JP2002044693A (en) Controller of electronic exchange
JP5304338B2 (en) Call control apparatus, control method, and control program
JP2005157462A (en) System switching method and information processing system
JP2009123082A (en) Information processor and method and program for restarting system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130412

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130605

LAPS Cancellation because of no payment of annual fees