Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3833902B2 - DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD - Google Patents
[go: Go Back, main page]

JP3833902B2 - DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD - Google Patents

DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD Download PDF

Info

Publication number
JP3833902B2
JP3833902B2 JP2001137939A JP2001137939A JP3833902B2 JP 3833902 B2 JP3833902 B2 JP 3833902B2 JP 2001137939 A JP2001137939 A JP 2001137939A JP 2001137939 A JP2001137939 A JP 2001137939A JP 3833902 B2 JP3833902 B2 JP 3833902B2
Authority
JP
Japan
Prior art keywords
firmware
mail
data communication
image forming
forming apparatus
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
Application number
JP2001137939A
Other languages
Japanese (ja)
Other versions
JP2002297525A (en
Inventor
豪郎 前
篤 冨田
秀樹 日野
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2001137939A priority Critical patent/JP3833902B2/en
Priority to US10/106,099 priority patent/US7213052B2/en
Publication of JP2002297525A publication Critical patent/JP2002297525A/en
Priority to US10/715,024 priority patent/US8001191B2/en
Application granted granted Critical
Publication of JP3833902B2 publication Critical patent/JP3833902B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、データ通信プログラム、データ通信プログラムを記録したコンピュータ読み取り可能な記録媒体、データ通信装置およびデータ通信方法に関し、特に、インターネットを介してファームウェアデータの通信を行なうデータ通信プログラム、データ通信プログラムを記録したコンピュータ読み取り可能な記録媒体、データ通信装置およびデータ通信方法に関する。
【0002】
【従来の技術】
従来、たとえば画像形成装置の動作を制御するファームウェアはマスクROM(Read Only Memory)に書き込まれていた。このためファームウェアを交換する必要が生じた場合は、画像形成装置内の制御基盤上にあるマスクROMを新しいファームウェアの書き込まれたマスクROMに交換するという方法がとられていた。
【0003】
マスクROMの交換作業は、時間がかかるとともに煩雑であった。このため、作業性を向上させるために、マスクROMに代わって、書き換え可能なフラッシュROMが用いられるようになってきた。
【0004】
フラッシュROMに書き込まれたファームウェアを交換する際には、以下のような方法がとられていた。
【0005】
まず、第1の方法としては、メモリカード等の外部記憶装置を用いるという方法である。すなわち、画像形成装置にメモリカード等の外部記憶装置とのI/F(インターフェイス)が設けられ、そのI/Fに新しいファームウェアを格納したメモリカードが接続される。そして、メモリカードからフラッシュROMに新しいファームウェアが書き込まれる。この方法では、遠隔地からファームウェアを書き換えることができず、実際に画像形成装置の設置してある場所まで出向いて行って書き換え作業をしなければならい。
【0006】
第2の方法としては、公衆回線網を利用するという方法である。この方法はファクシミリ装置を中心として実用化されている。すなわち、公衆回線網に接続された遠隔地の装置からファームウェアが画像形成装置に送信される。これをダウンロードすることでファームウェアが書き換えられる。この方法では、第1の方法のように実際に出向いていく必要はなくなるが、通信コストが高く、ファームウェアのダウンロードにも比較的長時間を要するという問題があった。
【0007】
このため最近はインターネットの普及に伴い、第3の方法として、公衆回線網を用いて行なわれていたファームウェアのダウンロードを、インターネットを介して行なうという方法がとられるようになった。インターネットを利用すると、通信コストを削減するとともに、ファームウェアのダウンロードに要する時間を短縮することができる。
【0008】
ここで、インターネットを介して行なう通信のプロトコルには、ホームページを閲覧するためのHTTP(Hyper Text Transfer Protocol)、ファイル転送を行なうFTP(File Transfer Protocol)、電子メールの送信に用いられるSMTP(Simple Mail Transfer Protocol)などさまざまなプロトコルがある。しかし、画像形成装置のファームウェアを遠隔地からインターネットを介してダウンロードするプロトコルとしては、インターネットを介した通信に対するセキュリティ意識の高まりから、制限がみられ、どのプロトコルを用いてもよいというわけではない。
【0009】
すなわち、インターネットと各ユーザとの接続口には、ユーザの内部システムへのインターネットからの不正アクセス等に対処するため、一般に「防御壁」の役割をするファイアウォールが設けられている。このファイアウォールの機能には、インターネットとユーザの内部システムとの間を通過できる通信プロトコルを制御するという機能がある。これにより通過可能なプロトコルが制限されるが、通常、電子メールのプロトコルは通過可能に設定されることが多い。このため、インターネットを介してファームウェアを送信する場合には、従来から電子メールシステムを利用するという方法が考えられている。
【0010】
ところで、最近の画像形成装置のファームウェアのサイズは、その高機能・多機能化に伴い10Mバイト前後にまで膨れ上がっている。そして、今後さらに増大する傾向にある。
【0011】
一方、電子メールの収集と配布のサービスを行なうメールサーバは、受信可能な電子メール・メッセージのサイズに制限を設けているのが一般的であり、この制限サイズは1Mバイト前後に設定されている場合が多いようである。
【0012】
このため、前述したサイズのファームウェアを電子メールで送信しようとした場合、制限サイズを超えてしまい、メールサーバから受け取りを拒否されるケースが多発するものと予想される。
【0013】
したがって、これを回避するために、ファームウェアデータを一括して送信するのではなく、適当に分割して送信するという方法が考えられる。
【0014】
【発明が解決しようとする課題】
しかしながら、上述したような方法によって適切にファームウェアが電子メールに添付されて分割送信されたとしても、メールサーバ側の不具合、その他の何らかの要因により、最終的に画像形装置側で受信する電子メールの順序が送信順と異なることが考えられる。
【0015】
この場合、画像形成装置側で受信した順にファームウェアの書き換え処理を行なうと、本来送信順に行なうべき書き換え処理の順序とは異なり、書き換え後の画像形成装置が正常に動作しなくなる恐れがある。
【0016】
本発明は、かかる実状に鑑み考えられたものであり、その目的は、分割されたファームウェアの送受信順序にかかわらず、適切にファームウェアの書き換えを行なうことのできるデータ通信プログラム、該プログラムを記録したコンピュータ読み取り可能な記録媒体、データ通信装置およびデータ通信方法を提供することである。
【0017】
【課題を解決するための手段】
上記目的を達成するため、本発明のある局面に従うと、データ通信プログラムは、ネットワークを介してファームウェア付きの電子メールを受信する受信ステップと、電子メールからファームウェアの書き換え順序に関する情報を取得する取得ステップと、取得された書き換え順序に関する情報に基づいて、ファームウェアが所定のメモリに書き込み可能状態であるか否かを判断する判断ステップと、判断ステップにより書き込み可能状態であると判断された場合に、ファームウェアを所定のメモリに書き込む書込ステップと、をコンピュータに実行させる。
判断ステップは、取得された書き換え順序よりも前の書き換え順序のファームウェアが所定のメモリへの書き込みを終了している場合に、書き込み可能状態であると判断する。
【0018】
この発明によると、電子メールに添付されたファームウェアの書き換え順序に関する情報が取得され、その取得された書き換え順序に関する情報に基づいて、ファームウェアが所定のメモリに書き込み可能状態であるか否かが判断される。そして、書込み可能状態であると判断された場合に、ファームウェアが所定のメモリに書き込まれる。
【0019】
たとえば、あるモジュールについて分割されたファームウェアが送信されてくる場合などは、書き換え順序が予め設定されており、この順序に従ってメモリに書込みを行なう必要がある。この場合には、電子メールの受信順序ではなく、取得された書き換え順序に基づいて書込み可能状態であるか否かが判断される。よって、所定のメモリへの書込みが適切な順序で行なわれ、書き換え後の装置が誤動作するという不都合が生じない。
また、この発明によると、取得された書き換え順序よりも前の書き換え順序のファームウェアが所定のメモリへの書き込みを終了している場合に、対象となるファームウェアが書き込み可能状態であると判断され、所定のメモリに書き込まれる。書き換え順序が先のファームウェアが所定のメモリに書き込まれた後に書き込み処理が行われるため、適切な順序でもってファームウェアが書き換えられる。よって、書き換えられた後のファームウェアにより、適正に装置が動作することになる。
【0020】
したがって、分割されたファームウェアの送受信順序にかかわらず、適切にファームウェアの書き換えを行なうことのできるデータ通信プログラムを提供することが可能となる。
【0021】
本発明の別の局面に従うと、データ通信プログラムは、ネットワークを介してファームウェア付きの電子メールを受信する受信ステップと、電子メールからファームウェアの書き換え順序に関する情報を取得する取得ステップと、取得された書き換え順序に関する情報に基づいて、ファームウェアが所定のメモリに書き込み可能状態であるか否かを判断する判断ステップと、判断ステップにより書き込み可能状態であると判断された場合に、ファームウェアを所定のモジュールに送信する送信ステップと、をコンピュータに実行させる。
判断ステップは、取得された書き換え順序よりも前の書き換え順序のファームウェアが所定のメモリへの書き込みを終了している場合に、書き込み可能状態であると判断する。
【0022】
この発明によると、電子メールに添付されたファームウェアの書き換え順序に関する情報が取得され、その取得された書き換え順序に関する情報に基づいて、ファームウェアが所定のメモリに書き込み可能状態であるか否かが判断される。そして、書込み可能状態であると判断された場合に、ファームウェアの書き換え対象となるメモリの存在するモジュールへとそのファームウェアが送信される。
【0023】
たとえば、あるモジュールについて分割されたファームウェアが送信されてくる場合などは、書き換え順序が予め設定されており、この順序に従って所定モジュールのメモリに書込みを行なう必要がある。この場合には、電子メールの受信順序ではなく、取得された書き換え順序に基づいて書込み可能状態であるか否かが判断される。よって、所定モジュールのメモリへの書込みが適切な順序で行なわれることになり、書き換え後の装置が誤動作するという不都合が生じない。
また、この発明によると、取得された書き換え順序よりも前の書き換え順序のファームウェアが所定のメモリへの書き込みを終了している場合に、対象となるファームウェアが書き込み可能状態であると判断され、所定のメモリに書き込まれる。書き換え順序が先のファームウェアが所定のメモリに書き込まれた後に書き込み処理が行われるため、適切な順序でもってファームウェアが書き換えられる。よって、書き換えられた後のファームウェアにより、適正に装置が動作することになる。
【0024】
したがって、分割されたファームウェアの送受信順序にかかわらず、適切にファームウェアの書き換えを行なうことのできるデータ通信プログラムを提供することが可能となる。
【0027】
本発明の別の局面に従うとコンピュータ読み取り可能な記録媒体は、上記いずれかに記載のデータ通信プログラムを記録する。したがって、分割されたファームウェアの送受信順序にかかわらず、適切にファームウェアの書き換えを行なうことのできるデータ通信プログラムを記録したコンピュータ読み取り可能な記録媒体を提供することが可能となる。
【0028】
本発明のさらに別の局面に従うと、データ通信装置は、ネットワークを介してファームウェア付きの電子メールを受信する受信手段と、電子メールから前記ファームウェアの書き換え順序に関する情報を取得する取得手段と、取得された書き換え順序に関する情報に基づいて、ファームウェアが所定のメモリに書き込み可能状態であるか否かを判断する判断手段と、判断手段により書き込み可能状態であると判断された場合に、ファームウェアを所定のメモリに書き込む書込手段とを含む。
判断手段は、取得された書き換え順序よりも前の書き換え順序のファームウェアが所定のメモリへの書き込みを終了している場合に、書き込み可能状態であると判断する。
【0029】
この発明によると、電子メールに添付されたファームウェアの書き換え順序に関する情報が取得され、その取得された書き換え順序に関する情報に基づいて、ファームウェアが所定のメモリに書き込み可能状態であるか否かが判断される。そして、書込み可能状態であると判断された場合に、ファームウェアが所定のメモリに書き込まれる。
【0030】
たとえば、あるモジュールについて分割されたファームウェアが送信されてくる場合などは、書き換え順序が予め設定されており、この順序に従ってメモリに書込みを行なう必要がある。この場合には、電子メールの受信順序ではなく、取得された書き換え順序に基づいて書込み可能状態であるか否かが判断される。よって、所定のメモリへの書込みが適切な順序で行なわれ、書き換え後の装置が誤動作するという不都合が生じない。
また、この発明によると、取得された書き換え順序よりも前の書き換え順序のファームウェアが所定のメモリへの書き込みを終了している場合に、対象となるファームウェアが書き込み可能状態であると判断され、所定のメモリに書き込まれる。書き換え順序が先のファームウェアが所定のメモリに書き込まれた後に書き込み処理が行われるため、適切な順序でもってファームウェアが書き換えられる。よって、書き換えられた後のファームウェアにより、適正に装置が動作することになる。
【0031】
したがって、分割されたファームウェアの送受信順序にかかわらず、適切にファームウェアの書き換えを行なうことのできるデータ通信装置を提供することが可能となる。
【0032】
本発明のさらに別の局面に従うと、画像形成装置は、上記記載のデータ通信装置を備える。このため、分割されたファームウェアの送信順序にかかわらず、適切に画像形成装置のファームウェアの書き換えを行なうことのできる。
【0033】
本発明のさらに別の局面に従うと、データ通信方法は、ネットワークを介してファームウェア付きの電子メールを受信する受信ステップと、電子メールからファームウェアの書き換え順序に関する情報を取得する取得ステップと、取得された書き換え順序に関する情報に基づいて、ファームウェアが所定のメモリに書き込み可能状態であるか否かを判断する判断ステップと、判断ステップにより書き込み可能状態であると判断された場合に、ファームウェアを所定のメモリに書き込む書込ステップとを含む。
判断ステップは、取得された書き換え順序よりも前の書き換え順序のファームウェアが所定のメモリへの書き込みを終了している場合に、書き込み可能状態であると判断する。
【0034】
この発明によると、分割されたファームウェアの送受信順序にかかわらず、適切にファームウェアの書き換えを行なうことのできるデータ通信方法を提供することが可能となる。
【0035】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照しながら詳細に説明する。
【0036】
ここでは、画像形成装置のファームウェアが、電子メールシステムを利用して書き換えられる場合を例に挙げて説明する。図1は、本発明の実施の形態におけるファームウェアの通信方法を実施するためのシステム構成を示した図である。本図を参照して、本システムは、画像形成装置を含むユーザ側の装置と、画像形成装置にファームウェアを送信するサービスセンター側の装置と、これらを接続するインターネットとにより構成される。
【0037】
本システムでは、1のサービスセンター側の装置に対して、複数のユーザ側の装置を接続することが可能である。しかし、ここでは説明を簡略化するため、1(組)のユーザ側の装置が接続されている場合を例として示している。
【0038】
ユーザ側の装置には、画像形成装置11とこれに接続されたプリンタコントーラ21とが含まれる。プリンタコントローラ21は、LANを経由して、ファイアウォール31に、そして、ルータ32を介してインターネットに接続されている。また、LANには、電子メールの収集と配布のサービスを行なうメールサーバ33が接続されている。
【0039】
サービスセンター側には、ファームウェアの送信を行なうコンピュータ91が設置されている。コンピュータ91は、ユーザ側のプリンタコントローラ21と通信するために、LANを経由して、ファイアウォール81に、そして、ルータ82を介してインターネットに接続されている。また、LANには、電子メールの収集と配布のサービスを行なうメールサーバ83も接続されている。
【0040】
なお、図示せぬが、ルータ82とルータ32の間のインターネット上では複数のメールサーバが介在し、不定数の複数のメールサーバを経由して電子メールは送信される。また、インターネットでは、送信先へのデータ送信を保証しない、データ送信順を保証しない、送信経路が不定である、そして、送信データ欠落もあり得るインフラである。したがって、電子メールによっては経由するメールサーバやメールサーバ数が異なることもあれば、メールサーバでの処理時間もメールサーバ毎に異なる。送信元から送信先へ電子メールを送信するときには、このような環境で複数のメールサーバを介して送信することになるため、課題で前述したように、送信元(もしくはメールサーバ83)からの複数の電子メールの送信順序と、送信先(もしくはメールサーバ33)からの複数の電子メールの受信順序とは一致しないことが起こり得る。
【0041】
ここで、ファームウェアの書き換えが行なわれる動作について簡単に説明する。まず、サービスセンター側のコンピュータ91から新たなファームウェアが電子メールに添付されて、ユーザ側の画像形成装置11宛てに送信される。
【0042】
添付されるファームウェアは、1つのファームウェアであってもよいし、1つのファームウェアが適当に分割されたものの中の1つであってもよい。ここでは、1つのファームウェアが複数に分割されたものの中の1つがそれぞれ電子メールに添付されて順次送信されるものとする。この場合、電子メールの送信順としては、分割されたファームウェアの書き込みを行なう順序となっている。
【0043】
分割されたファームウェア付きの電子メールは、適宜、サービスセンター側のLAN、メールサーバ83、インターネット、ユーザ側のLANをそれぞれ経由して、メールサーバ33のメールボックスに格納される。
【0044】
ユーザ側の画像形成装置11のプリンタコントローラ21は、書き換え処理が可能な状態のファームウェアデータが存在すると判断した場合、メールサーバ33から、該当する電子メール・メッセージをダウンロードする。そして、電子メール・メッセージからファームウェアを取りだし、画像形成装置11の書き換え対象となるFlash ROMにこの新たなファームウェアの書き込みを行なう。
【0045】
次に、図1に示したそれぞれの装置について詳しく説明する。
【0046】
図2は、画像形成装置11の回路構成を示すブロック図である。本図を参照して、画像形成装置11は、原稿画像を走査して、その複写画像を用紙上に形成するマルチCPU(Central Processing Unit)構成の装置である。したがって、個々のCPUに対応した制御モジュール1から制御モジュール4の4つの制御モジュールにより構成される。
【0047】
制御モジュール1は、画像形成装置11の全体制御を司るCPU111と、そのファームウェアを格納した書き換え可能なFlash ROM112と、作業用のS−RAM113と、各種設定値を保存するバッテリバックアップされたNV−RAM114と、制御モジュール2と各種の制御データを送受信するシリアルI/F115と、制御モジュール3と各種の制御データを送受信するシリアルI/F116と、プリンタコントローラ2と各種のデータを送受信するシリアルI/F117と、各種キーや表示部を含む操作パネル118とから構成される。
【0048】
制御モジュール2は、画像形成装置11のプリント処理を制御するCPU121と、そのファームウェアを格納した書き換え可能なFlash ROM122と、作業用のS−RAM123と、各種設定値を保存するバッテリバックアップされたNV−RAM124と、制御モジュール1と各種の制御データを送受信するシリアルI/F125と、制御モジュール4と各種の制御データを送受信するシリアルI/F126と、画像形成処理の負荷を制御するプリント負荷制御I/O,GA127とから構成される。
【0049】
制御モジュール3は、画像形成装置11の原稿画像の読取処理を制御するCPU131と、そのファームウェアを格納した書き換え可能なFlash ROM132と、作業用のS−RAM133と、各種設定値を保存するバッテリバックアップされたNV−RAM134と、制御モジュール1と各種の制御データを送受信するシリアルI/F135と、原稿画像の読取処理の負荷を制御するIR負荷制御I/O,GA136とから構成される。
【0050】
制御モジュール4は、画像形成装置11に対する画質の補正を制御するCPU141と、そのファームウェアを格納した書き換え可能なFlash ROM142と、作業用のS−RAM143と、各種設定値を保存するバッテリバックアップされたNV−RAM144と、制御モジュール2と各種の制御データを送受信するシリアルI/F145と、画質補正制御を行なう画質補正制御GA146とから構成されている。
【0051】
制御モジュール1〜4はシリアルI/Fを介した通信を実行する。通常は各モジュールのCPU間での制御命令、制御情報の送受信を実行しており、ファームウェア書き換え時にはファームウェアデータの送信を実行する。シリアルI/Fを介した通信は、通常利用する制御命令、制御情報の通信データサイズにあわせた構成であるため、ファームウェアのような大容量のデータでは送信時間を要しており、ファームウェアのデータサイズによっては、センターPC91から画像形成装置11に電子メールを送信するよりも時間を要する場合もある。
【0052】
図3は、プリンタコントローラ21の回路構成を示したブロック図である。本図を参照して、プリンタコントローラ21は、CPU201と、その制御プログラムが格納されたEP−ROM202と、作業用のS−RAM203と、各種設定値を記憶するNV−RAM(不揮発性メモリ)204と、画像形成装置11との各種データを送受信するシリアルI/F205と、LANを介して各種のデータを送受信するためのNIC(ネットワークインターフェイスカード)206と、電源を制御するための出力ポートを含むIO207と、各種データを保存するためのバックアップメモリ208と、各種入力等を行なう操作パネル209とを含んでいる。
【0053】
NV−RAM204には、自己のIPアドレス以外に、プリンタコントローラ21が自分(画像形成装置11)宛の電子メール・メッセージをメールサーバ33からダウンロードするために必要となるメールサーバのIPアドレス、自分の電子メール・アカウントの名称およびパスワード等が格納されている。
【0054】
図4は、サービスセンター側に設置されたコンピュータ91の回路構成を示すブロック図である。本図を参照して、コンピュータ91は、装置全体を制御するCPU901と、プログラム等が格納されているROM902と、作業領域および各種データの一時保存領域であるRAM903と、種々の情報等が格納される固定記憶装置904と、ディスプレイ92を制御する表示制御部905と、キーボード93およびマウス94を制御する入力制御部906と、LANを介して外部と各種データを送受信するためのNIC907とを含んでいる。
【0055】
固定記憶装置904には、画像形成装置11の機種や電子メールアドレス、メールサーバに設けられた制限容量情報を含む画像形成装置の登録情報が記憶される。また、画像形成装置11の機種に対応したファームウェアも記憶される。
【0056】
ファームウェアは、サービスセンターのオペレータにより、予め機種とその制御モジュールに応じて、固定記憶装置904内のそれぞれ異なる所定のフォルダ/ディレクトリに格納される。
【0057】
続いて、図1に示したシステムにおいて、画像形成装置のファームウェアが遠隔地から送信され書き換ええられる際の動作について説明する。
【0058】
まず、サービスセンター側のコンピュータ91に搭載されているCPU901における処理について図5から図7を用いて説明する。
【0059】
図5は、サービスセンター側のコンピュータ91のCPU901が行なう処理のメインルーチンを示すフローチャートである。CPU901は電源の投入によって処理をスタートし、まず、メモリの初期化やパラメータの初期化などのコンピュータ装置が行なう一般的な初期化処理を実行する(ステップS501)。その後、たとえばキーボード93上の各ファンクションキー(F1からF3)の入力操作に応じて、通信設定処理(ステップS505)、画像形成装置の登録処理(ステップS509)、またはファームウェア送信処理(ステップS513)を行なう。
【0060】
F1キーが入力された場合は(ステップS503で“YES”)、ステップS505において、通信設定処理が行なわれる。すなわち、ここではコンピュータ91が電子メールを送信するために必要なパラメータの設定が行なわれる。たとえば、サービスセンター側のLANに接続されたメールサーバ83のIPアドレスや、コンピュータ91の電子メールアドレス等が入力され、それぞれ固定記憶装置904に記憶される。コンピュータ91の電子メールアドレスは、コンピュータ91がプリンタコントローラ21にファームウェアの添付された電子メールを送信する際に、そのFromフィールドにセットされるものである。
【0061】
F2キーが入力された場合は(ステップS507で“YES”)、ステップS509において、画像形成装置の登録処理が行なわれる。すなわち、各画像形成装置の機種名、電子メールアドレス、対応するメールサーバに設けられた制限容量情報、その他必要に応じて、各画像形成装置のユーザの名称、住所、電話番号等の情報が入力され、固定記憶装置904に記憶される。
【0062】
F3キーが入力された場合は(ステップS511で“YES”)、ステップS513において、ファームウェアの送信処理が行なわれる。すなわち、書き換えの対象となる機種のファームウェアが適切に分割され、その1つ1つが別の電子メールに添付されて画像形成装置11宛に送信される。
【0063】
図6は、図5の画像形成装置の登録処理(ステップS509)において固定記憶装置904に登録されるデータ例を示した図である。サービスセンター側のオペレータは、画像形成装置のファームウェアを書き換える前に、予めキーボード93、マウス94などを用いてコンピュータ91にその画像形成装置に関する情報を入力する。
【0064】
図6に示すように、画像形成装置に関する情報には、画像形成装置の機種名、電子メールアドレス、および、その他の情報が含まれる。その他の情報としては、画像形成装置を容易に識別するために、たとえば画像形成装置のユーザの名称、住所、電話番号等のユーザ情報を含んでもよい。
【0065】
このような画像形成装置に関する情報はコンピュータ91に入力され、本図に示すようなテーブル形式にまとめられ固定記憶装置904に記憶される。なお、説明の便宜上テーブル形式にまとめたこの情報を以下(「登録情報テーブル」という)。
【0066】
次に、画像形成装置のファームウェアを書き換える必要が生じた場合に、コンピュータ91によりファームウェアを添付した電子メールメッセージが作成され、それが画像形成装置11に送信される処理の流れについて説明する。図7は、図5のファームウェア送信処理(ステップS513)の詳細を示したフローチャートであり、前述のコンピュータ91のCPU901で実行する。
【0067】
本図を参照して、まず、ステップS701において、サービスセンター側のオペレータにより、キーボード93、マウス94等を用いてコンピュータ91にファームウェアを書き換える対象となる画像形成装置の機種およびその制御モジュールの指定がなされる。機種および制御モジュールが指定されるのは、一般に画像形成装置のファームウェアは、これら機種と制御モジュールによって異なるからである。
【0068】
次に、ステップS703において、固定記憶装置904に記憶されている登録情報テーブル(図6)が読み出され、ステップS705において、指定された画像形成装置の機種についての登録台数nが計数される。そして、ステップS707において、ループカウンタに1がセットされ、以降、ループカウンタiが登録台数nを超えるまで、指定された機種の画像形成装置について、ファームウェアの適切な分割等が行なわれ、電子メールの送信処理が行なわれる。
【0069】
すなわち、ステップS709において、ループカウンタiと指定機種の登録台数nとが比較され、ループカウンタiが指定機種の登録台数n以下であれば(ステップS709で“YES”)、ステップS711において、指定機種のi番目の画像形成装置の電子メールアドレス宛てに、ファームウェアを添付した電子メール・メッセージが作成される。
【0070】
サービスセンタ側では、予め送信するメールのサイズに例えば1Mバイトというように制限が設けられており、その制限サイズを超えないように、ファームウェアが分割される。そして、分割されたファームウェアを添付して電子メール・メッセージが作成される。
【0071】
ファームウェアの分割方法としては、単に制限サイズに基づいた分割ではなく、まずマルチチップ単位で分割した後、制限サイズを越えるようなら、超えないようにさらに分割するというような方法をとってもよい。
【0072】
なお、サービスセンター側で記憶される制限サイズは、一律ではなく、ユーザごとに登録するようにしてもよい。
【0073】
次に、ステップS713においては、作成された電子メール・メッセージが画像形成装置宛てに送信される。すなわち、図5のステップS505で設定されているメールサーバ83のIPアドレスを基にメールサーバ83との接続が確立された後、電子メール送信のインターネット標準であるSMTPプロトコル(RFC821)に従ってメールサーバ83に電子メール・メッセージが送信される。
【0074】
電子メールが送信されると、ステップS715において、ループカウンタiが1つインクリメントされ、再びステップS709の処理へと戻る。このようにして、登録情報テーブルに登録されている指定機種についてのすべての画像形成装置に対してステップS709からステップS715までの処理が行なわれる。
【0075】
そして、登録情報テーブルに登録されている指定機種と等しいすべての装置に対する処理が終了すると(ステップS709で“NO”)、ファームウェアの送信処理が終了する。
【0076】
以上の処理によると、指定された機種についてのファームウェアの容量がメールサーバの制限容量よりも大きい場合であっても、適切にファームウェアが分割されて送信されるため、送信できないという事態を回避することが可能となる。
【0077】
次に、ファームウェアを添付した電子メールについて、図8を用いて詳しく説明する。図8は、分割されたファームウェアを添付した電子メールのメッセージ文の一例を示した図である。
【0078】
図8を参照して、電子メールのメッセージに関するインターネット標準(RFC822)により、電子メールのメッセージ・フィールドは、大きく分けて、ヘッダ部とボディ部に分かれており、両者はNULL行によって区別される。
【0079】
ヘッダ部は、インターネット標準(RFC822)で規定された複数のヘッダ・フィールドで構成され、このヘッダ・フィールドは、行頭から“:”までのフィールド名とそれ以降のフィールド・ボディにより構成される。
【0080】
ところで、画像形成装置のファームウェアはバイナリデータであるが、RFC822では電子メールのメッセージに直接バイナリデータを記述することが禁止されている。このため、RFC2045、2046、2047で規定されているMIME(Multipurpose Internet Mail Extensions)拡張規定を利用して、画像形成装置のファームウェアをメッセージのボディ部にファイルとして添付する。
【0081】
メッセージのヘッダ部には、「From」、「To」、「Date」、「Subject」等のRFC822で規定されたフィールド以外に、MIME拡張規定に伴う「MIME−Version」、「Content−Type」の各フィールドが追加される。
【0082】
Subjectフィールドのフィールド・ボディには、オペレータによって指定された機種の名称、および添付するファームウェアの対象制御モジュールの番号をアンダーバーで繋いだ文字列が記述される。たとえば、機種名が「model1」、対象制御モジュールの番号が「1」の場合、「model1_module1」という文字列が記述される。そして、添付のファームウェアデータが分割されたものである場合は、本図に示すように、最後に分割数と何番目のデータなのかを示す番号が記述される。たとえば、ファームウェアを3分割したうちの1番目のものである場合、(1/3)という文字が記述される。なお、添付のファームウェアデータが分割されたものでない場合は、最後に分割数等は何も記述されない。
【0083】
Content−Typeフィールドのフィールド・ボディには、「Multipart/mixed」を指定してメッセージ・ボディ部が複数のパートに分割可能に設定された上で、個々のパートの境界を表わす「Boundary」パラメータに適切なUS−ASCII文字列(本図では文字列の後「5kvrZF/hrA」)が指定される。
【0084】
メッセージのボディ部には、ヘッダ部のContent−Typeフィールドのboundaryパラメータの値(本図では「5kvrZF/hrA」)の前に「−−」を加えた文字列が記載され、1つのパートの始まりが指定される。その下に、「Content−Type」フィールドが記述され、そのフィールド・ボディに添付するファイルがバイナリデータであることを示す「application/octet−stream」が指定される。
【0085】
さらにその下に、「Content−Transfer−Encoding」フィールドが記述され、フィールド・ボディに「base64」が指定される。前述のとおり、RFC822により電子メールのメッセージに直接バイナリデータを記述することが禁止されているため、バイナリデータをUS−ASCII文字に変換しなければならない。MIME拡張規定では、この変換の方式として複数の方式が定められているが、その中の1つがBase64方式である。
【0086】
上記2つのフィールドの下に、ファームウェアのバイナリデータがBase64方式でUS−ASCII文字に変換して追加される。そして最後に、ボディ部のすべてのパートの終端であることを示すため、ヘッダ部のContent−TypeフィールドのBoundaryパラメータの値(本図では「5kvrZF/hrA」)の前後にそれぞれ「−−」を加えた文字列が記述される。
【0087】
続いて、ユーザ側における処理について説明する。図9は、画像形成装置11のプリンタコントローラ21のCPU201における処理のメインルーチンを示すフローチャートである。本図を参照して、CPU201は、電源の投入によって処理をスタートし、まずメモリの初期化やパラメータの初期化などのコンピュータ装置が行なう一般的な初期化処理を行なう(ステップS901)。その後、必要に応じて、通信設定処理(ステップS905)、ファームウェアの読取処理(ステップS909)を行なう。
【0088】
たとえば、操作パネル209上の「設定」キーがユーザにより入力された場合(ステップS903で“YES”)、ステップS905において、電子メールを送受信するために必要なパラメータの設定が行なわれる。すなわち、ここでは、ユーザ側のLANに接続されたメールサーバ33のIPアドレス、メールサーバ33上の画像形成装置11の電子メール・アカウントの名称とパスワード、画像形成装置11の電子メールアドレス、画像形成装置11宛の新しい電子メールが届いているかどうかを定期的に確認する際の時間間隔等が入力され、それぞれNV−RAM204に記憶される。
【0089】
ステップS907では、確認間隔が経過したか否かが判断される。すなわち、ステップS905で設定された時間間隔(画像形成装置11宛の新しい電子メールメッセージが到着したか否かの確認する時間間隔)が経過したか否かがここで判断される。
【0090】
時間間隔が経過している場合は(ステップS907で“YES”)、ステップS909において、CPU201はメールサーバ33に対して新しい電子メールメッセージが届いているかどうかを読みに行き、必要な電子メールのダウンロード処理を行なう。確認間隔が経過していない場合は(ステップS907で“NO”)、たとえばステップS903の処理へと戻り、確認間隔が経過するまで上記処理を繰り返す。
【0091】
続いて、ユーザ側において、プリンタコントローラ21のCPU201における処理について説明する。
【0092】
図10は、図9のファームウェアの読取処理(ステップS909)の詳細を示したフローチャートである。本図を参照して、まず、ステップS1001において、図9のステップS905で設定されたメールサーバ33のIPアドレスをもとに、メールサーバ33とのTCPコネクションが確立され、画像形成装置11宛の新しいメッセージが届いているか否かが確認される(ステップS1003)。
【0093】
なお、この確認処理、およびメールサーバ33に画像形成装置11宛の新しいメッセージが届いていた場合にそれをダウンロードするという後述の処理においては、POP3(Post Office Protocol Version
3)プロトコルが用いられる。
【0094】
新着メッセージの確認の結果、メールサーバ33に画像形成装置11宛の新しいメッセージが届いていた場合(ステップS1003で“YES”)、ステップS1005において、メールサーバ33からそのメッセージ情報が取得される。すなわち、メッセージのヘッダ部のサブジェクト情報が取得される。
【0095】
そして、ステップS1007において、ファームウェアが添付された電子メールか否かが判断される。ファームウェアが添付されているかどうかは、たとえば、メッセージのヘッダ部のContent−Descriptionフィールドのフィールド・ボディの値が「Firmware」であるか否かにより判断される。
【0096】
ファームウェアが添付されていた場合(ステップS1007で“YES”)、ステップS1009において、書き込み処理可能状態のファームウェアデータか否かが判断される。すなわち、Subjectフィールドに分割を示す2/3等の文字が認識された場合、そのファームウェアが分割されていることが認識される。そして、同じコードのSubjectで、先に送信された分割ファームウェア、つまり、1/3の文字を含む分割ファームウェアデータの処理が既にされたか否かがチェックされる。
【0097】
その結果、該当のファームウェアデータの書き込み処理が既に終了済みであると確認された場合、対象となる分割ファームウェアは書き込み処理可能データとなるため、続くステップS1011で、そのファームウェアの添付されたメッセージがメールサーバ33からプリンタコントローラ21へとダウンロードされる。
【0098】
そして、ステップS1013で、ダウンロードされたメッセージの中からファームウェアの部分のUS−ASCII文字が抜き出され、その抜き出されたUS−ASCII文字が逆Base64変換によりバイナリデータに戻される。ステップS1015では、画像形成装置11のCPU111にシリアルI/F205を介してそのバイナリーデータ、およびモジュール番号が送信される。
【0099】
ファームウェアデータおよびモジュール番号が送信されると、ステップS1017において、画像形成装置11に対して、ファームウェアの書換許可フラグがONされて、書換許可が与えられる。その後、ステップS1019で、メールサーバ内のオリジナル・メッセージが削除され、ステップS1025で、メールサーバ33とのTCPコネクションが切断される。
【0100】
なお、ステップS1009において、対象となるメッセージに添付されたファームウェアが、書き込み処理が可能状態のものではないと判断された場合(ステップS1009で“NO”)、メールサーバ33にデータを保留したまま書込み処理可能なファームウェアが受信されるまで待機される(ステップS1021)。たとえば、Subjectフィールドに分割を示す2/3等の文字が認識された場合、1/3の文字を含む分割ファームウェアデータが未処理であると認識された場合、1/3の分割ファームウェアの書き込み処理の後でなければ書込み処理を行なうことができない。したがって、この場合は2/3のファームウェアデータは、書込み可能状態ではないと判断される。
【0101】
また、ダウンロードされたメッセージにファームウェアが添付されていなかった場合(ステップS1007で“NO”)、ステップS1023において、画像形成装置のファームウェアの書き換え処理以外の用途のメッセージを受信した際の処理が通常通り実行される。
【0102】
このようにして、画像形成装置11のプリンタコントローラ21において、書き込み処理可能状態のファームウェアデータが存在したときに、メールサーバ33からのメッセージがダウンロードされる。そして、画像形成装置11に、ファームウェアのバイナリデータが送信され、書換許可が与えられる。
【0103】
次に、画像形成装置11において行なわれる処理について説明する。図11は、画像形成装置11における基本処理を示すフローチャートであり、画像形成装置11におけるCPU111で実行する。画像形成装置11は、電源の投入等により処理が開始され、まず、各制御モジュールそれぞれにおいて、メモリのクリア、標準モードの設定等の初期設定が行なわれる(ステップS1101)。そして次に、プリンタコントローラ21からファームウェアの受信通知がなされるまで、入力受付(ステップS1103)およびコピー制御(ステップS1105)の各処理が繰り返し実行される。
【0104】
ステップS1103では、各種の入力信号に対する受け付けが一括して行なわれる。ここで入力信号とは、たとえば画像形成装置11の操作パネル118上のキースイッチ群や装置内の各種センサ群からの入力信号、あるいは、プリンタコントローラ21から送信されてくるプリントジョブ等である。
【0105】
ステップS1105では、コピー制御処理、すなわち画像形成装置11の動作に必要な処理が行なわれる。たとえば、給紙制御、走査制御、感光体ドラム制御、現像機制御等の各種作動部群の制御、あるいは、プリンタコントローラ21からのプリントジョブ等に従った処理などである。
【0106】
プリンタコントローラ21からファームウェアの受信通知がされ、ファームウェアの書換処理の許可フラグがONになると(図10のステップS1017で書換許可フラグオン→ステップS1107で“YES”)、まず、ステップS1109において、書換許可フラグがクリアされ、ステップS1111で、ファームウェアの書き換え処理が行なわれる。
【0107】
そして、ファームウェアの書き換え処理が終了すると、ステップS1103の処理へと戻り、再びファームウェアの受信が通知され、書換許可フラグがONになるまでステップS1103とステップS1105の処理が繰り返される。
【0108】
続いて、画像形成装置11のファームウェアの書き換え処理について説明する。まず、プリンタコントローラ21によりシリアルI/F205を介して送信されたファームウェアとその対象制御モジュール番号は、画像形成装置11のシリアルI/F117を経由してCPU111が受信する。このようにしてCPU111がファームウェアを受信した場合、受信したファームウェアの対象制御モジュールのFlash ROMが、次に示す処理に従って書き換えられる。
【0109】
図12は、画像形成装置11におけるファームウェア書き換え処理(図11のステップS1111)の詳細を示したフローチャートである。本図を参照して、ステップS1201、ステップS1205、およびステップS1209により、まず、受信したファームウェアが制御モジュール1〜4のいずれに対するファームウェアであるかが判断される。
【0110】
そして、制御モジュール1のファームウェアであると判断された場合(ステップS1201で“YES”)、ステップS1203において、その新たなファームウェアが、Flash ROM112に書き込まれる。
【0111】
受信したファームウェアが制御モジュール2のファームウェアであると判断された場合(ステップS1205で“YES”)、ファームウェアがCPU111から制御モジュール2のCPU121へと転送され、ステップS1207において、新たなファームウェアがFlash ROM122に書き込まれる。
【0112】
受信したファームウェアが制御モジュール3のファームウェアであると判断された場合(ステップS1209で“YES”)は、ファームウェアがCPU111から制御モジュール3のCPU131へと転送され、ステップS1211において、新たなファームウェアがFlash ROM132に書き込まれる。
【0113】
受信したファームウェアが制御モジュール4のファームウェアであると判断された場合(ステップS1209で“NO”)は、ファームウェアがCPU111からCPU121を介して、制御モジュール4のCPU141へと転送され、ステップS1213において、そのファームウェアがFlash ROM142に書き込まれる。
【0114】
このようにして、画像形成装置11のファームウェアは適宜対応するモジュールの対応するFlash ROMの所定領域に書き込まれれる。
【0115】
以上説明した、サービスセンター側のコンピュータ91、メールサーバ83,33、およびユーザ側の画像形成装置(プリンタ)11の各処理の流れを図13を用いて、時系列で簡単に説明する。図13においては、左から順に、サービスセンターのコンピュータ91、サービスセンターのメールサーバ83、インターネット上のメールサーバ、ユーザの画像形成装置(プリンタ)11のメールサーバ33、およびユーザのプリンタ11を示しており、上から下に時間軸が向いているものとする。
【0116】
前述の通り、ルータ82とルータ32の間のインターネット上でも複数のメールサーバが介在し、不定数の複数のメールサーバを経由して電子メールは送信される。送信元から送信先へ電子メールを送信するときには、複数のメールサーバを介して送信することになる。また、インターネットでは、送信先へのデータ送信を保証しない、データ送信順を保証しない、そして、送信データ欠落もがあり得るインフラである。
【0117】
図13においては、こういった環境においてセンターから電子メールの送信順序とは異なる順序でプリンタのメールサーバが電子メールを受信している例を示す。具体的には、センターからモジュール1のファームウェア(FW)の1/2を添付した電子メール、モジュール1のFWの2/2を添付した電子メール、モジュール2のFWを添付した電子メールの順序で送信したが、プリンタのメールサーバ33は、モジュール1のFWの2/2を添付した電子メール、モジュール2のFWを添付した電子メール、モジュール1のFWの1/2を添付した電子メールの順序で着信したケースである。
【0118】
本図を参照して、まず、画像形成装置(プリンタ)11は、メールサーバ33に一定時間毎に新着メールが届いているか否かのチェックを行なう(点線矢印)。そして、メールサーバ33でモジュール1の分割番号2のファームウェア(2/2)付き電子メールを受信すると(1)、これを受けて、その電子メール・メッセージからサブジェクト情報を取得する(2)。
【0119】
すなわち、ここでは、そのファームウェアが1のモジュールに対して分割されたファームウェアであり、まだそのモジュールの書き換え順序よりも先の書き換え順序を持つ分割ファームウェアがあるという情報が取り出される。このため、この分割ファームウェアは書き込み処理が可能な状態でないと判断され、メッセージはダウンロードされない。そして、書き換え順序が先の分割ファームウェアが送信されてくるのを待つ。
【0120】
次に、メールサーバ33でモジュール2のファームウェア付き電子メールを受信すると(3)、画像形成装置11は、これを受けて、メッセージの情報を取得する。今回のメッセージは、モジュール2の分割されていない1つのファームウェアであるため、書き込み処理が可能なファームウェアデータであると判断される。よって、画像形成装置11側においては、メッセージがダウンロードされ、モジュール2のファームウェアの書き換え処理が行なわれる(4)。
【0121】
その後、メールサーバ33でモジュール1の分割番号1のファームウェア(1/2)を受信すると(5)、画像形成装置11はこれを受けて、メッセージの情報を取得する。ここでは、そのファームウェアが1のモジュールに対して分割されたファームウェアであり、書き換え順序が先頭の分割ファームウェアであることが分かるため、書き込み可能状態のファームウェアデータと判断される。また、先に確認されたこのモジュールに対する次の書き換え順序の分割ファームウェア(2/2)も、先頭のファームウェアの書き換えが行なわれた後は書き込みを行なうことができると認知されるため、書き込み処理が可能なファームウェアであると判断される。
【0122】
よって、メールサーバ33に保存されている、モジュール1に対応する分割ファームウェア(1/2)および(2/2)の両方をダウンロードし、該当するモジュール1のFlash ROMへの書き込みが行なわれる(6)。
【0123】
このように、メールサーバ33が受信したメッセージの順番通りにファームウェアの書き換えが行なわれるのではなく、モジュール単位でファームウェアの書き込み処理が可能であると判断された分割ファームウェアから順に、ダウンロードされ、書換処理が行なわれる。このため、ファームウェアの書換順序が異なることにより、装置が正常に作動しなくなるという不具合を防止することができる。
【0124】
今回は、ファームウェアの添付された電子メール・メッセージが、ファームウェアの書換処理が可能と判断されるまでメールサーバに保持される場合について説明した。しかし、このような場合の他に、画像形成装置11あるいはプリンタコントローラ21側でデータが格納されるようにしてもよい。
【0125】
すなわち、電子メール・メッセージを受信したプリンタコントローラ21は、ファームウェアの書換可能なメッセージであるか否かにかかわらず、メッセージのダウンロードを行なう。そして、データをメモリに格納しておき、書き換え可能状態となった分割ファームウェアデータが存在した時点で、画像形成装置11に送信し、書換許可を与えるようにしてもよい。このような場合について、以下、簡単に図14および図15を用いて説明する。
【0126】
図14は、プリンタコントローラ21側でファームウェアデータを保持する場合のファームウェア読取処理(図9のステップS909)の詳細を示したフローチャートである。本図を参照して、ここでは、図10のフローチャートと異なり、ステップS1003で新着メールがあると判断されると、プリンタコントローラ21は、メッセージのダウンロードを行なう(ステップS1405)。
【0127】
そして、ダウンロードされたデータから、ファームウェアが取り出され(ステップS1408)、書込み処理が可能なファームウェアが存在するまで、取り出されたファームウェアデータが保持され、ファームウェアの書換は行なわれない(ステップS1421)。
【0128】
書込み可能なファームウェアが存在した時点で(ステップS1009で“YES”)、取り出された該当するファームウェアデータすべてが画像形成装置11へと送信される(ステップS1015)。そして、ファームウェアの書換許可が与えられる(ステップS1017)。
【0129】
図15は、サービスセンターのコンピュータ91、サービスセンターのメールサーバ83、ユーザの画像形成装置(プリンタ)11のメールサーバ33、およびユーザのプリンタ11の各処理の流れを説明するための図である。
【0130】
ここでは、図13と同様の環境で、サービスセンターからの電子メールの送信順序とは異なる順序で、プリンタのメールサーバ33が電子メールを受信している例を示す。具体的には、サービスセンターからモジュール1のファームウェア(FW)の1/3を添付した電子メール、モジュール1のFWの2/3を添付した電子メール、モジュール1のFWの3/3を添付した電子メールがそれぞれこの順序で送信される。そして、プリンタのメールサーバ33では、モジュール1のFWの2/3を添付した電子メール、モジュール1のFWの3/3を添付した電子メール、モジュール1のFWの1/3を添付した電子メールの順序でそれぞれ着信したケースである。
【0131】
本図を参照して、メールサーバ33にプリンタ11宛ての電子メール・メッセージが受信されると(1)、書込み可能なファームウェアか否かにかかわらず、まず、そのメッセージがダウンロードされる(2)。ただし、ここでは書き込み可能なファームウェアではないため(2/3)、プリンタ11におけるファムウェアの書換処理は行なわない。
【0132】
また同様に、電子メール・メッセージが受信されると(3)、書き込み可能なファームウェアではなくてもメッセージのダウンロードが行なわれる(4)。ただし、ここでも書き込み可能なファームウェアではないため、書き込み処理は行なわれない。
【0133】
その後、残りの分割ファームウェア付き電子メール・メッセージが送信されてくると(5)、メッセージのダウンロードを行なうと共に、ファームウェア書換え許可に基づき、前にダウンロードして取り出されたファームウェアデータと共に、プリンタ11において、モジュール1についてのファームウェアの書換処理が行なわれる(6)。
【0134】
このように、メールサーバ33にプリンタ11宛ての電子メール・メッセージが届いている場合、そのメッセージに添付されたファームウェアが、書込み処理の可能なデータであるか否かにかかわらず、プリンタ11サイドにダウンロードされる。このため、分割された複数のファームウェアを含むメッセージがメールボックスに格納され、メールサーバの容量制限を超えるという不都合を回避することができる。また、書き換え処理を行なう際には、あらかじめダウンロードされ、記憶されたファームウェアデータが用いられるため、処理時間が短縮される。
【0135】
なお、今回は、書き換え対象となるファームウェアを有するデータ通信装置として画像形成装置を例に挙げて説明したが、これに限定されるものではない。したがって、たとえば、ハブやルータ等の通信機能を有するデバイスであれば、本発明を適用することが可能である。
【0136】
また、本発明でいうファームウェアの分割とは、単一のファームウェアを分割するというケースのみではなく、送信予定の複数のファームウェアを所定条件にしたがって複数に分割するというケースも含まれる。
【0137】
今回示したコンピュータ91、画像形成装置11およびプリンタコントローラ21が行なうファームウェアの通信方法(データ通信方法)は、上述した一連の処理動作を機能させるためのプログラムによって実現されることができる。このデータ通信プログラムは、予め、コンピュータ91、画像形成装置11およびプリンタコントローラ21内のハードディスクにそれぞれインストールされたものであってもよいし、CD−ROM、磁気テープのような取外し可能な記録媒体に記録されたものであってもよい。いずれにせよ、データ通信プログラムはコンピュータ読み取り可能な記録媒体に記録されている。
【0138】
なお、コンピュータ読み取り可能な記録媒体としては、磁気テープやカセットテープなどのテープ系、磁気ディスク(フレキシブルディスク、ハードディスク装置等)や光ディスク(CD−ROM/MO/MD/DVD等)などのディスク系、ICカード(メモリカードを含む)や光カードなどのカード系、あるいはROM、EPROM、EEPROM、フラッシュROMなどの半導体メモリ等の固定的にプログラムを担持する媒体が考えられる。
【0139】
なお、記録媒体に格納される内容としては、プログラムに限定されず、データであってもよい。
【0140】
また、今回は図1等でも示したように、プリンタコントローラ21と画像形成装置11とは別体の装置として説明したが、画像形成装置にプリンタコントローラの機能を内蔵した一体構造であってもよい。この場合、同様に、プリンタコントローラ21と制御モジュール1は互いに連携をとりながら処理が実行される。また、プリンタコントローラ21のCPU201によって、CPU101で実施していた制御を実行してもよい。
【0141】
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
【図面の簡単な説明】
【図1】 本発明の実施の形態におけるファームウェアの通信方法を実施するためのシステム構成を示した図である。
【図2】 画像形成装置11の回路構成を示すブロック図である。
【図3】 プリンタコントローラ21の回路構成を示したブロック図である。
【図4】 サービスセンター側に設置されたコンピュータ91の回路構成を示すブロック図である。
【図5】 サービスセンター側のコンピュータ91のCPU901が行なう処理のメインルーチンを示すフローチャートである。
【図6】 図5の画像形成装置の登録処理(ステップS509)において固定記憶装置904に登録されるデータ例を示した図である。
【図7】 図5のファームウェア送信処理(ステップS513)の詳細を示したフローチャートである。
【図8】 分割されたファームウェアを添付した電子メールのメッセージ文の一例を示した図である。
【図9】 画像形成装置11のプリンタコントローラ21のCPU201における処理のメインルーチンを示すフローチャートである。
【図10】 図9のファームウェアの読取処理(ステップS909)の詳細を示したフローチャートである。
【図11】 画像形成装置11における基本処理を示すフローチャートである。
【図12】 画像形成装置11におけるファームウェア書き換え処理(図11のステップS1111)の詳細を示したフローチャートである。
【図13】 コンピュータ91、メールサーバ83,33、およびユーザ側の画像形成装置(プリンタ)11の各処理の流れを説明するための図である。
【図14】 プリンタコントローラ21側でファームウェアデータを保持する場合のファームウェア読取処理(図9のステップS909)の詳細を示したフローチャートである。
【図15】 コンピュータ91、メールサーバ83,33、およびユーザ側の画像形成装置(プリンタ)11の各処理の流れを説明するための図である。
【符号の説明】
11 画像形成装置、21 プリンタコントローラ、32,82 ルータ、33,83 メールサーバ、91 コンピュータ、111,121,131,141,201,901 CPU、112,122,132,142 Flash ROM、118,209 操作パネル、208 バックアップメモリ、904 固定記憶装置。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data communication program, a computer-readable recording medium on which the data communication program is recorded, a data communication apparatus, and a data communication method, and more particularly to a data communication program and a data communication program for communicating firmware data via the Internet. The present invention relates to a recorded computer-readable recording medium, a data communication apparatus, and a data communication method.
[0002]
[Prior art]
Conventionally, for example, firmware for controlling the operation of the image forming apparatus has been written in a mask ROM (Read Only Memory). For this reason, when the firmware needs to be replaced, a method has been adopted in which the mask ROM on the control board in the image forming apparatus is replaced with a mask ROM in which new firmware is written.
[0003]
Replacing the mask ROM is time consuming and cumbersome. For this reason, in order to improve workability, a rewritable flash ROM has been used in place of the mask ROM.
[0004]
When replacing the firmware written in the flash ROM, the following method has been taken.
[0005]
First, as a first method, an external storage device such as a memory card is used. That is, an I / F (interface) with an external storage device such as a memory card is provided in the image forming apparatus, and a memory card storing new firmware is connected to the I / F. Then, new firmware is written from the memory card to the flash ROM. In this method, the firmware cannot be rewritten from a remote location, and it is necessary to go to a place where the image forming apparatus is actually installed and perform the rewriting work.
[0006]
As a second method, a public line network is used. This method has been put to practical use mainly in facsimile machines. That is, the firmware is transmitted to the image forming apparatus from a remote device connected to the public network. Downloading this will rewrite the firmware. In this method, it is not necessary to actually go out as in the first method, but there is a problem that the communication cost is high and it takes a relatively long time to download the firmware.
[0007]
Therefore, recently, with the spread of the Internet, a third method has come to download firmware via the Internet, which has been performed using the public line network. Using the Internet can reduce communication costs and the time required for downloading firmware.
[0008]
Protocols for communication performed via the Internet include HTTP (Hyper Text Transfer Protocol) for browsing a home page, FTP (File Transfer Protocol) for file transfer, and SMTP (Simple Mail) used for sending e-mails. There are various protocols such as Transfer Protocol). However, as a protocol for downloading firmware of the image forming apparatus from a remote location via the Internet, there is a limitation due to an increase in security awareness regarding communication via the Internet, and any protocol may not be used.
[0009]
In other words, a connection port between the Internet and each user is generally provided with a firewall serving as a “defense wall” in order to deal with unauthorized access from the Internet to the user's internal system. The firewall function includes a function of controlling a communication protocol that can pass between the Internet and the user's internal system. This restricts the protocols that can be passed, but usually the e-mail protocol is often set to pass. For this reason, when transmitting firmware via the Internet, a method of using an electronic mail system has been conventionally considered.
[0010]
By the way, the size of firmware of recent image forming apparatuses has increased to around 10 Mbytes with the increase in functionality and functionality. And it tends to increase further in the future.
[0011]
On the other hand, a mail server that provides e-mail collection and distribution services generally has a limit on the size of an e-mail message that can be received, and this limit size is set to about 1 Mbyte. There seem to be many cases.
[0012]
For this reason, when trying to send firmware of the above-mentioned size by e-mail, it is expected that the limit size will be exceeded and reception from the mail server will be rejected frequently.
[0013]
Therefore, in order to avoid this, it is conceivable to transmit the firmware data in an appropriate manner instead of transmitting the firmware data all at once.
[0014]
[Problems to be solved by the invention]
However, even if the firmware is properly attached to the e-mail and divided and transmitted by the above-described method, the e-mail that is finally received on the image forming apparatus side due to a problem on the mail server side or some other factor The order may be different from the transmission order.
[0015]
In this case, if the firmware rewriting process is performed in the order received on the image forming apparatus side, the rewritten image forming apparatus may not operate normally unlike the rewriting process order that should be performed in the transmission order.
[0016]
The present invention has been conceived in view of such a situation, and an object of the present invention is to provide a data communication program capable of appropriately rewriting firmware regardless of the transmission / reception order of divided firmware, and a computer recording the program To provide a readable recording medium, a data communication apparatus, and a data communication method.
[0017]
[Means for Solving the Problems]
  In order to achieve the above object, according to one aspect of the present invention, a data communication program receives an e-mail with firmware via a network, and obtains information regarding the rewrite order of firmware from the e-mail And a determination step for determining whether or not the firmware is writable in a predetermined memory based on the acquired information on the rewrite order, and the firmware is determined to be writable by the determination step. And writing to the predetermined memory.
  The determination step determines that the writing is possible when the firmware in the rewrite order before the acquired rewrite order has finished writing to the predetermined memory.
[0018]
According to the present invention, information about the rewrite order of firmware attached to an e-mail is acquired, and based on the acquired information about the rewrite order, it is determined whether or not the firmware is writable in a predetermined memory. The Then, when it is determined that it is in a writable state, the firmware is written into a predetermined memory.
[0019]
  For example, when firmware divided for a module is transmitted, the rewrite order is set in advance, and it is necessary to write to the memory according to this order. In this case, it is determined whether or not it is in a writable state based on the acquired rewrite order, not the e-mail reception order. Therefore, there is no inconvenience that writing to a predetermined memory is performed in an appropriate order and the device after rewriting malfunctions.
  Further, according to the present invention, when the firmware in the rewrite order before the acquired rewrite order has finished writing to the predetermined memory, it is determined that the target firmware is in a writable state, Written to the memory. Since the writing process is performed after the firmware having the rewrite order written in the predetermined memory, the firmware is rewritten in an appropriate order. Therefore, the device operates properly by the rewritten firmware.
[0020]
Therefore, it is possible to provide a data communication program capable of appropriately rewriting firmware regardless of the transmission / reception order of the divided firmware.
[0021]
  According to another aspect of the present invention, the data communication program includes a receiving step of receiving an e-mail with firmware via a network, an acquiring step of acquiring information about the rewriting order of the firmware from the e-mail, and the acquired rewriting A determination step for determining whether the firmware is writable in a predetermined memory based on information on the order, and if the determination step determines that the firmware is writable, the firmware is transmitted to a predetermined module And a transmission step of causing the computer to execute.
  The determination step determines that the writing is possible when the firmware in the rewrite order before the acquired rewrite order has finished writing to the predetermined memory.
[0022]
According to the present invention, information about the rewrite order of firmware attached to an e-mail is acquired, and based on the acquired information about the rewrite order, it is determined whether or not the firmware is writable in a predetermined memory. The Then, when it is determined that it is in a writable state, the firmware is transmitted to the module in which the memory to be rewritten is present.
[0023]
  For example, when firmware divided for a certain module is transmitted, the rewrite order is set in advance, and it is necessary to write to the memory of the predetermined module according to this order. In this case, it is determined whether or not it is in a writable state based on the acquired rewrite order, not the e-mail reception order. Therefore, writing to the memory of the predetermined module is performed in an appropriate order, and there is no inconvenience that the device after rewriting malfunctions.
  Further, according to the present invention, when the firmware in the rewrite order before the acquired rewrite order has finished writing to the predetermined memory, it is determined that the target firmware is in a writable state, Written to the memory. Since the writing process is performed after the firmware having the rewrite order written in the predetermined memory, the firmware is rewritten in an appropriate order. Therefore, the device operates properly by the rewritten firmware.
[0024]
Therefore, it is possible to provide a data communication program capable of appropriately rewriting firmware regardless of the transmission / reception order of the divided firmware.
[0027]
  According to another aspect of the invention,A computer-readable recording medium records any one of the data communication programs described above. Therefore, it is possible to provide a computer-readable recording medium that records a data communication program that can appropriately rewrite firmware regardless of the transmission / reception order of the divided firmware.
[0028]
  According to still another aspect of the present invention, a data communication device is obtained by receiving means for receiving an e-mail with firmware via a network, obtaining means for obtaining information on the rewrite order of the firmware from the e-mail, and And determining means for determining whether the firmware is writable in the predetermined memory based on the information related to the rewrite order, and when the determining means determines that the firmware is writable, the firmware is stored in the predetermined memory. And writing means for writing to.
  The determination unit determines that the writing is possible when the firmware in the rewrite order before the acquired rewrite order has finished writing to the predetermined memory.
[0029]
According to the present invention, information about the rewrite order of firmware attached to an e-mail is acquired, and based on the acquired information about the rewrite order, it is determined whether or not the firmware is writable in a predetermined memory. The Then, when it is determined that it is in a writable state, the firmware is written into a predetermined memory.
[0030]
  For example, when firmware divided for a module is transmitted, the rewrite order is set in advance, and it is necessary to write to the memory according to this order. In this case, it is determined whether or not it is in a writable state based on the acquired rewrite order, not the e-mail reception order. Therefore, there is no inconvenience that writing to a predetermined memory is performed in an appropriate order and the device after rewriting malfunctions.
  Further, according to the present invention, when the firmware in the rewrite order before the acquired rewrite order has finished writing to the predetermined memory, it is determined that the target firmware is in a writable state, Written to the memory. Since the writing process is performed after the firmware having the rewrite order written in the predetermined memory, the firmware is rewritten in an appropriate order. Therefore, the device operates properly by the rewritten firmware.
[0031]
Therefore, it is possible to provide a data communication apparatus capable of appropriately rewriting firmware regardless of the transmission / reception order of divided firmware.
[0032]
According to still another aspect of the present invention, an image forming apparatus includes the data communication device described above. Therefore, the firmware of the image forming apparatus can be appropriately rewritten regardless of the transmission order of the divided firmware.
[0033]
  According to still another aspect of the present invention, a data communication method includes: a receiving step of receiving an e-mail with firmware via a network; an acquiring step of acquiring information related to a firmware rewrite order from the e-mail; A determination step for determining whether or not the firmware is writable in a predetermined memory based on information related to the rewrite order, and when the determination step determines that the firmware is in a writable state, the firmware is stored in the predetermined memory. Writing step.
  The determination step determines that the writing is possible when the firmware in the rewrite order before the acquired rewrite order has finished writing to the predetermined memory.
[0034]
According to the present invention, it is possible to provide a data communication method capable of appropriately rewriting firmware regardless of the transmission / reception order of divided firmware.
[0035]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0036]
Here, a case where the firmware of the image forming apparatus is rewritten using an electronic mail system will be described as an example. FIG. 1 is a diagram showing a system configuration for implementing a firmware communication method according to an embodiment of the present invention. Referring to this figure, this system includes a user-side apparatus including an image forming apparatus, a service center-side apparatus that transmits firmware to the image forming apparatus, and the Internet that connects them.
[0037]
In this system, it is possible to connect a plurality of user side devices to one service center side device. However, in order to simplify the description, a case where one (set) user-side device is connected is shown as an example.
[0038]
The user apparatus includes an image forming apparatus 11 and a printer controller 21 connected thereto. The printer controller 21 is connected to the firewall 31 via the LAN and to the Internet via the router 32. In addition, a mail server 33 for collecting and distributing electronic mail is connected to the LAN.
[0039]
A computer 91 that transmits firmware is installed on the service center side. The computer 91 is connected to the firewall 81 via the LAN and to the Internet via the router 82 in order to communicate with the printer controller 21 on the user side. Also connected to the LAN is a mail server 83 that provides electronic mail collection and distribution services.
[0040]
Although not shown, a plurality of mail servers are interposed on the Internet between the router 82 and the router 32, and an electronic mail is transmitted via an indefinite number of mail servers. In addition, the Internet is an infrastructure that does not guarantee data transmission to a transmission destination, does not guarantee the data transmission order, has an indefinite transmission route, and may have transmission data missing. Therefore, depending on the e-mail, the mail server and the number of mail servers through which the mail passes are different, and the processing time in the mail server is different for each mail server. When an e-mail is transmitted from the transmission source to the transmission destination, since it is transmitted via a plurality of mail servers in such an environment, as described above in the problem, a plurality of transmissions from the transmission source (or the mail server 83) It is possible that the order of sending e-mails does not match the order of receiving a plurality of e-mails from the destination (or mail server 33).
[0041]
Here, the operation of rewriting the firmware will be briefly described. First, new firmware is attached to the e-mail from the computer 91 on the service center side and transmitted to the image forming apparatus 11 on the user side.
[0042]
The attached firmware may be one firmware or one of the firmware appropriately divided. Here, it is assumed that one firmware divided into a plurality of pieces is attached to an e-mail and transmitted sequentially. In this case, the transmission order of the e-mail is the order in which the divided firmware is written.
[0043]
The divided e-mail with firmware is appropriately stored in the mailbox of the mail server 33 via the LAN on the service center side, the mail server 83, the Internet, and the LAN on the user side.
[0044]
When the printer controller 21 of the image forming apparatus 11 on the user side determines that there is firmware data that can be rewritten, the printer controller 21 downloads the corresponding e-mail message from the mail server 33. Then, the firmware is extracted from the e-mail message, and the new firmware is written to the flash ROM to be rewritten by the image forming apparatus 11.
[0045]
Next, each device shown in FIG. 1 will be described in detail.
[0046]
FIG. 2 is a block diagram illustrating a circuit configuration of the image forming apparatus 11. Referring to this figure, an image forming apparatus 11 is an apparatus having a multi-CPU (Central Processing Unit) configuration that scans a document image and forms a copy image on a sheet. Therefore, the control module 1 is composed of four control modules 1 to 4 corresponding to each CPU.
[0047]
The control module 1 includes a CPU 111 that controls the entire image forming apparatus 11, a rewritable flash ROM 112 that stores firmware, a work S-RAM 113, and a battery-backed NV-RAM 114 that stores various setting values. A serial I / F 115 that transmits / receives various control data to / from the control module 2, a serial I / F 116 that transmits / receives various control data to / from the control module 3, and a serial I / F 117 that transmits / receives various data to / from the printer controller 2. And an operation panel 118 including various keys and a display unit.
[0048]
The control module 2 includes a CPU 121 that controls the printing process of the image forming apparatus 11, a rewritable flash ROM 122 that stores the firmware, a working S-RAM 123, and a battery-backed NV- that stores various setting values. The RAM 124, the serial I / F 125 that transmits / receives various control data to / from the control module 1, the serial I / F 126 that transmits / receives various control data to / from the control module 4, and the print load control I / F that controls the load of image forming processing. O, GA127.
[0049]
The control module 3 includes a CPU 131 that controls reading processing of a document image of the image forming apparatus 11, a rewritable flash ROM 132 that stores firmware, a work S-RAM 133, and a battery backup that stores various setting values. The NV-RAM 134, a serial I / F 135 that transmits and receives various control data to and from the control module 1, and an IR load control I / O and GA 136 that control a load of a document image reading process.
[0050]
The control module 4 includes a CPU 141 that controls image quality correction for the image forming apparatus 11, a rewritable flash ROM 142 that stores firmware, a working S-RAM 143, and a battery-backed NV that stores various setting values. A RAM 144, a serial I / F 145 that transmits and receives various control data to and from the control module 2, and an image quality correction control GA 146 that performs image quality correction control.
[0051]
The control modules 1 to 4 execute communication via the serial I / F. Usually, control commands and control information are transmitted and received between the CPUs of the modules, and firmware data is transmitted when the firmware is rewritten. Since communication via the serial I / F has a configuration that matches the communication data size of control commands and control information that are normally used, a large amount of data such as firmware requires transmission time. Depending on the size, it may take longer than sending an e-mail from the center PC 91 to the image forming apparatus 11.
[0052]
FIG. 3 is a block diagram showing the circuit configuration of the printer controller 21. Referring to this figure, the printer controller 21 includes a CPU 201, an EP-ROM 202 storing its control program, a working S-RAM 203, and an NV-RAM (nonvolatile memory) 204 for storing various setting values. A serial I / F 205 for transmitting / receiving various data to / from the image forming apparatus 11, a NIC (network interface card) 206 for transmitting / receiving various data via the LAN, and an output port for controlling the power supply. It includes an IO 207, a backup memory 208 for storing various data, and an operation panel 209 for performing various inputs.
[0053]
In addition to its own IP address, the NV-RAM 204 includes the IP address of the mail server necessary for the printer controller 21 to download an e-mail message addressed to itself (image forming apparatus 11) from the mail server 33. Stores e-mail account names and passwords.
[0054]
FIG. 4 is a block diagram showing a circuit configuration of the computer 91 installed on the service center side. Referring to this figure, a computer 91 stores a CPU 901 that controls the entire apparatus, a ROM 902 that stores programs, a RAM 903 that is a temporary storage area for work areas and various data, and various information. A fixed storage device 904, a display control unit 905 for controlling the display 92, an input control unit 906 for controlling the keyboard 93 and the mouse 94, and a NIC 907 for transmitting / receiving various data to / from the outside via the LAN. Yes.
[0055]
The fixed storage device 904 stores registration information of the image forming apparatus including the model of the image forming apparatus 11, an e-mail address, and limited capacity information provided in the mail server. Also, firmware corresponding to the model of the image forming apparatus 11 is stored.
[0056]
The firmware is stored in advance in different predetermined folders / directories in the fixed storage device 904 according to the model and its control module by the operator of the service center.
[0057]
Next, an operation when the firmware of the image forming apparatus is transmitted from a remote place and rewritten in the system shown in FIG. 1 will be described.
[0058]
First, processing in the CPU 901 mounted on the computer 91 on the service center side will be described with reference to FIGS.
[0059]
FIG. 5 is a flowchart showing a main routine of processing performed by the CPU 901 of the computer 91 on the service center side. The CPU 901 starts processing upon power-on, and first executes general initialization processing performed by the computer device such as memory initialization and parameter initialization (step S501). Thereafter, for example, in response to an input operation of each function key (F1 to F3) on the keyboard 93, a communication setting process (step S505), an image forming apparatus registration process (step S509), or a firmware transmission process (step S513) is performed. Do.
[0060]
If the F1 key is input (“YES” in step S503), communication setting processing is performed in step S505. That is, here, parameters necessary for the computer 91 to send an e-mail are set. For example, the IP address of the mail server 83 connected to the LAN on the service center side, the e-mail address of the computer 91, and the like are input and stored in the fixed storage device 904, respectively. The electronic mail address of the computer 91 is set in the From field when the computer 91 transmits an electronic mail with firmware attached to the printer controller 21.
[0061]
When the F2 key is input (“YES” in step S507), registration processing of the image forming apparatus is performed in step S509. That is, the model name of each image forming apparatus, the e-mail address, the limited capacity information provided in the corresponding mail server, and other information such as the name, address, and telephone number of the user of each image forming apparatus are input as necessary. And stored in the fixed storage device 904.
[0062]
If the F3 key is input (“YES” in step S511), firmware transmission processing is performed in step S513. That is, the firmware of the model to be rewritten is appropriately divided, and each one is attached to another e-mail and transmitted to the image forming apparatus 11.
[0063]
FIG. 6 is a diagram showing an example of data registered in the fixed storage device 904 in the registration process (step S509) of the image forming apparatus in FIG. The operator on the service center side inputs information relating to the image forming apparatus to the computer 91 in advance using the keyboard 93, mouse 94, etc. before rewriting the firmware of the image forming apparatus.
[0064]
As shown in FIG. 6, the information regarding the image forming apparatus includes the model name of the image forming apparatus, an e-mail address, and other information. The other information may include user information such as the name, address, and telephone number of the user of the image forming apparatus in order to easily identify the image forming apparatus.
[0065]
Such information relating to the image forming apparatus is input to the computer 91, collected in a table format as shown in the figure, and stored in the fixed storage device 904. For convenience of explanation, this information collected in a table format is hereinafter referred to as “registered information table”.
[0066]
Next, a description will be given of the flow of processing in which when the firmware of the image forming apparatus needs to be rewritten, an e-mail message attached with the firmware is created by the computer 91 and transmitted to the image forming apparatus 11. FIG. 7 is a flowchart showing details of the firmware transmission process (step S513) of FIG. 5, which is executed by the CPU 901 of the computer 91 described above.
[0067]
Referring to this figure, first, in step S701, the operator on the service center side designates the model of the image forming apparatus whose firmware is to be rewritten to the computer 91 using the keyboard 93, mouse 94, etc. and its control module. Made. The model and the control module are designated because the firmware of the image forming apparatus generally differs depending on the model and the control module.
[0068]
Next, in step S703, the registration information table (FIG. 6) stored in the fixed storage device 904 is read, and in step S705, the registered number n for the model of the designated image forming apparatus is counted. In step S707, 1 is set in the loop counter. Thereafter, until the loop counter i exceeds the registered number n, the firmware of the designated model is appropriately divided and the e-mail is sent. Transmission processing is performed.
[0069]
That is, in step S709, the loop counter i is compared with the registered number n of the specified model. If the loop counter i is equal to or less than the registered number n of the specified model (“YES” in step S709), the specified model is determined in step S711. An e-mail message with firmware attached is created to the e-mail address of the i-th image forming apparatus.
[0070]
On the service center side, there is a limit such as 1 Mbyte for the size of the mail to be transmitted in advance, and the firmware is divided so as not to exceed the limit size. Then, an e-mail message is created with the divided firmware attached.
[0071]
As a method of dividing the firmware, instead of simply dividing based on the limit size, a method of first dividing in units of multichips and then dividing further so as not to exceed the limit size may be used.
[0072]
The limit size stored on the service center side is not uniform and may be registered for each user.
[0073]
In step S713, the created e-mail message is transmitted to the image forming apparatus. That is, after the connection with the mail server 83 is established based on the IP address of the mail server 83 set in step S505 of FIG. 5, the mail server 83 is in accordance with the SMTP protocol (RFC821) which is the Internet standard for electronic mail transmission. An e-mail message is sent to
[0074]
When the e-mail is transmitted, the loop counter i is incremented by 1 in step S715, and the process returns to step S709 again. In this way, the processing from step S709 to step S715 is performed for all the image forming apparatuses for the designated model registered in the registration information table.
[0075]
When the processing for all devices equal to the designated model registered in the registration information table is completed (“NO” in step S709), the firmware transmission processing is terminated.
[0076]
According to the above processing, even if the firmware capacity for the specified model is larger than the limit capacity of the mail server, avoid the situation where the firmware cannot be sent because the firmware is properly divided and sent Is possible.
[0077]
Next, an e-mail attached with firmware will be described in detail with reference to FIG. FIG. 8 is a diagram showing an example of an e-mail message text attached with divided firmware.
[0078]
Referring to FIG. 8, according to the Internet standard (RFC 822) regarding an e-mail message, an e-mail message field is roughly divided into a header part and a body part, and both are distinguished by a NULL line.
[0079]
The header part is composed of a plurality of header fields defined by the Internet standard (RFC822), and this header field is composed of a field name from the beginning of the line to “:” and a field body after that.
[0080]
By the way, although the firmware of the image forming apparatus is binary data, RFC822 prohibits direct description of binary data in an e-mail message. For this reason, the firmware of the image forming apparatus is attached as a file to the body portion of the message by using the MIME (Multipurpose Internet Mail Extensions) extension defined by RFC2045, 2046, and 2047.
[0081]
In the header part of the message, in addition to the fields defined in RFC 822 such as “From”, “To”, “Date”, “Subject”, etc., “MIME-Version” and “Content-Type” associated with the MIME extension rules are included. Each field is added.
[0082]
In the field body of the Subject field, a character string in which the name of the model specified by the operator and the number of the target control module of the attached firmware are connected with an underscore is described. For example, when the model name is “model1” and the target control module number is “1”, a character string “model1_module1” is described. If the attached firmware data is divided, as shown in this figure, the number indicating the number of divisions and the number of data is described at the end. For example, in the case of the first firmware divided into three, the characters (1/3) are described. When the attached firmware data is not divided, nothing is described for the number of divisions at the end.
[0083]
For the field body of the Content-Type field, specify "Multipart / mixed" so that the message body part can be divided into multiple parts, and then set the "Boundary" parameter that represents the boundary of each part. An appropriate US-ASCII character string (in the figure, “5 kvrZF / hrA” after the character string) is designated.
[0084]
In the body part of the message, a character string in which “-” is added before the value of the boundary parameter (“5 kvrZF / hrA” in the figure) of the Content-Type field of the header part is described, and the start of one part Is specified. Below that, a “Content-Type” field is described, and “application / octet-stream” indicating that the file attached to the field body is binary data is designated.
[0085]
Further below that, a “Content-Transfer-Encoding” field is described, and “base64” is specified in the field body. As described above, since it is prohibited by RFC822 to describe binary data directly in an e-mail message, the binary data must be converted into US-ASCII characters. In the MIME extension regulations, a plurality of methods are defined as the conversion method, and one of them is the Base64 method.
[0086]
Under the above two fields, firmware binary data is converted into US-ASCII characters by the Base64 method and added. Finally, in order to indicate the end of all the parts of the body part, "-" is added before and after the value of the Boundary parameter in the Content-Type field of the header part ("5 kvrZF / hrA" in this figure). The added character string is described.
[0087]
Next, processing on the user side will be described. FIG. 9 is a flowchart showing a main routine of processing in the CPU 201 of the printer controller 21 of the image forming apparatus 11. Referring to this figure, CPU 201 starts processing upon power-on, and first performs general initialization processing performed by a computer device such as memory initialization and parameter initialization (step S901). Thereafter, communication setting processing (step S905) and firmware reading processing (step S909) are performed as necessary.
[0088]
For example, when the “setting” key on the operation panel 209 is input by the user (“YES” in step S903), in step S905, parameters necessary for sending and receiving e-mail are set. That is, here, the IP address of the mail server 33 connected to the LAN on the user side, the name and password of the e-mail account of the image forming apparatus 11 on the mail server 33, the e-mail address of the image forming apparatus 11, and the image formation A time interval or the like for periodically checking whether or not a new electronic mail addressed to the apparatus 11 has arrived is input and stored in the NV-RAM 204, respectively.
[0089]
In step S907, it is determined whether the confirmation interval has elapsed. That is, it is determined here whether or not the time interval set in step S905 (the time interval for confirming whether a new e-mail message addressed to the image forming apparatus 11 has arrived) has elapsed.
[0090]
If the time interval has elapsed (“YES” in step S907), in step S909, the CPU 201 reads whether a new e-mail message has arrived at the mail server 33 and downloads the necessary e-mail. Perform processing. If the confirmation interval has not elapsed ("NO" in step S907), for example, the processing returns to step S903, and the above processing is repeated until the confirmation interval has elapsed.
[0091]
Next, processing in the CPU 201 of the printer controller 21 will be described on the user side.
[0092]
FIG. 10 is a flowchart showing details of the firmware reading process (step S909) of FIG. With reference to this figure, first, in step S1001, a TCP connection with the mail server 33 is established based on the IP address of the mail server 33 set in step S905 of FIG. It is confirmed whether a new message has arrived (step S1003).
[0093]
In this confirmation process and a process described later in which a new message addressed to the image forming apparatus 11 arrives at the mail server 33, a POP3 (Post Office Protocol Version) is downloaded.
3) A protocol is used.
[0094]
If a new message addressed to the image forming apparatus 11 has arrived at the mail server 33 as a result of checking the new message (“YES” in step S1003), the message information is acquired from the mail server 33 in step S1005. That is, the subject information in the header part of the message is acquired.
[0095]
In step S1007, it is determined whether the electronic mail is attached with firmware. Whether or not the firmware is attached is determined, for example, based on whether or not the value of the field body of the Content-Description field in the header part of the message is “Firmware”.
[0096]
If firmware is attached (“YES” in step S1007), it is determined in step S1009 whether the firmware data is in a write process enabled state. That is, when characters such as 2/3 indicating division are recognized in the Subject field, it is recognized that the firmware is divided. Then, it is checked whether or not the previously transmitted divided firmware, that is, the divided firmware data including 1/3 characters, has already been processed in the subject of the same code.
[0097]
As a result, if it is confirmed that the writing process of the corresponding firmware data has already been completed, the target divided firmware becomes the data that can be written, so in the subsequent step S1011, the message attached with the firmware is sent as an email. Downloaded from the server 33 to the printer controller 21.
[0098]
In step S1013, the US-ASCII character in the firmware portion is extracted from the downloaded message, and the extracted US-ASCII character is returned to binary data by inverse Base64 conversion. In step S1015, the binary data and the module number are transmitted to the CPU 111 of the image forming apparatus 11 via the serial I / F 205.
[0099]
When the firmware data and the module number are transmitted, in step S1017, the firmware rewrite permission flag is turned ON and rewrite permission is given to the image forming apparatus 11. Thereafter, in step S1019, the original message in the mail server is deleted, and in step S1025, the TCP connection with the mail server 33 is disconnected.
[0100]
If it is determined in step S1009 that the firmware attached to the target message is not in a state where write processing is possible (“NO” in step S1009), the data is written to the mail server 33 while being suspended. The process waits until firmware that can be processed is received (step S1021). For example, when characters such as 2/3 indicating division are recognized in the Subject field, divided firmware data including 1/3 characters is recognized as unprocessed, and writing processing of 1/3 divided firmware is performed. The writing process can be performed only after. Therefore, in this case, it is determined that 2/3 firmware data is not in a writable state.
[0101]
If no firmware is attached to the downloaded message (“NO” in step S1007), the process when receiving a message for a use other than the firmware rewriting process of the image forming apparatus in step S1023 is normal. Executed.
[0102]
In this way, when the printer controller 21 of the image forming apparatus 11 has firmware data ready for writing, the message from the mail server 33 is downloaded. Then, the binary data of the firmware is transmitted to the image forming apparatus 11, and rewriting permission is given.
[0103]
Next, processing performed in the image forming apparatus 11 will be described. FIG. 11 is a flowchart showing basic processing in the image forming apparatus 11, which is executed by the CPU 111 in the image forming apparatus 11. The image forming apparatus 11 starts processing when the power is turned on, and first, initial setting such as clearing of the memory and setting of the standard mode is performed in each control module (step S1101). Next, the input reception (step S1103) and copy control (step S1105) processes are repeatedly executed until a firmware reception notification is made from the printer controller 21.
[0104]
In step S1103, acceptance of various input signals is performed collectively. Here, the input signal is, for example, an input signal from a key switch group on the operation panel 118 of the image forming apparatus 11 or various sensor groups in the apparatus, or a print job transmitted from the printer controller 21.
[0105]
In step S1105, copy control processing, that is, processing necessary for the operation of the image forming apparatus 11 is performed. For example, control of various operation units such as paper feed control, scanning control, photosensitive drum control, and developer control, or processing according to a print job from the printer controller 21 or the like.
[0106]
When a firmware reception notification is received from the printer controller 21 and the firmware rewrite processing permission flag is turned ON (rewrite permission flag is turned on in step S1017 in FIG. 10 → “YES” in step S1107), first, in step S1109, a rewrite permission flag is set. Is cleared, and a firmware rewrite process is performed in step S1111.
[0107]
When the firmware rewriting process ends, the process returns to the process of step S1103, the reception of the firmware is notified again, and the processes of step S1103 and step S1105 are repeated until the rewrite permission flag is turned ON.
[0108]
Next, firmware rewriting processing of the image forming apparatus 11 will be described. First, the firmware and the target control module number transmitted by the printer controller 21 via the serial I / F 205 are received by the CPU 111 via the serial I / F 117 of the image forming apparatus 11. When the CPU 111 receives the firmware in this way, the flash ROM of the target control module of the received firmware is rewritten according to the following process.
[0109]
FIG. 12 is a flowchart showing details of the firmware rewriting process (step S1111 in FIG. 11) in the image forming apparatus 11. Referring to this figure, in step S1201, step S1205, and step S1209, it is first determined which of the control modules 1 to 4 the received firmware is.
[0110]
If it is determined that the firmware is for the control module 1 (“YES” in step S1201), the new firmware is written in the flash ROM 112 in step S1203.
[0111]
If it is determined that the received firmware is the firmware of the control module 2 (“YES” in step S1205), the firmware is transferred from the CPU 111 to the CPU 121 of the control module 2, and the new firmware is stored in the flash ROM 122 in step S1207. Written.
[0112]
If it is determined that the received firmware is the firmware of the control module 3 (“YES” in step S1209), the firmware is transferred from the CPU 111 to the CPU 131 of the control module 3. In step S1211, the new firmware is flash ROM 132. Is written to.
[0113]
If it is determined that the received firmware is the firmware of the control module 4 (“NO” in step S1209), the firmware is transferred from the CPU 111 to the CPU 141 of the control module 4 via the CPU 121, and in step S1213, the firmware is transferred. Firmware is written to the Flash ROM 142.
[0114]
In this way, the firmware of the image forming apparatus 11 is appropriately written in a predetermined area of the corresponding flash ROM of the corresponding module.
[0115]
The processing flow of the computer 91 on the service center side, the mail servers 83 and 33, and the image forming apparatus (printer) 11 on the user side described above will be briefly described in time series with reference to FIG. 13, in order from the left, a service center computer 91, a service center mail server 83, a mail server on the Internet, a mail server 33 of a user image forming apparatus (printer) 11, and a user printer 11 are shown. It is assumed that the time axis is from top to bottom.
[0116]
As described above, a plurality of mail servers are also present on the Internet between the router 82 and the router 32, and an electronic mail is transmitted via an indefinite number of mail servers. When an electronic mail is transmitted from a transmission source to a transmission destination, the electronic mail is transmitted via a plurality of mail servers. In addition, the Internet is an infrastructure that does not guarantee data transmission to a destination, does not guarantee the data transmission order, and may have transmission data missing.
[0117]
FIG. 13 shows an example in which the mail server of the printer receives e-mails in an order different from the e-mail transmission order from the center in such an environment. Specifically, an e-mail attached with ½ of the firmware (FW) of module 1 from the center, an e-mail attached with 2/2 of the FW of module 1, and an e-mail attached with the FW of module 2 The mail server 33 of the printer sends the e-mail attached with 2/2 of the FW of the module 1, the e-mail attached with the FW of the module 2, and the e-mail attached with 1/2 of the FW of the module 1. This is a case where a call is received.
[0118]
Referring to this figure, first, image forming apparatus (printer) 11 checks whether or not new mail arrives at mail server 33 at regular intervals (dotted arrow). When the e-mail with firmware (2/2) of the division number 2 of the module 1 is received by the mail server 33 (1), subject information is acquired from the e-mail message in response (2).
[0119]
That is, here, information indicating that the firmware is firmware divided into one module and that there is divided firmware having a rewrite order earlier than the rewrite order of the module is extracted. For this reason, it is determined that the divided firmware is not in a state where writing processing is possible, and the message is not downloaded. Then, it waits for transmission of the divided firmware whose rewrite order is earlier.
[0120]
Next, when the mail server 33 receives the firmware-attached electronic mail of the module 2 (3), the image forming apparatus 11 receives this and acquires message information. Since the current message is one piece of firmware of the module 2 that is not divided, it is determined that the message is firmware data that can be written. Therefore, on the image forming apparatus 11 side, the message is downloaded and the firmware of module 2 is rewritten (4).
[0121]
Thereafter, when the mail server 33 receives the firmware (1/2) of the division number 1 of the module 1 (5), the image forming apparatus 11 receives this and acquires message information. Here, since the firmware is firmware divided for one module and the rewriting order is the first divided firmware, it is determined that the firmware data is in a writable state. In addition, it is recognized that the divided firmware (2/2) in the next rewriting order for this module confirmed previously can be written after the first firmware is rewritten. It is determined that the firmware is possible.
[0122]
Therefore, both the divided firmware (1/2) and (2/2) corresponding to the module 1 stored in the mail server 33 are downloaded and written into the flash ROM of the corresponding module 1 (6 ).
[0123]
In this way, the firmware is not rewritten in the order of the messages received by the mail server 33, but is downloaded and rewritten in order from the divided firmware determined that the firmware can be written in units of modules. Is done. For this reason, it is possible to prevent a problem that the apparatus does not operate normally due to the different firmware rewriting order.
[0124]
This time, the case where the e-mail message with the firmware attached is held in the mail server until it is determined that the firmware can be rewritten has been described. However, in addition to such a case, data may be stored on the image forming apparatus 11 or the printer controller 21 side.
[0125]
In other words, the printer controller 21 that has received the e-mail message downloads the message regardless of whether the firmware is a rewritable message. Then, the data may be stored in the memory and transmitted to the image forming apparatus 11 when the divided firmware data in a rewritable state exists to give rewrite permission. Such a case will be briefly described below with reference to FIGS. 14 and 15.
[0126]
FIG. 14 is a flowchart showing details of the firmware reading process (step S909 in FIG. 9) when the firmware data is held on the printer controller 21 side. Referring to this figure, here, unlike the flowchart of FIG. 10, if it is determined in step S1003 that there is a new mail, the printer controller 21 downloads the message (step S1405).
[0127]
Then, the firmware is extracted from the downloaded data (step S1408), and the extracted firmware data is held until the firmware that can be written exists, and the firmware is not rewritten (step S1421).
[0128]
When there is writable firmware (“YES” in step S1009), all the extracted corresponding firmware data is transmitted to the image forming apparatus 11 (step S1015). Then, firmware rewriting permission is given (step S1017).
[0129]
FIG. 15 is a diagram for explaining the processing flow of the service center computer 91, the service center mail server 83, the user image forming apparatus (printer) 11 mail server 33, and the user printer 11.
[0130]
Here, an example is shown in which the printer mail server 33 receives emails in an order different from the order in which emails are sent from the service center in the same environment as in FIG. Specifically, an e-mail attached with 1/3 of the firmware (FW) of the module 1 from the service center, an e-mail attached with 2/3 of the FW of the module 1, and 3/3 of the FW of the module 1 were attached. Each e-mail is sent in this order. In the printer mail server 33, an e-mail attached with 2/3 of the FW of the module 1, an e-mail attached with 3/3 of the FW of the module 1, and an e-mail attached with 1/3 of the FW of the module 1. In this case, the call arrives in the order.
[0131]
Referring to this figure, when an e-mail message addressed to the printer 11 is received by the mail server 33 (1), the message is first downloaded regardless of whether it is writable firmware (2). . However, since the firmware is not writable here (2/3), the firmware rewriting process in the printer 11 is not performed.
[0132]
Similarly, when an e-mail message is received (3), the message is downloaded even if it is not writable firmware (4). However, since the firmware is not writable here, the writing process is not performed.
[0133]
Thereafter, when the remaining e-mail message with divided firmware is transmitted (5), the message is downloaded, and based on the firmware rewrite permission, together with the firmware data previously downloaded and taken out, the printer 11 Firmware rewriting processing for module 1 is performed (6).
[0134]
As described above, when an e-mail message addressed to the printer 11 has arrived at the mail server 33, the firmware attached to the message is sent to the printer 11 side regardless of whether or not the firmware is data that can be written. Downloaded. For this reason, it is possible to avoid the inconvenience that a message including a plurality of divided firmware is stored in the mailbox and exceeds the capacity limit of the mail server. In addition, when performing the rewriting process, the firmware data that has been downloaded and stored in advance is used, so that the processing time is shortened.
[0135]
In this example, the image forming apparatus has been described as an example of the data communication apparatus having the firmware to be rewritten. However, the present invention is not limited to this. Therefore, for example, the present invention can be applied to any device having a communication function such as a hub or a router.
[0136]
In addition, the division of firmware in the present invention includes not only a case of dividing a single firmware but also a case of dividing a plurality of firmwares to be transmitted into a plurality according to a predetermined condition.
[0137]
The firmware communication method (data communication method) performed by the computer 91, the image forming apparatus 11, and the printer controller 21 shown this time can be realized by a program for causing the above-described series of processing operations to function. The data communication program may be installed in advance on the hard disk in the computer 91, the image forming apparatus 11, and the printer controller 21, or may be stored on a removable recording medium such as a CD-ROM or a magnetic tape. It may be recorded. In any case, the data communication program is recorded on a computer-readable recording medium.
[0138]
Computer-readable recording media include tape systems such as magnetic tapes and cassette tapes, disk systems such as magnetic disks (flexible disks, hard disk devices, etc.) and optical disks (CD-ROM / MO / MD / DVD, etc.), A medium carrying a fixed program such as a card system such as an IC card (including a memory card) or an optical card, or a semiconductor memory such as a ROM, EPROM, EEPROM, or flash ROM can be considered.
[0139]
The content stored in the recording medium is not limited to a program, and may be data.
[0140]
In addition, as shown in FIG. 1 and the like this time, the printer controller 21 and the image forming apparatus 11 have been described as separate apparatuses. However, the image forming apparatus may have an integrated structure in which the function of the printer controller is incorporated. . In this case, similarly, the printer controller 21 and the control module 1 execute processing while cooperating with each other. Further, the control executed by the CPU 101 may be executed by the CPU 201 of the printer controller 21.
[0141]
The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
[Brief description of the drawings]
FIG. 1 is a diagram showing a system configuration for implementing a firmware communication method according to an embodiment of the present invention.
2 is a block diagram showing a circuit configuration of the image forming apparatus 11. FIG.
3 is a block diagram showing a circuit configuration of a printer controller 21. FIG.
FIG. 4 is a block diagram showing a circuit configuration of a computer 91 installed on the service center side.
FIG. 5 is a flowchart showing a main routine of processing performed by a CPU 901 of a computer 91 on the service center side.
6 is a diagram showing an example of data registered in a fixed storage device 904 in the registration process (step S509) of the image forming apparatus in FIG.
7 is a flowchart showing details of firmware transmission processing (step S513) in FIG. 5;
FIG. 8 is a diagram showing an example of an e-mail message sentence attached with divided firmware.
FIG. 9 is a flowchart illustrating a main routine of processing in the CPU 201 of the printer controller 21 of the image forming apparatus 11;
10 is a flowchart showing details of a firmware reading process (step S909) in FIG. 9;
FIG. 11 is a flowchart showing basic processing in the image forming apparatus 11;
12 is a flowchart showing details of firmware rewriting processing (step S1111 in FIG. 11) in the image forming apparatus 11. FIG.
FIG. 13 is a diagram for explaining the flow of each process of the computer 91, the mail servers 83 and 33, and the image forming apparatus (printer) 11 on the user side.
14 is a flowchart showing details of firmware reading processing (step S909 in FIG. 9) when firmware data is held on the printer controller 21 side.
FIG. 15 is a diagram for explaining the flow of each process of the computer 91, the mail servers 83 and 33, and the image forming apparatus (printer) 11 on the user side.
[Explanation of symbols]
11 Image forming apparatus, 21 Printer controller, 32, 82 router, 33, 83 Mail server, 91 Computer, 111, 121, 131, 141, 201, 901 CPU, 112, 122, 132, 142 Flash ROM, 118, 209 Operation Panel, 208 Backup memory, 904 Fixed storage device.

Claims (6)

ネットワークを介してファームウェア付きの電子メールを受信する受信ステップと、
前記電子メールから前記ファームウェアの書き換え順序に関する情報を取得する取得ステップと、
前記取得された書き換え順序に関する情報に基づいて、前記ファームウェアが所定のメモリに書き込み可能状態であるか否かを判断する判断ステップと、
前記判断ステップにより書き込み可能状態であると判断された場合に、前記ファームウェアを前記所定のメモリに書き込む書込ステップと、をコンピュータに実行させるためのデータ通信プログラムであって、
前記判断ステップは、前記取得された書き換え順序よりも前の書き換え順序のファームウェアが前記所定のメモリへの書き込みを終了している場合に、書き込み可能状態であると判断する、データ通信プログラム
A receiving step for receiving an e-mail with firmware over a network;
An acquisition step of acquiring information about the rewrite order of the firmware from the e-mail;
A determination step of determining whether or not the firmware is in a state of being writable in a predetermined memory based on the acquired information on the rewrite order;
A data communication program for causing a computer to execute a writing step of writing the firmware into the predetermined memory when it is determined in the determination step that the writing is possible .
The determination step is a data communication program that determines that the firmware is in a writable state when the firmware in the rewrite order prior to the acquired rewrite order has finished writing to the predetermined memory .
ネットワークを介してファームウェア付きの電子メールを受信する受信ステップと、
前記電子メールから前記ファームウェアの書き換え順序に関する情報を取得する取得ステップと、
前記取得された書き換え順序に関する情報に基づいて、前記ファームウェアが所定のメモリに書き込み可能状態であるか否かを判断する判断ステップと、
前記判断ステップにより書き込み可能状態であると判断された場合に、前記ファームウェアを所定のモジュールに送信する送信ステップと、をコンピュータに実行させるためのデータ通信プログラムであって、
前記判断ステップは、前記取得された書き換え順序よりも前の書き換え順序のファームウェアが前記所定のメモリへの書き込みを終了している場合に、書き込み可能状態であると判断する、データ通信プログラム
A receiving step for receiving an e-mail with firmware over a network;
An acquisition step of acquiring information about the rewrite order of the firmware from the e-mail;
A determination step of determining whether or not the firmware is in a state of being writable in a predetermined memory based on the acquired information on the rewrite order;
A data communication program for causing a computer to execute a transmission step of transmitting the firmware to a predetermined module when the determination step determines that it is in a writable state ,
The determination step is a data communication program that determines that the firmware is in a writable state when the firmware in the rewrite order prior to the acquired rewrite order has finished writing to the predetermined memory .
請求項1または2に記載のデータ通信プログラムを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium a data communication program according to claim 1 or 2. ネットワークを介してファームウェア付きの電子メールを受信する受信手段と、
前記電子メールから前記ファームウェアの書き換え順序に関する情報を取得する取得手段と、
前記取得された書き換え順序に関する情報に基づいて、前記ファームウェアが所定のメモリに書き込み可能状態であるか否かを判断する判断手段と、
前記判断手段により書き込み可能状態であると判断された場合に、前記ファームウェアを前記所定のメモリに書き込む書込手段とを含
前記判断手段は、前記取得された書き換え順序よりも前の書き換え順序のファームウェアが前記所定のメモリへの書き込みを終了している場合に、書き込み可能状態であると判断する、データ通信装置。
Receiving means for receiving e-mail with firmware via a network;
Obtaining means for obtaining information about the rewrite order of the firmware from the e-mail;
Determining means for determining whether or not the firmware is in a state of being writable in a predetermined memory based on the acquired information on the rewrite order;
If it is determined that the write enable state by said determining means, seen including a writing means for writing the firmware to the predetermined memory,
The data communication device , wherein the determination unit determines that the firmware is in a writable state when the firmware in the rewrite order prior to the acquired rewrite order has finished writing to the predetermined memory .
請求項に記載のデータ通信装置を備えた、画像形成装置。An image forming apparatus comprising the data communication apparatus according to claim 4 . ネットワークを介してファームウェア付きの電子メールを受信する受信ステップと、
前記電子メールから前記ファームウェアの書き換え順序に関する情報を取得する取得ステップと、
前記取得された書き換え順序に関する情報に基づいて、前記ファームウェアが所定のメモリに書き込み可能状態であるか否かを判断する判断ステップと、
前記判断ステップにより書き込み可能状態であると判断された場合に、前記ファームウェアを前記所定のメモリに書き込む書込ステップとを含
前記判断ステップは、前記取得された書き換え順序よりも前の書き換え順序のファームウェアが前記所定のメモリへの書き込みを終了している場合に、書き込み可能状態であると判断する、データ通信方法。
A receiving step for receiving an e-mail with firmware over a network;
An acquisition step of acquiring information about the rewrite order of the firmware from the e-mail;
A determination step of determining whether or not the firmware is in a state of being writable in a predetermined memory based on the acquired information on the rewrite order;
If it is determined that the write enable state by the determining step, it sees contains a writing step of writing the firmware to the predetermined memory,
The data communication method , wherein the determining step determines that the firmware is in a writable state when the firmware in the rewrite order prior to the acquired rewrite order has finished writing to the predetermined memory .
JP2001137939A 2001-03-31 2001-03-31 DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD Expired - Fee Related JP3833902B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001137939A JP3833902B2 (en) 2001-03-31 2001-03-31 DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD
US10/106,099 US7213052B2 (en) 2001-03-31 2002-03-27 Data communication apparatus capable of rewriting firmware
US10/715,024 US8001191B2 (en) 2001-03-31 2003-11-18 Data communication apparatus capable of rewriting firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001137939A JP3833902B2 (en) 2001-03-31 2001-03-31 DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD

Publications (2)

Publication Number Publication Date
JP2002297525A JP2002297525A (en) 2002-10-11
JP3833902B2 true JP3833902B2 (en) 2006-10-18

Family

ID=18984954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001137939A Expired - Fee Related JP3833902B2 (en) 2001-03-31 2001-03-31 DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD

Country Status (1)

Country Link
JP (1) JP3833902B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007287066A (en) 2006-04-20 2007-11-01 Konica Minolta Business Technologies Inc Image processing apparatus, method for installing application in the same and application installation processing program

Also Published As

Publication number Publication date
JP2002297525A (en) 2002-10-11

Similar Documents

Publication Publication Date Title
US8001191B2 (en) Data communication apparatus capable of rewriting firmware
JP2015138297A (en) Distribution system and control method thereof
EP2027555B1 (en) Information processing apparatus,information processing method, and information processing program
JP2003058436A (en) Image processor, program and management unit
JP2007148854A (en) Security printing system, security printing program, recording medium, and security printing method
JP2007080046A (en) Electronic document processing system and document delivery server
JP3853173B2 (en) DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD
JP3833902B2 (en) DATA COMMUNICATION PROGRAM, COMPUTER-READABLE RECORDING MEDIUM CONTAINING DATA COMMUNICATION PROGRAM, DATA COMMUNICATION DEVICE, AND DATA COMMUNICATION METHOD
JP3501138B2 (en) Data communication program, computer-readable recording medium recording data communication program, data communication device, and data communication method
JP2002297410A (en) Data communication program, computer-readable recording medium with data communication program recorded thereon, data communication device and data communication method
JP4953753B2 (en) Information processing apparatus, control method therefor, and program
CN101442598B (en) Image processing apparatus, image processing system and control method
JP3551933B2 (en) Data communication program, computer-readable recording medium recording data communication program, data communication device, and data communication method
JP2002259312A (en) Remote management system, system/device for image formation, management device, remote management method and information recording medium
JP2002288064A (en) Data communication program, computer-readable storage medium with data communication program stored therein, data communication unit and data communication method
JP2008271020A (en) Image input/output device
JP2002297395A (en) Data communication program, computer readable recording medium having the same program recorded thereon, data communication equipment and data communication method
JP6669382B2 (en) Device device, information processing method and program
JP2003058387A (en) Image processor, program and management unit
JP2006244372A (en) Image forming system
JP2007304947A (en) Client terminal device, document editing system and program for document editing via network
JP2005228201A (en) Network equipment
JP4278501B2 (en) Electronic blackboard and electronic blackboard system
JP2007336097A (en) Information processing apparatus, management apparatus, and communication method
JP2002287977A (en) Data communication program, computer readable recording medium recording the data communication program, data communicating device, and data communicating method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20031111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040107

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040113

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040402

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050915

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060720

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: 20090728

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110728

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120728

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130728

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees