[go: up one dir, main page]

JP3949012B2 - Data transmission / reception method, transmitter, receiver, and transmitter / receiver - Google Patents

Data transmission / reception method, transmitter, receiver, and transmitter / receiver Download PDF

Info

Publication number
JP3949012B2
JP3949012B2 JP2002183595A JP2002183595A JP3949012B2 JP 3949012 B2 JP3949012 B2 JP 3949012B2 JP 2002183595 A JP2002183595 A JP 2002183595A JP 2002183595 A JP2002183595 A JP 2002183595A JP 3949012 B2 JP3949012 B2 JP 3949012B2
Authority
JP
Japan
Prior art keywords
data
compressed
code
header
identification code
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
JP2002183595A
Other languages
Japanese (ja)
Other versions
JP2004032214A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2002183595A priority Critical patent/JP3949012B2/en
Publication of JP2004032214A publication Critical patent/JP2004032214A/en
Application granted granted Critical
Publication of JP3949012B2 publication Critical patent/JP3949012B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)
  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、パケットヘッダが付加されたデータを送受信するデータ送受信方法、パケットヘッダが付加されたデータを送信する送信機、パケットヘッダが付加されたデータを受信する受信機、及びパケットヘッダが付加されたデータを送受信する送受信装置に関するものである。
【0002】
【従来の技術】
パーソナルコンピュータ及び周辺機器等のデータ送受信においては、データをパケット化して送受信する。このパケット送受信の方法としては、大きく分けて2通りある。
第1の方法は、送信するデータの前に、このデータのデータ長の情報を含むパケットヘッダを付加し、パケットのデータ長を予め規定して送信する方法である。この方法では、連続するパケットデータの区切りは、上述したデータ長に基づき判定される。つまり、受信側は、データ長分のデータ受信が完了してはじめて、1つのパケットデータの受信が完了したと判定する。
【0003】
第2の方法は、送信するデータを圧縮(例えばパックビッツ圧縮)し、この圧縮したデータの前に、圧縮したデータに現れないコードを含むパケットヘッダを付加する方法である。この方法では、連続するパケットデータの区切りは、上述したパケットヘッダを検出することにより判定される。つまり、受信側は、パケットヘッダを検出することにより、新たなデータの始まりであると判定する。また、この方法では、圧縮してデータが短くなった分だけ、データの送受信速度は速くなるという長所を有している。
このような、圧縮処理の1つの方法が、特開2000−242450号公報に開示されている。
【0004】
【発明が解決しようとする課題】
しかし、上述した第1の方法では、何らかの要因で送受信中のデータが途切れた場合、復帰処理が複雑になるという問題がある。これは、データ長分のデータの送受信が終了しない限り、この途切れた部分のデータ転送が完了したものと判断されない為であり、タイムアウト処理が実行される迄待つか、又は所定のデータ長に達する迄、ダミーデータを送信し続けなければならない。
【0005】
また、ダミーデータを送信する場合に、データ長の長いデータが途中で途切れてしまうと、ダミーデータの送信数が増える分だけ復帰に時間がかかることになる。
さらに、第1の方法では、データを圧縮しない為、データ長の長いデータの送信には、第2の方法のようにデータを圧縮する方法に比べて、転送に時間がかかるという問題がある。
【0006】
また、第2の方法では、上述したように、圧縮したデータの前に、この圧縮したデータに現れないコードを含むヘッダを付加する必要がある。つまり、ヘッダに含まれるコードが、圧縮されたデータ内に現れないように、データを圧縮処理しなければならない。
その為、データ長が短く、圧縮効率が悪い場合には、圧縮処理に要する手間が増加するという短所が、圧縮処理してデータが短くなり、データ送受信速度が速くなるという長所を上回ることになる。つまり、圧縮効率が悪い場合には、一連のデータ送受信処理に時間がかかるという問題がある。
【0007】
また、1つのデータ内で同じ情報が連続しない場合等は、圧縮処理により、逆にデータ数が増加してしまう場合も生じる。
例えば、00から255迄の連続する256バイトのデータを、パックビッツ圧縮を用いて圧縮する場合、2バイトの圧縮符号が必要となり、また、同じ数が現れない為、0から255迄の256バイトは圧縮されず、合計258バイトとなる。
【0008】
更に、圧縮したデータは、格納先毎に、解凍回路を用いて解凍する必要がある。この解凍する時期は、入力されるデータの種類によって異なり、メモリに蓄えられた後に解凍する必要があるもの、格納される際に解凍する必要があるもの等がある。その為、複数の転送先がある場合には、複数の解凍回路を備える必要があり、回路が複雑・大型化する問題がある。
本発明は、上述したような事情に鑑みてなされたものであり、効率のよいパケットデータの送受信を実現できるデータ送受信方法、送信機、受信機及び送受信装置を提供することを目的とする。
【0009】
【課題を解決するための手段】
本発明に係るデータ送受信方法は、ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを送受信するデータ送受信方法において、データを送信する場合は、該データのデータ種類コードにより、該データを圧縮するか否かを判定し、圧縮すると判定したときには、前記ヘッダ識別コードが含まれないように、前記データを圧縮して送信し、データを受信する場合は、該データのデータ種類コードにより、圧縮されたデータであるか否かを判定し、圧縮されたデータであると判定したときは、前記ヘッダ識別コードを検出しながら、データを受信し続け、圧縮されたデータでないと判定したときは、前記ヘッダ識別コードの検出を無効にし、前記データのデータ長コードが示す量のデータを受信することを特徴とする。
【0010】
本発明に係る送信機は、ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを送信する送信機において、送信するデータのデータ種類コードにより、該データを圧縮するか否かを判定する手段と、該手段が圧縮すると判定したときに、前記ヘッダ識別コードが含まれないように、前記データを圧縮する手段と、該手段が圧縮したデータを送信する手段とを備えることを特徴とする。
【0011】
この送信機では、ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを送信する。判定する手段が、送信するデータのデータ種類コードにより、データを圧縮するか否かを判定し、圧縮すると判定したときに、圧縮する手段が、ヘッダ識別コードが含まれないように、データを圧縮する。送信する手段が、その圧縮したデータを送信する。
【0012】
これにより、受信機側で、圧縮されたデータを受信した場合には、圧縮後のデータにヘッダ識別コードが含まれない為、ヘッダ識別コードを検出することにより、連続して送信される複数の異なるデータを区別しながら受信できる。また、受信機側で、非圧縮のデータを受信した場合には、データ長コードにより規定されたデータ長分のデータを受信する為、データを他のデータと区別することが出来る。
【0013】
ここで、データ種類コードの設定において、圧縮効率の高いデータ、例えばGDI(Graphics Device Interface )データを圧縮するコード設定に、データ長が短くまた圧縮効率の悪いデータ、例えば入力γデータを圧縮しないコード設定にすることにより、以下の効果が得られる。
データを圧縮する場合には、圧縮によるデータの転送量が減少する。また、データの受信が何らかの不具合により中断しても、次のデータの開始がヘッダにより判断できるため、前データの途中に次データが混在して両データの区別が出来なくなることはない。
【0014】
データを圧縮しない場合には、圧縮されたデータにヘッダ識別コードが含まれないように圧縮する処理が不要となり、処理の無駄がなくなる。また、データの受信が何らかの不具合により中断した場合においても、タイムアウト処理時間を短く設定することが出来、また、ダミーデータの転送量を少なく出来る。
以上により、効率のよいパケットデータの送信を実行できるデータ送信機を実現することが出来る。
【0015】
本発明に係る受信機は、ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを受信する受信機において、受信したデータのデータ種類コードにより、圧縮されたデータであるか否かを判定する判定手段と、該判定手段が圧縮されたデータであると判定したときは、前記ヘッダ識別コードを検出しながら、データを受信し続ける手段と、前記判定手段が圧縮されたデータでないと判定したときは、前記データ長コードが示す量のデータを受信する受信手段と、該受信手段が受信している間は、前記ヘッダ識別コードの検出を無効にする無効手段とを備えることを特徴とする。
【0016】
この受信機では、ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを受信する。判定手段が、受信したデータのデータ種類コードにより、圧縮されたデータであるか否かを判定し、判定手段が圧縮されたデータであると判定したときは、受信し続ける手段が、ヘッダ識別コードを検出しながら、データを受信し続ける。判定手段が圧縮されたデータでないと判定したときは、受信手段が、データ長コードが示す量のデータを受信し、受信手段が受信している間は、無効手段が、ヘッダ識別コードの検出を無効にする。
【0017】
これにより、圧縮されたデータを受信した場合には、圧縮後のデータにヘッダ識別コードが含まれない為、ヘッダ識別コードを検出することにより、連続して送信される複数の異なるデータを区別しながら受信出来る。また、非圧縮のデータを受信した場合には、データ長コードにより規定されたデータ長分のデータを受信する為、データを他のデータと区別することが出来る。
【0018】
ここで、データ種類コードの設定において、圧縮効率の高いデータ、例えばGDIデータを圧縮するコード設定に、データ長が短くまた圧縮効率の悪いデータ、例えば入力γデータを圧縮しないコード設定にすることにより、以下の効果が得られる。
データを圧縮する場合には、圧縮によるデータの転送量が減少する。また、データの受信が何らかの不具合により中断しても、次のデータの開始がヘッダにより判定できる為、前データの途中に次データが混在して両データの区別が出来なくなることはない。
【0019】
データを圧縮しない場合には、圧縮に伴う処理、つまり、圧縮されたデータにヘッダ識別コードが含まれないように圧縮する処理が不要となり、処理の無駄がなくなる。また、データの受信が何らかの不具合により中断した場合においても、タイムアウト処理時間を短く設定することが出来、また、ダミーデータの転送量を少なく出来る。
以上により、効率のよいパケットデータの受信を実行出来るデータ受信機を実現することが出来る。
【0020】
本発明に係る受信機は、前記判定手段が圧縮されたデータであると判定したときに、受信データを格納する為のバッファメモリと、前記判定手段が圧縮されたデータでないと判定したときに、受信データを格納する為の、前記データ種類コードにより指定された格納先とを更に備えることを特徴とする。
【0021】
この受信機では、判定手段が、圧縮されたデータであると判定したときに、バッファメモリが、受信データを格納し、判定手段が、圧縮されたデータでないと判定したときに、データ種類コードにより指定された格納先が、受信データを格納する。
これにより、圧縮されたデータでない場合には、一旦、バッファメモリに格納されることなく、データの格納先に転送される。つまり、バッファメモリから格納先に転送する処理が不要となる。
従って、受信機内の負荷を減少させることが可能となり、効率のよいパケットデータの受信を実行出来るデータ受信機を実現することが出来る。
【0022】
本発明に係る受信機は、前記受信手段が、前記データ長コードが示す量のデータを受信したときは、前記無効手段を停止すべくなしてあることを特徴とする。
【0023】
この受信機では、受信手段が、データ長コードが示す量のデータを受信したときは、無効手段を停止する。
この受信機は、圧縮していないデータを所定データ量受信すれば、ヘッダ識別コードの検出を有効とする。つまり、次データのパケットヘッダの検出ができない状態(ヘッダ識別コードの検出が無効の状態)から、検出できる状態(ヘッダ識別コードの検出が有効の状態)へと設定を変更する。
従って、受信機内の負荷を減少させることが可能となり、効率のよいパケットデータの受信を実行出来るデータ受信機を実現することが出来る。
【0024】
本発明に係る受信機は、所定時間、受信データが途切れたときに、データ受信を停止する手段を更に備え、該手段が停止したときに、前記無効手段を停止すべくなしてあり、受信データが圧縮されたデータでない場合の前記所定時間は、圧縮されたデータである場合の前記所定時間よりも短く設定してあることを特徴とする。
【0025】
この受信機では、所定時間、受信データが途切れたときに、停止する手段が、データ受信を停止し、その停止したときに、無効手段を停止するように構成してあり、受信データが圧縮されたデータでない場合の前記所定時間は、圧縮されたデータである場合の前記所定時間よりも短く設定してある。
ここで、データの受信が何らかの不具合により中断した場合、非圧縮データは、もともとデータ長の短いデータである為、タイムアウト時間を短く設定することが可能である。
従って、タイムアウト時間の設定を、データにより個別に設定することにより、効率のよいデータの転送が可能となり、効率のよいパケットデータの受信を実行出来るデータ受信機を実現することが出来る。
【0026】
本発明に係る受信機は、前記無効手段を停止している間に、前記ヘッダ識別コード以外から始まるデータを受信したときは、該データの送信側へ警告すべくなしてあることを特徴とする。
【0027】
この受信機では、無効手段を停止している間に、ヘッダ識別コード以外から始まるデータを受信したときは、データの送信側へ警告する。
従って、データの正確な送受信が行われている場合は、ヘッダ識別コードの検出を有効とした後は、ヘッダ識別コードから始まるデータが送受信される。一方、ヘッダ識別コード以外から始まるデータが受信された場合には、送受信障害が発生していると判断できる。
これにより、送受信障害が発生している場合に、引き続くデータを送信機が送信することを制御することが出来、効率のよいパケットデータの受信を実行出来るデータ受信機を実現することが出来る。
【0028】
本発明に係る送受信装置は、ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを送受信する送受信装置において、送信するデータのデータ種類コードにより、該データを圧縮するか否かを判定する手段、該手段が圧縮すると判定したときに、前記ヘッダ識別コードが含まれないように、前記データを圧縮する手段、及び該手段が圧縮したデータを送信する手段を有する送信機と、請求項3乃至7の何れかに記載された受信機とを備え、前記パケットヘッダが付加されたデータを送受信すべくなしてあることを特徴とする。
【0029】
本発明に係るデータ送受信方法及び送受信装置では、ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを送受信する。送信機は、判定する手段が、送信するデータのデータ種類コードにより、データを圧縮するか否かを判定し、圧縮すると判定したときに、圧縮する手段が、ヘッダ識別コードが含まれないように、データを圧縮し、送信する手段が、その圧縮したデータを送信する。また、本発明に係る受信機とを備え、パケットヘッダが付加されたデータを送受信する。
【0030】
これにより、圧縮されたデータを受信する場合には、圧縮後のデータにヘッダ識別コードが含まれない為、ヘッダ識別コードを検出することにより、連続して送信される複数の異なるデータを区別しながら受信できる。また、非圧縮のデータを受信した場合には、データ長コードにより規定されたデータ長分のデータを受信するため、データを他のデータと区別することができる。
【0031】
ここで、データ種類コードの設定において、圧縮効率の高いデータ、例えばGDIデータを圧縮するコード設定に、データ長が短くまた圧縮効率の悪いデータ、例えば入力γデータを圧縮しないコード設定にすることにより、以下の効果が得られる。
データを圧縮する場合には、圧縮によるデータの送受信量が減少する。また、データの受信が何らかの不具合により中断しても、次のデータの開始がヘッダにより判定できるため、前データの途中に、次データが混在して、両データの区別が出来なくなることはない。
【0032】
データを圧縮しない場合には、圧縮に伴う処理、つまり、圧縮されたデータにヘッダ識別コードが含まれないように圧縮する処理が不要となり、処理の無駄がなくなる。また、データの受信が何らかの不具合により中断しても、タイムアウト処理時間を短く設定することが出来、また、ダミーデータの送受信量を少なく出来る。
以上により、効率のよいパケットデータの送受信を実行できるデータ送受信方法及び送受信装置を実現することが出来る。
【0033】
【発明の実施の形態】
以下に、本発明の実施の形態を、それを示す図面に基づき説明する。
図1は、本発明に係るデータ送受信方法、送信機、受信機及び送受信装置の実施の形態である画像形成装置の要部構成を示すブロック図である。この画像形成装置1は、送信機として作動するパーソナルコンピュータ2からのパケットデータを受信する受信機として作動し、受信したパケットデータに基づく画像を出力する。また、コピー機としての画像読取機能も備えている。
【0034】
画像出力装置1は、回路部3を備え、回路部3には、CCD・A/D変換部4、CPU5、SDRAM6、モータ7及びLSU8が接続されている。また、回路部3内部は、メイン回路部9に入力γコントローラ3a、シェーディングコントローラ3b、SDRAMコントローラ3c、モータコントローラ3d及びディザコントローラ3eが接続された構成である。
【0035】
図2は、メイン回路部9の内部構成を示すブロック図である。このメイン回路部9は、パケットデータの種類に応じて、パケットデータの転送方式を切換える回路であり、PC(パーソナルコンピュータ)接続インタフェイス10を通じて、受信したパケットデータが、転送バイト数設定回路11及びセレクタ12に与えられる。転送バイト数設定回路11は、受信するパケットデータのデータ長を設定する回路であり、転送バイト数設定回路11を経由したパケットデータもセレクタ12に与えられる。
セレクタ12は、転送バイト数設定回路オン信号により、転送バイト数設定回路11を経由したパケットデータを選択し、転送バイト数設定回路オン信号が与えられないときは、PC接続インタフェイス10からのパケットデータを選択して出力する。転送バイト数設定回路11は、CPU5へ割込み信号を与える。
【0036】
セレクタ12が、選択して出力したパケットデータは、スイッチ13とセレクタ16とへ与えられる。スイッチ13へ与えられたパケットデータは、ヘッダ検出回路14へ与えられる。スイッチ13には、ラッチ回路15が接続され、スイッチ13の制御信号は、ヘッダ検出回路14から与えられる。ヘッダ検出回路14は、CPU5へ割込み信号を与える。
セレクタ16は、ヘッダ検出回路オン信号が与えられたときは、ヘッダ検出回路14経由にパケットデータを与える。
【0037】
セレクタ16が選択して出力したパケットデータは、INFIFO17(IN First-In First-Out)に与えられ、INFIFO17に一旦入力されたパケットデータは、マルチスイッチ18に与えられる。INFIFO17は、CPU5へ割込み信号を与える。
マルチスイッチ18は、与えられたパス設定信号に従って、与えられたパケットデータを、CPU5、SDRAM6、入力γコントローラ3a又はディザコントローラ3eの何れかに出力する。
また、OUTFIFO19(OUT First-In First-Out )は、CPU5からステータスを設定され、設定されたステータスはPC接続インタフェイス10に与えられる。OUTFIFO19、CPU5へ割込み信号を与える。
【0038】
パケットデータの送受信方法には、上述したように、送受信するパケットデータの前に、そのパケットデータのデータ長情報を含むヘッダを付加し、パケットデータのデータ長を予め規定して送受信する方法(上記第1方法(以下、転送バイトを指定して送受信する方法と称する))と、送受信するパケットデータを圧縮し、この圧縮したデータの前に、圧縮したデータに現れないコードを含むヘッダを付加する方法(上記第2方法(以下、パケット検出を用いてデータを送受信する方法と称する))とがある。
【0039】
本実施の形態においては、データの種類に応じて、上記両方の送受信方法を切換えて、効率の良いデータ転送を実現する。
そこで、データの送信側であるパーソナルコンピュータ2から回路部3へ、データを送信するに際し、予めデータにパケットヘッダを付加する。
転送バイトを指定して転送する方法では、少なくとも、ヘッダにデータ長の情報(データ長コード)が付加されている必要がある。また、パケット検出を用いてデータ転送する方法では、少なくとも、圧縮したデータに現れないコードを含むヘッダが付加されている必要がある。
【0040】
そこで、図3に示すような、IEEE1284.4に定義されている6バイトのパケットヘッダをデータに付加して、データを転送する。この6バイトのパケットヘッダ(ヘッダ部)は、2バイトの先頭Headerデータ(ヘッダ識別コード)、2バイトのLengthデータ(データ長コード)、1バイトのCreditデータ及び1バイトのControlデータ(データ種類コード)から構成されている。
【0041】
Headerデータには、データを圧縮する場合に、データ本体部に現れないコード(例えば、8181)が記される。
Lengthデータには、このパケットヘッダに続くデータ本体のデータ長が記される。
Creditデータには、ベンダー固有のデータが記される。
Controlデータ(データ種類コード)には、パケットデータに続くデータ本体の種類、例えば入力γlut、GDI(Graphics Device Interface )データ等が記される。
【0042】
データ長が短く、データ圧縮効率の悪いデータは、上述したように、パケット検出を用いてデータ転送する方法よりも、転送バイトを指定して送受信する方法の方が送受信効率がよい。
一方、データ長の長いデータは、転送バイトを指定して送受信する方法よりも、パケット検出を用いてデータ転送する方法の方が転送効率がよい。
【0043】
以上のことから、データの送信側であるパーソナルコンピュータ2(送信機)は、データ長が短く、圧縮効率の悪いデータ、例えば、入力γLUT(ルックアップテーブル)、出力γLUT、フィルタ係数、ディザマトリクス、モータ制御用LUT、カラーマッチングLUT及びシューディング補正データは、圧縮せずに、データを転送することとする。
一方、データ長が長いデータ、例えばGDIデータは圧縮して、データ転送を行うこととする。
ここで、データを圧縮するか否かは、Controlデータにより判定するものとする。また、データの受信側である回路部3においても、データが圧縮されたものか否かを、Controlデータにより判定する。
【0044】
図6は、パーソナルコンピュータ2のデータ送信時の動作を示すフローチャートである。
パーソナルコンピュータ2は、先ず、送信データの格納場所により、送信データの種類を判別し、判別した送信データの種類に応じたControlデータを生成する(S111)。
【0045】
パーソナルコンピュータ2は、次に、生成したControlデータ(S111)により、その送信データが、GDIデータ等の圧縮すべき種類であるか否かを判定し(S112)、圧縮すべき種類であれば、パケットヘッダのHeaderデータと同じコードが、圧縮したデータに含まれないように、その送信データを圧縮する(S113)。
パーソナルコンピュータ2は、次に、生成したControlデータ(S111)を、圧縮した送信データのパケットヘッダに付加して(S114)送信する(S115)。
【0046】
パーソナルコンピュータ2は、その送信データが、入力γLUT、出力γLUT、フィルタ係数、ディザマトリクス、モータ制御用LUT、カラーマッチングLUT及びシューディング補正データ等の、圧縮すべきでない種類であれば(S112)、生成したControlデータ(S111)をその送信データのパケットヘッダに付加して(S114)送信する(S115)。
尚、パーソナルコンピュータ2は、以上の送信機としての動作のみではなく、画像出力装置1(メイン回路部9及びCPU5)の後述する受信機としての動作(図7〜10)と同様の動作も行い、送受信装置として作動する。
【0047】
PC接続インタフェイス10は、パーソナルコンピュータ2と受信装置1とを接続し。転送バイト設定回路11は、転送するデータのデータ長を設定し、設定した分の長さのデータを引き続く処理工程に転送する。
セレクタ12は、CPU5が指定するセレクタであり、転送バイト数を設定してデータを転送するか、又は転送バイト数を設定しないでデータを転送するかを選択する。
【0048】
スイッチ13は、ヘッダ検出回路14が指定するスイッチであり、データの先頭2バイトのデータが所定のキャラクタか否かにより、このデータの格納先を変更する。
ヘッダ検出回路14は、2バイトのHeaderデータが、所定のキャラクタ(例えば8181)か否かを判定し、ラッチ回路15は、Headerデータが所定のデータであった場合に、2バイトのLengthデータ、1バイトのCreditデータ及び1バイトのControlデータを格納する。
【0049】
セレクタ16は、ヘッダ検出回路14の検出動作に従って作動し、ヘッダ検出回路14の検出動作で、データが所定のキャラクタでなければ(例えば8153)、そのデータは圧縮されたデータ本体の一部である為、引き続く処理工程に転送する。
INFIFO17は、セレクタ16を介して転送されたデータを受信し、マルチスイッチ18に転送する。
マルチスイッチ18は、CPU5が指定するスイッチである。マルチスイッチ18では、Pathを設定することにより、転送されたデータを、CPU、SDRAM、入力γ又はDither等の経路に振り分け転送する。
【0050】
以下に、メイン回路部9における具体的なパケットデータの転送方法を、それを示す図4,5のメイン回路部9の内部構成を示すブロック図に基づき説明する。
先ず、データ長がGDIデータのように長く、圧縮して転送する方が効率のよい場合には、上述したように、パケット検出を用いてデータ転送する方法を適用する。以下に、この場合のメイン回路9の動作を図4に基づき説明する。
ここで、圧縮してデータを転送するか否かは、予めデータの種類に応じて定められたControlデータにより判断される。
【0051】
先ず、セレクタ12に対して、転送バイト数設定回路11をOFFとする制御信号が、CPU5から与えられる。これにより、PC接続インタフェイス10からメイン回路9に入力されたデータは、転送バイト数設定回路11を介さずに、次の処理工程に転送される。
次に、セレクタ16に、ヘッダ検出回路14をONとする制御信号が、CPU5から与えられる。これにより、データがヘッダ検出回路14に転送される。
【0052】
ヘッダ検出回路14では、転送されたデータが所定のキャラクタ(例えば、8181)か否かの判定を行う。ここで、所定のキャラクタであれば、このキャラクタをHeaderデータであると判定し、この後に続くデータ、つまりLengthデータ、Creditデータ、Controlデータの合計4バイトのデータをラッチ回路格納部15に取り込む。
ここで、ヘッダ検出回路14は、2バイトのHeaderデータ、2バイトのLengthデータ、1バイトのCreditデータ、及び1バイトのControlデータの合計6バイトのパケットデータが揃うと、CPU5に対して割込み処理を発生させる。尚、CPU5は、レジスタを通して、Lengthデータ、Creditデータ、及びControlデータを確認出来る。
【0053】
上記6バイトのパケットデータがヘッダ検出回路14に転送された後は、データ本体、つまりヘッダ部を除いたデータ本体部が、順次、セレクタ16からINFIFO17に転送される。この後、マルチスイッチ18を介して、上記データ本体部が、それぞれの種類に応じた経路に転送される。例えば、GDIデータであれば、SDRAM6に転送される。なお、この経路(Path)の設定は、上記Controlデータにより決定される。
【0054】
データ長が入力γのように短く、圧縮効率の悪いデータの場合には、転送バイトを指定して転送する方法を適用する。以下に、この場合のメイン回路9の動作を図5に基づき説明する。
ここで、転送バイトを指定して転送するか否かは、予めデータの種類に応じて定められたControlデータにより判断される。
【0055】
先ず、セレクタ12に対して、転送バイト数設定回路11をONとする制御信号が、CPU5から与えられる。これにより、PC接続インタフェイス10からメイン回路9に入力されたデータは、転送バイト数設定回路11を介して、次の処理工程に転送される。
転送バイト数設定回路11では、所定の転送バイト数分のデータ転送が許可される。これにより、所定のバイトが転送されて初めて、このデータの転送が完了したものと判定し、次のデータが入力されるのを待つことになる。ここで、転送バイト数設定回路11のバイト数は、Lengthデータにより決定される。
【0056】
次に、セレクタ16にヘッダ検出回路14をOFFとする制御信号が、CPU5から与えられる。これにより、データが、ヘッダ検出回路14を介さずに、順次、INFIFO17に転送される。この後、INFIFO17から、マルチスイッチ18を介して、上記データが、それぞれの種類に応じた経路に転送される。例えば、入力γデータであれば、入力γコントローラ3aに転送される。
このように、圧縮されたデータでない場合には、SDRAM6に格納することなく、Cotrolデータにより指定された格納先(例えば入力γコントローラ3a)に、受信データを直接格納することにより、CPU5の負荷を減少させることができる。
【0057】
INFIFO17は、所定のバイト数を受信終了すると、CPU5に対して割込み通知を発信し、受信が完了したことを知らせる。CPU5は、受信が完了した通知を受け取ると、転送バイト数設定回路11をOFFにする制御信号を出力し、また、ヘッダ検出回路14をONにする制御信号を出力し、次の新たなコマンドを待つ。尚、この経路(Path)の設定は、Controlデータにより決定される。
【0058】
以上のように、PC接続インタフェイス10を介して入力されるデータを、予め、パケット検出を用いる形式のデータと、転送バイトを指定して転送する形式のデータとに分類しておき、メイン回路9では、それぞれのデータ形式に対応した転送経路を選択するように構成する。以上のような構成とすることにより、以下の効果が生じる。
データ長が短く、圧縮効果が悪い為、転送バイト数を指定して転送する形式を取るデータが、何らかの不具合により、そのデータの転送を中断した場合には、データ長が短い為、上述したタイムアウト時間を短く設定することが出来る。あるいは、上述したダミーデータの転送量を少なくすることが出来る。これにより、中断時間を短くすることが出来、効率のよいデータ送受信が可能となる。
【0059】
また、データ長が長く、パケット検出を用いる形式を取るデータが、何らかの不具合により、そのデータの転送を中断した場合には、次に続くデータの始まりを、Headerデータにより認識出来る為、次に続くデータを、中断したデータの途中のデータであると、誤認識することがない。
以上のように、データの種類に応じて転送方法を切り換えることにより、送受信効率を向上させるとともに、データ送受信が中断した場合にも、早期の復旧が可能となり、また、データの誤認識を防止することが可能となる。
【0060】
次に、上述したメイン回路部9及びCPU5の受信機としての動作を、それを示す図7〜10のフローチャートを参照しながら説明する。
先ず、CPU5は、ヘッダ検出回路14をONにし、転送バイト数設定回路11をOFFにする(S1)。つまり、図4に示したように、セレクタ16にヘッダ検出回路14をONとする制御信号を与え、セレクタ12に対して、転送バイト数設定回路11をOFFとする制御信号を与える。
初期状態では、転送バイト数設定回路11は無効になっており、パーソナルコンピュータ2から転送されたデータは、パケットヘッダを検出する為に、ヘッダ検出回路14に転送される。
【0061】
次に、CPU5は、ヘッダ検出回路14からの割込み通知を待ち(S2)、割込み通知が来ると、レジスタからLengthデータ、Creditデータ及びControlデータを読取り(S3)、データがGDIデータであるか否かを、Controlデータにより判定する(S4)。
CPU5は、データがGDIデータであれば(S4)、INFIFO17にデータが残っているか否かを判定し(図8S101)、データが残っていれば、INFIFO17内のデータを空にする(S102)。
【0062】
CPU5は、データが残っていないとき(S101)、又はデータを空にした(S102)後は、パス設定をSDRAMに切り換え(S103)、データをSDRAM7に転送させる。
CPU5は、次に、割込みを解除し(S104)、次のデータが入力されるのを待つ。
【0063】
CPU5は、データがGDIデータでなければ(図7S4)、データが入力γデータであるか否かを判定し(S5)、入力γデータであれば、INFIFO17にデータが残っているか否かを判定する(図9S201)。
CPU5は、INFIFO17にデータが残っていれば(S201)、INFIFO17内のデータを空にする(S202)。
【0064】
CPU5は、INFIFO17にデータが残っていないとき(S201)、又はINFIFO17内のデータを空にした(S202)後は、パケット検出をOFF、つまりヘッダ検出回路をOFFとし、転送バイト数の長さを設定し、設定した転送バイト数分のみのデータを転送し、パス設定を入力γに切り換え、データを入力γに転送する(S203)。
【0065】
CPU5は、次に、タイムアウト処理に備えてタイマをスタートさせ(S204)、割込み処理を解除する(S205)。
CPU5は、次に、割込みがあるか否かを判定し(S206)、割込みがあれば、次のデータが入力されるのを待つ。
CPU5は、割込みがなければ(S206)、所定のタイムアウト時間が経過する迄待機し(S207)、タイムアウト時間が経過したならば、エラー処理を行う(S208)。この後、次のデータの入力を待つ。
【0066】
CPU5は、データが入力γデータでなければ(図7S5)、次の処理に進む。メイン回路9には、GDIデータ、入力γデータ以外にも、Dither(Sn)のような様々なデータが転送されて来る。その為、様々なデータが転送されて来た場合も、GDIデータ(S4)及び入力γデータ(S5)の場合に示したように、データの照合を行い(Sn)、照合が一致すれば、データの種類に応じて、S101〜S104又はS201〜S208と同様の処理を行う。
【0067】
CPU5は、次に、パーソナルコンピュータ2がステータス要求をしているか否かを判定し(Sn+ m)、ステータス要求をしていれば、OUTFIFO19に数バイトのステータス情報をセットする(図10Sn+ m1)。
CPU5は、次に、割込みを解除した(Sn+ m2)後、次の割込みが発生する迄待機する(Sn+ m3)。
CPU5は、次の割り込みが発生すれば(Sn+ m3)、セットしたステータス情報(Sn+ m1)を転送する。この転送が完了すると、OUTFIFO19から転送終了の割り込み通知が発生し、CPU5は、この割り込みを解除し(Sn+ m4)、次のデータの入力を待つ。
【0068】
CPU5は、パーソナルコンピュータ2がステータス要求をしていなければ(Sn+ m)、GDIデータ処理が終了したか否かを判定し(Sn+ m+ 1)、終了していれば、SDRAM6に記録された印刷データであるGDIデータのプリントを開始させる(Sn+ m+ 2)。
CPU5は、GDIデータ処理が終了していなければ(Sn+ m+ 1)、エラーであるか否かを判定し(Sn+ m+ 3)、エラーであれば、エラー処理を行い(Sn+ m+ 4)、次いで、次のデータの入力を待つ。
【0069】
CPU5は、エラーでなければ(Sn+ m+ 3)、未知のコマンドが送られてくる(Sn+ m+ 5)。このような一例としては、ケーブル異常等があげられる。
尚、上述したタイムアウト処理は、転送バイトを指定して転送する方法に適用したが、 これに限られるものではなく、データ長が長くパケット検出を用いる方法にも適用することが可能である。また、転送バイトを指定して転送するデータは、データ長の短いデータである。その為、上述したタイムアウト時間を、パケット検出を用いる方法の場合のタイムアウト時間よりも短く設定することが可能である。従って、タイムアウト時間の設定を、データにより個別に設定することにより、効率のよいデータの送受信が可能となる。
【0070】
【発明の効果】
本発明に係る送信機によれば、効率のよいパケットデータの送信を実行できるデータ送信機を実現することが出来る。
【0071】
本発明に係る受信機によれば、受信機内の負荷を減少させることが可能となり、効率のよいパケットデータの受信を実行出来るデータ受信機を実現することが出来る。
【0072】
本発明に係る受信機によれば、タイムアウト時間の設定を、データにより個別に設定することにより、効率のよいデータの転送が可能となり、効率のよいパケットデータの受信を実行出来るデータ受信機を実現することが出来る。
【0073】
本発明に係る受信機によれば、送受信障害が発生している場合に、引き続くデータを送信機が送信することを制御することが出来、効率のよいパケットデータの受信を実行出来るデータ受信機を実現することが出来る。
【0074】
本発明に係るデータ送受信方法及び送受信装置によれば、効率のよいパケットデータの送受信を実行できるデータ送受信方法及び送受信装置を実現することが出来る。
【図面の簡単な説明】
【図1】本発明に係るデータ送受信方法、送信機、受信機及び送受信装置の実施の形態である画像形成装置の要部構成を示すブロック図である。
【図2】メイン回路部の内部構成を示すブロック図である。
【図3】IEEE1284.4に定義されているパケットヘッダを示す説明図である。
【図4】メイン回路部における具体的なパケットデータの転送方法を示す、その内部構成のブロック図に基づく説明図である。
【図5】メイン回路部における具体的なパケットデータの転送方法を示す、その内部構成のブロック図に基づく説明図である。
【図6】パーソナルコンピュータの動作を示すフローチャートである。
【図7】メイン回路部及びCPUの動作を示すフローチャートである。
【図8】メイン回路部及びCPUの動作を示すフローチャートである。
【図9】メイン回路部及びCPUの動作を示すフローチャートである。
【図10】メイン回路部及びCPUの動作を示すフローチャートである。
【符号の説明】
1 画像形成装置(受信機)
2 パーソナルコンピュータ(送信機)
3 回路部
3a 入力γコントローラ
3b シェーディングコントローラ
3c SDRAMコントローラ
3d モータコントローラ
3e ディザコントローラ
4 CCD・A/D変換部
5 CPU
6 SDRAM
8 LSU
9 メイン回路部
10 PC接続インタフェイス
11 転送バイト数設定回路
12,16 セレクタ
13 スイッチ
14 ヘッダ検出回路
15 ラッチ回路
17 INFIFO
18 マルチスイッチ
19 OUTFIFO
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data transmission / reception method for transmitting / receiving data to which a packet header is added, a transmitter for transmitting data to which a packet header is added, a receiver for receiving data to which a packet header is added, and a packet header. The present invention relates to a transmission / reception apparatus that transmits / receives data.
[0002]
[Prior art]
In data transmission / reception of personal computers and peripheral devices, data is packetized and transmitted / received. There are two main packet transmission / reception methods.
The first method is a method in which a packet header including information on the data length of this data is added before the data to be transmitted, and the data length of the packet is specified in advance. In this method, a break between successive packet data is determined based on the data length described above. That is, the receiving side determines that reception of one packet data is completed only after data reception for the data length is completed.
[0003]
The second method is a method in which data to be transmitted is compressed (for example, Packbits compression), and a packet header including a code that does not appear in the compressed data is added before the compressed data. In this method, a break between successive packet data is determined by detecting the packet header described above. That is, the receiving side detects the start of new data by detecting the packet header. In addition, this method has an advantage that the data transmission / reception speed is increased by the amount of data shortened by compression.
One method of such compression processing is disclosed in Japanese Patent Laid-Open No. 2000-242450.
[0004]
[Problems to be solved by the invention]
However, the first method described above has a problem that the restoration process becomes complicated when data being transmitted / received is interrupted for some reason. This is because it is not determined that the data transfer of the interrupted portion has been completed unless data transmission / reception for the data length is completed. Wait until timeout processing is executed or reach a predetermined data length. Until then, the dummy data must be transmitted.
[0005]
In addition, when transmitting dummy data, if data with a long data length is interrupted in the middle, it takes time to recover as much as the number of transmissions of dummy data increases.
Furthermore, since the first method does not compress data, there is a problem that transmission of data having a long data length takes time for transfer compared to a method of compressing data as in the second method.
[0006]
In the second method, as described above, it is necessary to add a header including a code that does not appear in the compressed data before the compressed data. That is, the data must be compressed so that the code included in the header does not appear in the compressed data.
Therefore, if the data length is short and the compression efficiency is poor, the disadvantage of increasing the effort required for the compression process exceeds the advantage of compressing the data to shorten the data and increasing the data transmission / reception speed. . That is, when the compression efficiency is poor, there is a problem that a series of data transmission / reception processing takes time.
[0007]
In addition, when the same information is not continuous in one data, the number of data may increase due to the compression process.
For example, when 256-byte continuous data from 00 to 255 is compressed using Packbits compression, a 2-byte compression code is required, and since the same number does not appear, 256 bytes from 0 to 255 are used. Are not compressed and total 258 bytes.
[0008]
Furthermore, it is necessary to decompress the compressed data using a decompression circuit for each storage destination. The decompression time varies depending on the type of data to be input, and there are those that need to be decompressed after being stored in the memory, and those that need to be decompressed when stored. Therefore, when there are a plurality of transfer destinations, it is necessary to provide a plurality of decompression circuits, and there is a problem that the circuit becomes complicated and large.
The present invention has been made in view of the above-described circumstances, and an object thereof is to provide a data transmission / reception method, a transmitter, a receiver, and a transmission / reception device that can realize efficient transmission / reception of packet data.
[0009]
[Means for Solving the Problems]
The data transmission / reception method according to the present invention is a data transmission / reception method for transmitting / receiving data to which a packet header including a header identification code, a data length code, and a data type code is added. If it is determined whether to compress the data by code, and if it is determined to be compressed, the data is compressed and transmitted so that the header identification code is not included. The data type code determines whether or not the data is compressed. When it is determined that the data is compressed, the data is continuously received while detecting the header identification code, and the compressed data If it is determined that it is not, the detection of the header identification code is invalidated and the amount of data indicated by the data length code of the data is received. Characterized in that it.
[0010]
A transmitter according to the present invention compresses data by a data type code of data to be transmitted in a transmitter that transmits data to which a packet header including a header identification code, a data length code, and a data type code is added. And means for compressing the data so that the header identification code is not included when it is determined that the means compresses, and means for transmitting the data compressed by the means. It is characterized by providing.
[0011]
In this transmitter, data to which a packet header including a header identification code, a data length code, and a data type code is added is transmitted. The determining means determines whether or not to compress the data according to the data type code of the data to be transmitted. When it is determined that the data is compressed, the compressing means compresses the data so that the header identification code is not included. To do. A means for transmitting transmits the compressed data.
[0012]
Accordingly, when the compressed data is received at the receiver side, since the header identification code is not included in the compressed data, a plurality of pieces of data transmitted continuously are detected by detecting the header identification code. Different data can be received while being distinguished. Further, when uncompressed data is received on the receiver side, data corresponding to the data length defined by the data length code is received, so that the data can be distinguished from other data.
[0013]
Here, in the data type code setting, the code setting that compresses data with high compression efficiency, for example, GDI (Graphics Device Interface) data, and the data that has a short data length and poor compression efficiency, for example, code that does not compress input γ data. By setting, the following effects can be obtained.
When data is compressed, the amount of data transferred by the compression is reduced. Even if the data reception is interrupted due to some trouble, the start of the next data can be determined by the header, so that the next data is not mixed in the middle of the previous data and the two data cannot be distinguished.
[0014]
When the data is not compressed, the process of compressing the compressed data so that the header identification code is not included is unnecessary, and the process is not wasted. Further, even when data reception is interrupted due to some trouble, the timeout processing time can be set short, and the transfer amount of dummy data can be reduced.
As described above, a data transmitter that can efficiently transmit packet data can be realized.
[0015]
The receiver according to the present invention is a receiver that receives data to which a packet header including a header identification code, a data length code, and a data type code is added, and is compressed with the data type code of the received data. A determination unit that determines whether or not there is, a unit that continues to receive data while detecting the header identification code when the determination unit determines that the data is compressed, and the determination unit is compressed A receiving means for receiving the amount of data indicated by the data length code, and an invalidating means for invalidating the detection of the header identification code while the receiving means is receiving. It is characterized by providing.
[0016]
This receiver receives data to which a packet header including a header identification code, a data length code, and a data type code is added. The determining means determines whether or not the data is compressed based on the data type code of the received data. When the determining means determines that the data is compressed, the means for continuing to receive the header identification code While receiving data, it continues to receive data. When the determining means determines that the data is not compressed, the receiving means receives the amount of data indicated by the data length code, and while the receiving means is receiving, the invalid means detects the header identification code. To disable.
[0017]
As a result, when compressed data is received, the header identification code is not included in the compressed data. Therefore, by detecting the header identification code, a plurality of different data that are transmitted continuously can be distinguished. Can be received. When uncompressed data is received, data for the data length defined by the data length code is received, so that the data can be distinguished from other data.
[0018]
Here, in setting the data type code, the code setting for compressing data with high compression efficiency, for example GDI data, is set to the code setting for compressing data with a short data length and poor compression efficiency, for example, input γ data. The following effects can be obtained.
When data is compressed, the amount of data transferred by the compression is reduced. Even if the reception of data is interrupted due to some trouble, the start of the next data can be determined by the header, so that the next data is not mixed in the middle of the previous data and the two data cannot be distinguished.
[0019]
If the data is not compressed, the process associated with the compression, that is, the process of compressing the compressed data so that the header identification code is not included is unnecessary, and the process is not wasted. Further, even when data reception is interrupted due to some trouble, the timeout processing time can be set short, and the transfer amount of dummy data can be reduced.
As described above, a data receiver that can efficiently receive packet data can be realized.
[0020]
When the receiver according to the present invention determines that the determining means is compressed data, a buffer memory for storing received data, and when the determining means determines that the data is not compressed, And a storage location specified by the data type code for storing received data.
[0021]
In this receiver, when the determination means determines that the data is compressed, the buffer memory stores the received data, and when the determination means determines that the data is not compressed, the data type code The specified storage location stores the received data.
As a result, if the data is not compressed, it is transferred to the data storage destination without being stored in the buffer memory. That is, the process of transferring from the buffer memory to the storage destination becomes unnecessary.
Therefore, the load in the receiver can be reduced, and a data receiver capable of efficiently receiving packet data can be realized.
[0022]
The receiver according to the present invention is characterized in that the invalidating means is stopped when the receiving means receives the amount of data indicated by the data length code.
[0023]
In this receiver, when the receiving means receives the amount of data indicated by the data length code, the invalidating means is stopped.
If this receiver receives a predetermined amount of uncompressed data, the receiver validates the detection of the header identification code. That is, the setting is changed from a state in which the packet header of the next data cannot be detected (header identification code detection is invalid) to a state in which detection is possible (header identification code detection is valid).
Therefore, the load in the receiver can be reduced, and a data receiver capable of efficiently receiving packet data can be realized.
[0024]
The receiver according to the present invention further includes means for stopping data reception when reception data is interrupted for a predetermined time, and when the means stops, the invalidation means is to be stopped. The predetermined time when the data is not compressed data is set shorter than the predetermined time when the data is compressed data.
[0025]
In this receiver, when the reception data is interrupted for a predetermined time, the means for stopping the data reception is stopped, and when the data is stopped, the invalid means is stopped, and the reception data is compressed. The predetermined time in the case of non-consecutive data is set shorter than the predetermined time in the case of compressed data.
Here, when the reception of data is interrupted due to some trouble, the uncompressed data is originally data with a short data length, so that the timeout time can be set short.
Therefore, by setting the timeout time individually by data, it is possible to transfer data efficiently, and it is possible to realize a data receiver that can efficiently receive packet data.
[0026]
The receiver according to the present invention is characterized in that when data starting from other than the header identification code is received while the invalidating means is stopped, a warning is sent to the data transmitting side. .
[0027]
In this receiver, when data starting from other than the header identification code is received while the invalid means is stopped, a warning is sent to the data transmission side.
Therefore, when data is accurately transmitted and received, data starting from the header identification code is transmitted and received after enabling the detection of the header identification code. On the other hand, when data starting from other than the header identification code is received, it can be determined that a transmission / reception failure has occurred.
As a result, when a transmission / reception failure occurs, it is possible to control a transmitter to transmit subsequent data, and it is possible to realize a data receiver that can efficiently receive packet data.
[0028]
The transmission / reception apparatus according to the present invention compresses the data by the data type code of the data to be transmitted in the transmission / reception apparatus that transmits / receives data to which a packet header including a header identification code, a data length code, and a data type code is added. A means for determining whether or not the data is compressed, and means for compressing the data so that the header identification code is not included when the means determines to compress, and means for transmitting the compressed data by the means And a receiver according to any one of claims 3 to 7, wherein the data to which the packet header is added is transmitted and received.
[0029]
The data transmission / reception method and transmission / reception apparatus according to the present invention transmits / receives data to which a packet header including a header identification code, a data length code, and a data type code is added. The transmitter determines whether or not to compress the data based on the data type code of the data to be transmitted, and when determining that the data is to be compressed, the means for compressing does not include the header identification code. The means for compressing and transmitting the data transmits the compressed data. In addition, it includes a receiver according to the present invention, and transmits and receives data to which a packet header is added.
[0030]
As a result, when receiving compressed data, since the header identification code is not included in the compressed data, the header identification code is detected to distinguish a plurality of different data that are transmitted continuously. Can be received. When uncompressed data is received, data for the data length specified by the data length code is received, so that the data can be distinguished from other data.
[0031]
Here, in setting the data type code, the code setting for compressing data with high compression efficiency, for example GDI data, is set to the code setting for compressing data with a short data length and poor compression efficiency, for example, input γ data. The following effects can be obtained.
When data is compressed, the amount of data transmitted and received by the compression is reduced. Even if the data reception is interrupted due to some trouble, the start of the next data can be determined by the header. Therefore, the next data is not mixed in the middle of the previous data, and the two data cannot be distinguished.
[0032]
If the data is not compressed, the process associated with the compression, that is, the process of compressing the compressed data so that the header identification code is not included is unnecessary, and the process is not wasted. Even if data reception is interrupted due to some trouble, the timeout processing time can be set short, and the transmission / reception amount of dummy data can be reduced.
As described above, it is possible to realize a data transmission / reception method and transmission / reception apparatus capable of performing efficient packet data transmission / reception.
[0033]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings showing the embodiments.
FIG. 1 is a block diagram showing a main configuration of an image forming apparatus which is an embodiment of a data transmission / reception method, a transmitter, a receiver, and a transmission / reception apparatus according to the present invention. The image forming apparatus 1 operates as a receiver that receives packet data from the personal computer 2 that operates as a transmitter, and outputs an image based on the received packet data. It also has an image reading function as a copier.
[0034]
The image output apparatus 1 includes a circuit unit 3, to which a CCD / A / D conversion unit 4, a CPU 5, an SDRAM 6, a motor 7 and an LSU 8 are connected. In the circuit unit 3, the main circuit unit 9 is connected to an input γ controller 3a, a shading controller 3b, an SDRAM controller 3c, a motor controller 3d, and a dither controller 3e.
[0035]
FIG. 2 is a block diagram showing an internal configuration of the main circuit unit 9. The main circuit unit 9 is a circuit that switches the packet data transfer method according to the type of packet data. The packet data received through the PC (personal computer) connection interface 10 is transferred to the transfer byte number setting circuit 11 and It is given to the selector 12. The transfer byte number setting circuit 11 is a circuit for setting the data length of the received packet data, and the packet data via the transfer byte number setting circuit 11 is also given to the selector 12.
The selector 12 selects packet data that has passed through the transfer byte number setting circuit 11 in response to the transfer byte number setting circuit ON signal. When the transfer byte number setting circuit ON signal is not given, the selector 12 sends a packet from the PC connection interface 10. Select and output data. The transfer byte number setting circuit 11 gives an interrupt signal to the CPU 5.
[0036]
The packet data selected and output by the selector 12 is given to the switch 13 and the selector 16. The packet data given to the switch 13 is given to the header detection circuit 14. A latch circuit 15 is connected to the switch 13, and a control signal for the switch 13 is supplied from the header detection circuit 14. The header detection circuit 14 gives an interrupt signal to the CPU 5.
The selector 16 gives packet data via the header detection circuit 14 when the header detection circuit ON signal is given.
[0037]
The packet data selected and output by the selector 16 is given to an INF FIFO 17 (IN First-In First-Out), and the packet data once inputted to the INF FIFO 17 is given to the multi-switch 18. The INF FIFO 17 gives an interrupt signal to the CPU 5.
The multi-switch 18 outputs the given packet data to any of the CPU 5, SDRAM 6, input γ controller 3a or dither controller 3e in accordance with the given path setting signal.
The status of OUTFIFO 19 (OUT First-In First-Out) is set by the CPU 5, and the set status is given to the PC connection interface 10. An interrupt signal is given to the OUTFIFO 19 and the CPU 5.
[0038]
In the packet data transmission / reception method, as described above, a header including the data length information of the packet data is added before the packet data to be transmitted / received, and the packet data transmission / reception method is defined (described above). The first method (hereinafter referred to as a method for transmitting / receiving by specifying a transfer byte) and packet data to be transmitted / received are compressed, and a header including a code that does not appear in the compressed data is added before the compressed data. Method (the second method described above (hereinafter referred to as a method of transmitting and receiving data using packet detection)).
[0039]
In the present embodiment, both of the above transmission / reception methods are switched according to the type of data to realize efficient data transfer.
Therefore, when data is transmitted from the personal computer 2 on the data transmission side to the circuit unit 3, a packet header is added to the data in advance.
In the method of transferring by designating transfer bytes, at least data length information (data length code) needs to be added to the header. In the method of transferring data using packet detection, at least a header including a code that does not appear in the compressed data needs to be added.
[0040]
Therefore, a 6-byte packet header defined in IEEE1284.4 as shown in FIG. 3 is added to the data to transfer the data. This 6-byte packet header (header part) is composed of 2-byte head header data (header identification code), 2-byte length data (data length code), 1-byte credit data, and 1-byte control data (data type code). ).
[0041]
In the header data, a code (for example, 8181) that does not appear in the data body portion when the data is compressed is written.
In the Length data, the data length of the data body following this packet header is described.
Vendor-specific data is written in Credit data.
Control data (data type code) describes the type of data body following packet data, for example, input γlut, GDI (Graphics Device Interface) data, and the like.
[0042]
For data with a short data length and poor data compression efficiency, as described above, the method of transmitting / receiving data by specifying a transfer byte has better transmission / reception efficiency than the method of transferring data using packet detection.
On the other hand, for data with a long data length, the method of transferring data using packet detection has better transfer efficiency than the method of sending and receiving data by designating transfer bytes.
[0043]
From the above, the personal computer 2 (transmitter) on the data transmission side has a short data length and poor compression efficiency, such as an input γLUT (lookup table), an output γLUT, a filter coefficient, a dither matrix, The motor control LUT, color matching LUT, and shoe correction data are transferred without being compressed.
On the other hand, data having a long data length, such as GDI data, is compressed and transferred.
Here, whether or not the data is compressed is determined based on the control data. The circuit unit 3 on the data receiving side also determines whether or not the data is compressed based on the control data.
[0044]
FIG. 6 is a flowchart showing the operation of the personal computer 2 during data transmission.
First, the personal computer 2 determines the type of transmission data based on the storage location of the transmission data, and generates Control data according to the determined type of transmission data (S111).
[0045]
Next, the personal computer 2 determines whether or not the transmission data is a type to be compressed, such as GDI data, based on the generated control data (S111) (S112). The transmission data is compressed so that the same code as the header data of the packet header is not included in the compressed data (S113).
Next, the personal computer 2 adds the generated control data (S111) to the packet header of the compressed transmission data (S114) and transmits it (S115).
[0046]
If the transmission data is a type that should not be compressed, such as an input γLUT, an output γLUT, a filter coefficient, a dither matrix, a motor control LUT, a color matching LUT, and a shoe correction data (S112), The generated control data (S111) is added to the packet header of the transmission data (S114) and transmitted (S115).
Note that the personal computer 2 performs not only the above-described operation as a transmitter, but also the same operation as an operation (FIGS. 7 to 10) as a later-described receiver of the image output apparatus 1 (main circuit unit 9 and CPU 5). Operates as a transmitting / receiving device.
[0047]
The PC connection interface 10 connects the personal computer 2 and the receiving device 1. The transfer byte setting circuit 11 sets the data length of the data to be transferred, and transfers the set length of data to the subsequent processing step.
The selector 12 is a selector designated by the CPU 5 and selects whether to transfer data by setting the number of transfer bytes, or to transfer data without setting the number of transfer bytes.
[0048]
The switch 13 is a switch designated by the header detection circuit 14, and changes the storage destination of this data depending on whether or not the first two bytes of data are a predetermined character.
The header detection circuit 14 determines whether or not the 2-byte header data is a predetermined character (for example, 8181). When the header data is the predetermined data, the latch circuit 15 stores the 2-byte length data, 1-byte Credit data and 1-byte Control data are stored.
[0049]
The selector 16 operates according to the detection operation of the header detection circuit 14. If the data is not a predetermined character (for example, 8153) in the detection operation of the header detection circuit 14, the data is a part of the compressed data body. Therefore, it is transferred to the subsequent processing step.
The INF FIFO 17 receives the data transferred via the selector 16 and transfers it to the multi-switch 18.
The multi switch 18 is a switch designated by the CPU 5. In the multi-switch 18, by setting the Path, the transferred data is distributed and transferred to a route such as CPU, SDRAM, input γ or Dither.
[0050]
Hereinafter, a specific packet data transfer method in the main circuit unit 9 will be described with reference to a block diagram showing the internal configuration of the main circuit unit 9 in FIGS.
First, when the data length is as long as GDI data and it is more efficient to transfer the compressed data, a method of transferring data using packet detection is applied as described above. The operation of the main circuit 9 in this case will be described below with reference to FIG.
Here, whether or not the data is transferred after being compressed is determined based on the Control data determined in advance according to the type of data.
[0051]
First, a control signal for turning off the transfer byte number setting circuit 11 is given from the CPU 5 to the selector 12. Thereby, the data input from the PC connection interface 10 to the main circuit 9 is transferred to the next processing step without going through the transfer byte number setting circuit 11.
Next, a control signal for turning on the header detection circuit 14 is supplied from the CPU 5 to the selector 16. As a result, the data is transferred to the header detection circuit 14.
[0052]
The header detection circuit 14 determines whether or not the transferred data is a predetermined character (for example, 8181). Here, if it is a predetermined character, it is determined that this character is Header data, and subsequent data, that is, data of a total of 4 bytes of Length data, Credit data, and Control data is taken into the latch circuit storage unit 15.
Here, the header detection circuit 14 performs an interrupt process on the CPU 5 when packet data of a total of 6 bytes including 2 bytes of Header data, 2 bytes of Length data, 1 byte of Credit data, and 1 byte of Control data is prepared. Is generated. The CPU 5 can confirm the Length data, Credit data, and Control data through the register.
[0053]
After the 6-byte packet data is transferred to the header detection circuit 14, the data body, that is, the data body part excluding the header part is sequentially transferred from the selector 16 to the INF FIFO 17. Thereafter, the data body is transferred to a route corresponding to each type via the multi-switch 18. For example, GDI data is transferred to the SDRAM 6. The setting of the path (Path) is determined by the control data.
[0054]
If the data length is as short as the input γ and the compression efficiency is poor, a method of transferring by specifying a transfer byte is applied. The operation of the main circuit 9 in this case will be described below with reference to FIG.
Here, whether or not to transfer by designating a transfer byte is determined by Control data determined in advance according to the type of data.
[0055]
First, a control signal for turning on the transfer byte number setting circuit 11 is supplied from the CPU 5 to the selector 12. As a result, the data input from the PC connection interface 10 to the main circuit 9 is transferred to the next processing step via the transfer byte number setting circuit 11.
In the transfer byte number setting circuit 11, data transfer for a predetermined transfer byte number is permitted. Thus, it is determined that the transfer of this data has been completed only after a predetermined byte is transferred, and the next data is waited for to be input. Here, the number of bytes of the transfer byte number setting circuit 11 is determined by the Length data.
[0056]
Next, a control signal for turning off the header detection circuit 14 is given to the selector 16 from the CPU 5. Thereby, the data is sequentially transferred to the INF FIFO 17 without going through the header detection circuit 14. Thereafter, the data is transferred from the INF FIFO 17 via the multi-switch 18 to a route corresponding to each type. For example, if it is input γ data, it is transferred to the input γ controller 3a.
As described above, when the data is not compressed, the received data is directly stored in the storage destination (for example, the input γ controller 3a) specified by the Control data without being stored in the SDRAM 6, thereby reducing the load on the CPU 5. Can be reduced.
[0057]
When the reception of the predetermined number of bytes is completed, the INF FIFO 17 sends an interrupt notification to the CPU 5 to notify the completion of reception. Upon receiving the notification of completion of reception, the CPU 5 outputs a control signal for turning off the transfer byte number setting circuit 11, outputs a control signal for turning on the header detection circuit 14, and outputs the next new command. wait. The setting of this path (Path) is determined by the Control data.
[0058]
As described above, data input via the PC connection interface 10 is classified in advance into data in a format using packet detection and data in a format to be transferred by specifying a transfer byte. 9 is configured to select a transfer path corresponding to each data format. With the above configuration, the following effects are produced.
Since the data length is short and the compression effect is bad, the data that takes the form of transferring by specifying the number of transfer bytes is interrupted due to some trouble, the data length is short, so the timeout described above Time can be set short. Alternatively, the above-described dummy data transfer amount can be reduced. Thereby, interruption time can be shortened and efficient data transmission / reception is attained.
[0059]
In addition, when the data length is long and the data using the packet detection format is interrupted due to some trouble, the next data can be recognized by the header data. Data is not erroneously recognized as data that is in the middle of interrupted data.
As described above, by switching the transfer method according to the type of data, transmission / reception efficiency is improved, and even when data transmission / reception is interrupted, early recovery is possible, and erroneous recognition of data is prevented. It becomes possible.
[0060]
Next, operations of the main circuit unit 9 and the CPU 5 as receivers will be described with reference to the flowcharts of FIGS.
First, the CPU 5 turns on the header detection circuit 14 and turns off the transfer byte number setting circuit 11 (S1). That is, as shown in FIG. 4, a control signal for turning on the header detection circuit 14 is given to the selector 16, and a control signal for turning off the transfer byte number setting circuit 11 is given to the selector 12.
In the initial state, the transfer byte count setting circuit 11 is disabled, and the data transferred from the personal computer 2 is transferred to the header detection circuit 14 in order to detect the packet header.
[0061]
Next, the CPU 5 waits for an interrupt notification from the header detection circuit 14 (S2). When the interrupt notification is received, the length data, credit data and control data are read from the register (S3), and whether or not the data is GDI data. Is determined from the control data (S4).
If the data is GDI data (S4), the CPU 5 determines whether data remains in the INF FIFO 17 (S101 in FIG. 8). If data remains, the data in the INF FIFO 17 is emptied (S102).
[0062]
When there is no remaining data (S101) or after the data is emptied (S102), the CPU 5 switches the path setting to SDRAM (S103) and transfers the data to the SDRAM 7.
Next, the CPU 5 releases the interrupt (S104) and waits for the next data to be input.
[0063]
If the data is not GDI data (S4 in FIG. 7), the CPU 5 determines whether the data is input γ data (S5). If the data is input γ data, the CPU 5 determines whether data remains in the INF FIFO 17 or not. (S201 in FIG. 9).
If data remains in the INF FIFO 17 (S201), the CPU 5 empties the data in the INF FIFO 17 (S202).
[0064]
When there is no data remaining in the INF FIFO 17 (S201) or after emptying the data in the INF FIFO 17 (S202), the CPU 5 turns off the packet detection, that is, turns off the header detection circuit, and sets the length of the number of transfer bytes. Set, transfer data for the set number of transfer bytes, switch the path setting to input γ, and transfer the data to input γ (S203).
[0065]
Next, the CPU 5 starts a timer in preparation for timeout processing (S204), and cancels interrupt processing (S205).
Next, the CPU 5 determines whether or not there is an interrupt (S206), and if there is an interrupt, waits for the next data to be input.
If there is no interruption (S206), the CPU 5 waits until a predetermined timeout time elapses (S207), and if the timeout time elapses, performs an error process (S208). Thereafter, the input of the next data is awaited.
[0066]
If the data is not input γ data (S5 in FIG. 7), the CPU 5 proceeds to the next process. In addition to GDI data and input γ data, various data such as Dither (Sn) is transferred to the main circuit 9. Therefore, even when various data are transferred, as shown in the case of the GDI data (S4) and the input γ data (S5), the data is collated (Sn). Processing similar to S101 to S104 or S201 to S208 is performed according to the type of data.
[0067]
Next, the CPU 5 determines whether or not the personal computer 2 has made a status request (Sn + m), and if it has made a status request, sets several bytes of status information in the OUTFIFO 19 (FIG. 10 Sn + m1). ).
Next, after canceling the interrupt (Sn + m2), the CPU 5 waits until the next interrupt occurs (Sn + m3).
When the next interrupt occurs (Sn + m3), the CPU 5 transfers the set status information (Sn + m1). When this transfer is completed, a transfer end interrupt notification is generated from the OUTFIFO 19, and the CPU 5 cancels this interrupt (Sn + m4) and waits for the next data input.
[0068]
If the personal computer 2 has not made a status request (Sn + m), the CPU 5 determines whether or not the GDI data processing has been completed (Sn + m + 1), and if it has been completed, it is recorded in the SDRAM 6. Printing of GDI data, which is the print data, is started (Sn + m + 2).
If the GDI data processing has not ended (Sn + m + 1), the CPU 5 determines whether or not there is an error (Sn + m + 3). If it is an error, the CPU 5 performs error processing (Sn + m). + 4) Then wait for input of next data.
[0069]
If there is no error (Sn + m + 3), the CPU 5 sends an unknown command (Sn + m + 5). One example of this is a cable abnormality.
The time-out process described above is applied to a method of transferring by specifying a transfer byte, but is not limited to this, and can also be applied to a method of using a packet detection with a long data length. Further, data transferred by designating transfer bytes is data having a short data length. Therefore, it is possible to set the above-described timeout time to be shorter than the timeout time in the method using packet detection. Accordingly, by setting the timeout time individually by data, efficient data transmission / reception is possible.
[0070]
【The invention's effect】
The transmitter according to the present invention can realize a data transmitter capable of performing efficient packet data transmission.
[0071]
According to the receiver of the present invention, it is possible to reduce the load in the receiver, and it is possible to realize a data receiver that can efficiently receive packet data.
[0072]
According to the receiver of the present invention, by setting the timeout time individually by data, it is possible to transfer data efficiently and realize a data receiver capable of executing efficient packet data reception. I can do it.
[0073]
According to the receiver of the present invention, when a transmission / reception failure occurs, a data receiver capable of controlling the transmitter to transmit subsequent data and performing efficient packet data reception is provided. Can be realized.
[0074]
According to the data transmission / reception method and transmission / reception apparatus according to the present invention, it is possible to realize a data transmission / reception method and transmission / reception apparatus capable of efficiently transmitting / receiving packet data.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a main configuration of an image forming apparatus as an embodiment of a data transmission / reception method, a transmitter, a receiver, and a transmission / reception apparatus according to the present invention.
FIG. 2 is a block diagram showing an internal configuration of a main circuit unit.
FIG. 3 is an explanatory diagram showing a packet header defined in IEEE1284.4.
FIG. 4 is an explanatory diagram based on a block diagram of an internal configuration showing a specific packet data transfer method in the main circuit unit;
FIG. 5 is an explanatory diagram based on a block diagram of the internal configuration, showing a specific packet data transfer method in the main circuit unit;
FIG. 6 is a flowchart showing the operation of the personal computer.
FIG. 7 is a flowchart showing operations of a main circuit unit and a CPU.
FIG. 8 is a flowchart showing operations of a main circuit unit and a CPU.
FIG. 9 is a flowchart showing operations of the main circuit unit and the CPU.
FIG. 10 is a flowchart showing operations of a main circuit unit and a CPU.
[Explanation of symbols]
1 Image forming device (receiver)
2 Personal computer (transmitter)
3 Circuit part
3a Input γ controller
3b Shading controller
3c SDRAM controller
3d motor controller
3e Dither controller
4 CCD / A / D converter
5 CPU
6 SDRAM
8 LSU
9 Main circuit section
10 PC connection interface
11 Transfer byte count setting circuit
12,16 selector
13 switch
14 Header detection circuit
15 Latch circuit
17 INFIFO
18 Multi-switch
19 OUTFIFO

Claims (8)

ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを送受信するデータ送受信方法において、
データを送信する場合は、該データのデータ種類コードにより、該データを圧縮するか否かを判定し、圧縮すると判定したときには、前記ヘッダ識別コードが含まれないように、前記データを圧縮して送信し、データを受信する場合は、該データのデータ種類コードにより、圧縮されたデータであるか否かを判定し、圧縮されたデータであると判定したときは、前記ヘッダ識別コードを検出しながら、データを受信し続け、圧縮されたデータでないと判定したときは、前記ヘッダ識別コードの検出を無効にし、前記データのデータ長コードが示す量のデータを受信することを特徴とするデータ送受信方法。
In a data transmission / reception method for transmitting / receiving data to which a packet header including a header identification code, a data length code, and a data type code is added,
When transmitting data, the data type code of the data is used to determine whether to compress the data. When it is determined that the data is compressed, the data is compressed so that the header identification code is not included. When transmitting and receiving data, the data type code of the data determines whether it is compressed data. When it is determined that the data is compressed, the header identification code is detected. However, the data transmission / reception characterized by continuing to receive data and invalidating detection of the header identification code and receiving the amount of data indicated by the data length code of the data when it is determined that the data is not compressed data Method.
ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを送信する送信機において、
送信するデータのデータ種類コードにより、該データを圧縮するか否かを判定する手段と、該手段が圧縮すると判定したときに、前記ヘッダ識別コードが含まれないように、前記データを圧縮する手段と、該手段が圧縮したデータを送信する手段とを備えることを特徴とする送信機。
In a transmitter for transmitting data to which a packet header including a header identification code, a data length code, and a data type code is added,
Means for determining whether or not to compress the data according to the data type code of the data to be transmitted, and means for compressing the data so that the header identification code is not included when the means determines to compress And a means for transmitting data compressed by the means.
ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを受信する受信機において、
受信したデータのデータ種類コードにより、圧縮されたデータであるか否かを判定する判定手段と、該判定手段が圧縮されたデータであると判定したときは、前記ヘッダ識別コードを検出しながら、データを受信し続ける手段と、前記判定手段が圧縮されたデータでないと判定したときは、前記データ長コードが示す量のデータを受信する受信手段と、該受信手段が受信している間は、前記ヘッダ識別コードの検出を無効にする無効手段とを備えることを特徴とする受信機。
In a receiver that receives data to which a packet header including a header identification code, a data length code, and a data type code is added,
The determination means for determining whether or not the data is compressed by the data type code of the received data, and when the determination means determines that the data is compressed, while detecting the header identification code, When the means for continuing to receive data and the determination means determines that the data is not compressed, the reception means for receiving the amount of data indicated by the data length code, and while the reception means is receiving, A receiver comprising invalid means for invalidating detection of the header identification code.
前記判定手段が圧縮されたデータであると判定したときに、受信データを格納する為のバッファメモリと、前記判定手段が圧縮されたデータでないと判定したときに、受信データを格納する為の、前記データ種類コードにより指定された格納先とを更に備える請求項3記載の受信機。  A buffer memory for storing received data when the determining means determines that the data is compressed; and a buffer memory for storing received data when the determining means determines that the data is not compressed; The receiver according to claim 3, further comprising a storage location designated by the data type code. 前記受信手段が、前記データ長コードが示す量のデータを受信したときは、前記無効手段を停止すべくなしてある請求項3又は4記載の受信機。  The receiver according to claim 3 or 4, wherein when the receiving means receives the amount of data indicated by the data length code, the invalid means is stopped. 所定時間、受信データが途切れたときに、データ受信を停止する手段を更に備え、該手段が停止したときに、前記無効手段を停止すべくなしてあり、受信データが圧縮されたデータでない場合の前記所定時間は、圧縮されたデータである場合の前記所定時間よりも短く設定してある請求項3乃至5の何れかに記載の受信機。  A means for stopping data reception when the received data is interrupted for a predetermined time; and when the means is stopped, the invalidation means is to be stopped, and the received data is not compressed data. The receiver according to claim 3, wherein the predetermined time is set shorter than the predetermined time in the case of compressed data. 前記無効手段を停止している間に、前記ヘッダ識別コード以外から始まるデータを受信したときは、該データの送信側へ警告すべくなしてある請求項5又は6記載の受信機。  7. The receiver according to claim 5, wherein when data starting from other than the header identification code is received while the invalidating means is stopped, a warning is given to a transmitting side of the data. ヘッダ識別コード、データ長コード、及びデータ種類コードを含むパケットヘッダが付加されたデータを送受信する送受信装置において、
送信するデータのデータ種類コードにより、該データを圧縮するか否かを判定する手段、該手段が圧縮すると判定したときに、前記ヘッダ識別コードが含まれないように、前記データを圧縮する手段、及び該手段が圧縮したデータを送信する手段を有する送信機と、請求項3乃至7の何れかに記載された受信機とを備え、前記パケットヘッダが付加されたデータを送受信すべくなしてあることを特徴とする送受信装置。
In a transmission / reception device that transmits / receives data to which a packet header including a header identification code, a data length code, and a data type code is added,
Means for determining whether or not to compress the data according to the data type code of the data to be transmitted; means for compressing the data so that the header identification code is not included when the means determines to compress; And a transmitter having means for transmitting the compressed data, and a receiver according to any one of claims 3 to 7, wherein the data to which the packet header is added is transmitted and received. A transmitting / receiving apparatus characterized by the above.
JP2002183595A 2002-06-24 2002-06-24 Data transmission / reception method, transmitter, receiver, and transmitter / receiver Expired - Fee Related JP3949012B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002183595A JP3949012B2 (en) 2002-06-24 2002-06-24 Data transmission / reception method, transmitter, receiver, and transmitter / receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002183595A JP3949012B2 (en) 2002-06-24 2002-06-24 Data transmission / reception method, transmitter, receiver, and transmitter / receiver

Publications (2)

Publication Number Publication Date
JP2004032214A JP2004032214A (en) 2004-01-29
JP3949012B2 true JP3949012B2 (en) 2007-07-25

Family

ID=31179763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002183595A Expired - Fee Related JP3949012B2 (en) 2002-06-24 2002-06-24 Data transmission / reception method, transmitter, receiver, and transmitter / receiver

Country Status (1)

Country Link
JP (1) JP3949012B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5098853B2 (en) * 2008-06-30 2012-12-12 トヨタ自動車株式会社 Data rewriting method, data rewriting device, and data management device
JP6551054B2 (en) 2015-08-26 2019-07-31 セイコーエプソン株式会社 Driver program and control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59189751A (en) * 1983-04-12 1984-10-27 Fujitsu Ltd Data transmission control system
JP3342236B2 (en) * 1995-06-09 2002-11-05 キヤノン株式会社 Information processing apparatus and control method therefor
JP3578885B2 (en) * 1997-04-23 2004-10-20 日本電信電話株式会社 Message communication method
JP2001188728A (en) * 1999-12-28 2001-07-10 Toshiba Corp Communication system and method for controlling the same

Also Published As

Publication number Publication date
JP2004032214A (en) 2004-01-29

Similar Documents

Publication Publication Date Title
US7548736B2 (en) Transmitter, receiver, data transfer system, transmission method, reception method, computer program for transmission, computer program for reception, and recording medium
US7295338B2 (en) Status information acquisition from plural functions included in image processing apparatus
US20030197886A1 (en) Energy-saving control in image processing apparatus
JP3949012B2 (en) Data transmission / reception method, transmitter, receiver, and transmitter / receiver
JP5822470B2 (en) Information processing apparatus, control method thereof, and storage medium
JP4474873B2 (en) Image processing device
JPH06121099A (en) Transmission and reception separation-type computer facsimile system
JP4253206B2 (en) Digital camera
JP2848356B2 (en) Printing apparatus and method
JP5004322B2 (en) Data transfer control method, apparatus, and image forming apparatus
JP2575036B2 (en) Incoming call transfer data processing device
JP6033383B2 (en) Information processing apparatus, control method thereof, and control program
JPH09305527A (en) DMA controller
JP4065466B2 (en) Data communication system
JP2002169767A (en) Data transfer method, data transfer device, communication interface method and communication interface device
JP3279736B2 (en) Image communication device
JP2011155609A (en) Image processor, image processing method, image processing program, and recording medium
JP2000207142A (en) System and method for transferring print data
JP2001245124A (en) Image communications equipment
JP2001103268A (en) Image communication apparatus, its control method and recording medium
JP2005011262A (en) Image processing system
JPH09277624A (en) Image forming apparatus
JPH10224577A (en) Picture processor
JP2004341733A (en) Printer, printing method and program
JPH09190307A (en) Print system, information processor, printer and print method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070109

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070417

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110427

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120427

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120427

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130427

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees