JP4062564B2 - Image forming apparatus and image data reception control method thereof - Google Patents

Image forming apparatus and image data reception control method thereof Download PDF

Info

Publication number
JP4062564B2
JP4062564B2 JP25323898A JP25323898A JP4062564B2 JP 4062564 B2 JP4062564 B2 JP 4062564B2 JP 25323898 A JP25323898 A JP 25323898A JP 25323898 A JP25323898 A JP 25323898A JP 4062564 B2 JP4062564 B2 JP 4062564B2
Authority
JP
Japan
Prior art keywords
image data
communication interface
host computer
reception
host
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
JP25323898A
Other languages
Japanese (ja)
Other versions
JP2000066855A (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 Finetech Nisca Inc
Original Assignee
Canon Finetech Nisca 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 Finetech Nisca Inc filed Critical Canon Finetech Nisca Inc
Priority to JP25323898A priority Critical patent/JP4062564B2/en
Publication of JP2000066855A publication Critical patent/JP2000066855A/en
Application granted granted Critical
Publication of JP4062564B2 publication Critical patent/JP4062564B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、プリンタ、プロッタ等の画像形成装置、特に複数のホストコンピュータ毎に複数の通信インタフェースで接続される画像形成装置に関する。
【0002】
【従来の技術】
画像形成装置は画像形成時に必要な画像データを受信する際、イーサネット、SCSI、セントロニクス、RS232C等の通信インタフェースを介して、ホストコンピュータから画像データの受信が行われる。
【0003】
一般的に、画像形成装置の、印刷を行うという機能の性格上、複数のホストコンピュータが1台、もしくは数台の画像形成装置を共有するという利用法が大部分である。その際、1台の画像形成装置は、同時に複数のホストコンピュータと複数の通信インタフェースを介して接続され、各々の画像データを受信、解析し画像を出力することとなる。したがって、画像データが複数のコンピュータから任意のタイミングで画像形成装置に送信されることとなり、時間的に同時に送られる場合も存在する。
【0004】
【発明が解決しようとする課題】
従来の画像形成装置では複数のコンピュータから画像データを同時に受信する状態になった場合、一定量の画像データは同時に受信するが、受信効率を上げるために優先して受信する通信インタフェースを決定する。その決定方法として、ユーザにより予め決められた優先順位に従って受信したり、時間的に先に受信した通信インタフェースを優先して画像データを受信するものがある。
【0005】
受信している通信インタフェース以外の通信インタフェースについては受信できない状態をホストコンピュータに通知し、ホストコンピュータからの画像データ送信を停止する措置が取られる。画像データの送信を停止させられたホストコンピュータでは画像データを送信できる状態になるまで、一定の時間を経た後再送信を試みる。ホストコンピュータによっては、数回の再送信を試みて、それでも送信が不可能な場合は、エラー発生と判断し画像データ送信処理そのものを中断してしまう場合がある。このような状態になると先に受信した一定量の欠損した画像データが画像形成装置内に残ってしまい、ユーザがその欠損した画像データを消去しないとそれ以後の画像データが正常に印刷できないという問題が生じる。
【0006】
本発明は、このような事態に対処すべくなされたもので、複数のホストコンピュータからの画像データ受信が競合した場合に、ホストコンピュータの画像データ送信中断処理を回避し、画像形成装置内に欠損したデータが存在しないようにすることができる画像形成装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明による画像形成装置は、複数のホストコンピュータから送信された画像データを受信し、各々の画像データを解析し画像を出力する画像形成装置において、複数の通信インタフェース毎に通信条件を設定する設定手段と、この設定手段で設定された通信条件で複数のホストコンピュータから画像データを受信する複数の通信インタフェース手段と、複数のホストコンピュータから受信した画像データを前記複数の通信インタフェース手段各々に対応する受信用バッファに格納する手段とを備え、前記設定手段は、前記通信条件として、前記画像形成装置が接続されている複数のホストコンピュータ毎にホストタイムアウト回避時間と、ホストコンピュータから画像データを一時受信する時間とを設定することを特徴とする。
【0008】
より具体的には、前記各手段を制御する制御手段を有し、この制御手段は、複数のホストコンピュータからの画像データの受信が競合した場合、最初に第1のホストコンピュータから画像データを受信した第1の通信インタフェースから画像データを優先して受信し、第2の通信インタフェースについては画像データの送信を一時停止するよう当該第2のホストコンピュータに通知し、前記第2の通信インタフェースからの画像データ受信を一時停止した時点から前記設定手段で設定した第2の通信インタフェースの前記ホストタイムアウト回避時間が経過した時点で、前記優先して受信していた第1の通信インタフェースについて送信を一時停止するよう第1のホストコンピュータに通知するとともに、画像データ受信を一時停止していた第2の通信インタフェースについては送信を再開するよう第2のホストコンピュータに通知し、第2の通信インタフェースにおいて前記設定手段で設定された一時受信する時間、画像データを受信した時点で、第2の通信インタフェースについて再度画像データ送信を一時停止するよう第2のホストコンピュータに通知するとともに、第1の通信インタフェースについて送信を再開するよう第1のホストコンピュータに通知する。
【0009】
このような構成により、ホストコンピュータの画像データ送信処理のエラーによる中断を未然に防止することができる。
【0010】
3つ以上の通信インタフェースを有し、3台以上のホストコンピュータからの画像データの受信が競合した場合には、その期間中、前記制御手段は、前記第2の通信インタフェースについての一時受信の機会を第1の通信インタフェース以外の複数の通信インタフェースで順番に利用すればよい。
【0011】
本発明による方法は、複数のホストコンピュータから送信された画像データを受信し、各々の画像データを解析し画像を出力する画像形成装置の画像データ受信制御方法であって、複数のホストコンピュータからの画像データの受信が競合した場合、先に受信を開始した通信インタフェース(第1の通信インタフェース)による画像データを優先的に受信するとともに、後で受信を開始した通信インタフェース(第2の通信インタフェース)による画像データの受信を一時停止し、この画像データ受信の一時停止時間が、当該ホストコンピュータにより画像データ送信動作においてエラーが発生したと判断される時間に達する前に、第1の通信インタフェースによる画像データの受信を一時停止するとともに第2の通信インタフェースによる画像データを一時的に受信させ、その後、第2の通信インタフェースによる画像データ受信を一時停止するとともに、第1の通信インタフェースによる画像データ受信を再開し、複数の通信インタフェースにおける画像データの受信が競合している期間中、上記の動作を繰り返すことを特徴とする。
【0012】
【発明の実施の形態】
以下、図面を参照しながら、本発明の好適な実施の形態を詳細に説明する。
【0013】
図1は、この実施の形態に係る画像形成装置100のハードウェア構成を示すブロック図である。画像形成装置100は、CPU8、印字ヘッド10、操作部11、複数の通信インタフェース20、RAM30、ROM40を有する。
【0014】
複数の通信インタフェース20は、複数のホストコンピュータ1との間の通信処理を行うためのものであり、ホストコンピュータ1から送信された画像データを受信する複数の受信装置22と、複数のホストコンピュータ1に対して後述するメッセージデータ等を送信する複数の送信装置21により構成される。
【0015】
RAM30は、複数の通信インタフェース20が受信した画像データを格納する複数の通信インタフェースに対応した受信バッファメモリ領域31と、プログラム処理時に必要な各種データの格納領域や一時的な作業領域を提供する作業メモリ領域32とを有する。
【0016】
ROM40は、画像形成処理に必要な印字制御プログラム41、送受信プログラム42、操作部制御プログラム43を格納している。CPU8は、これら各プログラムを処理することにより、画像形成装置100の制御を行う。印字ヘッド10は、CPU8が印字制御プログラム41を実行することによって実際の印字動作を行う部分である。
【0017】
操作部11は、CPU8が操作部制御プログラム43を実行することによってユーザに必要な情報を表示させるディスプレイや、ユーザが種々の設定や指示を行うときに用いる操作キーを有する。
【0018】
図2は、図1に示した画像形成装置100の操作部11の概略構成例を示す外観図である。図2において、この操作部11は複数のインタフェース毎のホストタイムアウト回避時間、一時受信する時間、等を設定するための上下左右キー12、ユーザに対して必要な情報を表示するディスプレイ13、画像形成装置の状態を示すために用いるLED14、等を有している。
【0019】
以下、図1の画像形成装置100の動作の概要を説明する。複数のホストコンピュータ1に複数の通信インタフェース20を介して接続された画像形成装置100に対してホストコンピュータ1から画像データを受信する際、画像形成装置100の通信設定で各々の通信方法に合った設定を行う。この通信設定では、例えば、ユーザの操作に応じて、複数の通信インタフェースに接続されている複数のホストコンピュータ毎の特性に合ったホストタイムアウト回避時間と一時通信時間を指定する。
【0020】
図3に、本実施の形態における各通信インタフェースについて設定されたホストタイムアウト回避時間および一時画像データ受信時間を示す。各ホストタイムアウト回避時間は、対応するホストコンピュータで設定されている、上記エラー発生と判断されるタイムアウト時間より短く設定する必要がある。一時画像データ受信時間は、必ずしもユーザが可変設定できる必要はなく、予め定めた固定値であってもよい。
【0021】
図4に、2台のホストコンピュータからの画像データ受信が競合した場合の各通信インタフェース部A,Bの動作を表すタイミング図を示す。
【0022】
今、時点t0で、あるホストコンピュータ1から画像データを送信開始したとする。すると、画像形成装置100は、その通信インタフェース部(A)20が受信処理を開始する。受信処理された画像データはRAM30の受信バッファメモリ領域31の、画像データを受信した通信インタフェース部Aに対応する場所に格納される。
【0023】
さらに、画像形成装置100は画像データを受信処理している間の時点t1において、他のホストコンピュータ1から画像データを受信開始したとする。すると、対応する通信インタフェース部(B)20が受信処理を開始する。受信処理された画像データはRAM30の受信バッファメモリ領域31の、画像データを受信した通信インタフェース部(B)20に対応する場所に格納される。
【0024】
画像形成装置100は、通信インタフェース部Bから一定量の画像データを受信処理すると(時点t2)、CPU8の負荷を軽減するために、その通信インタフェース部Bを介して接続されているホストコンピュータ(第2のホストコンピュータ)1に画像データ送信を一時停止するように通知する。例えば通信インタフェースの種類がセントロニクスであればBUSY信号で第2のホストコンピュータに通知する。また通信インタフェースの種類がRS232CであればXoffメッセージを送信装置を通して第2のホストコンピュータに通知する。同時にホストタイムアウト用タイマーを起動する。
【0025】
通信インタフェース部Bが受信処理を一時停止している間、先に受信処理している通信インタフェース部Aは優先して画像データの受信処理を行う。
【0026】
時点t3で、ホストタイムアウト用タイマーが、設定されたホストタイムアウト回避時間に達したら、先に画像データを受信開始した通信インタフェース部Aを介して接続されているホストコンピュータ(第1のホストコンピュータ)に画像データ送信を一時停止するように通知する。次に、第2のホストコンピュータに画像データ送信を再開するように通知する。再開の通知のためには、例えば通信インタフェースの種類がセントロニクスであればBUSY信号の解除でホストコンピュータに通知する。また通信インタフェースの種類がRS232CであればXonメッセージを送信装置を通して第2のホストコンピュータに通知する。同時にホストタイムアウト用タイマーを停止する。
【0027】
再開された通信インタフェース部Bの画像データ受信時間は予め設定されている第2のホストコンピュータの特性にあった一時受信時間分だけ(すなわち時点t4まで)画像データを受信する。一時受信する時間が過ぎたら(時点t4)、通信インタフェース部Bを介して接続されている第2のホストコンピュータに画像データ送信を一時停止するように通知する。同時にホストタイムアウト用タイマーを起動する。次に、一時停止していた通信インタフェース部Aを介して接続されている第1のホストコンピュータに画像データ通信を再開するように通知する。
【0028】
以上の処理を画像データの受信が競合している間繰り返す。
【0029】
上述のように、後から画像データを受信開始した通信インタフェース部Bを介して接続されている第2のホストコンピュータについては、それが画像データ送信処理そのものを中断してしまう前にBUSY状態を解除して画像データ受信を行う。第2のホストコンピュータは、通信インタフェースBの受信が中断されても第2のホストコンピュータ自身のタイムアウト時間より前に受信が再開されるため、エラーとして画像データ送信処理を中断することがなくなる。
【0030】
次に図5のフローチャートによって、上記のような動作を実現するための一例について説明する。この処理は図1に示したROM40に格納された各種のプログラムの実行により実現される。
【0031】
画像処理装置100が画像データ受信可能になると、複数の通信インタフェースからの画像データ受信待ち状態になる(S1)。ある通信インタフェース(第1の通信インタフェース)から画像データを受信すると、画像データの受信処理を開始する(S2)。他の通信インタフェース(第2の通信インタフェース)は画像データ受信待ち状態にある(S3)。第2の通信インタフェースから画像データを受信する前に最初の画像データの受信が終了すれば(S4,Yes)、本処理は終了する。
【0032】
第2の通信インタフェースから画像データを受信すると(S3,Yes)、この通信インタフェースで受信処理を開始する(S5)。第2の通信インタフェースで一定量の画像データを受信したらその通信インタフェースの画像データ受信を一時停止する(S6,S7)。そして第2の通信インタフェース用のホストタイムアウトタイマーを起動する(S8)。
【0033】
ホストタイムアウトタイマーによる、第2の通信インタフェースについて設定されているホストタイムアウト回避時間が経過したら(S9)、第1の通信インタフェースの受信処理を一時停止する(S10)。次に一時停止中の第2の通信インタフェースの画像データ受信を再開する(S11)。そして第2の通信インタフェース用のホストタイムアウトタイマーを停止する(S12)。
【0034】
第2の通信インタフェースの画像データを一定時間受信処理したら、第2の通信インタフェースの画像データ受信処理を一時停止する(S13,S14)。次に画像データ受信処理を一時停止していた時間的に先に画像データを受信していた通信インタフェースの画像データ受信処理を再開する(S15)。そして第2の通信インタフェース用のホストタイムアウトタイマーを開始する(S16)。
【0035】
すべての通信インタフェースからの画像データ受信が終了するまでステップS9からS16までの処理を繰り返す(S17)。すべての通信インタフェースからの画像データ受信を終了したら、ホストタイムアウトタイマーを停止し(S18)、終了する。
【0036】
以上は、2台のホストコンピュータからの画像データが競合した場合について説明したが、3台以上のホストコンピュータからの画像データが競合した場合も同様である。図6に、3台のホストコンピュータからの画像データが競合した場合の3つの通信インタフェース部A,B,Cの動作のタイミング図を示す。図から分かるように、通信インタフェース部Aの受信中断による画像データ受信の機会が交互に(順番に)通信インタフェース部B、Cに振り分けられる以外は、上述したと同様である。
【0037】
【発明の効果】
以上説明したように、本発明によれば、複数のホストコンピュータから同時に画像データを受信する画像形成装置において、ホストコンピュータの画像データ送信中断処理を回避し、画像形成装置内に欠損した画像データが残らないようにすることができる。
【0038】
【図面の簡単な説明】
【図1】本発明の実施の形態に係る画像形成装置のハードウェア構成を示すブロック図である。
【図2】図1に示した画像形成装置の操作部11の具体的な構成例を示す外観図である。
【図3】本実施の形態における各通信インタフェースについて設定されたホストタイムアウト回避時間および一時画像データ受信時間を示す説明図である。
【図4】本実施の形態における2台のホストコンピュータからの画像データ受信が競合した場合の各通信インタフェース部A,Bの動作を表すタイミング図である。
【図5】本実施の形態における複数の通信インタフェースの動作の一例を示すフローチャートである。
【図6】3台のホストコンピュータからの画像データ受信が競合した場合の各通信インタフェース部A,B,Cの動作を表すタイミング図である。
【符号の説明】
1…複数のホストコンピュータ、8…CPU、10…印字ヘッド、11…操作部、12…上下左右キー、13…ディスプレイ、14…LED、20…複数の通信インタフェース、21…複数の送信装置、22…複数の受信装置、30…RAM、31…受信バッファメモリ領域、32…作業メモリ領域、40…ROM、41…印字制御プログラム、42…送受信プログラム、43…操作部制御プログラム、100…画像形成装置。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image forming apparatus such as a printer or a plotter, and more particularly to an image forming apparatus connected to a plurality of host computers through a plurality of communication interfaces.
[0002]
[Prior art]
When the image forming apparatus receives image data necessary for image formation, the image forming apparatus receives image data from the host computer via a communication interface such as Ethernet, SCSI, Centronics, or RS232C.
[0003]
In general, due to the nature of the printing function of the image forming apparatus, most of the usage methods are such that a plurality of host computers share one or several image forming apparatuses. At that time, one image forming apparatus is simultaneously connected to a plurality of host computers via a plurality of communication interfaces, receives and analyzes each image data, and outputs an image. Therefore, the image data is transmitted from a plurality of computers to the image forming apparatus at an arbitrary timing, and there is a case where the image data is simultaneously transmitted in time.
[0004]
[Problems to be solved by the invention]
When a conventional image forming apparatus receives image data from a plurality of computers at the same time, a certain amount of image data is received at the same time. However, in order to increase reception efficiency, a communication interface to be preferentially received is determined. As a determination method thereof, there are a method of receiving image data in accordance with a priority order determined in advance by a user, or receiving image data in preference to a communication interface received earlier in time.
[0005]
A communication interface other than the receiving communication interface is notified to the host computer that it cannot be received, and measures are taken to stop transmission of image data from the host computer. The host computer whose transmission of image data has been stopped attempts to retransmit after a certain period of time until the image data can be transmitted. Depending on the host computer, if retransmission is attempted several times and transmission is still impossible, it may be determined that an error has occurred and the image data transmission process itself may be interrupted. In such a state, a certain amount of missing image data received previously remains in the image forming apparatus, and the subsequent image data cannot be printed normally unless the user deletes the missing image data. Occurs.
[0006]
The present invention has been made to cope with such a situation. When image data reception from a plurality of host computers competes, the image data transmission interruption processing of the host computer is avoided and the image forming apparatus has a defect. It is an object of the present invention to provide an image forming apparatus that can prevent the above-described data from existing.
[0007]
[Means for Solving the Problems]
An image forming apparatus according to the present invention receives image data transmitted from a plurality of host computers, analyzes each image data and outputs an image, and sets communication conditions for each of a plurality of communication interfaces. Means, a plurality of communication interface means for receiving image data from a plurality of host computers under the communication conditions set by the setting means, and image data received from the plurality of host computers respectively corresponding to the plurality of communication interface means Means for storing in a reception buffer, and the setting means temporarily receives a host timeout avoidance time for each of a plurality of host computers connected to the image forming apparatus and image data from the host computer as the communication condition. It is characterized by setting the time to perform.
[0008]
More specifically, it has a control means for controlling each means, and this control means first receives image data from the first host computer when reception of image data from a plurality of host computers competes. Image data is preferentially received from the first communication interface, the second communication interface is notified to the second host computer to temporarily stop transmission of the image data, and the second communication interface When the host timeout avoidance time of the second communication interface set by the setting means has elapsed from the time when image data reception is temporarily stopped, transmission of the first communication interface that has been preferentially received is temporarily stopped. The first host computer is notified so that the image data reception is suspended. For the second communication interface, the second host computer is notified to resume transmission, and when the second communication interface receives the temporary reception time and image data set by the setting means, the second communication is performed. The second host computer is notified to suspend image data transmission again for the interface, and the first host computer is notified to resume transmission for the first communication interface.
[0009]
With such a configuration, it is possible to prevent interruption due to an error in image data transmission processing of the host computer.
[0010]
In the case where reception of image data from three or more host computers competes with each other having three or more communication interfaces, the control means has an opportunity for temporary reception of the second communication interface during that period. May be used in order by a plurality of communication interfaces other than the first communication interface.
[0011]
A method according to the present invention is an image data reception control method for an image forming apparatus that receives image data transmitted from a plurality of host computers, analyzes each image data, and outputs an image. When the reception of the image data competes, the image data is preferentially received by the communication interface (first communication interface) that started reception first, and the communication interface (second communication interface) that started reception later. The image data received by the first communication interface before the time for which the host computer determines that an error has occurred in the image data transmission operation is reached. Data reception is suspended and the second communication interface is used. The image data is temporarily received, and thereafter the reception of the image data by the second communication interface is temporarily stopped, and the reception of the image data by the first communication interface is resumed. The above-described operation is repeated during the period during which the operation is performed.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
[0013]
FIG. 1 is a block diagram showing a hardware configuration of an image forming apparatus 100 according to this embodiment. The image forming apparatus 100 includes a CPU 8, a print head 10, an operation unit 11, a plurality of communication interfaces 20, a RAM 30, and a ROM 40.
[0014]
The plurality of communication interfaces 20 are for performing communication processing with a plurality of host computers 1, a plurality of receiving devices 22 for receiving image data transmitted from the host computer 1, and a plurality of host computers 1. In contrast, a plurality of transmission devices 21 that transmit message data and the like to be described later are configured.
[0015]
The RAM 30 provides a reception buffer memory area 31 corresponding to a plurality of communication interfaces for storing image data received by the plurality of communication interfaces 20, a storage area for various data necessary for program processing, and a work for providing a temporary work area. And a memory area 32.
[0016]
The ROM 40 stores a print control program 41, a transmission / reception program 42, and an operation unit control program 43 necessary for image forming processing. The CPU 8 controls the image forming apparatus 100 by processing these programs. The print head 10 is a part that performs an actual printing operation when the CPU 8 executes the printing control program 41.
[0017]
The operation unit 11 includes a display for displaying information necessary for the user by the CPU 8 executing the operation unit control program 43, and operation keys used when the user performs various settings and instructions.
[0018]
FIG. 2 is an external view illustrating a schematic configuration example of the operation unit 11 of the image forming apparatus 100 illustrated in FIG. 1. In FIG. 2, the operation unit 11 includes an up / down / left / right key 12 for setting a host timeout avoidance time, a temporary reception time, etc. for each of a plurality of interfaces, a display 13 for displaying necessary information to the user, and image formation. It has LED14 etc. which are used in order to show the state of an apparatus.
[0019]
Hereinafter, an outline of the operation of the image forming apparatus 100 in FIG. 1 will be described. When receiving image data from the host computer 1 to the image forming apparatus 100 connected to the plurality of host computers 1 via the plurality of communication interfaces 20, the communication settings of the image forming apparatus 100 match each communication method. Set up. In this communication setting, for example, a host timeout avoidance time and a temporary communication time suitable for characteristics of a plurality of host computers connected to a plurality of communication interfaces are designated in accordance with a user operation.
[0020]
FIG. 3 shows the host timeout avoidance time and the temporary image data reception time set for each communication interface in the present embodiment. Each host timeout avoidance time needs to be set shorter than the timeout time set in the corresponding host computer to determine that the error has occurred. The temporary image data reception time does not necessarily need to be variably set by the user, and may be a fixed value determined in advance.
[0021]
FIG. 4 is a timing chart showing the operation of each of the communication interface units A and B when image data reception from two host computers competes.
[0022]
Assume that transmission of image data is started from a certain host computer 1 at time t0. Then, in the image forming apparatus 100, the communication interface unit (A) 20 starts reception processing. The received image data is stored in a location corresponding to the communication interface unit A that received the image data in the reception buffer memory area 31 of the RAM 30.
[0023]
Further, it is assumed that the image forming apparatus 100 starts receiving image data from another host computer 1 at time t1 while receiving image data. Then, the corresponding communication interface unit (B) 20 starts reception processing. The received image data is stored in a location corresponding to the communication interface unit (B) 20 that received the image data in the reception buffer memory area 31 of the RAM 30.
[0024]
When the image forming apparatus 100 receives and processes a certain amount of image data from the communication interface unit B (time t2), in order to reduce the load on the CPU 8, the host computer (the first computer) connected via the communication interface unit B 2 host computer) 1 is notified to temporarily stop image data transmission. For example, if the type of communication interface is Centronics, the second host computer is notified by a BUSY signal. If the type of communication interface is RS232C, an Xoff message is notified to the second host computer through the transmission device. At the same time, the host timeout timer is started.
[0025]
While the communication interface unit B suspends the reception process, the communication interface unit A that has performed the reception process first performs the image data reception process.
[0026]
When the host timeout timer reaches the set host timeout avoidance time at time t3, the host computer (first host computer) connected via the communication interface unit A that has started receiving the image data first. Notify that transmission of image data is paused. Next, it notifies the second host computer to resume image data transmission. For notification of resumption, for example, if the type of communication interface is Centronics, the host computer is notified by releasing the BUSY signal. If the type of communication interface is RS232C, the Xon message is notified to the second host computer through the transmission device. At the same time, the host timeout timer is stopped.
[0027]
The resumed image data reception time of the communication interface unit B receives image data only for the temporary reception time that matches the preset characteristics of the second host computer (that is, until time t4). When the time for temporary reception has passed (time t4), the second host computer connected via the communication interface unit B is notified to temporarily stop image data transmission. At the same time, the host timeout timer is started. Next, the first host computer connected via the communication interface unit A that has been temporarily stopped is notified to resume the image data communication.
[0028]
The above processing is repeated while the reception of image data is competing.
[0029]
As described above, for the second host computer connected via the communication interface B that has started receiving image data later, the BUSY state is canceled before it interrupts the image data transmission process itself. Image data reception. Even if the reception of the communication interface B is interrupted, the second host computer resumes the reception before the timeout time of the second host computer itself, so that the image data transmission process is not interrupted as an error.
[0030]
Next, an example for realizing the above operation will be described with reference to the flowchart of FIG. This process is realized by executing various programs stored in the ROM 40 shown in FIG.
[0031]
When the image processing apparatus 100 becomes capable of receiving image data, the image processing apparatus 100 waits to receive image data from a plurality of communication interfaces (S1). When image data is received from a certain communication interface (first communication interface), image data reception processing is started (S2). The other communication interface (second communication interface) is in a state of waiting for image data reception (S3). If the reception of the first image data is completed before the image data is received from the second communication interface (S4, Yes), this process ends.
[0032]
When image data is received from the second communication interface (S3, Yes), reception processing is started by this communication interface (S5). When a certain amount of image data is received by the second communication interface, reception of the image data of the communication interface is temporarily stopped (S6, S7). Then, the host timeout timer for the second communication interface is started (S8).
[0033]
When the host timeout avoidance time set for the second communication interface by the host timeout timer elapses (S9), the reception processing of the first communication interface is temporarily stopped (S10). Next, the image data reception of the second communication interface being suspended is resumed (S11). Then, the host timeout timer for the second communication interface is stopped (S12).
[0034]
When the image data of the second communication interface is received for a predetermined time, the image data reception process of the second communication interface is temporarily stopped (S13, S14). Next, the image data reception process of the communication interface that has received the image data earlier in the time when the image data reception process was suspended is resumed (S15). Then, the host timeout timer for the second communication interface is started (S16).
[0035]
The processing from step S9 to S16 is repeated until reception of image data from all communication interfaces is completed (S17). When reception of image data from all communication interfaces is completed, the host timeout timer is stopped (S18), and the process is terminated.
[0036]
The case where image data from two host computers competes has been described above, but the same applies to the case where image data from three or more host computers compete. FIG. 6 shows a timing chart of the operation of the three communication interface units A, B, and C when image data from three host computers compete. As can be seen from the figure, this is the same as described above except that the opportunity of receiving image data due to the interruption of reception of the communication interface unit A is alternately (in order) distributed to the communication interface units B and C.
[0037]
【The invention's effect】
As described above, according to the present invention, in an image forming apparatus that simultaneously receives image data from a plurality of host computers, image data transmission interruption processing of the host computer is avoided, and missing image data is stored in the image forming apparatus. It is possible not to remain.
[0038]
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a hardware configuration of an image forming apparatus according to an embodiment of the present invention.
2 is an external view illustrating a specific configuration example of an operation unit 11 of the image forming apparatus illustrated in FIG.
FIG. 3 is an explanatory diagram showing a host timeout avoidance time and a temporary image data reception time set for each communication interface in the present embodiment.
FIG. 4 is a timing chart showing the operation of each communication interface unit A and B when image data reception from two host computers competes in the present embodiment.
FIG. 5 is a flowchart showing an example of operations of a plurality of communication interfaces in the present embodiment.
FIG. 6 is a timing chart showing the operation of each communication interface unit A, B, C when image data reception from three host computers competes.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Multiple host computer, 8 ... CPU, 10 ... Print head, 11 ... Operation part, 12 ... Up / down / left / right key, 13 ... Display, 14 ... LED, 20 ... Multiple communication interface, 21 ... Multiple transmission device, 22 ... Multiple receiving devices, 30 ... RAM, 31 ... Reception buffer memory area, 32 ... Work memory area, 40 ... ROM, 41 ... Print control program, 42 ... Transmission / reception program, 43 ... Operating unit control program, 100 ... Image forming apparatus .

Claims (4)

複数のホストコンピュータから送信された画像データを受信し、各々の画像データを解析し画像を出力する画像形成装置において、
複数の通信インタフェース毎に通信条件を設定する設定手段と、
この設定手段で設定された通信条件で複数のホストコンピュータから画像データを受信する複数の通信インタフェース手段と、
複数のホストコンピュータから受信した画像データを前記複数の通信インタフェース手段各々に対応する受信用バッファに格納する手段とを備え、
前記設定手段は、前記通信条件として、前記画像形成装置が接続されている複数のホストコンピュータ毎にホストタイムアウト回避時間と、ホストコンピュータから画像データを一時受信する時間とを設定することを特徴とする画像形成装置。
In an image forming apparatus that receives image data transmitted from a plurality of host computers, analyzes each image data, and outputs an image.
Setting means for setting communication conditions for each of a plurality of communication interfaces;
A plurality of communication interface means for receiving image data from a plurality of host computers under the communication conditions set by the setting means;
Means for storing image data received from a plurality of host computers in a reception buffer corresponding to each of the plurality of communication interface means;
The setting means sets, as the communication condition, a host timeout avoidance time and a time for temporarily receiving image data from the host computer for each of a plurality of host computers connected to the image forming apparatus. Image forming apparatus.
前記各手段を制御する制御手段を有し、
この制御手段は、
複数のホストコンピュータからの画像データの受信が競合した場合、最初に第1のホストコンピュータから画像データを受信した第1の通信インタフェースから画像データを優先して受信し、
第2の通信インタフェースについては画像データの送信を一時停止するよう当該第2のホストコンピュータに通知し、
前記第2の通信インタフェースからの画像データ受信を一時停止した時点から前記設定手段で設定した第2の通信インタフェースの前記ホストタイムアウト回避時間が経過した時点で、前記優先して受信していた第1の通信インタフェースについて送信を一時停止するよう第1のホストコンピュータに通知するとともに、画像データ受信を一時停止していた第2の通信インタフェースについては送信を再開するよう第2のホストコンピュータに通知し、
第2の通信インタフェースにおいて前記設定手段で設定された一時受信する時間、画像データを受信した時点で、第2の通信インタフェースについて再度画像データ送信を一時停止するよう第2のホストコンピュータに通知するとともに、第1の通信インタフェースについて送信を再開するよう第1のホストコンピュータに通知する
ことを特徴とする請求項1記載の画像形成装置。
Control means for controlling each of the means;
This control means
When reception of image data from a plurality of host computers competes, the image data is received preferentially from the first communication interface that first received the image data from the first host computer,
The second communication interface is notified to the second host computer to temporarily stop transmission of image data,
The first received preferentially when the host timeout avoidance time of the second communication interface set by the setting means has elapsed from the time when reception of image data from the second communication interface is temporarily stopped. The first host computer to temporarily stop transmission of the communication interface of the second communication interface, and notify the second host computer to resume transmission of the second communication interface that has temporarily stopped receiving the image data,
Notifying the second host computer to temporarily stop the image data transmission again for the second communication interface at the time when the image data is received at the temporary reception time set by the setting means in the second communication interface. The image forming apparatus according to claim 1, wherein the first host computer is notified to resume transmission of the first communication interface.
3つ以上の通信インタフェースを有し、3つ以上のホストコンピュータからの画像データの受信が競合した場合、その期間中、前記制御手段は、前記第2の通信インタフェースについての一時受信の機会を第1の通信インタフェース以外の複数の通信インタフェースのいずれかが利用するものとし、その際、
第1の通信インタフェース以外の各通信インタフェースについて当該通信インタフェースからの画像データ受信を一時停止した時点から前記設定手段で設定した当該通信インタフェースの前記ホストタイムアウト回避時間が経過した時点で、前記優先して受信していた第1の通信インタフェースについて送信を一時停止するよう第1のホストコンピュータに通知するとともに、画像データ受信を一時停止していた当該通信インタフェースについては送信を再開するよう当該ホストコンピュータに通知し、
前記第1の通信インタフェース以外の各通信インタフェースにおいて画像データを受信する場合、前記設定手段で設定された一時受信する時間、画像データを受信した時点で、当該通信インタフェースについて再度画像データ送信を一時停止するよう当該ホストコンピュータに通知するとともに、第1の通信インタフェースについて送信を再開するよう第1のホストコンピュータに通知する
請求項2記載の画像形成装置。
In the case where the reception of image data from three or more host computers competes with each other, there are three or more communication interfaces, and during that period, the control means provides a temporary reception opportunity for the second communication interface. Any one of a plurality of communication interfaces other than one communication interface is used.
For each communication interface other than the first communication interface, when the host timeout avoidance time of the communication interface set by the setting unit has elapsed from the time when image data reception from the communication interface is temporarily stopped, the priority is given. Notifying the first host computer to temporarily stop transmission of the first communication interface that has been received, and notifying the host computer to resume transmission of the communication interface that has temporarily stopped receiving image data. And
When image data is received at each communication interface other than the first communication interface, the image data transmission is temporarily stopped again for the communication interface when the image data is received for the time of temporary reception set by the setting means. And notifies the first host computer to resume transmission for the first communication interface.
The image forming apparatus according to claim 2.
複数のホストコンピュータから送信された画像データを受信し、各々の画像データを解析し画像を出力する画像形成装置の画像データ受信制御方法であって、
複数の通信インタフェース毎に通信条件として、前記画像形成装置が接続されている複数のホストコンピュータ毎にホストタイムアウト回避時間と、ホストコンピュータから画像データを一時受信する時間とを設定し、
複数のホストコンピュータからの画像データの受信が競合した場合、
最初に第1のホストコンピュータから画像データを受信した第1の通信インタフェースから画像データを優先して受信し、第2の通信インタフェースについては画像データの送信を一時停止するよう当該第2のホストコンピュータに通知する第1のステップと、
前記第2の通信インタフェースからの画像データ受信を一時停止した時点から前記設定手段で設定した第2の通信インタフェースの前記ホストタイムアウト回避時間が経過した時点で、前記優先して受信していた第1の通信インタフェースについて送信を一時停止するよう第1のホストコンピュータに通知するとともに、画像データ受信を一時停止していた第2の通信インタフェースについては送信を再開するよう第2のホストコンピュータに通知する第2のステップと、
第2の通信インタフェースにおいて前記設定手段で設定された一時受信する時間、画像データを受信した時点で、第2の通信インタフェースについて再度画像データ送信を一時停止するよう第2のホストコンピュータに通知するとともに、第1の通信インタフェースについて送信を再開するよう第1のホストコンピュータに通知する第3のステップとを実行し、
さらに、複数の通信インタフェースにおける画像データの受信が競合している期間中、上記第2および第3のステップの動作を繰り返して実行する
ことを特徴とする画像形成装置の画像データ受信制御方法。
An image data reception control method for an image forming apparatus that receives image data transmitted from a plurality of host computers, analyzes each image data, and outputs an image.
As a communication condition for each of a plurality of communication interfaces, a host timeout avoidance time is set for each of a plurality of host computers to which the image forming apparatus is connected, and a time for temporarily receiving image data from the host computer,
If reception of image data from multiple host computers competes,
The second host computer first receives the image data from the first communication interface that has received the image data from the first host computer first, and temporarily stops the transmission of the image data for the second communication interface. A first step of notifying
The first received preferentially when the host timeout avoidance time of the second communication interface set by the setting means has elapsed from the time when reception of image data from the second communication interface is temporarily stopped. The first host computer is notified to temporarily stop transmission of the second communication interface, and the second host computer is notified to resume transmission of the second communication interface that has temporarily stopped receiving image data. Two steps,
Notifying the second host computer to temporarily stop the image data transmission again for the second communication interface at the time when the image data is received at the temporary reception time set by the setting means in the second communication interface. Performing a third step of notifying the first host computer to resume transmission for the first communication interface;
Moreover, during the reception of the image data in a plurality of communication interfaces are competing, the image data reception control method for an image forming apparatus characterized by second and third step operated repeatedly to the run .
JP25323898A 1998-08-24 1998-08-24 Image forming apparatus and image data reception control method thereof Expired - Fee Related JP4062564B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25323898A JP4062564B2 (en) 1998-08-24 1998-08-24 Image forming apparatus and image data reception control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25323898A JP4062564B2 (en) 1998-08-24 1998-08-24 Image forming apparatus and image data reception control method thereof

Publications (2)

Publication Number Publication Date
JP2000066855A JP2000066855A (en) 2000-03-03
JP4062564B2 true JP4062564B2 (en) 2008-03-19

Family

ID=17248492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25323898A Expired - Fee Related JP4062564B2 (en) 1998-08-24 1998-08-24 Image forming apparatus and image data reception control method thereof

Country Status (1)

Country Link
JP (1) JP4062564B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568113C (en) * 2004-06-16 2009-12-09 夏普株式会社 Image processing system and be used in the processing unit of this device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1295728B1 (en) 2000-06-28 2012-08-01 Katsuragawa Denki Kabushiki Kaisha Image forming device
JP2002192809A (en) * 2000-12-25 2002-07-10 Toshiba Tec Corp Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568113C (en) * 2004-06-16 2009-12-09 夏普株式会社 Image processing system and be used in the processing unit of this device

Also Published As

Publication number Publication date
JP2000066855A (en) 2000-03-03

Similar Documents

Publication Publication Date Title
EP1122635A2 (en) Printing apparatus
JPH086891A (en) Method for efficient support of adaptive polling system and peripheral equipment
JP4062564B2 (en) Image forming apparatus and image data reception control method thereof
JPH06139031A (en) Printer controller
JPH08324071A (en) Printing control device, data receiving method thereof and sleep releasing method thereof
JP2007026309A (en) Image forming device and control method thereof
JP2002091748A (en) Image processor
JP2003308286A (en) Composite device system
JP2003067165A (en) Image forming device and electric power control method used therefor
JP3264408B2 (en) Printer device
JP6312528B2 (en) Information processing apparatus and method for changing power state thereof
JP2005297381A (en) Image forming apparatus, method for controlling the same, and program of controlling the same
JPH09190317A (en) Printing device and printing method
JP2007001044A (en) Printer and method for processing job interruption
JP2007080165A (en) Printer
JP2000322209A (en) Printer system
JP2002373073A (en) Printer
JP2002344669A (en) Control method for print job and image forming device
JPH10278364A (en) Page printer
JP3091679U (en) Printer
JP2004062875A (en) Printing system, printer, and printing control method
JP2002229756A (en) Data processing system and its control method
JP2005032036A (en) Device for automatically setting interruption interval value for channel card
JP3007404B2 (en) Printing apparatus and printing method
JPH07141133A (en) Printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050812

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071002

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071220

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140111

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370