JP2001256057A - Update method of control program for service device and service device - Google Patents

Update method of control program for service device and service device

Info

Publication number
JP2001256057A
JP2001256057A JP2000071125A JP2000071125A JP2001256057A JP 2001256057 A JP2001256057 A JP 2001256057A JP 2000071125 A JP2000071125 A JP 2000071125A JP 2000071125 A JP2000071125 A JP 2000071125A JP 2001256057 A JP2001256057 A JP 2001256057A
Authority
JP
Japan
Prior art keywords
update
program
service device
control program
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000071125A
Other languages
Japanese (ja)
Inventor
Shigeru Hata
茂 畑
Hiroyuki Shioda
博行 塩田
Hidetoshi Kuramoto
秀俊 藏本
Shunichi Ota
俊一 太田
Jun Sato
順 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2000071125A priority Critical patent/JP2001256057A/en
Publication of JP2001256057A publication Critical patent/JP2001256057A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To exactly perform update even when structure change which can not be dealt with by a built-in update program is made in a printer, etc. SOLUTION: A download processing of a control program is performed by executing a program 100 for download in a ROM 10 in a service device. Data 150 for update is downloaded to the service device via a network. When possibility that the built-in update program 112 of the device does not exactly function by the present structure of the device, a new update program 152 for the device is integrated in the data 150. When the update program 152 for the present device is detected from the data 150, the service device executes an update work including write to a flash memory 12, etc., by executing the detected program.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタや複写機
などのサービス装置の制御プログラムのアップデートの
ための技術に関する。
The present invention relates to a technique for updating a control program of a service device such as a printer or a copying machine.

【0002】[0002]

【従来の技術】プリンタ等のサービス装置の制御プログ
ラム(ファームウエア)は、一般にROMに書き込まれ
ている。したがって、制御プログラムをバージョンアッ
プした場合、それを既に出荷したサービス装置に反映さ
せようとすれば、以前は制御プログラムを内蔵したRO
M自体を交換していた。
2. Description of the Related Art A control program (firmware) for a service device such as a printer is generally written in a ROM. Therefore, if the version of the control program is upgraded, if it is to be reflected in the service device already shipped, the RO which has previously incorporated the control program is required.
M had been replaced.

【0003】ところが近年、フラッシュメモリなどの書
換可能なROMが普及しており、サービス装置において
も、制御プログラムを書換可能なROMに内蔵すること
が多くなっている。書換可能なROMを用いることによ
り、ROM自体を交換せずに、出荷後に制御プログラム
をバージョンアップすることが可能になった。
However, in recent years, rewritable ROMs such as flash memories have become widespread, and service apparatuses have often incorporated control programs in rewritable ROMs. By using a rewritable ROM, it is possible to upgrade the control program after shipment without replacing the ROM itself.

【0004】このようにサービス装置の制御プログラム
の書換(アップデート)を行う場合、一般にプリンタ等
のサービス装置はCD−ROMなどの媒体を読み取る手
段を備えていないため、CD−ROMドライブ等を備え
たプログラム配信装置(パーソナルコンピュータ等で実
現できる)からサービス装置に、通信回線を介して制御
プログラムをダウンロードしている。この作業のため、
サービス装置にはダウンロード及び書換のためのプログ
ラム(ダウンロードプログラムと呼ぶ)が内蔵されてい
る。このダウンロードプログラムは、制御プログラムと
異なってバージョンアップの可能性(必要性)が少ない
ので、書換のできないROMに内蔵されることが多い。
When the control program of the service device is rewritten (updated) as described above, the service device such as a printer generally has no means for reading a medium such as a CD-ROM, and therefore has a CD-ROM drive or the like. A control program is downloaded from a program distribution device (which can be realized by a personal computer or the like) to a service device via a communication line. For this work,
The service device has a built-in program for downloading and rewriting (called a download program). Unlike the control program, the download program has little possibility of version upgrade (necessity), and is therefore often built in a non-rewritable ROM.

【0005】このサービス装置のダウンロードプログラ
ムは、プログラム配信装置が所定のプロトコルに従って
送信してくる新バージョンの制御プログラムを取得し、
これをフラッシュメモリ上の旧バージョンに上書きする
などにより、制御プログラムのアップデートを行う。
The download program of the service device acquires a new version of the control program transmitted from the program distribution device according to a predetermined protocol,
The control program is updated by overwriting the old version on the flash memory.

【0006】[0006]

【発明が解決しようとする課題】従来のサービス装置で
は、ダウンロードプログラムがROM等の書換不能な記
憶媒体に内蔵されていたため、そのダウンロードプログ
ラムにバグがあった場合には、制御プログラムのアップ
デートができなくなる可能性があった。このような場
合、アップデートを可能にするには、その記憶媒体自体
を交換する必要があった。
In the conventional service device, the download program is built in a non-rewritable storage medium such as a ROM, so that if the download program has a bug, the control program can be updated. It could go away. In such a case, in order to enable the update, the storage medium itself had to be replaced.

【0007】フラッシュメモリ等の媒体は、ベンダや製
品によって書き込み用のコマンドなどが異なることがあ
る。その一方で、サービス装置に内蔵されるダウンロー
ドプログラムは、同時に組み込まれる制御プログラムの
記憶媒体を基準に作成される。このため、従来のサービ
ス装置では、内蔵のダウンロードプログラムが対応して
いない媒体は導入できないという問題がある。例えば、
出荷したサービス装置のフラッシュメモリを後で新たな
ものに交換した場合、サービス装置の別のROMに内蔵
されているダウンロードプログラムでは、そのフラッシ
ュメモリへの書き込みができず、制御プログラムのアッ
プデートができなくなる場合があった。
[0007] A medium such as a flash memory may have a different writing command depending on a vendor or a product. On the other hand, the download program built in the service device is created based on the storage medium of the control program incorporated at the same time. For this reason, the conventional service device has a problem that a medium that is not supported by the built-in download program cannot be introduced. For example,
If the flash memory of the service device that has been shipped is replaced with a new one later, the download program incorporated in another ROM of the service device cannot write to the flash memory and cannot update the control program. There was a case.

【0008】また、プリンタなどのサービス装置に、出
荷時点では想定されていなかった新たな機能(例えばス
テープル留め装置など)を追加した場合、それに対応し
て制御プログラムの変更が行われる。しかしながら、サ
ービス装置に内蔵したダウンロードプログラム(別のR
OMに内蔵されていることが多い)は変更されないの
で、その追加機能がダウンロードプログラムの作成時点
で想定していなかったものであった場合、以降の制御プ
ログラムのバージョンアップの際にそのダウンロードプ
ログラムではアップデート処理を行うことができない可
能性がある。
Further, when a new function (for example, a stapling apparatus) that was not expected at the time of shipment is added to a service device such as a printer, the control program is changed correspondingly. However, the download program (other R
(Often built into the OM) is not changed, so if the additional function was not expected at the time of creation of the download program, the download program will not Update processing may not be performed.

【0009】本発明はこのような問題に鑑みなされたも
のであり、ROMなど装置構成の変更があった場合で
も、制御プログラムのアップデートを行うことができる
アップデート方式を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and has as its object to provide an update method that can update a control program even when a device configuration such as a ROM is changed.

【0010】[0010]

【課題を解決するための手段】本発明に係る方法は、記
憶手段に記憶した制御プログラムを実行することにより
サービス提供を行うサービス装置において、前記制御プ
ログラムをアップデートするための方法であって、前記
サービス装置に、所定形式のアップデート用データを読
み込む読込手段と、読み込んだアップデート用データか
らアップデートプログラムを検出する検出手段と、検出
したアップデートプログラムを実行することにより、前
記アップデート用データから抽出した制御プログラムを
前記記憶手段に書き込むアップデート実行手段と、を設
け、前記サービス装置に対応した制御プログラムと、そ
の制御プログラムを前記サービス装置に書き込むため
の、前記サービス装置で実行可能なアップデートプログ
ラムと、を含んだ前記所定形式のアップデート用データ
を用意し、このアップデート用データを前記サービス装
置に読み込ませることによりアップデートを行う、とい
うものである。
A method according to the present invention is a method for updating a control program in a service apparatus for providing a service by executing the control program stored in a storage means, the method comprising: Reading means for reading update data in a predetermined format into the service device; detecting means for detecting an update program from the read update data; and a control program extracted from the update data by executing the detected update program. Update control means for writing the control program to the storage means, and a control program corresponding to the service device, and an update program executable by the service device for writing the control program to the service device. Previous Prepared for updating data of a predetermined format, performs update by loading the update data in the service device, is that.

【0011】この方法によれば、サービス装置内に、有
効なアップデートプログラムが存在しない場合でも、読
み込んだアップデート用データに含まれるアップデート
プログラムを実行することにより、制御プログラムのア
ップデートを行うことができる。
According to this method, even when there is no valid update program in the service device, the control program can be updated by executing the update program included in the read update data.

【0012】本発明の好適な態様では、前記アップデー
ト用データとして、複数種類のサービス装置ごとの制御
プログラムと、それら複数種類のサービス装置ごとのア
ップデートプログラムと、それらアップデートプログラ
ム及び制御プログラムがそれぞれいずれの種類のサービ
ス装置に適合するかを示す識別情報と、を含むデータを
用意し、前記サービス装置の前記検出手段及びアップデ
ート実行手段は、その識別情報を参照して、当該サービ
ス装置に適合するアップデートプログラム及び制御プロ
グラムを識別する。
In a preferred aspect of the present invention, the update data includes a control program for each of a plurality of types of service devices, an update program for each of the plurality of types of service devices, and any one of the update program and the control program. Data including identification information indicating whether or not the service device is compatible with the type of service device, and the detection unit and the update execution unit of the service device refer to the identification information and update the program that matches the service device. And the control program.

【0013】この態様では、共通のアップデート用デー
タを1つ用意し、これを各種類のサービス装置に与えれ
ば、各サービス装置がそれぞれ自分に適合したアップデ
ートプログラム及び制御プログラムを識別して、アップ
デート処理を行う。
In this aspect, if one piece of common update data is prepared and given to each type of service device, each service device identifies an update program and a control program suitable for itself, and performs update processing. I do.

【0014】また、別の好適な態様では、前記サービス
装置は、アップデートプログラムを記憶した第二の記憶
手段を備え、自装置に適合するアップデートプログラム
が前記アップデート用データに含まれていなかった場合
は、第二の記憶手段に記憶したアップデートプログラム
を実行する。
[0014] In another preferred aspect, the service device includes second storage means for storing an update program. If the update data does not include an update program compatible with the service device, Execute the update program stored in the second storage means.

【0015】この態様によれば、アップデート用データ
作成の時点で、あるサービス装置の記憶手段に内蔵され
たアップデートプログラムが有効であれば、それについ
てはアップデート用データに含めなくてよい。したがっ
て、アップデート用データのサイズを小さくできる。
According to this aspect, if the update program contained in the storage means of a certain service device is valid at the time of creation of the update data, the update program need not be included in the update data. Therefore, the size of the update data can be reduced.

【0016】また、本発明に係るサービス装置は、所定
形式のアップデート用データを読み込む読込手段と、読
み込んだアップデート用データに自装置が実行可能なア
ップデートプログラムがあるか否かを検出する検出手段
と、前記アップデート用データから自装置が実行可能な
アップデートプログラムを検出した場合に、そのアップ
デートプログラムを実行することにより、前記アップデ
ート用データに含まれる自装置用の制御プログラムを前
記記憶手段に書き込むアップデート実行手段とを備え
る。
Further, the service device according to the present invention comprises a reading means for reading update data in a predetermined format, and a detection means for detecting whether or not the read update data includes an update program executable by the device itself. When an update program executable by the own device is detected from the update data, the update program is executed to execute the update program to write the control program for the own device included in the update data into the storage unit. Means.

【0017】この装置は、読み込んだアップデート用デ
ータから、自分に適合したアップデートプログラムを検
出して実行することで、制御プログラムのアップデート
を行う。したがって、サービス装置内に、有効なアップ
デートプログラムが存在しない場合でも、正常なアップ
デート処理を実行できる。
This device updates the control program by detecting and executing an update program suitable for itself from the read update data. Therefore, even when there is no valid update program in the service device, normal update processing can be executed.

【0018】また、本発明に係る装置は、第一の記憶手
段に記憶した制御プログラムを実行することによりサー
ビス処理を実行するとともに、前記制御プログラムをア
ップデートするためのアップデートプログラムを記憶し
た第二の記憶手段を備え、第二の記憶手段のアップデー
トプログラムを実行することにより前記制御プログラム
のアップデートを行うことができるサービス装置であっ
て、前記サービス装置に対応した制御プログラムとアッ
プデートプログラムと、を含んだ所定形式のアップデー
ト用データを読み込む読込手段と、読み込んだアップデ
ート用データに自装置が実行可能なアップデートプログ
ラムがあるか否かを検出する検出手段と、前記アップデ
ート用データから自装置が実行可能なアップデートプロ
グラムを検出した場合に、前記第二の記憶手段に記憶さ
れているアップデートプログラムに代えて、前記アップ
デート用データから検出したアップデートプログラムを
実行することにより、前記アップデート用データに含ま
れる自装置用の制御プログラムを前記第一の記憶手段に
書き込むアップデート実行手段とを備える。
Further, the apparatus according to the present invention executes service processing by executing a control program stored in the first storage means, and stores a second update program for updating the control program. A service device comprising a storage unit and capable of updating the control program by executing an update program of the second storage unit, comprising a control program and an update program corresponding to the service device. Reading means for reading the update data in a predetermined format; detecting means for detecting whether or not the read update data includes an update program executable by the apparatus; and update capable of being executed by the apparatus from the update data. Program detected In this case, in place of the update program stored in the second storage means, by executing the update program detected from the update data, the control program for the own device included in the update data, Update execution means for writing to the first storage means.

【0019】この構成では、第二の記憶手段に記憶され
た内蔵アップデートプログラムでは対処できないような
状況になった場合でも、読み込んだアップデート用デー
タ中のアップデートプログラムにより、正しいアップデ
ート処理が実行できる。
With this configuration, even in a situation where the internal update program stored in the second storage means cannot cope with the situation, a correct update process can be executed by the update program in the read update data.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態(以下
実施形態という)について、図面に基づいて説明する。
Embodiments of the present invention (hereinafter referred to as embodiments) will be described below with reference to the drawings.

【0021】図1は、本発明に係るサービス装置の制御
機構の基本構成を示す図である。サービス装置は、図1
に示す制御機構の他に、例えばスキャナ機構やプリント
機構などの各種ハードウエア構成要素を備えている。サ
ービス装置は、例えばプリンタやスキャナ、複写機、デ
ィジタル複合機などの装置であり、制御プログラム(フ
ァームウエア)を含む各種プログラムを実行することに
より、付属の各種構成要素を制御して所定の処理を実行
する。
FIG. 1 is a diagram showing a basic configuration of a control mechanism of a service device according to the present invention. The service device is shown in FIG.
In addition to the control mechanism described above, various hardware components such as a scanner mechanism and a print mechanism are provided. The service device is, for example, a device such as a printer, a scanner, a copier, or a digital multi-function peripheral. By executing various programs including a control program (firmware), the service device controls various attached components and performs predetermined processing. Execute.

【0022】ROM10には、このサービス装置の起動
プログラムやダウンロードプログラムなどの基本的なプ
ログラムが格納されている。フラッシュメモリ12に
は、サービス装置の各種構成要素を制御するための制御
プログラムなど、バージョンアップの可能性が比較的高
いプログラムが格納されている。プロセッサ14は、R
OM10やフラッシュメモリ12内のプログラムを実行
する手段である。RAM16は、プロセッサ14が各種
プログラムを実行する際に利用するランダムアクセスメ
モリである。各種制御ユニット18は、サービス装置が
備えるスキャナ機構(デジタル複写機の場合)などのハ
ードウエアの制御のためのユニットであり、プロセッサ
14からの指示に従い、対応するハードウエアを制御す
る。制御ユニット18は、サービス装置が装備している
ハードウエア構成要素ごとに設けられているが、図では
簡単のために省略している。通信インタフェース20
は、LAN等のネットワークとのインタフェースユニッ
トである。本実施形態のサービス装置は、このインタフ
ェース20を介してネットワークに接続され、同じネッ
トワーク上の上位装置(パーソナルコンピュータなど)
と通信を行ってプログラムのダウンロードなどの動作を
行うことができる。操作部22は、サービス装置に対す
る操作者からの操作指示を受け付けるユーザインタフェ
ース機構である。大容量記憶装置24は、比較的大容量
のデータを蓄積するためのものであり、例えばハードデ
ィスクドライブなどである。例えばプリンタの場合、ペ
ージ記述言語などから生成した大サイズの画像データな
どを印刷まで蓄積するなどの用途に用いられる。本実施
形態の手法との関係で言えば、記憶装置24は、ダウン
ロードしてきたアップデート用データを一時的に保持す
るために用いる。なお、RAM16がアップデート用デ
ータを保持するのに十分な容量のものであれば、大容量
記憶装置24は本実施形態の手法の実施には必要ない。
The ROM 10 stores basic programs such as a start program and a download program for the service device. The flash memory 12 stores programs that are relatively likely to be upgraded, such as control programs for controlling various components of the service device. The processor 14 uses R
A means for executing a program in the OM 10 or the flash memory 12. The RAM 16 is a random access memory used when the processor 14 executes various programs. The various control units 18 are units for controlling hardware such as a scanner mechanism (in the case of a digital copying machine) included in the service device, and control corresponding hardware in accordance with an instruction from the processor 14. The control unit 18 is provided for each hardware component included in the service device, but is omitted in the figure for simplicity. Communication interface 20
Is an interface unit with a network such as a LAN. The service device according to the present embodiment is connected to a network via the interface 20, and is connected to a higher-level device (such as a personal computer) on the same network.
And communication with the device to perform operations such as downloading a program. The operation unit 22 is a user interface mechanism that receives an operation instruction from an operator for the service device. The large-capacity storage device 24 is for storing relatively large-capacity data, and is, for example, a hard disk drive. For example, a printer is used for storing large-size image data generated from a page description language or the like until printing. Speaking of the relationship with the method of the present embodiment, the storage device 24 is used to temporarily hold downloaded update data. Note that if the RAM 16 has a capacity sufficient to hold the update data, the large-capacity storage device 24 is not necessary for implementing the method of the present embodiment.

【0023】サービス装置における制御プログラムのダ
ウンロード及びアップデートの処理は、基本的には、R
OM10に格納されたダウンロード用プログラムをプロ
セッサ14で実行することにより行われる。
The process of downloading and updating the control program in the service device is basically performed by R
This is performed by executing the download program stored in the OM 10 by the processor 14.

【0024】ただし、ROM10に格納されたダウンロ
ード用プログラムは、サービス装置の製造・出荷時の装
置構成、搭載フラッシュメモリを基準に作成されたもの
であり、その後に構成変更やフラッシュメモリの交換な
どがあった場合、そのプログラムでは制御プログラムの
書換ができない場合もある。そのような場合を想定し
て、本実施形態では、ダウンロード用プログラムのう
ち、装置構成の変更やフラッシュメモリの変更によって
影響を受ける書換用のプログラムモジュール(アップデ
ートプログラムと呼ぶ)を、ダウンロードした最新バー
ジョンのアップデートプログラムで置き換え実行できる
ようにした。このような置き換え実行を可能としたこと
により、構成変更後の装置用のアップデートプログラム
を用意すれば、そのサービス装置の制御プログラムの書
換が可能になる。なお、ダウンロード用プログラムのう
ち他のモジュール、例えばUIや通信(ダウンロード)
などの基本的な機能のモジュールは、構成変更やフラッ
シュメモリ交換の影響がほとんどないといえるので、ア
ップデートプログラムのような置き換え実行の必要性は
薄い。
However, the download program stored in the ROM 10 is created based on the device configuration at the time of manufacture and shipment of the service device, and on the basis of the on-board flash memory. If there is, the program may not be able to rewrite the control program. Assuming such a case, in the present embodiment, among the download programs, a rewrite program module (called an update program) which is affected by a change in the device configuration or a change in the flash memory is downloaded to the latest version. Can be replaced with an update program. By enabling such replacement execution, if an update program for the device after the configuration change is prepared, the control program of the service device can be rewritten. Note that other modules in the download program, such as a UI and communication (download)
It can be said that modules having basic functions such as the above have almost no influence from the configuration change or the flash memory replacement, and therefore, the necessity of replacement execution such as an update program is low.

【0025】ROM10に格納されたダウンロード用プ
ログラム100の内容の例を図2を参照して説明する。
まず、プログラム100は、UI機能102、データ受
信機能104、転送エラーチェック機能106、アップ
デートプログラム抽出機能108、アップデートプログ
ラム切換実行機能110、アップデートプログラム11
2、及び構成情報114などのコードやデータを含んで
いる。UI機能102は、操作部22を介して操作者か
らダウンロード処理に関する指示を受け付けるための機
能である。データ受信機能104は、ネットワーク上の
上位装置から、所定のプロトコルに従ってアップデート
用データを受信するための機能である。転送エラーチェ
ック機能106は、アップデート用データが正しく受信
できたか否かをチェックする機能である。アップデート
プログラム抽出機能108は、受信したアップデート用
データから、自装置(サービス装置)用のアップデート
プログラムを識別し、抽出する機能である。
An example of the contents of the download program 100 stored in the ROM 10 will be described with reference to FIG.
First, the program 100 includes a UI function 102, a data reception function 104, a transfer error check function 106, an update program extraction function 108, an update program switching execution function 110, and an update program 11.
2 and codes and data such as the configuration information 114. The UI function 102 is a function for receiving an instruction regarding a download process from an operator via the operation unit 22. The data receiving function 104 is a function for receiving update data from a host device on the network according to a predetermined protocol. The transfer error check function 106 is a function for checking whether or not the update data has been correctly received. The update program extracting function 108 is a function of identifying and extracting an update program for the own device (service device) from the received update data.

【0026】アップデートプログラム112は、フラッ
シュメモリ12に記憶されているこのサービス装置の制
御プログラム120をアップデート(更新)するための
プログラムである。ただし、ROM10に記憶されてい
るアップデートプログラム112は、このサービス装置
の製造出荷時の装置構成を前提として作成されたもので
ある。したがって、出荷時以降に、構成の変更(例えば
ステープル留め装置などのハードウエアの追加)やフラ
ッシュメモリ12の交換などを行っていると、そのプロ
グラム112ではフラッシュメモリ12内の制御プログ
ラム120を書き換えられない可能性がある。
The update program 112 is a program for updating (updating) the control program 120 of the service device stored in the flash memory 12. However, the update program 112 stored in the ROM 10 is created based on the device configuration at the time of manufacture and shipment of the service device. Therefore, if the configuration is changed (for example, hardware such as a stapling device is added) or the flash memory 12 is replaced after the shipment, the program 112 can rewrite the control program 120 in the flash memory 12. May not be.

【0027】アップデートプログラム切換実行機能11
0は、ROM10内の元々のアップデートプログラム1
12の代わりに、大容量記憶装置24にダウンロードし
たアップデートプログラム152を実行するための置き
換え実行機能である。この機能110では、ダウンロー
ドしたアップデート用データ150に、当該サービス装
置に対して有効なアップデートプログラム152が含ま
れていない場合は、ROM10内のオリジナルのアップ
デートプログラム112を実行する。
Update program switching execution function 11
0 is the original update program 1 in the ROM 10
A replacement execution function for executing the update program 152 downloaded to the large-capacity storage device 24 instead of 12. In the function 110, when the downloaded update data 150 does not include the update program 152 valid for the service device, the original update program 112 in the ROM 10 is executed.

【0028】構成情報114は、当該サービス装置の構
成を特定する識別情報である。なお、図における(A:
a1)なる記法は、Aという識別情報で示される機種の
サービス装置のうち、a1という識別情報で識別される
装置構成を採った装置を指すものとする。アルファベッ
トの大文字は機種を、小文字と数字の組合せはその機種
内での構成バリエーションを指している。例えば、機種
Aの装置には、例えば、構成a1(スタッカ付き)、構
成a2(スタッカ、フィニッシャ付き)などと様々な構
成バリエーションが存在する。このような構成バリエー
ションは、機種の発展に伴って生み出されていくことも
多い。
The configuration information 114 is identification information for specifying the configuration of the service device. (A:
The notation a1) refers to a device having a device configuration identified by the identification information a1 among the service devices of the model indicated by the identification information A. Uppercase letters of the alphabet indicate models, and combinations of lowercase letters and numbers indicate configuration variations within the models. For example, various types of configuration variations exist in the device of model A, such as configuration a1 (with a stacker) and configuration a2 (with a stacker and finisher). Such a configuration variation is often created with the development of a model.

【0029】この構成情報114は、上位装置から記憶
装置24内にダウンロードしたアップデート用データ1
50から、自装置に適したアップデートプログラムや制
御プログラムを検出する際の識別情報として用いられ
る。
The configuration information 114 includes the update data 1 downloaded from the higher-level device into the storage device 24.
50 is used as identification information when detecting an update program or control program suitable for the own device.

【0030】サービス装置は、以上説明したようなダウ
ンロード用プログラム100を実行することにより、上
位装置からアップデート用データをダウンロードして、
その中の必要な部分をフラッシュメモリ12にインスト
ールする。
By executing the download program 100 as described above, the service device downloads the update data from the host device,
A necessary part of the program is installed in the flash memory 12.

【0031】図3は、上位装置からダウンロードされる
アップデート用データの例を示している。このアップデ
ート用データは、ヘッダ部とプログラム部とから構成さ
れる。プログラム部は、このアップデート用データに含
まれるアップデートプログラム群及び新規プログラム
(新バージョンの制御プログラム)群から構成される。
このアップデート用データは、複数機種の装置に対して
同時に対応するためのものであり、複数のアップデート
プログラムと新規プログラムを含んでいる。この例で
は、機種ごとにアップデートプログラムが用意され(例
えばアップデートプログラムAなど、装置構成(A:a
1)(機種Aの構成a1)など、各構成バリエーション
ごとに新規の制御プログラムが用意されている(例えば
新規プログラム(B:b1)など)。これは、同機種の
装置でもどのようなハードウエア構成要素を装備してい
るかで、制御プログラムが変わってくるのに対し、制御
プログラムのアップデートの仕方自体は同一機種ではほ
ぼ共通しているからである。アップデートプログラムを
同一機種の異なる構成の装置で共用することにより、ダ
ウンロードするアップデート用データのサイズを抑える
ことができる。
FIG. 3 shows an example of update data downloaded from a higher-level device. The update data includes a header section and a program section. The program section includes an update program group and a new program (a new version of the control program) included in the update data.
The update data is for simultaneously supporting a plurality of types of devices, and includes a plurality of update programs and a new program. In this example, an update program is prepared for each model (for example, the device configuration (A: a
1) A new control program is prepared for each configuration variation such as (configuration a1 of model A) (for example, a new program (B: b1)). This is because the control program changes depending on what kind of hardware components are equipped in the same type of device, but the method of updating the control program itself is almost the same in the same model. is there. By sharing the update program between devices of the same model and different configurations, the size of the update data to be downloaded can be reduced.

【0032】なお、同じ機種でも書換コマンド等が異な
るフラッシュメモリを用いたケースがある場合は、アッ
プデートプログラムはそれら各種フラッシュメモリに対
応する必要がある。このような場合、例えば、アップデ
ートプログラムにそれぞれのフラッシュメモリ用のコー
ドを設け、アップデートプログラム実行時に、その時サ
ービス装置に実装されているフラッシュメモリの種類を
検知して、そのフラッシュメモリに適合したコードを実
行すればよい。フラッシュメモリは、一般に自分の型番
などを記憶しており、要求に応じてそれを出力すること
ができるので、アップデート時にそれを検知することは
可能である。
In the case where flash memories having different rewrite commands and the like are used even in the same model, the update program needs to correspond to those various flash memories. In such a case, for example, the code for each flash memory is provided in the update program, and when the update program is executed, the type of the flash memory mounted on the service device at that time is detected, and the code adapted to the flash memory is detected. Just execute it. The flash memory generally stores its own model number and the like and can output it upon request, so that it can be detected at the time of update.

【0033】ヘッダ部は、プログラム部に含まれている
アップデートプログラム、新規プログラムが対応してい
る個々の装置構成(X:xi)(機種Xの装置であって
構成xiのもの(iは整数))についてのヘッダ情報I
D(X:xi)を含んでいる。個々のヘッダ情報160
は、図4に示すような6つのデータ項目を含んでいる。
まず第一は、該当装置の機種を示す機種ID161であ
る。例えば装置構成(X:xi)の装置の場合、機種I
DはXである。次の項目は、この機種に対応するアップ
デートプログラムのインデックス162である。これ
は、アップデート用データ(図3)におけるそのアップ
デートプログラムの位置及びサイズの情報であり、例え
ば、アップデート用データの先頭から見た当該アップデ
ートプログラムのアドレスオフセットと、そのプログラ
ムのサイズとを含んでいる。次の項目は、このアップデ
ートプログラムのチェックサム値163である。この値
は、ダウンロードしてきたプログラムの転送エラーチェ
ックのために用いられる。次の構成ID164は、当該
装置構成が当該機種内の構成バリエーションのいずれで
あるかを識別するための識別情報であり、装置構成
(X:xi)の装置の場合、構成IDはxiである。次
の項目は、この装置構成の装置に対応する新規な制御プ
ログラムのインデックス165である。このインデック
ス165は、アップデート用データにおけるその新規プ
ログラムの位置(例えばデータ先頭からのオフセット)
及びサイズの情報である。その次の項目は、この新規プ
ログラムのチェックサム値166であり、転送エラーチ
ェックのために用いられる。
The header portion is an individual device configuration (X: xi) corresponding to the update program and the new program included in the program portion (a device of model X and having a configuration xi (i is an integer)) Header information I)
D (X: xi). Individual header information 160
Contains six data items as shown in FIG.
The first is a model ID 161 indicating the model of the device. For example, in the case of a device having a device configuration (X: xi), the model I
D is X. The next item is the index 162 of the update program corresponding to this model. This is information on the position and size of the update program in the update data (FIG. 3), and includes, for example, the address offset of the update program as viewed from the top of the update data and the size of the program. . The next item is the checksum value 163 of this update program. This value is used for transfer error checking of the downloaded program. The next configuration ID 164 is identification information for identifying whether the device configuration is a configuration variation in the model. In the case of a device having the device configuration (X: xi), the configuration ID is xi. The next item is an index 165 of a new control program corresponding to the device having this device configuration. The index 165 indicates the position of the new program in the update data (for example, an offset from the data head).
And size information. The next item is the checksum value 166 of this new program, which is used for transfer error checking.

【0034】図3に示すように、ヘッダ部には、プログ
ラム部に含まれる各新規プログラムに対応する各装置構
成ごとに、ヘッダ情報ID(X:xi)が設けられてい
る。ここで、機種Bに注目すると、アップデート用デー
タは、この機種の構成b1用の新規プログラムを含んで
いるが、この機種B用のアップデートプログラムは含ん
でいない。これは、機種Bの装置は、ROM10内の元
々のアップデートプログラムで正常にアップデート処理
が行えるためである。すなわち、今回のアップデート用
データを作成した時点では、機種Bには、アップデート
プログラムの手当を必要とするような構成バリエーショ
ンが存在していないので、アップデート用データには機
種B用のアップデートプログラムが含まれない。
As shown in FIG. 3, the header section is provided with a header information ID (X: xi) for each device configuration corresponding to each new program included in the program section. Here, focusing on the model B, the update data includes a new program for the configuration b1 of the model, but does not include an update program for the model B. This is because the device of the model B can normally perform the update process using the original update program in the ROM 10. That is, at the time of creating this update data, the model B does not include a configuration variation that requires an allowance for the update program, and thus the update data includes the model B update program. Not.

【0035】図3に示すようなアップデート用データを
例えばCD−ROMなどに格納した形で用意すれば、こ
の媒体だけで異なる装置構成の装置に対して制御プログ
ラムのダウンロード/アップデートを行うことができ
る。例えば図5に示すように、同じネットワーク330
上に装置構成の異なる3つの装置322(装置A)、3
24(装置B)、326(装置C)が接続されている環
境では、そのネットワーク330に接続された上位装置
300(例えばパーソナルコンピュータ)から同時にダ
ウンロードを行うことができる。この場合、上位装置3
00に、図3に示したような共通のアップデート用デー
タ312を含んだ媒体(CD−ROMなど)310をセ
ットして、それら装置との通信のためのプログラムを実
行すればよい。この状態で、各装置322、324及び
326の側でダウンロード/アップデートのプログラム
を実行すれば、それら各装置が上位装置300から同一
のアップデート用データをダウンロードし、その中から
それぞれ当該装置用の新規な制御プログラムを見つけ出
して、この新規プログラムをインストールして制御プロ
グラムを更新する。
If update data as shown in FIG. 3 is prepared, for example, stored in a CD-ROM or the like, the control program can be downloaded / updated to a device having a different device configuration using only this medium. . For example, as shown in FIG.
Above are three devices 322 (device A) having different device configurations, 3
In an environment where the devices 24 (device B) and 326 (device C) are connected, the download can be performed simultaneously from the host device 300 (for example, a personal computer) connected to the network 330. In this case, the host device 3
At 00, a medium (such as a CD-ROM) 310 containing the common update data 312 as shown in FIG. 3 may be set, and a program for communication with these devices may be executed. In this state, if the download / update program is executed on the side of each of the devices 322, 324, and 326, each of the devices downloads the same update data from the higher-level device 300, and from among these, downloads the new data for that device. Find a suitable control program and install this new program to update the control program.

【0036】図6は、このダウンロード/アップデート
処理における個々のサービス装置の処理手順を示す図で
ある。この処理手順は、ROM10内のダウンロード用
プログラム100を実行することにより遂行される。す
なわち、操作部22からの操作者の指示によりダウンロ
ード用プログラム100が実行されると、装置はアップ
デート用データの受信待ち状態となり、データ受信機能
104がネットワーク330を監視して、上位装置30
0からデータがダウンロードされるのを待つ。アップデ
ート用データがダウンロードされてくると、受信機能1
04はそのデータを受信する(S202)。受信したア
ップデート用データ150は大容量記憶装置24に格納
される。
FIG. 6 is a diagram showing a processing procedure of each service device in the download / update processing. This processing procedure is performed by executing the download program 100 in the ROM 10. That is, when the download program 100 is executed according to an instruction of the operator from the operation unit 22, the apparatus is in a state of waiting for update data reception, the data reception function 104 monitors the network 330, and
Wait for data to be downloaded from 0. When the update data is downloaded, the receiving function 1
04 receives the data (S202). The received update data 150 is stored in the mass storage device 24.

【0037】受信機能104がデータ受信の完了を検知
すると(S204)、エラーチェック機能106が転送
エラーのチェックを行う(S206)。このエラーチェ
ックは、例えば、記憶装置24に格納されたデータ15
0内の各アップデートプログラム及び新規プログラムの
チェックサム値を求め、これらが、そのデータのヘッダ
部(図3参照)にある当該プログラムのチェックサム値
と等しいかを調べることに行う。サム値が等しい場合は
転送エラーはなく、サム値が異なっていれば転送エラー
となる。チェック結果を判定し(S208)、その結果
転送エラーが検出された場合は、異常対応処理が行われ
る(S228)。この異常対応処理では、例えば、警告
のためのLED発光部を発光させ、転送エラーが発生し
た旨のメッセージ表示を操作部22のディスプレイなど
に行い、ダウンロード用プログラムの実行を停止する。
S208でエラーが検知されなかった場合は、次のステ
ップに進む。
When the reception function 104 detects the completion of data reception (S204), the error check function 106 checks for a transfer error (S206). This error check is performed, for example, by checking the data 15 stored in the storage device 24.
The checksum value of each update program and the new program in 0 is obtained, and it is checked whether or not these are equal to the checksum value of the program in the header part (see FIG. 3) of the data. If the sum values are equal, there is no transfer error, and if the sum values are different, a transfer error occurs. A check result is determined (S208), and as a result, if a transfer error is detected, an abnormality handling process is performed (S228). In this abnormality handling process, for example, the LED light emitting unit for warning is turned on, a message indicating that a transfer error has occurred is displayed on the display of the operation unit 22, and the execution of the download program is stopped.
If no error is detected in S208, the process proceeds to the next step.

【0038】転送エラーなくデータ受信ができた場合、
次にアップデートプログラム抽出機能108が、受信し
たアップデート用データ150の中に、自装置に適合す
るアップデートプログラムがあるか否かを検査する(S
210)。この検査は、ROM10内に格納された自装
置の構成情報114と、アップデート用データ(図3)
のヘッダ部の各ヘッダ情報(図4)とを比較することに
より行う。図2の例では、ROM10内の自装置の構成
情報114が機種Aの構成a1を示しているので、アッ
プデート用データのヘッダ情報の中に機種Aに該当する
ものがあれば、当該装置に適合するアップデートプログ
ラムが受信データ内に存在することになる。
When data can be received without a transfer error,
Next, the update program extraction function 108 checks whether or not the received update data 150 contains an update program that is compatible with the own device (S).
210). This inspection is performed by checking the configuration information 114 of the own apparatus stored in the ROM 10 and the update data (FIG. 3).
By comparing each header information (FIG. 4) of the header section of FIG. In the example of FIG. 2, since the configuration information 114 of the own device in the ROM 10 indicates the configuration a1 of the model A, if there is a type A in the header information of the update data, it is suitable for the device. The updated program to be executed is present in the received data.

【0039】この判別の結果(S212)、記憶装置2
4に自装置に適合するアップデートプログラム152が
あることが分かれば、アップデートプログラム切換実行
機能110が、プログラム実行の流れをその検出したア
ップデートプログラム152に切り換える(S21
4)。すなわち、切換実行機能110は、検出した自装
置用のアップデートプログラム152をRAM16にコ
ピーし、実行中のダウンロード用プログラムのプログラ
ムカウンタを、RAM16にコピーしたアップデートプ
ログラムのアドレスに変更することにより、RAM16
上のアップデートプログラムに制御を移す。例えば、自
装置が機種Aである場合、切換実行機能110はアップ
デート用データ150のヘッダ部にて機種A用のアップ
デートプログラムのインデックス(図4の162)を求
め、このインデックスの示すコードをRAM16にコピ
ーすればよい。そして、このRAM16上のアップデー
トプログラムの実行を開始する(S216)。以降はこ
のプログラムに従ってフラッシュメモリ12上の制御プ
ログラムの書換が行われる。
As a result of this determination (S212), the storage device 2
4, if the update program 152 is found to be compatible with its own device, the update program switching execution function 110 switches the program execution flow to the detected update program 152 (S21).
4). That is, the switching execution function 110 copies the detected update program 152 for its own device to the RAM 16 and changes the program counter of the download program being executed to the address of the update program copied to the RAM 16 by changing the program counter.
Transfer control to the above update program. For example, when the device is the model A, the switching execution function 110 obtains the index (162 in FIG. 4) of the update program for the model A in the header part of the update data 150, and stores the code indicated by the index in the RAM 16. Just copy it. Then, execution of the update program on the RAM 16 is started (S216). Thereafter, the control program on the flash memory 12 is rewritten according to this program.

【0040】一方、アップデート用データ中に、自装置
に適合するアップデートプログラムがなかった(S21
2の結果が「不適合」)場合は、上述のようなプログラ
ム実行の切換は行わず、ROM10内のダウンロード用
プログラム100の実行を続行し、ROM10内にある
元々のアップデートプログラム112の実行を開始する
(S216)。この場合、制御プログラムの書換処理
は、このROM10内のアップデートプログラム112
に従って行われる。
On the other hand, there is no update program suitable for the own device in the update data (S21).
If the result of step 2 is “unsuitable”), the execution of the download program 100 in the ROM 10 is continued without switching the program execution as described above, and the execution of the original update program 112 in the ROM 10 is started. (S216). In this case, the rewriting process of the control program is performed by updating the update program 112 in the ROM 10.
It is performed according to.

【0041】以下のステップS218〜S226の処理
は、RAM16内のアップデートプログラム(アップデ
ート用データに適合するものがあった場合)又はROM
10内のアップデートプログラム(適合するものがなか
った場合)の実行により実現される。この処理では、ま
ず、記憶装置24内のアップデート用データ150の中
から、自装置の装置構成に適合した新規制御プログラム
を識別する(S218)。アップデート用データ150
のヘッダ部(図3)のヘッダ情報ID(X:xi)の中
に、ROM10内の構成情報114と合致するものがあ
れば、識別結果(S220)は、適合プログラムあり、
となる。
The processing of the following steps S218 to S226 is performed by using the update program (if there is one that matches the update data) in the RAM 16 or the ROM.
This is realized by executing the update program in 10 (when there is no suitable program). In this process, first, a new control program suitable for the device configuration of the own device is identified from the update data 150 in the storage device 24 (S218). Update data 150
If the header information ID (X: xi) of the header section (FIG. 3) of the header information matches the configuration information 114 in the ROM 10, the identification result (S220) indicates that there is a conforming program.
Becomes

【0042】S220で、自装置に適合する新規プログ
ラムがなかった場合は、制御をROM10のダウンロー
ド用プログラムのエラー処理ルーチンに移し、異常対応
処理を行う(S228)。この処理では、例えば、装置
に設けられた警告用のLEDなどを点灯し、装置のディ
スプレイなどに「装置に適合するプログラムが見つかり
ません」などのエラーメッセージを表示して、ダウンロ
ード用プログラムの実行を停止する。
In S220, if there is no new program suitable for the own apparatus, the control is transferred to the error processing routine of the download program in the ROM 10, and the abnormality handling processing is performed (S228). In this process, for example, a warning LED or the like provided on the device is turned on, an error message such as "a program suitable for the device cannot be found" is displayed on the display of the device, and the execution of the download program is performed. To stop.

【0043】S220で、自装置に適合する新規プログ
ラムがある場合は、当該装置構成に該当するヘッダ情報
(図4)に含まれるそのプログラムのインデックス情報
を参照して、アップデート用データ150からそのプロ
グラムを抽出し(S222)、その抽出したプログラム
をフラッシュメモリ12に書き込む(S224)。そし
て、書き込んだプログラムの内容をフラッシュメモリ1
2から読み出し、これを記憶装置24から抽出した同じ
プログラムの内容と比較して、正しく書き込めたかを検
査する(S226)。それら両者が一致すれば、正しく
書き込みが行われたということなので、これで制御プロ
グラムのアップデート(更新)が完了する。一方、それ
ら両者が一致しなければ、正しい書き込みができなかっ
たということなので、制御をROM10内のダウンロー
ド用プログラムのエラー処理ルーチンに移し、「書き込
みエラーが発生しました」などのメッセージ表示などの
異常対応処理を実行して(S228)、ダウンロード用
プログラムの実行を停止する。
In S220, if there is a new program that is compatible with the device, the program refers to the index information of the program included in the header information (FIG. 4) corresponding to the device configuration, and updates the program from the update data 150. Is extracted (S222), and the extracted program is written to the flash memory 12 (S224). Then, the contents of the written program are stored in the flash memory 1.
2 and compares it with the contents of the same program extracted from the storage device 24 to check whether the data has been correctly written (S226). If they match, it means that the writing has been performed correctly, and thus the update (update) of the control program is completed. On the other hand, if they do not match, it means that correct writing could not be performed, so control is transferred to the error handling routine of the download program in the ROM 10 and abnormalities such as displaying a message such as "Write error occurred" The corresponding process is executed (S228), and the execution of the download program is stopped.

【0044】以上説明したダウンロード/アップデート
処理によれば、サービス装置に内蔵されているアップデ
ートプログラム112で正しいアップデートができない
場合は、ダウンロードするデータに適切なアップデート
プログラム152を含めることにより、サービス装置が
その適切なアップデートプログラム152を実行するこ
とで、正しいアップデート処理が実現できる。
According to the download / update process described above, if the update program 112 incorporated in the service device cannot perform the correct update, the service device can include the appropriate update program 152 in the data to be downloaded. By executing the appropriate update program 152, correct update processing can be realized.

【0045】なお、図6の処理手順では、データ受信後
に受信したすべてのプログラムについて転送エラーチェ
ックを行っていたが、このチェックを自装置に適合する
プログラムのみに限定することも可能である。この場
合、例えば、S210で適合アップデートプログラムを
検出した後それについて転送エラーをチェックし、S2
18で適合新規プログラムを抽出した後それについて転
送エラーをチェックすればよい。
In the processing procedure shown in FIG. 6, transfer errors are checked for all programs received after data reception. However, it is also possible to limit this check to only programs compatible with the own device. In this case, for example, after detecting a conformity update program in S210, a transfer error is checked for it, and S2
After extracting the conforming new program at 18, a transfer error may be checked for it.

【0046】また、以上の手順では、受信したアップデ
ート用データをすべて記憶装置24にいったん蓄え、そ
の中から自装置に適合するものを抽出して使用したが、
この代わりに、受信と並行してその受信したデータ中か
ら自装置に適合するプログラムを抽出し、それら適合プ
ログラムだけを保持するようにしてもよい。
In the above procedure, all of the received update data is temporarily stored in the storage device 24, and the data suitable for the own device is extracted from the data and used.
Instead of this, in parallel with the reception, a program compatible with the own device may be extracted from the received data, and only the compatible program may be held.

【0047】以上、本発明の好適な実施の形態を説明し
た。以上説明したように、本実施形態によれば、アップ
デート対象のサービス装置の現況構成(保有機能、搭載
フラッシュメモリなど)に適合したアップデートプログ
ラムをダウンロードし、そのプログラムを用いてアップ
デート処理を行うので、装置構成が変更され、装置内蔵
のアップデートプログラムで対応できない状況であって
も、アップデート処理を行うことができる。また、この
方式によれば、内蔵のアップデートプログラム112に
バグがあるような場合でも、正しいアップデートプログ
ラムをダウンロードすることで、正しいアップデート処
理を行うことができる。
The preferred embodiment of the present invention has been described above. As described above, according to the present embodiment, an update program suitable for the current configuration (owned functions, mounted flash memory, and the like) of the service device to be updated is downloaded, and the update process is performed using the program. Even in a situation where the device configuration has been changed and the update program built into the device cannot handle the situation, the update process can be performed. Further, according to this method, even when the built-in update program 112 has a bug, a correct update process can be performed by downloading a correct update program.

【0048】また、本実施形態では、サービス装置側
が、ダウンロードしたデータの中から自装置に適合した
プログラムを抽出して実行することによりアップデート
を行うので、その装置に適合したプログラムを含んだデ
ータの塊をダウンロードすれば、後は自動的にその装置
が適合プログラムを抽出し、アップデート処理を行う。
したがって、本実施形態では、操作者がその装置に適合
したプログラムを明示的に選択してダウンロードするな
どの操作が不要になり、操作者の負担を軽減できる。特
に、複数種類(機種、構成)の装置についてのアップデ
ートプログラム、新規制御プログラムを1つにパッケー
ジングしたアップデート用データを用意すれば、その1
つのアップデート用データでそれら複数種類の装置に同
時にアップデート処理を行うことができる(それら各装
置は本実施形態の機能を備えているものとする)。この
場合、アップデートをする作業者は、各サービス装置を
ダウンロード待ち状態にセットし、上位装置にアップデ
ート用データのディスク等をセットしてダウンロードの
開始を指示するだけでよく、個々のサービス装置にどの
プログラムを渡すべきかなどの指示は不要である。サー
ビス装置に内蔵するダウンロード処理用のプログラム
(図2のプログラム100)のうち、アップデートプロ
グラム112及び構成情報114以外は、装置構成には
ほとんど依存しないので、作業者は、複数種類のサービ
ス装置について、ほとんど同じ操作でダウンロード/ア
ップデート処理を指示することができる。
In this embodiment, since the service device updates the program by extracting a program suitable for the device from the downloaded data and executing the program, the data of the data including the program suitable for the device is downloaded. After downloading the chunk, the device automatically extracts the matching program and performs the update process.
Therefore, in the present embodiment, the operator does not need to explicitly select and download a program suitable for the device, thereby reducing the burden on the operator. In particular, if update data for a plurality of types (models, configurations) of devices and update data in which new control programs are packaged into one are prepared,
Update processing can be performed simultaneously on a plurality of types of devices with one update data (these devices are assumed to have the functions of the present embodiment). In this case, the update operator only needs to set each service device in a download wait state, set an update data disk or the like in the host device, and instruct the host device to start downloading. There is no need to indicate whether the program should be passed. Of the download processing programs (the program 100 in FIG. 2) incorporated in the service device, except for the update program 112 and the configuration information 114, they hardly depend on the device configuration. The download / update processing can be instructed by almost the same operation.

【0049】以上説明したのはあくまで本発明の1つの
実施の形態に過ぎず、本発明の範囲内で様々な変形例が
あり得る。
The above description is merely one embodiment of the present invention, and various modifications can be made within the scope of the present invention.

【0050】例えば、上記実施形態では、アップデート
対象の制御プログラムをフラッシュメモリ12に記憶し
ていたが、フラッシュメモリに限らず、不揮発性の書換
可能な媒体であればどのようなものでもよい。
For example, in the above embodiment, the control program to be updated is stored in the flash memory 12, but the present invention is not limited to the flash memory, but may be any non-volatile rewritable medium.

【0051】また、上記実施形態では、出荷時に想定し
ていた構成についてのアップデートプログラムをサービ
ス装置に内蔵していたが、これを省略した構成も考えら
れる。すなわち、ダウンロード処理用のプログラムか
ら、装置構成やフラッシュメモリのスペックなどに依存
するアップデートプログラムの部分を除き、この部分は
ダウンロードしたデータの中から抽出して利用するとい
う方式である。この場合、ダウンロードするアップデー
ト用データには、そのデータが対象とするすべての装置
についてアップデートプログラムを用意する必要があ
る。
In the above-described embodiment, the update program for the configuration assumed at the time of shipment is built in the service device. However, a configuration in which this is omitted may be considered. In other words, a method is used in which, from a program for download processing, a part of an update program which depends on the device configuration, the specifications of the flash memory, and the like is extracted from the downloaded data and used. In this case, for the update data to be downloaded, it is necessary to prepare update programs for all the devices targeted by the data.

【0052】上記実施形態の説明では、フラッシュメモ
リ内にある制御プログラムの更新を例にとったが、元々
サービス装置になかったプログラムを新たにフラッシュ
メモリ等にインストールするような場合にも、この手法
は活用できる。
In the above description of the embodiment, the update of the control program in the flash memory is taken as an example. However, this method can be used even when a program that was not originally in the service device is newly installed in the flash memory or the like. Can be used.

【0053】また、上記実施形態では、サービス装置の
装置構成を示す構成情報114をROM10内に記憶し
ていたが、これをフラッシュメモリ12や記憶装置24
に記憶させるようにすることも可能である。この場合、
構成情報114の内容を必要に応じて書き換えることが
できる。したがって、既に販売した装置に、制御プログ
ラム側の変更を要するような新たなハードウエア構成要
素を追加した場合などには、構成情報をその新構成を示
す値に書き換えることにより、その後の制御プログラム
の更新時に、正しいアップデート処理を実行することが
できる。
In the above-described embodiment, the configuration information 114 indicating the device configuration of the service device is stored in the ROM 10, but this is stored in the flash memory 12 or the storage device 24.
It is also possible to make it memorize. in this case,
The contents of the configuration information 114 can be rewritten as needed. Therefore, when a new hardware component that requires a change on the control program side is added to an already sold device, the configuration information is rewritten to a value indicating the new configuration, and the subsequent control program is rewritten. At the time of updating, correct update processing can be executed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 実施形態のサービス装置の制御機構の構成例
を示す図である。
FIG. 1 is a diagram illustrating a configuration example of a control mechanism of a service device according to an embodiment.

【図2】 サービス装置の各メモリに格納されているプ
ログラムを説明するための図である。
FIG. 2 is a diagram for explaining programs stored in each memory of the service device.

【図3】 ダウンロードされるアップデート用データの
内容例を示す図である。
FIG. 3 is a diagram illustrating an example of contents of downloaded update data.

【図4】 アップデート用データのヘッダ情報の内容例
を示す図である。
FIG. 4 is a diagram showing an example of the content of header information of update data.

【図5】 異なる装置構成の装置への一括ダウンロード
の様子を説明するための図である。
FIG. 5 is a diagram for explaining a state of batch download to devices having different device configurations.

【図6】 ダウンロード処理の手順を示すフローチャー
トである。
FIG. 6 is a flowchart showing a procedure of a download process.

【符号の説明】[Explanation of symbols]

10 ROM、12 フラッシュメモリ、14 プロセ
ッサ、16 RAM、18 各種制御ユニット、20
通信インタフェース、22 操作部、24 大容量記憶
装置、100 ダウンロード用プログラム、120 制
御プログラム、150 アップデート用データ。
10 ROM, 12 flash memory, 14 processor, 16 RAM, 18 various control units, 20
Communication interface, 22 operation unit, 24 mass storage device, 100 download program, 120 control program, 150 update data.

フロントページの続き (72)発明者 藏本 秀俊 埼玉県岩槻市本町3丁目1番1号 WAT SUビル西館4F 富士ゼロックス株式会 社内 (72)発明者 太田 俊一 埼玉県岩槻市本町3丁目1番1号 WAT SUビル西館4F 富士ゼロックス株式会 社内 (72)発明者 佐藤 順 埼玉県岩槻市本町3丁目1番1号 WAT SUビル西館4F 富士ゼロックス株式会 社内 Fターム(参考) 2C061 AP04 AP07 HH03 HJ08 HN15 5B076 AC03 BB14 CA01 5C062 AA05 AB41 AB42 AB43 AC22 AC56 Continued on the front page (72) Inventor Hidetoshi Kuramoto 3-1-1, Honcho, Iwatsuki-shi, Saitama WAT SU Building West Building 4F Fuji Xerox Co., Ltd. In-house (72) Inventor Shunichi Ota 3-1-1, Honcho, Iwatsuki-shi, Saitama WAT SU Building West Building 4F Fuji Xerox Co., Ltd. In-house (72) Inventor Jun Sato 3-1-1, Honcho, Iwatsuki-shi, Saitama WAT SU Building West Building 4F Fuji Xerox Co., Ltd. In-house F-term (reference) 2C061 AP04 AP07 HH03 HJ08 HN15 5B076 AC03 BB14 CA01 5C062 AA05 AB41 AB42 AB43 AC22 AC56

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 記憶手段に記憶した制御プログラムを実
行することによりサービス提供を行うサービス装置にお
いて、前記制御プログラムをアップデートするための方
法であって、 前記サービス装置に、 所定形式のアップデート用データを読み込む読込手段
と、 読み込んだアップデート用データからアップデートプロ
グラムを検出する検出手段と、 検出したアップデートプログラムを実行することによ
り、前記アップデート用データから抽出した制御プログ
ラムを前記記憶手段に書き込むアップデート実行手段
と、 を設け、 前記サービス装置に対応した制御プログラムと、その制
御プログラムを前記サービス装置に書き込むための、前
記サービス装置で実行可能なアップデートプログラム
と、を含んだ前記所定形式のアップデート用データを用
意し、 このアップデート用データを前記サービス装置に読み込
ませることによりアップデートを行うアップデート方
法。
1. A method for updating a control program in a service device that provides a service by executing a control program stored in a storage unit, wherein the service device stores update data in a predetermined format in the service device. Reading means for reading, detection means for detecting an update program from the read update data, and update execution means for executing the detected update program to write a control program extracted from the update data to the storage means, Update data in the predetermined format including a control program corresponding to the service device, and an update program executable on the service device for writing the control program to the service device. And an update method in which the update is performed by reading the update data into the service device.
【請求項2】 前記アップデート用データとして、複数
種類のサービス装置ごとの制御プログラムと、それら複
数種類のサービス装置ごとのアップデートプログラム
と、それらアップデートプログラム及び制御プログラム
がそれぞれいずれの種類のサービス装置に適合するかを
示す識別情報と、を含むデータを用意し、 前記サービス装置の前記検出手段及びアップデート実行
手段は、その識別情報を参照して、当該サービス装置に
適合するアップデートプログラム及び制御プログラムを
識別する、 請求項1記載のアップデート方法。
2. As the update data, a control program for each of a plurality of types of service devices, an update program for each of the plurality of types of service devices, and each of the update program and the control program is suitable for any type of service device. And identification information indicating whether to perform the update, and the detection unit and the update execution unit of the service device refer to the identification information to identify an update program and a control program that are compatible with the service device. The update method according to claim 1.
【請求項3】 前記サービス装置は、アップデートプロ
グラムを記憶した第二の記憶手段を備え、自装置に適合
するアップデートプログラムが前記アップデート用デー
タに含まれていなかった場合は、第二の記憶手段に記憶
したアップデートプログラムを実行する、請求項2記載
のアップデート方法。
3. The service device includes a second storage unit that stores an update program. If the update data does not include an update program that is compatible with the service device, the service device stores the update program in the second storage unit. The update method according to claim 2, wherein the stored update program is executed.
【請求項4】 記憶手段に記憶した制御プログラムを実
行することによりサービス処理を実行するサービス装置
であって、 前記サービス装置に対応した制御プログラムとアップデ
ートプログラムと、を含んだ所定形式のアップデート用
データを読み込む読込手段と、 読み込んだアップデート用データに自装置が実行可能な
アップデートプログラムがあるか否かを検出する検出手
段と、 前記アップデート用データから自装置が実行可能なアッ
プデートプログラムを検出した場合に、そのアップデー
トプログラムを実行することにより、前記アップデート
用データに含まれる自装置用の制御プログラムを前記記
憶手段に書き込むアップデート実行手段と、 を備えるサービス装置。
4. A service device for executing a service process by executing a control program stored in a storage means, the update data having a predetermined format including a control program and an update program corresponding to the service device. Reading means for reading the update data, detecting means for detecting whether or not the read update data includes an update program which can be executed by the own device, and detecting an update program which can be executed by the own device from the update data. An update execution unit that writes the control program for the own device included in the update data into the storage unit by executing the update program.
【請求項5】 第一の記憶手段に記憶した制御プログラ
ムを実行することによりサービス処理を実行するととも
に、前記制御プログラムをアップデートするためのアッ
プデートプログラムを記憶した第二の記憶手段を備え、
第二の記憶手段のアップデートプログラムを実行するこ
とにより前記制御プログラムのアップデートを行うこと
ができるサービス装置であって、 前記サービス装置に対応した制御プログラムとアップデ
ートプログラムと、を含んだ所定形式のアップデート用
データを読み込む読込手段と、 読み込んだアップデート用データに自装置が実行可能な
アップデートプログラムがあるか否かを検出する検出手
段と、 前記アップデート用データから自装置が実行可能なアッ
プデートプログラムを検出した場合に、前記第二の記憶
手段に記憶されているアップデートプログラムに代え
て、前記アップデート用データから検出したアップデー
トプログラムを実行することにより、前記アップデート
用データに含まれる自装置用の制御プログラムを前記第
一の記憶手段に書き込むアップデート実行手段と、 を備えるサービス装置。
5. A storage device for executing a service process by executing a control program stored in a first storage device, and a second storage device storing an update program for updating the control program.
A service device capable of updating the control program by executing an update program in a second storage unit, the update device having a predetermined format including a control program and an update program corresponding to the service device. Reading means for reading data; detecting means for detecting whether or not the read update data includes an update program executable by the own device; and detecting an update program executable by the own device from the update data. Executing the update program detected from the update data in place of the update program stored in the second storage means, so that the control program for the own device included in the update data is changed to the second program. one Service apparatus comprising: a update execution unit, a write to the storage means.
【請求項6】 前記読込手段は、ネットワークを介して
接続された外部装置から前記アップデート用データをダ
ウンロードする機能を備える請求項4又は請求項5に記
載のサービス装置。
6. The service device according to claim 4, wherein the reading unit has a function of downloading the update data from an external device connected via a network.
【請求項7】 前記アップデート用データには、含んで
いる制御プログラムが適合する前記サービス装置の種類
を示す識別情報が含まれ、 前記サービス装置は、当該装置の構成情報を記憶する構
成情報記憶手段を更に含み、 前記アップデート実行手段は、前記アップデート用デー
タに含まれる制御プログラムの識別情報と、自装置が記
憶した構成情報とを比較することにより、自装置用の制
御プログラムを識別する、請求項4又は請求項5に記載
のサービス装置。
7. The update data includes identification information indicating the type of the service device to which the control program included is compatible, and the service device stores configuration information of the device. The update executing means identifies the control program for the own device by comparing the identification information of the control program included in the update data with the configuration information stored in the own device. The service device according to claim 4 or claim 5.
【請求項8】 前記構成情報記憶手段を書き換え可能と
した、請求項7記載のサービス装置。
8. The service device according to claim 7, wherein said configuration information storage means is rewritable.
JP2000071125A 2000-03-14 2000-03-14 Update method of control program for service device and service device Pending JP2001256057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000071125A JP2001256057A (en) 2000-03-14 2000-03-14 Update method of control program for service device and service device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000071125A JP2001256057A (en) 2000-03-14 2000-03-14 Update method of control program for service device and service device

Publications (1)

Publication Number Publication Date
JP2001256057A true JP2001256057A (en) 2001-09-21

Family

ID=18589751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000071125A Pending JP2001256057A (en) 2000-03-14 2000-03-14 Update method of control program for service device and service device

Country Status (1)

Country Link
JP (1) JP2001256057A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004005417A (en) * 2002-02-07 2004-01-08 Hewlett Packard Co <Hp> Software management through bundling
JP2006275856A (en) * 2005-03-30 2006-10-12 Xanavi Informatics Corp Navigation device
JP2009053859A (en) * 2007-08-24 2009-03-12 Fuji Xerox Co Ltd Device and bootloading program
US7681189B2 (en) 2004-10-01 2010-03-16 Funai Electric Co., Ltd. Information processing device capable of updating a stored program
JP2011180951A (en) * 2010-03-03 2011-09-15 Nec Personal Products Co Ltd Information processing system, information processor, program and recording medium
JP2021035795A (en) * 2019-08-30 2021-03-04 本田技研工業株式会社 Vehicle control system, vehicle control method, and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004005417A (en) * 2002-02-07 2004-01-08 Hewlett Packard Co <Hp> Software management through bundling
US7681189B2 (en) 2004-10-01 2010-03-16 Funai Electric Co., Ltd. Information processing device capable of updating a stored program
JP2006275856A (en) * 2005-03-30 2006-10-12 Xanavi Informatics Corp Navigation device
JP4695906B2 (en) * 2005-03-30 2011-06-08 クラリオン株式会社 Navigation device
JP2009053859A (en) * 2007-08-24 2009-03-12 Fuji Xerox Co Ltd Device and bootloading program
JP2011180951A (en) * 2010-03-03 2011-09-15 Nec Personal Products Co Ltd Information processing system, information processor, program and recording medium
JP2021035795A (en) * 2019-08-30 2021-03-04 本田技研工業株式会社 Vehicle control system, vehicle control method, and program
JP7162577B2 (en) 2019-08-30 2022-10-28 本田技研工業株式会社 Vehicle control system, vehicle control method, and program

Similar Documents

Publication Publication Date Title
US10394570B2 (en) Method of generating boot image for fast booting and image forming apparatus for performing the method, and method of performing fast booting and image forming apparatus for performing the method
US6289510B1 (en) Online program-updating system and computer-readable recording medium storing a program-updating program
KR101959359B1 (en) Method for updating boot image for fast booting and image forming apparatus for performing the same
US7043664B1 (en) Firmware recovery
US20130036300A1 (en) Method of fixing error of boot image for fast booting and image forming apparatus for performing the method
US20130042097A1 (en) Method of updating boot image for fast booting and image forming apparatus for performing the method
CN1963682A (en) Image forming apparatus capable of updating firmware of optional cassette and method thereof
JP2009025865A (en) Information processing unit, information processing program, and recording medium
US7577766B2 (en) Method for controlling electronic apparatus, program for controlling electronic apparatus, electronic apparatus, and recording apparatus
JP2001256057A (en) Update method of control program for service device and service device
JP2008158991A (en) Control system for nand type flash memory
US20050257225A1 (en) Office automation device and method of installing, reinstalling, and upgrading a driver thereof
KR101850275B1 (en) Method for generating boot image for fast booting and image forming apparatus for performing the same, method for performing fast booting and image forming apparatus for performing the same
JPH06314202A (en) Image-forming device
KR20040018869A (en) Image forming device
KR101850272B1 (en) Method for updating boot image for fast booting and image forming apparatus for performing the same
KR101845467B1 (en) Method for restoring error of boot image for fast booting and image forming apparatus for performing the same
JP3308920B2 (en) Information processing device
JPH05274157A (en) Image generating device
JP2005010912A (en) Program and computer
JP2009238071A (en) Built-in system
JPH06219021A (en) Image forming device
JP2009265980A (en) Information processing apparatus
JP4265731B2 (en) Image forming apparatus
JP2005049952A (en) Image forming apparatus