JP3754730B2 - Information processing apparatus and control method thereof - Google Patents

Information processing apparatus and control method thereof Download PDF

Info

Publication number
JP3754730B2
JP3754730B2 JP25528495A JP25528495A JP3754730B2 JP 3754730 B2 JP3754730 B2 JP 3754730B2 JP 25528495 A JP25528495 A JP 25528495A JP 25528495 A JP25528495 A JP 25528495A JP 3754730 B2 JP3754730 B2 JP 3754730B2
Authority
JP
Japan
Prior art keywords
image forming
forming apparatus
program
unit
host device
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
JP25528495A
Other languages
Japanese (ja)
Other versions
JPH0997221A (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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP25528495A priority Critical patent/JP3754730B2/en
Publication of JPH0997221A publication Critical patent/JPH0997221A/en
Application granted granted Critical
Publication of JP3754730B2 publication Critical patent/JP3754730B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は情報処理装置及びその制御方法、詳しくは上位装置から供給されるプログラム情報を機能向上プログラムとして使用する、もしくは、下位の装置に機能向上プログラムを供給する情報処理装置及びその制御方法に関するものである。
【0002】
【従来の技術】
従来、コンピュータ等のメモリ管理制御装置は、外部装置と通信媒体とにより画像形成装置を接続し、画像形成装置が有する不揮発性メモリ等に変更すべき制御プログラムの転送を行っている。
【0003】
【発明が解決しようとする課題】
しかし、系列化した画像形成装置に於いては、操作者が誤って他の系列装置の制御プログラムを転送したり、画像形成装置内の必要としない機能の制御プログラムを転送してしまい、転送後の画像形成装置に誤動作を引き起こす恐れがある。
【0004】
また、特に距離的に十分離れた位置から、機能向上させるためのプログラムを送信している場合であって、その送信に異常が起こると、もはや正常な動作が望めない、もしくは、全く動作しない事態になりかねない。
【0005】
更には、大きなサイズのプログラム等を送信する場合に、受け手側の装置がそのプログラムの機能を使用できるようになるまで長い間待たされることにもなる。
【0006】
【課題を解決するための手段】
本発明は、上述の課題を解決することを目的としてなされたものであり、確実に動作することが約束されたプログラムでもって、その機能を向上させることを可能にする情報処理装置及びその制御方法を提供しようとするものである。
【0007】
この課題を達成するため、例えば本発明の画像形成装置は以下の構成を備える。すなわち、
上位装置と方向通信可能で、前記上位の装置から送られてくるプログラム情報でもって、自身のプログラムを更新する画像形成装置であって、
前記上位装置からの所定の要求に従い、自身の機種及び機能についての情報を上位装置に送信する送信手段と、
前記画像形成装置の動作状態が、外部からのプログラムが書換え可能な状態か否かを判別する判別手段と、
前記判別手段において、前記画像形成装置の状態が、外部から書換え可能な状態であると判別した場合に、前記送信手段によって前記自身の機種及び機能についての情報を送信し、前記上位装置からプログラム情報を受信し、当該プログラム情報を記憶保持する記憶保持手段とを備える。
【0008】
或いは、画像形成装置と当該画像形成装置に対して形成すべき画像情報を送信する上位装置で構成される画像形成システムであって、
前記上位装置は、
前記下位に接続された画像形成装置に所定の要求信号を送信することで、返送された情報に基づき前記画像形成装置の機種及び機能を認識する認識手段と、
該認識手段の認識結果した機種及び機能と、送信しようしているプログラムの対象が一致するか否かを判断する判断手段と、
該判断手段によって一致すると判断した場合に、前記プログラム情報を下位の電子機器に送信する送信手段とを備え、
前記画像形成装置は、
前記上位装置からの前記所定の要求に従い、自身の機種及び機能についての情報を上位装置に送信する送信手段と、
前記画像形成装置の動作状態が、外部からのプログラムが書換え可能な状態か否かを判別する判別手段と、
前記判別手段において、前記画像形成装置の状態が、外部から書換え可能な状態であると判別した場合に、前記送信手段によって前記自身の機種及び機能についての情報を送信し、前記上位装置からプログラム情報を受信し、当該プログラム情報を記憶保持する記憶保持手段とを備える。
【0009】
また、他の発明は、通信中に何等のトラブルが発生しても、そのトラブルの基になったプログラムの使用を積極的に不能にしつつ、基本的な処理動作を確保する情報処理装置及びその制御方法を提供しようとするものである。
【0010】
この課題を達成するため、例えば本発明の画像形成装置は以下の構成を備える。すなわち、
上位装置から送られてくる制御プログラムを受信し、当該プログラムを機能拡張プログラムとして実行処理すると共に、各種操作指示を与えるための操作部を有する画像形成装置であって、
基本動作を行うプログラムを記憶した第1の記憶手段と、
前記画像形成装置の操作部に表示されるユーザインタフェースを介して前記画像形成装置の機能を制御するための制御プログラムを格納するための書き込み可能で不揮発性の第2の記憶手段と、
前記上位装置から送られてくる制御プログラムが正常に受信できなかった場合に、前記第2の記憶手段に格納された該当するプログラムの機能不能にするため、前記操作部に表示されるユーザインタフェースから除外して前記画像形成装置の操作部に表示する表示手段とを備える。
【0013】
【発明の実施の形態】
以下、添付図面に従って本発明に係る実施形態の一例を詳細に説明する。
【0014】
<第1実施形態>
図1は、本発明に関わる一実施形態であるメモリ管理制御装置の構成例を示す図である。
【0015】
図1において、100は画像形成装置本体(実施形態では複写装置とした)、300は画像形成装置100の操作部、400は画像形成装置100の動作制御及びメモリの書き換え制御及び外部装置との通信制御を行う制御部である。また、500は、画像形成装置100の動作状態を検出する検出部である。
また、900は外部装置の1つで、外部から画像形成装置100のメモリ書き換え命令を出すホストコンピュータであり、901は画像形成装置100とのホストコンピュータ900を結ぶ通信回路であり、ここではRS−232Cを用いている。
【0016】
図2は、図1で示した制御部400の詳細構成を示すブロック図である。図2において、401は画像形成装置100の制御を行うCPUであり、402は画像形成装置100の制御プログラムを記憶し電気的に書き換え可能な不揮発性メモリで、本実施形態ではフラッシュメモリである。403は入出力データの記憶の領域や作業用記憶領域等として用いるRAMであり、404はフラッシュメモリ402の書き換えるための制御プログラムと画像形成装置100の動作状態を自己判断するプログラムを記録するROMであり、410は外部装置900との通信を行うI/Oインターフェースである。408及び409はアドレスバス及びデータバスである。
【0017】
また、画像形成装置100は通常のコピー動作等を行う通常モードとフラッシュメモリ402の書き換えを行う時の書き換えモードを持つものとする。書き換えモードでは書き換えが終了するまで他の動作は受け付けないものとする。
【0018】
この様に構成された画像形成装置100において、ホストコンピュータ900から書き換えモード移行命令を送信し、I/Oインターフェース410を介して画像形成装置100が受信すると、制御部400はフラッシュメモリ402に記憶されている動作状態を判断するプログラムに基づいて所定の動作を実行し、画像形成装置100の動作状態を判断する。前記判断結果により画像形成装置100が書き換えられない状態と判断した場合には、書き換え禁止信号をホストコンピュータ900に転送する。
【0019】
また、前記において書き換え禁止の状態であってもその状態が解除されると同時に、書き換え可能信号をホストコンピュータ900に送信する。
【0020】
さらに、画像形成装置100の書き換えを遠隔地から行うことを考えて、書き換え可能の信号をホストコンピュータ900に送信する前に操作部に設けられた表示部にメッセージを表示し、使用者の許可・不許可の指示を受ける機能も付加できるものとする。
【0021】
続いて、ホストコンピュータから書き換えモードの要求に対し、画像形成装置100が許可信号を送信すると、画像形成装置100は自身の機種を表わすID番号と画像形成装置内の複合機能を表わす機能IDとを通信回路901を介してホストコンピュータ900に送信する。これにより、ホストコンピュータ900は、これから転送しようとする制御プログラムが、転送先の装置に合致するか否かを受信した機種ID番号により判断し、合致していなければ制御プログラムの転送を中止する旨の情報を画像形成装置100に転送する。画像形成装置100側では、操作部に転送できなかったことを示すメッセージを表示させる。また、合致しているなら、次に機能を表わす機能ID番号を確認し、合致しなければ転送できなかったことを操作部に表示させる。合致しているならば、ホストコンピュータ900から画像形成装置100に許可信号を通信回路901を介して制御部400に転送し、CPU401によりROM404に記憶されているフラッシュメモリ書き換え動作のプログラムを実行する。異なっていると判断した場合には、制御プログラムの転送をやめ、制御プログラムを転送できないことを制御部400に転送し、画像形成装置本体100の操作部300に表示する。
【0022】
図3は、図1に示した画像形成装置本体100の構成を示す断面図であり、以下リーダ部1及びプリンタ部2に分け、構成及び動作について説明する。
【0023】
リーダ部1において、原稿給送装置101上に積載された原稿は、1枚づつ順次原稿台ガラス面102上に搬送される。原稿がガラス面(一般にプラテンガラスと呼ばれる)102の所定位置ヘ原稿が搬送されると、スキャナ部のランプ103が点灯、かつスキャナ・ユニット104が移動して原稿を照射する。原稿の反射光はミラー105、106、107、レンズ108を介してCCD109に結像され、ここで光電変換される。変換された電気信号は、画像処理部110(実施形態の制御部400に対応する)に送られる。
【0024】
画像処理部110では、各種操作部で設定された画像処理が施される。また、画像メモリを有し画像の出力方向を回転する機能も有している。また、リーダ部1からの信号をプリンタ部2又は外部装置であるホストコンピュータ900へ切り替える機能と、リーダ部1からの信号と外部装置900からの信号のいずれかを選択し、プリンタ部2に接続する働きを行う外部切り替え回路も有する。つまり、実施形態における装置は、ホストコンピュータ900からみれば、イメージスキャナとしても機能し、且つ、プリンタとしても機能する。
【0025】
画像処理部110の外部切り替え回路にてプリンタ部2へ接続された電気信号は、露光制御部201にて変調された光信号に変換された感光体202を照射する。照射光によって感光体202上に作られた潜像は現像器203によって現像される。上記現像の先端とタイミングを併せて転写紙積載部204、もしくは205より転写紙が搬送され、転写部206において上記現像された像が転写される。転写された像は定着部207にて転写紙に定着された後、排紙部208より装置外部に排出される。排紙部208から出力された転写紙は、ソータ220に渡される。ソータ220は、ソータ機能が働いている場合にはトレー2202から2208に順に排出される様に、ソート機能が働いていない場合には基本的には最上位のトレー2201に排出される様に動作する。
【0026】
続いて、順次読み込む画像を1枚の出力用紙の両面に出力する方法について説明する。定着部207で定着された出力用紙を一度排紙部208まで搬送後、用紙の搬送向きを反転して搬送方向切り替え部材209を介して再給紙用被転写紙積載部210に搬送する。次の原稿が準備されると、上記プロセスと同様にして原稿画像が読み取られるが、転写紙については再給紙用被転写紙積載部210より給紙されるので、結局同一出力紙の表面、裏面に2枚の原稿画像を出力することが出来る。
【0027】
図4は、操作部300の構成図である。図4において、301は表示部であり、動作状態・メッセージを表示する。また、表示部301の表面には透明なタッチパネルになっていて、表面を触れることにより選択キーとして働く。302はテンキーであり、複写枚数等を入力するキーである。303はスタートキーであり、このキーを押すことより動作を開始する。
【0028】
次に、図5のフローチャートを用いて動作を説明する。
【0029】
このプログラムは外部装置、本実施形態の場合にはホストコンピュータ900の動作状態を表わすものである。
【0030】
はじめに、ホストコンピュータ900から画像形成装置100に動作状況の確認信号を要求する(ステップS501)。このとき、書き換えモードの状態に移行できると画像形成装置100が判断したなら、操作部300にその状態を表示する。画像形成装置100が書き換えモードに移行した旨の情報をホストコンピュータ900に送信する。ホストコンピュータ900はこれを受け、画像形成装置100の機種ID番号の要求を行い(ステップS502)、機種IDを受信する。ホストコンピュータ900は、この機種ID番号(実施形態では複写機である旨の情報)と転送すべき制御プログラムの機種が合致しているかを判断する(ステップS503)。合致していなければ、通信回路901を介して画像形成装置100に制御プログラム転送不許可信号(ステップS512)、不許可レベル(どの段階で転送できなくなったかをしめすもの)を送信する(ステップS513)。画像形成装置100がこの情報を受けると、操作部300にその旨のメッセージを表示させる。また、ホストコンピュータは書き換えモード終了信号を送信し(ステップS515)、書き換えモードの終了を画像形成装置100に知らせる。
【0031】
一方、ステップS503で、合致したと判断した場合には、画像形成装置100の機能ID番号を要求する(ステップS505)。実施形態の画像形成装置100の場合、イメージスキャナ、プリンタとして機能する旨のID情報を送出することになる。
【0032】
ホストコンピュータ900は、これを受け、合致していない場合は、先に示したステップS512〜S514の処理を行う。また、合致した場合には、現在、画像形成装置100が使用している制御プログラムのバージョンを要求する(ステップS508)。送信されたバージョンがこれから転送する制御プログラムバージョンと同じか新しいものであれば、送信する必要がないので、ステップS512〜S514の処理を行う。
【0033】
また、バージョンが古いものであることが判断された場合には、制御プログラムの転送が行われる(ステップS511)。制御プログラムの転送が終わると、書き換えモード終了信号を画像形成装置100に送信(ステップS515)し、書き換えが終了したことを画像形成装置100の操作部300に表示し、通常モードに変換する。
【0034】
次に、実施形態における画像形成装置本体100における動作を説明する。尚、この動作を行うためのプログラムはROM404に格納されているものである。
【0035】
画像形成装置本体100は、常にホストコンピュータ900からの指示をまっている。ここで、書き換えモード指示情報を受信すると(ステップS601)、処理はステップS602に進み、画像形成装置本体100内の動作状態検出部900により動作状態を確認する(ステップS602)。
【0036】
動作状態検出部500から書き換えモードへ移行しても良いと判断されると、操作部300に書き換えモードへ移行することを表示(ステップS603)し、画像形成装置100の諸機能を停止する(ステップS604)。
【0037】
尚、書換えモードへの移行ができない場合とは、例えば、現在複写処理中である場合とか、別のホストコンピュータからの印刷中である、もしくはイメージスキャナ装置として動作中の場合等である。
【0038】
さて、以上の動作を経て、書き換えモードに移行したことをホストコンピュータ900に送信する(ステップS605)。以後書き換え動作を実行するためにROM404に別途記憶された書換えプログラムを起動する(ステップS606)。
【0039】
これ以降は、先に説明した図5で説明したホストコンピュータ900とのコミュニケーションを行うべく、動作することになる。
【0040】
以上説明したように本実施形態によれば、転送先の装置の機種、機能、バージョンをID番号により判断することにより、誤りなく制御プログラムを転送することができるようになる。
【0041】
また、画像形成装置が機種IDを送信することなく、制御プログラムを受信したときは、上位装置側では機種及び機能を確認することを行っていないことになるので、その場合には受信した制御プログラムの書換えを行なわない。
【0042】
<第2の実施形態>
上記実施形態(第1の実施形態)では、ホストコンピュータ900側で、画像形成装置100が転送できる対象であるか否かを判定するものであったが、この判定を画像形成装置100側に持たせる例を第2の実施形態として説明する。但し、装置構成は、第1の実施形態と同様であるものとし、その説明は省略する。
【0043】
ホストコンピュータ900から、書換えモード信号を受信すると、第2の実施形態でも、図6に示す手順に従い、最終的にROM404に格納された、書換えプログラムを起動するのは同様である。従って、以下では、この書換えプログラムの処理内容を説明する。
【0044】
図7は、第2の実施形態における書換えプログラムの処理手順を示すフローチャートである。
【0045】
先ず、ROM404内の書き換えプログラムのプログラムが起動することにより、ホストコンピュータ900がこれから転送しようとしている制御プログラムの機種ID番号、機能ID番号、バージョンID番号がいかなるものであるのかを判断するため、その転送要求をホストコンピュータ900に送信する(ステップS701、S704、S707)。この結果、ホストコンピュータ900から送信しようとするプログラムが適応できる種情報(機種ID)、機能情報(機能ID)、更には、バージョン情報が送られてくる。そして、送られてきたこれらの情報と自身の機種ID、機能ID、更にはバージョン順に調べて行き、ホストコンピュータ900が送信しようとするプログラムが自身に適合できるものであるか、更にはアップデイトすべきか否かを判断する。バージョンの識別では先に説明した第1の実施形態とは異なる。すなわち、転送しようとしている制御プログラムが現在使用している制御プログラムバージョンと同じが古いものである場合に、転送不許可信号(ステップS710)、不許可レベル(ステップS712)をホストコンピュータ900に送信する。画像形成装置本体100においても、転送ができないことを操作部300に不許可レベルと併せて表示する(ステップS712)。
【0046】
以上の判断を全てクリアした場合、制御プログラム転送をホストコンピュータに要求する(ステップS713)。そして、送られてきた制御プログラムでもってフラッシュメモリの書き換えを行う(ステップS714)。最後に書き換えモード終了信号をホストに送信し(ステップS715)、操作部300に書き換えモード終了の表示(ステップS716)をして終了する(ステップS710)。
【0047】
以上の動作をもって制御プログラムの転送を行われる。第1の実施形態では、ホストコンピュータ900の立場から転送すべき制御プログラムと画像形成装置本体100の整合を行なったが、実施形態2では、画像形成装置本体100の立場で処理を行っているのが特徴である。
【0048】
尚、上記実施形態では、対象とする装置が複写機としたがこれによって本願発明が限定されるものではなく、例えばイメージスキャナ、プリンタ、ファクシミリ装置等いかなるものであっても良い。また、実施形態では、外部装置としてホストコンピュータを例にしたが、これによっても本願発明が限定されるものでない。更にまた、実施形態では2つの装置をシリアルインタフェース(RSー232C)で接続する例を説明したが、通信形態はこれに限らず、例えばネットワークを介して接続しても良いし、3つ以上の装置の装置が接続された環境下で2つの装置間のコミュニケーションとしても良いのは勿論である。
【0049】
<第3の実施形態>
図8は、本発明の第3の実施形態の画像形成装置の構成を示すブロック図である。リーダ部1は原稿の画像を読み取り、原稿画像に応じた画像データをプリンタ部2及び画像入出力制御部3へ出力する。プリンタ部2はリーダ部1及び画像入出力制御部3からの画像データに応じた画像を記録紙上に記録する。画像入出力制御部3はリーダ部1に接続されており、ファクシミリ部4、ファイル部5、コンピュータインターフェイス部7、フォーマッタ部8、イメージメモリ部9、コア部10などからなる。
【0050】
また、外部装置(例えばホストコンピュータ)13は、画像形成装置のプログラムをバージョンアップする為のものであり、コア部10と電話回線を介し接続されている。
【0051】
ファクシミリ部4は電話回線を介して受信した圧画像データを伸長して、伸長された画像データをコア部10へ転送し、又、コア部10から転送された画像データを圧縮して、圧縮された圧縮画像データを電話回線を介して送信する。ファクシミリ部4にはハードディスク12が接続されており、送信すべき画像データ及び受信した圧縮画像データを一時的に保存することができる。ファイル部5には光磁気ディスクドライブユニット6が接続されており、ファイル部5はコア部10から転送された画像データを圧縮し、その画像データを検索するためのキーワードとともに光磁気ディスクドライブユニット6にセットされた光磁気ディスクに記憶させる。又、ファイル部5はコア10を介して転送されたキーワードに基づいて光磁気ディスクに記憶されている圧縮画像データを検索し、検索された圧縮画像データを読み出して伸長し、伸長された画像データをコア部10へ転送する。
【0052】
コンピュータインターフェイス部7は、パーソナルコンピュータ又はワークステーション(PC/WS)11とコア部10の間のインターフェイスである。フォーマッタ部8はPC/WS11から転送された画像を表すコードデータをプリンタ部2で記録できる画像データに展開するものであり、イメージメモリ部9はPC/WS11から転送されたデータを一時的に記憶するものである。コア部10については後述するが、コア部10はリーダ部1、ファクシミリ部4、ファイル部5、コンピュータインターフェイス部7、フォーマッタ部8、イメージメモリ部9のそれぞれの間のデータの流れを制御するものである。
【0053】
尚、第3の実施形態における画像形成装置の断面構成及びその動作内容は、図3と同様であるものとし、その説明は省略する。
【0054】
図9はリーダ部1のブロック図である。CCD109から出力された画像データはA/D・SH部110でアナログ/デジタル変換が行われるとともに、シェーディング補正が行われる。A/D・SH部110によって処理された画像データは画像処理部111を介してプリンタ部2へ転送されるとともに、インターフェイス部113を介して画像入出力制御部3のコア部10へ転送される。CPU114は後述するコア部10内の操作部126で設定された設定内容に応じて画像処理部111及びインターフェイス113を制御する。例えば、操作部126でトリミング処理を行って複写を行う複写モードが設定されている場合は、その情報はコア部10よりインターフェイス113を介してCPU114に渡される。そして、画像処理部111でトリミング処理を行わせてプリンタ部2へ転送させる。また、操作部126でファクシミリ送信モードが設定されている場合は、インターフェイス113から画像データと設定されたモードに応じた制御コマンドをコア部10へ転送させる。このようなCPU114の制御プログラムはメモリ116に記憶されており、CPU114はメモリ116を参照しながら制御を行う。また、メモリ116はCPU114の作業領域としても使われる。
【0055】
図10はコア部10のブロック図である。リーダ部1からの画像データはデータ処理部121へ転送されるとともに、リーダ部1からの制御コマンドはCPU123へ転送される。データ処理部121は画像の回転処理や変倍処理などの画像処理を行うものであり、リーダ部1から処理部121へ転送された画像データは、リーダ部1から転送された制御コマンドに応じて、インターフェイス120を介してファクシミリ部4、ファイル部5、コンピュータインターフェイス部7へ転送される。また、コンピュータインターフェイス7を介して入力された画像を表すコードデータは、データ処理部121に転送された後フォーマッタ部8へ転送されて画像データに展開され、この画像データはデータ処理部121に転送された後、ファクシミリ部4やリーダ部1を介してプリンタ部2へ転送される。ファクシミリ部4からの画像データは、データ処理部121へ転送された後、プリンタ部2やファイル部5、コンピュータインターフェイス部7へ転送される。また、ファイル部5からの画像データは、データ処理部121へ転送された後、プリンタ部2やファクシミリ部4、コンピュータインターフェイス部7へ転送される。CPU123はメモリ124に記憶されている制御プログラム、及びリーダ部1から転送された制御コマンドにしたがってこのような制御を行う。また、メモリ124はCPU123の作業領域としても使われる。このように、コア部10を中心に、原稿画像の読み取り、画像のプリント、画像の送受信、画像の保存、コンピュータからのデータの入出力などの機能を複合させた処理を行うことが可能である。インターフェイス125は、バージョンアップに使用するRS232C等の外部装置接続用インタフェースであり、図8では電話回線を介して外部装置と接続されるようになっている。
【0056】
図11は、コア部10内のメモリ部124の詳細を示したものである。フラッシュROM503はCPU123が各種処理動作する為のプログラムが格納されている。RAM501はコア部10のバックアップデータの記憶及びCPU124の作業用RAMとして使用している。EPROM502はコア部としての機能の内、操作部、複写動作の最低機能を実現するための別プログラムが格納されている。本実施形態では複写動作では、片面コピーのみとし、操作部もその機能だけをサポートしている。
【0057】
図12はフラッシュROM503内のプログラムの構成を示したものである。フラッシュROM503は、0〜15で示される全部で16のブロックに分割されており、書換はブロック単位で行える。ブロック0にはフラッシュROM503を書き換える際に使用する、ダウンプログラムが格納されている。尚、ブロック0は、ハード的に書換ができない構成となっている。本実施形態で使用しているフラッシュROMは、通常モードと書き込みモードの2つを有しており、書き込みモードではフラッシュROMからデータを読み出せない構成のものである。その為、本実施形態に於けるフラッシュROM書換動作中ではブロック0のダウンロードプログラムをRAM501へ転送しフラッシュROMの書換を行っている。
【0058】
ブロック1はリーダ部のI/F制御を行うモジュールであり、ブロック2はデータ処理部の制御を行うモジュールである。ブロック3はプリンタ部の制御を行うモジュールであり、ブロック4はFAXのI/Fの制御を行うモジュールである。また、ブロック5はFILEのI/F制御を行うモジュール、ブロック6はコンピュータのI/Fの制御を行うモジュール、ブロック7はその他のI/Fの制御を行うモジュールである。
【0059】
ブロック8は、操作部の共通設定項目を制御するモジュールであり、このブロックは全ての動作に関連するソフトである。ブロック9はコピー操作部を制御するモジュールである。ブロック10はファクシミリの操作部を制御するモジュールである。ブロック11はファイルの操作部を制御するモジュールである。ブロック12はプリンタの操作部を制御するモジュールである。また、ブロック13〜15までは今のところ予備用に確保されているものである。
【0060】
外部機器13とコア10間の通信にて、外部通信機器13はどの部分(プログラムモジュール)をバージョンアップするかを指示してくるので、コア10は、どのブロックがバージョンアップされているかを知る事ができる。
ここで、図12に於けるブロック11(ファイル操作プログラムモジュール)のプログラムの書換を行う場合の手順を図13のフローチャートに従って説明する。
【0061】
尚、同図のフローチャートに基づくプログラムは、外部装置13からの接続要求があって、尚且つ、書換えを行う旨の指示コマンドを受信した場合に起動されるものである。
【0062】
先ず、ステップS1にて、画像形成装置がコピー中、ウェートアップ前等の書換可能状態かをチェックし、可能になるまで待つ。また、書換可能状態であると判断した場合には、ステップS2に進み、書換モードにフラッシュROMを設定し、ブロック0のプログラムをRAM501へ転送する。
【0063】
次いで、ステップS3において、RAM501上の書換プログラムを実行する。ステップS4では、ある一定量単位毎にプログラムの書換が成功したかをチェックする。本実施形態ではチェックサムを用いて外部装置13から送られてくるチェックサムと現在受け取ったデータとの比較を行っている。チェックサムが一致した場合はステップS5で書換終了かをチェックする(例えば、書換えデータの送信が終了した旨のコマンドを受信したか否か、或いは、はじめに転送すべきデータ量を示すコマンドを受信し、その受信が終了したかで判断する)。まだ終了していない場合は、ステップS3へと戻り書換を順次実行する。こうして、書換が終了したならば、ステップS6へと進み書換モードから通常モードへフラッシュROMを移行させ、終了する。
【0064】
他方、ステップS4にて書換が失敗した場合は、ステップS7へと進み、どのブロックの書換が失敗したかを検出する。本実施形態では、ブロック11の失敗であるためブロック11(ファイル操作部)が失敗したことを検知する。次に、ステップS8へと進みファイル関連のソフト実行を中止しステップS6へと戻る。
【0065】
図14に通常モードでの操作部表示を示し、以下にその動作を説明する。図14に示される表示は本装置に設けられた操作部の液晶表示画面上にソフト的に表示されているキーである。801は拡張キーであり、このキーを押すと両面コピーキー等を行うための表示に切り替わる。802は画像モードキーであり、反転、斜体等の画像処理を行う時に用いる。803はユーザが定義できるユーザモードキーである。804は、縦横独立変倍等を設定する時に使用するキーである。805〜807はモードメモリキーであり、操作者はこれらのキーに対して頻繁に使用するモードを登録させ、1つのキー操作でもって複数の設定を省くことを可能にしている。
【0066】
808は、コールキーであり操作直前のモードを呼び戻す時に使用する。809はオプションキーであり、オプションが設定されている時に使用するキーである。810はソータを使用するときに使用するキーである。811は、原稿混載モードを指定する時に使用するキーである。812は、倍率を100%に設定するキーである。813,814,815はそれぞれ定型拡大、定型縮小、1%刻みの変倍時に使用するキーである。816は用紙選択キーである。817は、濃度を示す表示部であり、818,819の濃度の変更に用いるキーの操作によってその濃度の度合をレベルとして表示する。820は自動露光を設定するキーである。821は、写真原稿をきれいに再現するときに使用するキーである。822は文字原稿の文字をよりシャープに再現するときに使用するキーである。
【0067】
また、823は各種説明等を行うためのヘルプキーである。824はコピーモードとして使用する時に押すキーである。つまり図14は、キー824を押されると表示する画面である。825は、ファックスモードとして使用する時に押すキーである。826は、ファイルモードとして使用する時に押すキーである。827は、プリンタモード(すなわち、本装置はホストコンピュータからの印刷データを受けて通常のプリンタとしても機能する)として使用する時に押すキーである。
【0068】
さて、プログラムの書換が成功した場合、画像形成装置の操作部は図14の様になる。他方、先に説明したように、例えばファイルの操作部プログラムの書換(ダウンロード)が失敗した場合、図15に示す表示となる。即ち、ファイルモードを設定するキー826がなくなる事となる。この826キーがなくなる事でファイル関連の動作は禁止される事となる。更に、ファイル部のバージョンアップ失敗というメッセージを出力する。図示はしないが、外部装置13にも同様にバージョンアップ失敗の表示がされているためサービスマンにも当然であるが知らせている。
【0069】
図16に図13で示したステップS7,S8の詳細なブロック図を示す。
【0070】
先ず、ステップS11で、失敗したブロックを判断し、ステップS12〜15に対応した機能を選択し、ステップS16でその機能を選択できるキーを操作部から削除する。通常画面のソフトはブロック8の操作部共通に含まれている。
【0071】
次に、図12に示すブロックのうち、ブロック8の操作部共通ソフトを書き換えを失敗した場合の説明を行う。基本的動作は上記と同じ為説明は省略する。
【0072】
さて、この場合の処理は、図13におけるステップS7及び8が異なる。そこで、この部分を図17のフローチャートに従って説明する。
【0073】
操作部共通ソフトの書換を失敗した為、ステップS11へと進み、失敗したブロックの内容は全ての動作に関連したブロックかチェックする。一致しなければ、図16のステップS11へと進み対応キーを削除し、ステップS6へと進む。他方、一致した場合は22に進みソフトの実行をRAM502で行うように設定しステップS6へと戻る。
【0074】
図18に装置全体を動作処理のフローチャートを示し、以下に説明する。
【0075】
ステップS31では、ROM動作か否かを判定する。ROM動作が指定されていない場合、すなわち、通常動作を行う場合には、ステップS32へと進み、503フラッシュROM上のプログラムを実行する。ステップS33では、操作部でモードが設定され動作要求が発生したかをチェックする。動作要求が発生しない場合は、ステップS33で待つ事となる。
【0076】
例えば、70%変倍のコピー5枚という設定が行われコピー動作要求が発生したとする。この場合には、ステップS34にて設定された条件にてコピー動作を行いステップS31へと戻る。
【0077】
他方、ステップS31にて、図12で説明したようにROM動作が設定された場合にはステップS35に分岐し、EPROM502上のプログラムを実行する。前述したように本実施形態では、EPROM502には、複写動作に於ける、片面コピーのみとし、操作部もその機能だけをサポートするプログラムが搭載されている。次いで、ステップS36にて、複写動作要求が発生するのを待つ。発生したならば、ステップS37へと進み、複写動作を行いステップS31へと戻る。その時の操作部の表示画面を図19に示す。コピー等倍片面コピーしかできない事がわかる。更に、ダウンロードが失敗した為最低機能で動作しているというメッセージを出力している。ダウンロードが失敗した事は、外部装置にも同様に表示されているためサービスマンにも当然であるが知らせている(図示せず)。
【0078】
実施形態では、502EPROM上に複写動作最低機能を搭載しているがこれが、ファックスや、プリンタや、ファイルの最低機能であっても良い。
【0079】
<第4の実施形態>
第4の実施形態を説明する。図20は、第4の実施形態の構成を示すブロック図である。
【0080】
図示において、先に説明した図1と同様の構成については同符号を付した。但し、本第4の実施形態における制御部400は画像形成装置100の動作制御、メモリの書き換え制御、データ制御通信装置と通信する通信制御および圧縮されたデータを解凍するプログラムに基づく動作制御をする。また、901は、ホストコンピュータ900と画像形成装置100を結ぶ通信回路でありここではRS−232Cを用いる。
【0081】
図21は、上記制御部400の詳細構成を示すブロック図である。図示においも図2と同様の構成には同符号を付した。従って、401は画像形成装置100の制御を行うCPUであり、402は制御プログラムおよび書き換えられるデータの情報を記憶する電気的に書き換え可能な不揮発性メモリでここではフラッシュメモリであり、403は入力データの領域や作業用記憶領域として用いるRAMであり、404はフラッシュメモリ402を書き換えるためのプログラム(後述する各フローチャートに対応するプログラム)、圧縮されたデータプログラムを解凍するプログラムを記憶するROMであり、410はデータ制御通信装置9と通信を行うI/Oインターフェイスであり、408及び409はCPU401のアドレスバスおよびデータバスである。
【0082】
このように構成された画像形成装置100とホストコンピュータ900において、本第4の実施形態では、ホストコンピュータ900は書き換えるデータプログラムを圧縮させ送信し、画像形成装置100はI/Oインターフェイス401を介してこれを受信し、制御部400のROM404の圧縮されたデータプログラムを解凍するプログラムに基づきプログラムを解凍し、制御部400のフラッシュメモリ402に解凍されたデータの書き換えを行う。
【0083】
さらに、ホストコンピュータ900は書き換えるデータのデータ数、画像形成装置100においてかかる解凍時間等から、圧縮してデータの転送を行ったほうが書き換えの時間が早いか否かを判断し、その判断に基づく動作も行うことを付加する。ここで書き換えの時間というのはデータの転送、圧縮、解凍等を含む時間である。
【0084】
尚、画像形成装置100の構造は、先の第1の実施形態で示した図3と同様であるものとし、ここでの説明は省略する。
【0085】
さて、ホストコンピュータ900が持つ書き換えるデータと画像形成装置100のフラッシュメモリ402に記憶される書き換えられるデータは本第4の実施形態においても16ブロックから成り立っている。前記フラッシュメモリ402はブロック単位で書き換えが可能であるので、本体側のデータとホスト側のデータを比較し、一致していないブロックだけ書き換えを行うことができる。こうした前提のもとで書き換えを行う場合、書き換えるブロック数が少なければ、書き換えるデータを圧縮せずそのまま画像形成装置100に転送したほうが書き換えにかかる時間の効率がよいこともある。よって書き換えるブロック数、データの通信時間および画像形成装置側でのデータの解凍時間を画像形成装置100とホストコンピュータ900で判断し、ホストコンピュータにデータを圧縮して転送するか否かの判断を加えることでより効果的なデータの書き換えを行うことができる。
【0086】
次に図22のフローチャートを用いて動作を説明する。図22は圧縮してプログラムの転送を行うか否かを判断する際のホストコンピュータ900側のプログラムのフローチャートを示す。
【0087】
まず、画像形成装置100に対し、画像形成装置内のフラッシュROMの全ブロック毎のチェックサムの送信命令を送信し(S401)、画像形成装置100からのチェックサムの受信を待つ(S402)。この通知を受信後、受信されたチェックサムよりどのブロックが変更すべきかを検出し、書き換えるブロック数およびプログラムのデータ量を算出する。その算出されたプログラムデータ量より圧縮、解凍にかかる時間およびプログラムデータを転送する時間を算出する(S403)。
【0088】
ここでホストコンピュータ900はあらかじめ(プログラムデータをそのまま転送したときにかかる時間)/(プログラムデータ量)のデータを持っておりそのデータと前記算出した時間のデータの比較を行い、プログラムデータを書き換えるに当たって、プログラムデータを圧縮して転送した方が書き換えが速いか否かを判断する(S404)。そして、この判断で否と判断されれば、書き換え命令を画像形成装置100に送信し(S405)、プログラムデータに圧縮を施さずにそのままの形で画像形成装置に転送する(S406)。
【0089】
一方、圧縮したデータを送信した方が早いと判断された場合には、圧縮転送命令を画像形成装置100に送信し(S407)、書き換えるプログラムデータを圧縮し(S408)、書き換え命令を画像形成装置に送信し(S409)、その圧縮したプログラムデータを画像形成装置に転送する(S410)。
【0090】
次に図5のフローチャートを用いて画像形成装置側の動作を説明する。
【0091】
まず、ホストコンピュータ900からのチェックサム送信命令を持ち(S510)、それを受信後フラッシュメモリ402に記憶されているプログラムデータの各プロックのチェックサムをホストコンピュータ900に送信する(S502)。
【0092】
次いで、ステップS503、S508で圧縮転送命令或いは書換え命令を受信するのを待つ。
【0093】
ここで、圧縮転送命令を受信した場合には、次に書換え命令(どのブロック(複数可)に対する書換え命令かを示す情報も含まれる)を受信するのを待ち(ステップS504)、ステップS505で実際のデータの受信を待つ。データを受信したらステップS506で解凍処理を行って、指示されたブロックのプログラムコードを生成し、対応するブロックに書換える(ステップS507)。
【0094】
一方、圧縮転送命令を受信することなく、単なる書換え命令を受信した場合、処理はステップS508からステップS509に進み、その命令に含まれるブロック位置に受信したデータをそのまま書き込む処理を行う(ステップS510)。
【0095】
<第5の実施形態>
上記第4の実施形態では、ホストコンピュータ側で圧縮させるか否かを判定したが、本第5の実施形態では複数の画像形成装置が互いに接続されている場合を説明する。すなわち、1つの画像形成装置内のバージョンアップされたプログラムを、他の画像形成装置に反映させる例である。
【0096】
この場合、システム構成は、図24に示す通りである。すなわち、画像形成装置500が上記第4の実施形態のホストコンピュータに対応し、画像形成装置100がプログラムを受信した自身のフラッシュROMを更新する。
【0097】
通信手順であるが、送り手である画像形成装置500側の処理は、図25のフローチャートに従い、受けてである画像形成装置100側の処理は図26のフローチャートに示すごとくである。図示の如く、送り手及び受けて側の処理内容は、上記第4の実施形態と実質的に同じであるので、その説明は省略する。
【0098】
本第5の実施形態によれば、複数の画像形成装置が接続された環境下にあった場合に、1つの画像形成装置に対して第4の実施形態で説明した処理でもって、内部の処理プログラムを書換えるだけで、他の画像形成装置が次々と自動的に自身のプログラムをアップデイトさせることが可能になる。
【0099】
尚、本発明は、複数の機器(例えばホストコンピュータ、インターフェース機器、リーダ、プリンタ等)から構成されるシステムに適用しても、1つの機器からなる装置(例えば複写機、ファクシミリ等)に適用しても良い。
【0100】
また、本発明の目的は、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出して実行することによっても、達成されることは言うまでのもない。
【0101】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0102】
プログラムコードを供給するための記憶媒体としては、例えばフロッピーディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
【0103】
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行ない、その処理によって実施形態の機能が実現される場合も含まれることは言うまでもない。
【0104】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された拡張機能ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行ない、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0105】
【発明の効果】
以上説明したように本発明によれば、確実に動作することが約束されたプログラムでもって、その機能を向上させることが可能になる。
【0106】
また、他の発明によれば、通信中に何等のトラブルが発生しても、そのトラブルの基になったプログラムの使用を積極的に不能にしつつ、基本的な処理動作を確保することが可能になる。
【0107】
また、更なる発明によれば、プログラムのアップデイトにかかる時間を効率良く短縮することを可能ならしめる情報処理装置を提供しようとするものである。このため、以下の構成を備える。
【0108】
【図面の簡単な説明】
【図1】第1の実施形態における画像形成装置及びホストコンピュータの構成を説明するブロック図である。
【図2】実施形態における制御部の詳細構成を説明するブロック図である。
【図3】実施形態における画像形成装置の断面構成図である。
【図4】実施形態における操作部の構成を説明する平面図である。
【図5】第1の実施形態におけるホストコンピュータの実行手順を示すフローチャートである。
【図6】第1の実施形態における画像形成装置内の処理手順を示すフローチャートである。
【図7】第2の実施形態における画像形成装置内の動作手順を示すフローチャートである。
【図8】第3の実施形態における画像形成装置及びホストコンピュータとの関係を示す図である。
【図9】第3の実施形態におけるリーダ部1のブロック図である。
【図10】第3の実施形態におけるコア部10のブロック図である。
【図11】図10のメモリ部124の詳細を示したものである。
【図12】第3の実施形態におけるフラッシュROM内のプログラムの構成を示したものである。
【図13】第3の実施形態におけるプログラムの書換を行う手順を示すフローチャートである。
【図14】通常状態における操作部の表示画面の例を示す図である。
【図15】一部機能を不能になった状態の表示画面の例を示す図である。
【図16】図13におけるステップS7,S8の詳細を示すフローチャートである。
【図17】第3の実施形態における処理の一部を示すフローチャートである。
【図18】第3の実施形態における画像形成装置の全体の処理手順を示すフローチャートである。
【図19】第3の実施形態におけるダウンロード失敗時における表示画面の例を示す図である。
【図20】第4の実施形態の構成を示すブロック図である。
【図21】第4の実施形態における制御部の詳細構成を示すブロック図である。
【図22】第4の実施形態におけるホストコンピュータの処理内容を示すフローチャートである。
【図23】第4の実施形態における画像形成装置側の処理内容を示すフローチャートである。
【図24】第5の実施形態の構成を示すブロック図である。
【図25】第5の実施形態におけるプログラム供給側の画像処理装置の処理内容を示すフローチャートである。
【図26】第5の実施形態におけるプログラム受け手側の画像形成装置側の処理内容を示すフローチャートである。
【符号の説明】
100 画像形成装置
300 操作部
400 制御部
401 CPU
402 フラッシュメモリ
403 RAM
404 ROM
410 I/Oインタフェース
900 ホストコンピュータ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus and a control method thereof, and more particularly, to an information processing apparatus that uses program information supplied from a host device as a function improvement program or supplies a function improvement program to a lower device and a control method thereof It is.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a memory management control device such as a computer connects an image forming apparatus by an external device and a communication medium, and transfers a control program to be changed to a nonvolatile memory or the like included in the image forming apparatus.
[0003]
[Problems to be solved by the invention]
However, in a series of image forming apparatuses, an operator mistakenly transfers a control program for another series apparatus or transfers a control program for a function not required in the image forming apparatus. May cause malfunction of the image forming apparatus.
[0004]
In particular, when a program for improving the function is transmitted from a position that is sufficiently far away, if an abnormality occurs in the transmission, normal operation can no longer be expected, or no operation can be performed at all. It can be.
[0005]
Furthermore, when a large-sized program or the like is transmitted, the receiver side apparatus may be kept waiting for a long time until the receiver's device can use the function of the program.
[0006]
[Means for Solving the Problems]
The present invention has been made for the purpose of solving the above-described problems, and is an information processing apparatus and a control method thereof capable of improving its function with a program promised to operate reliably. Is to provide.
[0007]
  In order to achieve this object, for example, the present inventionImage formationThe apparatus has the following configuration. That is,
  With host deviceTwoDirectional communication is possible, and its own program is updated with program information sent from the host device.Image formationA device,
  In accordance with a predetermined request from the host device, transmission means for transmitting information about its own model and function to the host device;
  A discriminating means for discriminating whether the operation state of the image forming apparatus is a state in which an external program can be rewritten;
  When the determination unit determines that the state of the image forming apparatus is rewritable from the outside,Sends information about its own model and function by sending meansAndReceive program information from the host deviceAndStorage holding means for storing and holding the program information.
[0008]
  OrAn image forming system comprising an image forming apparatus and a host device that transmits image information to be formed to the image forming apparatus,
  The host device is
    Connected to the lower levelBy transmitting a predetermined request signal to the image forming apparatus, the image forming apparatus is based on the returned information.Recognition means to recognize the model and function of
    Recognition result of the recognition meansModels and functionsDetermining means for determining whether or not the target of the program to be transmitted matches,
    If it is determined by the determination means that the program matches, the program information is transmitted to the lower electronic device.Transmission means for
  The image forming apparatus includes:
      In accordance with the predetermined request from the host device, transmission means for transmitting information about its own model and function to the host device;
  A discriminating means for discriminating whether the operation state of the image forming apparatus is a state in which an external program can be rewritten;
  When the determining unit determines that the state of the image forming apparatus is rewritable from the outside, the transmitting unit transmits information about the own model and function, and program information is transmitted from the host device. Storing and holding means for storing and holding the program informationIs provided.
[0009]
Another invention relates to an information processing apparatus that ensures basic processing operations while actively disabling the use of a program that is the basis of a trouble, even if any trouble occurs during communication, and its It is intended to provide a control method.
[0010]
  In order to achieve this object, for example, the present inventionImage formationThe apparatus has the following configuration. That is,
  Receives the control program sent from the host device and executes the program as a function expansion programIn addition, image formation having an operation unit for giving various operation instructionsA device,
  First storage means storing a program for performing basic operations;
  SaidFor controlling the function of the image forming apparatus via a user interface displayed on an operation unit of the image forming apparatusA writable and nonvolatile second storage means for storing the control program;
  If the control program sent from the host device could not be received normally, it was stored in the second storage meansApplicableProgram featuresTheImpossibleDisplay means for excluding the user interface displayed on the operation unit and displaying on the operation unit of the image forming apparatusIs provided.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an example of an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.
[0014]
<First Embodiment>
FIG. 1 is a diagram illustrating a configuration example of a memory management control device according to an embodiment of the present invention.
[0015]
In FIG. 1, reference numeral 100 denotes an image forming apparatus main body (in the embodiment, a copying apparatus), 300 denotes an operation unit of the image forming apparatus 100, 400 denotes operation control of the image forming apparatus 100, memory rewrite control, and communication with an external device. It is a control part which performs control. Reference numeral 500 denotes a detection unit that detects an operation state of the image forming apparatus 100.
Reference numeral 900 denotes an external device, which is a host computer that issues a memory rewrite command for the image forming apparatus 100 from the outside. Reference numeral 901 denotes a communication circuit that connects the host computer 900 to the image forming apparatus 100. Here, RS- 232C is used.
[0016]
FIG. 2 is a block diagram showing a detailed configuration of the control unit 400 shown in FIG. In FIG. 2, 401 is a CPU that controls the image forming apparatus 100, 402 is a non-volatile memory that can store and electrically rewrite a control program of the image forming apparatus 100, and is a flash memory in this embodiment. Reference numeral 403 denotes a RAM used as an input / output data storage area, a working storage area, and the like. Reference numeral 404 denotes a ROM that records a control program for rewriting the flash memory 402 and a program for self-determining the operation state of the image forming apparatus 100. Reference numeral 410 denotes an I / O interface that communicates with the external apparatus 900. Reference numerals 408 and 409 denote an address bus and a data bus.
[0017]
Further, it is assumed that the image forming apparatus 100 has a normal mode in which a normal copy operation or the like is performed and a rewrite mode in which the flash memory 402 is rewritten. In the rewrite mode, other operations are not accepted until rewriting is completed.
[0018]
In the image forming apparatus 100 configured as described above, when the rewrite mode transition command is transmitted from the host computer 900 and is received by the image forming apparatus 100 via the I / O interface 410, the control unit 400 is stored in the flash memory 402. A predetermined operation is executed based on a program for determining the operating state, and the operating state of the image forming apparatus 100 is determined. If it is determined that the image forming apparatus 100 cannot be rewritten based on the determination result, a rewrite prohibition signal is transferred to the host computer 900.
[0019]
Further, even if the state is in the state of prohibiting rewriting in the above, the state is canceled and at the same time, a rewritable signal is transmitted to the host computer 900.
[0020]
Further, considering that the image forming apparatus 100 is rewritten from a remote location, a message is displayed on a display unit provided in the operation unit before a rewritable signal is transmitted to the host computer 900 to allow the user to A function for receiving a disapproval instruction can also be added.
[0021]
Subsequently, when the image forming apparatus 100 transmits a permission signal in response to a rewrite mode request from the host computer, the image forming apparatus 100 obtains an ID number representing its own model and a function ID representing a composite function in the image forming apparatus. The data is transmitted to the host computer 900 via the communication circuit 901. As a result, the host computer 900 determines from the received model ID number whether or not the control program to be transferred matches the transfer destination device, and if it does not match, the transfer of the control program is stopped. Is transferred to the image forming apparatus 100. On the image forming apparatus 100 side, a message indicating that the image could not be transferred is displayed on the operation unit. Also, if they match, the function ID number representing the function is confirmed next, and if it does not match, the fact that transfer could not be made is displayed on the operation unit. If they match, the permission signal is transferred from the host computer 900 to the image forming apparatus 100 via the communication circuit 901 to the control unit 400, and the flash memory rewriting operation program stored in the ROM 404 is executed by the CPU 401. When it is determined that they are different from each other, the transfer of the control program is stopped, and the fact that the control program cannot be transferred is transferred to the control unit 400 and displayed on the operation unit 300 of the image forming apparatus main body 100.
[0022]
FIG. 3 is a cross-sectional view illustrating the configuration of the image forming apparatus main body 100 illustrated in FIG. 1. The configuration and operation will be described below by dividing the reader unit 1 and the printer unit 2.
[0023]
In the reader unit 1, the originals stacked on the original feeder 101 are sequentially conveyed onto the original table glass surface 102 one by one. When the original is conveyed to a predetermined position on the glass surface (generally called platen glass) 102, the lamp 103 of the scanner unit is turned on and the scanner unit 104 is moved to irradiate the original. The reflected light of the document is imaged on the CCD 109 via the mirrors 105, 106, 107 and the lens 108, and is photoelectrically converted here. The converted electrical signal is sent to the image processing unit 110 (corresponding to the control unit 400 of the embodiment).
[0024]
The image processing unit 110 performs image processing set by various operation units. It also has a function of having an image memory and rotating the output direction of the image. Also, a function for switching the signal from the reader unit 1 to the printer unit 2 or the host computer 900 which is an external device, and a signal from the reader unit 1 or a signal from the external device 900 are selected and connected to the printer unit 2 It also has an external switching circuit for performing the function. That is, when viewed from the host computer 900, the apparatus according to the embodiment functions as an image scanner and also functions as a printer.
[0025]
The electrical signal connected to the printer unit 2 by the external switching circuit of the image processing unit 110 irradiates the photoconductor 202 converted into an optical signal modulated by the exposure control unit 201. The latent image formed on the photosensitive member 202 by the irradiation light is developed by the developing unit 203. The transfer paper is conveyed from the transfer paper stacking unit 204 or 205 together with the leading edge of the development, and the developed image is transferred by the transfer unit 206. The transferred image is fixed on transfer paper by the fixing unit 207 and then discharged from the paper discharge unit 208 to the outside of the apparatus. The transfer paper output from the paper discharge unit 208 is transferred to the sorter 220. The sorter 220 operates so that the tray 2202 is discharged in order from the tray 2202 when the sorter function is working, and is basically discharged to the uppermost tray 2201 when the sort function is not working. To do.
[0026]
Next, a method for outputting sequentially read images on both sides of one output sheet will be described. After the output paper fixed by the fixing unit 207 is once transported to the paper discharge unit 208, the transport direction of the paper is reversed and transported to the re-feeding transfer paper stacking unit 210 via the transport direction switching member 209. When the next original is prepared, the original image is read in the same manner as in the above process. However, since the transfer paper is fed from the transfer paper stacking unit 210 for refeeding, the surface of the same output paper, Two original images can be output on the back side.
[0027]
FIG. 4 is a configuration diagram of the operation unit 300. In FIG. 4, reference numeral 301 denotes a display unit that displays an operation state / message. In addition, a transparent touch panel is provided on the surface of the display unit 301, and acts as a selection key by touching the surface. A numeric keypad 302 is a key for inputting the number of copies. Reference numeral 303 denotes a start key, and the operation starts when this key is pressed.
[0028]
Next, the operation will be described with reference to the flowchart of FIG.
[0029]
This program represents the operating state of the external device, in the case of this embodiment, the host computer 900.
[0030]
First, an operation status confirmation signal is requested from the host computer 900 to the image forming apparatus 100 (step S501). At this time, if the image forming apparatus 100 determines that the state can be changed to the rewrite mode, the state is displayed on the operation unit 300. Information indicating that the image forming apparatus 100 has shifted to the rewrite mode is transmitted to the host computer 900. In response to this, the host computer 900 requests the model ID number of the image forming apparatus 100 (step S502), and receives the model ID. The host computer 900 determines whether the model ID number (information indicating that the machine is a copying machine in the embodiment) matches the model of the control program to be transferred (step S503). If they do not match, a control program transfer non-permission signal (step S512) and a non-permission level (which indicates at which stage transfer cannot be performed) are transmitted to the image forming apparatus 100 via the communication circuit 901 (step S513). . When the image forming apparatus 100 receives this information, the operation unit 300 displays a message to that effect. Further, the host computer transmits a rewrite mode end signal (step S515) to notify the image forming apparatus 100 of the end of the rewrite mode.
[0031]
On the other hand, if it is determined in step S503 that they match, the function ID number of the image forming apparatus 100 is requested (step S505). In the case of the image forming apparatus 100 of the embodiment, ID information indicating that the image forming apparatus 100 functions as an image scanner or a printer is transmitted.
[0032]
In response to this, the host computer 900 performs the processes of steps S512 to S514 described above if they do not match. If they match, the version of the control program currently used by the image forming apparatus 100 is requested (step S508). If the transmitted version is the same as or newer than the control program version to be transferred from now on, there is no need to transmit, so the processing of steps S512 to S514 is performed.
[0033]
If it is determined that the version is old, the control program is transferred (step S511). When the transfer of the control program is completed, a rewrite mode end signal is transmitted to the image forming apparatus 100 (step S515), the fact that the rewrite has been completed is displayed on the operation unit 300 of the image forming apparatus 100, and converted to the normal mode.
[0034]
Next, the operation of the image forming apparatus main body 100 in the embodiment will be described. A program for performing this operation is stored in the ROM 404.
[0035]
The image forming apparatus main body 100 always receives instructions from the host computer 900. When the rewrite mode instruction information is received (step S601), the process proceeds to step S602, and the operation state is confirmed by the operation state detection unit 900 in the image forming apparatus main body 100 (step S602).
[0036]
When it is determined that the operation state detection unit 500 can shift to the rewrite mode, it is displayed on the operation unit 300 that the operation mode is shifted to the rewrite mode (step S603), and various functions of the image forming apparatus 100 are stopped (step S603). S604).
[0037]
Note that the case where the transition to the rewrite mode cannot be performed is, for example, a case where a copy process is currently being performed, a case where printing is being performed from another host computer, or a case where the image scanner apparatus is operating.
[0038]
Through the above operation, the fact that the mode has been changed to the rewrite mode is transmitted to the host computer 900 (step S605). Thereafter, in order to execute the rewrite operation, a rewrite program separately stored in the ROM 404 is activated (step S606).
[0039]
Thereafter, the operation is performed to communicate with the host computer 900 described with reference to FIG.
[0040]
As described above, according to the present embodiment, the control program can be transferred without error by determining the model, function, and version of the transfer destination device from the ID number.
[0041]
Further, when the image forming apparatus receives the control program without transmitting the model ID, the host apparatus does not confirm the model and function, and in that case, the received control program Will not be rewritten.
[0042]
<Second Embodiment>
In the above embodiment (first embodiment), the host computer 900 side determines whether or not the image forming apparatus 100 is a transfer target. However, the image forming apparatus 100 side has this determination. An example of this will be described as a second embodiment. However, the apparatus configuration is the same as that of the first embodiment, and the description thereof is omitted.
[0043]
When the rewrite mode signal is received from the host computer 900, the rewrite program finally stored in the ROM 404 is similarly activated in the second embodiment according to the procedure shown in FIG. Therefore, the processing contents of this rewriting program will be described below.
[0044]
FIG. 7 is a flowchart showing the processing procedure of the rewrite program in the second embodiment.
[0045]
First, when the program of the rewrite program in the ROM 404 is activated, the host computer 900 determines what the model ID number, function ID number, and version ID number of the control program to be transferred is A transfer request is transmitted to the host computer 900 (steps S701, S704, and S707). As a result, type information (model ID), function information (function ID), and version information to which the program to be transmitted can be applied from the host computer 900 are sent. Then, the received information and its own model ID, function ID, and version are checked in order, so that the program to be transmitted by the host computer 900 can be adapted to itself, and further update should be performed. Determine whether or not. The version identification is different from the first embodiment described above. That is, when the control program to be transferred is the same as the currently used control program version, the transfer non-permission signal (step S710) and the non-permission level (step S712) are transmitted to the host computer 900. . Also in the image forming apparatus main body 100, the fact that transfer is not possible is displayed on the operation unit 300 together with the disapproval level (step S712).
[0046]
When all the above determinations are cleared, the control program transfer is requested to the host computer (step S713). Then, the flash memory is rewritten with the sent control program (step S714). Finally, a rewrite mode end signal is transmitted to the host (step S715), the end of the rewrite mode is displayed on the operation unit 300 (step S716), and the process ends (step S710).
[0047]
The control program is transferred with the above operation. In the first embodiment, the control program to be transferred from the standpoint of the host computer 900 and the image forming apparatus main body 100 are matched. In the second embodiment, the processing is performed from the standpoint of the image forming apparatus main body 100. Is a feature.
[0048]
In the above embodiment, the target device is a copying machine. However, the present invention is not limited to this, and any device such as an image scanner, a printer, or a facsimile device may be used. In the embodiment, the host computer is taken as an example of the external device, but the present invention is not limited thereto. Furthermore, in the embodiment, the example in which two devices are connected by the serial interface (RS-232C) has been described. However, the communication form is not limited to this, and may be connected through a network, for example, or more than two Of course, communication between two devices may be performed in an environment in which the devices are connected.
[0049]
<Third Embodiment>
FIG. 8 is a block diagram showing the configuration of the image forming apparatus according to the third embodiment of the present invention. The reader unit 1 reads an image of a document and outputs image data corresponding to the document image to the printer unit 2 and the image input / output control unit 3. The printer unit 2 records an image corresponding to the image data from the reader unit 1 and the image input / output control unit 3 on a recording sheet. The image input / output control unit 3 is connected to the reader unit 1 and includes a facsimile unit 4, a file unit 5, a computer interface unit 7, a formatter unit 8, an image memory unit 9, a core unit 10, and the like.
[0050]
An external device (for example, a host computer) 13 is for upgrading the program of the image forming apparatus, and is connected to the core unit 10 via a telephone line.
[0051]
The facsimile unit 4 decompresses the pressure image data received via the telephone line, transfers the decompressed image data to the core unit 10, and compresses the image data transferred from the core unit 10 to be compressed. The compressed image data is transmitted via a telephone line. A hard disk 12 is connected to the facsimile unit 4, and image data to be transmitted and received compressed image data can be temporarily stored. A magneto-optical disk drive unit 6 is connected to the file unit 5, and the file unit 5 compresses the image data transferred from the core unit 10 and sets it in the magneto-optical disk drive unit 6 together with a keyword for retrieving the image data. Stored in the magneto-optical disk. The file unit 5 searches the compressed image data stored in the magneto-optical disk based on the keyword transferred through the core 10, reads the searched compressed image data, decompresses it, and decompresses the image data. Is transferred to the core unit 10.
[0052]
The computer interface unit 7 is an interface between the personal computer or workstation (PC / WS) 11 and the core unit 10. The formatter unit 8 develops code data representing an image transferred from the PC / WS 11 into image data that can be recorded by the printer unit 2, and the image memory unit 9 temporarily stores the data transferred from the PC / WS 11. To do. Although the core unit 10 will be described later, the core unit 10 controls the flow of data among the reader unit 1, the facsimile unit 4, the file unit 5, the computer interface unit 7, the formatter unit 8, and the image memory unit 9. It is.
[0053]
Note that the cross-sectional configuration and the operation content of the image forming apparatus in the third embodiment are the same as those in FIG. 3, and a description thereof will be omitted.
[0054]
FIG. 9 is a block diagram of the reader unit 1. Image data output from the CCD 109 is subjected to analog / digital conversion by the A / D / SH unit 110 and shading correction. The image data processed by the A / D / SH unit 110 is transferred to the printer unit 2 through the image processing unit 111 and also transferred to the core unit 10 of the image input / output control unit 3 through the interface unit 113. . The CPU 114 controls the image processing unit 111 and the interface 113 according to the setting content set by the operation unit 126 in the core unit 10 described later. For example, when a copy mode for performing copying by performing trimming processing in the operation unit 126 is set, the information is transferred from the core unit 10 to the CPU 114 via the interface 113. Then, the image processing unit 111 performs a trimming process and transfers the image to the printer unit 2. When the facsimile transmission mode is set on the operation unit 126, the control command corresponding to the set mode is transmitted from the interface 113 to the core unit 10. Such a control program of the CPU 114 is stored in the memory 116, and the CPU 114 performs control while referring to the memory 116. The memory 116 is also used as a work area for the CPU 114.
[0055]
FIG. 10 is a block diagram of the core unit 10. Image data from the reader unit 1 is transferred to the data processing unit 121, and a control command from the reader unit 1 is transferred to the CPU 123. The data processing unit 121 performs image processing such as image rotation processing and scaling processing. The image data transferred from the reader unit 1 to the processing unit 121 is in accordance with a control command transferred from the reader unit 1. The data is transferred to the facsimile unit 4, the file unit 5, and the computer interface unit 7 through the interface 120. The code data representing the image input via the computer interface 7 is transferred to the data processing unit 121 and then transferred to the formatter unit 8 to be developed into image data. The image data is transferred to the data processing unit 121. Then, the data is transferred to the printer unit 2 via the facsimile unit 4 and the reader unit 1. Image data from the facsimile unit 4 is transferred to the data processing unit 121 and then transferred to the printer unit 2, the file unit 5, and the computer interface unit 7. The image data from the file unit 5 is transferred to the data processing unit 121 and then transferred to the printer unit 2, facsimile unit 4, and computer interface unit 7. The CPU 123 performs such control according to the control program stored in the memory 124 and the control command transferred from the reader unit 1. The memory 124 is also used as a work area for the CPU 123. As described above, processing that combines functions such as reading of an original image, printing of an image, transmission / reception of an image, storage of an image, and input / output of data from a computer can be performed with the core unit 10 as a center. . The interface 125 is an interface for connecting an external device such as RS232C used for version upgrade. In FIG. 8, the interface 125 is connected to the external device via a telephone line.
[0056]
FIG. 11 shows details of the memory unit 124 in the core unit 10. The flash ROM 503 stores programs for the CPU 123 to perform various processing operations. The RAM 501 is used as a backup data storage for the core unit 10 and a work RAM for the CPU 124. The EPROM 502 stores an operation unit and another program for realizing the minimum function of the copying operation among the functions as the core unit. In this embodiment, only one-sided copying is performed in the copying operation, and the operation unit supports only that function.
[0057]
FIG. 12 shows a program structure in the flash ROM 503. The flash ROM 503 is divided into a total of 16 blocks indicated by 0 to 15 and can be rewritten in units of blocks. Block 0 stores a down program used when the flash ROM 503 is rewritten. The block 0 has a configuration that cannot be rewritten in hardware. The flash ROM used in the present embodiment has two modes, a normal mode and a write mode, and data cannot be read from the flash ROM in the write mode. Therefore, during the flash ROM rewriting operation in the present embodiment, the download program of block 0 is transferred to the RAM 501 to rewrite the flash ROM.
[0058]
Block 1 is a module that performs I / F control of the reader unit, and block 2 is a module that controls the data processing unit. A block 3 is a module for controlling the printer unit, and a block 4 is a module for controlling FAX I / F. Further, block 5 is a module for performing FILE I / F control, block 6 is a module for controlling computer I / F, and block 7 is a module for controlling other I / F.
[0059]
A block 8 is a module for controlling common setting items of the operation unit, and this block is software related to all operations. Block 9 is a module for controlling the copy operation unit. A block 10 is a module for controlling the operation unit of the facsimile. A block 11 is a module for controlling the file operation unit. A block 12 is a module for controlling the operation unit of the printer. In addition, blocks 13 to 15 are reserved for spare use at present.
[0060]
In the communication between the external device 13 and the core 10, the external communication device 13 instructs which part (program module) is upgraded, so that the core 10 knows which block is upgraded. Can do.
Here, the procedure for rewriting the program of the block 11 (file operation program module) in FIG. 12 will be described with reference to the flowchart of FIG.
[0061]
It should be noted that the program based on the flowchart of FIG. 2 is started when there is a connection request from the external device 13 and an instruction command for rewriting is received.
[0062]
First, in step S1, it is checked whether the image forming apparatus is in a rewritable state such as during copying or before waiting, and waits until it becomes possible. If it is determined that the rewritable state is set, the process proceeds to step S 2, the flash ROM is set to the rewritable mode, and the block 0 program is transferred to the RAM 501.
[0063]
Next, in step S3, the rewriting program on the RAM 501 is executed. In step S4, it is checked whether the rewriting of the program is successful every certain amount unit. In this embodiment, the checksum sent from the external device 13 is compared with the currently received data using the checksum. If the checksums match, it is checked in step S5 whether rewriting is completed (for example, whether a command indicating that transmission of rewriting data has ended is received, or a command indicating the amount of data to be transferred first is received). Judgment is made based on whether the reception is completed). If not finished yet, the process returns to step S3 and rewrites are executed in sequence. When the rewriting is thus completed, the process proceeds to step S6, the flash ROM is shifted from the rewriting mode to the normal mode, and the processing is ended.
[0064]
On the other hand, when rewriting fails in step S4, the process proceeds to step S7, and it is detected which block rewriting has failed. In this embodiment, since block 11 is a failure, it is detected that block 11 (file operation unit) has failed. Next, the process proceeds to step S8, the file-related software execution is stopped, and the process returns to step S6.
[0065]
FIG. 14 shows the operation unit display in the normal mode, and the operation will be described below. The display shown in FIG. 14 is a key displayed in software on the liquid crystal display screen of the operation unit provided in this apparatus. Reference numeral 801 denotes an expansion key. When this key is pressed, the display switches to a display for performing a double-sided copy key or the like. An image mode key 802 is used when performing image processing such as inversion and italic. Reference numeral 803 denotes a user mode key that can be defined by the user. A key 804 is used to set vertical / horizontal independent scaling. Reference numerals 805 to 807 denote mode memory keys, which allow the operator to register frequently used modes for these keys and to omit a plurality of settings by one key operation.
[0066]
Reference numeral 808 denotes a call key which is used to recall the mode immediately before the operation. An option key 809 is used when an option is set. Reference numeral 810 denotes a key used when the sorter is used. Reference numeral 811 denotes a key used when the document mixed mode is designated. Reference numeral 812 denotes a key for setting the magnification to 100%. Reference numerals 813, 814, and 815 denote keys used for standard enlargement, standard reduction, and scaling by 1%. Reference numeral 816 denotes a paper selection key. Reference numeral 817 denotes a display unit for displaying the density, and the level of the density is displayed as a level by operating a key used to change the density of 818 and 819. Reference numeral 820 denotes a key for setting automatic exposure. Reference numeral 821 denotes a key used when a photographic document is reproduced beautifully. A key 822 is used to reproduce characters of a character document more sharply.
[0067]
Reference numeral 823 denotes a help key for various explanations. Reference numeral 824 denotes a key to be pressed when used as a copy mode. That is, FIG. 14 is a screen displayed when the key 824 is pressed. Reference numeral 825 denotes a key to be pressed when used as a fax mode. A key 826 is pressed when used as a file mode. Reference numeral 827 denotes a key to be pressed when the printer mode is used (that is, the apparatus also functions as a normal printer upon receiving print data from the host computer).
[0068]
When the rewriting of the program is successful, the operation unit of the image forming apparatus is as shown in FIG. On the other hand, as described above, for example, when rewriting (downloading) of the file operation unit program fails, the display shown in FIG. 15 is displayed. That is, the key 826 for setting the file mode is eliminated. By eliminating the 826 key, file-related operations are prohibited. Further, a message indicating that the file part version upgrade has failed is output. Although not shown in the figure, the external device 13 is also notified of the version upgrade failure, so the serviceman is also notified of course.
[0069]
FIG. 16 shows a detailed block diagram of steps S7 and S8 shown in FIG.
[0070]
First, in step S11, a failed block is determined, a function corresponding to steps S12 to 15 is selected, and a key capable of selecting the function is deleted from the operation unit in step S16. The software for the normal screen is included in the common operation unit of block 8.
[0071]
Next, a description will be given of a case where rewriting of the operation unit common software in block 8 among the blocks shown in FIG. 12 fails. Since the basic operation is the same as described above, the description is omitted.
[0072]
Now, the processing in this case is different in steps S7 and S8 in FIG. This portion will be described with reference to the flowchart of FIG.
[0073]
Since the rewriting of the operation unit common software has failed, the process proceeds to step S11, where it is checked whether the contents of the failed block are blocks related to all operations. If they do not match, the process proceeds to step S11 in FIG. 16 to delete the corresponding key and proceeds to step S6. On the other hand, if they match, the process proceeds to 22 so that the software is executed in the RAM 502 and the process returns to step S6.
[0074]
FIG. 18 shows a flowchart of operation processing for the entire apparatus, which will be described below.
[0075]
In step S31, it is determined whether or not the ROM is operating. When the ROM operation is not designated, that is, when the normal operation is performed, the process proceeds to step S32, and the program on the 503 flash ROM is executed. In step S33, it is checked whether or not an operation request has been generated by setting a mode on the operation unit. If no operation request is generated, the process waits in step S33.
[0076]
For example, it is assumed that a copy operation request is generated with the setting of 5 copies with 70% magnification. In this case, the copy operation is performed under the conditions set in step S34, and the process returns to step S31.
[0077]
On the other hand, if the ROM operation is set as described in FIG. 12 in step S31, the process branches to step S35, and the program on the EPROM 502 is executed. As described above, in the present embodiment, the EPROM 502 is loaded with a program that performs only one-sided copying in the copying operation, and the operation unit supports only that function. Next, in step S36, the process waits for a copy operation request to be generated. If it occurs, the process proceeds to step S37, where the copying operation is performed and the process returns to step S31. The display screen of the operation unit at that time is shown in FIG. It can be seen that only single-sided copying is possible. In addition, a message is displayed indicating that the download is unsuccessful and is operating with the minimum functionality. The fact that the download has failed is also displayed on the external device in the same manner, so it is obvious to the serviceman (not shown).
[0078]
In the embodiment, the minimum copy operation function is mounted on the 502 EPROM, but this may be a minimum function of a fax, a printer, or a file.
[0079]
<Fourth Embodiment>
A fourth embodiment will be described. FIG. 20 is a block diagram illustrating a configuration of the fourth embodiment.
[0080]
In the drawing, the same reference numerals are given to the same configurations as those in FIG. 1 described above. However, the control unit 400 in the fourth embodiment controls the operation of the image forming apparatus 100, the rewrite control of the memory, the communication control for communicating with the data control communication apparatus, and the operation control based on the program for decompressing the compressed data. . Reference numeral 901 denotes a communication circuit that connects the host computer 900 and the image forming apparatus 100, and uses RS-232C here.
[0081]
FIG. 21 is a block diagram showing a detailed configuration of the control unit 400. In the drawing, the same reference numerals are given to the same components as those in FIG. Accordingly, 401 is a CPU that controls the image forming apparatus 100, 402 is an electrically rewritable nonvolatile memory that stores information of a control program and data to be rewritten, and here is a flash memory, and 403 is input data. , A RAM used as a storage area or a working storage area, and a ROM 404 stores a program for rewriting the flash memory 402 (a program corresponding to each flowchart described later) and a program for decompressing a compressed data program, Reference numeral 410 denotes an I / O interface that communicates with the data control communication device 9, and reference numerals 408 and 409 denote an address bus and a data bus of the CPU 401.
[0082]
In the image forming apparatus 100 and the host computer 900 configured as described above, in the fourth embodiment, the host computer 900 compresses and transmits the data program to be rewritten, and the image forming apparatus 100 passes through the I / O interface 401. Upon receiving this, the program is decompressed based on the program for decompressing the compressed data program in the ROM 404 of the control unit 400, and the data decompressed in the flash memory 402 of the control unit 400 is rewritten.
[0083]
Further, the host computer 900 determines whether the rewriting time is faster when the data is compressed and transferred from the number of data to be rewritten, the decompression time required in the image forming apparatus 100, and the operation based on the determination. Add also to do. Here, the rewriting time is a time including data transfer, compression, decompression and the like.
[0084]
Note that the structure of the image forming apparatus 100 is the same as that of FIG. 3 shown in the first embodiment, and the description thereof is omitted here.
[0085]
The data to be rewritten held by the host computer 900 and the data to be rewritten stored in the flash memory 402 of the image forming apparatus 100 are composed of 16 blocks also in the fourth embodiment. Since the flash memory 402 can be rewritten in units of blocks, the data on the main body side and the data on the host side are compared, and only the blocks that do not match can be rewritten. When rewriting is performed under such a premise, if the number of blocks to be rewritten is small, it may be more efficient to rewrite the data to be rewritten without being compressed and transferred to the image forming apparatus 100 as it is. Accordingly, the number of blocks to be rewritten, the data communication time, and the data decompression time on the image forming apparatus side are determined by the image forming apparatus 100 and the host computer 900, and whether or not the data is compressed and transferred to the host computer is determined. Thus, more effective data rewriting can be performed.
[0086]
Next, the operation will be described with reference to the flowchart of FIG. FIG. 22 is a flowchart of the program on the host computer 900 side when determining whether to transfer the program after compression.
[0087]
First, a checksum transmission command for each block of the flash ROM in the image forming apparatus is transmitted to the image forming apparatus 100 (S401), and reception of a checksum from the image forming apparatus 100 is awaited (S402). After receiving this notification, it detects which block should be changed from the received checksum, and calculates the number of blocks to be rewritten and the data amount of the program. The time required for compression and decompression and the time for transferring program data are calculated from the calculated program data amount (S403).
[0088]
Here, the host computer 900 has data of (time taken when the program data is transferred as it is) / (program data amount), and compares the data with the data of the calculated time, and rewrites the program data. Then, it is determined whether or not rewriting is faster when the program data is compressed and transferred (S404). If the determination is negative, a rewrite command is transmitted to the image forming apparatus 100 (S405), and the program data is not compressed and transferred to the image forming apparatus as it is (S406).
[0089]
On the other hand, if it is determined that it is faster to send the compressed data, a compression transfer command is sent to the image forming apparatus 100 (S407), the program data to be rewritten is compressed (S408), and the rewrite command is sent to the image forming apparatus. (S409), and the compressed program data is transferred to the image forming apparatus (S410).
[0090]
Next, the operation on the image forming apparatus side will be described using the flowchart of FIG.
[0091]
First, it has a checksum transmission command from the host computer 900 (S510), and after receiving it, transmits a checksum of each block of program data stored in the flash memory 402 to the host computer 900 (S502).
[0092]
Next, in steps S503 and S508, the process waits for reception of a compressed transfer instruction or a rewrite instruction.
[0093]
If a compression transfer command is received, the next wait is to receive a rewrite command (including information indicating which block (s) are rewritten) (step S504). Wait for receiving data. When data is received, decompression processing is performed in step S506 to generate the program code of the instructed block and rewrite the corresponding block (step S507).
[0094]
On the other hand, when a simple rewrite command is received without receiving a compression transfer command, the process proceeds from step S508 to step S509, and the received data is written as it is in the block position included in the command (step S510). .
[0095]
<Fifth Embodiment>
In the fourth embodiment, it is determined whether or not compression is performed on the host computer side. In the fifth embodiment, a case where a plurality of image forming apparatuses are connected to each other will be described. That is, in this example, the upgraded program in one image forming apparatus is reflected in another image forming apparatus.
[0096]
In this case, the system configuration is as shown in FIG. That is, the image forming apparatus 500 corresponds to the host computer of the fourth embodiment, and the image forming apparatus 100 updates its own flash ROM that has received the program.
[0097]
In the communication procedure, the processing on the side of the image forming apparatus 500 that is the sender follows the flowchart of FIG. 25, and the processing on the side of the image forming apparatus 100 that is the receiver is as shown in the flowchart of FIG. As shown in the figure, the processing contents on the sender side and the receiving side are substantially the same as those in the fourth embodiment, and the description thereof will be omitted.
[0098]
According to the fifth embodiment, when there is an environment in which a plurality of image forming apparatuses are connected, the internal processing is performed with the processing described in the fourth embodiment for one image forming apparatus. By simply rewriting the program, other image forming apparatuses can automatically update their programs one after another.
[0099]
Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) composed of a single device even if it is applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.). May be.
[0100]
Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.
[0101]
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0102]
As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0103]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. Needless to say, a case where the function of the embodiment is realized by performing part or all of the processing, is also included.
[0104]
Further, after the program code read from the storage medium is written to the memory provided in the extension function board inserted in the computer or the function extension unit connected to the computer, the function extension is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0105]
【The invention's effect】
As described above, according to the present invention, it is possible to improve the function of a program promised to operate reliably.
[0106]
Further, according to another invention, even if any trouble occurs during communication, it is possible to ensure basic processing operation while actively disabling use of the program that caused the trouble. become.
[0107]
According to a further aspect of the present invention, there is provided an information processing apparatus capable of efficiently reducing the time required for program update. For this purpose, the following configuration is provided.
[0108]
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating configurations of an image forming apparatus and a host computer according to a first embodiment.
FIG. 2 is a block diagram illustrating a detailed configuration of a control unit in the embodiment.
FIG. 3 is a cross-sectional configuration diagram of the image forming apparatus in the embodiment.
FIG. 4 is a plan view illustrating a configuration of an operation unit in the embodiment.
FIG. 5 is a flowchart showing an execution procedure of the host computer in the first embodiment.
FIG. 6 is a flowchart illustrating a processing procedure in the image forming apparatus according to the first embodiment.
FIG. 7 is a flowchart illustrating an operation procedure in the image forming apparatus according to the second embodiment.
FIG. 8 is a diagram illustrating a relationship between an image forming apparatus and a host computer according to a third embodiment.
FIG. 9 is a block diagram of a reader unit 1 in a third embodiment.
FIG. 10 is a block diagram of a core unit 10 according to a third embodiment.
FIG. 11 shows details of the memory section 124 of FIG.
FIG. 12 shows the configuration of a program in a flash ROM in the third embodiment.
FIG. 13 is a flowchart showing a procedure for rewriting a program in the third embodiment.
FIG. 14 is a diagram illustrating an example of a display screen of the operation unit in a normal state.
FIG. 15 is a diagram illustrating an example of a display screen in a state where some functions are disabled.
FIG. 16 is a flowchart showing details of steps S7 and S8 in FIG.
FIG. 17 is a flowchart showing a part of processing in the third embodiment.
FIG. 18 is a flowchart illustrating an overall processing procedure of the image forming apparatus according to the third embodiment.
FIG. 19 is a diagram showing an example of a display screen when download fails in the third embodiment.
FIG. 20 is a block diagram illustrating a configuration of a fourth embodiment.
FIG. 21 is a block diagram illustrating a detailed configuration of a control unit according to a fourth embodiment.
FIG. 22 is a flowchart illustrating processing contents of a host computer according to the fourth embodiment.
FIG. 23 is a flowchart illustrating processing contents on the image forming apparatus side in the fourth embodiment.
FIG. 24 is a block diagram showing a configuration of a fifth embodiment.
FIG. 25 is a flowchart illustrating processing contents of the image processing apparatus on the program supply side according to the fifth embodiment.
FIG. 26 is a flowchart illustrating processing contents on the image forming apparatus side on the program receiver side in the fifth embodiment.
[Explanation of symbols]
100 Image forming apparatus
300 Operation unit
400 control unit
401 CPU
402 Flash memory
403 RAM
404 ROM
410 I / O interface
900 Host computer

