JP2018045725A - Information processing apparatus, control method of the same, and program - Google Patents
Information processing apparatus, control method of the same, and program Download PDFInfo
- Publication number
- JP2018045725A JP2018045725A JP2017245258A JP2017245258A JP2018045725A JP 2018045725 A JP2018045725 A JP 2018045725A JP 2017245258 A JP2017245258 A JP 2017245258A JP 2017245258 A JP2017245258 A JP 2017245258A JP 2018045725 A JP2018045725 A JP 2018045725A
- Authority
- JP
- Japan
- Prior art keywords
- software
- update
- storage area
- deployment
- firmware
- 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 an information processing apparatus, a control method thereof, and a program.
ソフトウェアを更新可能な情報処理装置において、情報処理装置のソフトウェアを常に最新のソフトウェアとするために、定期的に自動更新する定期更新機能が一般的に知られている。 In an information processing apparatus capable of updating software, a periodic update function that automatically updates the information processing apparatus to automatically update the software of the information processing apparatus is generally known.
この定期更新機能には、新たなソフトウェアをダウンロードする時刻をユーザが指定できるものもある。 Some of these periodic update functions allow the user to specify the time to download new software.
さらに、ソフトウェアを手動で更新する機能や、ソフトウェアを更新する時刻を指定できる機能も知られている。また、ユーザーからの入力なしにノークリックでコンピュータにプログラムをダウンロードしてインストールまで行う技術も開示されている(例えば、特許文献1参照)。 Furthermore, a function for manually updating software and a function for specifying a time for updating software are also known. In addition, a technique for downloading a program to a computer and performing installation without clicking with no input from a user is also disclosed (for example, see Patent Document 1).
しかしながら、特許文献1には、ユーザが使用できない時間であるダウンタイムについての記載がなく、最適なソフトウェア更新方法を提供しているとは言えない。また、ダウンロードしたソフトウェアをどのように処理するかの詳細な記述がなく明確ではない。 However, Patent Document 1 does not describe a downtime that is a time that cannot be used by the user, and cannot be said to provide an optimal software update method. Also, there is no detailed description of how to process the downloaded software and it is not clear.
さらに、定期更新機能に関しても、ダウンロードしたあとに更新という手順となっており、更新処理時間をユーザが使用できない時間とすることが一般的になっている。 Furthermore, regarding the periodic update function, the procedure is to update after downloading, and the update processing time is generally set to a time that the user cannot use.
本発明の目的は、ソフトウェアを更新するために生じるダウンタイムを短縮可能な情報処理装置及びその制御方法、並びにプログラムを提供することにある。 An object of the present invention is to provide an information processing apparatus capable of reducing downtime caused by updating software, a control method therefor, and a program.
上記目的を達成するために、請求項1の情報処理装置は、情報処理装置に搭載されたソフトウェアを更新するための更新ソフトウェアをダウンロードし、ダウンロードした前記更新ソフトウェアにより前記搭載されたソフトウェアを更新する情報処理装置であって、前記更新ソフトウェアを予め定められた第1記憶領域にバックグラウンド処理でダウンロードするダウンロード手段と、前記ダウンロード手段により前記更新ソフトウェアのダウンロードが終了すると、直ちに予め定められた第2記憶領域に前記更新ソフトウェアをバックグラウンド処理で展開する展開手段と、前記搭載されたソフトウェアの更新が指示された場合に、前記ソフトウェアを実行するための予め定められた第3記憶領域に、前記展開手段により前記第2記憶領域に展開された前記更新ソフトウェアを記憶する記憶手段と、前記搭載されたソフトウェアに代えて、前記記憶手段により前記第3記憶領域に記憶された前記更新ソフトウェアを実行するためのリンク情報をバックグラウンド処理で差し替える差し替え手段とを有することを特徴とする。 To achieve the above object, the information processing apparatus according to claim 1 downloads update software for updating software installed in the information processing apparatus, and updates the installed software with the downloaded update software. An information processing apparatus comprising: a download unit that downloads the update software to a predetermined first storage area by background processing; and a second predetermined unit immediately after the download unit finishes downloading the update software. Expansion means for expanding the update software in a storage area by background processing; and when the update of the installed software is instructed, the expansion is performed in a predetermined third storage area for executing the software The second storage area by means Storage means for storing the updated software that has been deployed, and link information for executing the updated software stored in the third storage area by the storage means in place of the installed software by background processing It has the replacement means to replace.
本発明によれば、更新ソフトウェアを第1記憶領域にバックグラウンド処理でダウンロードし、ダウンロードが終了すると、直ちに第2記憶領域に更新ソフトウェアをバックグラウンド処理で展開するので、ソフトウェアを更新するために生じるダウンタイムを短縮可能となる。 According to the present invention, the update software is downloaded to the first storage area by the background process, and when the download is completed, the update software is immediately deployed to the second storage area by the background process, so that the software is updated. Downtime can be shortened.
以下、本発明の実施の形態について図面を参照しながら詳述する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施の形態に係る情報処理装置としての画像形成装置100の概略構成を示す図である。 FIG. 1 is a diagram showing a schematic configuration of an image forming apparatus 100 as an information processing apparatus according to an embodiment of the present invention.
図1において、画像形成装置100は、制御部200、操作部220、プリンタエンジン221、スキャナエンジン222、及び電源240を有し、PC260と外部サーバ250にLAN110で接続されている。
In FIG. 1, the image forming apparatus 100 includes a
制御部200は、画像形成装置100全体を制御する。操作部220は、ユーザに各種情報を表示したり、ユーザの操作入力を受け付ける。プリンタエンジン221は、不図示の不揮発性記憶装置に記憶されたプリンタエンジンファーム231に従って、制御部200から出力された画像データを紙などの記録媒体に画像を印刷する。
The
スキャナエンジン222は、不図示の不揮発性記憶装置に記憶されたスキャナエンジンファーム232に従って、原稿を読み取り原稿画像を示す画像データを制御部200に出力する。
The
また、制御部200は、CPU210、チップセット211、RAM212、SRAM213、NIC214、操作部インタフェース215、プリンタインタフェース216、スキャナインタフェース217、HDD218、及びフラッシュメモリ219で構成される。
The
CPU210は、制御部200を制御することで画像形成装置100全体を制御する。後述するフローチャートは、HDD218またはフラッシュメモリ219からRAM212に展開されたプログラムをCPU210が実行する処理を示している。
The
RAM212は、CPU210のワークエリアとして用いられたり、各種データや各種プログラムを記憶する。SRAM213は、画像形成装置100で必要となる設定値や画像調整値などを記憶しており、バックアップ電源により画像形成装置100の電源をオフにしても記憶内容は保持される。
The
チップセット211は、計時専用のチップであるRTC(リアルタイムクロック)270を含む複数の集積回路である。RTC270には、電源240から電力が供給されていなくとも、不図示の内蔵電池から電源が供給されるため、画像形成装置100がスリープ状態であっても動作することができる。
The chip set 211 is a plurality of integrated circuits including an RTC (Real Time Clock) 270 which is a chip dedicated to timing. Even if the power is not supplied from the
これにより、チップセット211に対して電源供給が行われる状態においては、スリープ状態からの復帰が実現できる。一方、チップセット211に電源供給が全く行われないシャットダウン状態の場合には、RTC270は動作することができない。 Thereby, in a state where power is supplied to the chipset 211, recovery from the sleep state can be realized. On the other hand, in the shutdown state in which no power is supplied to the chipset 211, the RTC 270 cannot operate.
NIC214は、LAN110と接続して、PC260や外部サーバ250と通信するためのインタフェースである。本実施の形態では、NIC214によって外部装置である外部サーバ250からソフトウェアをダウンロード可能となっている。
The NIC 214 is an interface for connecting to the
なお、以下の説明では、ソフトウェアをファームウェア、またはファームと表現する。さらに、画像形成装置100に搭載されたファームを更新(以下、「アップデート」という)するための更新ソフトウェアを更新ファームと表現することがある。 In the following description, software is expressed as firmware or firmware. Furthermore, update software for updating a firmware installed in the image forming apparatus 100 (hereinafter referred to as “update”) may be expressed as an update firmware.
操作部インタフェース215は、操作部220と制御部200とのインタフェースである。プリンタインタフェース216は、プリンタエンジン221と制御部200とのインタフェースである。スキャナインタフェース217は、スキャナエンジン222と制御部200とのインタフェースである。
The
HDD218は、各種プログラムや各種データを記憶する。フラッシュメモリ219は、画像形成装置100で用いられる設定値などの各種データや各種プログラムを記憶する。また、HDD218とフラッシュメモリ219は、ファームを更新するために用いられる各種ファイルが記憶される。
The HDD 218 stores various programs and various data. The
図2は、図1におけるフラッシュメモリ219及びHDD218において画像形成装置100に搭載されたファームをアップデートする様子を説明するための図である。
FIG. 2 is a diagram for explaining a state in which the firmware installed in the image forming apparatus 100 is updated in the
図2において、ファームウェア310は、インストール済みのファームである。また、フラッシュメモリ219には、アップデートプログラム320が記憶されている。
In FIG. 2,
更新ファームが外部サーバ250にからダウンロード可能となると、CPU210からのファームウェアダウンロード指示に従い、アップデートプログラム320は、外部サーバ250からNIC214を介してフラッシュメモリ219に設けられた第1記憶領域である更新ファーム記憶領域321に更新ファームを一旦記憶する。
When the update firmware can be downloaded from the
次いで、アップデートプログラム320は、CPU210からのファームウェア展開指示に従い、更新ファーム記憶領域321に記憶された更新ファームを、HDD218に設けられた第2記憶領域であるファーム展開領域330に展開する。この展開は、符号化されている更新ファームを復号化する処理である。この符号化として、圧縮または暗号化による符号化がある。圧縮の場合には、展開は解凍することである。
Next, the
次いで、CPU210からのアップデート指示に従い、アップデートプログラム320は、ファーム展開領域330に展開された更新ファームをフラッシュメモリ219に設けられ、ファームを実行するための第3記憶領域であるファームウェアコピー領域311に記憶する。
Next, in accordance with an update instruction from the
最後に、ファームウェアコピー領域311に記憶された更新ファームは、CPU210の指示によって、搭載されたファームに代えて、ファームウェアコピー領域311に記憶された更新ファームを実行するためのリンク情報の差し替えが通常起動時に行われることで、ファームウェア310のアップデートが終了する。このリンク情報の差し替えについては後述する。
Finally, the update firmware stored in the
図3は、図1における操作部220に表示される各画面を示す図である。
FIG. 3 is a diagram showing each screen displayed on the
図3(A)は、メニュー画面407を示す図であり、図3(B)は、設定画面408を示す図である。
3A shows a
図3(A)のメニュー画面407において、ファームウェアのアップデートキー401は、図3(B)の設定画面408を表示するためのキーとなる。また、定期アップデートの管理欄402は、定期アップデートが有効か否かを示す欄である。
In the
図3(B)の設定画面408において、ユーザが定期アップデートを設定する場合には、Onキー403を選択する。
In the
ダウンロード時刻404は、更新ファームをダウンロードする時刻を設定するためのフィールドである。アップデート時刻405は、ダウンロードした更新ファームでファームをアップデートする時刻を設定するためのフィールドである。この設定画面408で設定された内容は、フラッシュメモリ219に記憶される。
The
図3(B)の設定画面408では、一例として毎週金曜日の19時にダウンロードして、毎週金曜日の20時にファームをアップデートする場合の設定内容を示している。
In the
図3(C)は、更新ファームのダウンロード中に表示されるダウンロード画面410を示す図である。
FIG. 3C is a diagram showing a
設定画面408のダウンロード時刻404で設定された時刻が到来すると、ダウンロードが開始されるが、そのときダウンロード画面410が表示される。
When the time set in the
図3(D)は、ダウンロードされた更新ファームがファーム展開領域330に展開されいるときに表示されるアップデート画面409を示す図である。
FIG. 3D is a diagram showing an
このアップデート画面409が表示されるときは、既にダウンロードが終了しているので、同図に示されるように、ファームウェアのアップデートボタン406やファームウェアの削除ボタン411が表示される。
When the
図4は、アップデートする際に必要となるファームのパーツの構成例を示す図である。 FIG. 4 is a diagram illustrating a configuration example of parts of a firmware necessary for updating.
図4(A)は、systemのパーツ例を示す図である。 FIG. 4A illustrates an example of system parts.
図4(A)において、systemのパーツは、バイナリファイル(system.bin)、ライブラリ(libsystem.so)、及びコンフィグレーションファイル(system.conf)で構成されていることを示している。 In FIG. 4A, the system part is composed of a binary file (system.bin), a library (libsystem.so), and a configuration file (system.conf).
図4(B)は、systemのパーツの構成物の記憶場所及び属性を示す図である。 FIG. 4B is a diagram showing the storage locations and attributes of the components of the system part.
図4(B)において、バイナリファイル(system.bin)は/binディレクトリの下に記憶され、属性は実行ファイルとなっている。また、ライブラリ(libsystem.so)は/libディレクトの下に記憶され、属性は読み出し専用ファイルとなっている。さらに、コンフィグレーションファイル(system.conf)は/etcディレクトリの下に記憶され、属性は読み出し専用ファイルとなっている。また、システムのパーツのバージョンは、3.1.1であることが示されている。 In FIG. 4B, the binary file (system.bin) is stored under the / bin directory, and the attribute is an executable file. The library (libsystem.so) is stored under the / lib directory, and the attribute is a read-only file. Furthermore, the configuration file (system.conf) is stored under the / etc directory, and the attribute is a read-only file. Also, the version of the system parts is shown to be 3.1.1.
図4(C)は、新たなsystemのパーツの構成物の記憶場所及び属性を示す図である。 FIG. 4C is a diagram showing storage locations and attributes of the components of the new system parts.
図4(C)において、新たなシステムのパーツのバージョンは4.0.0であることが示されている。なお、新旧のパーツの構成物の記憶場所及び属性では、バージョンが異なるだけでなく、パーツの構成が異なることもある。構成が異なる例として、バイナリファイルが別のものになったり、コンフィグレーションファイルが複数になるなどが挙げられる。このように更新ファームは各パーツで構成されている。 FIG. 4C shows that the version of the new system part is 4.0.0. It should be noted that the storage locations and attributes of the old and new parts are not only different in version but also different in part configuration. Examples of different configurations include different binary files and multiple configuration files. In this way, the update farm is composed of parts.
図5は、図2におけるリンク情報の差し替えを行うために管理される各情報を示す図である。 FIG. 5 is a diagram showing each piece of information managed to replace the link information in FIG.
図5において、まず旧パーツを示すoldpkgs501、新パーツを示すnewpkgs502とが示されている。oldpkgs501とnewpkgs502では、systemのパーツがバージョン3.1.1からバージョン4.0.0に置き換わることを示している。
In FIG. 5, first,
また、oldpkgs501とnewpkgs502では、systemuiとcopy-appのパーツがそれぞれ新しいバージョンに置き換わることを示している。なお、新たなパーツがバージョンダウンされたパーツとなることもある。
Also, oldpkgs 501 and
次のoldbinarys503とnewbinarys504では、systemのパーツにおいて、新旧で同じ名称になるため、旧パーツはそのままの名称system.binであり、新パーツに".new"という接尾辞を付けることで新旧を判別することを示している。
In the next oldbinarys 503 and
そして、oldlibs505とnewlibs506では、libsystem.soとlibsystemui.soのパーツがそれぞれ新しいバージョンに置き換わることを示している。
And oldlibs 505 and
また、oldconfs507とnewconfs508では、上述した".new"を付けることで新旧を判別することを示している。 Also, oldconfs 507 and newconfs 508 indicate that new and old are discriminated by adding the above-mentioned “.new”.
図6は、アップデート処理の流れを示すタイミングチャートである。 FIG. 6 is a timing chart showing the flow of the update process.
図6(A)は、従来技術におけるアップデート処理の手順を示すタイミングチャートである。 FIG. 6A is a timing chart showing the procedure of the update process in the prior art.
図6(A)において、コピーや印刷などを実行可能な通常動作状態時にダウンロード時刻が到来すると、ダウンロードが行われる。ダウンロード終了後は、再び通常起動動作状態に戻る。その後、アップデート時刻が到来することで、アップデートを指示されると、再起動して、アップデート起動状態となる。 In FIG. 6A, when the download time comes in the normal operation state in which copying and printing can be executed, downloading is performed. After the download is completed, the normal startup operation state is restored. Thereafter, when an update is instructed due to the arrival of the update time, the system is restarted and the update is activated.
図6(A)に示される従来のアップデート起動状態では、符号化されているパーツが復号化される展開が行われ、その後ファームがアップデートされた後、再び再起動することとなる。このように、従来の技術では、アップデートを指示された後に、ダウンロードされたパーツが展開されていたため、アップデート処理のための長めのダウンタイムが発生していた。 In the conventional update activation state shown in FIG. 6 (A), expansion in which encoded parts are decoded is performed, and then the firmware is updated and then restarted again. As described above, in the conventional technique, since the downloaded parts are expanded after the update is instructed, a long downtime for the update process occurs.
なお、以下の説明では上述した従来技術で行われている圧縮または暗号化されているパーツを解凍または復号化し、その後ファームをアップデートする一連の処理を通常のアップデート処理と表現する。 In the following description, a series of processing for decompressing or decrypting the compressed or encrypted parts performed in the above-described prior art and then updating the firmware is expressed as normal update processing.
図6(B)は、本実施の形態に係るアップデート制御処理の手順を示すタイミングチャートである。 FIG. 6B is a timing chart showing the procedure of the update control process according to the present embodiment.
図6(B)において、通常動作状態時にダウンロード時刻が到来すると、ダウンロードが行われる。ダウンロード終了後は、更新ファーム記憶領域321に記憶されたパーツが、ファーム展開領域330に展開され、再び通常起動動作状態に戻る。同図に示されるように、ダウンロードと展開は、バックグラウンド処理として行われる。
In FIG. 6B, when the download time comes in the normal operation state, the download is performed. After the download is completed, the parts stored in the update
その後、アップデート時刻が到来するか、またはアップデート画面409のファームウェアのアップデートボタン406がユーザにより選択されると、CPU210によりアップデートが指示される。このアップデート指示により再起動して、アップデート起動状態に遷移する。そして、ファーム展開領域330に展開されたパーツがファームウェアコピー領域311に記憶される。
Thereafter, when the update time arrives or the
その後、再起動され、通常起動状態に遷移し、リンク情報の差し替えが行われることでアップデート処理が終了する。このように、本実施の形態ではリンク情報をバックグラウンド処理で差し替えるようになっている。 After that, the system is restarted, transits to the normal startup state, and the update process is completed when the link information is replaced. Thus, in this embodiment, link information is replaced by background processing.
このように、本実施の形態では、ダウンロードされたパーツは直ちに展開されているため、従来技術と比較してアップデート処理のためのダウンタイムを短縮できる。 Thus, in the present embodiment, since the downloaded parts are immediately deployed, the downtime for the update process can be shortened as compared with the prior art.
なお、図6(B)のアップデート制御処理では、展開が終了した後にアップデートが指示されているが、展開中にアップデートが指示されることがある。この場合、後述する展開中処理が行われるが、まずは展開が終了した後にアップデート指示がされる場合の処理の手順を示すフローチャートを説明する。 In the update control process of FIG. 6B, an update is instructed after the completion of development, but an update may be instructed during the development. In this case, a processing during development described later is performed. First, a flowchart illustrating a processing procedure in a case where an update instruction is given after the development is completed will be described.
図7は、図1におけるCPU210により実行されるアップデート制御処理の手順を示すフローチャートである。
FIG. 7 is a flowchart showing a procedure of update control processing executed by the
図7において、ダウンロード時刻が到来すると(ステップS101でYES)、アップデートプログラム320は、パーツをダウンロードして、更新ファーム記憶領域321に記憶する(ステップS102)。さらにこのとき、ダウンロード画面410を操作部220に表示する(ステップS103)。上記ステップS102は、ダウンロード手段に対応する。
In FIG. 7, when the download time arrives (YES in step S101), the
次いで、アップデートプログラム320は、ダウンロードが終了すると、更新ファーム記憶領域321に記憶されたパーツをファーム展開領域330に直ちに展開する(ステップS104)。このステップS104は、展開手段に対応する。
Next, when the download is completed, the
そして、アップデートプログラム320は、CPU210からのアップデートが指示されると(ステップS105でYES)、パーツをファーム展開領域に展開中か否か判別する(ステップS106)。
When the
ステップS106の判別の結果、パーツをファーム展開領域に展開中と判別された場合には(ステップS106でYES)、後述する展開中処理を行い(ステップS116)、本処理を終了する。 As a result of the determination in step S106, if it is determined that the part is being developed in the farm development area (YES in step S106), a process during development described later is performed (step S116), and this process ends.
一方、ステップS106の判別の結果、パーツをファーム展開領域に展開中ではないと判別された場合には(ステップS106でNO)、再起動してアップデート起動状態に遷移する(ステップS111)。 On the other hand, as a result of the determination in step S106, if it is determined that the part is not being developed in the farm development area (NO in step S106), the part is restarted and transitioned to the update activation state (step S111).
そして、アップデートプログラム320は、ファーム展開領域330に展開されたパーツをファームウェアコピー領域311に記憶し(ステップS112)、再起動して通常動作状態に遷移する(ステップS113)。上記ステップS112は、記憶手段に対応する。
Then, the
次いで、上述したリンク情報の差し替えを行い(ステップS114)、本処理を終了する。このステップS114は差し替え手段に対応する。 Next, the above-described link information is replaced (step S114), and this process is terminated. This step S114 corresponds to replacement means.
以下、上述したアップデート制御処理において、展開をしている状態でCPU210によりアップデートが指示された場合の処理である3種類の展開中処理について説明していく。
Hereinafter, in the above-described update control process, three types of in-deployment processes, which are processes when an update is instructed by the
図8は、各展開中処理の手順を示すタイミングチャートである。 FIG. 8 is a timing chart showing the procedure of each developing process.
図8(A)は、展開中処理Aの手順を示すタイミングチャートである。 FIG. 8A is a timing chart showing the procedure of the processing A during development.
図8(A)において、通常動作状態時にダウンロード時刻が到来すると、ダウンロードが行われる。ダウンロード終了後は、更新ファーム記憶領域321に記憶されたパーツが、ファーム展開領域330に展開されるが、その展開中に、アップデート時刻が到来するか、またはアップデート画面409のファームウェアのアップデートボタン406がユーザにより選択されることにより、CPU210によりアップデートが指示されたとする。
In FIG. 8A, when the download time comes in the normal operation state, the download is performed. After the download is completed, the parts stored in the update
アップデートが指示されると、展開を途中で終了し、展開されたパーツを破棄し、再起動して、アップデート起動状態に遷移する。その後、通常のアップデート処理を行うこととなる。 When an update is instructed, the deployment is terminated halfway, the deployed parts are discarded, the system is restarted, and a transition is made to the update activation state. Thereafter, normal update processing is performed.
なお、展開をしている状態で、アップデート時刻が到来するか、またはアップデート画面409のファームウェアのアップデートボタン406がユーザにより選択された場合には、展開を中止することを示す警告画面を操作部220に表示したり、展開に要する残り時間を操作部220に表示するようにしてもよい。
Note that when the update time comes or the
図8(B)は、展開中処理Bの手順を示すタイミングチャートである。 FIG. 8B is a timing chart showing the procedure of processing B during development.
図8(B)において、通常動作状態時にダウンロード時刻が到来し、ファーム展開領域330に展開中にアップデートが指示されることは展開中処理Aと同じであるが、展開中処理Bでは、そのまま展開を継続して、全てのパーツを展開する。
In FIG. 8B, the download time arrives in the normal operation state, and updating is instructed to the
全てのパーツが展開されると、結果的に展開が終了した後にアップデートが指示されたことと同じ状態となる。そこで、展開中処理Bでは、展開が終了した後にアップデートが指示された場合と同様に、再起動してアップデート起動状態に遷移し、ファーム展開領域330に展開されたパーツをファームウェアコピー領域311に記憶する。
When all the parts are deployed, the result is the same as when the update is instructed after the deployment is completed. Therefore, in the in-deployment process B, as in the case where the update is instructed after the end of the deployment, the process is restarted to enter the update activation state, and the parts deployed in the
その後、通常起動状態に遷移した後に、再起動し、通常起動に遷移した後にリンク情報の差し替えが行われることでアップデート処理が終了する。 Thereafter, after the transition to the normal activation state, the system is restarted. After the transition to the normal activation, the link information is replaced, and the update process ends.
図8(C)は、展開中処理Cの手順を示すタイミングチャートである。 FIG. 8C is a timing chart showing the procedure of the developing process C.
図8(C)において、通常動作状態時にダウンロード時刻が到来し、ファーム展開領域330に展開を開始することは展開中処理Aと同じであるが、展開中処理Cでは展開の開始とともに、展開状態を管理する。この展開状態の管理について説明する。
In FIG. 8C, the download time arrives in the normal operation state, and starting the expansion in the
図9は、展開状態を管理する管理情報700を示す図である。
FIG. 9 is a diagram showing
図9において、管理情報700は、Updatepkgs701、Executing702、及びWaiting703で構成される。
In FIG. 9, the
Updatepkgs701は、展開済みのパーツを示す。Executing702は、展開中のパーツを示す。Waiting703は、展開待ちのパーツを示す。この管理情報により、いずれのパーツが展開済みのパーツ、展開中のパーツ、及び展開待ちのパーツか判別することができる。なお、この管理情報はRAM212に記憶される。
図8(C)に戻り、展開中にCPU210によりアップデートが指示されると、展開を途中で終了するが、管理情報でExecuting702となっているパーツは展開を継続し、展開待ちのパーツは展開を行わずに再起動して、アップデート起動状態に遷移する。
Returning to FIG. 8C, when update is instructed by the
そして、ファーム展開領域330に展開されたパーツはファームウェアコピー領域311に記憶される。一方、展開待ちのパーツに対しては、通常のアップデート処理が行われる。
The parts developed in the
その後、再起動して通常状態に遷移すると、ファームウェアコピー領域311に記憶されたパーツに対してのみリンク情報の差し替えが行われることでアップデート処理が終了する。
Thereafter, when the system is restarted and transitions to the normal state, the update process is completed by replacing the link information only for the parts stored in the
この展開中処理Cでは、展開されたパーツを利用するので、展開されたパーツを破棄する展開中処理Aと比較して、ダウンタイムは短縮されることとなる。 In the developing process C, since the developed parts are used, the downtime is shortened compared to the developing process A in which the developed parts are discarded.
以下、各展開中処理の手順をフローチャートを用いて説明する。 Hereinafter, the procedure of each developing process will be described with reference to flowcharts.
図10(A)は、図7のアップデート制御処理での展開中処理Aの手順を示すフローチャートである。 FIG. 10A is a flowchart showing the procedure of the developing process A in the update control process of FIG.
図10(A)において、図7のアップデート制御処理におけるステップS106で、パーツをファーム展開領域に展開中と判別された場合には(ステップS106でYES)、展開を終了し、展開されたパーツを破棄する(ステップS201)。 In FIG. 10A, when it is determined in step S106 in the update control process of FIG. 7 that the part is being deployed in the farm deployment area (YES in step S106), the deployment is terminated, and the deployed part is Discard (step S201).
次いで、再起動してアップデート起動状態に遷移し(ステップS202)、通常のアップデート処理を行う(ステップS203)。そして、再び再起動して通常起動状態に遷移して(ステップS204)、本処理を終了する。 Next, the system is restarted to transit to the update startup state (step S202), and normal update processing is performed (step S203). And it restarts again and it changes to a normal starting state (step S204), and complete | finishes this process.
このように、本実施の形態では、更新ファームの展開中にアップデートが指示された場合には、更新ファームの展開を終了し、展開された更新ファームを破棄して更新ファームをファーム展開領域330に展開することなく搭載されたファームを更新する。
As described above, in this embodiment, when an update is instructed during the deployment of the update farm, the deployment of the update farm is terminated, the deployed update farm is discarded, and the update farm is placed in the
図10(B)は、図7のアップデート制御処理での展開中処理Bの手順を示すフローチャートである。 FIG. 10B is a flowchart showing the procedure of the in-deployment process B in the update control process of FIG.
図10(B)において、図7のアップデート制御処理におけるステップS106で、パーツをファーム展開領域に展開中と判別された場合には(ステップS106でYES)、展開を継続することを示す警告画面を操作部220に表示する(ステップS301)。 In FIG. 10B, when it is determined in step S106 in the update control process of FIG. 7 that the part is being deployed in the farm deployment area (YES in step S106), a warning screen indicating that the deployment is continued is displayed. The information is displayed on the operation unit 220 (step S301).
次いで、全てのパーツが展開されると(ステップS302でYES)、図7のアップデート制御処理におけるステップS111〜ステップS115を行い(ステップS303)、本処理を終了する。 Next, when all parts have been developed (YES in step S302), steps S111 to S115 in the update control process of FIG. 7 are performed (step S303), and this process ends.
このように、本実施の形態では、更新ファームをの展開中にアップデートが指示された場合には、展開を継続し、更新ファームの展開が終了した後にファームウェアコピー領域311にファーム展開領域330に展開された更新ファームを記憶する。
As described above, in this embodiment, when an update is instructed during the deployment of the update firmware, the deployment is continued, and after the deployment of the update firmware is completed, the
図11は、図7のアップデート制御処理での展開中処理Cの手順を示すフローチャートである。 FIG. 11 is a flowchart showing the procedure of the developing process C in the update control process of FIG.
上述したように、展開中処理Cでは、展開状態を管理する処理を行うため、図7のアップデート制御処理にその処理が挿入される。 As described above, in the in-deployment process C, the process is inserted into the update control process of FIG.
図11(A)は、図7のアップデート制御処理に挿入される処理の手順を示すフローチャートである。 FIG. 11A is a flowchart showing a procedure of processing inserted in the update control processing of FIG.
図7のステップS104では、パーツをファーム展開領域330に展開するが、それとともに展開状態を管理して(ステップS400)、ステップS105に移る。
In step S104 of FIG. 7, the parts are developed in the
図11(B)は、図7のアップデート制御処理での展開中処理Bの手順を示すフローチャートである。 FIG. 11B is a flowchart showing a procedure of the developing process B in the update control process of FIG.
図11(B)において、図7のアップデート制御処理におけるステップS106で、パーツをファーム展開領域に展開中と判別された場合には(ステップS106でYES)、展開を終了する(ステップS401)。上述したように、展開を途中で終了するが、管理情報でExecuting702となっているパーツは展開が継続される。 In FIG. 11B, when it is determined in step S106 in the update control process of FIG. 7 that the part is being deployed in the farm deployment area (YES in step S106), the deployment is terminated (step S401). As described above, the development is terminated in the middle, but the parts that are Executing 702 in the management information continue to be developed.
その後、再起動してアップデート起動状態に遷移する(ステップS402)。そして、ファーム展開領域330に展開されたパーツをファームウェアコピー領域311に記憶する(ステップS402)。
Then, it restarts and changes to an update starting state (step S402). Then, the parts developed in the
次いで、展開されていないパーツに対して通常のアップデート処理を行う(ステップS403)。そして、再び再起動して通常起動状態に遷移して(ステップS304)、リンク情報の差し替えを行い(ステップS405)、本処理を終了する。 Next, a normal update process is performed on the undeveloped parts (step S403). And it restarts again, it changes to a normal starting state (step S304), replacement | exchange of link information is performed (step S405), and this process is complete | finished.
このように、本実施の形態では、更新ファームをの展開中にアップデートが指示された場合には、更新ファームの展開を終了し、展開を終了する前に展開された更新ファームをファームウェアコピー領域311に記憶する。
As described above, in the present embodiment, when an update is instructed during deployment of an update firmware, the deployment of the update firmware is terminated, and the update firmware deployed before the deployment is terminated is stored in the
そして、ファームウェアコピー領域311に記憶された更新ファームを実行するためのリンク情報を差し替え、ファーム展開領域330に展開されたなかった更新ファームをファーム展開領域330に展開することなく搭載されたファームを更新する。
Then, the link information for executing the update firmware stored in the
以上説明したように、本実施の形態によれば、更新ファームを更新ファーム記憶領域321にバックグラウンド処理でダウンロードし(ステップS102)、ダウンロードが終了すると、直ちにファーム展開領域330に更新ファームをバックグラウンド処理で展開する(ステップS105)。
As described above, according to the present embodiment, the update firmware is downloaded to the update
そして、搭載されたソフトウェアの更新が指示された場合に、ファームウェアコピー領域311にファーム展開領域330に展開された更新ファームを記憶して(ステップS112)、搭載されたソフトウェアに代えて、ファームウェアコピー領域311に記憶された更新ファームを実行するためのリンク情報をバックグラウンド処理で差し替えるので(ステップS114)、ソフトウェアを更新するために生じるダウンタイムを短縮可能となる。
When an update of the installed software is instructed, the
(他の実施の形態)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other embodiments)
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program code. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.
100 画像形成装置
200 制御部
210 CPU
212 RAM
218 HDD
219 フラッシュメモリ
220 操作部
310 ファームウェア
311 ファームウェアコピー領域
320 アップデートプログラム
321 更新ファーム記憶領域
330 ファーム展開領域
100
212 RAM
218 HDD
219
上記目的を達成するために、請求項1の情報処理装置は、ファームウェアを有し、当該ファームウェアにより制御される情報処理装置であって、前記ファームウェアを更新するための更新ファームウェアをネットワークを介して取得する取得手段と、前記取得手段が取得した更新ファームウェアを、前記ファームウェアが記憶されている領域とは異なる所定の記憶領域に展開する展開手段と、前記展開手段による前記更新ファームウェアの展開中に、前記更新ファームウェアを展開する処理とは別の処理を含む処理を実行する実行手段と、前記ファームウェアに代えて、前記展開手段により展開された更新ファームウェアを用いて前記情報処理装置を制御する処理を制御する制御手段とを備えることを特徴とする。 In order to achieve the above object, an information processing apparatus according to claim 1 is an information processing apparatus having firmware and controlled by the firmware, and acquiring update firmware for updating the firmware via a network Obtaining means, deploying means for deploying the update firmware obtained by the obtaining means to a predetermined storage area different from the area where the firmware is stored, and during deployment of the update firmware by the decompressing means, Execution means for executing processing including processing different from processing for deploying update firmware, and processing for controlling the information processing apparatus using the update firmware deployed by the deployment means instead of the firmware And a control means .
Claims (8)
前記更新ソフトウェアを予め定められた第1記憶領域にバックグラウンド処理でダウンロードするダウンロード手段と、
前記ダウンロード手段により前記更新ソフトウェアのダウンロードが終了すると、直ちに予め定められた第2記憶領域に前記更新ソフトウェアをバックグラウンド処理で展開する展開手段と、
前記搭載されたソフトウェアの更新が指示された場合に、前記ソフトウェアを実行するための予め定められた第3記憶領域に、前記展開手段により前記第2記憶領域に展開された前記更新ソフトウェアを記憶する記憶手段と、
前記搭載されたソフトウェアに代えて、前記記憶手段により前記第3記憶領域に記憶された前記更新ソフトウェアを実行するためのリンク情報をバックグラウンド処理で差し替える差し替え手段と
を有することを特徴とする情報処理装置。 An information processing apparatus that downloads update software for updating software installed in an information processing apparatus and updates the installed software with the downloaded update software,
Download means for downloading the update software to a predetermined first storage area by background processing;
An unfolding means for unfolding the update software in a predetermined second storage area immediately after the download of the update software is completed by the download means;
When updating of the installed software is instructed, the update software expanded in the second storage area by the expansion means is stored in a predetermined third storage area for executing the software Storage means;
In place of the installed software, the storage means includes replacement means for replacing the link information for executing the updated software stored in the third storage area by background processing. apparatus.
前記更新ソフトウェアを予め定められた第1記憶領域にバックグラウンド処理でダウンロードするダウンロードステップと、
前記ダウンロードステップにより前記更新ソフトウェアのダウンロードが終了すると、直ちに予め定められた第2記憶領域に前記更新ソフトウェアをバックグラウンド処理で展開する展開ステップと、
前記搭載されたソフトウェアの更新が指示された場合に、前記ソフトウェアを実行するための予め定められた第3記憶領域に、前記展開ステップにより前記第2記憶領域に展開された前記更新ソフトウェアを記憶する記憶ステップと、
前記搭載されたソフトウェアに代えて、前記記憶ステップにより前記第3記憶領域に記憶された前記更新ソフトウェアを実行するためのリンク情報をバックグラウンド処理で差し替える差し替えステップと
を有することを特徴とする制御方法。 A method for controlling an information processing apparatus that downloads update software for updating software installed in an information processing apparatus and updates the installed software by the downloaded update software,
A download step of downloading the update software to a predetermined first storage area by background processing;
When the download of the update software is completed by the download step, a development step of immediately deploying the update software in a predetermined second storage area by background processing;
When update of the installed software is instructed, the updated software expanded in the second storage area by the expansion step is stored in a predetermined third storage area for executing the software A memory step;
In place of the installed software, the storage method includes a replacement step of replacing link information for executing the updated software stored in the third storage area by background processing. .
前記制御方法は、
前記更新ソフトウェアを予め定められた第1記憶領域にバックグラウンド処理でダウンロードするダウンロードステップと、
前記ダウンロードステップにより前記更新ソフトウェアのダウンロードが終了すると、直ちに予め定められた第2記憶領域に前記更新ソフトウェアをバックグラウンド処理で展開する展開ステップと、
前記搭載されたソフトウェアの更新が指示された場合に、前記ソフトウェアを実行するための予め定められた第3記憶領域に、前記展開ステップにより前記第2記憶領域に展開された前記更新ソフトウェアを記憶する記憶ステップと、
前記搭載されたソフトウェアに代えて、前記記憶ステップにより前記第3記憶領域に記憶された前記更新ソフトウェアを実行するためのリンク情報をバックグラウンド処理で差し替える差し替えステップと
を有することを特徴とするプログラム。 A program for downloading update software for updating software installed in an information processing apparatus and causing a computer to execute a control method of the information processing apparatus for updating the installed software by the downloaded update software. ,
The control method is:
A download step of downloading the update software to a predetermined first storage area by background processing;
When the download of the update software is completed by the download step, a development step of immediately deploying the update software in a predetermined second storage area by background processing;
When update of the installed software is instructed, the updated software expanded in the second storage area by the expansion step is stored in a predetermined third storage area for executing the software A memory step;
In place of the installed software, there is provided a replacement step of replacing link information for executing the updated software stored in the third storage area by the storage step by background processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017245258A JP6776220B2 (en) | 2017-12-21 | 2017-12-21 | Information processing equipment, its control method, and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017245258A JP6776220B2 (en) | 2017-12-21 | 2017-12-21 | Information processing equipment, its control method, and programs |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014095255A Division JP6270616B2 (en) | 2014-05-02 | 2014-05-02 | Information processing apparatus, control method therefor, and program |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020131143A Division JP7073454B2 (en) | 2020-07-31 | 2020-07-31 | Information processing equipment, its control method, and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018045725A true JP2018045725A (en) | 2018-03-22 |
JP6776220B2 JP6776220B2 (en) | 2020-10-28 |
Family
ID=61695083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017245258A Active JP6776220B2 (en) | 2017-12-21 | 2017-12-21 | Information processing equipment, its control method, and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6776220B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113490910A (en) * | 2019-02-22 | 2021-10-08 | 本田技研工业株式会社 | Software updating device, vehicle and software updating method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009086754A (en) * | 2007-09-27 | 2009-04-23 | Kyocera Corp | Software update method and mobile terminal |
JP2011113391A (en) * | 2009-11-27 | 2011-06-09 | Ricoh Co Ltd | Equipment management system, equipment managing apparatus, equipment to be managed, software updating method, software updating program, and recording medium recorded with the program |
-
2017
- 2017-12-21 JP JP2017245258A patent/JP6776220B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009086754A (en) * | 2007-09-27 | 2009-04-23 | Kyocera Corp | Software update method and mobile terminal |
JP2011113391A (en) * | 2009-11-27 | 2011-06-09 | Ricoh Co Ltd | Equipment management system, equipment managing apparatus, equipment to be managed, software updating method, software updating program, and recording medium recorded with the program |
Non-Patent Citations (1)
Title |
---|
"Windows XP/2000/Me/98完全対応版 フリーズ&エラーの対処法がよくわかる! トラブ", WINDOWS START, vol. 第9巻,第11号, JPN6019007801, 29 September 2004 (2004-09-29), JP, pages pp.56−57 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113490910A (en) * | 2019-02-22 | 2021-10-08 | 本田技研工业株式会社 | Software updating device, vehicle and software updating method |
CN113490910B (en) * | 2019-02-22 | 2022-09-20 | 本田技研工业株式会社 | Software updating device, vehicle and software updating method |
Also Published As
Publication number | Publication date |
---|---|
JP6776220B2 (en) | 2020-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6270616B2 (en) | Information processing apparatus, control method therefor, and program | |
US8112617B2 (en) | Information processing device, and method of starting information processing device | |
JP6351413B2 (en) | Image forming apparatus, control method therefor, and program | |
JP2007310783A (en) | Updating method of firmware in image forming device, program and recording medium | |
JP6041588B2 (en) | Image forming device, program update method and program | |
JP6399797B2 (en) | Information processing apparatus, control method therefor, and program | |
JP6482211B2 (en) | Information processing apparatus, control method thereof, and program | |
JP6776220B2 (en) | Information processing equipment, its control method, and programs | |
JP6157282B2 (en) | Image processing apparatus, information processing method, and program | |
US20230132494A1 (en) | Information processing apparatus, method of controlling the same, and storage medium | |
JP7073454B2 (en) | Information processing equipment, its control method, and programs | |
JP4802607B2 (en) | Image processing device | |
US9940334B2 (en) | Image forming apparatus and control method thereof | |
JP5169718B2 (en) | Information processing apparatus, display screen activation method, and program | |
JP2010146408A (en) | Information processing apparatus, information processing method, and program | |
JP6457756B2 (en) | Information processing apparatus, control method thereof, and program | |
JP6312372B2 (en) | Image forming apparatus, control method therefor, and program | |
JP2003330655A (en) | Image forming device and method for controlling the same device and computer readable storage medium and its program | |
JP2006129362A (en) | Digital composite machine | |
JP2010176567A (en) | Information processor, information processing system, control method therefor, and program | |
JP2003259000A (en) | Version update system and method for ip telephone set service function in ip-pbx | |
JP2005242930A (en) | Information processor, program updating method, program updating program, and computer-readable storage medium recording program updating program | |
JP2018037052A (en) | Information processing device, information processing system, computer program, and method | |
JP2008090727A (en) | Information processor, processing method, and information processing program | |
JP4788233B2 (en) | Device management device, device management program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180122 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180122 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190312 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190513 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191015 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191213 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20200519 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200731 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20200811 |
|
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: 20200908 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201007 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6776220 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |