JP2009080592A - Firmware rewriting method - Google Patents

Firmware rewriting method Download PDF

Info

Publication number
JP2009080592A
JP2009080592A JP2007248352A JP2007248352A JP2009080592A JP 2009080592 A JP2009080592 A JP 2009080592A JP 2007248352 A JP2007248352 A JP 2007248352A JP 2007248352 A JP2007248352 A JP 2007248352A JP 2009080592 A JP2009080592 A JP 2009080592A
Authority
JP
Japan
Prior art keywords
firmware
license
program
area
storage area
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
JP2007248352A
Other languages
Japanese (ja)
Inventor
Katsuhiko Kato
加藤克彦
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007248352A priority Critical patent/JP2009080592A/en
Publication of JP2009080592A publication Critical patent/JP2009080592A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically and efficiently install firmware. <P>SOLUTION: An agent is prepared to control rewriting of the firmware of an adaptor mounted on a system device, an automatic start-up program for receiving the firmware from a server is stored in a management information storage area, the agent starts up the automatic start-up program, and the automatic start-up program receives an installation program from the server, to be stored into the management information storage area. Then, the automatic start-up program indicates the rewriting of the firmware to the agent, the agent starts up thereafter the installation program, rewrites the firmware of the adaptor to a new firmware, and restarts the system device. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ファームウェアを書替え方法に関し、特にシステム装置のファームウェアの自動的な書替え方法に関する。   The present invention relates to a method for rewriting firmware, and more particularly to a method for automatically rewriting firmware of a system apparatus.

システム装置に搭載するI/Oカード等のアダプタは、複数種類におよんでいる中で、ファームウェアも比例して複数種類になっている。ファームウェアは、ハードウェアの改造に比べ、開発期間および開発工数の点から非常に柔軟に対応でき、ハードウェアの不具合対策や機能改善がファームウェアにて頻繁に行われている現状がある。   While there are a plurality of types of adapters such as I / O cards mounted on the system apparatus, the number of firmware is proportionally increased. Compared to hardware modifications, firmware can be dealt with more flexibly in terms of development period and development man-hours, and there is a current situation that countermeasures for hardware defects and functional improvements are frequently performed in firmware.

アプリケーションプログラムと違い、ファームウェアの書替えでは、I/Oカード等のアダプタに組込まれるプログラムの為、システム装置の再起動が必要な場合が多く、人手介入もしばしば発生し、インストール中はシステム装置に人が付いていなければならない場合が多い。   Unlike application programs, firmware rewriting is a program that is built into an adapter such as an I / O card, so it is often necessary to restart the system device, and manual intervention often occurs. Often it must be attached.

現在、ライセンスコード又はライセンスキーを購入し、指定されたインターネット上のWebページにアクセスし、購入したライセンスコード又はライセンスキーを入力して、該当ファームウェアをシステム装置にダウンロードして保存する。保存したファームウェアのインストーラーを自動起動し、I/Oカード等のアダプタのファームウェアを書替える。書替えが終わった後、人手でシステム装置をシャットダウン、再起動している。   Currently, the user purchases a license code or license key, accesses a designated Web page on the Internet, inputs the purchased license code or license key, downloads the corresponding firmware to the system apparatus, and saves it. The installer of the saved firmware is automatically started and the firmware of the adapter such as an I / O card is rewritten. After rewriting, the system unit is shut down and restarted manually.

この様に、人手介入の多さや、購入した後で、Webページにアクセスするというような煩雑さがある。   As described above, there are many manual interventions and complicated operations such as accessing a Web page after purchase.

特開平11−249892号公報Japanese Patent Laid-Open No. 11-249892 特開2005−284506号公報JP 2005-284506 A

システム装置に搭載するI/Oカード等のアダプタのファームウェアをインストールする場合、人手によるライセンスキーの入力や、指定されたホームページへのアクセスや、ファームウェアのダウンロード等をしてからインストールする為、作業が煩雑で、入力ミス等が発生しやすい。また、システムの再起動も人手でコマンド入力により実施する必要がある為、ファームウェアのインストールの効率が悪く、より効率よく煩雑さをなくし実行させることが課題であり、簡単にファームウェアのインストールを行うことが必要である。   When installing the firmware for an adapter such as an I / O card installed in the system unit, it is necessary to manually enter the license key, access the specified website, download the firmware, etc. It is complicated and input errors are likely to occur. In addition, since it is necessary to restart the system manually by inputting a command, the efficiency of firmware installation is poor, and the problem is to make it more efficient and less cumbersome. is required.

システム装置に搭載されるアダプタのファームウェア書替え方法において、
前記ファームウェアの書替え制御を行うエージェントを用意し、
前記ファームウェアをサーバから受信するための自動起動プログラムを管理情報格納領域に格納し、
前記エージェントが前記管理情報格納領域に格納された前記自動起動プログラムを起動し、
起動された前記自動起動プログラムが新たなファームウェアを含むインストールプログラムをサーバから受信して前記管理情報格納領域に格納し、その後前記自動起動プログラムが前記エージェントに前記アダプタのファームウェアの書替えを指示し、
ファームウェアの書替えを指示された前記エージェントが起動中のアプリケーションを停止させ、その後前記エージェントが前記管理情報格納領域に格納された前記インストールプログラムを起動し、
起動された前記インストールプログラムが前記アダプタのファームウェアを新たなファームウェアに書替え、
ファームウェアの書替え終了後に、前記エージェントが当該システム装置を再起動することによりファームウェアを書替える。
In the method of rewriting the firmware of the adapter mounted on the system unit,
Prepare an agent for rewriting control of the firmware,
An automatic startup program for receiving the firmware from the server is stored in the management information storage area,
The agent starts the automatic start program stored in the management information storage area,
The started automatic startup program receives an installation program including new firmware from the server and stores it in the management information storage area, and then the automatic startup program instructs the agent to rewrite the firmware of the adapter,
The agent instructed to rewrite the firmware stops the running application, and then the agent starts the installation program stored in the management information storage area,
The started installation program rewrites the firmware of the adapter with new firmware,
After the rewriting of the firmware, the agent rewrites the firmware by restarting the system device.

本発明によれば、システム装置に搭載するI/Oカード等のアダプタのファームウェアを、人手介入なしに自動的にインストールすることにより、ライセンスコード等の入力ミスを防止し、再起動時に作業員を不要とすることで、ファームウェアのインストールを効率よく実行することができる。   According to the present invention, the firmware of an adapter such as an I / O card mounted on the system apparatus is automatically installed without manual intervention, so that an input error such as a license code can be prevented and an operator can be prevented at the time of restart. By making it unnecessary, the firmware can be installed efficiently.

本実施例では、ライセンスコードと自動起動プログラムを販売し、ライセンスキーを管理サーバにおき、システム装置のエージェントに自動起動プログラムを管理させ、ライセンスコード、システム装置番号、ライセンスキーの組合せを管理サーバが取得したときに初めて正規なファームウェア更新処理と判断し、ファームウェアのダウンロードを可能とする仕組みを持つ。   In this embodiment, the license code and the automatic startup program are sold, the license key is placed on the management server, the agent of the system device manages the automatic startup program, and the management server sets the combination of the license code, the system device number, and the license key. When it is acquired, it is determined that it is a regular firmware update process, and the firmware can be downloaded.

図1は、本発明であるシステム装置搭載アダプタカードのファームウェア・ワンタッチ・アップデートを実現するにあたり、構成する要素を纏めた例である。図1は、ユーザが購入するライセンス/自動起動プログラム媒体101、システム装置102、管理サーバ109で構成している。媒体101にはシステム装置に装着されるUSBメモリ、その他の電子媒体が用いられても良い。システム装置102は、ライセンス/自動起動プログラム媒体101の内容を読取る読取部103、I/Oカード等のアダプタ104、エージェント105、オペレーティングシステム106、管理情報等格納領域107、インターネットに接続する通信制御部108で構成している。   FIG. 1 shows an example in which elements constituting a system device-mounted adapter card according to the present invention are configured to implement firmware one-touch update. FIG. 1 includes a license / automatic activation program medium 101 purchased by a user, a system apparatus 102, and a management server 109. As the medium 101, a USB memory mounted on the system apparatus or other electronic medium may be used. The system apparatus 102 includes a reading unit 103 that reads the contents of the license / automatic startup program medium 101, an adapter 104 such as an I / O card, an agent 105, an operating system 106, a management information storage area 107, and a communication control unit connected to the Internet. 108.

通常のシステムでのエージェントは、各部位のエラー等の情報を取得し、オペレーティングシステム106で規定した形式にて当該エラー等の情報をオペレーティングシステムで規定した領域に格納する。   An agent in a normal system acquires information such as an error of each part, and stores the information such as the error in an area defined by the operating system in a format defined by the operating system 106.

本実施例におけるシステム装置102のエージェント105は、ライセンス/自動起動プログラム媒体101の自動起動プログラム領域202に格納されている自動起動プログラムと連携し、システム装置102の管理情報等格納領域107の情報と、管理サーバ109の管理情報/オブジェクト格納領域113の情報を送受信し、I/Oカード等のアダプタ104のファームウェア領域301にあるファームウェアをアップデートする機能を有している。   In this embodiment, the agent 105 of the system apparatus 102 cooperates with the automatic start program stored in the automatic start program area 202 of the license / automatic start program medium 101, and the information in the management information storage area 107 of the system apparatus 102 The management server 109 has a function of transmitting / receiving information in the management information / object storage area 113 and updating the firmware in the firmware area 301 of the adapter 104 such as an I / O card.

管理サーバ109は、インターネットに接続する通信制御部110、オペレーティングシステム111、制御プログラム112、管理情報/オブジェクト格納領域113で構成している。システム装置102と管理サーバ109は、インターネットのネットワークを介して接続している。   The management server 109 includes a communication control unit 110 connected to the Internet, an operating system 111, a control program 112, and a management information / object storage area 113. The system apparatus 102 and the management server 109 are connected via an Internet network.

図2は、ユーザが購入するライセンス/自動起動プログラム媒体101の例を示す。最初のユーザ認証に利用されるライセンスコードを格納しているライセンスコード領域201、自動起動プログラムを格納している自動起動プログラム領域202、管理サーバ109から送信された二度目のユーザ認証に利用されるライセンスキーを格納するライセンスキー領域203、アップデートが可能か判断するフラグが格納される使用要否領域204を有している。ライセンス/自動起動プログラム媒体には、USBメモリ等の携帯の容易な携帯用電子媒体等がある。   FIG. 2 shows an example of the license / automatic activation program medium 101 purchased by the user. License code area 201 storing the license code used for the first user authentication, automatic start program area 202 storing the automatic start program, and used for the second user authentication transmitted from the management server 109 It has a license key area 203 for storing a license key, and a use necessity area 204 for storing a flag for determining whether updating is possible. The license / automatic activation program medium includes a portable electronic medium such as a USB memory that is easy to carry.

図3は、システム装置102のI/Oカード等のアダプタ104の例を示す。I/Oカード等のアダプタ104は、ファームウェアを格納するファームウェア領域301を有している。   FIG. 3 shows an example of the adapter 104 such as an I / O card of the system apparatus 102. The adapter 104 such as an I / O card has a firmware area 301 for storing firmware.

図4は、システム装置102の管理情報等格納領域107の例を示す。管理情報等格納領域107は、システム装置毎に固有の番号であるシステム装置番号を格納しているシステム装置識別番号領域401、ライセンス/自動起動プログラム媒体101から取込んだ自動起動プログラムを格納する自動起動プログラム領域402、管理サーバ109から受信したファームウェアを書替るプログラムを格納しておくファームウェア書替プログラム領域403を有している。   FIG. 4 shows an example of the management information storage area 107 of the system apparatus 102. The management information storage area 107 is a system apparatus identification number area 401 that stores a system apparatus number that is a unique number for each system apparatus, and an automatic start program that is loaded from the license / automatic start program medium 101. It has a boot program area 402 and a firmware rewrite program area 403 for storing a program for rewriting firmware received from the management server 109.

図5は、管理サーバ109の管理情報/オブジェクト格納領域113の例を示す。管理情報/オブジェクト格納領域113は、ユーザが購入するライセンス/自動起動プログラム媒体101に設定するライセンスコードを格納する領域であるライセンスコード領域501、ファームウェア更新の対象となるシステム装置のシステム装置番号を格納する領域であるシステム装置番号領域502、ライセンスコードとシステム装置番号との1対に対応した固有のライセンスキーを格納する領域であるライセンスキー領域503、ファームウェアを含むI/Oカード等のアダプタ104にインストールするプログラムを格納する領域であるファームウェア(オブジェクト)領域504、ライセンス/自動起動プログラム媒体を使用した回数を記録する領域である発行回数領域505、ライセンス/自動起動プログラム媒体を使用できる回数を記録する領域である制限回数領域506を有している。   FIG. 5 shows an example of the management information / object storage area 113 of the management server 109. The management information / object storage area 113 stores a license code area 501 that is an area for storing a license code set in the license / automatic activation program medium 101 purchased by the user, and a system apparatus number of a system apparatus that is a target of firmware update. A system device number area 502 that is a storage area, a license key area 503 that is a storage area for a unique license key corresponding to a pair of a license code and a system apparatus number, and an adapter 104 such as an I / O card including firmware. A firmware (object) area 504 that is an area for storing a program to be installed, an issue count area 505 that is an area for recording the number of times the license / automatic startup program medium is used, and a license / automatic startup program medium can be used. And a limit number area 506 is an area for recording the number of times that.

本実施例では発行回数を加算していく方式を例として説明しているため、管理情報/オブジェクト格納領域113は制限回数領域を有しているが、ライセンス/自動起動プログラム媒体を使用するたびに、発行回数から減算していく方法とし、発行回数が0になったら使用を制限することにより、制限回数領域を有さずに使用回数を制限する方法もある。   In this embodiment, since the method of adding the number of times of issue is described as an example, the management information / object storage area 113 has a limit number of times area, but every time the license / automatic activation program medium is used. There is also a method of subtracting from the number of times of issuance, and a method of restricting the number of times of use without having a limit number of times area by restricting the use when the number of times of issuance reaches zero.

ユーザは、ライセンス/自動起動プログラム媒体101を購入する。ライセンス/自動起動プログラム媒体の提供側では、管理サーバ109の管理情報/オブジェクト格納領域113内のライセンスコード領域501、システム装置番号領域502、ライセンスキー領域503、ファームウェア(オブジェクト)領域504にそれぞれ該当する必要なデータを登録する。   The user purchases the license / automatic activation program medium 101. On the provider side of the license / automatic start program medium, the license information corresponds to the license code area 501, the system device number area 502, the license key area 503, and the firmware (object) area 504 in the management information / object storage area 113 of the management server 109. Register the necessary data.

すなわち、ライセンス/自動起動プログラム媒体101のライセンスコードを、ライセンスコード領域501に格納し、システム装置102の管理情報等格納領域107のシステム装置番号を、システム装置番号領域502に格納する。また、ライセンスキー領域には、前記ライセンスコードとシステム装置番号との1対に対応したユニークなライセンスキーを生成し、ライセンスキー領域503格納する。ファームウェア(オブジェクト)領域には、ユーザが購入した(アップデートする予定の)ファームウェアを格納する。発行回数領域は0で初期化する。   That is, the license code of the license / automatic activation program medium 101 is stored in the license code area 501, and the system apparatus number of the management information storage area 107 of the system apparatus 102 is stored in the system apparatus number area 502. In the license key area, a unique license key corresponding to a pair of the license code and the system device number is generated and stored in the license key area 503. In the firmware (object) area, firmware purchased (to be updated) by the user is stored. The issue count area is initialized with zero.

図6〜図8はシステム装置と管理サーバ間の自動インストールのフローを示したものである。各図の左側にはシステム装置102で実施される内容が、右側には管理サーバ109にて実施される内容が記載されている。   6 to 8 show a flow of automatic installation between the system apparatus and the management server. The contents executed by the system apparatus 102 are described on the left side of each figure, and the contents executed by the management server 109 are described on the right side.

ライセンス/自動起動プログラム媒体101を入手したユーザは、ライセンス/自動起動プログラム媒体101をシステム装置102の読取部103に装着する(F601)。   The user who has obtained the license / automatic startup program medium 101 attaches the license / automatic startup program medium 101 to the reading unit 103 of the system apparatus 102 (F601).

システム装置102は、ライセンス/自動起動プログラム媒体101が装着されると、オペレーティングシステム106によりライセンス/自動起動プログラム媒体101が認識され、エージェント105はライセンス/自動起動プログラム媒体101内の自動起動プログラム領域202から、自動起動プログラムを管理情報等格納領域107内の自動起動プログラム領域402に取出し格納する(F602)。   When the license / automatic startup program medium 101 is loaded, the system apparatus 102 recognizes the license / automatic startup program medium 101 by the operating system 106, and the agent 105 has the automatic startup program area 202 in the license / automatic startup program medium 101. Then, the automatic startup program is extracted and stored in the automatic startup program area 402 in the management information storage area 107 (F602).

自動起動プログラム領域402に格納された自動起動プログラムは、システム装置102のエージェント105からの起動指示により、管理情報等格納領域107内の自動起動プログラム領域402から取出され、オペレーティングシステム106上で動作を開始する(F603)。   The automatic startup program stored in the automatic startup program area 402 is extracted from the automatic startup program area 402 in the management information storage area 107 in response to a startup instruction from the agent 105 of the system apparatus 102 and operates on the operating system 106. Start (F603).

自動起動プログラムが自動実行を開始し、ライセンス/自動起動プログラム媒体101内のライセンスコード領域201からライセンスコードを取出し、また、管理情報等格納領域107内のシステム装置識別番号領域401からシステム装置番号を取出し、1対の固有データとして、管理サーバ109へ送信する(F604)。   The automatic startup program starts automatic execution, takes out the license code from the license code area 201 in the license / automatic startup program medium 101, and sets the system apparatus number from the system apparatus identification number area 401 in the management information storage area 107 Extraction and transmission to the management server 109 as a pair of unique data (F604).

管理サーバ109の制御プログラム112はシステム装置102からライセンスコードとシステム装置番号を受信する。制御プログラム112は、受信した固有のライセンスコード及びシステム装置番号と、管理情報/オブジェクト格納領域113内のライセンスコード領域501のライセンスコード及びシステム装置番号領域502のシステム装置番号とを比較する(F605)。   The control program 112 of the management server 109 receives the license code and the system device number from the system device 102. The control program 112 compares the received unique license code and system apparatus number with the license code in the license code area 501 in the management information / object storage area 113 and the system apparatus number in the system apparatus number area 502 (F605). .

受信したライセンスコードとシステム装置番号が管理情報/オブジェクト格納領域113内のライセンスコード領域501のライセンスコードとシステム装置番号領域502のシステム装置番号とそれぞれ一致していない場合、制御プログラム112は、正規なファームウェア更新ではないと判断し(F606)、システム装置102に通知する。システム装置102の自動起動プログラムはこの通知を受け、エラーメッセージを表示する。システム装置102はエラーメッセージの表示後、自動起動プログラムの処理を終了し、ライセンス/自動起動プログラム媒体101の装着前と同様に通常処理に戻り実行を続ける(F607)。   If the received license code and the system device number do not match the license code in the license code area 501 and the system device number in the system device number area 502 in the management information / object storage area 113, the control program 112 It is determined that the firmware is not updated (F606), and the system apparatus 102 is notified. The automatic start program of the system apparatus 102 receives this notification and displays an error message. After displaying the error message, the system apparatus 102 ends the processing of the automatic startup program, returns to the normal processing, and continues to execute as before the license / automatic startup program medium 101 is loaded (F607).

受信したライセンスコードとシステム装置番号が管理情報/オブジェクト格納領域113内のライセンスコード領域501のライセンスコードとシステム装置番号領域502システム装置番号と一致した場合、管理情報/オブジェクト格納領域113内のライセンスキー領域503からライセンスキーを取出し、システム装置102に送信する(F608)。   When the received license code and system device number match the license code in the license code area 501 in the management information / object storage area 113 and the system device number area 502, the license key in the management information / object storage area 113 The license key is extracted from the area 503 and transmitted to the system apparatus 102 (F608).

F608のステップで管理情報/オブジェクト格納領域113内のファームウェア(オブジェクト)504を送信しないのは、F604のステップにて悪意の者が真のユーザに成りすまし、ライセンスコードとシステム装置番号を、管理サーバ109に送信する可能性があるためである。   The reason why the firmware (object) 504 in the management information / object storage area 113 is not transmitted in the step F608 is that the malicious person impersonates a true user in the step F604, and the management server 109 This is because there is a possibility of being transmitted to.

システム装置102の自動起動プログラムはライセンスキーを受信し、ライセンス/自動起動プログラム媒体101内のライセンスキー領域203に受取ったライセンスキーを格納する(F609)。   The automatic startup program of the system apparatus 102 receives the license key, and stores the received license key in the license key area 203 in the license / automatic startup program medium 101 (F609).

そこで、システム装置102の自動起動プログラムは、ライセンス/自動起動プログラム媒体101内のライセンスコード領域201のライセンスコードとライセンスキー領域203のライセンスキー、管理情報等格納領域107内のシステム装置識別番号領域401のシステム装置番号を1対の固有データとして、管理サーバ109へ送信する(F610)。   Therefore, the automatic start program of the system apparatus 102 is the license code in the license code area 201 in the license / automatic start program medium 101, the license key in the license key area 203, and the system apparatus identification number area 401 in the management information storage area 107. Are sent to the management server 109 as a pair of unique data (F610).

このように、F609およびF610のステップはシステム装置内102の自動起動プログラムが自動実施するため、悪意の者による真のユーザの成りすましをする余地はない。すなわち、悪意の者がF604のステップで、ライセンスコードとシステム装置番号を送信したとしても、その後、ライセンスコード、システム装置番号、ライセンスキーを受信し、格納し、再度返信する必要が生じるため、その処理・手順を知らない悪意の者には適切な処理ができない。
このため、管理サーバ109は、ライセンスコード、システム装置番号、ライセンスキーの送信後、所定の期間にシステム装置からそれらのデータの返信がなければ、異常と判断し、自動起動プログラムを終了させる指令を出すことも可能である。これによりユーザの利便性が高められると共に、セキュリティの確保が可能となる。
In this way, since the steps F609 and F610 are automatically executed by the automatic startup program in the system apparatus 102, there is no room for a malicious person to impersonate a true user. That is, even if a malicious person transmits a license code and a system device number in step F604, it is necessary to receive, store, and return a license code, a system device number, and a license key. A malicious person who does not know the processing / procedure cannot perform appropriate processing.
For this reason, the management server 109 determines that there is no response from the system device within a predetermined period after sending the license code, system device number, and license key, and issues a command to terminate the automatic startup program. It is also possible to put out. As a result, convenience for the user is enhanced and security can be ensured.

管理サーバ109の制御プログラム112は、システム装置から送信されたライセンスコード、システム装置番号、ライセンスキーを受信する。制御プログラム112は、受信したライセンスコード、システム装置番号、ライセンスキーと、管理情報/オブジェクト格納領域113内のライセンスコード領域501のライセンスコード、システム装置番号領域502のシステム装置番号、ライセンスキー領域503のライセンスキーとを比較する(F611)。   The control program 112 of the management server 109 receives the license code, system device number, and license key transmitted from the system device. The control program 112 receives the received license code, system apparatus number, license key, license code in the license code area 501 in the management information / object storage area 113, system apparatus number in the system apparatus number area 502, and license key area 503. The license key is compared (F611).

受信した1対のライセンスコード、システム装置番号、ライセンスキーが管理情報/オブジェクト格納領域113内のライセンスコード領域501のライセンスコード、システム装置番号領域502のシステム装置番号、ライセンスキー領域503のライセンスキーと一致していない場合は、制御プログラム112は、正規なファームウェア更新ではないと判断し(F612)、システム装置102に通知する。システム装置102の自動起動プログラムはこの通知を受け、エラーメッセージを表示する。エラーメッセージの表示後、エージェント105は、自動起動プログラムの処理を終了し、ライセンス/自動起動プログラム媒体101の装着前と同様に通常処理に戻り実行を続ける(F613)。   The received pair of license code, system device number, and license key are the license code in the license code area 501 in the management information / object storage area 113, the system apparatus number in the system apparatus number area 502, and the license key in the license key area 503. If they do not match, the control program 112 determines that it is not a regular firmware update (F612) and notifies the system device 102 of the update. The automatic start program of the system apparatus 102 receives this notification and displays an error message. After displaying the error message, the agent 105 ends the process of the automatic startup program, returns to the normal process, and continues to execute as before the installation of the license / automatic startup program medium 101 (F613).

受信したライセンスコード、システム装置番号、ライセンスキーが管理情報/オブジェクト格納領域113内のライセンスコード領域501のライセンスコード、システム装置番号領域502のシステム装置番号、ライセンスキー領域503のライセンスキーと一致した場合、制御プログラム112は管理情報/オブジェクト格納領域113内の発行回数領域505の発行回数と制限回数領域506の制限回数を比較し、オーバーする場合は、規定回数使用オーバーとして、システム装置102へ通知する(F614)。   When the received license code, system apparatus number, and license key match the license code in the license code area 501 in the management information / object storage area 113, the system apparatus number in the system apparatus number area 502, and the license key in the license key area 503 The control program 112 compares the issuance count in the issuance count area 505 in the management information / object storage area 113 with the limit count in the limit count area 506, and if it exceeds, notifies the system apparatus 102 that the specified count is overused. (F614).

システム装置102の自動起動プログラムはこの通知を受け、ライセンス/自動起動プログラム媒体101内の使用要否領域204に使用不可情報のフラグを書き込み、エラーメッセージを表示する。エラーメッセージの表示後、エージェント105は、自動起動プログラムの処理を終了し、ライセンス/自動起動プログラム媒体101の装着前と同様に通常処理に戻り実行を続ける(F615)。   The automatic start program of the system apparatus 102 receives this notification, writes a flag of unusable information in the use necessity area 204 in the license / automatic start program medium 101, and displays an error message. After displaying the error message, the agent 105 ends the process of the automatic start program, returns to the normal process, and continues to execute as before the installation of the license / automatic start program medium 101 (F615).

なお、使用要否領域204の使用不可情報のフラグは、ライセンス/自動起動プログラム媒体をシステム装置102に装着した際に、当該ファームウェア更新処理を実施するか否かの判断を使用するのに用いられる。   The unusable information flag in the use necessity area 204 is used to use a determination as to whether or not to execute the firmware update process when the license / automatic activation program medium is mounted on the system apparatus 102. .

すなわち、フラグが有りの場合は、自動起動プログラムはファームウェア更新処理(F604以降の処理)を実施せず、エラーメッセージの表示後、エージェント105により、自動起動プログラムの処理を終了され、ライセンス/自動起動プログラム媒体101の装着前と同様に通常処理に戻り実行を続ける。一方、フラグが無い場合は、自動起動プログラムはファームウェア更新処理を実施する。   In other words, if the flag is present, the automatic startup program does not perform the firmware update process (F604 and subsequent processes), and after the error message is displayed, the agent 105 terminates the automatic startup program process, and the license / automatic startup Return to normal processing and continue execution as before the program medium 101 is loaded. On the other hand, if there is no flag, the automatic activation program performs firmware update processing.

使用要否領域204の使用不可情報のフラグは、発行回数の判定の結果のみではなく、F606や、F612の判定の結果、正規なファームウェア更新ではないと判断した場合に書き込む等の方法もある。   The unusable information flag in the use necessity / non-necessity area 204 may be written not only as a result of the determination of the number of issuances but also as a result of the determination in F606 or F612, when it is determined that it is not a regular firmware update.

一方、管理情報/オブジェクト格納領域113内の発行回数領域505の発行回数と制限回数領域506の制限回数を比較し制限回数内の場合、管理情報/オブジェクト格納領域113内の発行回数505に1を足しこむ(F616)。   On the other hand, the number of issues in the issue count area 505 in the management information / object storage area 113 is compared with the limit count in the limit count area 506, and if it is within the limit count, 1 is set to the issue count 505 in the management information / object storage area 113. Add in (F616).

続いて、管理サーバ109の制御プログラム112は、管理情報/オブジェクト格納領域113内のファームウェア(オブジェクト)領域504からファームウェアを含むファームウェアインストールプログラムを管理サーバ109からシステム装置102へ送信する。システム装置102の自動起動プログラムは、ファームウェアインストールプログラムを管理情報等格納領域107内のファームウェア書替プログラム領域403に格納する(F618)。   Subsequently, the control program 112 of the management server 109 transmits a firmware installation program including firmware from the firmware (object) area 504 in the management information / object storage area 113 to the system apparatus 102. The automatic startup program of the system apparatus 102 stores the firmware installation program in the firmware rewrite program area 403 in the management information storage area 107 (F618).

自動起動プログラムはエージェント105にファームウェアの書替え命令を発行する(F619)。   The automatic activation program issues a firmware rewrite command to the agent 105 (F619).

エージェント105は、自動起動プログラムを終了させ、起動中の全アプリケーションプログラムを停止状態になるよう命令を出す(F620)。エージェント105は、全アプリケーションプログラムを停止状態になるまで待ち(F621)、停止状態になったら、管理情報等格納領域107内のファームウェア書替プログラム領域403からファームウェアを含むファームウェアインストールプログラムを取出し、起動する(F622)。   The agent 105 terminates the automatic startup program and issues a command to stop all active application programs (F620). The agent 105 waits until all the application programs are stopped (F621). When the application 105 is stopped, the agent 105 takes out the firmware installation program including the firmware from the firmware rewriting program area 403 in the management information storage area 107 and starts it. (F622).

起動したファームウェアインストールプログラムが、I/Oカード等のアダプタ104のファームウェア領域301を書替え更新する(F623)。ファームウェアインストールプログラムが更新完了まで待ち(F624)、完了したら、エージェント105に報告する。報告を受けたエージェント105はシステム装置102の再起動コマンドを発行し、再起動する(F625)。再起動後は、システム装置102は、通常処理状態になり、通常処理を実行する。   The activated firmware installation program rewrites and updates the firmware area 301 of the adapter 104 such as an I / O card (F623). The firmware installation program waits until the update is completed (F624), and when completed, reports to the agent 105. Upon receiving the report, the agent 105 issues a restart command for the system apparatus 102 and restarts (F625). After the restart, the system apparatus 102 enters a normal processing state and executes normal processing.

本実施例では、ライセンス/自動起動プログラム媒体に自動起動プログラムを保持し、ファームウェアのアップデートを実施する例を示したが、インターネットを介して自動起動プログラムを購入、入手し、ファームウェアのアップデートを実施する方法もある。   In the present embodiment, an example is shown in which the automatic startup program is held in the license / automatic startup program medium and the firmware is updated. However, the automatic startup program is purchased and obtained via the Internet, and the firmware is updated. There is also a method.

システム装置と管理サーバの接続概要を示した説明図Explanatory drawing showing the outline of connection between the system unit and the management server ライセンス/自動プログラム媒体の構成要素を示した説明図Explanatory diagram showing components of license / automatic program medium I/Oカード等のアダプタの構成要素を示した説明図Explanatory drawing showing the components of an adapter such as an I / O card 管理情報等格納領域の構成要素を示した説明図Explanatory diagram showing the components of the management information storage area 管理情報/オブジェクト格納領域の構成要素を示した説明図Explanatory diagram showing components of management information / object storage area システム装置と管理サーバ間の自動インストールの仕組みを説明したフロー図(1)Flow diagram explaining the automatic installation mechanism between the system unit and the management server (1) システム装置と管理サーバ間の自動インストールの仕組みを説明したフロー図(2)Flow diagram explaining the automatic installation mechanism between the system unit and the management server (2) システム装置と管理サーバ間の自動インストールの仕組みを説明したフロー図(3)Flow diagram explaining the mechanism of automatic installation between the system unit and the management server (3)

符号の説明Explanation of symbols

101 ライセンス/自動起動プログラム媒体
102 システム装置
103 読取部
104 I/Oカード等のアダプタ
105 エージェント
106 オペレーティングシステム
107 管理情報等格納領域
108 通信制御部
109 管理サーバ
110 通信制御部
111 オペレーティングシステム
112 制御プログラム
113 管理情報/オブジェクト格納領域
201 ライセンスコード領域
202 自動起動プログラム領域
203 ライセンスキー領域
204 使用要否領域
301 ファームウェア領域
401 システム装置識別番号領域
402 自動起動プログラム領域
403 ファームウェア書替プログラム領域
501 ライセンスコード
502 システム装置番号
503 ライセンスキー
504 ファームウェア(オブジェクト)
505 発行回数
506 制限回数
DESCRIPTION OF SYMBOLS 101 License / automatic start program medium 102 System apparatus 103 Reading part 104 Adapter such as I / O card 105 Agent 106 Operating system 107 Management information storage area 108 Communication control part 109 Management server 110 Communication control part 111 Operating system 112 Control program 113 Management information / object storage area 201 License code area 202 Automatic activation program area 203 License key area 204 Usage necessity area 301 Firmware area 401 System device identification number area 402 Automatic activation program area 403 Firmware rewrite program area 501 License code 502 System apparatus Number 503 License key 504 Firmware (object)
505 Number of times of issue 506 Number of times of limit

Claims (3)

システム装置に搭載されるアダプタのファームウェア書替え方法において、
前記ファームウェアの書替え制御を行うエージェントを用意し、
前記ファームウェアをサーバから受信するための自動起動プログラムを管理情報格納領域に格納し、
前記エージェントが前記管理情報格納領域に格納された前記自動起動プログラムを起動し、
起動された前記自動起動プログラムが新たなファームウェアを含むインストールプログラムをサーバから受信して前記管理情報格納領域に格納し、その後前記自動起動プログラムが前記エージェントに前記アダプタのファームウェアの書替えを指示し、
ファームウェアの書替えを指示された前記エージェントが起動中のアプリケーションを停止させ、その後前記エージェントが前記管理情報格納領域に格納された前記インストールプログラムを起動し、
起動された前記インストールプログラムが前記アダプタのファームウェアを新たなファームウェアに書替え、
ファームウェアの書替え終了後に、前記エージェントが当該システム装置を再起動することを特徴とするファームウェア書替え方法。
In the method of rewriting the firmware of the adapter mounted on the system unit,
Prepare an agent for rewriting control of the firmware,
An automatic startup program for receiving the firmware from the server is stored in the management information storage area,
The agent starts the automatic start program stored in the management information storage area,
The started automatic startup program receives an installation program including new firmware from the server and stores it in the management information storage area, and then the automatic startup program instructs the agent to rewrite the firmware of the adapter,
The agent instructed to rewrite the firmware stops the running application, and then the agent starts the installation program stored in the management information storage area,
The started installation program rewrites the firmware of the adapter with new firmware,
A firmware rewriting method, wherein the agent restarts the system device after rewriting of the firmware.
前記自動起動プログラムは、前記システム装置に装着された電子媒体に格納されたライセンスコード及び前記管理情報格納領域に格納されたシステム装置識別番号を取得し、前記ライセンスコードと前記システム装置番号とを前記サーバに送信し、前記ライセンスコードと前記システム装置番号に対応するライセンスキーを前記サーバから受信し、前記システム装置番号、前記ライセンスコード、および前記サーバから受信したライセンスキーを前記サーバに送信し、前記システム装置番号、前記ライセンスコード、および前記サーバに送信したライセンスキーに対応する前記インストールプログラムを前記サーバから受信することを特徴とする請求項1記載のファームウェア書替え方法。   The automatic start program acquires a license code stored in an electronic medium attached to the system device and a system device identification number stored in the management information storage area, and the license code and the system device number are obtained. Transmitting the license code and the license key corresponding to the system device number from the server, transmitting the system device number, the license code, and the license key received from the server to the server, 2. The firmware rewriting method according to claim 1, wherein the installation program corresponding to a system apparatus number, the license code, and a license key transmitted to the server is received from the server. 電子媒体はUSBメモリであることを特徴とする請求項2記載のファームウェア書替え方法。   The firmware rewriting method according to claim 2, wherein the electronic medium is a USB memory.
JP2007248352A 2007-09-26 2007-09-26 Firmware rewriting method Pending JP2009080592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007248352A JP2009080592A (en) 2007-09-26 2007-09-26 Firmware rewriting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007248352A JP2009080592A (en) 2007-09-26 2007-09-26 Firmware rewriting method

Publications (1)

Publication Number Publication Date
JP2009080592A true JP2009080592A (en) 2009-04-16

Family

ID=40655308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007248352A Pending JP2009080592A (en) 2007-09-26 2007-09-26 Firmware rewriting method

Country Status (1)

Country Link
JP (1) JP2009080592A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017503248A (en) * 2013-12-05 2017-01-26 オラクル・インターナショナル・コーポレイション System and method for supporting host-based in-band / sideband firmware upgrade of input / output (I / O) devices in a middleware machine environment
US10630570B2 (en) 2010-09-17 2020-04-21 Oracle International Corporation System and method for supporting well defined subnet topology in a middleware machine environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10630570B2 (en) 2010-09-17 2020-04-21 Oracle International Corporation System and method for supporting well defined subnet topology in a middleware machine environment
JP2017503248A (en) * 2013-12-05 2017-01-26 オラクル・インターナショナル・コーポレイション System and method for supporting host-based in-band / sideband firmware upgrade of input / output (I / O) devices in a middleware machine environment

Similar Documents

Publication Publication Date Title
US7929706B2 (en) Encryption key restoring method, information processing apparatus, and encryption key restoring program
KR100901903B1 (en) Self-monitoring and updating of firmware over a network
US9292277B2 (en) Methods and devices for updating firmware of a component using a firmware update application
US9205809B2 (en) Vehicle unit and method for operating the vehicle unit
US7676671B2 (en) System for multi-profile boot selection of an embedded device
CN101807152B (en) Basic output and input system for self verification of selection read only memory and verification method thereof
CN103718165A (en) BIOS flash attack protection and notification
CN104123153A (en) Apparatus and method for firmware upgrade using USB
JP2015222474A (en) Method, computer program and computer for repairing variable set
CN108319520A (en) Mobile device alternate operating system based on secure storage
US7418542B2 (en) Rewritable, nonvolatile memory, electronic device, method of rewriting rewritable, nonvolatile memory, and storage medium having stored thereon rewrite program
CN106155713B (en) Startup information management method and device
CN114020340B (en) Server system and data processing method thereof
KR20090004406A (en) Electronic device, electronic device system and control method thereof
US7360074B2 (en) Method for remote flashing of a bios memory in a data processing system
CN116578327B (en) Program updating method and device, electronic equipment and storage medium
JP2009080592A (en) Firmware rewriting method
JP6192089B2 (en) Information processing apparatus, control method and control program for information processing apparatus
KR100775431B1 (en) Apparatus and Method for System Imbedded System and Firmware Updating Method Therein
JP2007011944A (en) Image processor and firmware upgrading method
JP4076113B2 (en) Electronic control unit
JP3308920B2 (en) Information processing device
JP2006221354A (en) Information update method, program and information processor
JP2006235791A (en) Image processor
JP2012194675A (en) Information apparatus and emergency access method for information apparatus