Claims (9)

上位装置と双方向通信可能で、前記上位の装置から送られてくるプログラム情報でもって、自身のプログラムを更新する画像形成装置であって、
前記上位装置からの所定の要求に従い、自身の機種及び機能についての情報を上位装置に送信する送信手段と、
前記画像形成装置の動作状態が、外部からのプログラムが書換え可能な状態か否かを判別する判別手段と、
前記判別手段において、前記画像形成装置の状態が、外部から書換え可能な状態であると判別した場合に、前記送信手段によって前記自身の機種及び機能についての情報を送信し、前記上位装置からプログラム情報を受信し、当該プログラム情報を記憶保持する記憶保持手段と
を備えることを特徴とする画像形成装置。
An image forming apparatus capable of bidirectional communication with a host device and updating its own program with program information sent from the host device,
In accordance with a predetermined request from the host device, transmission means for transmitting information about its own model and function to the host device;
Determining means for determining whether or not the operation state of the image forming apparatus is a state in which an external program can be rewritten;
When the determination unit determines that the state of the image forming apparatus is rewritable from the outside, the transmission unit transmits information on the own model and function, and program information is transmitted from the host device. An image forming apparatus comprising: a storage holding unit that stores the program information.
前記送信手段は、更に、自身のプログラムのバージョン情報をも送信することを特徴とする請求項第項に記載の画像形成装置。It said transmitting means further image forming apparatus of claim 1 wherein, characterized in that also transmits the version information of the own program. 上位装置と双方向通信可能で、前記上位の装置から送られてくるプログラム情報でもって、自身のプログラムを更新する画像形成装置の制御方法であって、
前記上位装置からの所定の要求に従い、自身の機種及び機能についての情報を上位装置に送信する送信工程と、
前記画像形成装置の動作状態が、外部からのプログラムが書換え可能な状態か否かを判別する判別工程と、
前記判別工程において、前記画像形成装置の状態が、外部から書換え可能な状態であると判別した場合に、前記送信工程によって前記自身の機種及び機能についての情報を送信し、前記上位装置からプログラム情報を受信し、当該プログラム情報を記憶保持する記憶保持工程と
を備えることを特徴とする画像形成装置の制御方法。
A control method for an image forming apparatus that is capable of bidirectional communication with a host device and updates its own program with program information sent from the host device,
In accordance with a predetermined request from the host device, a transmission step of transmitting information about its model and function to the host device;
A determination step of determining whether the operation state of the image forming apparatus is a state in which an external program is rewritable;
In the determination step, when it is determined that the state of the image forming apparatus is rewritable from the outside, information on the own model and function is transmitted by the transmission step, and program information is transmitted from the host device. And a storage holding step for storing and holding the program information. A method for controlling an image forming apparatus, comprising:
前記送信工程は、更に、自身のプログラムのバージョン情報をも送信することを特徴とする請求項第3項に記載の画像形成装置の制御方法。  The method of controlling an image forming apparatus according to claim 3, wherein the transmission step further transmits version information of its own program. 画像形成装置と当該画像形成装置に対して形成すべき画像情報を送信する上位装置で構成される画像形成システムであって、
前記上位装置は、
前記下位に接続された画像形成装置に所定の要求信号を送信することで、返送された情報に基づき前記画像形成装置の機種及び機能を認識する認識手段と、
該認識手段の認識結果した機種及び機能と、送信しようしているプログラムの対象が一致するか否かを判断する判断手段と、
該判断手段によって一致すると判断した場合に、前記プログラム情報を下位の電子機器に送信する送信手段とを備え、
前記画像形成装置は、
前記上位装置からの前記所定の要求に従い、自身の機種及び機能についての情報を上位装置に送信する送信手段と、
前記画像形成装置の動作状態が、外部からのプログラムが書換え可能な状態か否かを判別する判別手段と、
前記判別手段において、前記画像形成装置の状態が、外部から書換え可能な状態であると判別した場合に、前記送信手段によって前記自身の機種及び機能についての情報を送信し、前記上位装置からプログラム情報を受信し、当該プログラム情報を記憶保持する記憶保持手段と
を備えることを特徴とする画像形成システム。
An image forming system comprising an image forming apparatus and a host device that transmits image information to be formed to the image forming apparatus,
The host device is
Recognizing means for recognizing the model and function of the image forming apparatus based on the returned information by transmitting a predetermined request signal to the image forming apparatus connected to the lower level;
A judgment means for judging whether or not the model and function recognized by the recognition means match the target of the program to be transmitted;
A transmission unit that transmits the program information to a lower-level electronic device when the determination unit determines that they match,
The image forming apparatus includes:
In accordance with the predetermined request from the host device, transmission means for transmitting information about its own model and function to the host device;
Determining means for determining whether or not the operation state of the image forming apparatus is a state in which an external program can be rewritten;
When the determination unit determines that the state of the image forming apparatus is rewritable from the outside, the transmission unit transmits information on the own model and function, and program information is transmitted from the host device. And a storage unit for storing and storing the program information.
前記認識手段は、更に、下位に接続された前記画像形成装置内のプログラムのバージョン情報を認識することを特徴とする請求項第5項に記載の画像形成システム。  6. The image forming system according to claim 5, wherein the recognizing unit further recognizes version information of a program in the image forming apparatus connected at a lower level. 上位装置から送られてくる制御プログラムを受信し、当該プログラムを機能拡張プログラムとして実行処理すると共に、各種操作指示を与えるための操作部を有する画像形成装置であって、
基本動作を行うプログラムを記憶した第1の記憶手段と、
前記画像形成装置の操作部に表示されるユーザインタフェースを介して前記画像形成装置の機能を制御するための制御プログラムを格納するための書き込み可能で不揮発性の第2の記憶手段と、
前記上位装置から送られてくる制御プログラムが正常に受信できなかった場合に、前記第2の記憶手段に格納された該当するプログラムの機能を不能にするため、前記操作部に表示されるユーザインタフェースから除外して前記画像形成装置の操作部に表示する表示手段と
を備えることを特徴とする画像形成装置。
An image forming apparatus that receives a control program sent from a host device, executes the program as a function expansion program, and has an operation unit for giving various operation instructions.
First storage means storing a program for performing basic operations;
A writable and nonvolatile second storage means for storing a control program for controlling the function of the image forming apparatus via a user interface displayed on the operation unit of the image forming apparatus;
A user interface displayed on the operation unit in order to disable the function of the corresponding program stored in the second storage means when the control program sent from the host device cannot be normally received. An image forming apparatus comprising: a display unit configured to display the operation unit on the operation unit of the image forming apparatus.
前記画像形成装置の操作部に表示されるユーザインタフェースを介して操作可能な画像形成装置の機能には、プリンター、スキャナ、ファクシミリ機能の少なくとも1つが含まれることを特徴とする請求項7に記載の画像形成装置。  8. The function of the image forming apparatus operable via a user interface displayed on the operation unit of the image forming apparatus includes at least one of a printer, a scanner, and a facsimile function. Image forming apparatus. 上位装置から送られてくる制御プログラムを受信し、当該プログラムを機能拡張プログラムとして所定の書き込み可能な不揮発性記憶手段に格納し、実行処理すると共に、各種操作指示を与えるための操作部を有する画像形成装置の制御方法であって、
前記上位装置から送られてくる制御プログラムが正常に受信できなかった場合に、前記不揮発性記憶手段に格納された該当するプログラムの機能を不能にするため、前記操作部に表示されるユーザインタフェースから除外して前記画像形成装置の操作部に表示することを特徴とする画像形成装置の制御方法。
An image having an operation unit for receiving a control program sent from a host device, storing the program in a predetermined writable non-volatile storage means as a function expansion program, executing it, and giving various operation instructions A method of controlling a forming apparatus,
In order to disable the function of the corresponding program stored in the non-volatile storage means when the control program sent from the host device cannot be normally received, the user interface displayed on the operation unit is used. A method for controlling an image forming apparatus, wherein the image forming apparatus is excluded and displayed on an operation unit of the image forming apparatus.
JP25528495A 1995-10-02 1995-10-02 Information processing apparatus and control method thereof Expired - Fee Related JP3754730B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25528495A JP3754730B2 (en) 1995-10-02 1995-10-02 Information processing apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25528495A JP3754730B2 (en) 1995-10-02 1995-10-02 Information processing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JPH0997221A JPH0997221A (en) 1997-04-08
JP3754730B2 true JP3754730B2 (en) 2006-03-15

Family

ID=17276627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25528495A Expired - Fee Related JP3754730B2 (en) 1995-10-02 1995-10-02 Information processing apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP3754730B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165826A (en) * 1997-08-08 1999-03-09 Nec Corp Firmware down loading system
JP3669619B2 (en) 1999-09-06 2005-07-13 富士通株式会社 Software updating method and apparatus for wireless terminal device
JP4447725B2 (en) * 2000-03-01 2010-04-07 キヤノン株式会社 Multi-function device
JP2002006416A (en) * 2000-06-19 2002-01-09 Noritsu Koki Co Ltd Photographic processing system and version up method for photographic processing device
JP2011254537A (en) * 2000-10-16 2011-12-15 Ricoh Co Ltd Image processor and its program loading method, and storage medium with the stored method
JP4121333B2 (en) 2001-08-27 2008-07-23 株式会社リコー Image forming apparatus, program update method, and recording medium
JP2004077355A (en) * 2002-08-21 2004-03-11 Aisin Aw Co Ltd Data transmission system to on-vehicle navigation device
JP2005100362A (en) 2003-08-29 2005-04-14 Canon Inc Program-rewritable electronic apparatus and program rewriting method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05145437A (en) * 1991-11-21 1993-06-11 Hitachi Ltd Data transmission system
JPH0628284A (en) * 1992-07-10 1994-02-04 Daikin Ind Ltd Method and device for transmitting picture data
JPH0644055A (en) * 1992-07-23 1994-02-18 Fuji Xerox Co Ltd Installation system
JPH06132988A (en) * 1992-10-21 1994-05-13 Tokyo Electric Co Ltd Data transmitter
JP2875121B2 (en) * 1992-11-20 1999-03-24 株式会社ピーエフユー Data communication system
JP2746092B2 (en) * 1993-12-20 1998-04-28 日本電気株式会社 File transfer method
JPH07219780A (en) * 1994-02-04 1995-08-18 N T T Data Tsushin Kk System of dowm-loading processing program of terminal equipment
JP3167522B2 (en) * 1994-02-08 2001-05-21 富士通株式会社 Software remote automatic update system and method

Also Published As

Publication number Publication date
JPH0997221A (en) 1997-04-08

Similar Documents

Publication Publication Date Title
JP3435043B2 (en) Image forming device
JP2003330671A (en) Image forming device, control method and control program
US7826078B2 (en) Image processing device and image processing method
JP3475144B2 (en) Image forming apparatus, image forming system, and data updating method for image forming system
JP3604960B2 (en) Image processing apparatus, image processing system, and control method therefor
JP3754730B2 (en) Information processing apparatus and control method thereof
JP4280311B2 (en) Image processing composite apparatus and control method thereof
JP4500877B2 (en) Image processing composite apparatus and control method thereof
JP2004042304A (en) Imaging apparatus and its program managing system
JPH09163088A (en) Image forming device
JPH0991129A (en) Image processor and method therefor
US6504627B1 (en) Image processing device
JP4168719B2 (en) Information processing apparatus, image forming apparatus, and program update method
JPWO2020262178A5 (en)
JP2005074644A (en) Image forming apparatus, information processing system and method
JP4174110B2 (en) Image processing apparatus and image processing apparatus control method
JP2001100929A (en) Image processor and its control method
JP2005349657A (en) Image forming apparatus, use environment control method, program, and storage medium
JP4208386B2 (en) Communication apparatus and data transmission method
KR100467567B1 (en) How to Manage Information Data to Perform Fax Functions
JP2003115957A (en) Image processing system and method for controlling the image processing system
JPH10187757A (en) Image input/output device, and retrieval request managing method
JP2006155301A (en) Data management system and image forming device
JP2006135816A (en) Image forming device, image processing method, storage medium with computer readable program stored therein and program
JPH11272437A (en) Picture processing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040901

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040906

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041105

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050509

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050706

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

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050712

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051219

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131222

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees