JP4207032B2 - Firmware transmission program, control method, data transmission apparatus, and network system - Google Patents
Firmware transmission program, control method, data transmission apparatus, and network system Download PDFInfo
- Publication number
- JP4207032B2 JP4207032B2 JP2005263675A JP2005263675A JP4207032B2 JP 4207032 B2 JP4207032 B2 JP 4207032B2 JP 2005263675 A JP2005263675 A JP 2005263675A JP 2005263675 A JP2005263675 A JP 2005263675A JP 4207032 B2 JP4207032 B2 JP 4207032B2
- Authority
- JP
- Japan
- Prior art keywords
- data receiving
- receiving device
- data
- operation input
- 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.)
- Expired - Fee Related
Links
Images
Description
本発明は、データ送信装置から、ファームウェアを送信する技術、ならびに、送信されたファームウェアでデータ受信装置あるいはインタフェース装置がファームウェアを書き換える技術に関する。 The present invention relates to a technique for transmitting firmware from a data transmission apparatus, and a technique for a data reception apparatus or interface apparatus to rewrite firmware with the transmitted firmware.
データ受信装置が外部装置とデータ通信を行うシステムでは、データ受信装置と外部装置とのデータ通信を中継するインタフェース装置として、かつてはバッファ等の比較的簡単な構成要素を採用していたが、近年、インタフェース装置がインテリジェント化し、マイクロコンピュータ等を備えることによって自身がデータ処理可能に構成されるようになってきている。このようなデータ通信システムでは、データ受信装置だけではなく、インタフェース装置もプログラマブルROMに書き込まれたファームウェアにしたがってマイクロコンピュータが動作することで、データ受信装置と外部装置がデータ通信を行うという機能を果たしている。 In a system in which a data reception device performs data communication with an external device, a relatively simple component such as a buffer has been used as an interface device that relays data communication between the data reception device and the external device. The interface device has become intelligent and is provided with a microcomputer or the like so that it can be processed by itself. In such a data communication system, not only the data reception device but also the interface device performs the function of data communication between the data reception device and the external device by the microcomputer operating according to the firmware written in the programmable ROM. Yes.
そのような、外部装置とデータ通信を行うデータ受信装置については、データ受信装置のプログラマブルROMのファームウェアを書き換える場合と、インタフェース装置のプログラマブルROMのファームウェアを書き換える場合がある。この場合、ファームウェアファイルを振り分けて、例えばインタフェース装置のプログラマブルROMに書き込むためのファームウェアがデータ受信装置のプログラマブルROMに誤って書き込まれないようにする必要がある。 For such a data receiving device that performs data communication with an external device, the firmware of the programmable ROM of the data receiving device may be rewritten or the firmware of the programmable ROM of the interface device may be rewritten. In this case, it is necessary to distribute the firmware file so that, for example, firmware for writing to the programmable ROM of the interface device is not erroneously written to the programmable ROM of the data receiving device.
また、一般にファームウェアでは、適合する機種が限定されているため、機種の異なる複数のデータ受信装置が選択されると、適合しないデータ受信装置にも同じファームウェアを送信してしまい、誤動作を招くなどおそれがあった。 In addition, generally, compatible models are limited in firmware. If multiple data receiving devices with different models are selected, the same firmware may be transmitted to non-conforming data receiving devices, which may cause malfunction. was there.
本発明は、上述した問題点を解決するためになされたものであり、データ受信装置あるいはインタフェース装置のファームウェアを送信する際に、振り分けて、誤って書き込まれないようにすることを目的とする。 The present invention has been made to solve the above-described problems, and it is an object of the present invention to distribute and prevent erroneous writing when transmitting firmware of a data reception device or interface device.
さらに本発明は、機種の異なる複数のデータ受信装置が選択されることに起因する、データ受信装置の誤動作を招くなどのおそれを防ぐことを目的とする。 A further object of the present invention is to prevent the possibility of erroneous operation of the data receiving apparatus due to selection of a plurality of data receiving apparatuses of different models.
この目的を達成するために、請求項1記載のファームウェア送信プログラムは、複数のデータ受信装置それぞれへ前記データ受信装置を機能させるためのファームウェアを送信するためのインタフェースと、表示手段と、操作入力手段と、前記複数のデータ受信装置それぞれの機種を記憶する機種記憶手段と、を備えたデータ送信装置のコンピュータが読み取り実行可能であり、前記コンピュータを、前記複数のデータ受信装置の前記表示手段へのリスト表示を制御する装置情報表示制御手段と、前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第1操作入力が指定するデータ受信装置を示す第1指定情報を取得する第1操作入力情報取得手段と、前記第1指定情報が示すデータ受信装置を第1のデータ受信装置として選択する第1装置選択手段と、前記第1操作入力情報取得手段が前記第1指定情報を取得したことを条件として、前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第2操作入力が指定するデータ受信装置を示す第2指定情報を取得する第2操作入力情報取得手段と、前記第2指定情報が示すデータ受信装置を第2のデータ受信装置として選択する第2装置選択手段と、前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とについて判断する判断手段と、前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とが異なると前記判断手段が判断する場合には、前記第1のデータ受信装置についての既存の選択を解除せず前記第2指定情報が示すデータ受信装置を第1のデータ受信装置として選択しない、または、前記第1のデータ受信装置についての既存の選択を解除し前記第2指定情報が示すデータ受信装置を新たな第1のデータ受信装置として選択し、一方、前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とが同じであると前記判断手段が判断する場合には、前記第1のデータ受信装置についての既存の選択を解除せず前記第2指定情報が示すデータ受信装置を追加の第1のデータ受信装置として選択する送信対象選択手段と、前記第1のデータ受信装置に適するファームウェアの、前記インタフェースを介した前記第1のデータ受信装置への送信を制御するファームウェア送信制御手段と、して機能させ、前記第2操作入力情報取得手段を、前記送信対象選択手段が第1のデータ受信装置についての選択に係る処理を実行した後も前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第2操作入力が指定するデータ受信装置を示す第2指定情報を取得するよう機能させる。
To achieve this object, a firmware transmission program according to
このファームウェア送信プログラムは、複数のデータ受信装置のうち、適するファームウェアが同じデータ受信装置を選択し、選択されたデータ受信装置それぞれに同じファームウェアを送信する。 The firmware transmission program selects a data receiving device having the same appropriate firmware among a plurality of data receiving devices, and transmits the same firmware to each of the selected data receiving devices.
また、このファームウェア送信プログラムは、このファームウェア送信プログラムが動作するデータ送信装置を操作する使用者に、入力装置を通じて、複数のデータ受信装置を個別に選択させ、使用者に選択された複数のデータ受信装置が、適するファームウェアが同じデータ受信装置であるかどうかを判断し、適するファームウェアが同じデータ受信装置であると判断されれば、それぞれに同じファームウェアを送信する。 Further, the firmware transmission program causes a user who operates the data transmission apparatus on which the firmware transmission program operates to individually select a plurality of data reception devices through the input device, and receives the plurality of data reception selected by the user. The device determines whether the appropriate firmware is the same data receiving device, and if it is determined that the suitable firmware is the same data receiving device, transmits the same firmware to each.
また、請求項2に記載のファームウェア送信プログラムは、請求項1に記載のファームウェア送信プログラムであって、前記コンピュータを、前記第1指定情報が示すデータ受信装置を第1のデータ受信装置として第1装置選択手段が選択する場合および前記第2指定情報が示すデータ受信装置を前記送信対象選択手段が第1のデータ受信装置として選択する場合には、選択されるデータ受信装置について前記表示手段が表示する態様を第1のデータ受信装置であることを示す態様に変更し、一方、前記第1のデータ受信装置についての既存の選択を前記送信対象選択手段が解除する場合には、選択を解除されるデータ受信装置について前記表示手段が表示する態様を第1のデータ受信装置でないことを示す態様に変更する制御を行う送信対象情報表示制御手段と、前記表示手段が表示する態様を前記送信対象情報表示制御手段が変更したことを条件として、前記操作入力手段を介した第3操作入力を取得する第3操作入力取得手段と、して機能させ、前記ファームウェア送信制御手段を、前記第3操作入力取得手段が前記第3操作入力を取得したことを条件として、ファームウェアを送信する制御を行う、ように機能させる。 A firmware transmission program according to a second aspect is the firmware transmission program according to the first aspect, wherein the computer is the first data reception device indicated by the first designation information as the first data reception device. when the data receiving apparatus shown may and second designation information device selection means selects said transmission target selection means for selecting a first data receiver, displays the display unit for the data receiving apparatus is selected When the transmission target selection unit cancels the existing selection for the first data receiving device, the selection is canceled. that the data receiving apparatus wherein the display means transmits pairs of performing control for changing the mode to indicate that is not the first data receiving apparatus aspects to display for An information display control means, the manner in which the display means displays the condition that it has changed the transmission target information display control means, and the third operation input acquiring means for acquiring a third operation input through said operation input means , it is to function, the firmware transmission control means, on condition that the third operation input acquiring unit has acquired the third manipulation input, performs control to transmit the firmware to function as.
また、請求項3に記載の制御方法は、複数のデータ受信装置それぞれへ前記データ受信装置を機能させるためのファームウェアを送信するためのインタフェースと、表示手段と、操作入力手段と、前記複数のデータ受信装置それぞれの機種を記憶する機種記憶手段と、を備えたデータ送信装置を制御する制御方法であって、前記複数のデータ受信装置の前記表示手段へのリスト表示を制御する装置情報表示制御ステップと、前記表示手段がリスト表示したデータ受信装置のうち前記操作入力手段を介した第1操作入力が指定するデータ受信装置を示す第1指定情報を取得する第1操作入力情報取得ステップと、前記第1指定情報が示すデータ受信装置を第1のデータ受信装置として選択する第1装置選択ステップと、前記第1操作入力情報取得ステップで前記第1指定情報を取得したことを条件として、前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第2操作入力が指定するデータ受信装置を示す第2指定情報を取得する第2操作入力情報取得ステップと、前記第2指定情報が示すデータ受信装置を第2のデータ受信装置として選択する第2装置選択ステップと、前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種について判断する判断ステップと、前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とが異なると前記判断ステップで判断した場合には、前記第1のデータ受信装置についての既存の選択を解除せず前記第2指定情報が示すデータ受信装置を第1のデータ受信装置として選択しない、または、前記第1のデータ受信装置についての既存の選択を解除し前記第2指定情報が示すデータ受信装置を新たな第1のデータ受信装置として選択し、一方、前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とが同じであると前記判断ステップで判断した場合には、前記第1のデータ受信装置についての既存の選択を解除せず前記第2指定情報が示すデータ受信装置を追加の第1のデータ受信装置として選択する送信対象選択ステップと、前記第1のデータ受信装置に適するファームウェアの、前記インタフェースを介した前記第1のデータ受信装置への送信を制御するファームウェア送信制御ステップと、を備え、前記送信対象選択ステップで第1のデータ受信装置についての選択に係る処理を実行した後も、前記第2操作入力情報取得ステップで前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第2操作入力が指定するデータ受信装置を示す第2指定情報を取得する。 According to a third aspect of the present invention, there is provided a control method comprising: an interface for transmitting firmware for causing the data receiving device to function to each of the plurality of data receiving devices; a display unit; an operation input unit; A device information display control step for controlling a list display on the display means of the plurality of data receiving devices, comprising: a model storing means for storing the model of each receiving device; A first operation input information acquisition step for acquiring first designation information indicating a data reception device designated by a first operation input via the operation input unit among the data reception devices displayed in a list by the display unit; A first device selection step of selecting a data receiving device indicated by the first designation information as a first data receiving device; and the first operation input information acquisition On condition that obtains the first designation information in step, the display means second designation information indicating the data receiver in which the second operation input to specify via the operation input means of the data receiving device is listed A second operation input information acquisition step of acquiring a data receiving device, a second device selection step of selecting a data receiving device indicated by the second designation information as a second data receiving device, a model of the first data receiving device, and the a determination step of determining the type of the second data receiving device, when the type of the first type and said second data receiving device of the data receiving device is determined in different from the determination step, the first the data reception apparatus indicated by the second designation information without releasing the existing selection for the first data receiving apparatus is not selected as the first data receiving device, or the The data receiving apparatus shown released and the second designation information the existing selection for the first data receiving apparatus selected as a new first data receiving device, whereas, the the type of the first data receiving apparatus first When the determination step determines that the model of the second data receiving apparatus is the same, the data receiving apparatus indicated by the second designation information is not canceled without canceling the existing selection of the first data receiving apparatus. a transmission target selection step of selecting as an additional first data receiving device, a firmware suitable for the first data receiving apparatus, the firmware transmission control for controlling the transmission to the first data receiving apparatus via said interface And the second operation input information after the execution of the process related to the selection of the first data receiving device in the transmission target selection step. It said display means acquiring step you get a second designation information indicating the data receiver in which the second operation input to specify via the operation input means of the data receiver to list.
また、請求項4に記載の制御方法は、請求項3に記載の制御方法であって、前記第1指定情報が示すデータ受信装置を第1のデータ受信装置として第1装置選択手段が選択する場合および前記第2指定情報が示すデータ受信装置を前記送信対象選択ステップで第1のデータ受信装置として選択する場合には、選択されたデータ受信装置について前記表示手段が表示する態様を第1のデータ受信装置であることを示す態様に変更し、一方、前記第1のデータ受信装置についての既存の選択を前記送信対象選択手段が解除する場合には、選択を解除されるデータ受信装置について前記表示手段が表示する態様を第1のデータ受信装置でないことを示す態様に変更する制御を行う送信対象情報表示制御ステップと、前記表示手段が表示する態様を前記送信対象情報表示制御ステップで変更したことを条件として、前記操作入力手段を介した第3操作入力を取得する第3操作入力取得ステップと、を備え、前記ファームウェア送信制御ステップは、前記第3操作入力取得ステップで前記第3操作入力を取得したことを条件として、ファームウェアを送信する制御を行う。
The control method according to claim 4 is the control method according to
また、請求項5記載のデータ送信装置は、請求項1または請求項2に記載のファームウェア送信プログラムを記憶するプログラム記憶手段と、前記インタフェースと、前記表示手段と、前記操作入力手段と、前記機種記憶手段と、前記コンピュータと、を備えたデータ送信装置であって、前記コンピュータは、前記ファームウェア送信プログラムを前記プログラム記憶手段から読み取り、読取ったファームウェア送信プログラムを実行する。 According to a fifth aspect of the present invention, there is provided a data transmission apparatus comprising: a program storage unit that stores the firmware transmission program according to the first or second aspect ; the interface; the display unit; the operation input unit; A data transmission device including a storage unit and the computer, wherein the computer reads the firmware transmission program from the program storage unit and executes the read firmware transmission program.
また、請求項6記載のネットワークシステムは、複数のデータ受信装置と、請求項5に記載のデータ送信装置と、が接続されている。
In the network system according to
以上説明したことから明らかなように、請求項1記載のファームウェア送信プログラムは、データ受信装置の誤動作を招くなどのおそれを防ぐことができる。
As is apparent from the above description, the firmware transmission program according to
また、請求項1記載のファームウェア送信プログラムは、ファームウェア送信プログラムが動作するデータ送信装置の使用者に、1つ以上のデータ受信装置を選択するという簡単な操作を行わせるだけで、書き換えを行うべきデータ受信装置をきわめて容易に選択することができる。
In addition, the firmware transmission program according to
次に、本発明に好適な実施の形態について、図面に基づいて説明する。なお、以下に説明する実施の形態は、端末装置としてのプリンタを複数台含むと共に、それぞれのプリンタを用いて印刷処理を行うコンピュータを複数含んだ通信システムであって、それぞれのプリンタの制御に使用されるファームウェア等の管理を一元的に実行する通信システムに対して本発明を適用した場合の実施の形態である。 Next, preferred embodiments of the present invention will be described with reference to the drawings. The embodiment described below is a communication system that includes a plurality of printers as terminal devices and includes a plurality of computers that perform print processing using each printer, and is used for controlling each printer. This is an embodiment when the present invention is applied to a communication system that centrally executes management of firmware and the like.
先ず、本実施の形態の通信システムSの構成について、図1を用いて説明する。図1に示すように、通信システムSは、データ送信装置としてのマネージャ(管理用コンピュータ)Gと、電話回線またはLAN等のネットワークWと、インタフェース装置としての複数のNIC1と、データ受信装置としてのプリンタ10、30及び40と、当該プリンタ10に接続された複数のコンピュータ20と、プリンタ40に並列に接続されたイメージスキャナ70と、プリンタ40に直列に接続された用紙ソータ80とにより構成されている。ここで、プリンタ10、30及び40は異なる機種のプリンタである。
First, the structure of the communication system S of this Embodiment is demonstrated using FIG. As shown in FIG. 1, a communication system S includes a manager (management computer) G as a data transmission device, a network W such as a telephone line or a LAN, a plurality of
一方、マネージャGは、第1情報処理手段としてのCPU50,ROM51,RAM52を備え、キーボード53,CRT54等に接続された周知のパーソナルコンピュータである。
On the other hand, the manager G is a known personal computer that includes a
また、NIC1は、返信手段としてのトランシーバ2と、LANコントローラ3と、共有メモリ4と、CPU5と、ROM6と、RAM7と、バス8と、を備えている。ここで、ROM6は、フラッシュROM等のプログラマブルROMによって構成され、記憶内容を書き換え可能な記憶領域6aを有している。RAM7は、その内部に端末情報エリア7aを備えている。
The NIC 1 also includes a
一方、プリンタ10は、第2情報処理手段としてのCPU11と、ROM12と、RAM13と、バス14と、出力インタフェース(出力I/F)15と、入力インタフェース(入力I/F)16と、被記録媒体としての記録紙等に画像を形成する画像形成手段としての印字部17と、を備えている。ここで、ROM12は、フラッシュROM等のプログラマブルROMによって構成され、記憶内容を書き換え可能な記憶領域12aを有している。RAM13は、その内部に出力バッファ13aと入力バッファ13bとを備えている。また、プリンタ10は、バス14に接続された接続ライン9を介してNIC1に接続されると共に、入力インタフェース16を介して各コンピュータ20に接続されている。
On the other hand, the printer 10 includes a
次に、通信システムSにおける概要動作について図1を用いて説明する。なお、以下の概要動作の説明においては、NIC1とプリンタ10とにおける処理について説明するが、他のNIC1とプリンタ30,40等との間においても同様の処理が実行される。
Next, an outline operation in the communication system S will be described with reference to FIG. In the following description of the outline operation, processing in the
マネージャG内のCPU50は、プリンタ10またはそれに接続されているNIC1に送信すべきデータを生成し、ネットワークWを介してNIC1のトランシーバ2に送信する。このとき、当該データの送信は、NIC1にて処理されるべきデータはTFTP(トリビアルファイル転送プロトコル)で、プリンタ10にて処理されるべきデータはLPR(ライン・プリンタ・リモート)で、処理装置を特に指定する必要がないデータはUDP(ユーザーデータグラム転送プロトコル)等の適宜のプロトコルで、それぞれ実行される。そして、データを受信したトランシーバ2は、これを復調し、LANコントローラ3を介してバス8に出力する。ここで、当該LANコントローラ3は、ネットワークWを介したマネージャGとの間におけるデータの送受信を制御する。
The
次に、CPU5は、NIC1が受信したデータがTFTPで送信されてきたときは、当該データをROM6に記憶されている情報を用いて処理する。このとき、RAM7は、当該CPU5における処理に必要な情報を読み出し可能に一時的に記憶する。その後、CPU5は、処理した結果をバス8、LANコントローラ3、トランシーバ2及びネットワークWを介してマネージャGに返信する。
Next, when the data received by the
一方、NIC1が受信したデータがLPRで送信されてきたときは、CPU5は、当該データを共有メモリ4及び接続ライン9を介してプリンタ10に転送する。その際、共有メモリ4にデータを書き込んだ後、CPU5は、図示しない信号線を通してCPU11に対してインターラプト(割り込み指令)を発生させ、当該データの処理を実行させる。なお、上述したデータに対するCPU5の処理に必要な制御プログラムは、ROM6に予め記憶されている。
On the other hand, when the data received by the
ここで、共有メモリ4は、情報処理の際にNIC1とプリンタ10との間で共有すべき情報を一時的に記憶しておくためのメモリである。
Here, the shared memory 4 is a memory for temporarily storing information to be shared between the
次に、NIC1から転送したプリンタ10において処理すべきデータ(例えば、マネージャGからLPRで送信されてきたデータ)が接続ライン9を介してプリンタ10に入力されると、CPU11は、当該データをバス14を介して取得した後、ROM12内に記憶されている情報を用いて処理する。その後、CPU11は、処理した結果をバス14、接続ライン9、及び共有メモリ4を介してNIC1に返信する。このとき、RAM13は当該CPU11における処理に必要な情報を読み出し可能に一時的に記憶する。このデータに対するCPU11の処理に必要な制御プログラムは、ROM12に予め記憶されている。
Next, when data to be processed by the printer 10 transferred from the NIC 1 (for example, data transmitted from the manager G by LPR) is input to the printer 10 via the
更に、プリンタ10において処理すべきデータに対する処理結果をプリンタ10から受領したNIC1は、その処理結果をそのままネットワークWを介してマネージャGに転送する。
Further, the
一方、各コンピュータ20から出力されたプリンタ10において印字出力すべき画像等のデータは、入力インタフェース16を介してプリンタ10内に取り込まれ、バス14を介して入力バッファ13b内に格納され、印刷データに展開処理されて出力バッファ13a内に一時的に記憶された後、再びバス14を介して出力インタフェース15から印字部17に出力され、当該データに対応した印字出力が実行される。一方、図示しない他のコンピュータから出力された印字出力すべき画像等のデータをプリンタ10において出力するときは、当該データがネットワークW経由でNIC1を介してプリンタ10の入力バッファ13bに取り込まれた後、上記と同様にして出力される。このプリンタ10本来の印字出力処理は、ROM12内に記憶されている制御プログラムに基づくCPU11の制御の下で実行される。
On the other hand, data such as an image to be printed out by the printer 10 output from each
なお、通信システムS内に含まれている各プリンタ10,30,及び40は共通のNIC1を備えているが、プリンタ自体としては異なる機種のものを含んでいる。具体的には、印刷機構や取り扱いデータの相違等に対応して、それぞれのプリンタのROM12には後述のデバイス情報が記憶されているが、そのデバイス情報は各プリンタ毎に異なったものとなっている。また、ネットワークWには、NIC1とは異なる機種のNICを介して図示しない他のプリンタも接続されている。
The
次に、ROM6,12の記憶領域6a,12aは前述のように書き換え可能に構成されているので、この部分に記憶されたファームウェア等の処理プログラムを書き換えることにより、プリンタ10の機能をバージョンアップすることができる。続いて、このバージョンアップに関わる処理について説明する。
Next, since the storage areas 6a and 12a of the
先ず、マネージャGにおいて所定のバージョンアップ用アプリケーションを立ち上げると、CPU50は図2〜図6に示すバージョンアップ処理を実行する。図2に示すように、処理を開始するとCPU50は、先ず、S1(Sはステップを表す:以下同様)にて、デバイス情報要求のためのブロードキャストパケットを、ネットワークWを介して接続された全てのプリンタにUDPで送信する。続くS3では、少なくとも3秒間計時可能なタイマをスタートする。更に、続くS5では、ネットワークWを介して各プリンタからデバイス情報を受信し、受信したデバイス情報をCRT54の画面に表示していく。そして、このS5の処理をタイマをスタートしてから3秒経過するまで繰り返し(S7)、3秒経過すると(S7:YES)、続くS11へ移行する。
First, when a predetermined upgrade application is launched in the manager G, the
ここで、プリンタ10等は、上記ブロードキャストパケットを受信すると図示しないルーチンを起動し、自身が接続されたNIC1よりそのNIC1のデバイス名,NIC1のファームウェアのバージョン(NICデバイス名,NICファームウェアバージョンという)等のデバイス情報を取得する。続いて乱数を発生し、その乱数に対応した数msec.待機した後、上記NIC1のデバイス情報を、プリンタ10自身のデバイスクラス,デバイス名,デバイスステータス,ファームウェアバージョン等のデバイス情報と共にマネージャGへ返信する。なお、プリンタ10等は、自身の電源投入時等にNIC1のデバイス情報を予め取得しておいてもよく、また、ネットワークWを介して接続された他のプリンタやNICのデバイス情報を取得しておき、上記デバイス情報と共に返信してもよい。
このため、マネージャGには、上記乱数に応じたバラバラのタイミングで、各プリンタからのデバイス情報がネットワークWを介して返信される。そこで、マネージャGによるS5の処理では、受信したデバイス情報に基づき、CRT54に次のような表示を行う。図7は、プリンタ10から返信されるデバイス情報100の形態を模式的に表す説明図であり、図8は、そのデバイス情報100等に対応したCRT54の表示画面(以下、デバイスリスト画面という)200の一例を表す説明図である。
Here, when the printer 10 or the like receives the broadcast packet, the printer 10 or the like starts a routine (not shown), and from the
For this reason, device information from each printer is sent back to the manager G via the network W at a timing that depends on the random number. Therefore, in the process of S5 by the manager G, the following display is performed on the
図7に示すように、デバイス情報100は、レーザプリンタ,カラープリンタ等のデバイスの種別を表すデバイスクラス101,デバイスの機種毎に付与されたデバイス名102,プリンタ10の状態を表すステータス103,及びファームウエアのバージョンを表すプリンタバージョン104からなるプリンタ10側のデバイス情報と、NIC1側のデバイス情報としてのNICデバイス名105及びNICバージョン106と、そのプリンタ10に付与されたIPアドレス107とを羅列して構成されている。また、デバイスクラス101,デバイス名102,ステータス103,プリンタバージョン104,NICデバイス名105,及びNICバージョン106のデータの先頭には、各々のデータの長さを表すデバイスクラスレングス111,デバイス名レングス112,ステータスレングス113,プリンタバージョンレングス114,NICデバイス名レングス115,及びNICバージョンレングス116が添付されている。
As shown in FIG. 7, the
このようなデバイス情報100を受信したCPU50は、S5の処理において、デバイスクラス101,デバイス名102,ステータス103,プリンタバージョン104,NICデバイス名105,NICバージョン106,及びIPアドレスのデータに対応した表記(デバイスクラス,デバイス名,デバイスステータス,本体ファームウェアバージョン,NICデバイス名,NICファームウェアバージョン,及びIPアドレス)を、デバイスクラス101に対応したアイコンの右側に配列してリストアップしたデバイスリスト201を表示する。
The
なお、図8に例示するデバイスリスト201では、プリンタの他にスキャナも表示されており、プリンタ,スキャナ等を総称してデバイスと呼んでいる。プリンタ10から返信されるデバイス情報100のプリンタバージョン104に対応した表記が「本体ファームウェアバージョン」の項目に表示されるのもこのためである。また、以下の説明では、同一機種のデバイスには同一機種のNICが対応するものとする。
In the
デバイスリスト画面200には、このデバイスリスト201の上部に、デバイスのバージョンアップを行うときに押下される本体ファームウェアアップデートボタン202、NICのバージョンアップを行うときに押下されるNICファームウェアアップデートボタン203、バージョンアップの対象として同機種のデバイスを一括して選択するときに押下される同機種全て選択ボタン204、及び、このバージョンアップ処理を終了するときに押下される終了ボタン205が、並べて表示される。また、デバイスリスト201に表示された各デバイスも、例えばアイコンがクリックに対して反応するボタンとなっている。
The
CPU50は、S5の処理によってこのデバイスリスト画面200を表示した後、S11以降の処理を上記各ボタンの押下等に応じて実行する。すなわち、先ずS11では、デバイスリスト201に表示されたデバイスがクリックされたか否かを判断し、クリックされていない場合は否定判断してS13へ移行する。S13では、同機種全て選択ボタン204が押下されたか否かを判断し、押下されていない場合は否定判断してS15へ移行する。以下同様に、本体ファームウェアアップデートボタン202が押下されたか否かを判断して(S15)、押下されていない場合はS17へ移行し、NICファームウェアアップデートボタン203が押下されたか否かを判断して(S17)、押下されていない場合はS19へ移行し、終了ボタン205が押下されたか否かを判断して(S19)、押下されていない場合はS11へ移行する。すなわち、CPU50は、デバイスリスト画面200を表示した後、上記いずれかの操作がなされるまでS11〜S19のループ処理にて待機する。
After displaying the
デバイスリスト画面200が表示されると、通常、使用者は先ずバージョンアップしたいデバイスの選択を行う。この場合、デバイスのクリックが最初に行われ、S11にて肯定判断してS21へ移行する。S21では、既に選択されている機種と異機種のデバイスがクリックされたか否かを判断する。デバイスを初めてクリックした場合は、既に選択されている機種がないので、否定判断してS23へ移行する。S23では、クリックされたデバイスに関する表示部を反転表示する。例えば、デバイスリスト201の一番上に表示したレーザプリンタ(デバイス名:1660,NICデバイス名:2010)がクリックされると、デバイスリスト画面200は図9に例示するように変化する。この反転表示(S23)の後は、S11〜S19のループ処理へ復帰する。なお、後述のように本バージョンアップ処理では、反転表示したデバイスがバージョンアップの対象となる。 続いて、同機種全て選択ボタン204が押下されると、S13にて肯定判断してS25へ移行する。S25では、反転表示となっているものと同機種のデバイスを全て反転表示した後、S11〜S19のループ処理へ復帰する。例えば、図9に例示したように、デバイスリスト201の一番上に表示したレーザプリンタ(デバイス名:1660,NICデバイス名:2010)を反転表示した状態で同機種全て選択ボタン204が押下されると、図10に例示するように、そのレーザプリンタと同機種のレーザプリンタを全て反転表示する。従って、同機種全て選択ボタン204を押下することにより、同一機種のデバイスを一括してバージョンアップの対象に指定することができる。
When the
また、本バージョンアップ処理では、デバイスを個々に指定してバージョンアップの対象とすることもできる。一つのデバイスを指定する場合は、使用者は前述のように所望の一つのデバイスをクリックすればよいが、複数のデバイスを個々に指定した場合は、デバイスのクリックを複数回繰り返す。 Also, in this version upgrade process, devices can be designated individually for upgrade. When designating one device, the user may click on one desired device as described above. However, when a plurality of devices are individually designated, the device click is repeated a plurality of times.
そこで、CPU50は、二つ目以降のデバイスがクリックされたときは、前述のS21にて、既に選択されている機種と異機種のデバイスがクリックされたか否かを判断する。後述するように、本バージョンアップ処理では、デバイスが選択されるとそのデバイスにファームウェアを送信してバージョンアップを行っている。ところが、一般にファームウェアでは、適合する機種が限定されている。このため、機種の異なる複数のデバイスが選択されると、ファームウェアの適合性の判断や、前述の同機種全て選択ボタン204の押下に対応する処理で問題が生じる。そこで、既に選択されている機種と異機種のデバイスがクリックされた場合は(S21:YES)、S27以下の処理へ移行する。
Therefore, when the second and subsequent devices are clicked, the
S27では、図11に示す選択機種変更ダイヤログ220を開き、デバイスリスト画面200の上に重ねて表示する。図11に示すように、選択機種変更ダイヤログ220には、「既に選択している機種とは別の機種が選択されました新しい選択を有効にしますか?」というメッセージと、YESボタン221及びNOボタン222とが表示される。そして、YESボタン221が押下された場合は(S29:YES)、S31へ移行して既に選択されているデバイスの反転表示を解除し、続いて、新たにクリックされたデバイスを前述のS23にて反転表示した後、S11〜S19のループ処理へ移行する。
In
この処理により、以前の選択を無効にして、新たにクリックされたデバイスの選択のみを有効にすることができる。また、選択機種変更ダイヤログ220にてNOボタン222が押下された場合は(S29:NO)、何もせずにそのままS11〜S19のループ処理へ移行する。この処理により、以前の選択をそのまま有効にして、新たにクリックされたデバイスの選択を無効にすることができる。なお、YESボタン221またはNOボタン222が押下されると、CPU50は選択機種変更ダイヤログ220を消し、デバイスリスト画面200の全面を表示する。
By this process, it is possible to invalidate the previous selection and validate only the newly clicked device selection. If the
一方、新たにクリックされたデバイスが既に選択されているデバイスと同一機種の場合は(S21:NO)、そのままS23へ移行し、クリックされたデバイスを既に選択されているデバイスと共に反転表示する。この処理により、デバイスリスト201に表示された同一機種のデバイスの内、バージョンアップしたいものだけを複数選択することができる。
On the other hand, if the newly clicked device is the same model as the already selected device (S21: NO), the process proceeds to S23 as it is, and the clicked device is highlighted together with the already selected device. With this process, it is possible to select a plurality of devices of the same model displayed in the
以上の処理によってバージョンアップしたい所望のデバイスを選択した後、使用者は、本体ファームウェアアップデートボタン202またはNICファームウェアアップデートボタン203を押下する。本体ファームウェアアップデートボタン202が押下されると、S15にて肯定判断してS33へ移行する。S33では、図12に例示するファイル名指定ダイヤログ230を開き、デバイスリスト画面200の上に重ねて表示する。図12に示すように、ファイル名指定ダイヤログ230には、選択されているデバイスの機種名が表示されると共に、ファイル名入力欄231、OKボタン232、及び参照ボタン233が表示される。ファイル名指定ダイヤログ230を開くと(S33)、CPU50はS35のファイル名入力/選択処理を実行し、この処理をファイル名指定ダイヤログ230のOKボタン232が押下されるまで繰り返す(S37)。S35のファイル名入力/選択処理では、CPU50は次の一連の処理を実行する。すなわち、キーボード53からファームウェアのファイル名が直接入力された場合、そのファイル名をファイル名入力欄231に表示する。参照ボタン233が押下された場合、マネージャGと通信可能に接続された他の記憶手段(例えば各種サーバ)またはROM51に記憶されたファームウェアを、図示しない新たなダイヤログを開いてリストアップする。そして、キーボード53のカーソルキー等によってファームウェアが選択されると、そのファームウェアのファイル名をファイル名入力欄231に表示する。
After selecting a desired device to be upgraded by the above processing, the user presses the main body
以上のファイル名入力/選択処理(S35)によって所望のファイル名がファイル名入力欄231に表示されると、使用者はOKボタン232を押下する。すると、CPU50は、S37で肯定判断してS39へ移行する。S39では、後述のファームウェア送信処理を実行して、上記入力されたファイル名のファームウェアをLPRで、すなわちプリンタ10等のデバイスでのみ処理されるように、ネットワークWへ送信する。また、S39の終了後は、ファイル名指定ダイヤログ230を消し、デバイスリスト画面200の全面を表示してS11〜S19のループ処理へ移行する。
When a desired file name is displayed in the file name input field 231 by the above file name input / selection process (S35), the user presses the
NICファームウェアアップデートボタン203が押下された場合もほぼ同様であり、この場合、S17にて肯定判断してS43へ移行する。S43では、図12に例示したものとほぼ同様のファイル名指定ダイヤログ230を開き、続いて、上記とほぼ同様のファイル名入力/選択処理(S43)を、ファイル名指定ダイヤログ230のOKボタン232が押下されるまで繰り返す(S47)。但し、S43で表示されるファイル名指定ダイヤログ230では、機種名としてNICの機種名(上記例では2010)が表示される点において図12と異なる。ファイル名入力/選択処理(S45)によって所望のファイル名を表示し、OKボタン232が押下されると、CPU50は、S47で肯定判断してS49へ移行する。S49では、ファームウェア送信処理を実行して、上記入力されたファイル名のファームウェアをTFTPで、すなわちNICでのみ処理されるように、ネットワークWへ送信する。また、S49の終了後は、ファイル名指定ダイヤログ230を消し、S11〜S19のループ処理へ移行する。更に、そのループ処理中に終了ボタン205が押下されると、このバージョンアップ処理を終了する。
The same applies when the NIC
図6は、上記ファームウェア送信処理を表すフローチャートである。図6に示すように、処理を開始すると、先ずS51にて送信用ファームウェアファイルからデバイス名を読み込む。ここで、本バージョンアップ処理で取り扱うファームウェアには、各ファームウェアに対応して、図13(A)に例示する送信用ファームウェアファイル300が形成されている。図13(A)に例示するように、送信用ファームウェアファイル300は、そのファームウェアが適合するデバイス名301と、そのファームウェアを格納すべきROM(プリンタ10のROM12,NIC1のROM6等)のアドレス302と、ファームウェアの処理プログラムそのもの(ファームウェア303)と、そのファームウェア303を記憶したROM6,12等の記憶領域6a,12a等を書き換えるための書換プログラム304と、後述のようにその書換プログラム304をコピーする処理等を実行するための制御プログラム305と、を羅列して構成されている。
FIG. 6 is a flowchart showing the firmware transmission process. As shown in FIG. 6, when the process is started, first, in S51, the device name is read from the transmission firmware file. Here, the firmware handled in the version upgrade process has a
S51では、S35またはS45にて選択されたファイル名に対応する送信用ファームウェアファイル300から、デバイス名301を読み込むのである。続くS53では、デバイスリスト201に表示しているデバイスの総数を検出して変数Nに代入し、S55にて変数iを0にリセットする。続いて、S57にてiに1を加算した後、S59にて、デバイスリスト201の上からi番目のデバイスが、選択されて反転表示となっているか否かを判断する。反転表示となっている場合は(S59:YES)、S61へ移行し、デバイスリスト201に表示したそのi番目のデバイスのデバイス名が、S51で読み込んだファームウェアのデバイス名301と一致するか否かを判断する。
In S51, the
そして、一致した場合は(S61:YES)、デバイスリスト201からそのデバイスのIPアドレスを読み込み(S63)、そのIPアドレスにネットワークWを介して送信用ファームウェアファイル300を送信する(S65)。ここで、S65では前述のように、NIC1のROM6の記憶領域6aに書き換えるべきファームウェア303を有する送信用ファームウェアファイル300はTFTPで、プリンタ10のROM12の記憶領域12aに書き換えるべきファームウェア303を有する送信用ファームウェアファイル300はLPRで、それぞれ送信する。
If they match (S61: YES), the IP address of the device is read from the device list 201 (S63), and the
なお、TFTPの転送パラメータには、周知のように、PUTまたはGET(送信または受信)を表すパラメータと、送信先のIPアドレスと、送信元のファームウェアファイルのパス名と、送信先のファームウェアファイルのパス名とがある。しかしながら、NIC1は一般にファイルシステムを持たないので、送信先のファームウェアファイルのパス名はあまり意味を持たない。そこで、本実施の形態では、図13(B)に例示するように、このパス名の代わりにマネージャG固有のパスワードを添付した。このパスワードの効果は、後に詳述する。 As is well known, the TFTP transfer parameters include a parameter indicating PUT or GET (transmission or reception), a destination IP address, a path name of the source firmware file, and a destination firmware file. There is a path name. However, since NIC1 generally does not have a file system, the path name of the destination firmware file has little meaning. Therefore, in this embodiment, as illustrated in FIG. 13B, a password unique to the manager G is attached instead of this path name. The effect of this password will be described in detail later.
図6に戻って、送信用ファームウェアファイル300の送信後は、S67へ移行し、全てのデバイスに対して処理を終了してi=Nとなったか否かを判断する。i=Nでなければ(S67:NO)、前述のS57へ移行してiに1を加算し、次のデバイスに対して同様の処理を行う。このとき、i番目のデバイスが反転表示となっていなければ(S59:NO)、そのままS67へ移行してi=Nとなったか否かを判断する。そして、i=NでなければS57へ移行し、更に次のデバイスに対して同様の処理を行う。この処理を繰り返して、全てのデバイスに対して上記処理を終了してi=Nとなると、S67にて肯定判断して処理を終了し、図5の処理へ復帰する。
Returning to FIG. 6, after transmitting the
以上の処理により、デバイスリスト201で反転表示した全てのデバイス(またはそれに接続されたNIC)に対して、S35またはS45にて選択されたファームウェア303を有する送信用ファームウェアファイル300を送信することができる。一方、上記処理の途中でS61にて、i番目のデバイスのデバイス名が、S51で読み込んだファームウェアのデバイス名301と一致しないと判断した場合は(S61:NO)、S69へ移行し、その時点ではまだ表示中のファイル名指定ダイヤログ230の上に、図14に例示する警告メッセージ240を重ねて表示する。そして、この場合は、S63,S65による送信用ファームウェアファイル300の送信を行うことなく、そのまま上記67へ移行する。このため、送信用ファームウェアファイル300をそのファームウェア303に適合しないデバイスに送信してしまうのを良好に防止することができる。
Through the above processing, the
このように、マネージャGでは、送信用ファームウェアファイル300を送信可能なデバイスをデバイスリスト201にリストアップして表示することができる。また、その表示されたデバイスの中から、送信用ファームウェアファイル300を送信すべきデバイスを、個々に選択することも同一機種を一括して選択することもできる。このため、バージョンアップしたいデバイスの選択がきわめて容易に行え、通信システムSの作業性をきわめて向上させることができる。しかも、選択したデバイスとファームウェア303とが適合しない場合には、警告メッセージ240が表示されるので、送信用ファームウェアファイル300を適合しないデバイスに送信し、誤動作を招いたり他のエラーメッセージを発生したりするのを良好に防止することができる。
As described above, the manager G can list up and display devices that can transmit the
次に、プリンタ10のCPU11が実行する処理について説明する。ROM12の書き換え可能な記憶領域12aには、図15(A)に例示するように、印字部17の制御等に関わる小型の処理プログラムとしてのファームウェア403と、そのファームウェア403等を記憶した記憶領域12aの記憶内容を書き換える書換プログラム404と、その書換プログラム404をRAM13にコピー(複写)する等の後述の処理のための制御プログラム405とが格納されている。そして、CPU11は、制御プログラム405に基づいて次の処理を実行する。図16は、プリンタ10のCPU11が実行するヴァージョンアップ処理を表わすフローチャートである。図16に示すように、処理を開始すると、先ず、S81にて送信用ファームウェアファイル300を受信したか否か判断し、受信していない場合はS83にて通常の処理を実行してS81へ戻る。すなわち、プリンタ10がマネージャGからネットワークWを介して送信用ファームウェアファイル300を受信するまでは(S81:NO)、記憶領域12aに記憶されたファームウェア403や、ROM12に書き換え不能に記憶された他の処理プログラムに基づき、プリンタ10としての通常の処理を実行する(S83)。
Next, processing executed by the
なお、この通常の処理としては、印字部17の駆動等の周知の処理の他、マネージャGが送信したデバイス情報要求(S1)に対してデバイス情報100を返信する処理等も含まれている。また、送信用ファームウェアファイル300には、図示しないヘッダ等にそのデータが送信用ファームウェアファイル300であることを示す指示情報が添付されており、CPU11は、その指示情報を検出したときにS81にて肯定判断する。
The normal processing includes processing for returning the
プリンタ10が送信用ファームウェアファイル300を受信すると(S81:YES)、S87へ移行し、図15(B)に模式的に例示するように、書換プログラム404をRAM3上へコピーする。そして、続くS91〜S99では、RAM3上へコピーした書換プログラム404に基づく処理を次のように実行し、図15(C)に模式的に例示するように、記憶領域12aに記憶されたデータを書き換えて処理を終了する。
When the printer 10 receives the transmission firmware file 300 (S81: YES), the process proceeds to S87, and the
すなわち、S91ではROM12の記憶領域12a上のデータを消去し、続くS93では、受信した送信用ファームウェアファイル300のデータ(ファームウェア303,書換プログラム304,及び制御プログラム305)を、ROM12の記憶領域12aに書き込む。S95では、その書き込みが終了したか否かを判断し、終了するまでS93による書き込みの処理を繰り返した後(S95:YES)、S99へ移行する。S99では、CPU11の処理をROM12上の処理(例えば、プリンタ10をリセットする処理)へ移行させ、一旦処理を終了する。すると、記憶領域12aに新たに記憶されたファームウェア303や、ROM12に書き換え不能に記憶された他の処理プログラムに基づき、プリンタ10としての通常の処理が実行可能となる。
That is, in S91, the data in the storage area 12a of the
このように、プリンタ10では、書換プログラム404を一旦RAM13に複写(コピー)し、その複写後の書換プログラム404に基づいてROM12の記憶内容を書き換えているので、一つの書換プログラム404によってROM12の記憶内容を一気に書き換えることができる。このため、プリンタ10の機械的な構成や制御システムとしての構成を簡略化し、ROM12の記憶容量を充分有効に活用すると共に、書き換えに要する処理時間も短縮することができる。また、このような書き換えを行ったROM12には、同様に書換プログラム304及び制御プログラム305が記憶されるので、プリンタ10が更に他の送信用ファームウェアファイルを受信したときも、前述の処理と同様に書き換えを行うことができる。
As described above, in the printer 10, the
また、CPU11は、送信用ファームウェアファイル300を受信すると(S81:YES)自動的にS87〜S95の処理を実行して記憶領域12aを書き換え、書き換えが終了すると(S95:YES)、ROM12に基づく通常の処理へ自動的に移行することができる。このため、記憶領域12aの書き換えがきわめて容易に行えると共に、書き換え後にはきわめて迅速に通常の制御に復帰させることができる。従って、プリンタ10の操作性がきわめて向上する。
When the
NIC1のROM6の記憶領域6aにも同様にファームウェア,書換プログラム,及び制御プログラムが記憶されており、同様の処理によってROM6の記憶内容を一気に書き換えることができる。しかも、書き換えの開始や通常の処理への復帰も、上記と同様に自動的に行うことができる。但し、NIC1における処理は、送信用ファームウェアファイル300がTFTPで送信されたかLPRで送信されたかによって、次のような振り分けを行う点で異なる。
Similarly, firmware, a rewrite program, and a control program are stored in the storage area 6a of the
図17は、NIC1のCPU5が実行するヴァージョンアップ処理を表わすフローチャートである。図17に示すように、この処理は図16の処理とほぼ同様であり、前述のS81とS87との間に次のような処理を設けた点において異なる。すなわち、送信用ファームウェアファイル300を受信してS81にて肯定判断すると、S84へ移行し、その送信用ファームウェアファイル300がTFTPで送信されたものか否かを判断する。送信用ファームウェアファイル300がTFTPで送信された場合は(S84:YES)、S85へ移行して、その送信用ファームウェアファイル300に添付されたパスワードが適切か否か、すなわち、マネージャG固有のものであるか否かを判断する。送信用ファームウェアファイル300がTFTPで送信され、その転送パラメータのパス名の代わりに適切なパスワードが添付(付与)されている場合は(S84,S85:YES)、S87以下の処理へ移行して前述のようにROM6の記憶内容を書き換える。一方、送信用ファームウェアファイル300が他のプロトコル(この場合、LPR)で送信された場合は(S84:NO)、S86へ移行する。S86では、その送信用ファームウェアファイル300をそのままプリンタ10に転送し、再びS81,S83のループ処理へ移行して他の送信用ファームウェアファイル300を受信するまで待機する。また、送信用ファームウェアファイル300に添付されたパスワードが適切でない場合は(S85:NO)、そのままS81,S83のループ処理へ移行し、S81で受信した送信用ファームウェアファイル300は破棄する。
FIG. 17 is a flowchart showing a version up process executed by the
マネージャGでは、図6のS65に関連して説明したように、NIC1のROM6の記憶領域6aに書き換えるべき送信用ファームウェアファイル300はTFTPで、プリンタ10のROM12の記憶領域12aに書き換えるべき送信用ファームウェアファイル300はLPRで、それぞれ送信している。そこで、NIC1では、送信用ファームウェアファイル300がTFTPで送信されたかLPRで送信されたかによって、その送信用ファームウェアファイル300を振り分けているのである。そして、プリンタ10に転送された送信用ファームウェアファイル300は、前述の図16の処理によって記憶領域12aに書き換えられる。このため、本実施の形態では次のような効果が生じる。
In the manager G, as described in relation to S65 of FIG. 6, the
すなわち、ファームウェア303がNIC1に書き換えるべきものであるかデバイスに書き換えるべきものであるかをプロトコルによって判断しているので、そのいずれであるかを示すデータ(例えば識別子等)を、送信用ファームウェアファイル300に添付する必要がない。このため、送信処理が簡略化され、装置の構成を簡略化して製造コストを低減することができると共に、処理速度を向上させることができる。
That is, since it is determined by the protocol whether the
また、マネージャGでは、プリンタ10へ転送すべき送信用ファームウェアファイル300を、印字部17による画像形成を指示する画像データと同様の、周知のLPRで送信している。このため、NIC1では、LPRで送信されてきたデータであれば、そのデータの種類に関わらず一律にプリンタ10に転送することによって、データを振り分けることができる。従って、NIC1の処理及び構成を簡略化し、その処理速度を一層向上させると共に製造コストを低減することができる。
The manager G transmits a
更に、NIC1のROM6の書き換えは、送信用ファームウェアファイル300に添付されたパスワードが適切なときにのみ許可されるので、マネージャG以外のコンピュータから送られたファームウェアやプログラム以外のデータ,プリンタ10に宛てたファームウェア等がROM6に書き込まれるのを良好に防止することができる。特にNIC1では、他のコンピュータから異常なファームウエアを受信してROM6に書き込むと、マネージャGとの間でデータの送受信が全くできなくなる可能性もあるが、本実施の形態ではこのような事態の発生を良好に防止することができる。しかも、本実施の形態では、TFTPのパス名の代わりにパスワードを添付しただけの簡単なデータ体系によってこのような効果を得ることができるので、通信システムとしての構成を簡略化しつつ、その信頼性を高めることができる。
Further, since rewriting of the
以上、詳述したように、本実施の形態の通信システムSでは、NIC1及びプリンタ10が、一つの書き換えプログラムによって、ROM6またはROM12の記憶内容を一気に書き換えることができる。このため、装置の機械的な構成や制御システムとしての構成を簡略化し、ROM6,12の記憶容量を充分有効に活用すると共に、書き換えに要する処理時間も短縮することができる。しかも、デバイスリスト画面200により、その書き換えを行うべきデバイス(処理装置)もきわめて容易に選択できる。更に、前述のように送信用ファームウェアファイル300のNIC1またはプリンタ10への振り分けも確実に行える。
As described above in detail, in the communication system S according to the present embodiment, the
なお、上記説明では、NIC1にプリンタ10を一対一に接続した場合を中心に説明したが、図1に示すように、NIC1には、プリンタ40を接続すると共にこれに並列に、例えば、イメージスキャナ70を接続することもできる。更に、上記プリンタ40に対して、インテリジェントな(固有のCPUを有した)用紙ソータ80を接続することもできる。この場合には、プリンタ40は、用紙ソータ80のデバイス情報もNIC1のデバイス情報と共に取得し、図7のデバイス情報100に添付してマネージャGに返信する。
In the above description, the case where the printer 10 is connected to the
上記実施の形態において、S15,S17の処理が判断処理に、S39,S49の処理がデータ送信処理に、それぞれ相当し、上記判断処理及びデータ送信処理を実行するCPU5及びそれらの処理を記憶したROM51記憶領域が判断手段及びデータ送信手段に相当する。また、S86及びS87〜99の処理を実行するCPU5及びそれら処理を記憶したROM6の記憶領域が、データ処理手段及びデータ転送手段にそれぞれ相当する。
In the above embodiment, the processes of S15 and S17 correspond to the determination process, and the processes of S39 and S49 correspond to the data transmission process, respectively, and the
更に、本発明は上記実施の形態になんら限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の形態で実施することができる。 Furthermore, the present invention is not limited to the above-described embodiment, and can be implemented in various forms without departing from the gist of the present invention.
例えば、上記実施の形態では、NIC1によるバージョンアップ処理においてのみパスワードによるチェックを行ったが(S85)、プリンタ10等におけるバージョンアップ処理でも、パスワードによるチェックを行ってもよい。このような処理は、図18に例示するように、送信用ファームウェアファイル300の上記各データ(デバイス名301,アドレス302,ファームウェア303,書換プログラム304,制御プログラム305)と、その送信用ファームウェアファイル300のヘッダ310(図13では図示省略した)との間に、パスワード302を挿入すると共に、図19に例示するように、図16のS81とS87との間に、図17で説明したS85の処理(パスワード302が適切か否かの判断)を挿入すれば実行できる。この場合、マネージャG以外のコンピュータから送られたファームウェアやプログラム以外のデータ等がROM12に書き込まれるのを良好に防止することができる。また、このようなパスワードは、ヘッダ310に組み込まれても、他のデータ301〜305に組み込まれてもよい。
For example, in the above embodiment, the password check is performed only in the upgrade process by the NIC 1 (S85), but the password check may be performed in the upgrade process in the printer 10 or the like. As illustrated in FIG. 18, such processing includes each data (
また、上記判断処理,データ送信処理等を記憶する記憶媒体としては、マネージャGが読み取り可能な記憶媒体であればよく、ROM,RAM等の素子の他、種々の形態が考えられる。例えば、CD−ROM,フロッピーディスク等でもよく、カードスロットへ挿入可能なプログラムカートリッジ等でもよく、インターネット上のファイルサーバであってもよい。 The storage medium for storing the determination process, the data transmission process, and the like may be any storage medium that can be read by the manager G. Various forms other than elements such as a ROM and a RAM can be considered. For example, it may be a CD-ROM, floppy disk, or the like, a program cartridge that can be inserted into a card slot, or a file server on the Internet.
更に、本発明は、プリンタ10等の画像形成装置を中心としたデータ通信システムに限らず、通信カラオケシステム等、他の種々の通信システムに適用することができる。また、本発明は、一台のパーソナルコンピュータにNICを介して一台のプリンタを接続したような簡単なデータ通信システムに対しても適用することができる。すなわち、このようなデータ通信システムにおいても、前述のようにデータを振り分けることができる。 Furthermore, the present invention can be applied not only to a data communication system centering on an image forming apparatus such as the printer 10 but also to various other communication systems such as a communication karaoke system. The present invention can also be applied to a simple data communication system in which one printer is connected to one personal computer via an NIC. That is, even in such a data communication system, data can be distributed as described above.
1・・NIC2・・トランシーバ5,11・・CPU6,12・・ROM7,13・・RAM6a,12a・・記憶領域9・・接続ライン10,30,40・・プリンタ17・・印字部53・・キーボード70・・イメージスキャナ80・・用紙ソータ100・・デバイス情報101・・デバイスクラス102・・デバイス名103・・ステータス104・・プリンタバージョン105・・NICデバイス名106・・NICバージョン107・・IPアドレス200・・デバイスリスト画面201・・デバイスリスト202・・本体ファームウェアアップデートボタン203・・NICファームウェアアップデートボタン204・・同機種全て選択ボタン205・・終了ボタン220・・選択機種変更ダイヤログ230・・ファイル名指定ダイヤログ240・・警告メッセージ300・・送信用ファームウェアファイル301・・デバイス名302・・アドレス303,403・・ファームウェア304,404・・書換プログラム305,405・・制御プログラム320・・パスワードG・・マネージャW・・ネットワーク
1 ··
Claims (6)
前記コンピュータを、
前記複数のデータ受信装置の前記表示手段へのリスト表示を制御する装置情報表示制御手段と、
前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第1操作入力が指定するデータ受信装置を示す第1指定情報を取得する第1操作入力情報取得手段と、
前記第1指定情報が示すデータ受信装置を第1のデータ受信装置として選択する第1装置選択手段と、
前記第1操作入力情報取得手段が前記第1指定情報を取得したことを条件として、前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第2操作入力が指定するデータ受信装置を示す第2指定情報を取得する第2操作入力情報取得手段と、
前記第2指定情報が示すデータ受信装置を第2のデータ受信装置として選択する第2装置選択手段と、
前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とについて判断する判断手段と、
前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とが異なると前記判断手段が判断する場合には、前記第1のデータ受信装置についての既存の選択を解除せず前記第2指定情報が示すデータ受信装置を第1のデータ受信装置として選択しない、または、前記第1のデータ受信装置についての既存の選択を解除し前記第2指定情報が示すデータ受信装置を新たな第1のデータ受信装置として選択し、一方、前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とが同じであると前記判断手段が判断する場合には、前記第1のデータ受信装置についての既存の選択を解除せず前記第2指定情報が示すデータ受信装置を追加の第1のデータ受信装置として選択する送信対象選択手段と、
前記第1のデータ受信装置に適するファームウェアの、前記インタフェースを介した前記第1のデータ受信装置への送信を制御するファームウェア送信制御手段と、
して機能させ、
前記第2操作入力情報取得手段を、前記送信対象選択手段が第1のデータ受信装置についての選択に係る処理を実行した後も前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第2操作入力が指定するデータ受信装置を示す第2指定情報を取得するよう機能させることを特徴とするファームウェア送信プログラム。 An interface for transmitting firmware for functioning the data receiving device to each of the plurality of data receiving devices, a display means, an operation input means, and a model storage means for storing the models of the plurality of data receiving devices; A firmware transmission program that can be read and executed by a computer of a data transmission device comprising:
The computer,
Device information display control means for controlling list display on the display means of the plurality of data receiving devices;
First operation input information acquisition means for acquiring first designation information indicating a data reception apparatus designated by a first operation input via the operation input means among data reception apparatuses displayed by the display means as a list ;
First device selecting means for selecting the data receiving device indicated by the first designation information as the first data receiving device;
Data reception designated by the second operation input via the operation input means among the data reception devices displayed on the list by the display means on condition that the first operation input information obtaining means has obtained the first designation information. Second operation input information acquisition means for acquiring second designation information indicating the device;
Second device selection means for selecting the data receiving device indicated by the second designation information as a second data receiving device;
Determining means for determining a model of the first data receiving device and a model of the second data receiving device;
If the determination means determines that the model of the first data receiving device is different from the model of the second data receiving device, the existing selection for the first data receiving device is not canceled and the The data receiving device indicated by the second designation information is not selected as the first data receiving device, or the existing selection for the first data receiving device is canceled and the data receiving device indicated by the second designation information is newly set. If the determination means determines that the model of the first data receiving apparatus is the same as the model of the second data receiving apparatus, the first data receiving apparatus is selected as the first data receiving apparatus . Transmission target selection means for selecting, as an additional first data receiving device, the data receiving device indicated by the second designation information without canceling the existing selection of one data receiving device;
A firmware transmission control means for controlling transmission said first suitable firmware data receiving apparatus, to said first data receiving device via the interface,
To function,
The second operation input information acquisition unit is the operation input unit of the data reception device that is displayed by the display unit after the transmission target selection unit performs processing related to the selection of the first data reception device. firmware transmission program according to functions are not characterized Rukoto to the second operation input through acquires the second designation information indicating the data reception apparatus to specify.
前記コンピュータを、
前記第1指定情報が示すデータ受信装置を第1のデータ受信装置として第1装置選択手段が選択する場合および前記第2指定情報が示すデータ受信装置を前記送信対象選択手段が第1のデータ受信装置として選択する場合には、選択されるデータ受信装置について前記表示手段が表示する態様を第1のデータ受信装置であることを示す態様に変更し、一方、前記第1のデータ受信装置についての既存の選択を前記送信対象選択手段が解除する場合には、選択を解除されるデータ受信装置について前記表示手段が表示する態様を第1のデータ受信装置でないことを示す態様に変更する制御を行う送信対象情報表示制御手段と、
前記表示手段が表示する態様を前記送信対象情報表示制御手段が変更したことを条件として、前記操作入力手段を介した第3操作入力を取得する第3操作入力取得手段と、
して機能させ、
前記ファームウェア送信制御手段を、前記第3操作入力取得手段が前記第3操作入力を取得したことを条件として、ファームウェアを送信する制御を行う、
ように機能させることを特徴とするファームウェア送信プログラム。 The firmware transmission program according to claim 1,
The computer,
Wherein the first specification information data receiving apparatus shown first the transmission target selection means data receiving apparatus shown may and second designation information the first device selecting unit selects as the data receiving device first data received When selecting as a device , the mode displayed by the display means for the selected data receiving device is changed to a mode indicating the first data receiving device, while the mode for the first data receiving device is changed. When the transmission target selection unit cancels the existing selection, control is performed to change the display mode of the display unit for the data reception device to be canceled to a mode indicating that the selection is not the first data reception device. Transmission target information display control means;
A third operation input acquisition means for acquiring a third operation input via the operation input means on the condition that the transmission target information display control means has changed the mode displayed by the display means ;
To function,
The firmware transmission control means, on condition that the third operation input acquiring unit has acquired the third manipulation input, performs control to transmit the firmware,
A firmware transmission program characterized in that it functions as described above.
前記複数のデータ受信装置の前記表示手段へのリスト表示を制御する装置情報表示制御ステップと、
前記表示手段がリスト表示したデータ受信装置のうち前記操作入力手段を介した第1操作入力が指定するデータ受信装置を示す第1指定情報を取得する第1操作入力情報取得ステップと、
前記第1指定情報が示すデータ受信装置を第1のデータ受信装置として選択する第1装置選択ステップと、
前記第1操作入力情報取得ステップで前記第1指定情報を取得したことを条件として、前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第2操作入力が指定するデータ受信装置を示す第2指定情報を取得する第2操作入力情報取得ステップと、
前記第2指定情報が示すデータ受信装置を第2のデータ受信装置として選択する第2装置選択ステップと、
前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種について判断する判断ステップと、
前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とが異なると前記判断ステップで判断した場合には、前記第1のデータ受信装置についての既存の選択を解除せず前記第2指定情報が示すデータ受信装置を第1のデータ受信装置として選択しない、または、前記第1のデータ受信装置についての既存の選択を解除し前記第2指定情報が示すデータ受信装置を新たな第1のデータ受信装置として選択し、一方、前記第1のデータ受信装置の機種と前記第2のデータ受信装置の機種とが同じであると前記判断ステップで判断した場合には、前記第1のデータ受信装置についての既存の選択を解除せず前記第2指定情報が示すデータ受信装置を追加の第1のデータ受信装置として選択する送信対象選択ステップと、
前記第1のデータ受信装置に適するファームウェアの、前記インタフェースを介した前記第1のデータ受信装置への送信を制御するファームウェア送信制御ステップと、を備え、
前記送信対象選択ステップで第1のデータ受信装置についての選択に係る処理を実行した後も、前記第2操作入力情報取得ステップで前記表示手段がリスト表示するデータ受信装置のうち前記操作入力手段を介した第2操作入力が指定するデータ受信装置を示す第2指定情報を取得することを特徴とする制御方法。 An interface for transmitting firmware for functioning the data receiving device to each of the plurality of data receiving devices, a display means, an operation input means, and a model storage means for storing the models of the plurality of data receiving devices; A control method for controlling a data transmission device comprising:
A device information display control step for controlling list display on the display means of the plurality of data receiving devices;
A first operation input information acquisition step of acquiring first designation information indicating a data reception device designated by a first operation input via the operation input unit among the data reception devices displayed as a list by the display unit;
A first device selection step of selecting a data receiving device indicated by the first designation information as a first data receiving device;
Data reception designated by the second operation input via the operation input means among the data reception devices displayed on the list by the display means on condition that the first designation information is obtained in the first operation input information obtaining step. A second operation input information acquisition step of acquiring second designation information indicating the device;
A second device selection step of selecting a data receiving device indicated by the second designation information as a second data receiving device;
A determination step of determining the model of the first data receiving device and the model of the second data receiving device;
If it is determined in the determination step that the model of the first data receiving device is different from the model of the second data receiving device, the existing selection for the first data receiving device is not canceled and the The data receiving device indicated by the second designation information is not selected as the first data receiving device, or the existing selection for the first data receiving device is canceled and the data receiving device indicated by the second designation information is newly set. If the determination step determines that the model of the first data receiving device and the model of the second data receiving device are the same, the first data receiving device is selected . A transmission target selection step of selecting the data receiving device indicated by the second designation information as an additional first data receiving device without canceling the existing selection of one data receiving device;
Said first suitable firmware data receiving apparatus, and a firmware transmission control step of controlling the transmission to the first data receiving apparatus via said interface,
Even after the processing related to the selection of the first data receiving device is executed in the transmission target selection step, the operation input unit is selected from the data receiving devices displayed by the display unit in the second operation input information acquisition step. control method in which the second operation input via is characterized that you get a second designation information indicating the data reception apparatus to specify.
前記第1指定情報が示すデータ受信装置を第1のデータ受信装置として第1装置選択手段が選択する場合および前記第2指定情報が示すデータ受信装置を前記送信対象選択ステップで第1のデータ受信装置として選択する場合には、選択されたデータ受信装置について前記表示手段が表示する態様を第1のデータ受信装置であることを示す態様に変更し、一方、前記第1のデータ受信装置についての既存の選択を前記送信対象選択手段が解除する場合には、選択を解除されるデータ受信装置について前記表示手段が表示する態様を第1のデータ受信装置でないことを示す態様に変更する制御を行う送信対象情報表示制御ステップと、
前記表示手段が表示する態様を前記送信対象情報表示制御ステップで変更したことを条件として、前記操作入力手段を介した第3操作入力を取得する第3操作入力取得ステップと、
を備え、
前記ファームウェア送信制御ステップは、前記第3操作入力取得ステップで前記第3操作入力を取得したことを条件として、ファームウェアを送信する制御を行う、
ことを特徴とする制御方法。 The control method according to claim 3 , wherein
When the first device selection unit selects the data receiving device indicated by the first designation information as the first data receiving device, and the data receiving device indicated by the second designation information is received in the transmission target selection step . when selecting a device to change the mode to indicate that a mode of displaying said display means for a selected data receiver is a first data receiver, whereas, for the first data receiving device When the transmission target selection unit cancels the existing selection, control is performed to change the display mode of the display unit for the data reception device to be canceled to a mode indicating that the selection is not the first data reception device. A transmission target information display control step;
A third operation input obtaining step for obtaining a third operation input via the operation input means, on the condition that the mode displayed by the display means is changed in the transmission target information display control step;
With
The firmware transmission control step performs control to transmit firmware on the condition that the third operation input is acquired in the third operation input acquisition step.
A control method characterized by that.
前記コンピュータは、前記ファームウェア送信プログラムを前記プログラム記憶手段から読み取り、読取ったファームウェア送信プログラムを実行する、
ことを特徴とするデータ送信装置。 Data comprising: a program storage unit that stores the firmware transmission program according to claim 1 ; the interface; the display unit; the operation input unit; the model storage unit; and the computer. A transmitting device,
The computer reads the firmware transmission program from the program storage means and executes the read firmware transmission program.
A data transmitting apparatus characterized by that.
請求項5に記載のデータ送信装置と、
が接続されたネットワークシステム。 A plurality of data receiving devices;
A data transmission device according to claim 5 ;
Connected network system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005263675A JP4207032B2 (en) | 2005-09-12 | 2005-09-12 | Firmware transmission program, control method, data transmission apparatus, and network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005263675A JP4207032B2 (en) | 2005-09-12 | 2005-09-12 | Firmware transmission program, control method, data transmission apparatus, and network system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10008112A Division JPH11203218A (en) | 1998-01-19 | 1998-01-19 | Data communication system, interface device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006073020A JP2006073020A (en) | 2006-03-16 |
JP4207032B2 true JP4207032B2 (en) | 2009-01-14 |
Family
ID=36153503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005263675A Expired - Fee Related JP4207032B2 (en) | 2005-09-12 | 2005-09-12 | Firmware transmission program, control method, data transmission apparatus, and network system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4207032B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008279714A (en) * | 2007-05-14 | 2008-11-20 | Murata Mach Ltd | Image forming apparatus |
CN107181635A (en) * | 2017-07-31 | 2017-09-19 | 郑州云海信息技术有限公司 | A kind of method and system of upgrade server external equipment |
-
2005
- 2005-09-12 JP JP2005263675A patent/JP4207032B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006073020A (en) | 2006-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3812115B2 (en) | Communications system | |
US6990659B1 (en) | Device for rewriting software programs in peripheral devices connected to a network | |
JPH11203218A (en) | Data communication system, interface device and storage medium | |
JP4932324B2 (en) | Operation request receiving apparatus, program, recording medium, operation request receiving apparatus control method, communication system, and communication system operation method | |
US20100070657A1 (en) | Peripheral determination program, main control device and control system | |
JP4207032B2 (en) | Firmware transmission program, control method, data transmission apparatus, and network system | |
JP5472086B2 (en) | Device, terminal device, server, program, and firmware update method | |
JP3856045B2 (en) | Communication system and storage medium | |
JP2003069569A (en) | Network system including terminal or record medium with program | |
JP3856044B2 (en) | Program output device | |
JP2000194543A (en) | Network device | |
JP2003264556A (en) | Device and program for setting address | |
JP2006215805A (en) | Print information processing device, print information processing program, and recording medium | |
JP3658325B2 (en) | NETWORK INTERFACE DEVICE, DEVICE TERMINAL DEVICE, AND NETWORK INTERFACE DEVICE CONTROL METHOD | |
US6572288B1 (en) | Printing system and method of managing data in the printing system | |
JP6554944B2 (en) | Printing apparatus control method, program update system, and printing apparatus | |
JP2007241672A (en) | Emulation device, emulation system, and control method and control program for emulation device | |
JP4133226B2 (en) | Printing apparatus and OEMID information control method | |
JP2009015531A (en) | Information processor, information processing program, and recording medium with information processing program recorded therein | |
JP4007098B2 (en) | Information processing apparatus and state grasping program | |
JPH08335149A (en) | Information processor, printer, printing system and printing data transfer method for printing system | |
JP2005100156A (en) | Data processor, print device, image processing system and processing method for print job | |
JP2009140068A (en) | Information processing apparatus and information processing method for information processing apparatus | |
JP2003237194A (en) | Printer | |
JP2008087364A (en) | Printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080325 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080526 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080624 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080825 |
|
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: 20080924 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081007 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111031 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111031 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121031 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131031 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |