JP3707218B2 - Printing system, printing method and printer - Google Patents

Printing system, printing method and printer Download PDF

Info

Publication number
JP3707218B2
JP3707218B2 JP34109397A JP34109397A JP3707218B2 JP 3707218 B2 JP3707218 B2 JP 3707218B2 JP 34109397 A JP34109397 A JP 34109397A JP 34109397 A JP34109397 A JP 34109397A JP 3707218 B2 JP3707218 B2 JP 3707218B2
Authority
JP
Japan
Prior art keywords
reception
logical channel
priority
information
order
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
JP34109397A
Other languages
Japanese (ja)
Other versions
JPH11175270A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP34109397A priority Critical patent/JP3707218B2/en
Publication of JPH11175270A publication Critical patent/JPH11175270A/en
Application granted granted Critical
Publication of JP3707218B2 publication Critical patent/JP3707218B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、印刷データ等の優先度の異なる複数種類の情報を、前記優先度に応じてそれぞれ処理することができる印刷システム、印刷方法及びプリンタに関する。
【0002】
【従来の技術】
従来の印刷システムでは、例えば、パーソナルコンピュータ等のホストコンピュータ上で印刷データを生成し、この印刷データをネットワーク接続またはローカル接続されたプリンタに送信する。プリンタは、受信した印刷データを解釈してプリントエンジンを駆動することにより、印刷記録媒体に所定の印刷を行うようになっている。
【0003】
ホストコンピュータからプリンタに対しては、印刷データ以外のデータも送信可能である。例えば、ホストコンピュータは、プリンタの各種ステータス(用紙残量、トナー残量等)を問い合わせることができる。また、ホストコンピュータは、印刷の緊急停止等をプリンタに要求することもできる。
【0004】
【発明が解決しようとする課題】
ところで、上述した従来技術によるものでは、ホストコンピュータとプリンタとの間の物理インターフェースに一つの論理チャネルを割り当てる構成のため、一度に一種類の情報しか送信することができない。即ち、ホストコンピュータからプリンタにあるデータを送信している場合には、そのデータ送信が完了するまで次のデータを送ることができない。最初のデータの送信が完了するまで論理チャネルが占有されるからである。
【0005】
従って、例えば、プリンタに印刷データを送信した後に、この印刷を取り消そうとしても、印刷データの送信が完了するまで印刷取消コマンドをプリンタに送信することができない。このため、従来技術では、緊急停止のコマンドや割り込み印刷のデータ等のように、処理の優先度、緊急度の高いデータを速やかに処理することができないという問題がある。
【0006】
また、従来技術によるものでは、論理チャネルが一つしかないため、使い勝手が低いという問題もある。
【0007】
さらに、一つの物理インターフェースに複数の論理チャネルを形成した場合、優先度の異なるパケットデータが混在するため、優先度の低い論理チャネルからの受信状態によっては、優先度の高いデータを受信する機会が失われる可能性がある。即ち、例えば、優先度の低いデータが大量に送信されて、該データを受信する受信バッファが一杯になった場合は、これ以上、低優先度のデータを受信できないため、受信自体を停止させて受信バッファに余裕が生じるのを待つ必要がある。従って、低優先度のデータ処理が進むのを待つ間、優先度の高いデータを受信することができなくなる。このため、緊急性の高い情報の受信機会が低下し、その処理速度が遅くなる可能性がある。
【0008】
本発明は、上記のような種々の課題に鑑みなされたものであり、その目的は、優先度の高い情報を受信する機会を高めると共に、優先度の異なる複数種類の情報を処理できるようにした印刷システム、印刷方法及びプリンタを提供することにある。
【0009】
【課題を解決するための手段】
上記課題を解決するため、本発明に係る印刷システムでは、優先度の低い情報の受信状態を観察することにより、優先度の高い情報の受信機会を維持または向上させるようにしている。
【0010】
即ち、請求項1に係る発明では、優先度の異なる複数種類の情報を生成して送信する情報生成装置と、該情報生成装置からの前記各情報をネットワークを介して受信し、前記各情報を前記優先度に応じてそれぞれ処理するプリンタとを備えた印刷システムにおいて、前記ネットワークには優先度の異なる複数の論理チャネルを生成し、前記情報生成装置は、前記各情報を優先度に基づいて前記各論理チャネルにそれぞれ送信し、前記プリンタは、優先度が相対的に低く設定された低順位論理チャネルからの受信状態に基づいて、優先度が相対的に高く設定された高順位論理チャネルからの受信機会を予測する受信機会予測手段と、前記高順位論理チャネルからの受信機会を確保すべく、前記予測された受信機会に基づいて前記低順位論理チャネルからの受信速度を設定する受信速度設定手段と、前記各論理チャネルに基づいて前記各情報の優先度を判定し、優先度に応じてそれぞれ処理する処理手段とを備えていることを特徴としている。
【0011】
ここで、「優先度」とは、処理上の優先の度合いを意味する。「複数種類の情報」としては、例えば、印刷データと緊急停止コマンド、通常印刷データと割り込み印刷データ等を含めることができる。「情報生成装置」は、例えば、ホストコンピュータ上のプリンタドライバ等によって実現することができる。「ネットワーク」とは、通信回線で接続されたネットワークを意味し、有線であるか無線であるかを問わない。「受信機会」とは、情報を受信する機会、受信確率を意味する。「受信速度」とは、情報を受信する速度を意味し、具体的には、単位時間あたりに受信する情報量である。
【0012】
情報生成装置は、優先度の異なる複数種類の情報を生成する。次に、情報生成装置は、各情報を優先度に基づいて各論理チャネルに送信する。即ち、各論理チャネルにはそれぞれ優先度が割り当てられており、優先度の高い情報は、高い優先度を有する論理チャネルを介してプリンタに送信される。従って、プリンタは、情報送信に用いられた論理チャネルを識別することにより、受信した情報の優先度を判定でき、情報の優先度に応じて処理を行うことができる。
【0013】
ここで、物理インターフェースは単一であるから、低順位の論理チャネルで情報転送の障害を生じると、高順位の論理チャネルから情報を受信する機会が減少し、優先度の高い情報の処理が遅れることになる。例えば、低順位の論理チャネルに接続された受信バッファが一杯になって、新たな情報を受け付けることができなくなった場合、受信そのものが停止される。従って、優先度の高い情報がネットワークに送出されていても、この優先度の高い情報をプリンタは受信することができない。
【0014】
そこで、受信機会予測手段は、低順位論理チャネルからの受信状態に基づいて高順位論理チャネルからの受信機会を予測する。受信速度設定手段は、高順位論理チャネルからの受信機会を確保すべく、予測された受信機会に基づいて低順位論理チャネルからの受信速度を設定する。例えば、受信停止によって高優先度の情報の受信機会が失われると予測された場合には、受信停止が生じないように、低優先度の情報の受信速度を低下させればよい。これにより、優先度の高い情報の受信機会が確保され、緊急性の高い情報を速やかに処理できる。
【0015】
請求項2に係る発明のように、前記複数の論理チャネルは、少なくともトランスポート層以上で生成することができる。
【0016】
ここで、「トランスポート層」とは、ISO(国際標準化機構)が策定したシステム間の相互通信のためのアーキテクチャであるOSI(Open System Interconnection:開放型システム間相互接続)参照モデルにおけるトランスポート層を意味する。トランスポート層以上で複数の論理チャネルを生成することにより、ハードウエア資源を追加したり、IP(Internet Protocol)アドレスを複数設定したりすることなく、複数の論理チャネルを得ることができる。
【0017】
請求項3に係る発明のように、受信機会予測手段は、低順位論理チャネルに接続された受信バッファの余裕量または該余裕量の減少速度の少なくともいずれか一方に基づいて、高順位論理チャネルからの受信機会を予測できる。
【0018】
ここで、「余裕量」とは、受信バッファが新たな情報を受信できる容量、即ち、空きメモリ量を意味する。受信バッファの余裕量が乏しい場合は、受信バッファ満杯による受信停止の発生確率が高いと推定できる。また、受信バッファの溶融量が減少する速度が速い場合、換言すれば、受信バッファの情報蓄積速度が速い場合も、短時間経過後に受信バッファが一杯となって、受信停止を招来する可能性が高いと推定できる。従って、低順位論理チャネルに接続された受信バッファの余裕量または該余裕量の減少速度の少なくともいずれか一方を監視することにより、高順位論理チャネルからの受信機会を簡便に予測できる。
【0019】
請求項4に係る発明のように、前記受信速度設定手段は、予測された受信機会が所定値よりも低い場合には、高順位論理チャネルからの受信機会を確保すべく、低順位論理チャネルからの受信速度を低下させることができる。
【0020】
ここで、「予測された受信機会が所定値よりも低い場合」には、予測された受信機会が予め設定された所定値よりも低い場合のほか、予測された受信機会が予め設定された領域に属する場合を含む。即ち、例えば、受信バッファの余裕量等に応じて複数の領域を設定しておき、受信機会が低下する領域に予測値が収まった場合は、低順位論理チャネルからの受信速度を低下させることができる。低順位論理チャネルからの受信速度を低下させることにより、高優先度の情報を受信できる機会を相対的に高めることができる。
【0021】
請求項5に係る発明では、優先度の異なる複数種類の情報を生成して送信し、ネットワークを介して受信された前記各情報を前記優先度に応じて処理する印刷方法において、前記ネットワークには少なくともトランスポート層以上で複数の論理チャネルを生成し、前記各チャネルにはそれぞれ異なる優先度を割り当て、前記各情報を前記優先度に基づいて前記各論理チャネルにそれぞれ送信し、優先度が相対的に低く設定された低順位論理チャネルに接続された受信バッファの余裕量または該余裕量の減少速度の少なくともいずれか一方に基づいて、優先度が相対的に高く設定された高順位論理チャネルからの受信機会を予測し、前記高順位論理チャネルからの受信機会を確保すべく、前記予測された受信機会に基づいて前記低順位論理チャネルからの受信速度を設定し、前記各論理チャネルに基づいて前記各情報の優先度を判定し、優先度に応じてそれぞれ処理することを特徴としている。
【0022】
これにより、請求項3に係る発明と同様の作用を得ることができる。
【0023】
請求項6に係る発明では、優先度の異なる複数種類の情報をネットワークを介して受信し、前記各情報を前記優先度に応じて処理するプリンタにおいて、前記ネットワークに生成された複数の論理チャネルにそれぞれ割り当てられた受信バッファと、優先度が相対的に低く設定された低順位論理チャネルからの受信状態に基づいて、優先度が相対的に高く設定された高順位論理チャネルからの受信機会を予測する受信機会予測手段と、前記高順位論理チャネルからの受信機会を確保すべく、前記予測された受信機会に基づいて前記低順位論理チャネルからの受信速度を設定する受信速度設定手段と、前記各受信バッファに受信された情報の優先度を判別する判別手段と、前記判別された情報の優先度に応じて、要求された処理をそれぞれ実行する処理手段と、を備えたことを特徴としている。
【0024】
ここで、「処理手段」とは、入力された情報を処理するための手段の意味であり、具体的には、印刷データに基づいて印刷を行う手段、制御コマンドに応じて動作する手段等が含まれる。低順位論理チャネルの受信状態を監視して高順位論理チャネルからの受信機会を予測し、高順位論理チャネルからの受信機会を確保するように低順位論理チャネルからの受信速度を設定することにより、低順位論理チャネルからの受信に際してメモリ不足等の障害が生じるのを未然に防止することができ、緊急性の高い情報を速やかに処理することができる。
【0025】
請求項7に係る発明のように、前記複数の論理チャネルは、少なくともトランスポート層以上で生成することができる。
【0026】
これにより、請求項1に係る発明と同様の作用を得ることができる。
【0027】
請求項8に係る発明では、受信機会予測手段は、低順位論理チャネルに接続された受信バッファの余裕量または該余裕量の減少速度の少なくともいずれか一方に基づいて、高順位論理チャネルからの受信機会を予測している。
【0028】
これにより、請求項3に係る発明と同様の作用を得ることができる。
【0029】
請求項9に係る発明のように、受信速度設定手段は、予測された受信機会が所定値よりも低い場合には、高順位論理チャネルからの受信機会を確保すべく、低順位論理チャネルからの受信速度を低下させることもできる。
【0030】
これにより、請求項4に係る発明と同様の作用を得ることができる。
【0031】
請求項10に係る発明では、プリンタを制御するためのコンピュータプログラムを記録したプログラム記録媒体において、ネットワークに形成された複数の論理チャネルの優先度を判別する機能と、優先度が相対的に低く設定された低順位論理チャネルからの受信状態に基づいて、優先度が相対的に高く設定された高順位論理チャネルからの受信機会を予測する受信機会予測機能と、前記高順位論理チャネルからの受信機会を確保すべく、前記予測された受信機会に基づいて前記低順位論理チャネルからの受信速度を設定する受信速度設定機能と、を前記コンピュータに実現させるためのプログラムを前記コンピュータが読取り及び理解可能な形態で記録している。
【0032】
ここで、「プログラム記録媒体」には、例えば、フロッピーディスク(FD)、コンパクトディスク(CD-ROM,CD-R)、ハードディスク(HD)、フラッシュメモリ等の種々の記録媒体を採用することができる。また、これに限らず、例えば、通信回線を介してプログラムをリモートダウンロードする等のように、通信媒体を利用することもできる。
【0033】
前記所定のプログラムを記録した記録媒体をコンピュータに読み込ませることにより、緊急性の高い情報を取りこぼすことなく、情報の優先度に応じて処理することができる。
【0034】
【発明の実施の形態】
以下、図面に基づいて本発明の実施の形態について詳細に説明する。
【0035】
1.第1の実施の形態
1−1 構成
図1〜図8に基づいて、本発明の第1の実施の形態を説明する。ホストコンピュータ1は、例えば、パーソナルコンピュータやワークステーション、携帯情報端末等として実現可能であり、データメモリやイメージメモリ等の各種メモリと演算プロセッサとを備えたコンピュータシステムとして構成されている。ホストコンピュータ1には、アプリケーションプログラム2と、プリンタドライバ3とが設けられている。
【0036】
「情報生成装置」としてのプリンタドライバ3は、「複数種類の情報」としての印刷データや制御コマンドを生成し発行するものである。プリンタドライバ3は、例えば、印刷データ生成手段として表現可能な印刷データ生成部4と、優先度テーブル5とを備えて構成されている。プリンタドライバ3は、ホストコンピュータ1が有するコンピュータ資源を好適に利用することができる。文書作成用ソフトウエア等のアプリケーションプログラム2によって生成されたソースコードは、印刷データ生成部4によって印刷データに変換される。生成された印刷データは、インターフェース(以下、「I/F」と略記)6を介して通信回線100に送り出され、通信回線100を介してプリンタ11に入力される。
【0037】
また、プリンタドライバ3は、必要に応じて、例えば、印刷ジョブの取消要求や印刷停止要求等の各種の制御コマンドを発行することもできる。なお、印刷データの生成に関しては、種々の方法を採用することができる。例えば、入力されたソースコードをプリンタドライバ3によって所定の印刷言語に変換することにより印刷データを生成してもよいし、入力されたソースコードをビットイメージデータに変換することにより印刷データを生成してもよい。
【0038】
例えば、優先度管理手段として表現可能な優先度テーブル5は、プリンタドライバ3によって生成される各種の情報の優先度と後述する論理チャネルの優先度とを管理するためのものである。図2(A)に示すように、優先度テーブル5は、情報の種類と、優先度と、論理チャネルの種類とを相互に関連づけて記憶している。例えば、図2(A)中の情報1として印刷停止等の緊急性の高い制御コマンドを、情報2としてステータス情報要求等の他の制御コマンドを、情報3として割り込み印刷データを、情報4として通常の印刷データをそれぞれ用いることができる。
【0039】
従って、優先度テーブル5を参照することにより、情報を優先度に応じて所定の論理チャネルから送信することができる。なお、優先度テーブル5は、プリンタドライバ3の外部に設ける構成でもよい。
【0040】
プリンタ11は、制御部12と、解釈部13と、プリントエンジン14と、優先度テーブル15と、受信速度設定部22等を含んで構成されている。
【0041】
ホストコンピュータ1から送信された印刷データ等の情報は、通信回線100を介してI/F16に入力される。I/F16に入力された情報は、各論理チャネルに対応したポート17A,17Bに振り分けられる。具体的には、I/F16では、入力された情報(パケットデータ)の宛先ポート番号が検査され、情報は、ヘッダ部分を除かれた状態で宛先ポート番号に対応した各ポートに振り分けられる。各ポート17A,17Bには、それぞれ受信バッファ18A,18Bが接続されている。
【0042】
ここで、ポート17Aが対応する論理チャネルの優先度は、ポート17Bが対応する論理チャネルの優先度よりも高く設定されている。ポート17Aが対応する論理チャネルは高順位論理チャネルであり、ポート17Bが対応する論理チャネルは低順位論理チャネルである。本実施の形態では、優先度の高い情報として、受信バッファ18Aには制御コマンドが入力され、優先度の低い情報として、受信バッファ18Bには印刷データが入力される。制御コマンドが入力される受信バッファ18Aの大きさ(メモリ容量)は、印刷データが入力される受信バッファ18Bよりも小さく設定されている。また、制御コマンドを確実に受信すべく、受信バッファ18Aは、常に一定量以上のメモリ容量を確保している。換言すれば、多量の印刷データを受信する場合でも、受信バッファ18Bは全てのメモリを消費することができず、受信バッファ18Aの分だけメモリ使用に制限が課せられている。なお、各受信バッファ18A、18Bのメモリ容量はそれぞれ固定してもよいが、各論理チャネルの使用状況、送信頻度等に応じて、動的に変化させてもよい。
【0043】
制御部13は、各受信バッファ18A,18Bに対する情報の入力を監視しており、入力された情報の優先度に基づいて処理状態を制御する。例えば、受信バッファ18Aに印刷ジョブの取消要求コマンドが入力された場合には、制御部13は、優先度テーブル15を参照することにより取消要求コマンドの処理上の優先度を判別し、解釈部13等に指令を発して印刷ジョブを取り消す。また、制御部13は、優先度の高い情報が入力されるまでの間、優先度の低い情報、即ち、印刷データの処理を許可することができる。
【0044】
受信バッファ18Bに入力された印刷データは、解釈部13により解釈され、出力バッファ19に展開される。出力バッファ19に展開されたビットイメージデータは、プリントエンジン14に転送され、プリントエンジン14によって印刷記録媒体に印刷される。プリントエンジン14としては、インクジェット式、熱転写式、レーザ式等の種々のものを採用することができる。
【0045】
例えば、優先度管理手段として表現可能なプリンタ11側の優先度テーブル15には、図2(B)に示すように、各論理チャネル毎に優先度が対応付けられて記憶されている。なお、ホストコンピュータ1側の優先度テーブル5を第1の優先度管理手段、プリンタ11側の優先度テーブル15を第2の優先度管理手段として表現してもよい。
【0046】
優先度の低い印刷データを受信する受信バッファ18Bの受信状態は、余裕量検出部20と減少速度検出部21とによって監視されている。余裕量検出部20は、受信バッファ18Bの空きメモリの量を検出する。減少速度検出部21は、受信バッファ18Bの余裕量が減少する速度を検出する。ここで、各検出部21は、余裕量や減少速度を単純に検出する構成としてもよいし、あるいは、所定値以上の変化が生じた場合に検出信号を出力する構成としてもよい。例えば、余裕量検出部20は、受信バッファ18Bの余裕量が所定値以下に達したときに、検出信号を出力する構成とすることができる。同様に、減少速度検出部21は、受信バッファ18Bの余裕量減少速度が所定値以上に達したときに、検出信号を出力する構成とすることができる。
【0047】
受信速度設定部22は、余裕量検出部20からの余裕量と減少速度検出部21からの減少速度とに基づいて、低順位論理チャネルからの受信速度を設定するものである。受信速度設定部22は、図6と共に後述する受信速度テーブル23を参照することにより、印刷データの受信速度を設定することができる。
【0048】
ここで、受信速度の設定に際しては、例えば、3種類の方法を採用できる。第1の方法は、単位時間内に受信するパケットの数を変化させるものである。パケットのデータ長が固定の場合には、パケット数を変化させることにより、単位時間内に受信するデータ量を制御することができる。第2の方法は、パケットのデータ長を変化させるものである。パケットが可変構造を採る場合、データ長を変化させることにより、単位時間あたりの受信データ量を制御できる。第3の方法は、パケット数とパケットデータ長とを適宜変化させるものである。本実施の形態では、第1の方法を採用した場合を例示する。
【0049】
次に、図3に基づいて論理チャネルの構築方法を説明する。図3には、OSI参照モデルが簡略化して示されている。図3中のアプリケーション層は、プレゼンテーション層及びセッション層が含まれている。
【0050】
例えば、データリンク層/物理層で複数のチャネルを生成する場合には、一方ではイーサネットを用い、他方ではシリアル伝送を用いればよい。この場合、例えば、イーサネット経由で入力された情報を優先度の低い印刷データとして処理し、シリアル伝送された情報は優先度の高い制御コマンドとして処理することができる。
【0051】
ネットワーク層で複数の論理チャネルを生成する場合は、ADR1,ADR2として例示するように、IP(Internet Protocol)アドレスを複数設定すればよい。この場合、例えば、一方のIPアドレスADR1を印刷データの受け入れに用い、他方のIPアドレスADR2を制御コマンドの受け入れに用いることができる。または、IPプロトコルとIPX(Internetwork Packet eXchange)プロトコルとの2種類のプロトコルを用いて複数の論理チャネルを形成することができる。この場合は、例えば、IPプロトコルを印刷データの受け入れに用い、IPXプロトコルを制御コマンドの受け入れに用いることができる。
【0052】
さらに、トランスポート層で複数の論理チャネルを生成する場合は、例えば、SNMP(Simple Network Management Protocol)、FTP(File Transfer Protocol)、Telnet(Telecommunication network)、Lpr(Lineprinter protocol)等のプロトコルを使い分ければよい。ここで、各プロトコルは、予めポート番号が定まっているため、例えば、ポート番号161を指定して入力された情報は、SNMPに従った情報として処理され、また、ポート番号21を指定して入力された情報は、FTPに従った情報として処理される。なお、ポート番号23はTelnetに対応し、ポート番号515はLprに対応している。
【0053】
アプリケーション層で複数の論理チャネルを生成する場合は、Q1,Q2として例示するように、複数の印刷キューを使い分ければよい。この場合、一方の印刷キューQ1を印刷データの受け入れに用い、他方の印刷キューQ2を制御コマンドの受け入れに用いることができる。
【0054】
このように、各ネットワーク層におけるプロトコル・印刷キューを使い分けることにより、複数の論理チャネルを形成することができる。ここで、データリンク層/物理層で複数のチャネルを生成する場合は、ハードウエアを必要とするため、コストの増大を招き、構造も複雑化する。また、複数のIPアドレスを用いることによりネットワーク層で複数のチャネルを生成する場合は、一台のプリンタ11に複数のIPアドレスを予め設定しなければならないため、セットアップ作業が煩雑となり、使い勝手が低下する。従って、本実施の形態では、トランスポート層以上で、複数の論理チャネルを形成することとしている。
【0055】
なお、図3中のCH1〜CH4は、論理チャネルを示す。本実施の形態では、制御コマンドを送信するための高順位論理チャネルと印刷データを送信するための低順位論理チャネルとの2種類の論理チャネルを用いる。従って、例えば、本実施の形態では、CH1とCH3を使用する。
【0056】
1−2 作用
次に、図4〜図8に基づいて本実施の形態の作用を説明する。まず、図4は、ホストコンピュータ1側の処理を示すフローチャートである。
【0057】
ステップ(以下、「S」と略記)1では、例えば、アプリケーションプログラム2等から入力された情報を解析する。即ち、印刷データや制御コマンド等の情報の種別を検査する。次に、検査された情報種別に基づいて優先度テーブル5を参照し(S2)、入力された情報の優先度を決定する(S3)。また、優先度の決定により、送信に用いる論理チャネルも決定される。
【0058】
そして、必要なヘッダ部を情報に付加する等の処理を行うことにより、送信データを生成する(S4)。この送信データは、所定の論理チャネルを介してプリンタ11に送信される(S5)。次に、プリンタ11から受信通知がされるまで待機する(S6)。プリンタ11は、パケット単位で、あるいは、幾つかのパケットをまとめたグループ単位で、データ受信通知を発行する。ホストコンピュータ1は、プリンタ11からの受信通知を受け取ると、データ送信が完了したか否かを判定し(S7)、残りのデータがある場合には、S5に戻って次のデータをプリンタ11に送信する。
【0059】
次に、図5は、プリンタ11側の受信処理を示すフローチャートである。まず、S11では、最大受信速度Vmaxをセットする。次に、低順位論理チャネルに接続された受信バッファ18Bの余裕量が予め設定された所定値以上であるか否かを判定する(S12)。受信バッファ18Bの余裕量が乏しい場合は、後述するS14,S15によって受信速度を調整する。一方、受信バッファ18Bの余裕量が所定値以上ある場合は、さらに、余裕量の減少速度が所定値以上であるか否かを判定する(S13)。余裕量の減少速度が所定値よりも大きい場合は、S14,S15により受信速度を調整する。減少速度が小さい場合は、S14,S15をスキップし、最大受信速度Vmaxで印刷データを受信する。
【0060】
即ち、受信バッファ18Bの余裕量が少ない場合と、余裕量が十分あっても減少速度が速い場合とは、受信バッファ18Bが満杯となって新たな印刷データを受信できなくなる可能性が高い場合である。受信バッファ18Bの容量不足によって印刷データの受信が停止するということは、I/F6,16間のデータ転送そのものが停止するということを示す。従って、優先度の高い制御コマンドが通信回線100上に送出されている場合でも、この緊急性の高い制御コマンドを受信できないことを意味する。S12及びS13は、「受信機会予測手段」に該当する。
【0061】
そこで、高順位論理チャネルから制御コマンドの受信機会を確保すべく、受信バッファ18Bの余裕量に基づいて受信速度テーブルを参照し(S14)、受信速度を最大受信速度Vmaxよりも低下させる(S15)。図6に示すように、受信速度管理手段として表現可能な受信速度テーブル23には、受信バッファ18Bの余裕量毎に、受信速度が階段状に設定されている。従って、受信バッファ18Bの余裕量に応じて、V1〜Vminの中から受信速度を読み出すことができる。なお、図6中に二点鎖線で示すように、直線状に設定してもよい。
【0062】
以上のように受信機会を設定した後、ホストコンピュータ1から印刷データを受信し(S16)、印刷データを受信した旨をホストコンピュータ1に通知する(S17)。そして、全ての印刷データを受信したか否かを判定し(S18)、受信が完了するまで前記S11〜S17の処理を繰り返す。これにより、最初は最大受信速度Vmaxで印刷データを受信するが、プリンタ11内での印刷処理が停滞等して受信バッファ18Bの余裕量が低下すると、印刷データの受信速度は次第に下げられていく。具体的には、例えば、ホストコンピュータ1への受信通知を遅らせることにより、受信速度を低下させることができる。
【0063】
図7は、通信回線100を流れる印刷データの送信状態の変化を示す説明図である。図中では、10個のパケット毎に時間Tを区切って示してある。白い四角形は印刷データのパケットを示し、斜線の入った四角形は制御コマンドのパケットを示す。図7(A)→(B)→(C)の変化として示すように、受信バッファ18Bの余裕量が低下するに従って、印刷データのパケットを受信する速度が低下していき、相対的に、制御コマンドを受信する機会が高まっていく。
【0064】
次に、図8は、プリンタ11側の処理を示すフローチャートである。まず、S21では、ホストコンピュータ1から印刷データや制御コマンド等の情報が入力されたか否かを監視している。ホストコンピュータ1から情報が入力されると、この情報は所定の受信バッファに蓄積される。どの受信バッファに情報が蓄積されたかを検査して優先度テーブル15を参照することにより、受信した情報の優先度が判別される(S22)。
【0065】
次に、現在処理中のジョブがあるか否かを判定する(S23)。先行する他のジョブが存在しない場合は、S23で「NO」と判定され、受信した情報の処理が行われる(S24)。即ち、例えば、受信した情報が印刷データの場合は、この印刷データを解釈して印刷を実行する。また、受信した情報が制御コマンドの場合は、この制御コマンドの内容に応じて種々の動作を行う。
【0066】
一方、例えば、他の印刷ジョブを処理している場合は、S23で「YES」と判定され、次に、現在処理中のジョブの優先度とS21で受信した最新の情報の優先度とが比較される(S25)。先行するジョブの優先度の方が受信した情報の優先度よりも高い場合には、受信した情報は待機状態にされる(S26)。
【0067】
逆に、受信した情報の優先度の方が先行するジョブの優先度よりも高い場合には、先行するジョブの処理を中断し(S27)、受信した情報の処理を先に実行する(S28)。
【0068】
なお、S27における先行ジョブの中断には、種々の方法を採用することができる。例えば、先行ジョブが完了するまでの時間に応じて、優先度の高い情報の処理を許可するか否かを決定してもよい。例えば、あと数枚の印刷で先行ジョブが完了する場合には、先行ジョブの完了を待って優先度の高い情報を処理してもよい。また、先行ジョブの完了を待つか否かを判別するための基準時間を、優先度の差異に応じて可変に設定することもできる。
【0069】
このように構成される本実施の形態によれば、以下の効果を奏する。
【0070】
第1に、優先度の低い印刷データを受信する受信バッファ18Bの受信状態を監視することにより、優先度の高い制御コマンドの受信機会を予測し、制御コマンドの受信機会を確保すべく印刷データの受信速度を調整するため、多量の印刷データを送信する場合でも、緊急性の高い制御コマンドを速やかに受信して処理することができる。即ち、優先度の低い情報が多量に送信されて受信バッファ18Bの余裕量が少なくなった場合でも、優先度の高い情報の受信機会を増して確実に受信することができ、使い勝手等が向上する。
【0071】
第2に、ホストコンピュータ1とプリンタ11との間に複数の論理チャネルを形成し、情報の優先度に基づいて処理を行うため、例えば、印刷緊急停止コマンド等の緊急性の高い情報を速やかに処理することができる。また、優先度の高い情報が速やかに処理されるため、印刷資源の無駄な消費等を防止することができ、使い勝手が向上する。
【0072】
第3に、トランスポート層以上で複数の論理チャネルを生成するため、容易かつ簡易に複数の論理チャネルを得ることができる。即ち、通信回路等のハードウエア資源の追加や複数IPアドレスの設定が不要となるため、簡単に複数の論理チャネルを生成することができる。なお、例えば、印刷キューの種類を増す等してアプリケーション層で多数の論理チャネルを生成する場合は、ホストコンピュータ1からプリンタ11に送信する情報が長くなり、その分だけ情報伝送効率や処理効率が低下する。従って、本実施の形態のように、「トランスポート層におけるプロトコルとアプリケーション層における印刷キューとを組み合わせることにより複数の論理チャネルを生成する」のが好ましい。
【0073】
第4に、各論理チャネル毎に予め優先度を定めているため、情報のヘッダ部に優先度を埋め込む場合に比較して、情報の伝送効率を向上できる。
【0074】
2.第2の実施の形態
次に、図6及び図7に基づいて本発明の第2の実施の形態を説明する。なお、本実施の形態では、上述した第1の実施の形態の構成要素と同一の構成要素に同一の符号を付し、その説明を省略するものとする。本実施の形態の特徴は、受信バッファ18Bの余裕量と減少速度とに基づいて受信速度を設定するようにした点にある。
【0075】
2−1 構成
図9に示すように、本実施の形態による印刷システムも、印刷データ等を生成するためのホストコンピュータ1と印刷処理等を行うためのプリンタ31とを備えている。そして、プリンタ31は、前記実施の形態におけるプリンタ11の構成に加えて、受信機会予測テーブル32を有している。
【0076】
図10に示すように、受信機会予測テーブル32は、余裕量と余裕量の減少速度とに応じて複数の領域に区分けされており、各領域には、制御コマンドの受信機会がそれぞれ設定されている。なお、図10中に示される受信機会のパーセント表示は、変化の傾向を概略的に示すもので、数値に特別の意味はない。図10に示すように、例えば、受信バッファ18Bの余裕量が多く、かつ、減少速度が遅い場合は、制御コマンドの受信機会が高くなるように設定されており、余裕量が少なくなるに連れて、または減少速度が速くなるに従って、受信機会が低下するように設定されている。そして、受信速度設定部22は、受信機会予測テーブル32を参照することにより受信機会を予測し、制御コマンドの受信機会を確保すべく、印刷データの受信速度を設定する。
【0077】
2−2 作用
次に、本実施の形態の作用を説明する。ホスト側処理及びプリンタ側処理は、前記第1の実施の形態とそれぞれ同様のため、本実施の形態に特徴的な受信処理を説明する。
【0078】
図11の受信処理フローチャートに示すように、まず、S31では、最大受信速度Vmaxをセットする。次に、受信バッファ18Bの余裕量と該余裕量の減少速度とを検出する(S32,S33)。これら余裕量及び減少速度に基づいて受信機会予測テーブル32を参照することにより、制御コマンドの受信機会を予測する(S34)。そして、予測された受信機会(図中、「予測値」と略記)が予め設定された所定値以下であるか否かを判定する(S35)。予測された受信機会が所定値以下の場合は、受信速度テーブル23を参照して(S36)、受信速度を設定する(S37)。一方、予測された受信機会が所定値を越えている場合は、受信速度を調整する必要がないため、前記S36及びS37はスキップされる。
【0079】
そして、前記実施の形態と同様に、ホストコンピュータ1から印刷データを受信し(S38)、ホストコンピュータ1に受信通知を行う(S39)。全ての印刷データを受信したとS40で判定されるまで、前記S31〜S39の処理が繰り返される。
【0080】
このように構成される本実施の形態でも、上述した第1の実施の形態と同様の作用を得ることができる。これに加えて、本実施の形態では、受信機会予測テーブル32によって制御コマンドの受信機会を細かく予測することができる。この場合、受信速度テーブル23は、受信バッファ18Bの余裕量に代えて、予測された受信機会を横軸にとって構成してもよい。
【0081】
なお、当業者であれば、前記各実施の形態に記載された本発明の要旨の範囲内で種々の追加、変更等が可能である。例えば、図1中に示すように、記録媒体MMに所定のプログラムを記憶させておき、該プログラムをプリンタ11にロードすることにより、本発明を実現することもできる。記録媒体としては、例えば、ROM,FD,CD−ROM,メモリカード等の種々の有形的記憶媒体のほか、通信ネットワークを介してダウンロードさせる通信媒体をも含む。
【0082】
また、前記各実施の形態では、優先度の高い情報として制御コマンドを挙げ、優先度の低い情報として印刷データを挙げたが、本発明はこれに限定されず、例えば、割り込み印刷データ(高優先度)と通常の印刷データ(低優先度)のように、他の情報にも適用することができる。
【0083】
また、第1の実施の形態では、受信機会をオンオフ的に予測し、第2の実施の形態では受信機会予測テーブル32を用いて多段階に予測する構成としたが、これに限らず、例えば、所定の演算式を用いて受信機会を算出してもよい。
【0084】
さらに、ホストコンピュータ1はパーソナルコンピュータ等として実現する必要はなく、例えば、ディジタルスチルカメラ等の他の情報生成装置から直接的にプリンタ11に印刷データ等を入力するようにしてもよい。
【0085】
【発明の効果】
以上説明した通り、本発明に係る印刷システム、印刷方法及びプリンタによれば、優先度の高い情報の受信機会を確保して、確実かつ速やかに受信することができ、優先度の異なる複数種類の情報を、優先度に応じてそれぞれ処理することができる。従って、緊急性の高い情報を速やかに処理することができ、使い勝手が向上する。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態に係る印刷システムのブロック図である。
【図2】優先度テーブルの構成を示す説明図である。
【図3】ネットワークの各層で複数の論理チャネルを生成するための方法を示す説明図である。
【図4】ホストコンピュータ側で印刷データ等の情報を生成するための処理を示すフローチャートである。
【図5】プリンタによる情報の受信処理を示すフローチャートである。
【図6】受信速度テーブルの構成を示す説明図である。
【図7】低優先度の情報の受信速度を低下させて高優先度の情報の受信機会を相対的に高める様子を示す説明図である。
【図8】プリンタ側における受信情報の処理を示すフローチャートである。
【図9】本発明の第2の実施の形態に係る印刷システムのブロック図である。
【図10】受信機会予測テーブルの構成を示す説明図である。
【図11】プリンタの受信処理を示すフローチャートである。
【符号の説明】
1 ホストコンピュータ
3 プリンタドライバ
5 優先度テーブル
11 プリンタ
12 制御部
13 解釈部
14 プリントエンジン
15 優先度テーブル
18A 受信バッファ
18B 受信バッファ
20 余裕量検出部
21 減少速度検出部
22 受信速度設定部
23 受信速度テーブル
31 プリンタ
32 受信機会予測テーブル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printing system, a printing method, and a printer that can process a plurality of types of information with different priorities, such as print data, according to the priorities.
[0002]
[Prior art]
In a conventional printing system, for example, print data is generated on a host computer such as a personal computer, and the print data is transmitted to a printer connected to a network or locally. The printer performs predetermined printing on the print recording medium by interpreting the received print data and driving the print engine.
[0003]
Data other than print data can be transmitted from the host computer to the printer. For example, the host computer can inquire about various printer statuses (paper remaining amount, toner remaining amount, etc.). The host computer can also request the printer to stop printing urgently.
[0004]
[Problems to be solved by the invention]
By the way, according to the above-described conventional technology, since one logical channel is assigned to the physical interface between the host computer and the printer, only one type of information can be transmitted at a time. In other words, when data from the host computer is transmitted to the printer, the next data cannot be transmitted until the data transmission is completed. This is because the logical channel is occupied until the first data transmission is completed.
[0005]
Therefore, for example, even if an attempt is made to cancel the printing after transmitting the print data to the printer, the print cancel command cannot be transmitted to the printer until the transmission of the print data is completed. For this reason, the prior art has a problem in that data with high processing priority and high urgency cannot be quickly processed, such as an emergency stop command or interrupt printing data.
[0006]
In addition, the conventional technique has a problem in that it has low usability because there is only one logical channel.
[0007]
Furthermore, when multiple logical channels are formed on a single physical interface, packet data with different priorities are mixed, so depending on the reception status from logical channels with lower priorities, there is an opportunity to receive data with higher priorities. May be lost. That is, for example, when a large amount of low-priority data is transmitted and the reception buffer for receiving the data becomes full, the lower-priority data cannot be received any more, so the reception itself is stopped. It is necessary to wait for a margin in the reception buffer. Accordingly, it is impossible to receive high priority data while waiting for low priority data processing to proceed. For this reason, the opportunity to receive highly urgent information may be reduced, and the processing speed may be reduced.
[0008]
The present invention has been made in view of the various problems as described above. The purpose of the present invention is to increase the opportunity to receive high-priority information and to process a plurality of types of information with different priorities. A printing system, a printing method, and a printer are provided.
[0009]
[Means for Solving the Problems]
In order to solve the above-described problems, the printing system according to the present invention maintains or improves the reception opportunity of information with high priority by observing the reception state of information with low priority.
[0010]
That is, in the invention according to claim 1, an information generation device that generates and transmits a plurality of types of information with different priorities, the information from the information generation device is received via a network, and the information is received. In a printing system including a printer that processes each according to the priority, the network generates a plurality of logical channels having different priorities, and the information generation device is configured to generate the information based on the priority. The printer transmits data to each logical channel, and the printer receives from the high-order logical channel set with a relatively high priority based on the reception status from the low-order logical channel set with a relatively low priority. A reception opportunity prediction means for predicting a reception opportunity; and a low-order logical channel based on the predicted reception opportunity to secure a reception opportunity from the high-order logical channel. Receiving speed setting means for setting the receiving speed from the network, and processing means for determining the priority of each piece of information based on each logical channel and processing each according to the priority. Yes.
[0011]
Here, “priority” means the degree of priority in processing. The “plural types of information” can include, for example, print data and an emergency stop command, normal print data, interrupt print data, and the like. The “information generating device” can be realized by, for example, a printer driver on a host computer. “Network” means a network connected by a communication line, regardless of whether it is wired or wireless. “Reception opportunity” means an opportunity to receive information and a reception probability. “Reception speed” means the speed at which information is received, and is specifically the amount of information received per unit time.
[0012]
The information generation device generates a plurality of types of information having different priorities. Next, the information generation apparatus transmits each information to each logical channel based on the priority. That is, each logical channel is assigned a priority, and high priority information is transmitted to the printer via a logical channel having a high priority. Therefore, the printer can determine the priority of the received information by identifying the logical channel used for information transmission, and can perform processing according to the priority of the information.
[0013]
Here, since there is a single physical interface, if an information transfer failure occurs in a low-order logical channel, the opportunity to receive information from the high-order logical channel decreases, and processing of high-priority information is delayed. It will be. For example, when the reception buffer connected to the low-order logical channel is full and new information cannot be received, reception itself is stopped. Therefore, even if high priority information is sent to the network, the printer cannot receive this high priority information.
[0014]
Therefore, the reception opportunity predicting means predicts a reception opportunity from the high-order logical channel based on the reception state from the low-order logical channel. The reception speed setting means sets the reception speed from the low-order logical channel based on the predicted reception opportunity in order to secure the reception opportunity from the high-order logical channel. For example, if it is predicted that the reception opportunity of high priority information will be lost due to the reception stop, the reception speed of the low priority information may be reduced so that the reception stop does not occur. As a result, a high-priority information reception opportunity is secured, and highly urgent information can be quickly processed.
[0015]
As in the invention according to claim 2, the plurality of logical channels can be generated at least in the transport layer or more.
[0016]
Here, the “transport layer” is a transport layer in an OSI (Open System Interconnection) reference model, which is an architecture for mutual communication between systems established by ISO (International Organization for Standardization). Means. By generating a plurality of logical channels above the transport layer, a plurality of logical channels can be obtained without adding hardware resources or setting a plurality of IP (Internet Protocol) addresses.
[0017]
As in the invention according to claim 3, the reception opportunity predicting means is configured to receive from the high-order logical channel based on at least one of a margin of a reception buffer connected to the low-order logical channel and a decrease rate of the margin. Can be received.
[0018]
Here, the “margin” means a capacity at which the reception buffer can receive new information, that is, an amount of free memory. If the reception buffer has a small margin, it can be estimated that the probability of occurrence of reception stop due to the reception buffer being full is high. In addition, when the rate at which the melted amount of the reception buffer decreases is high, in other words, even when the information accumulation rate of the reception buffer is high, there is a possibility that the reception buffer becomes full after a short period of time, leading to reception suspension. It can be estimated to be high. Accordingly, by monitoring at least one of the margin of the reception buffer connected to the low-order logical channel and the rate of decrease of the margin, the reception opportunity from the high-order logical channel can be easily predicted.
[0019]
As in the invention according to claim 4, when the predicted reception opportunity is lower than a predetermined value, the reception speed setting means uses the low-order logical channel to secure a reception opportunity from the high-order logical channel. The receiving speed can be reduced.
[0020]
Here, in the case where “the predicted reception opportunity is lower than a predetermined value”, in addition to the case where the predicted reception opportunity is lower than a predetermined value, an area in which the predicted reception opportunity is set in advance Including the case of belonging to. That is, for example, if a plurality of areas are set according to the reception buffer margin and the predicted value falls within an area where the reception opportunity decreases, the reception speed from the low-order logical channel may be decreased. it can. By reducing the reception speed from the low-order logical channel, the opportunity to receive high priority information can be relatively increased.
[0021]
According to a fifth aspect of the present invention, in the printing method for generating and transmitting a plurality of types of information having different priorities, and processing each information received via the network according to the priorities, the network includes A plurality of logical channels are generated at least above the transport layer, each channel is assigned a different priority, each information is transmitted to each logical channel based on the priority, and the priority is relative Based on at least one of the margin of the reception buffer connected to the low-order logical channel set to a low level and the rate of decrease of the margin, the priority from the high-order logical channel set to a relatively high priority In order to predict a reception opportunity and to secure a reception opportunity from the high-order logical channel, the low-order logical channel is based on the predicted reception opportunity. Set the reception speed from Le, said determining the priority of each information based on the logical channel, it is characterized by treating each according to the priority.
[0022]
Thus, the same effect as that attained by the 3rd aspect can be attained.
[0023]
In the invention according to claim 6, in a printer that receives a plurality of types of information with different priorities via a network and processes each information according to the priorities, a plurality of logical channels generated in the network are transmitted to the plurality of logical channels. Predicting reception opportunities from higher-order logical channels with relatively high priorities based on the receive buffers assigned to them and the reception status from lower-order logical channels with relatively low priorities Receiving opportunity predicting means, receiving speed setting means for setting a receiving speed from the low-order logical channel based on the predicted receiving opportunity, in order to secure a receiving opportunity from the high-order logical channel, A discriminating unit for discriminating the priority of the information received in the reception buffer, and executing the requested processing according to the discriminated priority of the information. Is characterized by comprising a processing unit that, the.
[0024]
Here, “processing means” means means for processing input information. Specifically, means for performing printing based on print data, means for operating in accordance with a control command, and the like. included. By monitoring the reception status of the low-order logical channel, predicting the reception opportunity from the high-order logical channel, and setting the reception speed from the low-order logical channel to ensure the reception opportunity from the high-order logical channel, It is possible to prevent a failure such as a memory shortage when receiving from a low-order logical channel, and to process highly urgent information promptly.
[0025]
As in the invention according to claim 7, the plurality of logical channels can be generated at least in the transport layer or more.
[0026]
Thereby, the same effect as that of the invention according to claim 1 can be obtained.
[0027]
In the invention according to claim 8, the reception opportunity prediction means receives from the high-order logical channel based on at least one of the margin of the reception buffer connected to the low-order logical channel and the rate of decrease of the margin. Predict opportunities.
[0028]
Thus, the same effect as that attained by the 3rd aspect can be attained.
[0029]
As in the invention according to claim 9, when the predicted reception opportunity is lower than the predetermined value, the reception rate setting means is configured to receive from the low-order logical channel in order to secure a reception opportunity from the high-order logical channel. The reception speed can also be reduced.
[0030]
Thus, the same effect as that attained by the 4th aspect can be attained.
[0031]
In the invention according to claim 10, in the program recording medium recording the computer program for controlling the printer, the function for determining the priority of the plurality of logical channels formed in the network and the priority set relatively low A reception opportunity prediction function for predicting a reception opportunity from a high-order logical channel whose priority is set relatively high based on a reception state from the received low-order logical channel, and a reception opportunity from the high-order logical channel The computer can read and understand a program for causing the computer to realize a reception speed setting function for setting a reception speed from the low-order logical channel based on the predicted reception opportunity. Recorded in form.
[0032]
Here, for the “program recording medium”, various recording media such as a floppy disk (FD), a compact disk (CD-ROM, CD-R), a hard disk (HD), and a flash memory can be employed. . The present invention is not limited to this, and a communication medium can also be used, for example, such as remotely downloading a program via a communication line.
[0033]
By causing the computer to read the recording medium on which the predetermined program is recorded, it is possible to process according to the priority of the information without missing the highly urgent information.
[0034]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0035]
1. First embodiment
1-1 Configuration
A first embodiment of the present invention will be described with reference to FIGS. The host computer 1 can be realized as, for example, a personal computer, a workstation, a portable information terminal, or the like, and is configured as a computer system including various memories such as a data memory and an image memory and an arithmetic processor. The host computer 1 is provided with an application program 2 and a printer driver 3.
[0036]
The printer driver 3 as the “information generation device” generates and issues print data and control commands as “plural types of information”. The printer driver 3 includes, for example, a print data generation unit 4 that can be expressed as a print data generation unit, and a priority table 5. The printer driver 3 can preferably use computer resources of the host computer 1. The source code generated by the application program 2 such as document creation software is converted into print data by the print data generation unit 4. The generated print data is sent to the communication line 100 via the interface (hereinafter abbreviated as “I / F”) 6 and input to the printer 11 via the communication line 100.
[0037]
The printer driver 3 can also issue various control commands such as a print job cancel request and a print stop request as necessary. Various methods can be employed for generating print data. For example, the print data may be generated by converting the input source code into a predetermined print language by the printer driver 3, or the print data is generated by converting the input source code into bit image data. May be.
[0038]
For example, the priority table 5 that can be expressed as priority management means is for managing the priority of various types of information generated by the printer driver 3 and the priority of logical channels to be described later. As shown in FIG. 2A, the priority table 5 stores information types, priorities, and logical channel types in association with each other. For example, information 1 in FIG. 2A is a highly urgent control command such as print stop, information 2 is another control command such as a status information request, information 3 is interrupt print data, and information 4 is normal. Print data can be used.
[0039]
Therefore, by referring to the priority table 5, information can be transmitted from a predetermined logical channel according to the priority. The priority table 5 may be provided outside the printer driver 3.
[0040]
The printer 11 includes a control unit 12, an interpretation unit 13, a print engine 14, a priority table 15, a reception speed setting unit 22, and the like.
[0041]
Information such as print data transmitted from the host computer 1 is input to the I / F 16 via the communication line 100. Information input to the I / F 16 is distributed to the ports 17A and 17B corresponding to each logical channel. Specifically, in the I / F 16, the destination port number of the input information (packet data) is inspected, and the information is distributed to each port corresponding to the destination port number with the header portion removed. Receiving buffers 18A and 18B are connected to the ports 17A and 17B, respectively.
[0042]
Here, the priority of the logical channel corresponding to the port 17A is set higher than the priority of the logical channel corresponding to the port 17B. The logical channel to which port 17A corresponds is a high-order logical channel, and the logical channel to which port 17B corresponds is a low-order logical channel. In the present embodiment, a control command is input to the reception buffer 18A as high priority information, and print data is input to the reception buffer 18B as low priority information. The size (memory capacity) of the reception buffer 18A to which a control command is input is set smaller than that of the reception buffer 18B to which print data is input. Further, the reception buffer 18A always secures a memory capacity of a certain amount or more in order to receive the control command reliably. In other words, even when a large amount of print data is received, the reception buffer 18B cannot consume all the memory, and the use of the memory is limited by the reception buffer 18A. Note that the memory capacity of each of the reception buffers 18A and 18B may be fixed, but may be changed dynamically according to the usage status of each logical channel, the transmission frequency, and the like.
[0043]
The control unit 13 monitors the input of information to the reception buffers 18A and 18B, and controls the processing state based on the priority of the input information. For example, when a print job cancel request command is input to the reception buffer 18A, the control unit 13 refers to the priority table 15 to determine the processing priority of the cancel request command, and interprets the interpreter 13. Etc. to cancel the print job. Further, the control unit 13 can permit processing of low priority information, that is, print data, until high priority information is input.
[0044]
The print data input to the reception buffer 18B is interpreted by the interpretation unit 13 and developed in the output buffer 19. The bit image data developed in the output buffer 19 is transferred to the print engine 14 and printed on the print recording medium by the print engine 14. As the print engine 14, various types such as an ink jet type, a thermal transfer type, and a laser type can be adopted.
[0045]
For example, in the priority table 15 on the printer 11 side that can be expressed as a priority management means, as shown in FIG. 2B, a priority is associated with each logical channel and stored. Note that the priority table 5 on the host computer 1 side may be expressed as first priority management means, and the priority table 15 on the printer 11 side may be expressed as second priority management means.
[0046]
The reception state of the reception buffer 18B that receives print data with low priority is monitored by the margin amount detection unit 20 and the decrease rate detection unit 21. The margin amount detection unit 20 detects the amount of free memory in the reception buffer 18B. The decrease speed detector 21 detects the speed at which the margin of the reception buffer 18B decreases. Here, each detection unit 21 may be configured to simply detect the margin and the decrease rate, or may be configured to output a detection signal when a change of a predetermined value or more occurs. For example, the margin amount detection unit 20 can be configured to output a detection signal when the margin amount of the reception buffer 18B reaches a predetermined value or less. Similarly, the decrease rate detector 21 can be configured to output a detection signal when the margin reduction rate of the reception buffer 18B reaches a predetermined value or more.
[0047]
The reception speed setting unit 22 sets the reception speed from the low-order logical channel based on the margin amount from the margin amount detection unit 20 and the decrease rate from the decrease rate detection unit 21. The reception speed setting unit 22 can set the reception speed of print data by referring to a reception speed table 23 described later with reference to FIG.
[0048]
Here, for example, three types of methods can be employed for setting the reception speed. The first method is to change the number of packets received within a unit time. When the packet data length is fixed, the amount of data received within a unit time can be controlled by changing the number of packets. The second method is to change the data length of the packet. When a packet has a variable structure, the amount of received data per unit time can be controlled by changing the data length. In the third method, the number of packets and the packet data length are appropriately changed. In the present embodiment, a case where the first method is adopted is exemplified.
[0049]
Next, a logical channel construction method will be described with reference to FIG. FIG. 3 shows a simplified OSI reference model. The application layer in FIG. 3 includes a presentation layer and a session layer.
[0050]
For example, when generating a plurality of channels in the data link layer / physical layer, Ethernet may be used on the one hand and serial transmission may be used on the other hand. In this case, for example, information input via Ethernet can be processed as low-priority print data, and serially transmitted information can be processed as a high-priority control command.
[0051]
When a plurality of logical channels are generated in the network layer, a plurality of IP (Internet Protocol) addresses may be set as illustrated as ADR1 and ADR2. In this case, for example, one IP address ADR1 can be used to accept print data, and the other IP address ADR2 can be used to accept a control command. Alternatively, a plurality of logical channels can be formed by using two types of protocols, ie, IP protocol and IPX (Internetwork Packet eXchange) protocol. In this case, for example, the IP protocol can be used to accept print data, and the IPX protocol can be used to accept control commands.
[0052]
Further, when a plurality of logical channels are generated in the transport layer, for example, a protocol such as SNMP (Simple Network Management Protocol), FTP (File Transfer Protocol), Telnet (Telecommunication network), or Lpr (Lineprinter protocol) can be used properly. That's fine. Here, since each protocol has a predetermined port number, for example, information input by specifying the port number 161 is processed as information in accordance with SNMP, and input by specifying the port number 21. The processed information is processed as information according to FTP. The port number 23 corresponds to Telnet, and the port number 515 corresponds to Lpr.
[0053]
When a plurality of logical channels are generated in the application layer, a plurality of print queues may be properly used as illustrated as Q1 and Q2. In this case, one print queue Q1 can be used for receiving print data, and the other print queue Q2 can be used for receiving control commands.
[0054]
In this manner, a plurality of logical channels can be formed by properly using the protocols and print queues in each network layer. Here, when a plurality of channels are generated in the data link layer / physical layer, hardware is required, which causes an increase in cost and a complicated structure. In addition, when a plurality of channels are generated in the network layer by using a plurality of IP addresses, a plurality of IP addresses must be set in advance for one printer 11, so that the setup work becomes complicated and the usability is reduced. To do. Therefore, in this embodiment, a plurality of logical channels are formed above the transport layer.
[0055]
Note that CH1 to CH4 in FIG. 3 indicate logical channels. In the present embodiment, two types of logical channels are used: a high-order logical channel for transmitting control commands and a low-order logical channel for transmitting print data. Therefore, for example, in this embodiment, CH1 and CH3 are used.
[0056]
1-2 Action
Next, the effect | action of this Embodiment is demonstrated based on FIGS. First, FIG. 4 is a flowchart showing processing on the host computer 1 side.
[0057]
In step (hereinafter abbreviated as “S”) 1, for example, information input from the application program 2 or the like is analyzed. That is, the type of information such as print data and control commands is inspected. Next, the priority table 5 is referenced based on the inspected information type (S2), and the priority of the input information is determined (S3). Further, the logical channel used for transmission is also determined by determining the priority.
[0058]
And transmission data is produced | generated by performing the process of adding a required header part to information (S4). This transmission data is transmitted to the printer 11 via a predetermined logical channel (S5). Next, it waits until a reception notification is received from the printer 11 (S6). The printer 11 issues a data reception notification in units of packets or in units of groups in which several packets are grouped. Upon receiving the reception notification from the printer 11, the host computer 1 determines whether or not the data transmission is completed (S7). If there is remaining data, the host computer 1 returns to S5 and sends the next data to the printer 11. Send.
[0059]
Next, FIG. 5 is a flowchart showing the receiving process on the printer 11 side. First, in S11, the maximum reception speed Vmax is set. Next, it is determined whether or not the margin of the reception buffer 18B connected to the low-order logical channel is equal to or larger than a predetermined value (S12). When the margin of the reception buffer 18B is insufficient, the reception speed is adjusted by S14 and S15 described later. On the other hand, if the margin of the reception buffer 18B is greater than or equal to a predetermined value, it is further determined whether or not the margin decrease rate is greater than or equal to a predetermined value (S13). When the reduction rate of the margin amount is larger than the predetermined value, the reception speed is adjusted by S14 and S15. When the decrease rate is small, S14 and S15 are skipped, and the print data is received at the maximum reception rate Vmax.
[0060]
That is, the case where the margin of the reception buffer 18B is small and the case where the reduction rate is fast even though the margin is sufficient are cases where there is a high possibility that the reception buffer 18B is full and new print data cannot be received. is there. Stopping reception of print data due to insufficient capacity of the reception buffer 18B indicates that data transfer between the I / Fs 6 and 16 is stopped. Therefore, even when a control command with a high priority is transmitted on the communication line 100, this means that the control command with high urgency cannot be received. S12 and S13 correspond to “reception opportunity prediction means”.
[0061]
Therefore, in order to secure a reception opportunity of the control command from the high-order logical channel, the reception speed table is referred based on the margin of the reception buffer 18B (S14), and the reception speed is reduced below the maximum reception speed Vmax (S15). . As shown in FIG. 6, in the reception speed table 23 that can be expressed as reception speed management means, the reception speed is set stepwise for each margin of the reception buffer 18B. Therefore, the reception speed can be read from V1 to Vmin according to the margin of the reception buffer 18B. In addition, as shown with a dashed-two dotted line in FIG. 6, you may set to linear form.
[0062]
After setting the reception opportunity as described above, print data is received from the host computer 1 (S16), and the host computer 1 is notified that the print data has been received (S17). Then, it is determined whether or not all the print data has been received (S18), and the processes of S11 to S17 are repeated until the reception is completed. As a result, the print data is initially received at the maximum reception speed Vmax. However, if the margin of the reception buffer 18B decreases due to the stagnation of the printing process in the printer 11, the print data reception speed is gradually lowered. . Specifically, for example, the reception speed can be reduced by delaying the reception notification to the host computer 1.
[0063]
FIG. 7 is an explanatory diagram showing a change in the transmission state of print data flowing through the communication line 100. In the figure, the time T is divided into 10 packets. White squares indicate print data packets, and hatched squares indicate control command packets. As shown in FIG. 7 (A) → (B) → (C), as the margin of the reception buffer 18B decreases, the speed at which the print data packet is received decreases, and control is relatively performed. Opportunities to receive commands will increase.
[0064]
Next, FIG. 8 is a flowchart showing processing on the printer 11 side. First, in S21, it is monitored whether information such as print data or a control command is input from the host computer 1. When information is input from the host computer 1, this information is stored in a predetermined reception buffer. The priority of the received information is determined by checking which reception buffer stores the information and referring to the priority table 15 (S22).
[0065]
Next, it is determined whether or not there is a job currently being processed (S23). If no other preceding job exists, “NO” is determined in S23, and the received information is processed (S24). That is, for example, when the received information is print data, the print data is interpreted and printing is executed. When the received information is a control command, various operations are performed according to the contents of the control command.
[0066]
On the other hand, for example, if another print job is being processed, “YES” is determined in S23, and then the priority of the job currently being processed is compared with the priority of the latest information received in S21. (S25). If the priority of the preceding job is higher than the priority of the received information, the received information is placed in a standby state (S26).
[0067]
Conversely, if the priority of the received information is higher than the priority of the preceding job, processing of the preceding job is interrupted (S27), and processing of the received information is executed first (S28). .
[0068]
It should be noted that various methods can be employed for interrupting the preceding job in S27. For example, it may be determined whether or not to permit processing of high-priority information according to the time until the preceding job is completed. For example, when the preceding job is completed by printing several more sheets, high priority information may be processed after the preceding job is completed. In addition, the reference time for determining whether to wait for the completion of the preceding job can be variably set according to the difference in priority.
[0069]
According to the present embodiment configured as described above, the following effects can be obtained.
[0070]
First, by monitoring the reception state of the reception buffer 18B that receives low-priority print data, the control command reception opportunity of the high-priority control command is predicted, and the print command of the print data is ensured. In order to adjust the reception speed, even when a large amount of print data is transmitted, a highly urgent control command can be promptly received and processed. That is, even when a large amount of low-priority information is transmitted and the margin of the reception buffer 18B becomes small, it is possible to increase the reception opportunity of high-priority information and receive it reliably, improving usability and the like. .
[0071]
Secondly, since a plurality of logical channels are formed between the host computer 1 and the printer 11 and processing is performed based on the priority of information, for example, highly urgent information such as a print emergency stop command is promptly transmitted. Can be processed. In addition, since information with high priority is quickly processed, wasteful consumption of printing resources can be prevented and usability is improved.
[0072]
Third, since a plurality of logical channels are generated in the transport layer or higher, a plurality of logical channels can be obtained easily and easily. That is, it is not necessary to add hardware resources such as a communication circuit or to set a plurality of IP addresses, so that a plurality of logical channels can be easily generated. For example, when a large number of logical channels are generated in the application layer by increasing the types of print queues, the information transmitted from the host computer 1 to the printer 11 becomes longer, and the information transmission efficiency and processing efficiency are increased accordingly. descend. Therefore, as in the present embodiment, it is preferable to “generate a plurality of logical channels by combining a protocol in the transport layer and a print queue in the application layer”.
[0073]
Fourth, since priority is determined in advance for each logical channel, information transmission efficiency can be improved as compared with the case where priority is embedded in the header portion of information.
[0074]
2. Second embodiment
Next, a second embodiment of the present invention will be described with reference to FIGS. In the present embodiment, the same components as those of the first embodiment described above are denoted by the same reference numerals, and the description thereof is omitted. The feature of this embodiment is that the reception speed is set based on the margin amount and the decrease speed of the reception buffer 18B.
[0075]
2-1 Configuration
As shown in FIG. 9, the printing system according to this embodiment also includes a host computer 1 for generating print data and a printer 31 for performing print processing and the like. The printer 31 has a reception opportunity prediction table 32 in addition to the configuration of the printer 11 in the embodiment.
[0076]
As shown in FIG. 10, the reception opportunity prediction table 32 is divided into a plurality of areas according to the margin amount and the decrease rate of the margin amount, and the reception opportunity of the control command is set in each area. Yes. Note that the percentage display of the reception opportunity shown in FIG. 10 schematically shows a change tendency, and the numerical value has no special meaning. As shown in FIG. 10, for example, when the reception buffer 18B has a large margin and the decrease rate is slow, the control command reception opportunity is set to be high, and as the margin decreases. Alternatively, the reception opportunity is set to decrease as the decrease rate increases. Then, the reception speed setting unit 22 predicts the reception opportunity by referring to the reception opportunity prediction table 32, and sets the print data reception speed in order to secure the reception opportunity of the control command.
[0077]
2-2 Action
Next, the operation of the present embodiment will be described. Since the host-side process and the printer-side process are the same as those in the first embodiment, the reception process characteristic of this embodiment will be described.
[0078]
As shown in the reception processing flowchart of FIG. 11, first, in S31, the maximum reception speed Vmax is set. Next, the margin of the reception buffer 18B and the decrease rate of the margin are detected (S32, S33). The reception opportunity of the control command is predicted by referring to the reception opportunity prediction table 32 based on the margin amount and the decrease rate (S34). Then, it is determined whether or not the predicted reception opportunity (abbreviated as “predicted value” in the drawing) is equal to or less than a predetermined value (S35). If the predicted reception opportunity is less than or equal to the predetermined value, the reception speed table 23 is referred to (S36), and the reception speed is set (S37). On the other hand, when the predicted reception opportunity exceeds a predetermined value, the reception speed need not be adjusted, and thus S36 and S37 are skipped.
[0079]
Then, as in the above embodiment, the print data is received from the host computer 1 (S38), and a reception notification is sent to the host computer 1 (S39). The processes of S31 to S39 are repeated until it is determined in S40 that all the print data has been received.
[0080]
In the present embodiment configured as described above, the same operation as that of the first embodiment described above can be obtained. In addition, in the present embodiment, the reception opportunity of the control command can be predicted in detail by the reception opportunity prediction table 32. In this case, the reception speed table 23 may be configured with the predicted reception opportunity on the horizontal axis instead of the margin of the reception buffer 18B.
[0081]
A person skilled in the art can make various additions and modifications within the scope of the gist of the present invention described in the above embodiments. For example, as shown in FIG. 1, the present invention can also be realized by storing a predetermined program in a recording medium MM and loading the program into the printer 11. Examples of the recording medium include various tangible storage media such as a ROM, an FD, a CD-ROM, and a memory card, and a communication medium that is downloaded via a communication network.
[0082]
In each of the above embodiments, the control command is given as the high priority information, and the print data is given as the low priority information. However, the present invention is not limited to this, for example, interrupt print data (high priority). Degree) and normal print data (low priority), and can also be applied to other information.
[0083]
In the first embodiment, the reception opportunity is predicted on and off, and in the second embodiment, the reception opportunity prediction table 32 is used for prediction in multiple stages. The reception opportunity may be calculated using a predetermined arithmetic expression.
[0084]
Further, the host computer 1 does not have to be realized as a personal computer or the like. For example, print data or the like may be directly input to the printer 11 from another information generation device such as a digital still camera.
[0085]
【The invention's effect】
As described above, according to the printing system, the printing method, and the printer according to the present invention, it is possible to secure and promptly receive a high-priority information reception opportunity. Information can be processed according to priority. Therefore, highly urgent information can be processed promptly, improving usability.
[Brief description of the drawings]
FIG. 1 is a block diagram of a printing system according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a configuration of a priority table.
FIG. 3 is an explanatory diagram showing a method for generating a plurality of logical channels in each layer of the network.
FIG. 4 is a flowchart showing processing for generating information such as print data on the host computer side.
FIG. 5 is a flowchart illustrating information reception processing by the printer.
FIG. 6 is an explanatory diagram showing a configuration of a reception speed table.
FIG. 7 is an explanatory diagram showing a state in which the reception speed of high priority information is relatively increased by lowering the reception speed of low priority information.
FIG. 8 is a flowchart illustrating received information processing on the printer side.
FIG. 9 is a block diagram of a printing system according to a second embodiment of the present invention.
FIG. 10 is an explanatory diagram showing a configuration of a reception opportunity prediction table.
FIG. 11 is a flowchart illustrating a receiving process of the printer.
[Explanation of symbols]
1 Host computer
3 Printer driver
5 Priority table
11 Printer
12 Control unit
13 Interpreter
14 Print Engine
15 Priority table
18A Receive buffer
18B receive buffer
20 Margin detection unit
21 Decrease speed detector
22 Reception speed setting section
23 Reception speed table
31 Printer
32 Reception opportunity prediction table

Claims (10)

優先度の異なる複数種類の情報を生成して送信する情報生成装置と、該情報生成装置からの前記各情報をネットワークを介して受信し、前記各情報を前記優先度に応じてそれぞれ処理するプリンタとを備えた印刷システムにおいて、
前記ネットワークには優先度の異なる複数の論理チャネルを生成し、
前記情報生成装置は、前記各情報を優先度に基づいて前記各論理チャネルにそれぞれ送信し、
前記プリンタは、
優先度が相対的に低く設定された低順位論理チャネルからの受信状態に基づいて、優先度が相対的に高く設定された高順位論理チャネルからの受信機会を予測する受信機会予測手段と、
前記高順位論理チャネルからの受信機会を確保すべく、前記予測された受信機会に基づいて前記低順位論理チャネルからの受信速度を設定する受信速度設定手段と、
前記各論理チャネルに基づいて前記各情報の優先度を判定し、優先度に応じてそれぞれ処理する処理手段とを備えていることを特徴とする印刷システム。
An information generation device that generates and transmits a plurality of types of information with different priorities, and a printer that receives each information from the information generation device via a network and processes each information according to the priority In a printing system comprising
A plurality of logical channels having different priorities are created in the network;
The information generation device transmits each piece of information to each logical channel based on priority,
The printer is
A reception opportunity prediction means for predicting a reception opportunity from a high-order logical channel set with a relatively high priority based on a reception state from a low-order logical channel set with a relatively low priority;
A reception rate setting means for setting a reception rate from the low-order logical channel based on the predicted reception opportunity in order to secure a reception opportunity from the high-order logical channel;
A printing system comprising: a processing unit that determines the priority of each piece of information based on each logical channel and processes the information according to the priority.
前記複数の論理チャネルは、少なくともトランスポート層以上で生成されている請求項1に記載の印刷システム。The printing system according to claim 1, wherein the plurality of logical channels are generated at least in a transport layer or more. 前記受信機会予測手段は、前記低順位論理チャネルに接続された受信バッファの余裕量または該余裕量の減少速度の少なくともいずれか一方に基づいて、前記高順位論理チャネルからの受信機会を予測する請求項1または請求項2のいずれかに記載の印刷システム。The reception opportunity prediction means predicts a reception opportunity from the high-order logical channel based on at least one of a margin amount of a reception buffer connected to the low-order logical channel and a reduction rate of the margin amount. The printing system according to claim 1 or 2. 前記受信速度設定手段は、前記予測された受信機会が所定値よりも低い場合には、前記高順位論理チャネルからの受信機会を確保すべく、前記低順位論理チャネルからの受信速度を低下させる請求項1〜請求項3のいずれかに記載の印刷システム。The reception speed setting means reduces the reception speed from the low-order logical channel in order to secure a reception opportunity from the high-order logical channel when the predicted reception opportunity is lower than a predetermined value. The printing system according to claim 1. 優先度の異なる複数種類の情報を生成して送信し、ネットワークを介して受信された前記各情報を前記優先度に応じて処理する印刷方法において、
前記ネットワークには少なくともトランスポート層以上で複数の論理チャネルを生成し、
前記各チャネルにはそれぞれ異なる優先度を割り当て、
前記各情報を前記優先度に基づいて前記各論理チャネルにそれぞれ送信し、
優先度が相対的に低く設定された低順位論理チャネルに接続された受信バッファの余裕量または該余裕量の減少速度の少なくともいずれか一方に基づいて、優先度が相対的に高く設定された高順位論理チャネルからの受信機会を予測し、
前記高順位論理チャネルからの受信機会を確保すべく、前記予測された受信機会に基づいて前記低順位論理チャネルからの受信速度を設定し、
前記各論理チャネルに基づいて前記各情報の優先度を判定し、優先度に応じてそれぞれ処理することを特徴とする印刷方法。
In a printing method for generating and transmitting a plurality of types of information with different priorities, and processing each information received via a network according to the priorities,
In the network, a plurality of logical channels are generated at least above the transport layer,
Each channel is assigned a different priority,
Transmitting each piece of information to each of the logical channels based on the priority,
Based on at least one of the margin of the reception buffer connected to the low-order logical channel whose priority is set relatively low and / or the rate of decrease of the margin, the high priority is set relatively high Predict the receiving opportunity from the logical channel,
Setting a reception rate from the low-order logical channel based on the predicted reception opportunity in order to secure a reception opportunity from the high-order logical channel;
A printing method characterized in that the priority of each piece of information is determined based on each logical channel, and processing is performed according to the priority.
優先度の異なる複数種類の情報をネットワークを介して受信し、前記各情報を前記優先度に応じて処理するプリンタにおいて、
前記ネットワークに生成された複数の論理チャネルにそれぞれ割り当てられた受信バッファと、
優先度が相対的に低く設定された低順位論理チャネルからの受信状態に基づいて、優先度が相対的に高く設定された高順位論理チャネルからの受信機会を予測する受信機会予測手段と、
前記高順位論理チャネルからの受信機会を確保すべく、前記予測された受信機会に基づいて前記低順位論理チャネルからの受信速度を設定する受信速度設定手段と、
前記各受信バッファに受信された情報の優先度を判別する判別手段と、
前記判別された情報の優先度に応じて、要求された処理をそれぞれ実行する処理手段と、を備えたことを特徴とするプリンタ。
In a printer that receives a plurality of types of information with different priorities via a network, and processes each information according to the priorities,
Receive buffers respectively assigned to a plurality of logical channels generated in the network;
A reception opportunity prediction means for predicting a reception opportunity from a high-order logical channel set with a relatively high priority based on a reception state from a low-order logical channel set with a relatively low priority;
A reception rate setting means for setting a reception rate from the low-order logical channel based on the predicted reception opportunity in order to secure a reception opportunity from the high-order logical channel;
A discriminating means for discriminating the priority of the information received in each receiving buffer;
A printer comprising: processing means for executing each requested process in accordance with the determined priority of information.
前記複数の論理チャネルは、少なくともトランスポート層以上で生成されている請求項6に記載のプリンタ。The printer according to claim 6, wherein the plurality of logical channels are generated at least in a transport layer or higher. 前記受信機会予測手段は、前記低順位論理チャネルに接続された受信バッファの余裕量または該余裕量の減少速度の少なくともいずれか一方に基づいて、前記高順位論理チャネルからの受信機会を予測する請求項6または請求項7のいずれかに記載のプリンタ。The reception opportunity prediction means predicts a reception opportunity from the high-order logical channel based on at least one of a margin amount of a reception buffer connected to the low-order logical channel and a reduction rate of the margin amount. The printer according to claim 6 or 7. 前記受信速度設定手段は、前記予測された受信機会が所定値よりも低い場合には、前記高順位論理チャネルからの受信機会を確保すべく、前記低順位論理チャネルからの受信速度を低下させる請求項6〜請求項8のいずれかに記載のプリンタ。The reception speed setting means reduces the reception speed from the low-order logical channel in order to secure a reception opportunity from the high-order logical channel when the predicted reception opportunity is lower than a predetermined value. Item 9. The printer according to any one of items 6 to 8. プリンタを制御するためのコンピュータプログラムを記録したプログラム記録媒体において、
ネットワークに形成された複数の論理チャネルの優先度を判別する機能と、
優先度が相対的に低く設定された低順位論理チャネルからの受信状態に基づいて、優先度が相対的に高く設定された高順位論理チャネルからの受信機会を予測する受信機会予測機能と、
前記高順位論理チャネルからの受信機会を確保すべく、前記予測された受信機会に基づいて前記低順位論理チャネルからの受信速度を設定する受信速度設定機能と、を前記コンピュータに実現させるためのプログラムを前記コンピュータが読取り及び理解可能な形態で記録したプログラム記録媒体。
In a program recording medium recording a computer program for controlling a printer,
A function for determining the priority of a plurality of logical channels formed in a network;
A reception opportunity prediction function for predicting a reception opportunity from a high-order logical channel set with a relatively high priority based on a reception state from a low-order logical channel set with a relatively low priority;
A program for causing the computer to realize a reception speed setting function for setting a reception speed from the low-order logical channel based on the predicted reception opportunity in order to secure a reception opportunity from the high-order logical channel. A program recording medium on which the computer is recorded in a form that can be read and understood by the computer.
JP34109397A 1997-12-11 1997-12-11 Printing system, printing method and printer Expired - Fee Related JP3707218B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34109397A JP3707218B2 (en) 1997-12-11 1997-12-11 Printing system, printing method and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34109397A JP3707218B2 (en) 1997-12-11 1997-12-11 Printing system, printing method and printer

Publications (2)

Publication Number Publication Date
JPH11175270A JPH11175270A (en) 1999-07-02
JP3707218B2 true JP3707218B2 (en) 2005-10-19

Family

ID=18343199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34109397A Expired - Fee Related JP3707218B2 (en) 1997-12-11 1997-12-11 Printing system, printing method and printer

Country Status (1)

Country Link
JP (1) JP3707218B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5224964B2 (en) * 2008-07-31 2013-07-03 キヤノン株式会社 Receiving method of receiving apparatus, receiving apparatus and program
JP6327291B2 (en) * 2016-05-31 2018-05-23 マツダ株式会社 Information communication system for vehicles

Also Published As

Publication number Publication date
JPH11175270A (en) 1999-07-02

Similar Documents

Publication Publication Date Title
JP3786152B2 (en) Printing system, printing method, and printer
US11099906B2 (en) Handling tenant requests in a system that uses hardware acceleration components
US9699092B2 (en) Systems and methods for dynamically adjusting QoS parameters
US8078892B2 (en) Information-processing apparatus, packet processing method, and computer program product for communicating with an external network device and switching between a normal power mode and a power saving mode
EP0932098A2 (en) Computer system and method for allocating memory space for communications port buffers
JPH1195948A (en) Method and device for dynamically managing buffer for communication to be used for packet communication data for printer
JP4259557B2 (en) Printing apparatus and logical packet processing method
US8369219B2 (en) System and method for managing bandwidth
JP2008510337A (en) Method for assigning data to at least one packet in an integrated circuit
JP3707218B2 (en) Printing system, printing method and printer
US20040263905A1 (en) Print data processing apparatus and data processing apparatus
JP2011116083A (en) Printer and control method therefor, program
JP2002011925A (en) Printer, its controlling method and medium recording program
US6618164B1 (en) Network printer and network printing method
JPH09305270A (en) Network control method and control server device
JPH10150443A (en) Atm exchange
KR100600794B1 (en) Network node for restricting packet receiving activity and method thereof
CN113794585B (en) Message processing method and device
JP2005244417A (en) Band control unit, band control method, and band control program
JP2000181660A (en) Image processor
JP2003303080A (en) Network interface circuit and data output system
JPH11161565A (en) Communication load control method, device therefor and program recording medium therefor
JP3524357B2 (en) Data processing device, printing device, communication processing method, and computer-readable storage medium
JP2000231465A (en) Job distributing method
JPH1044525A (en) Image processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050708

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050725

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090812

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100812

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110812

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120812

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130812

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees