JP5290880B2 - Electronic apparatus and image forming apparatus - Google Patents
Electronic apparatus and image forming apparatus Download PDFInfo
- Publication number
- JP5290880B2 JP5290880B2 JP2009141710A JP2009141710A JP5290880B2 JP 5290880 B2 JP5290880 B2 JP 5290880B2 JP 2009141710 A JP2009141710 A JP 2009141710A JP 2009141710 A JP2009141710 A JP 2009141710A JP 5290880 B2 JP5290880 B2 JP 5290880B2
- Authority
- JP
- Japan
- Prior art keywords
- control program
- unit
- storage unit
- operation result
- version number
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、記憶部に記憶されたプログラムを実行して動作する電子装置および画像形成装置に関し、特にプログラムの書換えが可能な電子装置および画像形成装置に関する。 The present invention relates to an electronic apparatus and an image forming apparatus that operate by executing a program stored in a storage unit, and more particularly to an electronic apparatus and an image forming apparatus that can rewrite a program.
従来の電子装置は、起動時に記憶部に記憶されているプログラムの版数と上位装置の記憶部に記憶された最新プログラムの版数を比較し、その版数が異なることを検知した場合、上位装置から最新プログラムをダウンロードし、記憶部に記憶されているプログラムを最新プログラムに書換えて動作を行うようにしているものがある(例えば、特許文献1参照)。 When the conventional electronic device compares the version number of the program stored in the storage unit at the time of startup with the version number of the latest program stored in the storage unit of the host device, and detects that the version number is different, There is one that downloads the latest program from the apparatus and rewrites the program stored in the storage unit with the latest program to perform the operation (see, for example, Patent Document 1).
しかしながら、上述した従来の技術においては、プログラムの書換えが行われる電子装置のハードウェアの構成が変わっている場合等、その装置において動作実績のないプログラムに書換えられるとハードウェアとプログラムが適合せず、装置が正常に動作しなくなるという問題がある。 However, in the above-described conventional technology, when the hardware configuration of the electronic device to which the program is rewritten is changed, the hardware and the program do not match if the program is rewritten to a program having no operation record in the device. There is a problem that the device does not operate normally.
本発明は、このような問題を解決することを課題とし、動作実績のないプログラムに書換えることを防止して装置を正常に動作させることを目的とする。 An object of the present invention is to solve such a problem, and an object of the present invention is to operate the apparatus normally by preventing rewriting to a program having no operation record.
そのため、本発明は、記憶手段に記憶した制御プログラムを実行して動作する電子装置において、制御プログラムを記憶する不揮発性の記憶部と、前記記憶部に記憶された制御プログラムの動作実績情報を記憶する動作実績管理部と、書換え用の制御プログラムの転送を行うプログラム転送部と、前記記憶部に記憶されている制御プログラムの前記書換え用の制御プログラムへの書換え可否を前記動作実績管理部に記憶されている動作実績情報に基づいて判別する判断部と、接続された外部記憶部との間で通信を行う外部記憶部通信制御部と、前記外部記憶部通信制御部へ前記動作実績管理部に記憶されている動作実績情報を転送する動作実績情報転送部とを備え、前記判断部が前記書換え用の制御プログラムの版数と前記動作実績管理部に記憶された動作実績情報とを照合して前記版数が前記動作実績情報に存在しないことを確認したとき、前記動作実績情報転送部は、該動作実績情報を前記外部記憶部通信制御部へ転送して前記外部記憶部に該動作実績情報を記憶させることを特徴とする。 Therefore, the present invention stores a non-volatile storage unit that stores a control program and operation result information of the control program stored in the storage unit in an electronic device that operates by executing the control program stored in the storage unit. An operation result management unit that performs rewriting, a program transfer unit that transfers a rewrite control program, and the operation result management unit that stores whether or not the control program stored in the storage unit can be rewritten to the rewrite control program. A determination unit that determines based on the operation result information that is being performed, an external storage unit communication control unit that communicates with the connected external storage unit, and the external storage unit communication control unit to the operation result management unit and an operation record information transfer unit for transferring the operation record information stored in the version number and the operation record management unit of the determination unit control program for the rewrite When it is confirmed that the version number does not exist in the operation result information by comparing with the stored operation result information, the operation result information transfer unit transfers the operation result information to the external storage unit communication control unit Then, the operation result information is stored in the external storage unit .
このようにした本発明は、動作実績のないプログラムに書換えることを防止して装置を正常に動作させることができるという効果が得られる。 According to the present invention as described above, it is possible to prevent the rewriting to a program having no operation record and to operate the apparatus normally.
以下、図面を参照して本発明による電子装置および画像形成装置の実施例を説明する。 Embodiments of an electronic apparatus and an image forming apparatus according to the present invention will be described below with reference to the drawings.
図1は第1の実施例における画像形成装置の機能ブロック図である。 FIG. 1 is a functional block diagram of the image forming apparatus in the first embodiment.
図1において、記憶部に記憶されたプログラム(ソフトウェア)を実行して動作する電子装置としての画像形成装置101は、外部記憶部通信制御部103、動作実績管理部104、プログラム転送部105、判断部106、実行部107、作業領域108、ローダプログラム記憶部109、制御プログラム記憶部110、およびパネル部202から構成され、また外部装置としての外部記憶部102と通信可能に接続されている。
In FIG. 1, an
図2は第1の実施例における画像形成装置のハードウェア構成を示すブロック図である。 FIG. 2 is a block diagram illustrating a hardware configuration of the image forming apparatus according to the first embodiment.
図2において、画像形成装置101は、メイン制御部212、エンジン制御部204、パネル部202、および機構部208から構成され、またメイン制御部212は、外部通信制御部201、データ制御部203、CPU(Central Processing Unit)205、ROM(Read Only Memory)206、およびRAM(Random Access Memory)207から構成され、さらに機構部208は、用紙送り機構部301、電子写真プロセス部311、および定着ユニット310から構成されている。
2, the
演算部であるCPU205は、書換え不可能な記憶部であるROM206または書換え可能な記憶部であるRAM207に格納されたプログラム(ソフトウェア)を実行し、RAM207の所定の領域を作業領域として利用してデータ処理を行う。
The
外部通信制御部201は、外部記憶部102との通信ポートや複数種の異なる通信ポートを通じてインターフェースをとり、外部記憶部102等の外部装置との間でデータの送受信を行う制御部である。
The external
これらメイン制御部212のデバイスとしての外部通信制御部201、CPU205、ROM206、ならびにRAM207、エンジン制御部204およびパネル部202間のデータの送受信はデータ制御部203を通して行われる。
Data transmission / reception between the external
エンジン制御部204は、機構部208内の用紙送り機構部301、電子写真プロセス部311、定着ユニット310を制御し、画像データの印刷を行う。
The
パネル部202は、画像形成装置101の使用者および操作者への情報表示および使用者等の操作による情報入力を受付けるためのものである。
The
図3は第1の実施例における画像形成装置の機構概略説明図である。 FIG. 3 is a schematic explanatory view of the mechanism of the image forming apparatus in the first embodiment.
画像形成装置101は、用紙送り機構301、電子写真プロセス部311、定着ユニット310、およびパネル部202から構成される。
The
用紙送り機構301は、メインモータ309、レジストモータ305、用紙有無センサ313、レジストインセンサ304、書出し位置センサ303、排出センサ307、レジストローラ306、および排出ローラ308から構成され、印刷実行時に印刷対象である用紙を用紙カセット302より、用紙ルート312の経路で画像形成装置101内の各部へ順次搬送するためのものである。
The
メインモータ309は、電子写真プロセス部311、定着ユニット310、および排出ローラ308の各部を回転駆動させるものであり、レジストモータ305は、レジストローラ306を回転駆動させるものである。
The
用紙有無センサ313は、用紙カセット302内の用紙の有無を検知するものである。また、レジストインセンサ304、書出し位置センサ303、および排出センサ307は、それぞれ各部の用紙の有無を検知するものであり、搬送中の用紙の位置管理に使用される。
The
電子写真プロセス部311は、印刷対象である用紙にトナー像を転写するためのものであり、定着ユニット310は、用紙上に転写されたトナー像を熱定着させるためのものである。
The
次に、画像形成装置101の制御プログラムを書換える構成について図1および図2に基づいて説明する。
Next, a configuration for rewriting the control program of the
外部記憶部102は、汎用の記憶媒体であり、例えばUSB(Universal Serial Bus)メモリである。この外部記憶部102には、書換え用の画像形成装置101の制御プログラム(以下、「書換え用制御プログラム」という。)が予め格納されているものとする。
The
画像形成装置101は、自身に備えた記憶部に格納された制御プログラムに基づき画像データの処理を行う装置である。この記憶部は、具体的にはメイン制御部212における不揮発性の記憶部としてのRAM207であり、直接実行可能なイメージで上記制御プログラムを格納する制御プログラム記憶部110である。また、メイン制御部212におけるROM206には直接実行可能なイメージでローダプログラムが格納されているローダプログラム記憶部109が備えられている。
The
ここで、制御プログラムとは、画像形成装置101全体の動作を制御するためのプログラムであり、またローダプログラムとは、外部記憶部102から書換え用制御プログラムをダウンロードし、制御プログラム記憶部110に格納されている制御プログラムをダウンロードした書換え用制御プログラムに書換えるためのプログラムである。
Here, the control program is a program for controlling the operation of the entire
外部記憶部通信制御部103は、接続された外部記憶部102との間で通信を行い、その外部記憶部102に格納された書換え用制御プログラムを読込む(ダウンロードする)制御部である。
The external storage unit
プログラム転送部105は、外部記憶部通信制御部103で読込んだ書換え用制御プログラムを判断部106および実行部107へ転送する部位である。
The
動作実績管理部104は、現在までに書換えられ、画像形成装置101において動作した実績のある制御プログラムの版数を版数情報(動作実績情報)として記憶している記憶部である。この動作実績管理部104は、例えば図4に示すように動作実績のある制御プログラムの版数を「V3.00」、「V4.00」、「V6.00」、「V7.00」、「V8.00」等の版数情報として記憶する。
The operation
判断部106は、外部記憶部102から読込んだ書換え用制御プログラムに含まれている当該制御プログラムの版数と、動作実績管理部104に記憶されている版数情報とを照合し、制御プログラム記憶部110の制御プログラムを書換えるか否かの判定を行う部位である。ここで、外部記憶部102から読込んだ書換え用制御プログラムは、例えば図5に示すように制御プログラム本体とその制御プログラムの版数とから構成されている。
The
判断部106は、その書換え用制御プログラムの版数と動作実績管理部104に記憶されている版数情報とを照合し、その版数情報中に一致する版数が存在することを確認したとき、当該書換え用制御プログラムは動作実績のある制御プログラムであると判別する。
When the
実行部107は、ローダプログラム記憶部109に記憶されているローダプログラムに従い、作業領域108をワークエリアとして使用し、制御プログラム記憶部110に記憶されている制御プログラムを書換え、また制御プログラム記憶部110に記憶されている制御プログラムに従い、作業領域108をワークエリアとして使用し、画像形成装置101全体の動作を制御する部位である。
The
上述した構成の作用について説明する。 The operation of the above configuration will be described.
図6は第1の実施例における制御プログラムの書換え処理を示すフローチャートであり、図中Sで表すステップに従い、また図1から図5を参照しながら説明する。 FIG. 6 is a flowchart showing a control program rewriting process in the first embodiment, which will be described in accordance with steps indicated by S in the figure and with reference to FIGS.
まず、電源が投入され画像形成装置101が起動されるものとする。
First, it is assumed that the power is turned on and the
S1:画像形成装置101が起動されると図1における判断部106は外部記憶部通信制御部103を通して外部記憶部102が接続されているか否かを判別する。外部記憶部102が接続されていないと判別すると判断部106は実行部107に制御プログラムの書換え処理を行わない旨を通知し、実行部107はS8の通常処理に復帰する。
S1: When the
S2:一方、S1において、外部記憶部102が接続されていると判別すると判断部106は、外部記憶部通信制御部103を通して外部記憶部102に書換え用の制御プログラムが格納されているか否かを判別する。外部記憶部102に書換え用の制御プログラムが格納されていないと判別すると判断部106は実行部107に制御プログラムの書換え処理を行わない旨を通知し、実行部107はS8の通常処理に復帰する。
S2: On the other hand, when it is determined in S1 that the
S3:S2において、外部記憶部102に書換え用の制御プログラムが格納されていると判別すると外部記憶部通信制御部103は外部記憶部102に格納されている書換え用の制御プログラムを読込み、プログラム転送部105を通して判断部106へ転送する。
S3: If it is determined in S2 that the rewrite control program is stored in the
S4:判断部106は、転送された書換え用の制御プログラムから当該制御プログラムの版数を読取り、読取った版数と動作実績管理部104に記憶されている制御プログラムの版数情報とを照合し、書換え用の制御プログラムから読取った版数が動作実績管理部104に記憶されているすべての版数情報より新しい版数であるか否かを判別する。
S4: The
書換え用の制御プログラムから読取った版数が動作実績管理部104に記憶されているすべての版数情報より新しい版数であると判別すると判断部106は実行部107に制御プログラムの書換え処理が必要である旨を通知するとともにプログラム転送部105を通して書換え用の制御プログラムを転送する。
If it is determined that the version number read from the control program for rewriting is a newer version number than all the version number information stored in the operation
S5:制御プログラムの書換え処理が必要である旨の通知を受けた実行部107は、ローダプログラム記憶部109に記憶されているプログラムに従い、作業領域108を活用しながら制御プログラム記憶部110に記憶されている制御プログラムを書換え用の制御プログラムに書換える書換え処理を行う。
S5: The
S6:書換え処理が終了すると判断部106は書換えた制御プログラムの版数を動作実績管理部104に記憶させる。
S6: When the rewriting process is completed, the
S7:判断部106は、パネル部202に制御プログラムの書換えが完了した旨を表示し、操作者へ報知する。
S7: The
S8:実行部107は、制御プログラム記憶部110に記憶された制御プログラムに従って通常の処理を行う。
S8: The
S9:一方、S4において、書換え用の制御プログラムから読取った版数が動作実績管理部104に記憶されている版数情報より新しい版数でないと判別すると判断部106は、書換え用の制御プログラムから読取った版数と動作実績管理部104に記憶されている制御プログラムの版数情報とを照合し、動作実績管理部104に記憶されている版数情報内に、書換え用の制御プログラムから読取った版数と一致する版数の有無を判別する。
S9: On the other hand, when it is determined in S4 that the version number read from the rewrite control program is not a newer version number than the version information stored in the operation
一致する版数が有ると判別すると判断部106は実行部107に制御プログラムの書換え処理が必要である旨を通知するとともにプログラム転送部105を通して書換え用の制御プログラムを転送する。
If it is determined that there is a matching version number, the
S10:制御プログラムの書換え処理が必要である旨の通知を受けた実行部107は、ローダプログラム記憶部109に記憶されているプログラムに従い、作業領域108を活用しながら制御プログラム記憶部110に記憶されている制御プログラムを書換え用の制御プログラムに書換える書換え処理を行い、処理をS7へ移行する。
S10: The
S11:S9において、一致する版数が無いと判別すると判断部106は、実行部107に制御プログラムの書換え処理を行わない旨を通知し、パネル部202に制御プログラムの書換えが不可能である旨を表示し、操作者へ報知する。
S11: When it is determined that there is no matching version number in S9, the
このように、書換え用の制御プログラムから読取った版数が動作実績管理部104に記憶されている版数情報の最新の版数より古い版数と判別された場合、動作実績管理部104に記憶されている版数情報内に、書換え用の制御プログラムから読取った版数と一致する版数が有ると判別したときにのみ、制御プログラムの書換え処理を行うようにしたことにより、制御プログラム記憶部110の制御プログラムを動作実績のある制御プログラムにのみ書換えることを可能にし、動作実績のない制御プログラムに書換えることを防止して装置が正常に動作しなくなることを防止することができる。
As described above, when it is determined that the version number read from the rewrite control program is older than the latest version number of the version number information stored in the operation
ここで、動作実績のない古い版数の制御プログラムに書換えられた場合の不具合例を説明する。 Here, an example of a problem when the control program is rewritten to an old version with no operation record will be described.
新しい画像形成装置101のハードウェア構成として、例えば初ロットの装置では必要であった図3に示す用紙有無センサ313が、新しい制御方法を採用するにあたり不要となり、次のロットから削除された場合、次のロットの装置に採用される制御プログラムは、用紙有無センサ313を削除した新しいハードウェアに適合した制御プログラムとなり、その版数も更新(例えば、V1.00からV2.00に更新)される。
As a hardware configuration of the new
その後も性能向上や制御プログラム上の不具合等の修正により、制御プログラムの版数が更新(例えば、V2.00からV3.00に更新)され、制御プログラムの書換えが行われるが新しい制御プログラム(例えば、V3.00)に不具合があることが判明したため、応急処置として古い版数の制御プログラムに書換える場合がある。 After that, the version number of the control program is updated (for example, updated from V2.00 to V3.00) due to performance improvement or correction of a defect in the control program, and the control program is rewritten, but a new control program (for example, , V3.00) has been found to be defective, and may be rewritten to an old version of the control program as an emergency measure.
このとき、用紙有無センサ313を削除した新しいハードウェア構成の画像形成装置101に、用紙有無センサ313が実装されているハードウェア構成用の動作実績のない古い版数(例えば、V1.00)の制御プログラムに書換えられてしまうとハードウェアの構成として用紙有無センサ313が実装されていないが、制御プログラムは用紙有無センサ313からの入力情報を必要とするため、画像形成装置101が正常に動作しなくなってしまう。そこで、本実施例のように制御プログラムの動作実績を確認する必要がある。
At this time, the
なお、ひとつの装置の中で、上記のように制御プログラムの変更によりハードウェア構成が変化する場合がある。このように制御プログラムとともにハードウェア構成が変更になる場合は、動作実績管理部104に記憶されている版数情報を最新の版数のみとし、以前の版数を削除すると良い。それにより、ハードウェア構成に沿った書換え可能な版数管理が可能となる。
In one apparatus, the hardware configuration may change due to the change of the control program as described above. When the hardware configuration is changed together with the control program in this way, it is preferable that the version information stored in the operation
以上説明したように、第1の実施例では、書換え用の制御プログラムから読取った版数が動作実績管理部に記憶されている版数情報の最新の版数より古い版数と判別された場合、その動作実績管理部に記憶されている版数情報内に、書換え用の制御プログラムから読取った版数と一致する版数が有ると判別したときにのみ、制御プログラムの書換え処理を行うようにしたことにより、動作実績のない制御プログラムに書換えることを防止して装置が正常に動作しなくなることを防止することができるという効果が得られる。 As described above, in the first embodiment, the version number read from the rewrite control program is determined to be older than the latest version number of the version information stored in the operation result management unit. Only when it is determined that there is a version number that matches the version number read from the control program for rewriting in the version number information stored in the operation result management unit, the control program is rewritten. As a result, it is possible to prevent the device from being normally operated by preventing rewriting to a control program having no operation record.
図7は第2の実施例における画像形成装置の機能ブロック図である。第2の実施例の構成は、第1の実施例の構成に対して版数情報転送部501が追加されている。
FIG. 7 is a functional block diagram of the image forming apparatus in the second embodiment. In the configuration of the second embodiment, a version number
図7において、電子装置としての画像形成装置101は、外部記憶部通信制御部103、動作実績管理部104、プログラム転送部105、判断部106、実行部107、作業領域108、ローダプログラム記憶部109、制御プログラム記憶部110、パネル部202、および版数情報転送部501から構成され、また外部装置としての外部記憶部102と通信可能に接続されている。
In FIG. 7, an
動作実績情報転送部としての版数情報転送部501は、判断部106より動作実績管理部104に記憶されている動作実績情報としての版数情報を外部記憶部通信制御部103へ転送する部位である。外部記憶部通信制御部103は、転送された版数情報を外部記憶部102へ記憶させる。
The version number
なお、上述した第1の実施例と同様の部分は、同一の符号を付してその説明を省略する。 Note that parts similar to those of the first embodiment described above are denoted by the same reference numerals and description thereof is omitted.
上述した構成の作用について説明する。 The operation of the above configuration will be described.
図8は第2の実施例における制御プログラムの書換え処理を示すフローチャートであり、図中Sで表すステップに従い、また図7を参照しながら説明する。 FIG. 8 is a flowchart showing the rewriting process of the control program in the second embodiment, which will be described according to the step indicated by S in the figure and with reference to FIG.
まず、電源が投入され画像形成装置101が起動されるものとする。
First, it is assumed that the power is turned on and the
S21:画像形成装置101が起動されると図7における判断部106は外部記憶部通信制御部103を通して外部記憶部102が接続されているか否かを判別する。外部記憶部102が接続されていないと判別すると判断部106は実行部107に制御プログラムの書換え処理を行わない旨を通知し、実行部107はS29の通常処理に復帰する。
S21: When the
S22:一方、S21において、外部記憶部102が接続されていると判別すると判断部106は、外部記憶部通信制御部103を通して外部記憶部102に書換え用の制御プログラムが格納されているか否かを判別する。外部記憶部102に書換え用の制御プログラムが格納されていないと判別すると判断部106は実行部107に制御プログラムの書換え処理を行わない旨を通知し、実行部107はS29の通常処理に復帰する。
S22: On the other hand, when determining in S21 that the
S23:S22において、外部記憶部102に書換え用の制御プログラムが格納されていると判別すると判断部106は、外部記憶部通信制御部103を通して外部記憶部102に版数情報が格納されているか否かを判別する。外部記憶部102に版数情報が格納されていないと判別すると処理をS24へ移行し、一方外部記憶部102に版数情報が格納されていると判別すると処理をS33へ移行し、判断部106は実行部107に制御プログラムの書換え処理を行わない旨を通知し、パネル部202に制御プログラムの書換えが不可能である旨を表示し、操作者へ報知する。
S23: If it is determined in S22 that the rewrite control program is stored in the
S24:S23において、外部記憶部102に版数情報が格納されていないと判別すると外部記憶部通信制御部103は外部記憶部102に格納されている書換え用の制御プログラムを読込み、プログラム転送部105を通して判断部106へ転送する。
S24: When it is determined in S23 that the version number information is not stored in the
S25:判断部106は、転送された書換え用の制御プログラムから当該制御プログラムの版数を読取り、読取った版数と動作実績管理部104に記憶されている制御プログラムの版数情報とを照合し、書換え用の制御プログラムから読取った版数が動作実績管理部104に記憶されているすべての版数情報より新しい版数であるか否かを判別する。
S25: The
書換え用の制御プログラムから読取った版数が動作実績管理部104に記憶されているすべての版数情報より新しい版数であると判別すると判断部106は実行部107に制御プログラムの書換え処理が必要である旨を通知するとともにプログラム転送部105を通して書換え用の制御プログラムを転送する。
If it is determined that the version number read from the control program for rewriting is a newer version number than all the version number information stored in the operation
S26:制御プログラムの書換え処理が必要である旨の通知を受けた実行部107は、ローダプログラム記憶部109に記憶されているプログラムに従い、作業領域108を活用しながら制御プログラム記憶部110に記憶されている制御プログラムを書換え用の制御プログラムに書換える書換え処理を行う。
S26: The
S27:書換え処理が終了すると判断部106は書換えた制御プログラムの版数を動作実績管理部104に記憶させる。
S27: When the rewriting process is completed, the
S28:判断部106は、パネル部202に制御プログラムの書換えが完了した旨を表示し、操作者へ報知する。
S28: The
S29:実行部107は、制御プログラム記憶部110に記憶された制御プログラムに従って通常の処理を行う。
S29: The
S30:一方、S25において、書換え用の制御プログラムから読取った版数が動作実績管理部104に記憶されている版数情報より新しい版数でないと判別すると判断部106は、書換え用の制御プログラムから読取った版数と動作実績管理部104に記憶されている制御プログラムの版数情報とを照合し、動作実績管理部104に記憶されている版数情報内に、書換え用の制御プログラムから読取った版数と一致する版数の有無を判別する。
S30: On the other hand, if it is determined in S25 that the version read from the rewrite control program is not a newer version than the version information stored in the operation
一致する版数が有ると判別すると判断部106は実行部107に制御プログラムの書換え処理が必要である旨を通知するとともにプログラム転送部105を通して書換え用の制御プログラムを転送する。
If it is determined that there is a matching version number, the
S31:制御プログラムの書換え処理が必要である旨の通知を受けた実行部107は、ローダプログラム記憶部109に記憶されているプログラムに従い、作業領域108を活用しながら制御プログラム記憶部110に記憶されている制御プログラムを書換え用の制御プログラムに書換える書換え処理を行い、処理をS28へ移行する。
S31: The
S32:S30において、一致する版数が無いと判別すると判別部106は、動作実績管理部104に記憶されている版数情報を、版数情報転送部501を通して外部記憶部通信制御部103へ転送し、その版数情報を外部記憶部102に書き込む。
S32: When determining that there is no matching version number in S30, the
S33:判断部106は、実行部107に制御プログラムの書換え処理を行わない旨を通知し、パネル部202に制御プログラムの書換えが不可能である旨を表示し、操作者へ報知する。
S33: The
このように一度外部記憶部102に格納されている書換え用の制御プログラムが書換え不可能と判別された場合、動作実績管理部104に格納された版数情報を該外部記憶部102に格納しておき、その外部記憶部102が再度接続されたとき、版数情報が格納されていると判別するとその外部記憶部102から制御プログラムを読込まないようにしたことにより、外部記憶部102が誤って接続されても制御プログラムを読込む前に制御プログラムの書換えが不可能であると判別することができ、速やかにその旨を操作者に報知することができるようになる。
As described above, when it is determined that the rewrite control program stored in the
なお、外部記憶部102に格納された版数情報は、その外部記憶部102に格納された情報を読取る機能を備えた装置で閲覧可能である。
Note that the version number information stored in the
以上説明したように、第2の実施例では、第1の実施例の効果に加え、外部記憶部に格納されている書換え用の制御プログラムが書換え不可能と判別された場合、動作実績管理部に格納された版数情報を該外部記憶部に格納しておき、その外部記憶部が再度接続されたとき、版数情報が格納されていると判別するとその外部記憶部から制御プログラムを読込まないようにしたことにより、外部記憶部が誤って接続されても制御プログラムを読込む前に制御プログラムの書換えが不可能であると判別することができ、速やかにその旨を操作者に報知することができるという効果が得られる。 As described above, in the second embodiment, in addition to the effects of the first embodiment, when it is determined that the rewrite control program stored in the external storage unit is not rewritable, the operation result management unit Version number information stored in the external storage unit, and when the external storage unit is reconnected, if the version number information is determined to be stored, the control program is read from the external storage unit As a result, it is possible to determine that the control program cannot be rewritten before reading the control program even if the external storage unit is mistakenly connected, and promptly notify the operator accordingly. The effect that it can be obtained.
なお、第1の実施例および第2の実施例において、画像形成装置をプリンタとして説明したが、それに限られることなく、MFP(MultiFunction Peripheral)、ファクシミリ、複写機またはこれらの複合機としてもよい。 In the first and second embodiments, the image forming apparatus has been described as a printer. However, the present invention is not limited thereto, and may be an MFP (Multi Function Peripheral), a facsimile, a copier, or a complex machine of these.
また、電子装置を画像形成装置として説明したが、それに限られることなく、ファームウェアを用いて動作を制御する電子機器に本発明を適用するようにしてもよい。 Further, although the electronic apparatus has been described as an image forming apparatus, the present invention is not limited thereto, and the present invention may be applied to an electronic apparatus that controls the operation using firmware.
101 画像形成装置(電子装置)
102 外部記憶部
103 外部記憶部通信制御部
104 動作実績管理部
105 プログラム転送部
106 判断部
107 実行部
108 作業領域
109 ローダプログラム記憶部
110 制御プログラム記憶部
202 パネル部
101 Image forming apparatus (electronic device)
DESCRIPTION OF
Claims (3)
制御プログラムを記憶する不揮発性の記憶部と、
前記記憶部に記憶された制御プログラムの動作実績情報を記憶する動作実績管理部と、
書換え用の制御プログラムの転送を行うプログラム転送部と、
前記記憶部に記憶されている制御プログラムの前記書換え用の制御プログラムへの書換え可否を前記動作実績管理部に記憶されている動作実績情報に基づいて判別する判断部と、
接続された外部記憶部との間で通信を行う外部記憶部通信制御部と、
前記外部記憶部通信制御部へ前記動作実績管理部に記憶されている動作実績情報を転送する動作実績情報転送部とを備え、
前記判断部が前記書換え用の制御プログラムの版数と前記動作実績管理部に記憶された動作実績情報とを照合して前記版数が前記動作実績情報に存在しないことを確認したとき、前記動作実績情報転送部は、該動作実績情報を前記外部記憶部通信制御部へ転送して前記外部記憶部に該動作実績情報を記憶させることを特徴とする電子装置。 In an electronic device that operates by executing a control program stored in a storage means,
A non-volatile storage unit for storing the control program;
An operation result management unit for storing operation result information of the control program stored in the storage unit;
A program transfer unit for transferring a control program for rewriting,
A determination unit for determining whether or not the control program stored in the storage unit can be rewritten to the control program for rewriting based on operation result information stored in the operation result management unit ;
An external storage unit communication control unit for communicating with the connected external storage unit;
An operation result information transfer unit for transferring operation result information stored in the operation result management unit to the external storage unit communication control unit ;
When the determination unit confirms that the version number does not exist in the operation result information by comparing the version number of the control program for rewriting with the operation result information stored in the operation result management unit, the operation The performance information transfer unit transfers the operation result information to the external storage unit communication control unit, and stores the operation result information in the external storage unit .
前記判断部は、前記外部記憶部に前記動作実績情報が既に記憶されていることを確認したとき、前記書換え用の制御プログラムの版数と前記動作実績管理部に記憶された動作実績情報とを照合せず、前記制御プログラムを書換えないようにしたことを特徴とする電子装置。 The electronic device of claim 1 .
When the determination unit confirms that the operation result information is already stored in the external storage unit, the version number of the rewrite control program and the operation result information stored in the operation result management unit are obtained. An electronic apparatus characterized in that the control program is not rewritten without verification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009141710A JP5290880B2 (en) | 2009-06-12 | 2009-06-12 | Electronic apparatus and image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009141710A JP5290880B2 (en) | 2009-06-12 | 2009-06-12 | Electronic apparatus and image forming apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010287133A JP2010287133A (en) | 2010-12-24 |
JP5290880B2 true JP5290880B2 (en) | 2013-09-18 |
Family
ID=43542766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009141710A Expired - Fee Related JP5290880B2 (en) | 2009-06-12 | 2009-06-12 | Electronic apparatus and image forming apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5290880B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10307726A (en) * | 1997-05-02 | 1998-11-17 | Nec Corp | System for firmware recovery at time of start error |
JP4023000B2 (en) * | 1998-08-26 | 2007-12-19 | 松下電工株式会社 | Recording medium on which start restriction program is recorded |
JP3514173B2 (en) * | 1999-07-05 | 2004-03-31 | 日本電気株式会社 | Control device |
JP2005190490A (en) * | 2005-01-14 | 2005-07-14 | Ricoh Co Ltd | Installation method of software and computer system |
-
2009
- 2009-06-12 JP JP2009141710A patent/JP5290880B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010287133A (en) | 2010-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009053901A (en) | Printer | |
JP2008238799A (en) | Image forming device | |
US11333995B2 (en) | Supplying refill toner to mounted toner cartridge | |
US20210255849A1 (en) | Information processing apparatus and method | |
US20070169092A1 (en) | Image forming apparatus capable of updating firmware of optional device and method thereof | |
JP2014115776A (en) | Image processing device, control method of image processing device, and program | |
US9230205B2 (en) | Image forming apparatus, non-transitory computer-readable recording medium storing an image forming program, and image forming method | |
JP2008131603A (en) | Image processor and image processing method | |
JP2006243997A (en) | Download system | |
JP4867186B2 (en) | Control device, method, program, and storage medium | |
JP5708232B2 (en) | Image forming apparatus, firmware update method, and program | |
US20090185218A1 (en) | Printing System, Printing Device and Printing Device Maintenance Method | |
JP5290880B2 (en) | Electronic apparatus and image forming apparatus | |
JP2012234330A (en) | Image forming device and program updating method | |
JP2008062582A (en) | Printer, control method, and computer program | |
JP2010182162A (en) | Electronic device and program | |
JP5803598B2 (en) | Image forming apparatus | |
JP6074068B2 (en) | Image forming apparatus | |
JP2010099873A (en) | Information processing system, information processing program, and recording medium for recording the information processing program | |
JP6696414B2 (en) | Image processing device | |
JP2008040924A (en) | Firmware rewriting method and firmware reading method | |
JP2019095905A (en) | Firmware built-in device, control method, and program | |
JP2012234327A (en) | Electronic apparatus and program update method | |
JP6248910B2 (en) | Image processing apparatus and program backup method | |
JP4948862B2 (en) | Image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120309 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130308 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130312 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130426 |
|
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: 20130521 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130606 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5290880 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |