JP2004318871A - Communication device and its remote management system, OS update method, program, and recording medium - Google Patents
Communication device and its remote management system, OS update method, program, and recording medium Download PDFInfo
- Publication number
- JP2004318871A JP2004318871A JP2004107216A JP2004107216A JP2004318871A JP 2004318871 A JP2004318871 A JP 2004318871A JP 2004107216 A JP2004107216 A JP 2004107216A JP 2004107216 A JP2004107216 A JP 2004107216A JP 2004318871 A JP2004318871 A JP 2004318871A
- Authority
- JP
- Japan
- Prior art keywords
- update
- updating
- communication device
- nonvolatile storage
- information
- 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.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
この発明は、通信装置、この電子装置とこれをネットワークを介して遠隔管理する管理装置とによって構成された遠隔管理システム、上記電子装置におけるソフトウェア更新方法、上記電子装置を制御するコンピュータに必要な機能(この発明に係わる機能)を実現させるためのプログラム、およびそのプログラムを記録した記録媒体に関する。 The present invention relates to a communication device, a remote management system including the electronic device and a management device for remotely managing the electronic device via a network, a software update method in the electronic device, and a function required for a computer controlling the electronic device. The present invention relates to a program for realizing (a function according to the present invention) and a recording medium on which the program is recorded.
従来から、通信機能を備えたプリンタ,ファクシミリ(FAX)装置,デジタル複写機,スキャナ装置,デジタル複合機等の画像処理装置を始め、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等に通信機能を持たせた通信装置(電子装置)を被管理装置とし、外部装置であるサービスセンタ(管理センタ)の管理装置が公衆回線やインタネット等のネットワーク経由でこれらの被管理装置を遠隔管理する遠隔管理システムが提案されている。 Conventionally, including image processing devices such as printers, facsimile (FAX) devices, digital copiers, scanner devices, and digital multifunction devices with communication functions, network home appliances, vending machines, medical devices, power supplies, air conditioning systems, A communication device (electronic device) having a communication function in a measurement system such as gas, water, electricity, etc. is a managed device, and a management device of a service center (management center) as an external device is a network such as a public line or the Internet. There has been proposed a remote management system that remotely manages these managed devices via the Internet.
このような遠隔管理システムに使用されている通信装置は、一般に、内部に当該通信装置全体の動作を制御するCPU(中央処理装置)と、CPUにその制御を行わせるためのソフトウェア(プログラム)を記憶するメモリとを有している。
通常、ソフトウェアを記憶するメモリとしてROMが用いられ、そのROMに、通信装置の基本動作を制御するプログラムを始めとして、各種パラメータやプログラムコードを含むファームウェアが格納されている。
A communication device used in such a remote management system generally includes a CPU (central processing unit) for controlling the operation of the entire communication device, and software (program) for causing the CPU to perform the control. And a memory for storing.
Usually, a ROM is used as a memory for storing software, and the ROM stores a firmware including various parameters and program codes, including a program for controlling a basic operation of the communication device.
ところで、通信装置の性能を向上させたり、通信装置の不具合を解消するために設計変更等を行い、それによりソフトウェア(一般にはファームウェア)の更新(バージョンアップ)が必要となる場合がある。なお、ファームウェアの例としては、アプリ(アプリケーションプログラム)やOS(オペレーティングシステム)が挙げられる。
従来、この種の通信装置のソフトウェアの更新(例えばパラメータの書き換え等の更新を含む)は、サービスエンジニア(カスタマエンジニア)が顧客先を訪問し、その顧客先に設置されている通信装置の内部のROMを差し替えることによって行っていた。
By the way, in order to improve the performance of the communication device or to solve the malfunction of the communication device, a design change or the like is performed, so that software (generally, firmware) needs to be updated (upgraded) in some cases. Note that examples of the firmware include an application (application program) and an OS (operating system).
Conventionally, software update of this type of communication device (including update such as rewriting of parameters) is performed by a service engineer (customer engineer) who visits a customer and checks the inside of the communication device installed at the customer. This was done by replacing the ROM.
一方、最近では、通信装置の工場出荷時に、その通信装置の動作を制御するためのソフトウェアをEPROM(Erasable Programmable Read Only Memory)やフラッシュROM等の不揮発性メモリ(不揮発性記憶手段)に書き込み、その不揮発性メモリを通信装置に実装しているが、この場合、その通信装置のSCSIポート,RS−232CポートやICカードスロット等から所定の機器を使用してソフトウェアを入力し、不揮発性メモリのソフトウェアの更新を行うことが可能になっている。 On the other hand, recently, when a communication device is shipped from a factory, software for controlling the operation of the communication device is written in a nonvolatile memory (non-volatile storage means) such as an EPROM (Erasable Programmable Read Only Memory) or a flash ROM. The non-volatile memory is mounted on the communication device. In this case, software is input using a predetermined device from the SCSI port, RS-232C port, IC card slot, or the like of the communication device, and the software of the non-volatile memory is used. Can be updated.
ところが、このような従来の通信装置にあっては、実行すべき処理内容を示すソフトウェアを直接ROMに焼き込んだり、必要に応じてSCSIポート,RS―232CポートやICカードスロット等からソフトウェアを入力してソフトウェアの更新を行う方法では、以下の(1)(2)に示すような問題点があり、多大な時間と費用がかかり、ひいてはサービス性向上の妨げとなっていた。 However, in such a conventional communication device, software indicating the content of processing to be executed is directly burned into a ROM, and software is input from a SCSI port, an RS-232C port, an IC card slot, or the like as necessary. However, the method of updating software has the following problems (1) and (2), which requires a great deal of time and cost, and hinders improvement in serviceability.
(1)ROMにソフトウェアを焼き込む場合、ソフトウェアの更新には人を介してROMの交換を行う必要があり、交換すべきROMの個数が多ければ多いほど、莫大な費用と人と時間を費やしてしまう。
(2)ソフトウェアの更新は、ROMを交換するか、SCSIポート,RS―232CポートやICカードスロット等からローカルな場所でしかできなかったので、遠隔地に設置されている通信装置のソフトウェアの更新は、直接サービスエンジニアがその設置場所を訪問して行うか、ソフトウェアを郵送など別の手段であらかじめ送っておいて、ローカルで行うしかなかった。
(1) When software is burned into a ROM, it is necessary to exchange the ROM through a person for updating the software. As the number of ROMs to be replaced increases, enormous cost, person and time are spent. Would.
(2) The software can be updated only by replacing the ROM or at a local place from the SCSI port, RS-232C port, IC card slot, or the like. Therefore, the software of the communication device installed at a remote place is updated. Was done directly by a service engineer visiting the installation location or by sending the software in advance by other means, such as mailing, locally.
そこで、近年、電気的に書き換え可能な不揮発性メモリが搭載されている場合、外部装置からネットワーク等を介して送られてくるソフトウェアに基づいて不揮発性メモリ内のソフトウェアを更新する機能を有する通信装置が製品化されている。
ところが、このような通信装置では、ソフトウェアの更新中に電源遮断等のトラブル発生によってそのソフトウェアの更新に失敗すると、ソフトウェアが壊れるなどの理由で、それ以降電源投入等によって再起動させても、正常に動作しなくなる場合があり、結局はSCSIポート,RS―232CポートやICカードスロット等からソフトウェアを入力したり、不揮発性メモリを交換したりして、ソフトウェアの更新を行わなければならない。
Therefore, in recent years, when an electrically rewritable nonvolatile memory is mounted, a communication device having a function of updating software in the nonvolatile memory based on software transmitted from an external device via a network or the like. Has been commercialized.
However, in such a communication device, if the update of the software fails due to a trouble such as a power shutdown during the update of the software, the software is damaged. In some cases, the software must be updated by inputting software from a SCSI port, RS-232C port, IC card slot, or the like, or by replacing a non-volatile memory.
そこで、第1,第2の不揮発性メモリを備え、外部装置から更新用ソフトウェア(新バージョンのソフトウェア)をダウンロードして、その更新用ソフトウェアに基づいて第2の不揮発性メモリ内のソフトウェアを更新し(新バーションに書き換え)、その後の再起動時(電源投入時)に第2の不揮発性メモリ内のソフトウェアが正常か否かを判断し、正常ならばそのソフトウェアを、異常ならば第1の不揮発性メモリ内のソフトウェア(例えば固定ソフトウェア)をそれぞれ起動(実行)する機能を備えた通信装置(例えば特許文献1参照)が提案されている。
このような通信装置(例えばパーソナルコンピュータ)では、通常、ソフトウェアの更新は機器利用者の操作によって開始されるため、ソフトウェアの更新中に電源遮断のトラブル発生によってそのソフトウェアの更新が失敗しても、すぐにソフトウェアを再ダウンロードしてソフトウェアの更新を開始させ、確実にソフトウェアの更新を完了させることが可能である。 In such a communication device (for example, a personal computer), the software update is usually started by the operation of the device user. Therefore, even if the software update fails due to a power-off trouble during the software update, It is possible to immediately re-download the software, start the software update, and surely complete the software update.
一方、外部装置である管理装置からソフトウェア更新要求があった場合に、その外部装置から更新用ソフトウェアを自動的にダウンロードして第2の不揮発性メモリのソフトウェアを更新するタイプの通信装置、つまり上述したような遠隔管理システムにおける通信装置では、ソフトウェアの更新中に機器利用者が通信装置を利用しているとは限らないが、その時にトラブル発生によってソフトウェアの更新が失敗しても、その外部装置から再度ソフトウェア更新要求があれば、その外部装置から更新用ソフトウェアを自動的に再ダウンロードしてソフトウェアの更新を開始させ、ソフトウェアの更新を完了させることは可能である。 On the other hand, when there is a software update request from a management device that is an external device, a communication device of a type that automatically downloads update software from the external device and updates software in the second nonvolatile memory, In the communication device in the remote management system as described above, the device user does not always use the communication device during the software update, but even if the software update fails due to trouble at that time, the external device If there is a software update request again from the external device, it is possible to automatically redownload the update software from the external device, start the software update, and complete the software update.
そのため、管理装置(外部装置)側では、通信装置側のソフトウェアの更新状況を知る必要があるが、従来は、通信装置側でOSの更新が失敗した場合には以下の理由によりその旨を管理装置へ通知できなかったため、管理装置に対して再度ソフトウェア更新要求を出すことができず、通信装置側でOSの更新を完了できない場合もあった。
特許文献1に記載された通信装置では、管理装置から更新用OSをダウンロードしてOSの更新を行う場合には、そのOS更新中に電源遮断等のトラブル発生によってそのOS更新が失敗しても、その後の電源投入による再起動時にその失敗を判断することはできない。
For this reason, the management device (external device) needs to know the software update status of the communication device. However, conventionally, when the OS update fails on the communication device side, the fact is managed for the following reason. Because the device could not be notified, the software update request could not be issued again to the management device, and the communication device could not complete the OS update in some cases.
In the communication device described in Patent Literature 1, when an update OS is downloaded from the management device and the OS is updated, even if the OS update fails due to a trouble such as power shutoff during the OS update. However, the failure cannot be determined at the time of restarting after the power is turned on.
すなわち、電源投入によって当該通信装置を再起動する場合、OS起動前にROM等に記憶されているブートローダ(ブートプログラム)が起動するため、そのブートローダがOS更新が成功したか否かをチェックする必要がある。しかし、このブートローダは、第2の不揮発性メモリにおけるOSの有無をその名称等の識別情報を参照することによって判断することはできるが、OSの内容をチェックしてそのOSが正常か否かを判断するはできない。よって、OS更新が失敗していても、それを判断することはできない。 That is, when the communication device is restarted by turning on the power, the boot loader (boot program) stored in the ROM or the like is started before the OS is started, so that the boot loader needs to check whether the OS update is successful. There is. However, this boot loader can determine the presence or absence of an OS in the second nonvolatile memory by referring to identification information such as its name. However, the boot loader checks the contents of the OS and determines whether or not the OS is normal. I can't judge. Therefore, even if the OS update has failed, it cannot be determined.
この発明は上記の問題点に鑑みてなされたものであり、通信装置において、管理装置等の外部装置から更新用OSをダウンロードしてOSの更新を行う場合に、電源遮断等のトラブル発生によってそのOS更新が失敗した場合でも、その後の電源投入による再起動時にその失敗を簡単且つ確実に判断できるようにすることを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and in a case where a communication device downloads an update OS from an external device such as a management device and updates the OS, the problem is caused by the occurrence of a trouble such as power shutdown. It is an object of the present invention to be able to easily and surely determine the failure of an OS update at the time of a restart after power-on, even if the update fails.
この発明は、上記の目的を達成するため、通信装置と、その遠隔管理システム、および上記通信装置の異常発生時の制御方法、並びに上記通信装置を制御するコンピュータに必要な機能を実現させるためのプログラムを提供する。 In order to achieve the above object, the present invention provides a communication device, a remote management system for the communication device, a control method when an abnormality occurs in the communication device, and a function required for a computer controlling the communication device. Provide a program.
請求項1の発明による通信装置は、第1,第2の不揮発性記憶手段と、外部装置からOS更新要求があった場合に、該外部装置から更新用OSをダウンロードするダウンロード手段と、該手段によってダウンロードされたOSに基づいて上記第1,第2の不揮発性記憶手段内のOSを更新するOS更新手段とを有する通信装置であって、上記ダウンロード手段による更新用OSのダウンロードが成功した場合に、OS更新中を示す更新中情報を上記第1の不揮発性記憶手段に設定する第1の状態情報制御手段と、当該通信装置の起動時に、上記更新中情報の設定の有無をチェックし、該更新中情報が設定されていない場合には上記第2の不揮発性記憶手段内のOSを、該更新中情報が設定されている場合には上記第1の不揮発性記憶手段内のOSをそれぞれ起動させるOS起動手段とを設けたことものである。 A communication device according to claim 1, wherein the first and second nonvolatile storage means, a download means for downloading an update OS from the external device when an OS update request is received from the external device, Communication means having an OS updating means for updating the OS in the first and second non-volatile storage means based on the OS downloaded by the downloading means, and the downloading of the updating OS by the downloading means is successful. A first state information control unit that sets updating information indicating that the OS is being updated in the first nonvolatile storage unit, and checks whether or not the updating information is set when the communication device is activated, If the updating information is not set, the OS in the second non-volatile storage means is changed. If the updating information is set, the OS in the first non-volatile storage means is changed. Those that provided the OS starting means for starting the S, respectively.
請求項2の発明による通信装置は、請求項1の通信装置において、上記OS起動手段によって上記第1の不揮発性記憶手段内のOSが起動された場合には、OS更新失敗を上記外部装置へ通知するOS更新失敗通知手段を設けたものである。
請求項3の発明による通信装置は、請求項1又は2の通信装置において、上記ダウンロード手段は、上記OS更新失敗通知手段による上記外部装置へのOS更新失敗の通知に対して、該外部装置から再びOS更新要求があった場合に、該外部装置から更新用OSをダウンロードする手段を備えたものである。
According to a second aspect of the present invention, in the communication device of the first aspect, when the OS in the first nonvolatile storage unit is activated by the OS activation unit, an OS update failure is notified to the external device. This is provided with an OS update failure notifying means for notifying.
A communication device according to a third aspect of the present invention is the communication device according to the first or second aspect, wherein the download unit transmits the OS update failure notification to the external device by the OS update failure notification unit from the external device. When an OS update request is made again, a means for downloading an update OS from the external device is provided.
請求項4の発明による通信装置は、請求項1〜3のいずれかの通信装置において、上記OS更新手段に、上記第1の状態情報制御手段によって上記更新中情報が設定された後、上記更新用OSに基づいて上記第2の不揮発性記憶手段内のOSを更新する手段を備え、該手段による更新が成功した場合に、上記更新中情報の設定を解除すると共に、OS更新完了を示す更新完了情報を上記第1の不揮発性記憶手段に設定する第2の状態情報制御手段を設けたものである。 A communication device according to a fourth aspect of the present invention is the communication device according to any one of the first to third aspects, wherein after the updating information is set in the OS updating unit by the first state information control unit, the updating is performed. Means for updating the OS in the second non-volatile storage means based on the OS for use. When the update by the means is successful, the setting of the updating information is canceled and the update indicating completion of the OS update is performed. There is provided second state information control means for setting completion information in the first nonvolatile storage means.
請求項5の発明による通信装置は、請求項1〜4のいずれかの通信装置において、上記OS起動手段によって上記第2の不揮発性記憶手段内のOSが起動し、且つ上記更新完了情報が設定されている場合には、OS更新完了を上記外部装置へ通知するOS更新完了通知手段と、該手段による通知が終了した後、上記更新完了情報の設定を解除する第3の状態情報制御手段とを設け、上記OS更新手段に、上記第3の状態情報制御手段によって上記更新完了情報の設定が解除された後、上記第2の不揮発性記憶手段内のOSに基づいて上記第1の不揮発性記憶手段内のOSを更新する手段を備えたものである。 A communication device according to a fifth aspect of the present invention is the communication device according to any one of the first to fourth aspects, wherein the OS in the second nonvolatile storage unit is activated by the OS activation unit, and the update completion information is set. If the update has been performed, an OS update completion notifying unit that notifies the external device of the completion of the OS update, and a third state information control unit that cancels the setting of the update completion information after the notification by the unit is completed. After the setting of the update completion information is canceled by the third state information control means in the OS update means, the first nonvolatile memory is stored on the basis of the OS in the second nonvolatile storage means. It has means for updating the OS in the storage means.
請求項6の発明による遠隔管理システムは、管理装置によってネットワーク経由で複数の通信装置を遠隔管理する遠隔管理システムであって、上記通信装置に、第1,第2の不揮発性記憶手段と、上記管理装置からOS更新要求があった場合に、該管理装置から更新用OSをダウンロードするダウンロード手段と、該手段によってダウンロードされたOSに基づいて上記第1,第2の不揮発性記憶手段内のOSを更新するOS更新手段と、上記ダウンロード手段による更新用OSのダウンロードが成功した場合に、OS更新中を示す更新中情報を上記第1の不揮発性記憶手段に設定する第1の状態情報制御手段と、当該通信装置の起動時に、上記更新中情報の設定の有無をチェックし、該更新中情報が設定されていない場合には上記第2の不揮発性記憶手段内のOSを、該更新中情報が設定されている場合には上記第1の不揮発性記憶手段内のOSをそれぞれ起動させるOS起動手段とを設けたものである。 A remote management system according to a sixth aspect of the present invention is a remote management system for remotely managing a plurality of communication devices via a network by a management device, wherein the communication device includes first and second nonvolatile storage means, Download means for downloading an update OS from the management apparatus when an OS update request is received from the management apparatus; and an OS in the first and second nonvolatile storage means based on the OS downloaded by the means. OS update means for updating the OS, and first state information control means for setting update-in-progress information indicating that the OS is being updated in the first nonvolatile storage means when the download of the update OS by the download means succeeds. When the communication device is activated, it is checked whether or not the updating information has been set. If the updating information has not been set, the second failure is checked. The OS of the nonvolatile the storage means, when the updating information is set is provided with a an OS starting means for starting each OS in the first nonvolatile storage means.
請求項7の発明による遠隔管理システムは、請求項6の遠隔管理システムにおいて、上記通信装置に、上記OS起動手段によって上記第1の不揮発性記憶手段内のOSが起動された場合には、OS更新失敗を当該通信装置の識別情報と共に上記管理装置へ通知するOS更新失敗通知手段を設けたものである。
請求項8の発明による遠隔管理システムは、請求項6又は7の遠隔管理システムにおいて、上記通信装置に、上記管理装置に対して定期的に送信要求があるかどうかの問い合わせを行う送信要求有無問合手段を設け、上記通信装置のダウンロード手段を、上記送信要求有無問合手段による上記管理装置への送信要求の問い合わせに対して、該管理装置からOS更新要求があった場合に、該管理装置に対して更新用OSを要求することにより、該管理装置から更新用OSをダウンロードする手段としたものである。
A remote management system according to a seventh aspect of the present invention is the remote management system according to the sixth aspect, wherein the OS in the first non-volatile storage unit is activated in the communication device by the OS activation unit. An OS update failure notifying means for notifying the management device of the update failure together with the identification information of the communication device is provided.
The remote management system according to claim 8 is the remote management system according to
請求項9の発明による遠隔管理システムは、請求項6〜8のいずれかの遠隔管理システムにおいて、上記通信装置のダウンロード手段に、上記OS更新失敗通知手段による上記管理装置へのOS更新失敗の通知に対して、該外部装置から再びOS更新要求があった場合に、該管理装置に対して更新用OSを要求することにより、該管理装置から更新用OSをダウンロードする手段を備えたものである。
請求項10の発明による遠隔管理システムは、請求項6〜9のいずれかの遠隔管理システムにおいて、上記通信装置のOS更新手段に、上記第1の状態情報制御手段によって上記更新中情報が設定された後、上記更新用OSに基づいて上記第2の不揮発性記憶手段内のOSを更新する手段を備え、上記通信装置に、該手段による更新が成功した場合に、上記更新中情報の設定を解除すると共に、OS更新完了を示す更新完了情報を上記第1の不揮発性記憶手段に設定する第2の状態情報制御手段を設けたものである。
A remote management system according to a ninth aspect of the present invention is the remote management system according to any one of the sixth to eighth aspects, wherein a notification of the OS update failure to the management device is sent to the download unit of the communication device by the OS update failure notification unit. A means for downloading an update OS from the management device by requesting the update device from the management device when an OS update request is received again from the external device. .
According to a tenth aspect of the present invention, in the remote management system according to any one of the sixth to ninth aspects, the updating information is set in the OS updating unit of the communication device by the first state information control unit. And updating the OS in the second non-volatile storage means based on the OS for updating, and when the updating by the means is successful, the communication device sets the updating-in-progress information. A second state information control means for canceling the OS update and setting the update completion information indicating the completion of the OS update in the first nonvolatile storage means is provided.
請求項11の発明による遠隔管理システムは、請求項6〜10の遠隔管理システムにおいて、上記通信装置に、上記OS起動手段によって上記第2の不揮発性記憶手段内のOSが起動し、且つ上記更新完了情報が設定されている場合には、OS更新完了を当該通信装置の識別情報と共に上記管理装置へ通知するOS更新完了通知手段と、該手段による通知が終了した後、上記更新完了情報の設定を解除する第3の状態情報制御手段とを設け、上記OS更新手段に、上記第3の状態情報制御手段によって上記更新完了情報の設定が解除された後、上記第2の不揮発性記憶手段内のOSに基づいて上記第1の不揮発性記憶手段内のOSを更新する手段を備えたものである。 The remote management system according to an eleventh aspect of the present invention is the remote management system according to the sixth to tenth aspects, wherein the OS in the second nonvolatile storage unit is activated by the OS activation unit in the communication device, and the update is performed. When the completion information is set, the OS update completion notifying means for notifying the management device of the completion of the OS update together with the identification information of the communication device, and setting the update completion information after the notification by the means is completed. And third state information control means for canceling the update completion information in the OS update means after the setting of the update completion information is canceled by the third state information control means. Means for updating the OS in the first nonvolatile storage means based on the OS.
請求項12の発明によるOS更新方法は、第1,第2の不揮発性記憶手段と、外部装置から更新用OSをダウンロードし、該OSに基づいて上記第1,第2の不揮発性記憶手段内のOSを更新する通信装置におけるOS更新方法であって、外部装置からOS更新要求があった場合に、該外部装置から更新用OSをダウンロードし、該ダウンロードが成功した場合に、OS更新中を示す更新中情報を上記第1の不揮発性記憶手段に設定した後、上記更新用OSに基づいて上記第2の不揮発性記憶手段内のOSを更新し、当該通信装置の起動時に、上記更新中情報の設定の有無をチェックし、該更新中情報が設定されていない場合には上記第2の不揮発性記憶手段内のOSを、該更新中情報が設定されている場合には上記第1の不揮発性記憶手段内のOSをそれぞれ起動させるものである。 The OS updating method according to the twelfth aspect of the present invention provides a first and second non-volatile storage means, and an updating OS downloaded from an external device, and the first and second non-volatile storage means are downloaded based on the OS. An OS update method in a communication device for updating an OS, wherein when an OS update request is received from an external device, an update OS is downloaded from the external device, and when the download is successful, the OS update is performed. After setting the updating information shown in the first non-volatile storage means, the OS in the second non-volatile storage means is updated based on the OS for updating, and when the communication apparatus is started, the updating is performed. It is checked whether or not information has been set. If the updating information has not been set, the OS in the second nonvolatile storage means has been set. If the updating information has been set, the OS has not been updated. Non-volatile storage means The OS and is intended to activate respectively.
請求項13の発明によるOS更新方法は、請求項12のOS更新方法において、上記第1の不揮発性記憶手段内のOSが起動した場合には、OS更新失敗を上記外部装置へ通知するものである。
請求項14の発明によるOS更新方法は、請求項12又は13のOS更新方法において、上記外部装置への上記OS更新失敗の通知に対して、該外部装置から再びOS更新要求があった場合に、該外部装置から更新用OSをダウンロードするものである。
An OS updating method according to a thirteenth aspect of the present invention is the OS updating method according to the twelfth aspect, wherein when the OS in the first non-volatile storage unit is activated, the OS updating failure is notified to the external device. is there.
An OS update method according to a fourteenth aspect of the present invention is the OS update method according to the twelfth or thirteenth aspect, wherein, in response to the OS update failure notification to the external device, an OS update request is again issued from the external device. And downloading the update OS from the external device.
請求項15の発明によるOS更新方法は、請求項12〜14のいずれかのOS更新方法において、上記第2の不揮発性記憶手段内のOSの更新が成功した場合に、上記更新中情報の設定を解除すると共に、OS更新完了を示す更新完了情報を上記第1の不揮発性記憶手段に設定するものである。
請求項16の発明によるOS更新方法は、請求項12〜15のいずれかのOS更新方法において、上記第2の不揮発性記憶手段内のOSが起動し、且つ上記更新完了情報が設定されている場合には、OS更新完了を上記外部装置へ通知し、該通知が終了した後、上記更新完了情報の設定を解除し、上記第2の不揮発性記憶手段内のOSに基づいて上記第1の不揮発性記憶手段内のOSを更新するものである。
In the OS updating method according to the invention of
According to a sixteenth aspect of the present invention, in the OS updating method according to any one of the twelfth to fifteenth aspects, the OS in the second nonvolatile storage unit is activated and the update completion information is set. In this case, the completion of the OS update is notified to the external device. After the notification is completed, the setting of the update completion information is released, and the first device is reset based on the OS in the second nonvolatile storage means. This is for updating the OS in the non-volatile storage means.
請求項17の発明によるプログラムは、第1,第2の不揮発性記憶手段を有する通信装置を制御するコンピュータに、外部装置からOS更新要求があった場合に、該外部装置から更新用OSをダウンロードするダウンロード機能と、該機能による更新用OSのダウンロードが成功した場合に、OS更新中を示す更新中情報を上記第1の不揮発性記憶手段に設定する第1の状態情報制御機能と、当該通信装置の起動時に、上記更新中情報の設定の有無をチェックし、該更新中情報が設定されていない場合には上記第2の不揮発性記憶手段内のOSを、該更新中情報が設定されている場合には上記第1の不揮発性記憶手段内のOSをそれぞれ起動させるOS起動機能とを実現させるためのものである。
A program according to the invention of
請求項18の発明によるプログラムは、請求項17のプログラムにおいて、上記コンピュータに、上記OS起動機能によって上記第1の不揮発性記憶手段内のOSが起動された場合には、OS更新失敗を上記外部装置へ通知するOS更新失敗通知機能をも実現させるためのものである。
請求項19の発明によるプログラムは、請求項17又は18のプログラムにおいて、上記ダウンロード機能に、上記OS更新失敗通知機能による上記外部装置へのOS更新失敗の通知に対して、該外部装置から再びOS更新要求があった場合に、該外部装置から更新用OSをダウンロードする機能を備えたものである。
The program according to
The program according to
請求項20の発明によるプログラムは、請求項17〜19のいずれかのプログラムにおいて、上記コンピュータに、上記第1の状態情報制御機能によって上記更新中情報が設定された後、上記更新用OSに基づいて上記第2の不揮発性記憶手段内のOSを更新するOS更新機能と、該機能による更新が成功した場合に、上記更新中情報の設定を解除すると共に、OS更新完了を示す更新完了情報を上記第1の不揮発性記憶手段に設定する第2の状態情報制御機能をも実現させるためのものである。 According to a twentieth aspect of the present invention, in the program according to any one of the seventeenth to nineteenth aspects, after the updating information is set in the computer by the first state information control function, the computer is configured to execute the updating OS based on the updating OS. An OS update function for updating the OS in the second nonvolatile storage means, and when the update by the function is successful, cancels the setting of the update-in-progress information and updates the update completion information indicating the completion of the OS update. This is also for realizing a second state information control function set in the first nonvolatile storage means.
請求項21の発明によるプログラムは、請求項17〜20のいずれかのプログラムにおいて、上記コンピュータに、上記OS起動機能によって上記第2の不揮発性記憶手段内のOSが起動し、且つ上記更新完了情報が設定されている場合には、OS更新完了を上記外部装置へ通知するOS更新完了通知機能と、該機能による通知が終了した後、上記更新完了情報の設定を解除する第3の状態情報制御機能をも実現させると共に、上記OS更新機能に、上記第3の状態情報制御機能によって上記更新完了情報の設定が解除された後、上記第2の不揮発性記憶手段内のOSに基づいて上記第1の不揮発性記憶手段内のOSを更新する機能を備えたものである。
請求項22の発明による記録媒体は、請求項17〜21のいずれかのプログラムを記録したコンピュータ読み取り可能な記録媒体である。
A program according to a twenty-first aspect of the present invention is the program according to any one of the seventeenth to twentieth aspects, wherein the OS in the second nonvolatile storage unit is activated by the OS activation function in the computer, and the update completion information is updated. Is set, an OS update completion notification function for notifying the external device of the OS update completion, and a third state information control for canceling the setting of the update completion information after the end of the notification by the function. A function is also realized, and after the setting of the update completion information is released to the OS update function by the third state information control function, the OS update function is executed based on the OS in the second nonvolatile storage means. This is provided with a function of updating the OS in the first nonvolatile storage means.
A recording medium according to a twenty-second aspect of the present invention is a computer-readable recording medium storing the program according to any one of the seventeenth to twenty-first aspects.
この発明によれば、通信装置が、管理装置等の外部装置から更新用OSをダウンロードしてOSの更新を行う場合に、電源遮断等のトラブル発生によってそのOS更新が失敗した場合でも、その後の電源投入による再起動時にその失敗を簡単且つ確実に判断することができる。よって、すぐに更新用のOSを再ダウンロードしてOSの更新を開始させることができるため、OSの更新を確実に完了させることが可能になる。 According to the present invention, when the communication device downloads an update OS from an external device such as a management device and updates the OS, even if the OS update fails due to a trouble such as a power shutdown, The failure can be easily and reliably determined at the time of restarting when the power is turned on. Therefore, the OS for update can be immediately downloaded again to start the update of the OS, so that the update of the OS can be surely completed.
以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
まず、この発明による通信装置を被管理装置とする遠隔管理システムの構成例について説明する。図1は、その遠隔管理システムの構成の一例を示す概念図である。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
First, a configuration example of a remote management system using a communication device according to the present invention as a managed device will be described. FIG. 1 is a conceptual diagram showing an example of the configuration of the remote management system.
この遠隔管理システムは、プリンタ,FAX装置,デジタル複写機,デジタル複合機等の画像形成装置やスキャナ装置などの画像処理装置やスキャナ装置などの画像処理装置、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等に通信機能を持たせた通信装置(電子装置)1(1a,1b,1c,1d,1e,1f,1g)を被管理装置とする遠隔管理システムである。そして、この各通信装置1と接続される(通信装置側から見た)外部装置として、各通信装置1とインタネット5(公衆回線等の他のネットワークでもよい)を介して接続されるサーバ装置として機能する管理装置3を備え、その管理装置3が、インタネット5経由で各通信装置1を集中的に遠隔管理できるようにしたものである。なお、公衆回線(又は専用回線)としては、アナログ回線,ADSL回線,デジタル回線(ISDN回線),光ファイバー利用回線等の固定電話回線や、携帯電話回線,PHS回線等の移動電話回線がある。
The remote management system includes image forming apparatuses such as printers, fax machines, digital copiers, and digital multifunction peripherals, image processing apparatuses such as scanner apparatuses, image processing apparatuses such as scanner apparatuses, network home appliances, vending machines, medical equipment, A communication device (electronic device) 1 (1a, 1b, 1c, 1d, 1e, 1f, 1g) having a communication function in a power supply device, an air-conditioning system, a gas / water supply / electricity metering system, or the like is defined as a managed device. Remote management system. As an external device (as viewed from the communication device side) connected to each communication device 1, as a server device connected to each communication device 1 via the Internet 5 (or another network such as a public line). A
例えば、図1に示す設置環境Aでは、管理装置3とHTTP(Hyper Text Transfer Protocol)による直接的なコネクションを確立できる通信装置1a,1bが、設置環境Bでは、管理装置3とHTTPによる直接的なコネクションを確立できる通信装置1c,1d,1eが、設置環境Cでは、管理装置3とHTTPによる直接的なコネクションを確立できる通信装置1f,1gがそれぞれ設置されている。
なお、各設置環境A,B,Cには、セキュリティ面を考慮し、ファイアウォール7(7a,7b,7c)を設置する。
For example, in the installation environment A shown in FIG. 1, the
In each of the installation environments A, B, and C, a firewall 7 (7a, 7b, 7c) is installed in consideration of security.
このような遠隔管理システムにおいて、各通信装置1は、自己の制御管理のためのアプリ(アプリケーションプログラム)を実装している。
管理装置3は、各通信装置1の制御管理を行うためのアプリを実装している。そして、この遠隔管理システムにおけるこれら各通信装置1は、RPC(remote procedure call)により、相互の実装するアプリのメソッドに対する処理の依頼である「要求」を通知し、この依頼された処理の結果である「応答」を取得することができるようになっている。
In such a remote management system, each communication device 1 has an application (application program) for its own control management.
The
すなわち、通信装置1では、管理装置3への要求を生成してこれを管理装置3へ引き渡し(通知し)、この要求に対する応答を取得できる一方で、管理装置3は、通信装置1側への要求を生成してこれを通信装置1側へ引き渡し、この要求に対する応答を取得できるようになっている。
なお、RPCを実現するために、SOAP(Simple Object Access Protocol),HTTP,FTP(File Transfer Protocol),COM(Component Object Model),CORBA(Common Object Request Broker Architecture)等の既知のプロトコル(通信規格),技術,仕様などを利用することができる。
That is, the communication device 1 can generate a request to the
In order to realize RPC, known protocols (communication standards) such as SOAP (Simple Object Access Protocol), HTTP, FTP (File Transfer Protocol), COM (Component Object Model), and CORBA (Common Object Request Broker Architecture). , Technology, specifications, etc. can be used.
この送受信のデータ送受モデルを図2の概念図に示す。
(A)は、通信装置1で管理装置3に対する要求が発生したケースである。このケースでは、通信装置1が通信装置側要求aを生成し、これを受け取った管理装置3がこの要求に対する応答aを返すというモデルになる。なお、(A)では、応答aだけでなく応答遅延通知a′を返信するケースが表記されている。これは、管理装置3を、通信装置側要求を受け取って、当該要求に対する応答を即座に返せないと判断したときには、応答遅延通知を通知して一旦接続状態を切断し、次回の接続の際に上記要求に対する応答を改めて引き渡す構成としているためである。
The data transmission / reception model of this transmission / reception is shown in the conceptual diagram of FIG.
(A) is a case where a request to the
(B)は、管理装置3で通信装置1に対する要求が発生したケースである。このケースでは、管理装置3が管理装置側要求bを生成し、これを受け取った通信装置1が、当該要求に対する応答bを返すというモデルになっている。なお、(B)のケースでも、応答を即座に返せないときに応答遅延通知b′を返すことは(A)のケースと同様である。
(B) is a case where a request for the communication device 1 is generated in the
次に、通信装置1のハードウェア構成について図3を参照して説明する。
図3は、通信装置1内のハードウェア構成例を示すブロック図である。
この通信装置1は、CPU11,DRAM12,フラッシュROM13,カードメモリコントローラ14,カードメモリ15,リアルタイムクロック回路(RTC)16,モデム17,NCU(網制御装置)18,NIC19,20,および電源回路21等によって構成されている。
Next, the hardware configuration of the communication device 1 will be described with reference to FIG.
FIG. 3 is a block diagram illustrating an example of a hardware configuration in the communication device 1.
The communication device 1 includes a
CPU11は、DRAM12内の基本動作を制御するOS(オペレーションシステム)を含む各種プログラム(ソフトウェア)に基づいて、通信装置1の動作を制御したり、NCU18又はNIC19,20等により、図示しない公衆回線又はインタネット5経由で管理装置3に対する各種データ(又は信号)の送受信を制御したり、公衆回線経由で管理装置3に対して発呼を行うなど、この通信装置1全体を統括的に制御する中央処理装置である。
DRAM12には、OSを含む各種プログラムを記憶するプログラムメモリや、CPU11がデータ処理を行う際に使用するワークメモリ等として使用するメインメモリである。なお、このDRAM12の代わりに、SRAMを使用してもよい。
The
The
フラッシュROM13は、この通信装置1を起動させるブートローダ(ブートプログラム)を記憶するブートローダメモリ、OSのファイルであるOSイメージを記憶するOSイメージメモリ、ファームウェア書き換え中を示すファームウェア書き換え中フラグ(OS更新中を示す更新中情報を含む)およびファームウェア書き換え完了を示すファームウェア書き換え完了フラグ(OS更新完了を示す更新完了情報を含む)フラグメモリ、ファームウェアの再書き換えを実行するためのリカバリプログラムを記憶するリカバリプログラムメモリ、管理装置3および各通信装置1の一方から他方への送信データ、各通信装置1の中から1台を特定するそれぞれの機番情報(識別情報)、管理装置3等の通信先のIPアドレス,電話番号(発呼先電話番号)、回線接続が成功しなかった場合の再発呼回数(リトライ回数),再発呼間隔などを記憶するデータメモリ(データ領域)として使用する不揮発性メモリ(第1の不揮発性記憶手段)であり、電源がオフになっても記憶内容を保持するようになっている。なお、このフラッシュROM13の代わりに、EEPROM等の他の不揮発性メモリを使用してもよい。
The
カードメモリコントローラ14は、カードメモリ15に対する各種データの読み書きを制御するものである。
カードメモリ15は、SDメモリ等の記録媒体であり、OSイメージを記憶するOSイメージメモリ,アプリ(アプリケーションプログラム)を記憶するアプリメモリや、各種データを記憶するデータメモリとして使用する不揮発性メモリ(第2の不揮発性記憶手段)である。なお、この実施例では、アプリおよびOSイメージ(OSファイル)をファームウェアとするが、それらのいずれか、あるいは他のデータをファームウェアとしても構わない。
なお、フラッシュROM13やカードメモリ15の代わりに、ハードディスク装置等の大容量記憶装置(大容量記憶手段)を用いることもできる。あるいは、不揮発性記憶手段としてフラッシュROM13や大容量記憶装置等の記憶装置を1個のみ使用し、そこにフラッシュROM13として使用する記憶領域とカードメモリ15として使用する記憶領域を確保するようにしてもよい。
The
The
Instead of the
リアルタイムクロック回路16は、時刻情報を発生するものであり、CPU11がそれを読み込むことによって現在の時刻を知ることができる。
モデム17は、変復調手段であり、管理装置3へ公衆回線経由でデータを送信する場合、そのデータを公衆回線に流せる形に変調する。また、管理装置3から送られてくる変調されたデータを受信した場合、そのデータを復調する。
NCU18は、公衆回線経由で管理装置3を含む各種外部装置との通信(データの送受信)を制御するものである。
NIC19,20は、LAN(他のネットワークでもよい)上の他の通信装置との通信を制御したり、インタネット5を介して管理装置3を含む各種の外部装置と通信を制御するものである。
電源回路21は、ACアダプタ22からのAC電源(商用電源)をDC電源に変換して通信装置1内の上述した各部に供給するものである。
The real-
The
The
The
The
ここで、モデム17とCPU11とは、送信データ(TX),受信データ(RX)のデータ線、および送信可能信号(CTS),送信要求信号(RTS),データセットレディ信号(DSR),キャリア検出信号(DCD)の信号線によって接続されており、モデム17はCPU11からの送信要求信号(RTS)およびキャリア検出信号(DCD)に従って制御する。
また、NCU18とモデム17とは、受信データ(RXD)および送信データ(TXD)の信号線によって接続されている。受信データ(RXD)は管理装置3のモデムにより変調されたアナログ信号、送信データ(TXD)はモデム17によって変調されたアナログ信号である。
Here, the
Further, the
次に、管理装置3のハードウェア構成について図4を参照して説明する。
図4は、管理装置3内のハードウェア構成例を示すブロック図である。
この管理装置3は、モデム31,通信端末32,プロキシ(Proxy)サーバ33,操作者端末34,データベース35,制御装置36等からなる。
モデム31は、公衆回線を介して機器利用者側(通信装置1を利用している顧客先)の通信装置1と通信するものであり、送受信するデータを変復調する。
通信端末32は、モデム31による通信を制御するものである。
プロキシサーバ33は、インタネット5を介して機器利用者側の通信装置1との通信およびセキュリティ管理を行う。
Next, a hardware configuration of the
FIG. 4 is a block diagram illustrating an example of a hardware configuration in the
The
The
The
The
操作者端末34は、各種データの入力をオペレータによるキーボード又はポインティングデバイス(マウス等)などの入力装置上の操作により受け付ける。入力されるデータとしては、各機器利用者側の通信装置1と通信する際に使用するそれらのIPアドレスや電話番号(発呼先電話番号)等の顧客情報がある。
データベース35は、図示しないサーバのハードディスク装置等の大容量記憶装置に存在し、各機器利用者側の顧客情報および通信装置1の更新用ファームウェア(新バージョンのファームウェア)や制御装置36のCPUを動作させるためのプログラムを含む各種ソフトウェア、通信装置1から受信したデータ、操作者端末34から入力されたデータ等を記憶する。
制御装置36は、図示しないCPU,ROM,RAM等からなるマイクロコンピュータを備えており、管理装置3全体を統括的に制御する。そのCPUが、データベース35内の所定のプログラムに従って動作する。
The
The
The
以下、このように構成した遠隔管理システムにおけるこの実施例の特徴となる処理動作について、図5〜図8も参照して具体的に説明する。
まず、通信装置1のCPU11による起動時の動作の概要について、図5を参照して説明する。
図5は、通信装置1のCPU11による起動時の動作の概要例を示すフローチャートである。
通信装置1のCPU11は、電源投入(電源回路21からの給電)時に、フラッシュROM13内のブートローダに従い、図5の動作を開始する。
Hereinafter, a processing operation which is a feature of this embodiment in the remote management system configured as described above will be specifically described with reference to FIGS.
First, an outline of an operation at the time of activation by the
FIG. 5 is a flowchart illustrating an example of an outline of an operation at the time of activation by the
The
そして、まずステップS1でフラッシュROM13内のファームウェア書き換え中フラグを参照してファームウェアの書き換えが正常に終了しているか否かをチェックし、正常に終了していなければステップS4でフラッシュROM13内のOSを起動させる。
すなわち、フラッシュROM13内のOSイメージを読み出し、それをDRAM12にロードして使用可能なOSに展開した後、そのOSを起動させる。
次に、ステップS5で後述するリカバリ処理を行う。
すなわち、フラッシュROM13内のリカバリプログラムを読み出し、それをDRAM12にロードして展開した後、そのリカバリプログラムを起動させてリカバリ処理を行う。
First, in step S1, it is checked whether or not the firmware rewriting has been completed normally by referring to the firmware rewriting flag in the
That is, an OS image in the
Next, a recovery process described later is performed in step S5.
That is, the recovery program in the
一方、ファームウェアの書き換えが正常に終了している場合には、ステップS2でカードメモリ15内のOSを起動させる。
すなわち、カードメモリコントローラ14を制御してカードメモリ15内のOSイメージを読み出し、それをDRAM12にロードして使用可能なOSに展開した後、そのOSを起動させる。
そして、正常に起動すると、ステップS3の通常動作のモードに進む。
このモード時には、何らかの要求があった場合に、その要求に応じた動作(通常動作)を行う。このとき、必要に応じて所要のアプリをカードメモリ15から読み出し、それをDRAM12にロードして展開して起動させる。
On the other hand, if the rewriting of the firmware has been completed normally, the OS in the
In other words, the controller reads the OS image in the
Then, upon normal startup, the operation proceeds to the normal operation mode in step S3.
In this mode, if there is any request, an operation (normal operation) according to the request is performed. At this time, a required application is read from the
ここで、通信装置1のCPU11が、フラッシュROM13内のブートローダに基づいて動作することによってOS起動手段としての機能を、DRAM12に展開したOSおよびリカバリプログラムに基づいて動作することによって送信要求有無問合手段,ダウンロード手段,第1の状態情報制御手段,OS更新手段,第2の状態情報制御手段,OS起動手段,OS更新失敗通知手段,OS更新失敗通知手段,第3の状態情報制御手段を含む各種手段としての機能をそれぞれ実現することができる。
Here, when the
次に、通信装置1のCPU11による起動(再起動を含む)時の動作の詳細と管理装置3によるファームウェアの更新(書き換え)に関する動作の概要について、図6〜図8を参照して説明する。なお、ここでは、通信装置1がNIC19又は20を、管理装置3がプロキシサーバ33をそれぞれ使用することにより、互いにインタネット5経由で通信を行うものとするが、通信装置1がモデム17およびNCU18を、管理装置3がモデム31および通信端末32をそれぞれ使用することにより、互いに図示しない公衆回線経由で通信を行うこともできる。
Next, details of an operation at the time of activation (including restart) by the
図6および図7は、通信装置1のCPU11による起動時の動作の詳細例を示すフローチャートである。
図8は、通信装置1と管理装置3との通信シーケンスの一例を示す説明図である。
通信装置1のCPU11は、電源投入(電源回路21からの給電)時に図6,図7の動作を開始し、まずステップS11でフラッシュROM13内のブートローダを起動させ、そのブートローダに従い、ステップS12でフラッシュROM13内のファームウェア書き換え中フラグ(以下「ファーム書き換え中フラグ」ともいう)の状態(有無)をチェックし、ファーム書き換え中フラグが“0”にリセット(設定解除)されていればステップS13へ、“1”にセット(設定)されていればステップS26へそれぞれ移行する。
6 and 7 are flowcharts showing a detailed example of the operation at the time of startup by the
FIG. 8 is an explanatory diagram illustrating an example of a communication sequence between the communication device 1 and the
The
ステップS13では、カードメモリ15内のOSイメージ(当該通信装置1の通常動作用OS)を読み出し、それをDRAM12にロードして使用可能なOSに展開する。
DRAM12へのOSの展開が完了すると、ステップS14でそのOSを起動させ、ステップS15へ移行する。
ステップS15では、カードメモリ15内のアプリ(当該通信装置1の通常動作用アプリ)を読み出し、それをDRAM12にロードして展開した後、そのアプリを起動させる。このアプリの起動により、通信装置1としての動作が可能になる。
その後、ステップS16でフラッシュROM13内のファームウェア書き換え完了フラグ(以下「ファーム書き換え完了フラグ」ともいう)の状態をチェックし、ファーム書き換えフラグが“0”にリセットされていればステップS20へ、“1”にセットされていればステップS17へそれぞれ移行する。
In step S13, an OS image (OS for normal operation of the communication device 1) in the
When the deployment of the OS to the
In step S15, an application (application for normal operation of the communication device 1) in the
Thereafter, in step S16, the state of the firmware rewrite completion flag (hereinafter also referred to as "firmware rewrite completion flag") in the
ステップS20の通常動作のモード時には、前述したように、何らかの要求があった場合に、その要求に応じた動作(通常動作)を行う。
この通常動作のモード中に、定期的にステップS21へ移行し、管理装置3からインタネット5経由でファームウェア書き換え要求(以下「ファーム書き換え要求」ともいう)がなければステップS20へ戻るが、ファーム書き換え要求があればステップS22へ移る。そして、管理装置3から書き換え(更新)用のファームウェア(例えば新バージョンのOS,アプリ,又はその両者)をダウンロードする。
In the normal operation mode in step S20, as described above, if there is any request, an operation (normal operation) according to the request is performed.
During this normal operation mode, the process periodically proceeds to step S21. If there is no firmware rewrite request (hereinafter also referred to as “firmware rewrite request”) from the
ここで、通信装置1は、ファイアウォール7経由で管理装置3と通信可能にするため、図示しないタイマを使用して時間管理を行い、例えば図8に示すように、管理装置3に対してファイアウォール7およびインタネット5経由で定期的にポーリング(送信要求があるかどうかの問い合わせ)を行うようにしている。
管理装置3の制御装置36は、データベース35に書き換え用のファームウェアがある場合、いずれかの通信装置1からのポーリングにより、ファーム書き換えをその通信装置1に対して要求する。
通信装置1のCPU11は、管理装置3からファーム書き換え要求があった場合に、ファーム書き換え要求を受けた旨(応答)を管理装置3へ通知した後、書き換え用のファームウェアを管理装置3に対して要求する。
管理装置3の制御装置36は、ポーリング元の通信装置1から書き換え用のファームウェアの要求があると、データベース35内の書き換え用のファームウェアをその通信装置1へダウンロードする。
Here, the communication device 1 performs time management using a timer (not shown) in order to enable communication with the
When there is firmware for rewriting in the
When receiving a firmware rewrite request from the
Upon receiving a request for the firmware for rewriting from the polling source communication device 1, the
なお、通信装置1側にファイアウォール7が設けられ、そのファイアウォール7が管理装置3からの通信要求を通信装置1へ通さないように設定されている場合には、管理装置3は通信装置1に対してファーム書き換え要求を行っても、その要求がファイアウォール7で遮断され、通信装置1に届かない。しかし、通信装置1から管理装置3に対してポーリングを行った場合に、管理装置3からの通信要求を通信装置1へ通すような設定がファイアウォール7でなされていれば、管理装置3はポーリングを受けた時に、通信装置1に対してファーム書き換え要求を行うことにより、その要求はファイアウォール7を介して通信装置1に届くことになる。
もし、通信装置1側でセキュリティ面を考慮する必要がなければ、ファイアウォール7を設けないか、そのファイアウォール7に対して管理装置3からの通信要求を通信装置1へ通すように設定すればよく、その場合には、管理装置3は通信装置1からポーリングを受けることなく、その通信装置3に対してファーム書き換え要求を行えば、その要求は通信装置1に届くことになる。
When the
If it is not necessary to consider security aspects on the communication device 1 side, the
通信装置1のCPU11は、管理装置3からの書き換え用ファームウェアのダウンロードが終了すると、図6のステップS24でそのダウンロードの結果をチェックし、そのダウンロードが失敗した場合にはその旨を通信装置1の識別情報と共に管理装置3へ通知し、ステップS20へ戻る。書き換え用ファームウェアのダウンロードが失敗した旨を管理装置3へ通知するのは、管理装置3にそのダウンロードが失敗したことを認識させ、同じ書き換え用ファームウェアを再度送ってもらうためである。
書き換え用ファームウェアのダウンロードが成功した場合には、図7のAへ移行し、ステップS33で書き換え用ファームウェアのダウンロードが成功した旨を通信装置1の識別情報と共に管理装置3へ通知し、ステップS34でフラッシュROM13内のファーム書き換え中フラグを“1”にセットする。
When the download of the rewriting firmware from the
If the download of the rewriting firmware is successful, the process proceeds to A in FIG. 7, and in step S33, the fact that the download of the rewriting firmware is successful is notified to the
その後、ステップS35でダウンロードした書き換え用のファームウェアに基づいてカードメモリ15内のファームウェアの書き換えを実施する。
すなわち、ダウンロードした書き換え用のファームウェアがアプリであれば、カードメモリ15内のアプリをダウンロードしたアプリに書き換える。ダウンロードした書き換え用のファームウェアがOSとアプリであれば、カードメモリ15内のOSとアプリをダウンロードしたOSとアプリに書き換える。
Thereafter, the firmware in the
That is, if the downloaded firmware for rewriting is an application, the application in the
ファームウェアの書き換えが終了すると、ステップS36でその書き換えが成功したか失敗したかをチェックし、失敗すればステップS39へ移行する。
ファームウェアの書き換えが成功した場合には、ステップS37でフラッシュROM13内のファーム書き換え中フラグを“0”にリセットすると共に、ファーム書き換え完了フラグを“1”にセットした後、ステップS39でこの通信装置1を再起動させ、図6のBへ移行して、再びステップS11以降の各処理を行う。
When the rewriting of the firmware is completed, it is checked in step S36 whether the rewriting has succeeded or failed. If the rewriting has failed, the process proceeds to step S39.
If the firmware has been successfully rewritten, the firmware rewriting flag in the
ファームウェアの書き換えが成功し、フラッシュROM13内のファーム書き換え中フラグが“0”にリセットされ、且つファーム書き換え完了フラグが“1”にセットされている場合には、ステップS11〜S15の処理を行い、ステップS16のファーム書き換え完了フラグの状態チェックで“1”と判断するため、ステップS17でファームウェアの書き換え完了を通信装置1の識別情報と共に管理装置3へ通知し、ステップS18でフラッシュROM13内のファーム書き換え完了フラグを“0”にリセットした後、ステップS19でカードメモリ15内の書き換え後のファームウェアに基づいてフラッシュROM13内のファームウェアを書き換える。但し、その書き換えは、カードメモリ15内の書き換え後のファームウェアにOSが含まれている場合だけ行う。
If the firmware rewriting has succeeded, the firmware rewriting flag in the
ここで、図7のステップS35でファームウェアの書き換えを実施している最中に、機器利用者の誤操作等によって電源が遮断された場合、フラッシュROM13内のファーム書き換え中フラグは“1”を保持している。
そして、この状態で再び電源が投入された場合には、CPU11は図6の動作を再開し、上述と同様にステップS11でフラッシュROM13内のブートローダを起動させ、そのブートローダに従い、ステップS12でフラッシュROM13内のファーム書き換え中フラグの状態をチェックする。
Here, if the power is turned off due to an erroneous operation of the device user while the firmware is being rewritten in step S35 of FIG. 7, the firmware rewriting flag in the
Then, when the power is turned on again in this state, the
この場合、フラッシュROM13内のファーム書き換え中フラグは“1”であるため、カードメモリ15内のOSイメージの書き換え失敗を判断して、ステップS26へ移行する。
ステップS26では、フラッシュROM13内のレスキュー用OSイメージを読み出し、それをDRAM12にロードして使用可能なOSに展開する。
DRAM12へのレスキュー用OSの展開が完了すると、ステップS27でそのOSを起動させ、ステップS28へ移行する。
ステップS28では、フラッシュROM13内のリカバリプログラムを読み出し、それをDRAM12にロードして展開した後、そのリカバリプログラムを起動させる。
In this case, since the firmware rewriting flag in the
In step S26, the rescue OS image in the
When the development of the rescue OS in the
In step S28, the recovery program in the
その後、リカバリプログラムに従い、ステップS29で書き換え用ファームウェアの書き換え(更新)が失敗した旨を通信装置1の識別情報と共に管理装置3へ通知してステップS30へ移行し、管理装置3からファーム書き換え要求がなければ、ステップS32でファームウェアの書き換えが失敗した旨を図示しない表示部に表示するなどのエラー処理を行って、処理を終了する。書き換え用ファームウェアの書き換えが失敗した旨を管理装置3へ通知するのは、管理装置3にその書き換えが失敗したことを認識させ、同じ書き換え用ファームウェアを再度送ってもらうためである。
管理装置3からファーム書き換え要求があった場合には、ステップS31で管理装置3に対して書き換え用ファームウェアのダウンロードを要求し、ステップS23で管理装置3から書き換え用ファームウェアをダウンロードし、以後上述と同様の処理を繰り返す。
Thereafter, in accordance with the recovery program, the fact that rewriting (updating) of the rewriting firmware has failed is notified to the
If there is a firmware rewrite request from the
この実施例の通信装置1によれば、以下の(1)〜(8)に示す作用効果を得ることができる。
(1)通信装置1のCPU11が、管理装置3からファームウェア(OSを含む)の書き換え(更新)要求があった場合に、管理装置3から書き換え用のファームウェアをダウンロードし、そのダウンロードが成功した場合に、フラッシュROM13内のファーム書き換え中フラグを“1”にセットし、その後の通信装置1の起動(ブートローダの起動)時に、ファーム書き換え中フラグの状態をチェックし、ファーム書き換え中フラグが“0”にリセットされている場合には、カードメモリ15内のOSおよびアプリを順次DRAM12に展開させて起動させ、ファーム書き換え中フラグが“1”にセットされている場合には、フラッシュROM13内のOSおよびリカバリプログラムを順次DRAM12に展開させて起動させることにより、管理装置3から書き換え用ファームウェアをダウンロードしてファームウェアの書き換えを行う場合に、電源遮断(他のトラブル発生でもよい)によってそのファームウェアの書き換えが失敗した場合でも、その後の電源投入による再起動時にその失敗を簡単且つ確実に判断することができる。
According to the communication device 1 of this embodiment, the following effects (1) to (8) can be obtained.
(1) When the
(2)通信装置1のCPU11が、上述したようにフラッシュROM13内のOSおよびリカバリプログラムを順次DRAM12に展開させて起動させた場合には、その後ファームウェア書き換え失敗を通信装置1の識別情報と共に管理装置3へ通知することにより、その管理装置3から書き換え用ファームウェアを再ダウンロードしてファームウェアの書き換えを開始させることが可能になるため、ファームウェアの書き換えを確実に完了させることが可能になる。
(2) When the
(3)通信装置1のCPU11が、フラッシュROM13内のファーム書き換え中フラグを“1”にセットした後、上記書き換え用ファームウェアに基づいてカードメモリ15内のファームウェアを書き換えることにより、管理装置3から書き換え用ファームウェアをダウンロードしてファームウェアの書き換えを行っている最中に、電源遮断によってそのファームウェアの書き換えが失敗した場合でも、その後の電源投入による再起動時にその失敗を簡単且つ確実に判断することができる。
(3) After the
(4)通信装置1のCPU11が、管理装置3へのファームウェア書き換え失敗の通知に対して、その管理装置3から再びファームウェアの書き換え要求があった場合に、書き換え用ファームウェアを再ダウンロードしてファームウェアの書き換えを開始させることにより、ファームウェアの書き換えをより確実に完了させることが可能になる。
(4) In response to the firmware rewriting failure notification to the
(5)通信装置1のCPU11が、管理装置3へのファームウェア書き換え失敗の通知に対して、その管理装置3から再びファームウェアの書き換え要求があった場合に、ファームウェア書き換え要求を受けた旨を通信装置1の識別情報と共に管理装置3へ通知すれば、管理装置3側では通信装置1でファームウェアの書き換え要求を受けたことを確認できるため、書き換え用ファームウェアを通信装置1へ直ちにダウンロードできるように準備しておくことができる。
(5) When the
(6)通信装置1のCPU11が、管理装置3に対して定期的に送信要求があるかどうかの問い合わせを行い、その問い合わせに対して、管理装置3からファームウェア書き換え要求があった場合に、管理装置3に対して書き換え用ファームウェアを要求することにより、管理装置3から書き換え用ファームウェアをダウンロードできるため、管理装置3に書き換え用ファームウェアがある場合、管理装置3からファームウェア書き換え要求を確実に受けることができる。
(6) The
(7)通信装置1のCPU11が、フラッシュROM13内のファーム書き換え中フラグを“1”にセットした後、管理装置3からダウンロードした書き換え用ファームウェアに基づいてカードメモリ15内のファームウェアの書き換えを行い、その書き換えが成功した場合に、フラッシュROM13内のファーム書き換え中フラグを“0”にリセットすると共に、ファーム書き換え完了フラグを“1”にリセットすれば、そのファーム書き換え完了フラグの状態を参照することにより、フラッシュROM13内のファームウェアの書き換えが完了したことを確実に認識することが可能になる。
(7) After the
(8)通信装置1のCPU11が、カードメモリ15内のファームウェアが起動し、フラッシュROM13内のファーム書き換え完了フラグが“1”にセットされている場合には、ファーム書き換え完了を管理装置3へ通知し、該通知が終了した後、ファーム書き換え完了フラグを“0”にリセットし、カードメモリ15内のファームウェアに基づいてフラッシュROM13内のファームウェアを書き換えることにより、以後のファームウェア書き換え失敗時にも比較的新しいファームウェアを用いて処理を行うことができる。
(8) When the firmware in the
なお、この発明によるプログラムは、通信装置1を制御するコンピュータに、送信要求有無問合手段,ダウンロード手段,第1の状態情報制御手段,OS更新手段,第2の状態情報制御手段,OS起動手段,OS更新失敗通知手段,OS更新失敗通知手段,第3の状態情報制御手段を含む各種手段としての機能を実現させるためのプログラムであり、このようなプログラムをコンピュータに実行させることにより、上述したような効果を得ることができる。 The program according to the present invention is provided to a computer that controls the communication device 1 by sending a transmission request presence / absence inquiry unit, a download unit, a first state information control unit, an OS update unit, a second state information control unit, and an OS start unit. , An OS update failure notifying unit, an OS update failure notifying unit, and a third state information control unit, and a program for realizing functions as various units including the third state information control unit. Such effects can be obtained.
このようなプログラムは、はじめからコンピュータに備えるROMあるいはHDD等の記憶手段に格納しておいてもよいが、記録媒体であるCD−ROMあるいはフレキシブルディスク,SRAM,EEPROM,メモリカード等の不揮発性記録媒体(メモリ)に記録して提供することもできる。そのメモリに記録されたプログラムをコンピュータにインストールしてCPUに実行させるか、CPUにそのメモリからこのプログラムを読み出して実行させることにより、上述した各手順を実行させることができる。
さらに、ネットワークに接続され、プログラムを記録した記録媒体を備える外部機器あるいはプログラムを記憶手段に記憶した外部機器からダウンロードして実行させることも可能である。
Such a program may be stored in a storage means such as a ROM or an HDD provided in the computer from the beginning, but may be stored in a non-volatile storage medium such as a CD-ROM or a flexible disk, an SRAM, an EEPROM, or a memory card as a recording medium. It can also be provided by recording it on a medium (memory). Each of the above-described procedures can be executed by installing the program recorded in the memory in the computer and causing the CPU to execute the program, or reading and executing the program from the memory by the CPU.
Further, the program can be downloaded from an external device provided with a recording medium storing the program or an external device having the program stored in the storage means and executed.
この発明を、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等や、ネットワークに接続可能なコンピュータ等も含め、通信機能を備えた各種通信装置(被管理装置)、その通信装置とそれを管理する管理装置とからなる遠隔管理システムに適用可能である。 The present invention can be applied to various communication devices having communication functions, including network home appliances, vending machines, medical devices, power supply devices, air conditioning systems, gas / water / electricity metering systems, and the like, and computers connectable to networks. (Managed device), and is applicable to a remote management system including the communication device and a management device that manages the communication device.
1:通信装置 3:管理装置 5:インタネット 7:ファイアウォール 11:CPU 12:DRAM 13:フラッシュROM 14:カードメモリコントローラ 15:カードメモリ 16:リアルタイムクロック回路 17:モデム 18:NCU 19,20:NIC 21:電源回路 31:モデム 32:通信端末 33:プロキシサーバ 34:操作者端末 35:データベース 36:制御装置
1: Communication device 3: Management device 5: Internet 7: Firewall 11: CPU 12: DRAM 13: Flash ROM 14: Card memory controller 15: Card memory 16: Real time clock circuit 17: Modem 18:
Claims (22)
前記ダウンロード手段による更新用OSのダウンロードが成功した場合に、OS更新中を示す更新中情報を前記第1の不揮発性記憶手段に設定する第1の状態情報制御手段と、
当該通信装置の起動時に、前記更新中情報の設定の有無をチェックし、該更新中情報が設定されていない場合には前記第2の不揮発性記憶手段内のOSを、該更新中情報が設定されている場合には前記第1の不揮発性記憶手段内のOSをそれぞれ起動させるOS起動手段と
を設けたことを特徴とする通信装置。 First and second non-volatile storage means, download means for downloading an update OS from the external device when an OS update request is received from the external device, and the first and second nonvolatile storage means based on the OS downloaded by the means. 1, a communication device having an OS updating unit for updating an OS in a second nonvolatile storage unit,
A first state information control unit that sets updating information indicating that an OS is being updated in the first nonvolatile storage unit when the download of the update OS by the download unit is successful;
When the communication device is started, it is checked whether or not the updating information has been set. If the updating information has not been set, the OS in the second nonvolatile storage means is set. And OS activation means for activating each of the OSs in the first non-volatile storage means.
前記OS起動手段によって前記第1の不揮発性記憶手段内のOSが起動された場合には、OS更新失敗を前記外部装置へ通知するOS更新失敗通知手段を設けたことを特徴とする通信装置。 The communication device according to claim 1,
A communication device, comprising: an OS update failure notifying unit that notifies the external device of an OS update failure when the OS in the first nonvolatile storage unit is activated by the OS activation unit.
前記ダウンロード手段は、前記OS更新失敗通知手段による前記外部装置へのOS更新失敗の通知に対して、該外部装置から再びOS更新要求があった場合に、該外部装置から更新用OSをダウンロードする手段を有することを特徴とする通信装置。 The communication device according to claim 1 or 2,
The download unit downloads the update OS from the external device when the external device again receives an OS update request in response to the OS update failure notification to the external device by the OS update failure notification unit. A communication device comprising means.
前記OS更新手段は、前記第1の状態情報制御手段によって前記更新中情報が設定された後、前記更新用OSに基づいて前記第2の不揮発性記憶手段内のOSを更新する手段を有し、
該手段による更新が成功した場合に、前記更新中情報の設定を解除すると共に、OS更新完了を示す更新完了情報を前記第1の不揮発性記憶手段に設定する第2の状態情報制御手段を設けたことを特徴とする通信装置。 The communication device according to any one of claims 1 to 3,
The OS updating means includes means for updating an OS in the second nonvolatile storage means based on the updating OS after the updating information is set by the first state information control means. ,
A second state information control means is provided for canceling the setting of the updating information when the updating by the means is successful and for setting the update completion information indicating the completion of the OS update in the first nonvolatile storage means. A communication device, characterized in that:
前記OS起動手段によって前記第2の不揮発性記憶手段内のOSが起動し、且つ前記更新完了情報が設定されている場合には、OS更新完了を前記外部装置へ通知するOS更新完了通知手段と、
該手段による通知が終了した後、前記更新完了情報の設定を解除する第3の状態情報制御手段とを設け、
前記OS更新手段は、前記第3の状態情報制御手段によって前記更新完了情報の設定が解除された後、前記第2の不揮発性記憶手段内のOSに基づいて前記第1の不揮発性記憶手段内のOSを更新する手段を有することを特徴とする通信装置。 The communication device according to any one of claims 1 to 4,
An OS update completion notifying unit for notifying the external device of an OS update completion when the OS in the second nonvolatile storage unit is activated by the OS activation unit and the update completion information is set; ,
A third state information control unit configured to cancel the setting of the update completion information after the notification by the unit is completed;
After the setting of the update completion information is canceled by the third state information control means, the OS update means stores the information in the first nonvolatile storage means based on the OS in the second nonvolatile storage means. A communication device having means for updating the OS of the communication device.
前記通信装置に、第1,第2の不揮発性記憶手段と、前記管理装置からOS更新要求があった場合に、該管理装置から更新用OSをダウンロードするダウンロード手段と、該手段によってダウンロードされたOSに基づいて前記第1,第2の不揮発性記憶手段内のOSを更新するOS更新手段と、前記ダウンロード手段による更新用OSのダウンロードが成功した場合に、OS更新中を示す更新中情報を前記第1の不揮発性記憶手段に設定する第1の状態情報制御手段と、当該通信装置の起動時に、前記更新中情報の設定の有無をチェックし、該更新中情報が設定されていない場合には前記第2の不揮発性記憶手段内のOSを、該更新中情報が設定されている場合には前記第1の不揮発性記憶手段内のOSをそれぞれ起動させるOS起動手段とを設けたことを特徴とする遠隔管理システム。 A remote management system for remotely managing a plurality of communication devices via a network by the management device,
First and second non-volatile storage means in the communication device, download means for downloading an update OS from the management apparatus when an OS update request is received from the management apparatus, and download means for downloading the update OS from the management apparatus; OS update means for updating the OS in the first and second nonvolatile storage means based on the OS, and updating information indicating that the OS is being updated when the download of the update OS by the download means is successful. A first state information control unit to be set in the first non-volatile storage unit; and a check whether or not the updating information is set when the communication device is started, and when the updating information is not set, Means for activating the OS in the second nonvolatile storage means, and the OS in the first nonvolatile storage means when the updating information is set. Remote management system, characterized in that a.
前記通信装置に、前記OS起動手段によって前記第1の不揮発性記憶手段内のOSが起動された場合には、OS更新失敗を当該通信装置の識別情報と共に前記管理装置へ通知するOS更新失敗通知手段を設けたことを特徴とする遠隔管理システム。 The remote management system according to claim 6,
When the OS in the first nonvolatile storage unit is activated by the OS activation unit in the communication device, an OS update failure notification that notifies the management device of an OS update failure together with the identification information of the communication device. A remote management system comprising means.
前記通信装置に、前記管理装置に対して定期的に送信要求があるかどうかの問い合わせを行う送信要求有無問合手段を設け、
前記通信装置のダウンロード手段は、前記送信要求有無問合手段による前記管理装置への送信要求の問い合わせに対して、該管理装置からOS更新要求があった場合に、該管理装置に対して更新用OSを要求することにより、該管理装置から更新用OSをダウンロードする手段であることを特徴とする遠隔管理システム。 The remote management system according to claim 6 or 7,
The communication device is provided with a transmission request presence / absence inquiry means for periodically inquiring whether the management device has a transmission request,
The download unit of the communication device, when an OS update request is received from the management device in response to the transmission request inquiry to the management device by the transmission request presence inquiry unit, updates the management device A remote management system, which is means for downloading an update OS from the management device by requesting the OS.
前記通信装置のダウンロード手段は、前記OS更新失敗通知手段による前記管理装置へのOS更新失敗の通知に対して、該外部装置から再びOS更新要求があった場合に、該管理装置に対して更新用OSを要求することにより、該管理装置から更新用OSをダウンロードする手段を有することを特徴とする遠隔管理システム。 The remote management system according to any one of claims 6 to 8,
The download unit of the communication device updates the management device when the external device again requests an OS update in response to the OS update failure notification to the management device by the OS update failure notification unit. A remote management system having means for downloading an update OS from the management device by requesting the update OS.
前記通信装置のOS更新手段は、前記第1の状態情報制御手段によって前記更新中情報が設定された後、前記更新用OSに基づいて前記第2の不揮発性記憶手段内のOSを更新する手段を有し、
前記通信装置に、該手段による更新が成功した場合に、前記更新中情報の設定を解除すると共に、OS更新完了を示す更新完了情報を前記第1の不揮発性記憶手段に設定する第2の状態情報制御手段を設けたことを特徴とする遠隔管理システム。 The remote management system according to any one of claims 6 to 9,
The OS updating means of the communication device updates the OS in the second nonvolatile storage means based on the updating OS after the updating information is set by the first state information control means. Has,
A second state in which, when the update by the unit is successful, the setting of the updating information is canceled and the update completion information indicating the completion of the OS update is set in the first nonvolatile storage unit in the communication device. A remote management system comprising information control means.
前記通信装置に、前記OS起動手段によって前記第2の不揮発性記憶手段内のOSが起動し、且つ前記更新完了情報が設定されている場合には、OS更新完了を当該通信装置の識別情報と共に前記管理装置へ通知するOS更新完了通知手段と、該手段による通知が終了した後、前記更新完了情報の設定を解除する第3の状態情報制御手段とを設け、
前記OS更新手段は、前記第3の状態情報制御手段によって前記更新完了情報の設定が解除された後、前記第2の不揮発性記憶手段内のOSに基づいて前記第1の不揮発性記憶手段内のOSを更新する手段を有することを特徴とする遠隔管理システム。 In the remote management system according to any one of claims 6 to 10,
In the communication device, when the OS in the second nonvolatile storage unit is started by the OS start unit and the update completion information is set, the OS update completion is notified together with the identification information of the communication device. OS update completion notifying means for notifying the management device, and third state information control means for canceling the setting of the update completion information after completion of the notification by the means,
After the setting of the update completion information is canceled by the third state information control means, the OS update means stores the information in the first nonvolatile storage means based on the OS in the second nonvolatile storage means. A means for updating the OS of the remote control system.
外部装置からOS更新要求があった場合に、該外部装置から更新用OSをダウンロードし、
該ダウンロードが成功した場合に、OS更新中を示す更新中情報を前記第1の不揮発性記憶手段に設定した後、前記更新用OSに基づいて前記第2の不揮発性記憶手段内のOSを更新し、
当該通信装置の起動時に、前記更新中情報の設定の有無をチェックし、該更新中情報が設定されていない場合には前記第2の不揮発性記憶手段内のOSを、該更新中情報が設定されている場合には前記第1の不揮発性記憶手段内のOSをそれぞれ起動させることを特徴とするOS更新方法。 First and second nonvolatile storage means, and an OS update method in a communication device for downloading an update OS from an external device and updating the OS in the first and second nonvolatile storage means based on the OS And
When an OS update request is received from an external device, an update OS is downloaded from the external device,
If the download is successful, updating information indicating that the OS is being updated is set in the first nonvolatile storage unit, and then the OS in the second nonvolatile storage unit is updated based on the update OS. And
When the communication device is started, it is checked whether or not the updating information has been set. If the updating information has not been set, the OS in the second nonvolatile storage means is set. An operating system (OS) in the first non-volatile storage means, if the setting has been performed, respectively.
前記第1の不揮発性記憶手段内のOSが起動した場合には、OS更新失敗を前記外部装置へ通知することを特徴とするOS更新方法。 The OS updating method according to claim 12,
When the OS in the first non-volatile storage unit is activated, an OS update failure is notified to the external device.
前記外部装置への前記OS更新失敗の通知に対して、該外部装置から再びOS更新要求があった場合に、該外部装置から更新用OSをダウンロードすることを特徴とするOS更新方法。 14. The OS updating method according to claim 12, wherein
An OS update method, comprising downloading an update OS from the external device when an OS update request is again issued from the external device in response to the OS update failure notification to the external device.
前記第2の不揮発性記憶手段内のOSの更新が成功した場合に、前記更新中情報の設定を解除すると共に、OS更新完了を示す更新完了情報を前記第1の不揮発性記憶手段に設定することを特徴とするOS更新方法。 The OS update method according to any one of claims 12 to 14, wherein
When the update of the OS in the second nonvolatile storage means is successful, the setting of the updating information is canceled, and update completion information indicating the completion of the OS update is set in the first nonvolatile storage means. An OS update method characterized by the above-mentioned.
前記第2の不揮発性記憶手段内のOSが起動し、且つ前記更新完了情報が設定されている場合には、OS更新完了を前記外部装置へ通知し、
該通知が終了した後、前記更新完了情報の設定を解除し、前記第2の不揮発性記憶手段内のOSに基づいて前記第1の不揮発性記憶手段内のOSを更新することを特徴とするOS更新方法。 The OS update method according to any one of claims 12 to 15,
When the OS in the second nonvolatile storage unit is activated and the update completion information is set, the completion of OS update is notified to the external device;
After the notification is completed, the setting of the update completion information is released, and the OS in the first nonvolatile storage is updated based on the OS in the second nonvolatile storage. OS update method.
外部装置からOS更新要求があった場合に、該外部装置から更新用OSをダウンロードするダウンロード機能と、該機能による更新用OSのダウンロードが成功した場合に、OS更新中を示す更新中情報を前記第1の不揮発性記憶手段に設定する第1の状態情報制御機能と、当該通信装置の起動時に、前記更新中情報の設定の有無をチェックし、該更新中情報が設定されていない場合には前記第2の不揮発性記憶手段内のOSを、該更新中情報が設定されている場合には前記第1の不揮発性記憶手段内のOSをそれぞれ起動させるOS起動機能とを実現させるためのプログラム。 A computer for controlling a communication device having first and second nonvolatile storage means;
A download function for downloading an update OS from the external device when an OS update request is received from the external device; and updating-in-progress information indicating that the OS is being updated when the update OS is successfully downloaded by the function. A first state information control function to be set in the first nonvolatile storage means, and the presence or absence of the setting of the updating information is checked when the communication device is started, and when the updating information is not set, A program for realizing an OS in the second nonvolatile storage unit and an OS start function for starting the OS in the first nonvolatile storage unit when the updating information is set. .
前記コンピュータに、
前記OS起動機能によって前記第1の不揮発性記憶手段内のOSが起動された場合には、OS更新失敗を前記外部装置へ通知するOS更新失敗通知機能をも実現させるためのプログラム。 The program according to claim 17,
To the computer,
A program for realizing an OS update failure notification function of notifying the external device of an OS update failure when the OS in the first nonvolatile storage unit is activated by the OS activation function.
前記ダウンロード機能が、前記OS更新失敗通知機能による前記外部装置へのOS更新失敗の通知に対して、該外部装置から再びOS更新要求があった場合に、該外部装置から更新用OSをダウンロードする機能を有することを特徴とするプログラム。 The program according to claim 17 or 18,
The download function downloads an update OS from the external device in response to an OS update request from the external device in response to the OS update failure notification to the external device by the OS update failure notification function. A program having a function.
前記コンピュータに、
前記第1の状態情報制御機能によって前記更新中情報が設定された後、前記更新用OSに基づいて前記第2の不揮発性記憶手段内のOSを更新するOS更新機能と、該機能による更新が成功した場合に、前記更新中情報の設定を解除すると共に、OS更新完了を示す更新完了情報を前記第1の不揮発性記憶手段に設定する第2の状態情報制御機能をも実現させるためのプログラム。 The program according to any one of claims 17 to 19,
To the computer,
After the updating information is set by the first state information control function, an OS updating function of updating the OS in the second nonvolatile storage means based on the updating OS, and updating by the function is performed. If successful, a program for canceling the setting of the updating information and also realizing a second state information control function of setting update completion information indicating OS update completion in the first nonvolatile storage means. .
前記コンピュータに、
前記OS起動機能によって前記第2の不揮発性記憶手段内のOSが起動し、且つ前記更新完了情報が設定されている場合には、OS更新完了を前記外部装置へ通知するOS更新完了通知機能と、該機能による通知が終了した後、前記更新完了情報の設定を解除する第3の状態情報制御機能をも実現させると共に、
前記OS更新機能が、前記第3の状態情報制御機能によって前記更新完了情報の設定が解除された後、前記第2の不揮発性記憶手段内のOSに基づいて前記第1の不揮発性記憶手段内のOSを更新する機能を有することを特徴とするプログラム。 The program according to any one of claims 17 to 20, wherein
To the computer,
An OS update completion notification function for notifying the external device of an OS update completion when the OS in the second nonvolatile storage unit is activated by the OS activation function and the update completion information is set; A third state information control function for canceling the setting of the update completion information after the notification by the function ends,
After the OS update function cancels the setting of the update completion information by the third state information control function, the OS update function stores the update completion information in the first nonvolatile storage means based on the OS in the second nonvolatile storage means. A program having a function of updating an OS of the computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004107216A JP4481059B2 (en) | 2003-03-31 | 2004-03-31 | COMMUNICATION DEVICE AND ITS REMOTE MANAGEMENT SYSTEM, OS UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003095650 | 2003-03-31 | ||
| JP2004107216A JP4481059B2 (en) | 2003-03-31 | 2004-03-31 | COMMUNICATION DEVICE AND ITS REMOTE MANAGEMENT SYSTEM, OS UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004318871A true JP2004318871A (en) | 2004-11-11 |
| JP4481059B2 JP4481059B2 (en) | 2010-06-16 |
Family
ID=33478695
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004107216A Expired - Fee Related JP4481059B2 (en) | 2003-03-31 | 2004-03-31 | COMMUNICATION DEVICE AND ITS REMOTE MANAGEMENT SYSTEM, OS UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4481059B2 (en) |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007042038A (en) * | 2005-08-05 | 2007-02-15 | Fuji Electric Retail Systems Co Ltd | Device and method for controlling terminal equipment |
| JP2007318731A (en) * | 2006-04-26 | 2007-12-06 | Ricoh Co Ltd | Image forming apparatus capable of managing a plurality of module configuration information |
| JP2012248189A (en) * | 2011-05-24 | 2012-12-13 | Heiderberger Druckmaschinen Ag | Installation method of operating system software |
| JP2013524567A (en) * | 2010-03-25 | 2013-06-17 | 日本電気株式会社 | Communication device |
| US8654372B2 (en) | 2007-07-10 | 2014-02-18 | Ricoh Company, Limited | Apparatus and method of activating and updating configuration information of an image forming apparatus |
| US8756592B2 (en) | 2006-11-01 | 2014-06-17 | Seiko Epson Corporation | Information processor and information updating method |
| US8949816B2 (en) | 2012-06-12 | 2015-02-03 | Canon Kabushiki Kaisha | Firmware updating method, image forming apparatus, and storage medium |
| JP2016143318A (en) * | 2015-02-04 | 2016-08-08 | 三菱電機株式会社 | Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program |
| CN109386936A (en) * | 2018-09-27 | 2019-02-26 | Tcl空调器(中山)有限公司 | Burning and remote control method of air conditioner electric control board, air conditioner, remote controller and system |
| WO2019207729A1 (en) * | 2018-04-26 | 2019-10-31 | 三菱電機株式会社 | Industrial computer, industrial computer system, operating system update method, and program |
| JP2020102141A (en) * | 2018-12-25 | 2020-07-02 | 東芝テック株式会社 | Information processing device and program |
| US10809997B2 (en) | 2015-11-18 | 2020-10-20 | Fujitsu Limited | Information processing apparatus and program update control method |
| JP2022024904A (en) * | 2020-07-28 | 2022-02-09 | ニチコン株式会社 | Firmware updating system and firmware updating method |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5515904B2 (en) | 2010-03-17 | 2014-06-11 | 株式会社リコー | Information processing system, management apparatus, information processing apparatus, installation processing method, program, and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0678086A (en) * | 1992-08-26 | 1994-03-18 | Toshiba Corp | Information transmitting/receiving equipment |
| JPH11265282A (en) * | 1998-03-17 | 1999-09-28 | Toshiba Corp | Vending machine control device |
| JP2002312187A (en) * | 2001-04-11 | 2002-10-25 | Konica Corp | Imaging system, imaging device, management device, program rewrite method, and information storage medium |
-
2004
- 2004-03-31 JP JP2004107216A patent/JP4481059B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0678086A (en) * | 1992-08-26 | 1994-03-18 | Toshiba Corp | Information transmitting/receiving equipment |
| JPH11265282A (en) * | 1998-03-17 | 1999-09-28 | Toshiba Corp | Vending machine control device |
| JP2002312187A (en) * | 2001-04-11 | 2002-10-25 | Konica Corp | Imaging system, imaging device, management device, program rewrite method, and information storage medium |
Cited By (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007042038A (en) * | 2005-08-05 | 2007-02-15 | Fuji Electric Retail Systems Co Ltd | Device and method for controlling terminal equipment |
| JP2007318731A (en) * | 2006-04-26 | 2007-12-06 | Ricoh Co Ltd | Image forming apparatus capable of managing a plurality of module configuration information |
| US8427662B2 (en) | 2006-04-26 | 2013-04-23 | Ricoh Company, Ltd. | Image forming apparatus capable of managing configuration information of multiple modules |
| US8756592B2 (en) | 2006-11-01 | 2014-06-17 | Seiko Epson Corporation | Information processor and information updating method |
| US8654372B2 (en) | 2007-07-10 | 2014-02-18 | Ricoh Company, Limited | Apparatus and method of activating and updating configuration information of an image forming apparatus |
| US9043936B2 (en) | 2010-03-25 | 2015-05-26 | Lenovo Innovations Limited (Hong Kong) | Communications device |
| JP2013524567A (en) * | 2010-03-25 | 2013-06-17 | 日本電気株式会社 | Communication device |
| JP2012248189A (en) * | 2011-05-24 | 2012-12-13 | Heiderberger Druckmaschinen Ag | Installation method of operating system software |
| US9477456B2 (en) | 2011-05-24 | 2016-10-25 | Heidelberger Druckmaschinen Ag | Method for installing and simultaneously updating operating system software |
| US8949816B2 (en) | 2012-06-12 | 2015-02-03 | Canon Kabushiki Kaisha | Firmware updating method, image forming apparatus, and storage medium |
| JP2016143318A (en) * | 2015-02-04 | 2016-08-08 | 三菱電機株式会社 | Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program |
| US10809997B2 (en) | 2015-11-18 | 2020-10-20 | Fujitsu Limited | Information processing apparatus and program update control method |
| WO2019207729A1 (en) * | 2018-04-26 | 2019-10-31 | 三菱電機株式会社 | Industrial computer, industrial computer system, operating system update method, and program |
| JPWO2019207729A1 (en) * | 2018-04-26 | 2020-05-07 | 三菱電機株式会社 | Industrial computer, industrial computer system, operating system updating method and program |
| CN109386936A (en) * | 2018-09-27 | 2019-02-26 | Tcl空调器(中山)有限公司 | Burning and remote control method of air conditioner electric control board, air conditioner, remote controller and system |
| JP2020102141A (en) * | 2018-12-25 | 2020-07-02 | 東芝テック株式会社 | Information processing device and program |
| JP7206106B2 (en) | 2018-12-25 | 2023-01-17 | 東芝テック株式会社 | Information processing device and program |
| JP2022024904A (en) * | 2020-07-28 | 2022-02-09 | ニチコン株式会社 | Firmware updating system and firmware updating method |
| JP7491765B2 (en) | 2020-07-28 | 2024-05-28 | ニチコン株式会社 | Firmware update system and firmware update method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4481059B2 (en) | 2010-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7516450B2 (en) | Remote management system, intermediary apparatus therefor, and method of updating software in the intermediary apparatus | |
| US6971095B2 (en) | Automatic firmware version upgrade system | |
| EP1259031B1 (en) | Home appliance protocol upgrading method | |
| EP1887759B1 (en) | Method and system for realizing automatic restoration after a device failure | |
| JP4481059B2 (en) | COMMUNICATION DEVICE AND ITS REMOTE MANAGEMENT SYSTEM, OS UPDATE METHOD, PROGRAM, AND RECORDING MEDIUM | |
| JP4085930B2 (en) | Image processing device | |
| US20030121032A1 (en) | Method and system for remotely updating function of household device | |
| JP2001216167A (en) | System consisting of main unit and peripheral devices | |
| JP2008084304A (en) | Image forming apparatus, program update method, and program | |
| CN102214106B (en) | Automatic dual-system guide method of embedded device | |
| US7957316B2 (en) | Network device management apparatus and device management method | |
| JP4497195B2 (en) | Information processing system and device | |
| US20090146980A1 (en) | Information processing apparatus, image processing apparatus, information processing method, and firmware upload method | |
| JP2004165734A (en) | Image forming apparatus and firmware program | |
| JP4327541B2 (en) | Remote management system, managed device, and program | |
| JP4163550B2 (en) | Remote management system and its intermediary device, management device, secret information setting method, and program | |
| KR20090076712A (en) | Firmware upgrade system | |
| JP4962595B2 (en) | Information processing program, information processing apparatus, and information processing system | |
| JP5944003B2 (en) | Display management system, server device thereof, programmable display, operation control method | |
| MX2008002494A (en) | Method and apparatus for configuring a device from a network. | |
| JP2004160687A (en) | Image forming apparatus | |
| JP2006260215A (en) | Control system, control device, and control method of control system | |
| JP2004148612A (en) | Image forming apparatus and program | |
| JP2003333261A (en) | Image forming apparatus | |
| JP2008059265A (en) | Firmware update system for digital composite machine |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061221 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090409 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091222 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100219 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20100219 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100316 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100317 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130326 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140326 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |