JP2019074950A - Information processing device, control unit, control method, and control program - Google Patents

Information processing device, control unit, control method, and control program Download PDF

Info

Publication number
JP2019074950A
JP2019074950A JP2017200889A JP2017200889A JP2019074950A JP 2019074950 A JP2019074950 A JP 2019074950A JP 2017200889 A JP2017200889 A JP 2017200889A JP 2017200889 A JP2017200889 A JP 2017200889A JP 2019074950 A JP2019074950 A JP 2019074950A
Authority
JP
Japan
Prior art keywords
version
change
area
program
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017200889A
Other languages
Japanese (ja)
Inventor
武朗 多幡
Takerou Tabata
武朗 多幡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017200889A priority Critical patent/JP2019074950A/en
Publication of JP2019074950A publication Critical patent/JP2019074950A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

To appropriately change a data format used for executing software in cases when software versions are downgraded.SOLUTION: The present information processing device includes a control unit having a processor and a storage. The control unit comprises: a determination section for, when a first version software stored in a second area of the storage is changed to a second version while a first version software stored in a first area of the storage is being executed, determining the change from the first version to the second version is a version downgrading; and a change section for, when the change from the first version to the second version is determined as the version downgrading, on the basis of correspondence relation information in which a program to change data format used when executing the software, version information prior to the change, and version information post the change are associated each other, specifying a program associated with the change from the first version to the second version, and causing the processor to execute the specified program.SELECTED DRAWING: Figure 3

Description

本発明は、情報処理装置、制御装置、制御方法及び制御プログラムに関する。   The present invention relates to an information processing device, a control device, a control method, and a control program.

コンピュータにインストールされたソフトウエアは、機能の改善或いは不具合の解消等のために新しいバージョンに変更される。新しいバージョンに変更した後に不具合が生じた場合(例えば、従来からインストールされている他のソフトウエアとの関係で動作が不安定になる場合等)には、新しいバージョンから古いバージョンに戻されることがある。古いバージョンから新しいバージョンへの変更はバージョンアップと呼ばれ、新しいバージョンから古いバージョンへの変更はバージョンダウンと呼ばれる。   The software installed on the computer is changed to a new version in order to improve the function or solve the problem. If a problem occurs after changing to a new version (for example, when the operation becomes unstable due to other software installed in the past), the new version may be returned to the old version is there. The change from the old version to the new version is called version upgrade, and the change from the new version to the old version is called version down.

バージョン変更においては、ソフトウエアのコードだけではなく、ソフトウエアの実行中に使用されるデータのフォーマットも変更される。ソフトウエアのバージョンが変更されたにも関わらずデータのフォーマットが変更されない場合、バージョン変更後のソフトウエアが動作できなくなることがある。   In version change, not only the code of software but also the format of data used during execution of software is changed. If the data format is not changed even though the software version has been changed, the software after the version change may become inoperable.

このような問題に関して、或る特許文献は、以下のような技術を開示する(特許文献1)。具体的には、データのフォーマットを古いバージョンから新しいバージョンに変更するための変換プログラムが、新しいバージョンのソフトウエアと共に取得される。そして、新しいバージョンのソフトウエアの実行を開始する時に変換プログラムが実行される。   With regard to such problems, certain patent documents disclose the following techniques (Patent Document 1). Specifically, a conversion program for changing the format of data from an old version to a new version is acquired together with a new version of software. Then, the conversion program is executed when execution of the new version of software is started.

但し、この技術は、バージョンアップに対して適用することを前提とした技術であり、バージョンダウン時においてデータのフォーマットを変更することを想定した技術ではない。   However, this technique is a technique that is premised on application to version upgrade, and is not a technique that assumes that the format of data is changed when the version is down.

特開2005−92708号公報JP 2005-92708 A

本発明の目的は、1つの側面では、ソフトウエアのバージョンダウンを行う場合において、ソフトウエアの実行に使用されるデータのフォーマットを適切に変更するための技術を提供することである。   An object of the present invention is, in one aspect, to provide a technique for appropriately changing the format of data used to execute software when performing a version down of software.

一態様に係る情報処理装置は、プロセッサと記憶装置とを有する制御装置を有する。そして、上記制御装置は、記憶装置の第1領域に格納された第1バージョンのソフトウエアの実行中に、記憶装置の第2領域に格納された第1バージョンのソフトウエアを第2バージョンに変更する場合、第1バージョンから第2バージョンへの変更がバージョンダウンであるか判定する第1判定部と、第1バージョンから第2バージョンへの変更がバージョンダウンであると第1判定部により判定された場合、ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、第1バージョンから第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムをプロセッサに実行させる第1変更部とを有する。   An information processing apparatus according to an aspect includes a control device including a processor and a storage device. Then, while the first version software stored in the first area of the storage device is being executed, the control device changes the first version software stored in the second area of the storage device to the second version If so, the first determination unit determines whether the change from the first version to the second version is a version down, and the first determination unit determines that the change from the first version to the second version is a version down In this case, the first version to the second version are based on correspondence information in which a program for changing the format of data used at the time of software execution is associated with version information before change and version information after change. First, the program associated with the change to the version is identified, and the identified program is executed by the processor And a further portion.

1つの側面では、ソフトウエアのバージョンダウンを行う場合において、ソフトウエアの実行に使用されるデータのフォーマットを適切に変更できるようになる。   In one aspect, when the software version is down, the format of data used to execute the software can be appropriately changed.

図1は、ファームウエアのバージョンアップを実行する手順の一例を示す図である。FIG. 1 is a diagram showing an example of a procedure for executing a firmware version upgrade. 図2は、ファームウエアのバージョンダウンを実行する手順の一例を示す図である。FIG. 2 is a diagram showing an example of the procedure for executing the firmware version down. 図3は、本実施の形態における情報処理装置のハードウエア構成図である。FIG. 3 is a hardware configuration diagram of the information processing apparatus in the present embodiment. 図4は、制御装置のブロック図である。FIG. 4 is a block diagram of a control device. 図5は、ファームウエアの機能ブロック図である。FIG. 5 is a functional block diagram of firmware. 図6は、対応関係データの一例を示す図である。FIG. 6 is a diagram showing an example of correspondence relationship data. 図7は、ファームウエアのバージョン変更時に制御装置が実行する処理の処理フローを示す図である。FIG. 7 is a diagram showing a processing flow of processing executed by the control device at the time of firmware version change. 図8は、設定データのフォーマットの変更について説明するための図である。FIG. 8 is a diagram for explaining the change of the format of setting data. 図9は、設定データのフォーマットの変更について説明するための図である。FIG. 9 is a diagram for explaining the change of the format of setting data. 図10は、ファームウエアのバージョン変更時に制御装置が実行する処理の処理フローを示す図である。FIG. 10 is a diagram showing a processing flow of processing executed by the control device when the version of firmware is changed.

以下では、ソフトウエアの一種であるファームウエアのバージョン変更を例として説明を行う。   In the following, description will be made by taking a version change of firmware, which is a type of software, as an example.

図1は、ファームウエアのバージョンアップを実行する手順の一例を示す図である。図1の例においては、ファームウエアを格納するための領域として領域Aと領域Bとが有り、ファームウエアの実行に使用される設定データを格納するための領域としてデータ領域が有る。   FIG. 1 is a diagram showing an example of a procedure for executing a firmware version upgrade. In the example of FIG. 1, there are an area A and an area B as areas for storing firmware, and a data area as an area for storing setting data used for execution of firmware.

領域Aにおいてver1.0のファームウエアが動作しており、データ領域に格納された設定データのバージョンはver1.0である。ファームウエアをver2.0にバージョンアップするため、ファームウエアが動作していない領域Bにver2.0のファームウエアが書き込まれる。そして、ファームウエアの動作領域を領域Aから領域Bに切り替えるための設定が行われ、領域Aにおいて動作しているファームウエアは停止する。   The firmware of ver1.0 is operating in the area A, and the version of the setting data stored in the data area is ver1.0. In order to upgrade the firmware to ver 2.0, the ver 2.0 firmware is written in the area B where the firmware is not operating. Then, setting for switching the operation area of the firmware from area A to area B is performed, and the firmware operating in area A is stopped.

切替の設定に従い、領域Bにおけるver2.0のファームウエアが起動する。ver2.0のファームウエアは、データ領域に格納された設定データのバージョンをver1.0からver2.0に変更する。そして、バージョンアップされた設定データを使用して、領域Bに格納されたver2.0のファームウエアが動作する。   According to the setting of switching, the firmware of ver 2.0 in area B is activated. The firmware of ver 2.0 changes the version of the setting data stored in the data area from ver 1.0 to ver 2.0. Then, the ver 2.0 firmware stored in the area B operates using the upgraded setting data.

普通、新しいバージョンのファームウエアを作る時点においては古いバージョンのフォーマットを知ることができるので、古いバージョンのフォーマットを新しいバージョンのフォーマットに変更するためのフォーマット変更プログラムを作ることができる。よって、フォーマット変更プログラムを新しいバージョンのファームウエアに組み込んでおけば、図1の例のように、新しいバージョンの起動時にフォーマットを変更することができる。   Usually, at the time of creating a new version of firmware, since the format of the old version can be known, it is possible to create a format change program for changing the format of the old version to the format of the new version. Therefore, if the format change program is incorporated into a new version of firmware, the format can be changed when the new version is launched as shown in the example of FIG.

図2は、ファームウエアのバージョンダウンを実行する手順の一例を示す図である。図2の例においては、図1の例と同じように、ファームウエアを格納するための領域として領域Aと領域Bとが有り、ファームウエアの実行に使用される設定データを格納するための領域としてデータ領域が有る。   FIG. 2 is a diagram showing an example of the procedure for executing the firmware version down. In the example of FIG. 2, as in the example of FIG. 1, there are an area A and an area B as areas for storing firmware, and an area for storing setting data used for firmware execution. There is a data area as

領域Aにおいてver2.0のファームウエアが動作しており、データ領域に格納された設定データのバージョンはver2.0である。ファームウエアをver1.0にバージョンダウンするため、ファームウエアが動作していない領域Bにver1.0のファームウエアが書き込まれる。そして、ファームウエアの動作領域を領域Aから領域Bに切り替えるための設定が行われ、領域Aにおいて動作しているファームウエアは停止する。   The firmware of ver 2.0 is operating in area A, and the version of the setting data stored in the data area is ver 2.0. In order to version down the firmware to ver 1.0, the ver 1.0 firmware is written to the area B where the firmware is not operating. Then, setting for switching the operation area of the firmware from area A to area B is performed, and the firmware operating in area A is stopped.

切替の設定に従い、領域Bにおけるver1.0のファームウエアが起動する。しかし、以下で説明するように、ver1.0のファームウエアは、データ領域に格納された設定データのバージョンをver2.0からver1.0に変更することができない。よって、領域Bにおいて起動したver1.0のファームウエアは、動作を開始することができない。   According to the setting of switching, the firmware of ver 1.0 in the area B is activated. However, as described below, the firmware of ver1.0 can not change the version of the setting data stored in the data area from ver2.0 to ver1.0. Therefore, the firmware of ver 1.0 activated in the area B can not start the operation.

普通、古いバージョンのファームウエアを作る時点においては新しいバージョンのフォーマットを知ることができないので、新しいバージョンのフォーマットを古いバージョンのフォーマットに変更するためのフォーマット変更プログラムを作ることはできない。従って、新しいバージョンのファームウエアの起動時に設定データのフォーマットを変更する技術によっては、バージョンダウン時に設定データのフォーマットを変更することはできない。   Normally, at the time of creating an old version of firmware, it is not possible to know the format of a new version, and therefore, it is not possible to create a format change program for changing the format of a new version to the format of an old version. Therefore, the format of the setting data can not be changed at the time of version down depending on the technology of changing the format of the setting data when the new version of firmware is started.

なお、新しいバージョンのフォーマットが決まった後にフォーマット変換プログラムを古いバージョンのファームウエアに組み込むことも考えられるが、その場合にはその時点において頒布されている古いバージョンのファームウエアを更新する作業が必要になる。   Although it is conceivable to incorporate the format conversion program into the old version of firmware after the format of the new version is decided, it is necessary in this case to update the old version of firmware distributed at that time. Become.

また、新しいバージョンの設定データのフォーマットを古いバージョンのファームウエアが解析可能なものに限定することも考えられるが、ファームウエアのバージョン変更において機能改善の余地が狭められる。   In addition, although it is conceivable to limit the format of the setting data of the new version to one that can be analyzed by the old version of firmware, the scope of functional improvement is narrowed when the firmware version is changed.

また、設定データの内容(例えば設定値など)の引き継ぎをせずにバージョン毎に異なる内容を用意することも考えられるが、その場合には新しいバージョンのファームウエアに対して管理者等が再度設定をすることになる。   It is also possible to prepare different contents for each version without handing over the contents of the setting data (for example, setting values etc.), but in such a case, the administrator etc. set again for the new version of firmware. You will

そこで本実施の形態においては、以下で説明するような方法によって、ファームウエアのバージョンダウンを実行する場合に設定データのフォーマットを適切に変更することを実現する。   Therefore, in the present embodiment, it is possible to appropriately change the format of the setting data when executing the firmware version down by the method described below.

図3は、本実施の形態における情報処理装置1のハードウエア構成図である。情報処理装置1は、例えばサーバであり、ハードウエアコンポーネント15と、ハードウエアコンポーネント15の監視及び制御等を実行するサービスプロセッサ(Service Processor)としての制御装置10とを有する。本実施の形態におけるハードウエアコンポーネント15は、1又は複数のCPU(Central Processing Unit)151と、1又は複数のメモリ152と、1又は複数の冷却ファン153とを含む。但し、ハードウエアコンポーネント15がその他のハードウエアコンポーネント(例えばNIC(Network Interface Card)など)を含んでもよい。本実施の形態においては、制御装置10が動作するためのファームウエアのバージョン変更、及び、ファームウエアの実行に使用される設定データのバージョン変更が実行される。設定データはハードウエアコンポーネント15の監視及び制御に関する値であり、例えば、CPU151の設定値、CPU151の温度の異常を検知するための閾値、冷却ファン153の回転数の設定値及びエラーコード等を含む。   FIG. 3 is a hardware configuration diagram of the information processing apparatus 1 in the present embodiment. The information processing apparatus 1 is, for example, a server, and includes a hardware component 15 and a control device 10 as a service processor that executes monitoring and control of the hardware component 15 and the like. The hardware component 15 in the present embodiment includes one or more CPUs (Central Processing Units) 151, one or more memories 152, and one or more cooling fans 153. However, the hardware component 15 may include other hardware components (for example, a NIC (Network Interface Card)). In the present embodiment, a version change of firmware for operating the control device 10 and a version change of setting data used for execution of the firmware are executed. The setting data is a value related to monitoring and control of the hardware component 15, and includes, for example, a setting value of the CPU 151, a threshold for detecting an abnormality of the temperature of the CPU 151, a setting value of the number of rotations of the cooling fan 153, an error code, and the like. .

図4は、制御装置10のブロック図である。制御装置10は、不揮発性メモリであるフラッシュメモリ101と、プロセッサとしてのMPU(Micro Processing Unit)103と、例えばレジスタである切替情報記憶装置105とを有する。   FIG. 4 is a block diagram of the control device 10. The control device 10 has a flash memory 101 which is a non-volatile memory, an MPU (Micro Processing Unit) 103 as a processor, and a switching information storage device 105 which is, for example, a register.

フラッシュメモリ101は、ファームウエアが格納される第1ファームウエア領域1011と、ファームウエアが格納される第2ファームウエア領域1012と、データ領域1013とを含む。データ領域1013は、設定データが格納される設定データ領域10131と、ネットワーク上の装置からダウンロードされ又は可搬記憶媒体からインストールされたファームウエアが格納されるファームウエアデータ領域10132とを含む。   The flash memory 101 includes a first firmware area 1011 in which firmware is stored, a second firmware area 1012 in which firmware is stored, and a data area 1013. The data area 1013 includes a setting data area 10131 in which setting data is stored, and a firmware data area 10132 in which firmware downloaded from an apparatus on the network or installed from a portable storage medium is stored.

制御装置10は、メモリバンクの切替機能により、第1ファームウエア領域1011に格納されたファームウエアと第2ファームウエア領域1012に格納されたファームウエアとのうちいずれかを動作させるように切替を行う。切替には、切替情報記憶装置105が使用される。具体的には、バージョン変更前のファームウエアは停止する前に、MPU103が再起動後に読み出しを開始するフラッシュメモリ101上のアドレスを切替情報記憶装置105に格納する。このアドレスは、バージョン変更後のファームウエアが格納されたファームウエア領域上の位置を示す。このような処理により、動作するファームウエアが再起動の前後で異なるようにすることができる。   The control device 10 performs switching such that either the firmware stored in the first firmware area 1011 or the firmware stored in the second firmware area 1012 is operated by the memory bank switching function. . The switching information storage device 105 is used for switching. Specifically, before the firmware before the version change is stopped, the address on the flash memory 101 at which the MPU 103 starts reading after restart is stored in the switching information storage device 105. This address indicates the position on the firmware area where the firmware after version change is stored. Such processing allows the operating firmware to be different before and after restart.

図5は、ファームウエアの機能ブロック図である。ファームウエアがMPU103に実行されることで、ファームウエア書込部10150と、プログラム特定部10152と、フォーマット変更部10153と、第1判定部10155及び第2判定部10156を含む判定部10154と、起動部10158及び停止部10159を含むプロセス管理部10157とが実現される。また、ファームウエアは、変更前後のバージョンとフォーマットを変更するための変更プログラムとの対応関係を示す対応関係データ10151とを含む。   FIG. 5 is a functional block diagram of firmware. When the firmware is executed by the MPU 103, the firmware writing unit 10150, the program specifying unit 10152, the format changing unit 10153, the determination unit 10154 including the first determination unit 10155 and the second determination unit 10156, and activation are performed. A process management unit 10157 including the unit 10158 and the stopping unit 10159 is realized. The firmware also includes correspondence relationship data 10151 that indicates the correspondence between the version before and after the change and the change program for changing the format.

ファームウエア書込部10150は、変更先のバージョンのファームウエアを、第1ファームウエア領域1011および第2ファームウエア領域1012のうち当該ファームウエア書込部10150が動作するファームウエア領域ではない方に書き込む。プログラム特定部10152は、対応関係データ10151に基づき、設定データのフォーマットの変更に使用されるフォーマット変更プログラムを特定する。フォーマット変更部10153は、設定データのフォーマットを変更する。第1判定部10155は、バージョン変更がバージョンダウンであるか否かを判定する。第2判定部10156は、設定データのフォーマットを変更済みであるか判定する。起動部10158は、設定データに対してアクセスするプロセス(例えば、ファームウエアの起動時に起動されることがあらかじめ定められているプロセス)を起動する。停止部10159は、設定データに対してアクセスするプロセス(例えばアクセス中のプロセスであり、アプリケーションプログラムのプロセス及びネットワークデーモンなど)を停止する。   The firmware writing unit 10150 writes the firmware of the version to be changed to one of the first firmware area 1011 and the second firmware area 1012 which is not the firmware area in which the firmware writing unit 10150 operates. . The program specifying unit 10152 specifies the format change program used for changing the format of the setting data based on the correspondence relationship data 10151. The format change unit 10153 changes the format of the setting data. The first determination unit 10155 determines whether the version change is version down. The second determination unit 10156 determines whether the format of the setting data has been changed. The activation unit 10158 activates a process (for example, a process predetermined to be activated when firmware is activated) for accessing setting data. The stopping unit 10159 stops a process (for example, a process being accessed, a process of an application program, a network daemon, etc.) that accesses setting data.

図6は、対応関係データ10151の一例を示す図である。図6の例においては、変更前のバージョン(すなわち、現時点におけるバージョン)の情報および変更後のバージョンの情報の組み合わせに、フォーマット変更プログラムの識別情報が対応付けられている。例えば、フォーマット変更プログラム2−1とは、設定データのフォーマットをver2.0からver1.0にバージョンダウンするためのプログラムである。フォーマット変更プログラム2−3とは、設定データのフォーマットをver2.0からver3.0にバージョンアップするためのプログラムである。例えばver3.0からver1.0へのバージョンダウンの場合、フォーマット変更プログラム3−2及びフォーマット変更プログラム2−1が使用される。   FIG. 6 is a view showing an example of the correspondence relationship data 10151. As shown in FIG. In the example of FIG. 6, the identification information of the format change program is associated with the combination of the information of the version before the change (ie, the version at the current time) and the information of the version after the change. For example, the format change program 2-1 is a program for downgrading the format of the setting data from ver2.0 to ver1.0. The format change program 2-3 is a program for upgrading the format of setting data from ver 2.0 to ver 3.0. For example, in the case of version down from ver 3.0 to ver 1.0, the format change program 3-2 and the format change program 2-1 are used.

本実施の形態においては、或るバージョン(ここでは、バージョンXとする)のファームウエアに、バージョンXのフォーマットにバージョンアップするためのフォーマット変更プログラムと、バージョンXより古いバージョンにバージョンダウンするためのフォーマット変更プログラムとの両方が組み込まれる。例えば、ver3.0のファームウエアには、ver1.0からver2.0にフォーマットを変更するためのプログラムと、ver2.0からver3.0にフォーマットを変更するためのプログラムと、ver3.0からver2.0にフォーマットを変更するためのプログラムと、ver2.0からver1.0にフォーマットを変更するためのプログラムとが含まれる。バージョンXのファームウエアを作る時点においてはバージョンXより古いバージョンのフォーマットを知ることができるので、このような組み込みを行うことが可能である。なお、最も古いバージョンのファームウエアには、フォーマット変更プログラムは組み込まれない。   In this embodiment, a format change program for upgrading to a version X format and a version upgrade program for a version older than version X to a firmware of a certain version (here, version X). Both with the format change program are incorporated. For example, in the firmware of ver3.0, a program for changing the format from ver1.0 to ver2.0, a program for changing the format from ver2.0 to ver3.0, and ver3.0 to ver2 A program for changing the format to .0 and a program for changing the format from ver2.0 to ver1.0 are included. It is possible to perform such incorporation, since at the time of creating the firmware of version X, it is possible to know the format of an older version than version X. Note that no format change program is incorporated in the oldest version of firmware.

図7は、ファームウエアのバージョン変更時に制御装置10が実行する処理の処理フローを示す図である。本処理の開始時点においては、バージョン変更前のファームウエアが第1ファームウエア領域1011において動作しており且つ第2ファームウエア領域1012においてバージョン変更前のファームウエアが格納されているとする。また、設定データ領域10131においては、バージョン変更前の設定データが設定データ領域10131に格納されているとする。また、変更先のバージョンのファームウエアは、ファームウエアデータ領域10132に格納されているとする。   FIG. 7 is a diagram showing a processing flow of processing executed by the control device 10 at the time of firmware version change. At the start of this process, it is assumed that firmware before version change is operating in the first firmware area 1011 and firmware before version change is stored in the second firmware area 1012. Further, in the setting data area 10131, setting data before version change is stored in the setting data area 10131. Further, it is assumed that the firmware of the change destination version is stored in the firmware data area 10132.

管理者等は、マウス及びキーボード等の入力装置を介して、バージョン変更の指示を入力する。第1ファームウエア領域1011において動作しているファームウエアのファームウエア書込部10150は、バージョン変更の指示を受け付けると、ファームウエアデータ領域10132に格納されている変更先のバージョンのファームウエアを読み出す。そして、ファームウエア書込部10150は、読み出されたファームウエアを第2ファームウエア領域1012に書き込む(図7:ステップS1)。ステップS1においては、変更前のバージョンのファームウエアに上書きするように書き込みが行われる。   The administrator or the like inputs an instruction to change the version via an input device such as a mouse and a keyboard. When the firmware writing unit 10150 of the firmware operating in the first firmware area 1011 receives a version change instruction, it reads the firmware of the version of the change destination stored in the firmware data area 10132. Then, the firmware writing unit 10150 writes the read firmware into the second firmware area 1012 (FIG. 7: step S1). In step S1, writing is performed so as to overwrite the firmware of the version before change.

停止部10159は、ファームウエアのプロセスのうち設定データにアクセスするプロセス(例えば、アクセス中のプロセス)を停止する(ステップS3)。   The stopping unit 10159 stops the process (for example, the process being accessed) that accesses the setting data among the processes of the firmware (step S3).

第1判定部10155は、ステップS1において第2ファームウエア領域1012に書き込まれたファームウエアに含まれるバージョン情報と、第1ファームウエア領域1011において動作しているファームウエアに含まれるバージョン情報とを読み出す。そして、第1判定部10155は、バージョン情報の比較に基づき、バージョン変更がバージョンダウンであるか判定する(ステップS5)。例えば、変更後のバージョンを表す数が変更前のバージョンを表す数より小さい場合、バージョンダウンであると判定される。   The first determination unit 10155 reads the version information included in the firmware written in the second firmware area 1012 in step S1 and the version information included in the firmware operating in the first firmware area 1011 . Then, the first determination unit 10155 determines whether the version change is version down based on the comparison of the version information (step S5). For example, if the number representing the version after change is smaller than the number representing the version before change, it is determined that the version is down.

バージョン変更がバージョンダウンではない場合(ステップS5:Noルート)、処理はステップS11に移行する。一方、バージョン変更がバージョンダウンである場合(ステップS5:Yesルート)、プログラム特定部10152は、対応関係データ10151に基づき、バージョンダウン用のフォーマット変更プログラムを特定する(ステップS7)。   If the version change is not the version down (step S5: No route), the process proceeds to step S11. On the other hand, if the version change is version down (step S5: Yes route), the program specifying unit 10152 specifies a format change program for version down based on the correspondence data 10151 (step S7).

そして、プログラム特定部10152は、第1ファームウエア領域1011において動作しているファームウエアに含まれ且つステップS7において特定されたプログラムを呼び出すことで、フォーマット変更部10153の動作を開始させる。そして、フォーマット変更部10153は、設定データ領域10131に格納されている設定データのフォーマットを変更する(ステップS9)。なお、例えばver3.0からver1.0への変更である場合、フォーマット変更プログラム3−2の実行後にフォーマット変更プログラム2−1が実行される。   Then, the program specifying unit 10152 starts the operation of the format changing unit 10153 by calling the program included in the firmware operating in the first firmware area 1011 and specified in step S7. Then, the format changing unit 10153 changes the format of the setting data stored in the setting data area 10131 (step S9). For example, in the case of a change from ver 3.0 to ver 1.0, the format change program 2-1 is executed after the format change program 3-2 is executed.

図8及び図9は、設定データのフォーマットの変更について説明するための図である。図8は変更前のフォーマットの設定データを示し、図9は変更後のフォーマットの設定データを示す。図8及び図9に示した例においては、ver3.0からver2.0へのバージョンダウンにより暗号鍵の領域のサイズが1024バイトから512バイトに変更されている。これに伴い、空き領域のサイズが3584バイトから4096バイトに変更されている。従って、ver3.0からver2.0へのバージョンダウンにおいては、データ6より後のデータは0x00000200番地分だけ前にずらして格納される。ver2.0からver3.0へのバージョンアップ後に1024バイト分の暗号鍵が設定されている場合、バージョンダウンの際には、データ5の領域は初期化され512バイト分の暗号鍵の設定が管理者に対して促される。   8 and 9 are diagrams for explaining the change of the format of the setting data. FIG. 8 shows setting data in the format before change, and FIG. 9 shows setting data in the format after change. In the example shown in FIGS. 8 and 9, the size of the area of the encryption key is changed from 1024 bytes to 512 bytes by the version down from ver 3.0 to ver 2.0. Along with this, the size of the free space has been changed from 3584 bytes to 4096 bytes. Therefore, in the version down from ver3.0 to ver2.0, the data after data 6 is stored by being shifted ahead by 0x00000200. If an encryption key of 1024 bytes is set after version upgrade from ver2.0 to ver3.0, the area of data 5 is initialized when the version is down and the setting of encryption key of 512 bytes is managed Are asked to

プログラム特定部10152は、第1ファームウエア領域1011において動作しているファームウエアを停止して次にファームウエアを起動する時(すなわち、ファームウエアの再起動時)に第2ファームウエア領域1012がMPU103に読み込まれるように、切替情報記憶装置105に設定を行う(ステップS11)。ステップS11において、プログラム特定部10152は、例えば、第2ファームウエア領域1012のアドレスのうちファームウエアが格納されている領域の開始点のアドレスを切替情報記憶装置105に書き込む。   The program specifying unit 10152 stops the firmware operating in the first firmware area 1011 and starts the firmware next time (that is, when the firmware is restarted). The setting is made in the switching information storage device 105 so as to be read into (step S11). In step S11, the program specifying unit 10152 writes, for example, the address of the start point of the area where the firmware is stored among the addresses of the second firmware area 1012, in the switching information storage device 105.

そして、第1ファームウエア領域1011において動作しているファームウエアは、再起動を実行する(ステップS13)。つまり、第1ファームウエア領域1011において動作しているファームウエアは停止し、第2ファームウエア領域1012に格納されているファームウエアが起動する。そして処理は端子Aを介して図10のステップS15に移行する。   Then, the firmware operating in the first firmware area 1011 executes restart (step S13). That is, the firmware operating in the first firmware area 1011 is stopped, and the firmware stored in the second firmware area 1012 is activated. Then, the processing shifts to step S15 in FIG. 10 via the terminal A.

図10の説明に移行し、第2ファームウエア領域1012において動作しているファームウエアの第2判定部10156は、設定データ領域10131に格納されている設定データに含まれるバージョン情報と、第2ファームウエア領域1012において動作しているファームウエアに含まれるバージョン情報との比較に基づき、設定データのフォーマットを変更済みであるか判定する(図10:ステップS15)。設定データのフォーマットを変更済みである場合、設定データ領域10131に格納されている設定データに含まれるバージョン情報と、第2ファームウエア領域1012において動作しているファームウエアに含まれるバージョン情報とが一致する。設定データのフォーマットを変更済みであることは、バージョン変更がバージョンダウンであることを意味する。   Moving to the explanation of FIG. 10, the second determination unit 10156 of the firmware operating in the second firmware area 1012, the version information included in the setting data stored in the setting data area 10131, and the second firmware Whether or not the format of the setting data has been changed is determined based on comparison with version information contained in firmware operating in the wear area 1012 (FIG. 10: step S15). When the format of the setting data has been changed, the version information included in the setting data stored in the setting data area 10131 matches the version information included in the firmware operating in the second firmware area 1012. Do. Changing the format of the setting data means that the version change is version down.

