[go: up one dir, main page]

JP2008033709A - Method and system for transmitting software update data - Google Patents

Method and system for transmitting software update data Download PDF

Info

Publication number
JP2008033709A
JP2008033709A JP2006207560A JP2006207560A JP2008033709A JP 2008033709 A JP2008033709 A JP 2008033709A JP 2006207560 A JP2006207560 A JP 2006207560A JP 2006207560 A JP2006207560 A JP 2006207560A JP 2008033709 A JP2008033709 A JP 2008033709A
Authority
JP
Japan
Prior art keywords
transmission
peripheral device
data
computer
predetermined
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
JP2006207560A
Other languages
Japanese (ja)
Inventor
Akio Takamoto
明男 高本
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006207560A priority Critical patent/JP2008033709A/en
Publication of JP2008033709A publication Critical patent/JP2008033709A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method, a system and a program for retransmitting update data from a remote site when a failure occurs halfway through transmission of update data of firmware for peripheral equipment such as a printer connected to a communication network. <P>SOLUTION: A computer 11 or the like receives, when a transmission error occurs for the update data, data reporting the transmission error from the peripheral equipment (printer 13a1 or the like), cancels transmission of remaining predetermined transmitting records for the update data, and transmits a command for resetting the peripheral equipment (printer 13a1 or the like) to the peripheral equipment (printer 13a1 or the like). <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ソフトウェアの更新データを送信する方法及びシステムに関する。特に、通信ネットワークに接続されたプリンタ等の周辺機器のファームウェアの更新データを送信する方法及びシステムに関する。   The present invention relates to a method and system for transmitting software update data. In particular, the present invention relates to a method and system for transmitting firmware update data of peripheral devices such as printers connected to a communication network.

従来、通信ネットワークに接続されたプリンタ等の周辺機器のファームウェアをバージョンアップや不具合対応等のために更新する場合、当該通信ネットワークに接続されたコンピュータから、当該ファームウェアの更新データを送信することにより、当該プリンタ等の周辺機器において当該更新データを受信して更新処理を実行している。   Conventionally, when updating the firmware of a peripheral device such as a printer connected to a communication network in order to upgrade or troubleshoot, by sending update data of the firmware from a computer connected to the communication network, The peripheral device such as the printer receives the update data and executes the update process.

より具体的には、当該プリンタ等の周辺機器は、当該ファームウェアを記憶するFlashROM等の記憶手段を備えている。そこで、当該コンピュータから、例えば、モトローラ(登録商標)S3フォーマットで当該FlashROMに記憶されているファームウェアの全体イメージファイルの更新データを、通信ネットワークを介して当該プリンタ等の周辺機器に送信する。   More specifically, the peripheral device such as the printer includes a storage unit such as a Flash ROM that stores the firmware. Therefore, the update data of the entire image file of the firmware stored in the FlashROM in, for example, the Motorola (registered trademark) S3 format is transmitted from the computer to the peripheral device such as the printer via the communication network.

ところで、モトローラ(登録商標)S3フォーマットは、バイナリ形式のデータレコードに変換することができる。すなわち、図6に示すように、当該ファームウェアの更新データを最大250バイトずつのオブジェクトデータに分割し、分割したそれぞれのオブジェクトデータに対して、2バイトのタイプフィールド、1バイトのデータ長フィールド、及び4バイトのアドレスフィールドで構成する合計7バイトのヘッダ部、並びに1バイトのチェックサムを加えた単位データの配列として構成可能である。   By the way, the Motorola (registered trademark) S3 format can be converted into a binary data record. That is, as shown in FIG. 6, the firmware update data is divided into object data of up to 250 bytes, and for each divided object data, a 2-byte type field, a 1-byte data length field, and It can be configured as an array of unit data including a header portion of a total of 7 bytes constituted by a 4-byte address field and a checksum of 1 byte.

近年のプリンタの機能向上の要請に応じて、プリンタのファームウェアも高機能化が進んでおり、ファームウェアの更新データのサイズは拡大する傾向にある。それに伴い、1回のファームウェアの更新で送信する更新データを構成する単位データの数は増大することになる。   In response to requests for improvement in printer functions in recent years, the firmware of printers has become more sophisticated, and the size of firmware update data tends to increase. Along with this, the number of unit data constituting update data to be transmitted by one firmware update increases.

ここで、上述のように、送信する更新データのサイズが大きくなってきたことによって、例えば、当該プリンタ等の周辺機器がUSB、パラレル、Ethernet(登録商標)その他の高速通信インターフェイスで接続されている場合には、更新データの送信時間はそれほど問題とならないものの、RS−232C等のシリアルI/Fその他の低速通信インターフェイスで接続されている場合には、更新データの送信時間が運用上の課題となってきた。   Here, as described above, since the size of the update data to be transmitted has increased, for example, peripheral devices such as the printer are connected by USB, parallel, Ethernet (registered trademark) or other high-speed communication interfaces. In this case, the update data transmission time is not so much of a problem, but when connected via a serial I / F or other low-speed communication interface such as RS-232C, the update data transmission time is an operational issue. It has become.

例えば、6MBの更新データを19200bpsで送信する場合には通信時間は45分、9600bpsで送信する場合には90分かかることになる。通常、ファームウェアの更新データの送受信中は、当該プリンタ等の周辺機器は使用できないので、特に、24時間稼動している施設のプリンタ等の周辺機器のファームウェアの更新の際において、更新データの送信時間の削減が望まれている。   For example, when 6 MB update data is transmitted at 19200 bps, the communication time is 45 minutes, and when it is transmitted at 9600 bps, it takes 90 minutes. Normally, peripheral devices such as the printer cannot be used during transmission / reception of firmware update data. Therefore, particularly when updating firmware of peripheral devices such as printers in facilities operating for 24 hours, the transmission time of update data Reduction is desired.

このような状況において、特許文献1に記載の技術によれば、例えば、PCから9600bpsで受信したデータを一旦記憶しておく外部メモリを備えたインターフェースボックスを当該PCに接続して使用することにより、その後、より高速な通信速度でデータ送受信可能な携帯型情報機器を当該インターフェースボックスに接続したことに応じて、当該外部メモリに一旦記憶しておいたデータを当該携帯型情報機器に例えば50000bpsで送信することができる。   In such a situation, according to the technique described in Patent Document 1, for example, an interface box having an external memory that temporarily stores data received from a PC at 9600 bps is connected to the PC and used. Then, in response to connecting a portable information device capable of transmitting and receiving data at a higher communication speed to the interface box, the data once stored in the external memory is transferred to the portable information device at, for example, 50000 bps. Can be sent.

従って、当該インターフェースボックスは、接続される携帯型情報機器の最大通信速度に応じて、最適な通信速度を選択してデータを当該携帯型情報機器に送信することができる。
特開平11−212908号公報
Therefore, the interface box can select the optimum communication speed according to the maximum communication speed of the connected portable information device and transmit data to the portable information device.
Japanese Patent Laid-Open No. 11-212908

しかしながら、上述のように、通信ネットワークに接続されたホストコンピュータから、当該通信ネットワークに接続されたPC等にあらかじめシリアルI/Fで接続されているプリンタ等の周辺機器にファームウェアの更新データを送信する場合に、特許文献1の技術を応用したとしても、結局当該PCとインターフェースボックス間の通信速度である9600bpsがボトルネックとなり、システム全体としては更新データの送信時間を削減することはできない。なぜならば、上述のように、通信ネットワークに原則として常時接続されているプリンタ等の周辺機器のファームウェアの更新データを送信する場合には、特許文献1の技術は、ボトルネックとなるI/Fにおける通信速度を超えて送信することができないからである。   However, as described above, firmware update data is transmitted from a host computer connected to the communication network to a peripheral device such as a printer connected in advance to the PC connected to the communication network via a serial I / F. In this case, even if the technique of Patent Document 1 is applied, 9600 bps, which is the communication speed between the PC and the interface box, eventually becomes a bottleneck, and the entire system cannot reduce the transmission time of update data. This is because, as described above, in the case of transmitting firmware update data of peripheral devices such as printers that are always connected to a communication network in principle, the technique of Patent Document 1 is based on an I / F that is a bottleneck. This is because transmission cannot be performed exceeding the communication speed.

ここで、当該更新データの送信が、何らかの理由により途中で失敗した場合には、当該ホストコンピュータが当該更新データを最後まで送信し終えるまで、エラーであることが確認できず、送信のやり直し等の対応を行うまでに要する時間が長期化する、という課題もある。   Here, if the transmission of the update data fails for some reason, it cannot be confirmed that there is an error until the host computer finishes transmitting the update data to the end. There is also a problem that it takes a long time to respond.

また、当該更新データの送信が途中でエラーになってしまうと、送信のやり直しを行うためには一度人間が電源をOFF/ONしなければならず、当該プリンタ等の周辺機器が、通信ネットワークを介して遠隔地に存在している場合には、現実的には送信のやり直しが難しい、という課題も存在している。   In addition, if an error occurs during the transmission of the update data, a human must turn off / on the power once in order to perform the transmission again. However, there is a problem that it is actually difficult to re-transmit when the remote location exists.

更に、当該通信ネットワーク上に複数の更新対象のプリンタ等の周辺機器が存在する場合には、上述のような課題は更に解決が困難となる。   Furthermore, when there are a plurality of peripheral devices such as printers to be updated on the communication network, it is difficult to solve the above-described problems.

従って、プリンタ等の周辺機器のファームウェアの更新データの送信が途中で失敗した場合において、直接当該プリンタ等の周辺機器を操作することなく、当該更新データの送信をやり直す方法を提供することが望まれている。   Accordingly, it is desirable to provide a method for retransmitting the update data without directly operating the peripheral device such as the printer when the transmission of the firmware update data of the peripheral device such as the printer fails in the middle. ing.

更に、当該通信ネットワーク上に更新対象のプリンタ等の周辺機器が複数存在する場合にも、送信が途中で失敗したプリンタ等の周辺機器のみについて、当該更新データの送信をやり直す方法を提供することが望まれている。   Furthermore, even when there are a plurality of peripheral devices such as printers to be updated on the communication network, it is possible to provide a method for redoing the transmission of the update data only for peripheral devices such as printers whose transmission has failed during transmission. It is desired.

そこで、本発明は、通信ネットワークに接続されたプリンタ等の周辺機器のファームウェアの更新データの送信が途中で失敗した場合において、リモートサイトから当該更新データの送信をやり直す方法、システム及びプログラムを提供することを目的とする。   Therefore, the present invention provides a method, system, and program for retransmitting update data from a remote site when transmission of firmware update data of a peripheral device such as a printer connected to a communication network fails in the middle. For the purpose.

更に、当該通信ネットワーク上に更新対象のプリンタ等の周辺機器が複数存在する場合にも、送信が途中で失敗したプリンタ等の周辺機器のみについて、当該更新データの送信をやり直す方法を提供することを目的とする。   Furthermore, even when there are a plurality of peripheral devices such as printers to be updated on the communication network, a method is provided for retransmitting the update data only for peripheral devices such as printers whose transmission has failed during transmission. Objective.

そこで、上記の目的を達成するため、本発明者らが研究を重ねた結果、リモートサイトから前記更新データの送信をやり直す方法を見出し、本発明を完成するに至った。本発明は、具体的には以下のようなものを提供する。   In order to achieve the above object, as a result of repeated researches by the present inventors, a method for retransmitting the update data from a remote site has been found and the present invention has been completed. Specifically, the present invention provides the following.

本発明は、通信ネットワーク(通信ネットワーク14)に接続されたコンピュータ(コンピュータ11等)が、前記通信ネットワークに接続された周辺機器(プリンタ13a1等)に、前記周辺機器のファームウェアの更新データを送信する方法であって、
前記コンピュータが、前記更新データを、所定の送信レコードに分割し、前記所定の送信レコード毎に前記所定の送信レコードの送信エラーをチェックするための所定のチェックデータを付加して前記周辺機器に順次送信するステップと、
前記周辺機器が、前記コンピュータから前記所定の送信レコードを順次受信するステップと、
前記周辺機器が、前記コンピュータから前記所定の送信レコードを順次受信したことに応じて、受信した前記所定の送信レコードについて前記所定のチェックデータを用いて送信エラーを順次チェックするステップと、
前記周辺機器が、前記所定の送信レコードについて送信エラーが発生したと判断した場合に、前記送信エラーの発生を通知するデータを前記コンピュータに送信するステップと、
前記コンピュータが、前記周辺機器から前記送信エラーの発生を通知するデータを受信したことに応じて、前記更新データについて残りの所定の送信レコードの送信を中止するステップと、
前記コンピュータが、前記周辺機器をリセットするコマンドを前記周辺機器に送信するステップと、を含むことを特徴とする。
In the present invention, a computer (computer 11 or the like) connected to a communication network (communication network 14) transmits firmware update data of the peripheral device to a peripheral device (printer 13a1 or the like) connected to the communication network. A method,
The computer divides the update data into predetermined transmission records, adds predetermined check data for checking transmission errors of the predetermined transmission records for each predetermined transmission record, and sequentially adds to the peripheral device. Sending, and
The peripheral device sequentially receiving the predetermined transmission record from the computer;
Sequentially checking transmission errors using the predetermined check data for the received predetermined transmission record in response to the peripheral device sequentially receiving the predetermined transmission record from the computer;
When the peripheral device determines that a transmission error has occurred for the predetermined transmission record, transmitting data notifying the occurrence of the transmission error to the computer;
Suspending transmission of the remaining predetermined transmission record for the update data in response to the computer receiving data notifying the occurrence of the transmission error from the peripheral device;
The computer includes a step of transmitting a command to reset the peripheral device to the peripheral device.

本発明のこのような構成によれば、前記コンピュータは、前記更新データを、所定の送信レコードに分割し、前記所定の送信レコード毎に前記所定の送信レコードの送信エラーをチェックするための所定のチェックデータを付加して前記周辺機器に順次送信し、
前記周辺機器が、前記コンピュータから前記所定の送信レコードを順次受信し、
前記コンピュータから前記所定の送信レコードを順次受信したことに応じて、受信した前記所定の送信レコードについて前記所定のチェックデータを用いて送信エラーを順次チェックし、
前記所定の送信レコードについて送信エラーが発生したと判断した場合に、前記送信エラーの発生を通知するデータを前記コンピュータに送信し、
前記コンピュータが、前記周辺機器から前記送信エラーの発生を通知するデータを受信したことに応じて、前記更新データについて残りの所定の送信レコードの送信を中止し、
前記周辺機器をリセットするコマンドを前記周辺機器に送信することが可能である、という作用効果を有する。
According to such a configuration of the present invention, the computer divides the update data into predetermined transmission records, and checks a transmission error of the predetermined transmission record for each predetermined transmission record. Add check data and send to the peripheral device sequentially,
The peripheral device sequentially receives the predetermined transmission record from the computer;
In response to sequentially receiving the predetermined transmission record from the computer, the transmission error is sequentially checked using the predetermined check data for the received predetermined transmission record,
When it is determined that a transmission error has occurred for the predetermined transmission record, data for notifying the occurrence of the transmission error is transmitted to the computer,
In response to receiving data notifying the occurrence of the transmission error from the peripheral device, the computer stops transmitting the remaining predetermined transmission record for the update data,
It has an effect that it is possible to transmit a command to reset the peripheral device to the peripheral device.

このことにより、前記コンピュータは、送信エラーが発生した場合に、前記周辺機器から前記送信エラーの発生を通知するデータを受信し、前記更新データについて残りの所定の送信レコードの送信を中止し、更に前記周辺機器をリセットするコマンドを前記周辺機器に送信することができる。   Accordingly, when a transmission error occurs, the computer receives data notifying the occurrence of the transmission error from the peripheral device, stops transmitting the remaining predetermined transmission record for the update data, and A command to reset the peripheral device can be transmitted to the peripheral device.

その結果、前記コンピュータは、前記送信エラーの発生を通知するデータを受信した時点でまだ送信していない前記所定の送信レコードについて、その送信を中止することができるので、送信を中止することができた前記送信レコードの送信時間に応じて前記更新データの送信をやり直すのに要する時間を削減することができる。   As a result, the computer can cancel the transmission of the predetermined transmission record that has not yet been transmitted at the time of receiving the data notifying the occurrence of the transmission error. Further, it is possible to reduce the time required to redo the transmission of the update data according to the transmission time of the transmission record.

更に、前記コンピュータは、前記送信エラーの発生を通知するデータを送信した周辺機器をリセットするコマンドを当該周辺機器に送信することができるので、当該周辺機器がそのコマンドに応じてリセットを完了することができれば、現地で直接当該周辺機器を操作することなく、リモートで周辺機器のリセットを行い、再び更新データの送信をやり直すことができる。   Furthermore, since the computer can transmit a command to reset the peripheral device that has transmitted the data notifying the occurrence of the transmission error to the peripheral device, the peripheral device completes the reset according to the command. If it is possible, the peripheral device can be reset remotely and the update data can be transmitted again without operating the peripheral device directly at the site.

なお、前記所定の送信レコードの大きさは、前記通信ネットワークの通信速度その他の要件に応じて適当な値を設定することが好ましい。   The size of the predetermined transmission record is preferably set to an appropriate value according to the communication speed and other requirements of the communication network.

前記更新データをより小さな送信レコードに分割すれば、前記送信エラーが発生した場合に、送信途中の送信レコードの大きさも小さくなるので、より迅速に残りの送信レコードの送信を中止し、その結果、前記更新データの送信のやり直しに要する時間をより削減することができる。   If the update data is divided into smaller transmission records, if the transmission error occurs, the size of the transmission record in the middle of transmission is also reduced, so the transmission of the remaining transmission records is stopped more quickly, and as a result, The time required for re-transmission of the update data can be further reduced.

逆に、前記更新データをより大きな送信レコードに分割すれば、前記送信エラーが発生した場合に、送信途中の送信レコードの大きさも大きくなるので、その結果、前記更新データの送信のやり直しに要する時間のうち削減可能な時間はより小さくなるが、送信エラーをチェックするための前記所定のチェックデータの数が少なくて済む分、送信時間そのものをより短くすることが可能となり、送信エラーのチェックの回数が減る分、当該チェックに要する時間をより削減することが可能となる。   Conversely, if the update data is divided into larger transmission records, the size of the transmission record in the middle of transmission will increase when the transmission error occurs. As a result, the time required for re-transmission of the update data Although the time that can be reduced is smaller, the transmission time itself can be shortened by the amount of the predetermined check data for checking transmission errors, and the number of transmission error checks can be reduced. Therefore, the time required for the check can be further reduced.

このように、送信レコードの大きさの設定にはトレードオフがあるので、前記通信ネットワークの通信速度、送信エラーの発生確率等に応じて適当な値を設定することが好ましい。   Thus, since there is a trade-off in setting the size of the transmission record, it is preferable to set an appropriate value according to the communication speed of the communication network, the occurrence probability of transmission errors, and the like.

また、本発明は、前記所定の送信レコードを順次受信するステップにおいて、前記周辺機器は、前記所定の送信レコードを受信中に所定の時間以上経過しても次のテータを受信しない場合に、前記周辺機器をリセットすることが更に望ましい。   In the step of sequentially receiving the predetermined transmission record, the peripheral device may receive the next data if the peripheral device does not receive the next data even after a predetermined time has elapsed during reception of the predetermined transmission record. It is further desirable to reset the peripheral device.

本発明のこのような構成によれば、前記所定の送信レコードを順次受信するステップにおいて、前記周辺機器は、前記所定の送信レコードを受信中に所定の時間以上経過しても次のデータを受信しない場合に、前記周辺機器をリセットすることが可能である、という作用効果を有する。   According to such a configuration of the present invention, in the step of sequentially receiving the predetermined transmission record, the peripheral device receives the next data even if a predetermined time or more elapses during reception of the predetermined transmission record. If not, the peripheral device can be reset.

このことにより、前記周辺機器は、何らかの原因で、前記所定の送信レコードの送信が途中で受けられなくなったり、大幅な通信遅延が発生したりした場合においても、自ら周辺機器をリセットすることができる。   As a result, the peripheral device can reset the peripheral device itself even when the transmission of the predetermined transmission record cannot be received midway or a significant communication delay occurs for some reason. .

より具体的には、例えば、前記所定のチェックデータが欠けた場合、前記コンピュータ側で、更新データの送信プログラムが強制終了されてしまった場合等の原因により、途中で前記所定の送信レコードの送信ができなくなった場合、通信ネットワークを構成するケーブルが抜けた場合、及び、前記所定の送信レコードが丸ごと欠けた場合等において、前記周辺機器側で自らリセットすることができる。   More specifically, for example, when the predetermined check data is missing or when the update data transmission program is forcibly terminated on the computer side, the predetermined transmission record is transmitted halfway. The peripheral device can reset itself when it becomes impossible to perform communication, when a cable constituting the communication network is disconnected, or when the predetermined transmission record is missing.

なお、このように前記周辺機器側でリセットを完了することができれば、その後前記コンピュータ側で、復帰確認を行う際に、送信エラーが発生したことを認識することができる。   If the reset can be completed on the peripheral device side in this way, it can be recognized on the computer side that a transmission error has occurred when performing a return confirmation thereafter.

従って、前記コンピュータは、前記周辺機器を直接操作することなく、リモートで前記更新データの送信を再開することができる。   Therefore, the computer can resume transmission of the update data remotely without directly operating the peripheral device.

なお、この所定の時間は、通信ネットワークの通信速度等のシステム環境に応じて適当な値を設定してよい。当該所定の時間をより長く設定することによって、一時的にネットワークの遅延が発生した場合等、更新データの送信自体は継続可能である場合にもエラー処理を実行してしまう可能性を低くすることができる。反面、実際にエラーが発生した場合の対応が遅くなる。逆に、当該所定の時間より短く設定すると、実際にエラーが発生した場合にエラー対応をより迅速に行うことができる反面、実際には一時的なネットワーク遅延等により更新データの送信自体は継続可能であるにもかかわらず、エラー処理を実行してしまう可能性が高くなる。   The predetermined time may be set to an appropriate value according to the system environment such as the communication speed of the communication network. By setting the predetermined time longer, it is possible to reduce the possibility of executing error processing even when transmission of update data itself can be continued, such as when a network delay occurs temporarily. Can do. On the other hand, the response when an error actually occurs is slow. On the other hand, if it is set shorter than the predetermined time, it is possible to deal with the error more quickly when an error actually occurs, but in fact, the transmission of the update data itself can be continued due to a temporary network delay, etc. Nevertheless, there is a high possibility that error processing will be executed.

このように、所定の時間の設定にはトレードオフがあるので、システム環境に応じて適当な値を設定し、通信速度がより高速なプリンタに対してよりはより短く、逆により低速なプリンタに対してはより長く設定してもよい。   In this way, there is a trade-off in the setting of the predetermined time, so an appropriate value is set according to the system environment, and the communication speed is shorter than that of a printer having a higher communication speed, and vice versa. On the other hand, it may be set longer.

また、本発明は、前記周辺機器に順次送信するステップにおいて、前記コンピュータが、複数の前記周辺機器に、分割した前記送信レコードに前記所定のチェックデータを付加して順次送信し、
前記更新データについて残りの所定の送信レコードの送信を中止するステップにおいて、前記コンピュータが、複数の前記周辺機器のうち、前記送信エラーの発生を通知するデータを送信した周辺機器に対して、前記更新データについて残りの所定の送信レコードの送信を中止し、
前記周辺機器をリセットするコマンドを送信するステップにおいて、前記コンピュータが、複数の前記周辺機器のうち、前記送信エラーの発生を通知するデータを送信した周辺機器に対して、前記周辺機器をリセットするコマンドを送信することが更に望ましい。
Further, in the step of sequentially transmitting to the peripheral device, the computer sequentially transmits the plurality of peripheral devices with the predetermined check data added to the divided transmission records,
In the step of canceling transmission of the remaining predetermined transmission record for the update data, the computer updates the update to a peripheral device that has transmitted data notifying the occurrence of the transmission error among the plurality of peripheral devices. Stop sending the remaining predetermined transmission records for the data,
In the step of transmitting a command to reset the peripheral device, the computer resets the peripheral device to a peripheral device that has transmitted data notifying the occurrence of the transmission error among the plurality of peripheral devices. Is more desirable.

本発明のこのような構成によれば、前記周辺機器に順次送信するステップにおいて、前記コンピュータが、複数の前記周辺機器に、分割した前記送信レコードに前記所定のチェックデータを付加して順次送信し、
前記更新データについて残りの所定の送信レコードの送信を中止するステップにおいて、前記コンピュータが、複数の前記周辺機器のうち、前記送信エラーの発生を通知するデータを送信した周辺機器に対して、前記更新データについて残りの所定の送信レコードの送信を中止し、
前記周辺機器をリセットするコマンドを送信するステップにおいて、前記コンピュータが、複数の前記周辺機器のうち、前記送信エラーの発生を通知するデータを送信した周辺機器に対して、前記周辺機器をリセットするコマンドを送信することが可能である、という作用効果を有する。
According to such a configuration of the present invention, in the step of sequentially transmitting to the peripheral devices, the computer sequentially transmits the plurality of peripheral devices with the predetermined check data added to the divided transmission records. ,
In the step of canceling transmission of the remaining predetermined transmission record for the update data, the computer updates the update to a peripheral device that has transmitted data notifying the occurrence of the transmission error among the plurality of peripheral devices. Stop sending the remaining predetermined transmission records for the data,
In the step of transmitting a command to reset the peripheral device, the computer resets the peripheral device to a peripheral device that has transmitted data notifying the occurrence of the transmission error among the plurality of peripheral devices. Can be transmitted.

このことにより、当該通信ネットワーク上に複数の更新対象の周辺機器が存在する場合においても、前記コンピュータは、前記送信エラーの発生を通知するデータを送信した周辺機器についてのみ、前記更新データについて残りの所定の送信レコードの送信を中止し、前記周辺機器をリセットすることができる。   As a result, even when there are a plurality of peripheral devices to be updated on the communication network, the computer only has the remaining update data for the peripheral device that has transmitted the data notifying the occurrence of the transmission error. The transmission of a predetermined transmission record can be stopped and the peripheral device can be reset.

ここで、前記コンピュータは、前記コンピュータのユーザによる操作を受け付けたことに応じて、前記所定の送信レコード毎に前記所定の送信レコードの送信エラーをチェックするための所定のチェックデータを付加して複数の前記周辺機器にそれぞれ順次送信してもよいし、あらかじめ作成しておいたプログラムを動作させることにより送信してもよい。   Here, in response to accepting an operation by a user of the computer, the computer adds a plurality of predetermined check data for checking a transmission error of the predetermined transmission record for each predetermined transmission record. Each of the peripheral devices may be sequentially transmitted, or may be transmitted by operating a program prepared in advance.

いずれにしても、前記コンピュータは、前記所定の送信レコードを一度に複数の周辺機器にそれぞれ送信することによって、複数の前記周辺機器のうち、送信エラーの発生した周辺機器のみについて、前記更新データについて残りの所定の送信レコードの送信を中止し、前記周辺機器をリセットすることができる。   In any case, the computer transmits the predetermined transmission record to a plurality of peripheral devices at a time, so that only the peripheral device in which a transmission error has occurred is out of the plurality of peripheral devices. The transmission of the remaining predetermined transmission record can be stopped and the peripheral device can be reset.

その結果、前記ユーザは、前記更新対象の周辺機器一つひとつに対して更新データの送信を指示する手間を削減することができる。   As a result, the user can reduce the trouble of instructing the update-target peripheral devices to transmit update data.

なお、上述の一連の更新処理で送信エラーとなった周辺機器を記憶しておき、記憶した当該周辺機器に対して更に自動的に更新データの送信を行い、これらの処理を繰り返すことによって、全ての周辺機器の更新データの送信が完了するまで自動的に処理することもできる。   It should be noted that the peripheral device that has caused the transmission error in the above-described series of update processing is stored, update data is further automatically transmitted to the stored peripheral device, and by repeating these processing, It is also possible to automatically process until the transmission of the update data of the peripheral device is completed.

本発明は、通信ネットワークに接続された周辺機器に、前記周辺機器のファームウェアの更新データを送信するコンピュータを含むシステムであって、
前記コンピュータは、前記更新データを、所定の送信レコードに分割し、前記所定の送信レコード毎に前記所定の送信レコードの送信エラーをチェックするための所定のチェックデータを付加して前記周辺機器に順次送信する手段を備え、
前記周辺機器は、前記コンピュータから前記所定の送信レコードを順次受信する手段と、
前記コンピュータから前記所定の送信レコードを順次受信したことに応じて、受信した前記所定の送信レコードについて前記所定のチェックデータを用いて送信エラーを順次チェックする手段と、
前記所定の送信レコードについて送信エラーが発生したと判断した場合に、前記送信エラーの発生を通知するデータを前記コンピュータに送信する手段と、を備え、
前記コンピュータは、前記周辺機器から前記送信エラーの発生を通知するデータを受信したことに応じて、前記更新データについて残りの所定の送信レコードの送信を中止する手段と、
前記周辺機器をリセットするコマンドを前記周辺機器に送信する手段と、を更に備えることを特徴とする。
The present invention is a system including a computer that transmits firmware update data of the peripheral device to a peripheral device connected to a communication network,
The computer divides the update data into predetermined transmission records, adds predetermined check data for checking transmission errors of the predetermined transmission records for each predetermined transmission record, and sequentially adds to the peripheral device. Means for transmitting,
The peripheral device sequentially receives the predetermined transmission record from the computer;
Means for sequentially checking transmission errors using the predetermined check data for the predetermined transmission records received in response to sequentially receiving the predetermined transmission records from the computer;
Means for transmitting data notifying the occurrence of the transmission error to the computer when it is determined that a transmission error has occurred for the predetermined transmission record;
The computer, in response to receiving data notifying the occurrence of the transmission error from the peripheral device, means for canceling transmission of the remaining predetermined transmission record for the update data;
Means for transmitting a command to reset the peripheral device to the peripheral device.

本発明のこのような構成によれば、前記コンピュータは、前記更新データを、所定の送信レコードに分割し、前記所定の送信レコード毎に前記所定の送信レコードの送信エラーをチェックするための所定のチェックデータを付加して前記周辺機器に順次送信し、
前記周辺機器は、前記コンピュータから前記所定の送信レコードを順次受信し、
前記コンピュータから前記所定の送信レコードを順次受信したことに応じて、受信した前記所定の送信レコードについて前記所定のチェックデータを用いて送信エラーを順次チェックし、
前記所定の送信レコードについて送信エラーが発生したと判断した場合に、前記送信エラーの発生を通知するデータを前記コンピュータに送信し、
前記コンピュータは、前記周辺機器から前記送信エラーの発生を通知するデータを受信したことに応じて、前記更新データについて残りの所定の送信レコードの送信を中止し、
前記周辺機器をリセットするコマンドを前記周辺機器に送信することが可能である、という作用効果を有する。
According to such a configuration of the present invention, the computer divides the update data into predetermined transmission records, and checks a transmission error of the predetermined transmission record for each predetermined transmission record. Add check data and send to the peripheral device sequentially,
The peripheral device sequentially receives the predetermined transmission record from the computer,
In response to sequentially receiving the predetermined transmission record from the computer, the transmission error is sequentially checked using the predetermined check data for the received predetermined transmission record,
When it is determined that a transmission error has occurred for the predetermined transmission record, data for notifying the occurrence of the transmission error is transmitted to the computer,
In response to receiving the data notifying the occurrence of the transmission error from the peripheral device, the computer stops transmission of the remaining predetermined transmission record for the update data,
It has an effect that it is possible to transmit a command to reset the peripheral device to the peripheral device.

以下、図面を参照して本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の好適な実施形態の一例に係るシステムの全体構成を示すブロック図である。図2は、本発明の好適な実施形態の一例に係るコンピュータ11、12a、12b、12c、・・・の構成を示すブロック図である。図3は、本発明の好適な実施形態の一例に係る周辺機器としてのプリンタ13a1、13a2、13a3、13b、13c、・・・の構成を示すブロック図である。図4及び図5は、本発明の好適な実施形態の一例に係る更新データ送信処理を示すフローチャートである。図6は、本発明の好適な実施形態の一例に係る更新データのフォーマットの一例を示す図である。
[システムの全体構成]
FIG. 1 is a block diagram showing the overall configuration of a system according to an example of a preferred embodiment of the present invention. FIG. 2 is a block diagram showing the configuration of the computers 11, 12a, 12b, 12c,... According to an example of the preferred embodiment of the present invention. 3 is a block diagram illustrating a configuration of printers 13a1, 13a2, 13a3, 13b, 13c,... As peripheral devices according to an example of the preferred embodiment of the present invention. 4 and 5 are flowcharts showing an update data transmission process according to an example of the preferred embodiment of the present invention. FIG. 6 is a diagram illustrating an example of a format of update data according to an example of the preferred embodiment of the present invention.
[System overall configuration]

図1に示すように、本発明に係る好適な実施形態の一例に係るシステム1は、コンピュータ11、12a、12b、12c、・・・、周辺機器としてのプリンタ13a1、13a2、13a3、13b、13c・・・を含んで構成されている。   As shown in FIG. 1, a system 1 according to an example of a preferred embodiment of the present invention includes computers 11, 12a, 12b, 12c,..., Printers 13a1, 13a2, 13a3, 13b, 13c as peripheral devices. It is comprised including ...

コンピュータ11、12a、12b、12c、・・・は通信ネットワーク14を介して接続されている。更に、プリンタ13a1、13a2、13a3はそれぞれ通信ネットワーク15a1、15a2、15a3を介してコンピュータ12aに接続されている。同様に、プリンタ13bはコンピュータ12bに、プリンタ13cは12cに、それぞれ通信ネットワーク15b、15cを介して接続されている。   Computers 11, 12 a, 12 b, 12 c,... Are connected via a communication network 14. Furthermore, the printers 13a1, 13a2, and 13a3 are connected to the computer 12a via communication networks 15a1, 15a2, and 15a3, respectively. Similarly, the printer 13b is connected to the computer 12b, and the printer 13c is connected to 12c via communication networks 15b and 15c, respectively.

図1の例において、コンピュータ12a、12b、12cはいわゆる汎用パーソナルコンピュータとして実現してもよいし、キャッシュレジスター等の専用情報機器として実現してもよい。   In the example of FIG. 1, the computers 12a, 12b, and 12c may be realized as so-called general-purpose personal computers, or may be realized as dedicated information devices such as cash registers.

また、通信ネットワーク14は、Ethernet(登録商標)等の構内通信網(LAN)として実現してもよいし、専用線、インターネット、VPN等の広域通信網(WAN)として実現してもよい。通信ネットワーク14がWANを含み、コンピュータ11がコンピュータ12a、12b、12c、・・・と互いに遠隔地の関係にある場合に、本発明の効果がより発揮される。   The communication network 14 may be realized as a local communication network (LAN) such as Ethernet (registered trademark), or may be realized as a wide area communication network (WAN) such as a dedicated line, the Internet, or VPN. When the communication network 14 includes a WAN and the computer 11 is in a remote relationship with the computers 12a, 12b, 12c,.

更に、通信ネットワーク15a1、15a2、15a3、15b、15c、・・・はRS−232C(最大通信速度14.4kbps)、USB(USB2.0で最大通信速度60Mbps)等のシリアルインターフェイスで実現してもよいし、SCSI(最大通信速度320Mbps)等のパラレルインターフェイスで実現してもよい。通信ネットワーク15a1、15a2、15a3、15b、15c、・・・が、より低速のインターフェイスで実現されている場合に、本発明の効果がより発揮される。   Further, the communication networks 15a1, 15a2, 15a3, 15b, 15c,... Can be realized by serial interfaces such as RS-232C (maximum communication speed 14.4 kbps), USB (USB2.0, maximum communication speed 60 Mbps), and the like. Alternatively, it may be realized by a parallel interface such as SCSI (maximum communication speed 320 Mbps). The effects of the present invention are more exhibited when the communication networks 15a1, 15a2, 15a3, 15b, 15c,.

更に、コンピュータ12a、12b、12c、・・・は、通信ネットワーク14を介して互いに異なる通信速度でコンピュータ11に接続されていてもよい。   Furthermore, the computers 12a, 12b, 12c,... May be connected to the computer 11 via the communication network 14 at different communication speeds.

同様に、プリンタ13a1、13a2、13a3、・・・はそれぞれ通信ネットワーク15a1、15a2、15a3と互いに異なる通信速度で接続されていてもよい。
[コンピュータの構成]
Similarly, the printers 13a1, 13a2, 13a3,... May be connected to the communication networks 15a1, 15a2, 15a3 at different communication speeds.
[Computer configuration]

図2に示すように、コンピュータ11、12a、12b、12c、・・・は、制御部111、記憶部112、通信I/F部113、入力部114、表示部115が、バス116を介して接続されて構成されている。   As shown in FIG. 2, the computers 11, 12 a, 12 b, 12 c,... Have a control unit 111, a storage unit 112, a communication I / F unit 113, an input unit 114, and a display unit 115 via a bus 116. Connected and configured.

制御部111は、情報の演算、処理を行う情報演算処理装置であり、CPU(Central Processing Unit)であってよい。また、制御部111はコンピュータ11、12a、12b、12c、・・・全体の制御を行い、記憶部112に記憶された各種プログラムを適宜読み出して実行することにより、上述のハードウェアが協働し、本発明に係る各種機能を実現している。   The control unit 111 is an information calculation processing device that performs calculation and processing of information, and may be a CPU (Central Processing Unit). The control unit 111 performs overall control of the computers 11, 12a, 12b, 12c,..., Reads and executes various programs stored in the storage unit 112 as appropriate, so that the hardware described above cooperates. Various functions according to the present invention are realized.

ここで、表示部115は、ユーザにデータの入力を受け付ける画面を表示したり、コンピュータ11、12a、12b、12c、・・・による演算処理結果の画面を表示したりするものであり、ブラウン管表示装置(CRT)、液晶表示装置(LCD)等のディスプレイ装置を含む。   Here, the display unit 115 displays a screen for accepting data input to the user, or displays a calculation processing result screen by the computers 11, 12a, 12b, 12c,. A display device such as a device (CRT) or a liquid crystal display device (LCD) is included.

ここで、入力部114は、ユーザによる入力の受付を行うものであり、キーボード、ポインティングデバイス等を含んでよい。入力部114は、直接又は介在I/Oコントローラを介してコンピュータ11、12a、12b、12c、・・・と接続することができる。   Here, the input unit 114 accepts input by the user, and may include a keyboard, a pointing device, and the like. The input unit 114 can be connected to the computers 11, 12a, 12b, 12c,... Directly or via an intervening I / O controller.

ここで、通信I/F部113は、コンピュータ11、12a、12b、12c、・・・を専用ネットワーク又は公共ネットワークを介して端末と接続できるようにするためのネットワーク・アダプタである。通信I/F部113は、モデム、ケーブル・モデム及びEthernet(登録商標)・アダプタを含んでよい。   Here, the communication I / F unit 113 is a network adapter for enabling the computers 11, 12a, 12b, 12c,... To be connected to a terminal via a dedicated network or a public network. The communication I / F unit 113 may include a modem, a cable modem, and an Ethernet (registered trademark) adapter.

ここで、記憶部112は、制御部111と組み合わせてプログラムの実行に使用するローカルメモリ、大容量のバルクメモリ、及び当該バルクメモリの検索を効率的に行うために使用するキャッシュメモリを含んでよい。記憶部112を実現するコンピュータ可読媒体としては、電気的、磁気的、光学的、電磁的に実現するものを含んでよい。より具体的には、半導体記憶装置、磁気テープ、フレキシブルディスク、ランダム・アクセス・メモリ(RAM)、リードオンリー・メモリ(ROM)、CD−ROMとCD−R/WとDVDとを含む光ディスクが含まれる。
[プリンタの構成]
Here, the storage unit 112 may include a local memory used for program execution in combination with the control unit 111, a large-capacity bulk memory, and a cache memory used for efficiently searching the bulk memory. . The computer-readable medium that implements the storage unit 112 may include an electrical, magnetic, optical, or electromagnetic implementation. More specifically, semiconductor storage devices, magnetic tapes, flexible disks, random access memory (RAM), read only memory (ROM), optical disks including CD-ROM, CD-R / W and DVD are included. It is.
[Printer configuration]

図3に示すように、プリンタ13a1、13a2、13a3、13b、13c、・・・は、CPU131、FlashROM132、RAM133、通信I/F部134、操作ボタン135、表示部136、プリンタユニット137が、バス138を介して接続されて構成されている。   As shown in FIG. 3, the printers 13a1, 13a2, 13a3, 13b, 13c,... Have a CPU 131, a flash ROM 132, a RAM 133, a communication I / F unit 134, operation buttons 135, a display unit 136, and a printer unit 137. 138 is connected.

CPU131は、情報の演算、処理を行う情報演算処理装置であり、プリンタ13a1、13a2、13a3、13b、13c、・・・全体の制御を行い、FlashROM132に記憶されたファームウェア等の各種プログラムを適宜読み出して実行することにより、上述のハードウェアが協働し、本発明に係る各種機能を実現している。   The CPU 131 is an information calculation processing device that performs calculation and processing of information, performs overall control of the printers 13a1, 13a2, 13a3, 13b, 13c,... And reads various programs such as firmware stored in the flash ROM 132 as appropriate. The above hardware cooperates to implement various functions according to the present invention.

ここで、表示部136は、ユーザにデータの入力を受け付ける画面を表示したり、プリンタ13a1、13a2、13a3、13b、13c、・・・による演算処理結果の画面を表示したりするものであり、液晶表示装置(LCD)等のディスプレイ装置を含む。   Here, the display unit 136 displays a screen for accepting data input to the user, or displays a screen of calculation processing results by the printers 13a1, 13a2, 13a3, 13b, 13c,. A display device such as a liquid crystal display (LCD) is included.

ここで、操作ボタン135は、ユーザによる入力の受付を行うものであり、様々な形式のボタンその他の入力デバイスを含んでよい。操作ボタン135は、直接又は介在I/Oコントローラを介してプリンタ13a1、13a2、13a3、13b、13c、・・・と接続することができる。   Here, the operation button 135 accepts input by the user, and may include various types of buttons and other input devices. The operation button 135 can be connected to the printers 13a1, 13a2, 13a3, 13b, 13c,... Directly or via an intervening I / O controller.

ここで、通信I/F部134は、プリンタ13a1、13a2、13a3、13b、13c、・・・を専用ネットワーク又は公共ネットワークを介して端末と接続できるようにするためのネットワーク・アダプタである。通信I/F部134は、RS−232C、USB等のシリアルインターフェイス・アダプタ、SCSI等のパラレルインターフェイス・アダプタ、Ethernet(登録商標)・アダプタ等を含んでよい。   Here, the communication I / F unit 134 is a network adapter that enables the printers 13a1, 13a2, 13a3, 13b, 13c,... To be connected to a terminal via a dedicated network or a public network. The communication I / F unit 134 may include a serial interface adapter such as RS-232C and USB, a parallel interface adapter such as SCSI, an Ethernet (registered trademark) adapter, and the like.

ここで、FlashROM132は、本発明の更新データに係るファームウェアを記憶しており、64kB等の所定のブロック単位で一括消去、書き換えが可能となっている。   Here, the flash ROM 132 stores firmware related to the update data of the present invention, and can be erased and rewritten in batches in a predetermined block unit such as 64 kB.

また、RAM133は、制御部111と組み合わせてプログラムの実行に使用するローカルメモリ、大容量のバルクメモリ、及び当該バルクメモリの検索を効率的に行うために使用するキャッシュメモリを含んでよい。   The RAM 133 may include a local memory used for executing a program in combination with the control unit 111, a large-capacity bulk memory, and a cache memory used for efficiently searching the bulk memory.

また、プリンタユニット137は、詳細な説明は省略するが、CPU131の制御に基づいて実際に印刷を行うプリンタヘッド、用紙フィード装置等が含まれる。
[更新データ送信処理1]
The printer unit 137 includes a printer head that actually performs printing based on the control of the CPU 131, a paper feed device, and the like, although detailed description is omitted.
[Update data transmission process 1]

図4に示したように、本発明の好適な実施形態の一例に係るシステム1は、プリンタ13a1、13a2、13a3、13b又は13c、・・・のFlashROM132に記憶されたファームウェアの更新データの送信処理を実行する。   As shown in FIG. 4, the system 1 according to an example of the preferred embodiment of the present invention is configured to transmit firmware update data stored in the flash ROM 132 of the printer 13a1, 13a2, 13a3, 13b, or 13c,. Execute.

まず、コンピュータ11、12a、12b又は12c、・・・の制御部111は、前処理を行う(ステップS101)。   First, the control unit 111 of the computer 11, 12a, 12b or 12c, ... performs preprocessing (step S101).

具体的には、制御部111は、更新データの送信の準備のために、例えば、プリンタのスプーラを停止させたり、デバイスIDを取得したり、信号線の確認を行ったりする。また、制御部111は、送信する更新データを読み込み、必要に応じてフォーマット変換等を実施してもよい。更に、接続している通信I/Fをオープンしたり、信号線を確認したり、プリンタ13a1、13a2、13a3、13b又は13c、・・・の機種IDを取得したり、ファームウェアのバージョンを取得したり、といった処理を行う。   Specifically, the control unit 111, for example, stops a printer spooler, acquires a device ID, or checks a signal line in preparation for transmission of update data. In addition, the control unit 111 may read update data to be transmitted and perform format conversion or the like as necessary. Furthermore, the connected communication I / F is opened, the signal line is confirmed, the model ID of the printer 13a1, 13a2, 13a3, 13b or 13c,... Is acquired, and the firmware version is acquired. Process.

ここで、更新データのフォーマットの一例について説明する。図6に示すように、ファームウェアの更新データがバイナリ形式で記述されている場合、最大250バイトのオブジェクトデータ及び合計8バイトの管理データを含んでいる。更新データは、一のオブジェクトデータ及び対応する管理データの組み合わせとして構成される単位データの配列として構成される。   Here, an example of the format of the update data will be described. As shown in FIG. 6, when the firmware update data is described in the binary format, it includes object data of a maximum of 250 bytes and management data of a total of 8 bytes. The update data is configured as an array of unit data configured as a combination of one object data and corresponding management data.

ここで、当該オブジェクトデータは、更新データの内容である。また、当該管理データは、当該オブジェクトデータの最初のデータの書き込みアドレスを示すアドレスデータ、チェックサムデータ、及び当該アドレスデータと当該オブジェクトデータとチェックサムデータとの長さの合計を示す長さデータを含んで構成されている。   Here, the object data is the content of the update data. The management data includes address data indicating the write address of the first data of the object data, checksum data, and length data indicating the sum of the lengths of the address data, the object data, and the checksum data. It is configured to include.

次に、制御部111は、更新データをプリンタ13a1、13a2、13a3、13b又は13c、・・・へ送信するために、所定の送信レコードに分割する(ステップS102)。   Next, the control unit 111 divides the update data into predetermined transmission records in order to transmit the update data to the printers 13a1, 13a2, 13a3, 13b or 13c,... (Step S102).

具体的には、例えば、当該更新データが上述のバイナリ形式で記述されている場合には、更新データを一のオブジェクトデータ毎に一の送信レコードとして分割する。   Specifically, for example, when the update data is described in the above binary format, the update data is divided into one transmission record for each object data.

次に、制御部111は、分割した当該送信レコード毎に所定のチェックデータを付加して、更新データをプリンタ13a1、13a2、13a3、13b又は13c、・・・へ順次送信する(ステップS103)。   Next, the control unit 111 adds predetermined check data to each of the divided transmission records, and sequentially transmits the update data to the printers 13a1, 13a2, 13a3, 13b, 13c,... (Step S103).

具体的には、例えば、当該更新データが上述のバイナリ形式で記述されている場合には、一のオブジェクトデータ毎に対応するチェックサムデータを含む管理データを付加して送信する。   Specifically, for example, when the update data is described in the binary format described above, management data including checksum data corresponding to each object data is added and transmitted.

次に、プリンタ13a1、13a2、13a3、13b又は13c、・・・のCPU131は、制御部111が送信した送信レコードを受信する(ステップS104)。   Next, the CPU 131 of the printer 13a1, 13a2, 13a3, 13b or 13c,... Receives the transmission record transmitted by the control unit 111 (step S104).

次に、CPU131は、受信した当該送信レコードに含まれる所定のチェックデータを用いて送信エラーのチェックを行う(ステップS105)。   Next, the CPU 131 performs a transmission error check using predetermined check data included in the received transmission record (step S105).

具体的には、例えば、当該更新データが上述のバイナリ形式で記述されている場合には、当該送信レコードに含まれるチェックサムデータを用いて送信エラーをチェックする。   Specifically, for example, when the update data is described in the above-described binary format, a transmission error is checked using checksum data included in the transmission record.

次に、CPU131は、受信した当該送信レコードに含まれる所定のチェックデータを用いて送信エラーのチェックを行う(ステップS105)。   Next, the CPU 131 performs a transmission error check using predetermined check data included in the received transmission record (step S105).

ステップS106において、送信エラーと判断した場合には、CPU131は、制御をステップS107に移す。また、送信エラーではないと判断した場合には、CPU131は、コンピュータ11、12a、12b又は12c、・・・からの次の送信レコードの送信を待ち受ける。(ステップS106)。   When determining in step S106 that a transmission error has occurred, the CPU 131 shifts the control to step S107. If it is determined that there is no transmission error, the CPU 131 waits for transmission of the next transmission record from the computer 11, 12a, 12b or 12c,. (Step S106).

ステップS107において、CPU131は、コンピュータ11、12a、12b又は12c、・・・に送信エラーの発生を通知するデータを送信する。   In step S107, the CPU 131 transmits data notifying the occurrence of a transmission error to the computers 11, 12a, 12b or 12c,.

次に、コンピュータ11、12a、12b又は12c、・・・の制御部111は、プリンタ13a1、13a2、13a3、13b又は13c、・・・から送信された当該送信エラーの発生を通知するデータを受信したことに応じて、未だ全ての送信レコードの送信が終了していない場合には、その後残りの送信レコードの送信を中止する(ステップS108)。   Next, the control unit 111 of the computer 11, 12 a, 12 b or 12 c,... Receives data notifying the occurrence of the transmission error transmitted from the printer 13 a 1, 13 a 2, 13 a 3, 13 b or 13 c,. In response to this, if the transmission of all the transmission records has not been completed yet, the transmission of the remaining transmission records is stopped thereafter (step S108).

このことにより、プリンタ13a1、13a2、13a3、13b又は13c、・・・から送信エラーの発生を通知するデータを受信した後は、当該データを送信したプリンタに対する送信レコードの送信を中止し、送信エラー対応処理として、更新データの再送信等の処理を行うことができる。   As a result, after receiving data notifying the occurrence of a transmission error from the printer 13a1, 13a2, 13a3, 13b or 13c,..., The transmission of the transmission record to the printer that transmitted the data is stopped, and the transmission error As the corresponding process, a process such as re-transmission of update data can be performed.

次に、制御部111は、送信エラー対応処理として、プリンタ13a1、13a2、13a3、13b又は13c、・・・をリセットするコマンドを当該プリンタに送信する(ステップS109)。   Next, as a transmission error handling process, the control unit 111 transmits a command to reset the printers 13a1, 13a2, 13a3, 13b, 13c,... To the printer (step S109).

次に、プリンタ13a1、13a2、13a3、13b又は13c、・・・のCPU131は、当該コマンドを受信したことに応じて、プリンタ13a1、13a2、13a3、13b又は13c、・・・をリセットする(ステップS110)。   Next, the CPU 131 of the printer 13a1, 13a2, 13a3, 13b or 13c,... Resets the printer 13a1, 13a2, 13a3, 13b or 13c,. S110).

このように、本発明の原理によれば、更新データの送信が途中で失敗した場合において、リモートサイトから当該更新データの送信をやり直すことが可能となる。更に、当該通信ネットワーク上に更新対象のプリンタ等の周辺機器が複数存在する場合にも、送信が途中で失敗したプリンタ等の周辺機器のみについて、当該更新データの送信をやり直すことが可能となる。   As described above, according to the principle of the present invention, when transmission of update data fails in the middle, it is possible to redo transmission of the update data from the remote site. Furthermore, even when there are a plurality of peripheral devices such as printers to be updated on the communication network, it is possible to redo the transmission of the update data only for peripheral devices such as printers that failed to be transmitted.

[更新データ送信処理2] [Update data transmission process 2]

図5に示したように、本発明の好適な実施形態の別の一例に係るシステム1は、プリンタ13a1、13a2、13a3、13b又は13c、・・・のFlashROM132に記憶されたファームウェアの更新データの送信処理を実行する。   As shown in FIG. 5, the system 1 according to another example of the preferred embodiment of the present invention includes firmware update data stored in the flash ROM 132 of the printer 13 a 1, 13 a 2, 13 a 3, 13 b or 13 c. Execute the transmission process.

まず、コンピュータ11、12a、12b又は12c、・・・の制御部111は、前処理を行う(ステップS201)。以下、図5において、ステップS202からステップS205までは、上述の更新データ送信処理1と同様であるので、説明を省略する。   First, the control unit 111 of the computer 11, 12a, 12b or 12c, ... performs preprocessing (step S201). Hereinafter, in FIG. 5, steps S202 to S205 are the same as the update data transmission process 1 described above, and thus the description thereof is omitted.

次に、プリンタ13a1、13a2、13a3、13b又は13c、・・・のCPU131は、前回の送信データを受信してから、10秒以内に次の送信データを受信したか否かをチェックする(ステップS206)。10秒以上経過してもなお次のデータを受信しない場合、CPU131は、エラーが発生したと判断し、プリンタ13a1、13a2、13a3、13b又は13c、・・・をリセットするコマンドを実行して当該プリンタをリセットする。   Next, the CPU 131 of the printer 13a1, 13a2, 13a3, 13b or 13c,... Checks whether or not the next transmission data has been received within 10 seconds from the reception of the previous transmission data (step). S206). If the next data is not received even after 10 seconds have elapsed, the CPU 131 determines that an error has occurred and executes a command to reset the printers 13a1, 13a2, 13a3, 13b or 13c,. Reset the printer.

なお、この10秒の時間は、通信ネットワーク14、15a1、15a2、15a3の通信速度その他の通信環境に応じて適当な値を設定してよい。また、ステップS204からステップS206において、送信レコードを受信してから10秒以上経過したか否かをチェックしているが、ステップS204で送信レコードを受信中に、次のデータを受信するまでに10秒以上経過したか否かをチェックするようにしてもよい。   Note that the time of 10 seconds may be set to an appropriate value according to the communication speed of the communication networks 14, 15a1, 15a2, and 15a3 and other communication environments. Further, in step S204 to step S206, it is checked whether or not 10 seconds or more have elapsed since the reception of the transmission record. However, in step S204, 10 seconds until the next data is received while the transmission record is being received. You may make it check whether more than second passed.

このことにより、コンピュータ11、12a、12b又は12c、・・・の制御部が、その後プリンタのファームウェアの更新確認を行う際に、エラーが発生したことを認識し、エラー対応処理として、更新データの再送信等の処理を行うことが可能となる。   As a result, the control unit of the computer 11, 12a, 12b or 12c,... Recognizes that an error has occurred when the printer firmware update check is performed thereafter, and updates the update data as an error handling process. Processing such as retransmission can be performed.

このように、本発明の原理によれば、10秒以上送信レコードの送信がなされなかった場合には、コンピュータ11、12a、12b又は12c、・・・の制御部が、プリンタ13a1、13a2、13a3、13b又は13c、・・・をリセットするコマンドを送信することなく、当該プリンタ自身がエラーの発生を認識し、リセット処理を行うことによって、リモートサイトから当該更新データの送信をやり直すことが可能となる。更に、当該通信ネットワーク上に更新対象のプリンタ等の周辺機器が複数存在する場合にも、当該エラーが発生したプリンタ等の周辺機器のみについて、当該更新データの送信をやり直すことが可能となる。   As described above, according to the principle of the present invention, when the transmission record is not transmitted for 10 seconds or more, the control unit of the computer 11, 12a, 12b or 12c,. , 13b or 13c,... Without transmitting a command for resetting, the printer itself recognizes the occurrence of an error and performs reset processing, so that the update data can be transmitted again from the remote site. Become. Furthermore, even when there are a plurality of peripheral devices such as printers to be updated on the communication network, the update data can be transmitted again only for the peripheral devices such as printers in which the error has occurred.

以上、本発明の実施形態について説明したが、本発明は上述した実施形態に限るものではない。また、本発明の実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、本発明の実施例に記載されたものに限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not restricted to embodiment mentioned above. The effects described in the embodiments of the present invention are only the most preferable effects resulting from the present invention, and the effects of the present invention are limited to those described in the embodiments of the present invention. is not.

具体的には、例えば、本発明に係る周辺機器として、プリンタの例を挙げて説明したが、本発明の技術的範囲はこれに限られず、ビデオカードやストレージドライブなど、その他の周辺機器のファームウェアの更新データの送信にも適用可能である。   Specifically, for example, the peripheral device according to the present invention has been described with reference to an example of a printer. However, the technical scope of the present invention is not limited to this, and firmware for other peripheral devices such as a video card and a storage drive. It can also be applied to the transmission of update data.

本発明に係るシステムの全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a system according to the present invention. 本発明に係るコンピュータの構成を示すブロック図である。It is a block diagram which shows the structure of the computer concerning this invention. 本発明に係るプリンタの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a printer according to the present invention. 本発明に係る更新データ送信処理を示すフローチャートである。It is a flowchart which shows the update data transmission process which concerns on this invention. 本発明に係る更新データ送信処理を示すフローチャートである。It is a flowchart which shows the update data transmission process which concerns on this invention. 本発明に係る更新データのフォーマットの一例を示す図である。It is a figure which shows an example of the format of the update data based on this invention.

符号の説明Explanation of symbols

1 システム、11、12a、12b、12c コンピュータ、13a1、13a2、13a3、13b、13c プリンタ、14、15a1、15a2、15a3、15b、15c 通信ネットワーク、111 制御部、112 記憶部、113 通信I/F部、114 入力部、115 表示部、116 バス、131 CPU、132 FlashROM、133 RAM、134 通信I/F部、135 操作ボタン、136 表示部、137 プリンタユニット、138 バス
1 System, 11, 12a, 12b, 12c Computer, 13a1, 13a2, 13a3, 13b, 13c Printer, 14, 15a1, 15a2, 15a3, 15b, 15c Communication network, 111 Control unit, 112 Storage unit, 113 Communication I / F Unit, 114 input unit, 115 display unit, 116 bus, 131 CPU, 132 FlashROM, 133 RAM, 134 communication I / F unit, 135 operation buttons, 136 display unit, 137 printer unit, 138 bus

Claims (4)

通信ネットワークに接続されたコンピュータが、前記通信ネットワークに接続された周辺機器に、前記周辺機器のファームウェアの更新データを送信する方法であって、
前記コンピュータが、前記更新データを、所定の送信レコードに分割し、前記所定の送信レコード毎に前記所定の送信レコードの送信エラーをチェックするための所定のチェックデータを付加して前記周辺機器に順次送信するステップと、
前記周辺機器が、前記コンピュータから前記所定の送信レコードを順次受信するステップと、
前記周辺機器が、前記コンピュータから前記所定の送信レコードを順次受信したことに応じて、受信した前記所定の送信レコードについて前記所定のチェックデータを用いて送信エラーを順次チェックするステップと、
前記周辺機器が、前記所定の送信レコードについて送信エラーが発生したと判断した場合に、前記送信エラーの発生を通知するデータを前記コンピュータに送信するステップと、
前記コンピュータが、前記周辺機器から前記送信エラーの発生を通知するデータを受信したことに応じて、前記更新データについて残りの所定の送信レコードの送信を中止するステップと、
前記コンピュータが、前記周辺機器をリセットするコマンドを前記周辺機器に送信するステップと、を含む方法。
A computer connected to a communication network is a method of transmitting firmware update data of the peripheral device to a peripheral device connected to the communication network,
The computer divides the update data into predetermined transmission records, adds predetermined check data for checking transmission errors of the predetermined transmission records for each predetermined transmission record, and sequentially adds to the peripheral device. Sending, and
The peripheral device sequentially receiving the predetermined transmission record from the computer;
Sequentially checking transmission errors using the predetermined check data for the received predetermined transmission record in response to the peripheral device sequentially receiving the predetermined transmission record from the computer;
When the peripheral device determines that a transmission error has occurred for the predetermined transmission record, transmitting data notifying the occurrence of the transmission error to the computer;
Suspending transmission of the remaining predetermined transmission record for the update data in response to the computer receiving data notifying the occurrence of the transmission error from the peripheral device;
Sending the computer a command to reset the peripheral device to the peripheral device.
前記所定の送信レコードを順次受信するステップにおいて、前記周辺機器は、前記所定の送信レコードを受信中に所定の時間以上経過しても次のデータを受信しない場合に、前記周辺機器をリセットする請求項1に記載の方法。   In the step of sequentially receiving the predetermined transmission record, the peripheral device resets the peripheral device when the next data is not received even after a predetermined time has elapsed during reception of the predetermined transmission record. Item 2. The method according to Item 1. 前記周辺機器に順次送信するステップにおいて、前記コンピュータが、複数の前記周辺機器に、分割した前記送信レコードに前記所定のチェックデータを付加して順次送信し、
前記更新データについて残りの所定の送信レコードの送信を中止するステップにおいて、前記コンピュータが、複数の前記周辺機器のうち、前記送信エラーの発生を通知するデータを送信した周辺機器に対して、前記更新データについて残りの所定の送信レコードの送信を中止し、
前記周辺機器をリセットするコマンドを送信するステップにおいて、前記コンピュータが、複数の前記周辺機器のうち、前記送信エラーの発生を通知するデータを送信した周辺機器に対して、前記周辺機器をリセットするコマンドを送信する請求項1又は請求項2に記載の方法。
In the step of sequentially transmitting to the peripheral device, the computer sequentially transmits the plurality of peripheral devices with the predetermined check data added to the divided transmission records,
In the step of canceling transmission of the remaining predetermined transmission record for the update data, the computer updates the update to a peripheral device that has transmitted data notifying the occurrence of the transmission error among the plurality of peripheral devices. Stop sending the remaining predetermined transmission records for the data,
In the step of transmitting a command to reset the peripheral device, the computer resets the peripheral device to a peripheral device that has transmitted data notifying the occurrence of the transmission error among the plurality of peripheral devices. The method of Claim 1 or Claim 2 which transmits.
通信ネットワークに接続された周辺機器に、前記周辺機器のファームウェアの更新データを送信するコンピュータを含むシステムであって、
前記コンピュータは、前記更新データを、所定の送信レコードに分割し、前記所定の送信レコード毎に前記所定の送信レコードの送信エラーをチェックするための所定のチェックデータを付加して前記周辺機器に順次送信する手段を備え、
前記周辺機器は、前記コンピュータから前記所定の送信レコードを順次受信する手段と、
前記コンピュータから前記所定の送信レコードを順次受信したことに応じて、受信した前記所定の送信レコードについて前記所定のチェックデータを用いて送信エラーを順次チェックする手段と、
前記所定の送信レコードについて送信エラーが発生したと判断した場合に、前記送信エラーの発生を通知するデータを前記コンピュータに送信する手段と、を備え、
前記コンピュータは、前記周辺機器から前記送信エラーの発生を通知するデータを受信したことに応じて、前記更新データについて残りの所定の送信レコードの送信を中止する手段と、
前記周辺機器をリセットするコマンドを前記周辺機器に送信する手段と、を更に備えるシステム。

A system including a computer that transmits firmware update data of the peripheral device to a peripheral device connected to a communication network,
The computer divides the update data into predetermined transmission records, adds predetermined check data for checking transmission errors of the predetermined transmission records for each predetermined transmission record, and sequentially adds to the peripheral device. Means for transmitting,
The peripheral device sequentially receives the predetermined transmission record from the computer;
Means for sequentially checking transmission errors using the predetermined check data for the predetermined transmission records received in response to sequentially receiving the predetermined transmission records from the computer;
Means for transmitting data notifying the occurrence of the transmission error to the computer when it is determined that a transmission error has occurred for the predetermined transmission record;
The computer, in response to receiving data notifying the occurrence of the transmission error from the peripheral device, means for canceling transmission of the remaining predetermined transmission record for the update data;
Means for transmitting a command to reset the peripheral device to the peripheral device.

JP2006207560A 2006-07-31 2006-07-31 Method and system for transmitting software update data Pending JP2008033709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006207560A JP2008033709A (en) 2006-07-31 2006-07-31 Method and system for transmitting software update data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006207560A JP2008033709A (en) 2006-07-31 2006-07-31 Method and system for transmitting software update data

Publications (1)

Publication Number Publication Date
JP2008033709A true JP2008033709A (en) 2008-02-14

Family

ID=39123035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006207560A Pending JP2008033709A (en) 2006-07-31 2006-07-31 Method and system for transmitting software update data

Country Status (1)

Country Link
JP (1) JP2008033709A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018052882A1 (en) * 2016-09-16 2018-03-22 Honeywell International Inc. On-process migration of non-redundant input/output (i/o) firmware

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05324370A (en) * 1992-05-21 1993-12-07 Yamatake Honeywell Co Ltd Self-diagnostic method of program
JPH111050A (en) * 1997-05-09 1999-01-06 Lexmark Internatl Inc Printing system
JPH1165966A (en) * 1997-08-19 1999-03-09 Fujitsu Ltd Data download system
JPH11143526A (en) * 1997-11-05 1999-05-28 Fuji Electric Co Ltd display
JP2001277664A (en) * 2000-03-31 2001-10-09 Brother Ind Ltd Printer
JP2003131857A (en) * 2001-10-29 2003-05-09 Canon Inc PRINT MANAGEMENT DEVICE, PRINT MANAGEMENT METHOD, PRINT MANAGEMENT PROGRAM, AND RECORDING MEDIUM CONTAINING PRINT MANAGEMENT PROGRAM
JP2005067003A (en) * 2003-08-22 2005-03-17 Seiko Epson Corp Printer

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05324370A (en) * 1992-05-21 1993-12-07 Yamatake Honeywell Co Ltd Self-diagnostic method of program
JPH111050A (en) * 1997-05-09 1999-01-06 Lexmark Internatl Inc Printing system
JPH1165966A (en) * 1997-08-19 1999-03-09 Fujitsu Ltd Data download system
JPH11143526A (en) * 1997-11-05 1999-05-28 Fuji Electric Co Ltd display
JP2001277664A (en) * 2000-03-31 2001-10-09 Brother Ind Ltd Printer
JP2003131857A (en) * 2001-10-29 2003-05-09 Canon Inc PRINT MANAGEMENT DEVICE, PRINT MANAGEMENT METHOD, PRINT MANAGEMENT PROGRAM, AND RECORDING MEDIUM CONTAINING PRINT MANAGEMENT PROGRAM
JP2005067003A (en) * 2003-08-22 2005-03-17 Seiko Epson Corp Printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018052882A1 (en) * 2016-09-16 2018-03-22 Honeywell International Inc. On-process migration of non-redundant input/output (i/o) firmware
US10503491B2 (en) 2016-09-16 2019-12-10 Honeywell International Inc. On-process migration of non-redundant input/output (I/O) firmware

Similar Documents

Publication Publication Date Title
TWI444833B (en) Data prefetch in sas expanders
JP5731334B2 (en) Incident pool management method, system, and computer program
JP5423830B2 (en) Update data transmission method, firmware update system, and host device
US6804773B1 (en) System and method for transferring information over a network
JP5103371B2 (en) Method and apparatus for improving the performance of USB mass storage devices in the presence of long transmission delays
CN102576323B (en) Facilitating data compression during replication
CN106330988B (en) Method and device for reissuing hypertext transfer request and client
US20050015579A1 (en) Handling exceptions
JP2003044420A (en) Device driver device
US9130740B2 (en) Variable acknowledge rate to reduce bus contention in presence of communication errors
US8793651B2 (en) Remote card content management using synchronous server-side scripting
US20220404999A1 (en) System and method to create persistent host metadata logs in nvme ssd
JP2008033709A (en) Method and system for transmitting software update data
TWM667423U (en) System for communication managing
US7880917B2 (en) Image forming apparatus and print system
JP2008065505A (en) Method and computer for executing software update process
JP4967881B2 (en) Update data transmission method, firmware rewriting system, and update data transmission program
JP4976329B2 (en) Device capable of executing additional program, failure analysis support method, and failure analysis support program
JP4765814B2 (en) Method and computer for transmitting software update data
CN103530071B (en) Print control unit and image formation system
CN114201419A (en) Control equipment, data transparent transmission method of control equipment and data transparent transmission system
JP5304677B2 (en) Firmware update method, library apparatus, and program
JP7505778B2 (en) Server, user terminal, system, server control method and program, user terminal control method and program, and network connection device
WO2013115282A1 (en) Interface conversion device, interface conversion method, information processing device, information processing system, information processing method, program and storage medium
US11669276B2 (en) Recording device removal detection device, storage medium, and recording device removal detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090601

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110524

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110622

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120207