設定データのフォーマットを変更済みである場合(ステップS15:Yesルート)、設定データのフォーマットを変更しなくてもよいので、処理はステップS21に移行する。   When the format of the setting data has been changed (step S15: Yes route), the process does not need to change the format of the setting data, so the process shifts to step S21.

一方、設定データのフォーマットを変更済みではない場合(ステップS15:Noルート)、バージョン変更はバージョンアップである。従って、プログラム特定部10152は、対応関係データ10151に基づき、バージョンアップ用のフォーマット変更プログラムを特定する(ステップS17)。   On the other hand, when the format of the setting data has not been changed (step S15: No route), the version change is a version upgrade. Therefore, the program specifying unit 10152 specifies the version change format change program based on the correspondence data 10151 (step S17).

そして、プログラム特定部10152は、第2ファームウエア領域1012において動作しているファームウエアに含まれ且つステップS17において特定されたプログラムを呼び出すことで、フォーマット変更部10153の動作を開始させる。そして、フォーマット変更部10153は、設定データ領域10131に格納されている設定データのフォーマットを変更する(ステップS19)。なお、例えばver1.0からver3.0への変更である場合、フォーマット変更プログラム1−2の実行後にフォーマット変更プログラム2−3が実行される。   Then, the program specifying unit 10152 starts the operation of the format changing unit 10153 by calling the program included in the firmware operating in the second firmware area 1012 and specified in step S17. Then, the format changing unit 10153 changes the format of the setting data stored in the setting data area 10131 (step S19). For example, in the case of a change from ver1.0 to ver3.0, the format change program 2-3 is executed after the format change program 1-2 is executed.

起動部10158は、ファームウエアのプロセスのうち設定データにアクセスするプロセス(例えば、ファームウエアの起動時に起動されることがあらかじめ定められているプロセス)を起動する(ステップS21)。そして処理は終了する。   The activation unit 10158 activates a process (for example, a process which is predetermined to be activated when the firmware is activated) for accessing setting data among processes of the firmware (step S21). The process then ends.

以上のように、本実施の形態においては、バージョンアップ用のフォーマット変更プログラムとバージョンダウン用のフォーマット変更プログラムとの両方がファームウエアに組み込まれる。そして、バージョンアップの場合にはバージョン変更後のファームウエアの起動時にバージョンアップ用のフォーマット変更プログラムが実行され、バージョンダウンの場合にはバージョン変更前のファームウエアが停止する時にバージョンダウン用のフォーマット変更プログラムが実行される。   As described above, in the present embodiment, both the format change program for version upgrade and the format change program for version down are incorporated in the firmware. And in the case of version upgrade, the format change program for version upgrade is executed when the firmware after version change starts, and in the case of version down, the format change for version down when the firmware before the version change stops. The program is run.

そして、本実施の形態によれば、ファームウエアをバージョンダウンする場合において、ファームウエアの実行に使用されるデータのフォーマットを適切に変更することができるようになる。   Then, according to the present embodiment, it is possible to appropriately change the format of data used for execution of firmware when downgrading firmware.

以上本発明の一実施の形態を説明したが、本発明はこれに限定されるものではない。例えば、上で説明したファームウエアの機能ブロック構成は実際のプログラムモジュール構成に一致しない場合もある。   Although the embodiment of the present invention has been described above, the present invention is not limited to this. For example, the functional block configuration of the firmware described above may not match the actual program module configuration.

また、上で説明したデータ構成は一例であって、上記のような構成でなければならないわけではない。さらに、処理フローにおいても、処理結果が変わらなければ処理の順番を入れ替えることも可能である。さらに、並列に実行させるようにしても良い。   Also, the data configuration described above is an example, and the configuration is not necessarily as described above. Furthermore, also in the processing flow, it is possible to change the order of processing as long as the processing result does not change. Furthermore, they may be executed in parallel.

以上述べた本発明の実施の形態をまとめると、以下のようになる。   The embodiments of the present invention described above are summarized as follows.

本実施の形態の第1の態様に係る情報処理装置は、プロセッサと記憶装置とを有する制御装置を有する。そして、上記制御装置は、(A)記憶装置の第1領域に格納された第1バージョンのソフトウエアの実行中に、記憶装置の第2領域に格納された第1バージョンのソフトウエアを第2バージョンに変更する場合、第1バージョンから第2バージョンへの変更がバージョンダウンであるか判定する第1判定部(実施の形態における第1判定部10155は上記第1判定部の一例である)と、(B)第1バージョンから第2バージョンへの変更がバージョンダウンであると第1判定部により判定された場合、ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、第1バージョンから第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムをプロセッサに実行させる第1変更部(実施の形態におけるプログラム特定部10152は上記第1変更部の一例である)とを有する。   An information processing apparatus according to a first aspect of the present embodiment includes a control device having a processor and a storage device. And (A) the first version of the software stored in the second area of the storage device during execution of the first version of the software stored in the first area of the storage device (A) When changing to a version, a first determination unit that determines whether the change from the first version to the second version is a version down (the first determination unit 10155 in the embodiment is an example of the first determination unit) (B) A program for changing the format of data used at the time of software execution and the before change when it is determined by the first determination unit that the change from the first version to the second version is the version down Corresponds to the change from the first version to the second version based on the correspondence information in which the version information of and the version information after change are associated Identify kicked program, and a first changing unit configured to execute the program specified in the processor (program specifying unit 10152 of the embodiment is an example of the first change portion).

ソフトウエアのバージョンダウンを行う場合において、ソフトウエアの実行に使用されるデータのフォーマットを適切に変更することができるようになる。   When the software version is down, it becomes possible to appropriately change the format of data used to execute the software.

上記制御装置は、(C)特定されたプログラムがプロセッサに実行される前に、データに対してアクセスするプロセスを停止する停止部(実施の形態における停止部10159は上記停止部の一例である)をさらに有してもよい。   (C) a stopping unit that stops a process for accessing data before the identified program is executed by the processor (the stopping unit 10159 in the embodiment is an example of the stopping unit) May further be included.

データに対するアクセスが途中で強制的に終了されてしまうことにより発生する不具合を防止できるようになる。   It is possible to prevent a failure that occurs when access to data is forcibly terminated halfway.

上記制御装置は、(D)第1バージョンから第2バージョンへの変更がバージョンダウンではないと第1判定部により判定された場合、第1領域に格納された第1バージョンのソフトウエアの実行が停止され且つ第2領域に格納された第2バージョンのソフトウエアが起動された後に、データのバージョンが第1バージョンから第2バージョンに変更済みであるか判定するか第2判定部(実施の形態における第2判定部10156は上記第2判定部の一例である)と、(E)データのバージョンが第1バージョンから第2バージョンに変更済みではないと第2判定部により判定された場合、第1バージョンから第2バージョンへの変更に対応付けられたプログラムを対応関係情報に基づき特定し、特定された当該プログラムをプロセッサに実行させる第2変更部(実施の形態におけるプログラム特定部10152は上記第2変更部の一例である)をさらに有してもよい。   If the first determination unit determines that the change from the first version to the second version is not a version down, the control device executes the first version of software stored in the first area. It is determined whether the version of data has been changed from the first version to the second version or not after the second version of software stopped and stored in the second area is started or not (second embodiment) The second determination unit 10156 in (a) is an example of the second determination unit), and (E) it is determined that the version of the data has not been changed from the first version to the second version by the second determination unit. The program associated with the change from version 1 to version 2 is identified based on the correspondence information, and the identified program is executed on the processor. Second changing unit which (program specifying unit 10152 of the embodiment is a is an example of the second change portion) may further include a.

バージョンアップの場合には、ソフトウエアの再起動の後にデータフォーマットを変更することができるようになる。   In the case of version upgrade, it becomes possible to change the data format after restarting the software.

上記制御装置は、(E)第2領域に格納された第2バージョンのソフトウエアが起動され、且つ、データのバージョンが第1バージョンから第2バージョンに変更された場合、データに対してアクセスするプロセスを起動する起動部(実施の形態における起動部10158は上記起動部の一例である)をさらに有してもよい。   (E) The controller accesses the data when the second version of software stored in the second area is activated and the version of the data is changed from the first version to the second version It may further include an activation unit (the activation unit 10158 in the embodiment is an example of the activation unit) that activates a process.

バージョン変更後のソフトウエアのプロセスがバージョン変更後のデータに対してアクセスできるようになる。   The version-changed software process can now access the version-changed data.

上記第1判定部は、(a1)第1領域に格納された第1バージョンのソフトウエアに含まれるバージョン情報と、記憶装置の領域のうち第2バージョンのソフトウエアを格納する領域から読み出したバージョン情報との比較に基づき、第1バージョンから第2バージョンへの変更がバージョンダウンであるか判定してもよい。   The first determination unit includes (a1) version information included in the first version software stored in the first area, and a version read out from an area for storing the second version software in the area of the storage device. Based on the comparison with the information, it may be determined whether the change from the first version to the second version is a version down.

バージョンの変更がバージョンダウンであるか否かを誤りなく判定できるようになる。   It can be determined without error whether the version change is version down.

上記ソフトウエアはファームウエアであってもよい。   The software may be firmware.

本実施の形態の第2の態様に係る制御方法は、プロセッサと記憶装置とを有し且つ情報処理装置を制御する制御装置により実行される。そして、本制御方法は、上記制御装置のプロセッサが、(F)記憶装置の第1領域に格納された第1バージョンのソフトウエアを実行中に、記憶装置の第2領域に格納された第1バージョンのソフトウエアを第2バージョンに変更する場合、第1バージョンから第2バージョンへの変更がバージョンダウンであるか判定し、(G)第1バージョンから第2バージョンへの変更がバージョンダウンであると判定された場合、ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、第1バージョンから第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを実行する処理を含む。   The control method according to the second aspect of the present embodiment is executed by a control device that has a processor and a storage device and controls an information processing device. Then, in the control method, the processor of the control device executes the first version of software stored in the first area of the storage device (F), the first method stored in the second area of the storage device. When changing the software version to the second version, it is determined whether the change from the first version to the second version is a version down, and (G) the change from the first version to the second version is a version down If it is determined that the first version is based on correspondence information in which a program for changing the format of data used at the time of software execution is associated with version information before change and version information after change Identify the program associated with the change from the version to the second version, and include the process of executing the identified program

なお、上記方法による処理をプロセッサに行わせるためのプログラムを作成することができ、当該プログラムは、例えばフレキシブルディスク、CD−ROM、光磁気ディスク、半導体メモリ、ハードディスク等のコンピュータ読み取り可能な記憶媒体又は記憶装置に格納される。尚、中間的な処理結果はメインメモリ等の記憶装置に一時保管される。   Note that a program for causing a processor to perform processing according to the above method can be created, and the program is, for example, a computer readable storage medium such as a flexible disk, a CD-ROM, a magneto-optical disk, a semiconductor memory, a hard disk or the like. It is stored in a storage device. Intermediate processing results are temporarily stored in a storage device such as a main memory.

以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。   Further, the following appendices will be disclosed regarding the embodiment including the above-described example.

(付記1)
プロセッサと記憶装置とを有する制御装置を有する情報処理装置であって、
前記制御装置が、
前記記憶装置の第1領域に格納された第1バージョンのソフトウエアの実行中に、前記記憶装置の第2領域に格納された前記第1バージョンの前記ソフトウエアを第2バージョンに変更する場合、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定する第1判定部と、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであると前記第1判定部により判定された場合、前記ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを前記プロセッサに実行させる第1変更部と
を有する、情報処理装置。
(Supplementary Note 1)
An information processing apparatus comprising a control device having a processor and a storage device, the information processing device comprising:
The controller
Changing the first version of the software stored in the second area of the storage device to the second version during execution of the first version of the software stored in the first area of the storage device; A first determination unit that determines whether the change from the first version to the second version is a version down;
If it is determined by the first determination unit that the change from the first version to the second version is a version down, a program for changing the format of data used when the software is executed and the change before the change And identifying a program associated with the change from the first version to the second version based on correspondence information in which the version information of the first version and the version information after the change are associated with each other. An information processing apparatus, comprising: a first change unit to be executed by a processor.

(付記2)
前記制御装置が、
特定された前記プログラムが前記プロセッサに実行される前に、前記データに対してアクセスするプロセスを停止する停止部
をさらに有する、付記1記載の情報処理装置。
(Supplementary Note 2)
The controller
The information processing apparatus according to claim 1, further comprising: a stopping unit that stops a process of accessing the data before the identified program is executed by the processor.

(付記3)
前記制御装置が、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンではないと前記第1判定部により判定された場合、前記第1領域に格納された前記第1バージョンの前記ソフトウエアの実行が停止され且つ前記第2領域に格納された前記第2バージョンの前記ソフトウエアが起動された後に、前記データのバージョンが前記第1バージョンから前記第2バージョンに変更済みであるか判定する第2判定部と、
前記データのバージョンが前記第1バージョンから前記第2バージョンに変更済みではないと前記第2判定部により判定された場合、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを前記対応関係情報に基づき特定し、特定された当該プログラムを前記プロセッサに実行させる第2変更部と
をさらに有する、付記1又は2記載の情報処理装置。
(Supplementary Note 3)
The controller
When it is determined by the first determination unit that the change from the first version to the second version is not a version down, execution of the software of the first version stored in the first area is stopped. And a second determination unit that determines whether the version of the data has been changed from the first version to the second version after the software of the second version stored in the second area is activated. ,
If the second determination unit determines that the version of the data has not been changed from the first version to the second version, a program associated with the change from the first version to the second version is used. The information processing apparatus according to claim 1, further comprising: a second changing unit that specifies based on the correspondence information and causes the processor to execute the specified program.

(付記4)
前記制御装置が、
前記第2領域に格納された前記第2バージョンの前記ソフトウエアが起動され、且つ、前記データのバージョンが前記第1バージョンから前記第2バージョンに変更された場合、前記データに対してアクセスするプロセスを起動する起動部
をさらに有する、付記3記載の情報処理装置。
(Supplementary Note 4)
The controller
A process of accessing the data when the software of the second version stored in the second area is activated and the version of the data is changed from the first version to the second version The information processing apparatus according to claim 3, further comprising: an activation unit configured to activate.

(付記5)
前記第1判定部は、
前記第1領域に格納された前記第1バージョンの前記ソフトウエアに含まれるバージョン情報と、前記記憶装置の領域のうち前記第2バージョンの前記ソフトウエアを格納する領域から読み出したバージョン情報との比較に基づき、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定する、
付記1乃至4のいずれか1つ記載の情報処理装置。
(Supplementary Note 5)
The first determination unit is
Comparison of version information included in the software of the first version stored in the first area with version information read out of the area of the storage device from the area storing the software of the second version Determine whether the change from the first version to the second version is a version down based on
The information processing apparatus according to any one of appendices 1 to 4.

(付記6)
前記ソフトウエアはファームウエアである、
付記1乃至5のいずれか1つ記載の情報処理装置。
(Supplementary Note 6)
The software is firmware,
The information processing apparatus according to any one of appendices 1 to 5.

(付記7)
プロセッサと記憶装置とを有し且つ情報処理装置を制御する制御装置であって、
前記記憶装置の第1領域に格納された第1バージョンのソフトウエアの実行中に、前記記憶装置の第2領域に格納された前記第1バージョンの前記ソフトウエアを第2バージョンに変更する場合、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定する第1判定部と、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであると前記第1判定部により判定された場合、前記ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを前記プロセッサに実行させる第1変更部と、
を有する制御装置。
(Appendix 7)
A control device having a processor and a storage device and controlling an information processing device, the control device comprising:
Changing the first version of the software stored in the second area of the storage device to the second version during execution of the first version of the software stored in the first area of the storage device; A first determination unit that determines whether the change from the first version to the second version is a version down;
If it is determined by the first determination unit that the change from the first version to the second version is a version down, a program for changing the format of data used when executing the software And identifying a program associated with the change from the first version to the second version based on correspondence information in which the version information of the first version and the version information after the change are associated with each other. A first change unit to be executed by the processor;
A control device having

(付記8)
プロセッサと記憶装置とを有し且つ情報処理装置を制御する制御装置に実行させる制御プログラムであって、
前記制御装置の前記プロセッサに、
前記記憶装置の第1領域に格納された第1バージョンのソフトウエアを実行中に、前記記憶装置の第2領域に格納された前記第1バージョンの前記ソフトウエアを第2バージョンに変更する場合、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定し、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであると判定された場合、前記ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを実行する
処理を実行させる制御プログラム。
(Supplementary Note 8)
A control program that is executed by a control device that has a processor and a storage device and controls an information processing device,
In the processor of the controller,
Changing the software of the first version stored in the second area of the storage device to the second version while executing the software of the first version stored in the first area of the storage device; Determining whether the change from the first version to the second version is a version down,
If it is determined that the change from the first version to the second version is a version down, a program for changing the format of data used when the software is executed, version information before the change, and a change after the change Control program for identifying a program associated with the change from the first version to the second version based on correspondence information in which the version information of the first version and the version information of the second version are associated, and executing the specified program program.

(付記9)
プロセッサと記憶装置とを有し且つ情報処理装置を制御する制御装置が実行する制御方法であって、
前記制御装置の前記プロセッサが、
前記記憶装置の第1領域に格納された第1バージョンのソフトウエアを実行中に、前記記憶装置の第2領域に格納された前記第1バージョンの前記ソフトウエアを第2バージョンに変更する場合、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定し、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであると判定された場合、前記ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを実行する
処理を実行する制御方法。
(Appendix 9)
A control method executed by a control device having a processor and a storage device and controlling an information processing device, the control method comprising:
The processor of the control device
Changing the software of the first version stored in the second area of the storage device to the second version while executing the software of the first version stored in the first area of the storage device; Determining whether the change from the first version to the second version is a version down,
If it is determined that the change from the first version to the second version is a version down, a program for changing the format of data used when the software is executed, version information before the change, and a change after the change Control of executing a process of identifying the program associated with the change from the first version to the second version, and executing the identified program, based on correspondence relationship information associated with version information of Method.

1 情報処理装置 15 ハードウエアコンポーネント
151 CPU 152 メモリ
153 冷却ファン
10 制御装置 101 フラッシュメモリ
1011 第1ファームウエア領域 1012 第2ファームウエア領域
1013 データ領域 10131 設定データ領域
10132 ファームウエアデータ領域
103 MPU 105 切替情報記憶装置
10150 ファームウエア書込部 10151 対応関係データ
10152 プログラム特定部 10153 フォーマット変更部
10154 判定部 10155 第1判定部
10156 第2判定部 10157 プロセス管理部
10158 起動部 10159 停止部
DESCRIPTION OF SYMBOLS 1 information processing apparatus 15 hardware component 151 CPU 152 memory 153 cooling fan 10 control apparatus 101 flash memory 1011 1st firmware area 1012 2nd firmware area 1013 data area 10131 setting data area 10132 firmware data area 103 MPU 105 switching information Storage device 10150 Firmware writing unit 10151 Correspondence data 10152 Program specifying unit 10153 Format changing unit 10154 Determination unit 10155 First determination unit 10156 Second determination unit 10157 Process management unit 10158 Start unit 10159 Stop unit

Claims (8)

プロセッサと記憶装置とを有する制御装置を有する情報処理装置であって、
前記制御装置が、
前記記憶装置の第1領域に格納された第1バージョンのソフトウエアの実行中に、前記記憶装置の第2領域に格納された前記第1バージョンの前記ソフトウエアを第2バージョンに変更する場合、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定する第1判定部と、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであると前記第1判定部により判定された場合、前記ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを前記プロセッサに実行させる第1変更部と
を有する、情報処理装置。
An information processing apparatus comprising a control device having a processor and a storage device, the information processing device comprising:
The controller
Changing the first version of the software stored in the second area of the storage device to the second version during execution of the first version of the software stored in the first area of the storage device; A first determination unit that determines whether the change from the first version to the second version is a version down;
If it is determined by the first determination unit that the change from the first version to the second version is a version down, a program for changing the format of data used when the software is executed and the change before the change And identifying a program associated with the change from the first version to the second version based on correspondence information in which the version information of the first version and the version information after the change are associated with each other. An information processing apparatus, comprising: a first change unit to be executed by a processor.
前記制御装置が、
特定された前記プログラムが前記プロセッサに実行される前に、前記データに対してアクセスするプロセスを停止する停止部
をさらに有する、請求項1記載の情報処理装置。
The controller
The information processing apparatus according to claim 1, further comprising: a stopping unit that stops a process of accessing the data before the identified program is executed by the processor.
前記制御装置が、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンではないと前記第1判定部により判定された場合、前記第1領域に格納された前記第1バージョンの前記ソフトウエアの実行が停止され且つ前記第2領域に格納された前記第2バージョンの前記ソフトウエアが起動された後に、前記データのバージョンが前記第1バージョンから前記第2バージョンに変更済みであるか判定する第2判定部と、
前記データのバージョンが前記第1バージョンから前記第2バージョンに変更済みではないと前記第2判定部により判定された場合、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを前記対応関係情報に基づき特定し、特定された当該プログラムを前記プロセッサに実行させる第2変更部と
をさらに有する、請求項1又は2記載の情報処理装置。
The controller
When it is determined by the first determination unit that the change from the first version to the second version is not a version down, execution of the software of the first version stored in the first area is stopped. And a second determination unit that determines whether the version of the data has been changed from the first version to the second version after the software of the second version stored in the second area is activated. ,
If the second determination unit determines that the version of the data has not been changed from the first version to the second version, a program associated with the change from the first version to the second version is used. The information processing apparatus according to claim 1, further comprising: a second changing unit that specifies based on the correspondence information and causes the processor to execute the specified program.
前記制御装置が、
前記第2領域に格納された前記第2バージョンの前記ソフトウエアが起動され、且つ、前記データのバージョンが前記第1バージョンから前記第2バージョンに変更された場合、前記データに対してアクセスするプロセスを起動する起動部
をさらに有する、請求項3記載の情報処理装置。
The controller
A process of accessing the data when the software of the second version stored in the second area is activated and the version of the data is changed from the first version to the second version The information processing apparatus according to claim 3, further comprising: an activation unit configured to activate the information processing apparatus.
前記第1判定部は、
前記第1領域に格納された前記第1バージョンの前記ソフトウエアに含まれるバージョン情報と、前記記憶装置の領域のうち前記第2バージョンの前記ソフトウエアを格納する領域から読み出したバージョン情報との比較に基づき、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定する、
請求項1乃至4のいずれか1つ記載の情報処理装置。
The first determination unit is
Comparison of version information included in the software of the first version stored in the first area with version information read out of the area of the storage device from the area storing the software of the second version Determine whether the change from the first version to the second version is a version down based on
The information processing apparatus according to any one of claims 1 to 4.
プロセッサと記憶装置とを有し且つ情報処理装置を制御する制御装置であって、
前記記憶装置の第1領域に格納された第1バージョンのソフトウエアの実行中に、前記記憶装置の第2領域に格納された前記第1バージョンの前記ソフトウエアを第2バージョンに変更する場合、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定する第1判定部と、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであると前記第1判定部により判定された場合、前記ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを前記プロセッサに実行させる第1変更部と、
を有する制御装置。
A control device having a processor and a storage device and controlling an information processing device, the control device comprising:
Changing the first version of the software stored in the second area of the storage device to the second version during execution of the first version of the software stored in the first area of the storage device; A first determination unit that determines whether the change from the first version to the second version is a version down;
If it is determined by the first determination unit that the change from the first version to the second version is a version down, a program for changing the format of data used when the software is executed and the change before the change And identifying a program associated with the change from the first version to the second version based on correspondence information in which the version information of the first version and the version information after the change are associated with each other. A first change unit to be executed by the processor;
A control device having
プロセッサと記憶装置とを有し且つ情報処理装置を制御する制御装置に実行させる制御プログラムであって、
前記制御装置の前記プロセッサに、
前記記憶装置の第1領域に格納された第1バージョンのソフトウエアを実行中に、前記記憶装置の第2領域に格納された前記第1バージョンの前記ソフトウエアを第2バージョンに変更する場合、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定し、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであると判定された場合、前記ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを実行する
処理を実行させる制御プログラム。
A control program that is executed by a control device that has a processor and a storage device and controls an information processing device,
In the processor of the controller,
Changing the software of the first version stored in the second area of the storage device to the second version while executing the software of the first version stored in the first area of the storage device; Determining whether the change from the first version to the second version is a version down,
If it is determined that the change from the first version to the second version is a version down, a program for changing the format of data used when the software is executed, version information before the change, and a change after the change Control program for identifying a program associated with the change from the first version to the second version based on correspondence information in which the version information of the first version and the version information of the second version are associated, and executing the specified program program.
プロセッサと記憶装置とを有し且つ情報処理装置を制御する制御装置が実行する制御方法であって、
前記制御装置の前記プロセッサが、
前記記憶装置の第1領域に格納された第1バージョンのソフトウエアを実行中に、前記記憶装置の第2領域に格納された前記第1バージョンの前記ソフトウエアを第2バージョンに変更する場合、前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであるか判定し、
前記第1バージョンから前記第2バージョンへの変更がバージョンダウンであると判定された場合、前記ソフトウエアの実行時に使用されるデータのフォーマットを変更するためのプログラムと変更前のバージョン情報及び変更後のバージョン情報とが対応付けられた対応関係情報に基づき、前記第1バージョンから前記第2バージョンへの変更に対応付けられたプログラムを特定し、特定された当該プログラムを実行する
処理を実行する制御方法。
A control method executed by a control device having a processor and a storage device and controlling an information processing device, the control method comprising:
The processor of the control device
Changing the software of the first version stored in the second area of the storage device to the second version while executing the software of the first version stored in the first area of the storage device; Determining whether the change from the first version to the second version is a version down,
If it is determined that the change from the first version to the second version is a version down, a program for changing the format of data used when the software is executed, version information before the change, and a change after the change Control of executing a process of identifying the program associated with the change from the first version to the second version, and executing the identified program, based on correspondence relationship information associated with version information of Method.
JP2017200889A 2017-10-17 2017-10-17 Information processing device, control unit, control method, and control program Pending JP2019074950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017200889A JP2019074950A (en) 2017-10-17 2017-10-17 Information processing device, control unit, control method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017200889A JP2019074950A (en) 2017-10-17 2017-10-17 Information processing device, control unit, control method, and control program

Publications (1)

Publication Number Publication Date
JP2019074950A true JP2019074950A (en) 2019-05-16

Family

ID=66545130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017200889A Pending JP2019074950A (en) 2017-10-17 2017-10-17 Information processing device, control unit, control method, and control program

Country Status (1)

Country Link
JP (1) JP2019074950A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114837A (en) * 2019-06-19 2020-12-22 杭州海康威视数字技术股份有限公司 Firmware updating method and camera
CN112181373A (en) * 2020-09-23 2021-01-05 创新奇智(成都)科技有限公司 Software operation control method and device and electronic equipment
JP2021019236A (en) * 2019-07-18 2021-02-15 住友電気工業株式会社 Communication device, setting method, and computer program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012220990A (en) * 2011-04-04 2012-11-12 Fujitsu Ltd Hypervisor replacing method and information processor
JP2012256300A (en) * 2011-06-10 2012-12-27 Mitsubishi Electric Corp Version down management device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012220990A (en) * 2011-04-04 2012-11-12 Fujitsu Ltd Hypervisor replacing method and information processor
JP2012256300A (en) * 2011-06-10 2012-12-27 Mitsubishi Electric Corp Version down management device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114837A (en) * 2019-06-19 2020-12-22 杭州海康威视数字技术股份有限公司 Firmware updating method and camera
CN112114837B (en) * 2019-06-19 2023-07-21 杭州海康威视数字技术股份有限公司 Firmware updating method and camera
JP2021019236A (en) * 2019-07-18 2021-02-15 住友電気工業株式会社 Communication device, setting method, and computer program
CN112181373A (en) * 2020-09-23 2021-01-05 创新奇智(成都)科技有限公司 Software operation control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
KR100767654B1 (en) Method of updating firmware in computer server systems
KR100675518B1 (en) Modular bios update mechanism
US7114184B2 (en) System and method for restoring computer systems damaged by a malicious computer program
US7827376B2 (en) System and method for protecting hidden protected area of HDD during operation
CN107783776B (en) Processing method and device of firmware upgrade package and electronic equipment
CN113064604B (en) Firmware upgrading method and device
TW201624273A (en) Firmware variable update method
KR20130114677A (en) Networked recovery system
JP2019074950A (en) Information processing device, control unit, control method, and control program
US7308547B2 (en) Apparatus and method for control of write filter
US9235511B2 (en) Software performance by identifying and pre-loading data pages
CN116578327B (en) Program updating method and device, electronic equipment and storage medium
CN110955885B (en) Data writing method and device
CN110023909B (en) Control device and program update method
US8028142B2 (en) Controller of storage device, storage device, and control method of storage device
JP7084160B2 (en) Start control device, start control system, start control method, and start control program
JP2009015428A (en) Program update method, information processor, program, and recording medium
JP5846016B2 (en) Information processing apparatus, information processing method, and information processing program
JP5157789B2 (en) Program update method and program update apparatus
CN114265603A (en) System upgrading method and device based on asymmetric partition and electronic equipment
TWI668636B (en) Update method for server firmware
US10331381B2 (en) Method and device for recording memory access operation information
JP2008140124A (en) Data processor
JP2017146695A (en) Communication setting method, communication setting program, information processing device, and information processing system
CN116643770A (en) Firmware partition upgrading method, electronic equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200709

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210713

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220125