JP3682795B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP3682795B2
JP3682795B2 JP35198895A JP35198895A JP3682795B2 JP 3682795 B2 JP3682795 B2 JP 3682795B2 JP 35198895 A JP35198895 A JP 35198895A JP 35198895 A JP35198895 A JP 35198895A JP 3682795 B2 JP3682795 B2 JP 3682795B2
Authority
JP
Japan
Prior art keywords
process proceeds
communication
speed
received
transmission
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
JP35198895A
Other languages
Japanese (ja)
Other versions
JPH09186786A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP35198895A priority Critical patent/JP3682795B2/en
Publication of JPH09186786A publication Critical patent/JPH09186786A/en
Application granted granted Critical
Publication of JP3682795B2 publication Critical patent/JP3682795B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Transmission Control (AREA)
  • Telephonic Communication Services (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、ファクシミリ装置、パソコン、モデム等の通信装置に関し、特に、通信指示パラメータのネゴシエーションを行う機能を有する通信装置に関する。
【0002】
【従来の技術】
従来、例えばファクシミリ装置において、送信しようとしている通信パラメータが受信機が宣言してくる能力と一致しない場合の技術としては以下のようなものがあった。特公平5−31343号公報には、送信装置が受信装置から用紙幅の信号を受信し、送信装置の原稿サイズを自動的に受信装置側の用紙幅に変換して送信し、受信原稿サイズが用紙幅より大きい場合には縮小して印刷する技術が開示されており、特開平4−159859号公報、特開平6−326850号公報にも類似の技術が開示されている。また、特開昭60−64572号公報には、蓄積した符号化データを相手装置が復元可能な符号化データに変換して伝送する技術が開示されており、特開昭60−182257号公報にも類似の技術が開示されている。
【0003】
【発明が解決しようとする課題】
上記のような従来の通信装置における、送信しようとしている通信パラメータが受信機が宣言してくる能力と一致しない場合の技術は、まず受信側から受信能力を宣言し、該宣言に対して送信側装置が送信パラメータを決定して通信を行う手順であった。従って、まず送信側から送信したいパラメータを受信側に通知し、その後受信側から受信能力が通知されるようなプロトコルを採用しようとした場合には、以下のような問題点があった。
【0004】
送信側装置の方が能力が上であり、受信側装置は自分の能力以上の指示を解析できない場合、例えば送信側が14.4kbpsの通信速度を指示するが、受信側では9.6kbpsしか能力が無い場合に、DCSコマンドによって送信側の能力を通知しようとすると、DCSにおける14.4kbpsの指示はビット番号14、13、12、11が(1、0、0、0)となる。ところが、受信側で9.6kbpsまでしか解析しない場合には、ビット12、11しか認識せず、ビット14、13は無視される。上記の場合にはビット12、11は(0、0)であり、これは2.4kbpsの指示と解釈される。つまり、送信側は14.4kbpsを指示したにもかかわらず、受信側は2.4kbpsを指示されたと認識し、9.6kbpsで通信可能であるにもかかわらず、2.4kbpsになってしまうという問題点があった。
【0005】
この問題点は解像度についても生じ、標準解像度(8×3.85)および高解像度(8×7.7)を指示するビットと、それ以上の超高解像度を指示するビットが異なる位置に割り当てられているために、超高解像度を指示しても相手装置に該指示を解釈する能力がない場合には、相手装置は標準解像度なのか高解像度なのかが判断できないという問題点があった。
【0006】
本発明の目的は、前記した従来技術の問題点を解決し、送信側装置から通信パラメータを通知する伝送方式において、送信側装置の希望するパラメータに対応する能力を受信側装置が持っていない場合でも、問題なくネゴシエーションができる通信装置を提供することにある。
【0007】
【課題を解決するための手段】
前記目的を達成するために、本発明は、通信速度または解像度を含む通信指示パラメータをコマンドに設定して送信する手段を有する通信装置において、1つの通信指示パラメータに対して自装置の有する複数の通信能力を指示内容として設定する設定手段を備えたことを特徴とする。
【0008】
本発明は、上記のような構成により、送信側装置から通信パラメータを通知する伝送方式において、送信側の有する能力を全て受信側に通知可能となるので、受信側が送信側より能力が低く、一部のパラメータについて解釈する能力が無くても、解釈可能な能力の中から最も高いものを選択することにより、受信側装置の能力に合わせた送信が可能となる。
【0009】
【発明の実施の形態】
以下に、図面を参照して、本発明を詳細に説明する。図1は、本発明を適用したファクシミリ装置のシステム構成例を示すブロック図である。このファクシミリ装置は、ファクシミリ装置全体の制御処理を行うCPU1、制御プログラム実行時に使用するワークエリアとしてのRAM2、ファクシミリ装置を操作するための表示画面と操作スイッチが設けられた操作表示装置3、送信原稿を読み取る読取装置4、受信画情報等を印刷して出力する印字装置5、符号化・復号化・拡大・縮小等の画像処理を行う画像処理装置6、送信する画情報または受信した画情報を格納する画像蓄積装置7、ファクシミリ装置全体を制御するプログラムを記憶したROM8を備える。
【0010】
更にこのファクシミリ装置は、デジタル網(ISDN網等)における通信(G4等)を制御するための回路およびプログラムを記憶したROMから構成された第1の通信制御部9、アナログ網(G3等)における通信を制御するための回路およびプログラムを記憶したROMから構成された第2の通信制御部10、デジタル網へ接続するためのデジタル網制御装置11、および切換えによって複数の外部回線インタフェースと複数の内部通信回路とを接続するための回線切換え制御装置15を備えており、以上の装置はシステムバス14により相互に接続されている。
【0011】
第1の通信制御部9は回線切換え制御装置15と直接接続され、第2の通信制御部10は低速モードと高速モードとを備えたモデム12を介して回線切換え制御装置15と接続されている。該回線切換え制御装置15はさらにデジタル網制御装置11およびアナログ網制御装置13と接続されている。
【0012】
上記の構成のファクシミリ装置は、これと同一構成のファクシミリ装置、アナログ網にのみ接続可能なファクシミリ装置、デジタル網のみに接続可能なファクシミリ装置等の相手機と回線を介して接続される。このファクシミリ装置をアナログ網にのみ接続する場合には、第1の通信制御部9およびデジタル網制御装置11を省略することができ、また、デジタル網のみに接続する場合には、第2の通信制御部10、モデム12およびアナログ網制御装置13を省略することができる。
【0013】
図2(a)、(b)、図3はそれぞれ本発明の前提となる、TCFを使用しない短縮手順への移行手順の例を示す手順図である。例えば図2(a)の手順においては、送信側装置が発呼し、受信側装置が応答すると、送信側装置は応答を検出し、短縮手順移行制御信号20を送出する。その後高速モデムを使用し、所定の速度、例えばV29の9.6kbpsでトレーニング信号21および高速NSS信号22を送出する。
【0014】
図5は本発明の高速NSS信号のフォーマット例を示す説明図である。NSS信号30はHDLCフレームを使用して伝送され、インフォメーション領域の最初のバイトであるファクシミリコントロールフィールド(FCF)31にはNSSであることを示すコードが設定される。その後のFIF32には各社独自のフォーマットで能力等の指定情報が設定される。この例においては、3つの変調規格であるV27ter 、V29、V17についてそれぞれ独立した2ビットあるいは4ビットの能力設定領域33、34が設けられており、それぞれの伝送能力を独立して設定可能である。
【0015】
図4は図5のNSS信号に速度情報を設定するための処理を示すフローチャートである。ステップS201においては、自機のモデムの能力を認識したり、過去の同一相手装置との通信履歴情報等を参照することにより指示する送信速度を判断する。ステップS202〜209においては、速度を高速な順に判断し、指示すべき送信速度に応じて対応するステップS210〜217のいずれかに移行する。なお、通常モデムにおいて、ステップS202〜209の順序における、ある速度の能力が有る場合には、それより下位の能力は全て備えているものとする。
【0016】
例えばV17の14.4kbpsであった場合にはステップS210に移行し、ステップS210においては、図5のV17−1の領域に(1、0)を設定する。その後はステップS212に移行し、V17−2の領域に(1、0)を、ステップS214においてはV29の領域に(1、0)を、ステップS216においては、V27ter の領域に(1、0)をそれぞれ設定する。従って、もし受信側において、V29までの能力しかなく、V17の解析能力が無い場合においても、V29の能力表示が(1、0)、即ち9.6kbpsの能力を有していることを認識可能であるので、適正な判断が可能となる。
【0017】
図7は、本発明の高速NSS信号のフォーマットの第2の実施例を示す説明図である。この例は解像度の能力表示を行う例であり、図7においては、複数の解像度規格のそれぞれについて独立した1ビットの能力設定領域35、36が設けられている。従って、それぞれの解像度を独立して設定可能である。
【0018】
図6は図7のNSS信号に解像度情報を設定するための処理を示すフローチャートである。ステップS301においては、パネルからの指示や過去の同一相手装置との通信履歴情報等を参照することにより指示する解像度を判断する。ステップS302〜309においては、解像度を精細な順に判断し、指示すべき解像度に応じて対応するステップS310〜317のいずれかに移行する。なお、通常はステップS302〜309の順序における、ある解像度の能力が有る場合には、それより下位の能力は全て備えている。またインチ系であるかミリ系であるかを識別するビットは信号中に別に存在する。
【0019】
例えば300ppi ×300ppi であった場合にはステップS311に移行し、ステップS311においては、図5の300ppi ×300ppi に対応する領域に”1”を設定する。また、ステップS312、313、314においては、それぞれ8dot ×15.4l/mm、200ppi ×400ppi 、8dot ×7.7l/mm、8dot ×3.85l/mmに対応する領域に”1”を設定する。従って、もし受信側において、8dot ×7.7l/mmまでの能力しか無い場合においても、NSSの能力表示から8dot ×7.7l/mm、8dot ×3.85l/mmの能力を有していることを認識可能であるので、適正な判断が可能となる。
【0020】
以下、本発明を適用した短縮手順における送信側および受信側装置の処理の詳細を説明する。図8〜図12は送信側の処理を示すフローチャートである。図8のステップS1では、操作表示装置3から入力された電話番号に従って発呼を行う。電話番号がRAM2に予め短縮ダイヤルとして記憶されている場合には、その短縮番号を読み込んで発呼を行う。ステップS2,3では、RAM2をサーチして前記短縮ダイヤルに対応して登録されている相手機の能力に短縮手順受信能力が記憶されているかを判断する。相手機の能力は予め登録しておくこともできるが、プロトコル手順の結果によって登録することもできる。以下は、プロトコル手順を実行した結果によって登録する場合について説明する。
【0021】
初めての相手装置との通信においてはステップS3の判定結果は否定となり、ステップS4に進んでCNG(呼出音)を送出する。CNGを送出しつつ、ステップS5ではCED(被呼局識別)信号または何らかのコマンドの受信を待つ。コマンドを受信したならばステップS6に進み、NSF(非標準機能信号)の受信有無を判断する。NSFを受信したならばステップS7に進み、このNSFが自機と同一社種のものかを判別する。自機と同一社種と判別されたならばステップS8に進み、短縮手順(短縮プロトコル:図中「短プロ」と示す)の受信能力の有無を判断し、短縮手順受信能力があればステップS9に進み、前記短縮ダイヤルに対応させて「短縮手順受信能力あり」という情報をRAM2に登録する。相手機能力を登録したならば、ステップS14の送信フェーズBに進む。送信フェーズBの詳細は図10に示す。この短縮手順への移行ケース3は図3の手順図に対応する。
【0022】
NSFを受信しなかった場合、およびNSFを受信したが自機と同一会社のNSFでなかった場合、相手機に短縮手順受信能力がない場合、つまりステップS6〜S8の判断が否定の場合はステップS10に進み、前記短縮ダイヤルに対応させて「短縮手順受信能力なし」をRAM2に登録する。相手機能力を登録したならば、ステップS11の通常の送信モードつまり短縮手順でない送信モードへ移行する。
【0023】
相手機が短縮手順受信能力を有していることが登録されていれば、ステップS3の判断は肯定となり、ステップS12の送信フェーズAに進む。送信フェーズAの詳細は図9に関して後述する。
【0024】
ステップS13では、短縮手順モードでの送信か通常の送信かを判断する。これは送信フェーズA(ステップS12)の実行結果により判断する。通常の送信ならばステップS6に進む。短縮手順モードでの送信ならばステップS14の送信フェーズB(図10)に進む。送信フェーズBを実行したならば、ステップS15に進み、送信フェーズB(ステップS14)の実行結果により再び短縮手順モードでの送信か否かを判断する。短縮手順モードならばステップS16およびステップS17でそれぞれ送信フェーズC,Dを実行する。ステップS18およびステップS19では、送信フェーズDの実行結果に基づき、それぞれ送信フェーズC,Bへ進むか否かを判断する。送信フェーズCまたはBに進まない場合、つまりフェーズEへ移行したときはステップS20で低速のDCNを送出して送信を終了する。
【0025】
次に、送信フェーズAを説明する。図9において、ステップS21では、自機の極性反転検知機能の有無を判断する。極性反転検知機能がある場合は、ステップS22でCNG送出開始タイマをスタートさせ、ステップS23で極性反転が検知されたか否かを判断する。極性反転が検知されたならばステップS29に進み、短縮手順モードへ移行する。この移行ケース1は図2(a)の手順図に対応する。極性反転の検知は前記タイマがタイムアウトするまで行い(ステップS24)、タイムアウトしたならばステップS25に進んでCNG(呼出音)を送出する。
【0026】
ステップS26では極性反転が検知されたか否かを判断する。極性反転が検知されたならばステップS29に進み、短縮手順モードへ移行する。極性反転が検知されない場合は、ステップS27に進んでCED(被呼局識別)の受信有無を判断する。CEDが受信されたならばステップS29に進み、短縮手順モードへ移行する。この移行ケース2は図2(b)の手順図に対応する。CEDが受信されなかったならばステップS28に進み、NSF/DIS等の低速コマンドの受信有無を判断する。低速コマンドが受信されなかったならばステップS25に進む。低速コマンドが受信されたならばステップS33に進み、通常送信モードへ移行する。
【0027】
一方、ステップS21で極性反転検知機能がないと判断されたならば、ステップS30に進んでCNG(呼出音)を送出する。ステップS31ではCEDの受信有無を判断する。CEDが受信されたならばステップS29に進んで短縮手順モードへ移行する。CEDが受信されなかったならばステップS32に進み、低速コマンドの受信有無を判断する。CEDが受信されたならばステップS33に進み、通常の送信モードへ移行する。CEDが受信されなかったならばステップS30に進む。このように、送信フェーズAでは、極性反転またはCEDが検知されたならば直ちに短縮手順モードへ移行するように構成している。
【0028】
次に、送信フェーズBを説明する。図10において、ステップS34でポーリングか否かを判断し、ポーリングの場合はステップS44〜S52の手順を実行する。ポーリングでない場合は、ステップS35に進んで、所定の単一トーンを送出する。この単一トーンは短縮手順移行信号であると共に、ステップS36で送出する高速のNSS(非標準機能設定)の伝送速度と対応する周波数を有する。ステップS36では、例えば9600bpsのトレーニング信号および高速NSSを送出する。この高速NSSは図1におけるトレーニング信号21およびNSS22であり、そのフォーマットは図5あるいは図7に示される。また能力設定処理は図4あるいは図6に示される。
【0029】
ステップS37では、NSSに対する相手機からのレスポンスの有無を判断する。レスポンスがあればステップS38に進み、そのレスポンスが高速NSF(非標準機能)か否かを判断する。高速NSFを受信したならばステップS39に進み、短縮手順モードへ移行する。高速NSFを受信しなかった場合、つまり低速コマンドならばステップS40に進んで通常の送信モードへ移行する。
【0030】
また、ステップS37でレスポンスを受信しないと判断されたならば、ステップS41に進んで極性反転を検知したか否かを判断する。これはステップS23あるいはS26における反転検出が誤検出である場合があるためである。極性反転を検知しない場合は、ステップS43に進んでフォールバックパラメータをセットしてステップS35に進む。極性反転を検知した場合は、ステップS42に進んで伝送速度の初期値にセットし直す。従って、ステップS43のフォールバックにより一旦低下された速度が、高速に戻される。なお、ここでフォールバックした場合には画情報の伝送速度もフォールバックした速度となる。
【0031】
ポーリングの場合は、ステップS44〜S52を実行する。ステップS44〜S51は受信のための手順であり、前記ステップS34〜S38およびS40〜S43とほぼ同様の内容であるため、説明は省略する。なお、ステップS52では後述する受信フェーズB(図14)を実行する。
【0032】
次に、送信フェーズCを説明する。この送信フェーズCでは、ECM(エラー訂正モード)によるフレームに分割し、第1フレーム(フレームNo.0)には、第2フレーム以降の画情報を示すパラメータまたはNSSの情報を設定し、第2フレーム以降に画情報を設定して送出する。図11において、まず、ステップS53では画情報の再送か否かを判断する。再送の場合はステップS54において再送対象の画情報をフレームに設定して送出する。ステップS55では再送が終了したか否かを判断し、再送終了ならばステップS59に進む。
【0033】
画情報の再送でない場合、つまり最初の送信の場合はステップS56に進み、フレームNo.0にNSSの情報を設定して送出する。このNSSの情報は相手機とのネゴシェーションの結果により最終的に決定したものであり、先に、ステップS36で送出したNSSの内容そのものの場合もあるし、ネゴシェーションの結果で変更する場合もある。なお、ステップS36でNSSを送出しているので、ここでは少なくとも原稿サイズおよび画質情報が含まれていればよい。
【0034】
ステップS57では、第2フレーム以降つまりフレームNo.1以降に画情報を設定して送出する。ステップS58ではすべての画情報の送出が終了したか否かを判断し、終了と判断されたならばステップS59に進む。ステップS59では、図2(a)のRCPフレーム24のFIFにポストメッセージコマンドの内容を設定して送出し、レスポンスコマンド受信待ちフェーズ(送信フェーズD)へ進む。
【0035】
次に、送信フェーズDを説明する。図12において、ステップS60ではレスポンス受信の有無を判断する。レスポンスを受信しない場合は、ステップS61に進んで低速のポストメッセージコマンド(PPS・QまたはPPS・Pri−Q)を送出する。レスポンスが検出されたならばステップS62に進み、そのレスポンスの内容が低速のMCF(メッセージ確認信号)か否かを判断する。低速のMCFを受信した場合は、ステップS76に進む。一方、レスポンスが低速のMCFでない場合は、ステップS63に進み、レスポンスが低速のPPR(部分ページ要求)か否かを判断する。この判断が否定の場合はステップS64に進み、レスポンスが低速のPIP(手順中断肯定)か否かを判断する。PIPが検出されたならば、ステップS65でラインホールド手順を実行してステップS76に進む。レスポンスが低速のMCF,PPR,PIPのいずれでもない場合は、エラーと判断してステップS66に進み、エラー処理をする。
【0036】
低速のPPRを受信したならば、ステップS63からステップS67に移行してCTC(訂正続行)の送出が必要か否かを判断する。必要ならばステップS68に進んで低速のCTCを送出する。これは、ステップS69で低速のCTR(訂正続行応答)を受信するまで行われる。そうして、低速のCTRを受信したならばフェーズCに移行する。
【0037】
ステップS67でCTCの送出が不要と判断されれば、ステップS71でEOR(再送終了)の送出が必要か否かを判断する。EORの送出が必要ない場合はステップS76に進む。EORの送出を要する場合は、ステップS72に進み、低速のEORを送出する。ステップS73では低速のERR(再送終了応答)を受信したか否かを判断し、低速のERRを受信したならばステップS76に進む。低速のERRが受信されない場合は、低速のPIN(手順中断否定)を受信したか否かを判断する。この判断は、ITU−T勧告T.30の手順に定められているようにEORを3回送出してT4タイマがタイムアウトするとDCN(回線切断命令)を送出して回線を切断する。低速のPINを受信した場合はステップS75に進んでラインホールド手順を行う。
【0038】
ステップS76では、ステップS59(送信フェーズC)で送出したポストメッセージコマンドに基づき、次に移行するフェーズを判断する。この判断により、ステップS77,S78,S79のいずれかに進み、フェーズC,D,Eのいすれかに移行する。
【0039】
次に、図13〜図16を参照して受信プロトコルについて説明する。まず、図13において、ステップS80では着信の有無を判断し、着信があったならばステップS81に進み、1.8秒のタイマをスタートさせる。このタイマはITU−勧告T.30に規定されているものである。ステップS82では、短縮手順モードへの移行を指示する信号、即ち高速のNSSの伝送速度を示す単一トーンの受信有無を判断する。そして、該信号を受信した場合は短縮手順モードへ移行する(移行ケース1:図2(a))。ステップS83では、受信フェーズB(図14)を実行する。受信フェーズBに続いてステップS84の受信フェーズC(図15)を実行し、さらにステップS85では受信フェーズD(図16)を実行する。ステップS86ではフェーズCに進むか否かを判断し、ステップS87ではフェーズBへ進むか否かを判断する。ステップS86の判断が肯定の場合はステップS84に進み、ステップS87の判断が肯定の場合はステップS83に進む。フェーズC,Bのいずれにも移行しない場合はステップS88に進んで低速のDCNを受信して通信を終了する。
【0040】
ステップS82で信号が受信されなかったならば、ステップS89でCNGの受信有無を判断する。CNGが受信できない場合はステップS90でタイムアウトと判断されるまでステップS82,S89の判断を繰り返す。CNGが受信された場合、またはタイムアウトになった場合はステップS91に進んでCEDを送出する。ステップS92では短縮手順モードへの移行を指示する信号が受信されたか否かを判断する。短縮手順モードへの移行を指示する信号が受信されたならばステップS93に進んでCEDの送出を停止し、短縮手順モード(移行ケース2:図2(b))へ移行してステップS83に進む。
【0041】
ステップS92で信号が受信できなかったならば、ステップS94に進んでCED送出終了か否かを判断する。CEDの送出を終了した場合はステップS95に進み、NSF/DISを送出する。ステップS96では短縮手順モードへの移行を指示する信号を受信したか否かを判断する。短縮手順モードへの移行を指示する信号を受信したならば、短縮手順モード(移行ケース3:図3)へ移行してステップS83に進み、該信号を受信しなかった場合は、ステップS97に進んで通常の受信モードへ移行する。
【0042】
次に、受信フェーズBを説明する。図14において、ステップS98では高速のNSSを受信したか否かを判断する。高速NSSを受信したならばステップS99に進み、NSSの内容を参照して速度等を決定し、高速NSFを送出する。送信機から高速NSSを受信しなかったときは、ステップS100に進んで高速NSCを受信したか否かを判断する。これは、短縮手順でポーリングを実行するか否かを判断するためである。こうして高速NSSか高速NSCを受信するまでステップS98とS100を繰り返す。ステップS100の判断が肯定となった場合は、ステップS101でポールド準備ができたか否かを判断する。準備ができていればステップS102に進み、原稿を送信するため、送信フェーズB(図10)を実行する。ポールド準備ができていない場合は、ステップS103に所定のエラー手順を実行して終了する。
【0043】
次に、受信フェーズCを説明する。この受信フェーズCではECMによるフレームに分割して送出されてくる画情報を受信する。フレーム構成は第1フレーム(フレームNo.0)には画情報を示すパラメータが設定され、第2フレーム以降には画情報が設定される。
【0044】
図15において、ステップS104ではFCD(ファクシミリ符号化データ)フレーム、つまり画情報フレームを受信したか否かを判断する。この判断が肯定ならばステップS105に進み、フレームNo.0つまり第1フレームのNSSを受信したか否かを判断する。第1フレームを受信したならばステップS105の判断は肯定となり、ステップS106でNSSを解析する。第1フレームを受信しなかったならば、第2フレーム以降、つまり画情報のフレームを受信したと判断してステップS107に進み、受信した画情報を画像蓄積装置7に蓄積する。ステップS108ではフレームの受信を終了したか否かを判断し、この判断が肯定となるまでステップS104に進む。ステップS108が肯定とならずに、FCDフレームの受信が終了したならば、最後のフレームにRCPフレームがある場合であり、ステップS109に進んでRCPフレームのポストメッセージコマンドを解析する。ポストメッセージコマンドの解析またはフレームの受信を終了したならば該受信フェーズCを抜ける。
【0045】
次に、受信フェーズDを説明する。ステップS110ではRCPを受信しているか否かを判断する。RCPを受信していないでこのフェーズDに移行した場合は、ステップS111に進んで低速コマンドを待つ。RCPを受信していた場合、または低速コマンドを受信した場合はステップS112に進み、受信したFCDフレームにエラーがないか否かを判断する。FCDフレームにエラーがない場合はステップS113に進み、ラインホールドか否かを判断し、この判断が肯定ならばステップS114でラインホールド手順を実行する。ラインホールドでない場合は、ステップS115に進んで低速MCFを送出し、ステップS124に進む。
【0046】
FCDフレームにエラーがある場合は、ステップS116に進んで低速のPPR(部分ページ要求)を送出する。ステップS117ではCTCを受信したか否かを判断する。CTCを受信したならばステップS118に進み、低速CTRを送出する。CTCを受信しなかったならばステップS119に進み、EORを受信したか否かを判断する。そして、EORを受信しなかったならばフェーズCへ移行するが、EORを受信したならばステップS121に進み、ラインホールドか否かを判断し、この判断が肯定ならばステップS122でラインホールド手順を実行する。ラインホールドでない場合は、ステップS123に進んで低速ERRを送出し、ステップS124に進む。ステップS124では、受信したポストメッセージコマンドに基づき、次に移行するフェーズを判断する。この判断により、ステップS125,S126,S127のいずれかに進み、フェーズC,D,Eのいずれかに移行する。
【0047】
図2、図3は、上述のプロトコル手順の手順図である。図2(a)は、極性反転を検知して短縮手順モードへ移行する場合(移行ケース1)の手順を示す。同図において、「信号」は短縮手順モードへの移行を示す信号であり、RCPフレーム(PPS・MPS)24はRCPフレーム内にポストメッセージコマンドのPPS・MPSを設定することを示し、RCPフレーム(PPS・EOP)はRCPフレーム内にポストメッセージコマンドのPPS・EOPを設定することを示す。また、FCDフレーム(PIX)はFCDフレームに画情報PIXを設定することを示し、EPT23はITU−T勧告V.27ter、V.29(option)、V.17等に定義されている無変調キャリア信号であるエコープロテクトトーンを示す。
【0048】
図2(b)は、極性反転を検知する前にCEDを検出して短縮手順モードへ移行する場合(移行ケース2)の手順を示す。図3は、相手機の能力の登録内容に短縮手順モードの受信能力が記憶されていない場合であって、相手機からのNSFコマンドによって短縮手順の受信能力を判断した後、短縮手順モードへ移行する場合の手順を示す。図2、図3において、短縮手順モードへの移行後、つまり送信側から「信号」を送出する段階から後の手順は互いに共通である。
【0049】
【発明の効果】
以上述べたように、本発明においては、通信速度や解像度等の通信指示パラメータをコマンドに設定して送信する手段を有する通信装置において、1つの通信指示パラメータに対して複数の指示内容設定する設定手段を備えたので、送信側の有する能力を全て受信側に通知可能となる。従って、受信側が送信側より能力が低く、一部のパラメータについて解釈する能力が無くても、解釈可能な能力の中から最も高いものを選択することにより、受信側装置の能力に合わせた送信が可能となるという効果がある。
【図面の簡単な説明】
【図1】本発明のファクシミリ装置の構成例を示すブロック図である。
【図2】短縮手順への移行手順の例を示す手順図1である。
【図3】短縮手順への移行手順の例を示す手順図2である。
【図4】NSSに速度情報を設定する処理を示すフローチャートである。
【図5】本発明の高速NSS信号のフォーマット例を示す説明図である。
【図6】NSSに解像度を設定する処理を示すフローチャートである。
【図7】本発明のNSSフォーマットの第2実施例を示す説明図である。
【図8】送信側の処理を示すフローチャート1である。
【図9】送信側の処理を示すフローチャート2である。
【図10】送信側の処理を示すフローチャート3である。
【図11】送信側の処理を示すフローチャート4である。
【図12】送信側の処理を示すフローチャート5である。
【図13】受信側の処理を示すフローチャート1である。
【図14】受信側の処理を示すフローチャート2である。
【図15】受信側の処理を示すフローチャート3である。
【図16】受信側の処理を示すフローチャート4である。
【符号の説明】
1…CPU、2…RAM、3…操作表示装置、4…読取装置、5…印字装置、6…画像処理装置、7…画像蓄積装置、8…ROM、9…通信制御部1、10…通信制御部2、11…デジタル網制御装置、12…モデム、13…アナログ網制御装置、14…システムバス、15…回線切換え制御装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication apparatus such as a facsimile machine, a personal computer, and a modem, and more particularly to a communication apparatus having a function of negotiating communication instruction parameters.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, for example, in a facsimile apparatus, there are the following techniques when the communication parameter to be transmitted does not match the capability declared by the receiver. In Japanese Patent Publication No. 5-31343, the transmission device receives a paper width signal from the reception device, automatically converts the document size of the transmission device to the paper width of the reception device side, and transmits the received document size. A technique for reducing and printing when it is larger than the paper width is disclosed, and similar techniques are also disclosed in Japanese Patent Laid-Open Nos. 4-1595959 and 6-326850. Japanese Patent Application Laid-Open No. 60-64572 discloses a technique for transmitting accumulated encoded data into encoded data that can be restored by the counterpart device, and disclosed in Japanese Patent Application Laid-Open No. 60-182257. A similar technique is disclosed.
[0003]
[Problems to be solved by the invention]
In the conventional communication device as described above, when the communication parameter to be transmitted does not match the capability declared by the receiver, first the reception capability is declared from the reception side, and the transmission side This is a procedure in which the apparatus determines the transmission parameter and performs communication. Therefore, when trying to adopt a protocol in which a parameter to be transmitted is first notified from the transmission side to the reception side and then the reception capability is notified from the reception side, there are the following problems.
[0004]
If the transmitting device has higher capability and the receiving device cannot analyze an instruction exceeding its own capability, for example, the transmitting device instructs a communication speed of 14.4 kbps, but the receiving device has only 9.6 kbps capability. If there is no DCS command and the transmission side capability is to be notified, the 14.4 kbps instruction in the DCS has bit numbers 14, 13, 12, and 11 as (1, 0, 0, 0). However, when the receiving side analyzes only up to 9.6 kbps, only bits 12 and 11 are recognized, and bits 14 and 13 are ignored. In the above case, bits 12 and 11 are (0, 0), which is interpreted as an indication of 2.4 kbps. In other words, even though the sending side has instructed 14.4 kbps, the receiving side recognizes that 2.4 kbps has been instructed, and even though it can communicate at 9.6 kbps, it will be 2.4 kbps. There was a problem.
[0005]
This problem also occurs with regard to resolution. Bits indicating standard resolution (8 × 3.85) and high resolution (8 × 7.7) and bits indicating higher super-resolution are assigned to different positions. For this reason, there is a problem in that if the partner apparatus does not have the ability to interpret the instruction even if the super high resolution is instructed, it cannot be determined whether the partner apparatus has the standard resolution or the high resolution.
[0006]
The object of the present invention is to solve the above-mentioned problems of the prior art, and in the transmission method in which communication parameters are notified from the transmission side device, when the reception side device does not have the capability to correspond to the parameters desired by the transmission side device. However, it is to provide a communication device that can negotiate without problems.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a communication speed. Or resolution including In a communication apparatus having means for setting a communication instruction parameter as a command and transmitting it, one communication instruction parameter Multiple communication capabilities of own device Instruction content As A setting means for setting is provided.
[0008]
According to the present invention, in the transmission method for notifying the communication parameter from the transmission side device, the transmission side can notify all the capabilities of the transmission side to the reception side. Even if there is no capability to interpret the parameters of the part, by selecting the highest capability from the capabilities that can be interpreted, transmission according to the capability of the receiving apparatus can be performed.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a system configuration example of a facsimile apparatus to which the present invention is applied. This facsimile apparatus includes a CPU 1 for controlling the entire facsimile apparatus, a RAM 2 as a work area used when executing the control program, an operation display apparatus 3 provided with a display screen and operation switches for operating the facsimile apparatus, and a transmission original. A reading device 4 that prints and outputs received image information and the like, an image processing device 6 that performs image processing such as encoding / decoding / enlargement / reduction, image information to be transmitted or received image information An image storage device 7 to be stored and a ROM 8 storing a program for controlling the entire facsimile apparatus are provided.
[0010]
Further, this facsimile apparatus is provided in a first communication control unit 9 constituted by a ROM storing a circuit and a program for controlling communication (G4, etc.) in a digital network (ISDN network, etc.) and an analog network (G3, etc.). A second communication control unit 10 composed of a ROM storing a circuit for controlling communication and a program, a digital network control device 11 for connecting to a digital network, and a plurality of external line interfaces and a plurality of internal units by switching A line switching control device 15 for connecting to a communication circuit is provided, and the above devices are connected to each other by a system bus 14.
[0011]
The first communication control unit 9 is directly connected to the line switching control device 15, and the second communication control unit 10 is connected to the line switching control device 15 via a modem 12 having a low speed mode and a high speed mode. . The line switching control device 15 is further connected to the digital network control device 11 and the analog network control device 13.
[0012]
The facsimile apparatus having the above configuration is connected via a line to a partner machine such as a facsimile apparatus having the same configuration, a facsimile apparatus that can be connected only to an analog network, or a facsimile apparatus that can be connected only to a digital network. When the facsimile apparatus is connected only to the analog network, the first communication control unit 9 and the digital network control apparatus 11 can be omitted. When the facsimile apparatus is connected only to the digital network, the second communication is performed. The control unit 10, the modem 12, and the analog network control device 13 can be omitted.
[0013]
FIGS. 2A, 2B, and 3 are flowcharts showing an example of a transition procedure to a shortening procedure that does not use TCF, which is a premise of the present invention. For example, in the procedure of FIG. 2A, when the transmission side device makes a call and the reception side device responds, the transmission side device detects the response and sends a shortened procedure transition control signal 20. Thereafter, using a high-speed modem, the training signal 21 and the high-speed NSS signal 22 are transmitted at a predetermined speed, for example, 9.6 kbps of V29.
[0014]
FIG. 5 is an explanatory diagram showing a format example of the high-speed NSS signal of the present invention. The NSS signal 30 is transmitted using an HDLC frame, and a code indicating NSS is set in the facsimile control field (FCF) 31 which is the first byte of the information area. In the subsequent FIF 32, specification information such as capability is set in a format unique to each company. In this example, independent 2-bit or 4-bit capability setting areas 33 and 34 are provided for the three modulation standards V27ter, V29, and V17, and the respective transmission capacities can be set independently. .
[0015]
FIG. 4 is a flowchart showing a process for setting speed information in the NSS signal of FIG. In step S201, the transmission speed to be instructed is determined by recognizing the capability of the modem of the own device or referring to past communication history information with the same counterpart device. In steps S202 to S209, the speeds are determined in order of increasing speed, and the process proceeds to any of corresponding steps S210 to S217 depending on the transmission speed to be instructed. It should be noted that if a normal modem has a certain speed capability in the order of steps S202 to S209, it is assumed that all lower capabilities are provided.
[0016]
For example, when V17 is 14.4 kbps, the process proceeds to step S210. In step S210, (1, 0) is set in the area of V17-1 in FIG. Thereafter, the process proceeds to step S212, where (1, 0) is set in the V17-2 area, (1, 0) is set in the V29 area in step S214, and (1, 0) is set in the V27ter area in step S216. Set each. Therefore, on the receiving side, even if there is only capability up to V29 and there is no analysis capability of V17, it is possible to recognize that the capability display of V29 has a capability of (1, 0), that is, 9.6 kbps. Therefore, an appropriate judgment can be made.
[0017]
FIG. 7 is an explanatory diagram showing a second embodiment of the format of the high-speed NSS signal according to the present invention. This example is an example of displaying the capability of the resolution. In FIG. 7, independent 1-bit capability setting areas 35 and 36 are provided for each of a plurality of resolution standards. Therefore, each resolution can be set independently.
[0018]
FIG. 6 is a flowchart showing processing for setting resolution information in the NSS signal of FIG. In step S301, the resolution to be instructed is determined by referring to an instruction from the panel or past communication history information with the same counterpart device. In steps S302 to 309, the resolutions are determined in order of fineness, and the process proceeds to one of steps S310 to 317 corresponding to the resolution to be instructed. Normally, if there is a certain resolution capability in the order of steps S302 to S309, all the capabilities below that are provided. In addition, a bit for identifying whether it is an inch system or a millimeter system exists separately in the signal.
[0019]
For example, if it is 300 ppi × 300 ppi, the process proceeds to step S311. In step S311, “1” is set in the area corresponding to 300 ppi × 300 ppi in FIG. In steps S312, 313, and 314, “1” is set in the areas corresponding to 8 dots × 15.4 l / mm, 200 ppi × 400 ppi, 8 dots × 7.7 l / mm, and 8 dots × 3.85 l / mm, respectively. . Therefore, even if the receiving side has only the capability up to 8 dots × 7.7 l / mm, it has the capability of 8 dots × 7.7 l / mm and 8 dots × 3.85 l / mm from the capability display of NSS. Therefore, it is possible to make an appropriate judgment.
[0020]
Hereinafter, details of processing of the transmission side and reception side devices in the shortening procedure to which the present invention is applied will be described. 8 to 12 are flowcharts showing processing on the transmission side. In step S <b> 1 of FIG. 8, a call is made according to the telephone number input from the operation display device 3. When the telephone number is stored in advance in the RAM 2 as an abbreviated dial, the abbreviated number is read to make a call. In Steps S2 and S3, the RAM 2 is searched to determine whether or not the shortened procedure reception capability is stored in the capabilities of the counterpart machine registered in correspondence with the speed dial. The capability of the partner machine can be registered in advance, but can also be registered according to the result of the protocol procedure. The following describes a case where registration is performed based on the result of executing the protocol procedure.
[0021]
In the first communication with the partner apparatus, the determination result in step S3 is negative, and the process proceeds to step S4 to send CNG (ringing sound). While sending CNG, in step S5 it waits for reception of a CED (called station identification) signal or some command. If the command is received, the process proceeds to step S6, and it is determined whether or not NSF (non-standard function signal) is received. If the NSF is received, the process proceeds to step S7, where it is determined whether this NSF is of the same company type as the own machine. If it is determined that it is the same company as the own device, the process proceeds to step S8, where it is determined whether or not there is a reception capability of a shortened procedure (shortened protocol: indicated as “Short Pro” in the figure). Then, information corresponding to “with abbreviated procedure reception capability” is registered in the RAM 2 in correspondence with the speed dial. If the partner function is registered, the process proceeds to the transmission phase B of step S14. Details of the transmission phase B are shown in FIG. Transition case 3 to this shortening procedure corresponds to the procedure diagram of FIG.
[0022]
If NSF is not received, and if NSF is received but is not the same company's NSF, if the partner machine does not have a shortened procedure reception capability, that is, if the determination in steps S6 to S8 is negative Proceeding to S10, “no shortening procedure reception capability” is registered in the RAM 2 in correspondence with the speed dial. If the partner function is registered, the process proceeds to the normal transmission mode in step S11, that is, the transmission mode that is not a shortened procedure.
[0023]
If it is registered that the partner machine has the short procedure reception capability, the determination in step S3 is affirmative and the process proceeds to transmission phase A in step S12. Details of the transmission phase A will be described later with reference to FIG.
[0024]
In step S13, it is determined whether transmission is in the shortened procedure mode or normal transmission. This is determined from the execution result of the transmission phase A (step S12). If it is normal transmission, the process proceeds to step S6. If the transmission is in the shortened procedure mode, the process proceeds to transmission phase B (FIG. 10) in step S14. If the transmission phase B is executed, the process proceeds to step S15, and it is determined again whether or not the transmission is in the shortened procedure mode based on the execution result of the transmission phase B (step S14). If it is the shortened procedure mode, transmission phases C and D are executed in steps S16 and S17, respectively. In step S18 and step S19, based on the execution result of transmission phase D, it is determined whether or not to proceed to transmission phases C and B, respectively. If the process does not proceed to the transmission phase C or B, that is, when the process proceeds to the phase E, the low-speed DCN is transmitted in step S20 to terminate the transmission.
[0025]
Next, the transmission phase A will be described. In FIG. 9, in step S <b> 21, it is determined whether or not the own device has a polarity reversal detection function. If there is a polarity reversal detection function, a CNG transmission start timer is started in step S22, and it is determined whether polarity reversal is detected in step S23. If the polarity reversal is detected, the process proceeds to step S29 to shift to the shortening procedure mode. This transition case 1 corresponds to the procedure diagram of FIG. Polarity reversal is detected until the timer times out (step S24), and if timed out, the process proceeds to step S25 to send CNG (ringing tone).
[0026]
In step S26, it is determined whether polarity reversal has been detected. If the polarity reversal is detected, the process proceeds to step S29 to shift to the shortening procedure mode. If polarity inversion is not detected, the process proceeds to step S27 to determine whether or not CED (called station identification) is received. If the CED has been received, the process proceeds to step S29 and shifts to the shortened procedure mode. This transition case 2 corresponds to the procedure diagram of FIG. If no CED has been received, the process proceeds to step S28 to determine whether or not a low-speed command such as NSF / DIS has been received. If no low-speed command has been received, the process proceeds to step S25. If a low-speed command is received, the process proceeds to step S33 and shifts to the normal transmission mode.
[0027]
On the other hand, if it is determined in step S21 that there is no polarity reversal detection function, the process proceeds to step S30 to send CNG (ringing tone). In step S31, it is determined whether or not CED is received. If the CED has been received, the process proceeds to step S29 to shift to the shortened procedure mode. If no CED has been received, the process proceeds to step S32 to determine whether or not a low speed command has been received. If the CED has been received, the process proceeds to step S33 and shifts to the normal transmission mode. If no CED has been received, the process proceeds to step S30. As described above, in the transmission phase A, when polarity inversion or CED is detected, the mode is immediately shifted to the shortened procedure mode.
[0028]
Next, the transmission phase B will be described. In FIG. 10, it is determined whether or not polling is performed in step S34, and in the case of polling, steps S44 to S52 are executed. If not polling, the process proceeds to step S35, and a predetermined single tone is transmitted. This single tone is a shortened procedure transition signal and has a frequency corresponding to the transmission speed of the high-speed NSS (non-standard function setting) transmitted in step S36. In step S36, for example, a training signal of 9600 bps and a high-speed NSS are transmitted. The high-speed NSS is the training signal 21 and NSS 22 in FIG. 1, and the format is shown in FIG. 5 or FIG. The capability setting process is shown in FIG. 4 or FIG.
[0029]
In step S37, it is determined whether or not there is a response from the counterpart device to NSS. If there is a response, the process proceeds to step S38, and it is determined whether or not the response is a high-speed NSF (non-standard function). If the high-speed NSF is received, the process proceeds to step S39 to shift to the shortened procedure mode. If the high-speed NSF is not received, that is, if it is a low-speed command, the process proceeds to step S40 and shifts to the normal transmission mode.
[0030]
If it is determined in step S37 that no response is received, the process proceeds to step S41 to determine whether polarity reversal is detected. This is because the inversion detection in step S23 or S26 may be a false detection. If polarity inversion is not detected, the process proceeds to step S43, the fallback parameter is set, and the process proceeds to step S35. If polarity inversion is detected, the process proceeds to step S42 to reset the transmission speed to the initial value. Therefore, the speed once reduced by the fallback in step S43 is returned to high speed. Note that when the fallback occurs here, the transmission speed of the image information also becomes the fallback speed.
[0031]
In the case of polling, steps S44 to S52 are executed. Steps S44 to S51 are procedures for reception and have substantially the same contents as steps S34 to S38 and S40 to S43. In step S52, a later-described reception phase B (FIG. 14) is executed.
[0032]
Next, the transmission phase C will be described. In this transmission phase C, the frame is divided into frames by ECM (error correction mode), and in the first frame (frame No. 0), parameters indicating image information of the second and subsequent frames or NSS information are set. Set and send image information after the frame. In FIG. 11, first, in step S53, it is determined whether or not the image information is to be retransmitted. In the case of retransmission, in step S54, image information to be retransmitted is set in a frame and transmitted. In step S55, it is determined whether or not retransmission has ended. If retransmission has ended, the process proceeds to step S59.
[0033]
If it is not retransmission of the image information, that is, if it is the first transmission, the process proceeds to step S56, where the frame No. Set NSS information to 0 and send. The NSS information is finally determined based on the result of negotiation with the partner machine, and may be the content of the NSS sent in step S36 or may be changed according to the result of negotiation. In some cases. Since NSS is sent in step S36, it is sufficient that at least the document size and image quality information are included here.
[0034]
In step S57, the second and subsequent frames, that is, the frame No. The image information is set after 1 and transmitted. In step S58, it is determined whether or not transmission of all image information has been completed. If it is determined that transmission has ended, the process proceeds to step S59. In step S59, the content of the post message command is set in the FIF of the RCP frame 24 of FIG. 2A and transmitted, and the process proceeds to the response command reception waiting phase (transmission phase D).
[0035]
Next, the transmission phase D will be described. In FIG. 12, it is determined in step S60 whether or not a response has been received. If no response is received, the process proceeds to step S61, and a low-speed post message command (PPS • Q or PPS • Pri-Q) is transmitted. If a response is detected, the process proceeds to step S62, and it is determined whether or not the content of the response is a low-speed MCF (message confirmation signal). When the low-speed MCF is received, the process proceeds to step S76. On the other hand, if the response is not a low-speed MCF, the process proceeds to step S63 to determine whether or not the response is a low-speed PPR (partial page request). If this determination is negative, the process proceeds to step S64, and it is determined whether or not the response is a low-speed PIP (Yes in procedure interruption). If PIP is detected, the line hold procedure is executed in step S65, and the process proceeds to step S76. If the response is not any of low-speed MCF, PPR, and PIP, it is determined as an error, and the process proceeds to step S66 to perform error processing.
[0036]
If a low-speed PPR is received, the process proceeds from step S63 to step S67 to determine whether or not CTC (continuation of correction) needs to be transmitted. If necessary, the process proceeds to step S68 to send a low-speed CTC. This is performed until a low-speed CTR (correction continuation response) is received in step S69. Then, if a low-speed CTR is received, the process proceeds to phase C.
[0037]
If it is determined in step S67 that CTC transmission is unnecessary, it is determined in step S71 whether transmission of EOR (retransmission end) is necessary. If it is not necessary to send EOR, the process proceeds to step S76. If it is necessary to send EOR, the process proceeds to step S72, and a low-speed EOR is sent. In step S73, it is determined whether or not a low-speed ERR (retransmission end response) has been received. If a low-speed ERR has been received, the process proceeds to step S76. If the low-speed ERR is not received, it is determined whether or not a low-speed PIN (procedure interruption negative) has been received. This determination is based on the ITU-T recommendation T.30. When the EOR is transmitted three times and the T4 timer times out as defined in the procedure of 30, DCN (line disconnection command) is transmitted to disconnect the line. If a low-speed PIN is received, the process proceeds to step S75 to perform a line hold procedure.
[0038]
In step S76, based on the post message command sent in step S59 (transmission phase C), the phase to be transferred next is determined. Based on this determination, the process proceeds to one of steps S77, S78, and S79, and shifts to any of phases C, D, and E.
[0039]
Next, the reception protocol will be described with reference to FIGS. First, in FIG. 13, it is determined whether or not there is an incoming call in step S80. If there is an incoming call, the process proceeds to step S81 and a 1.8 second timer is started. This timer is an ITU-Recommended T.264 standard. 30. In step S82, it is determined whether or not a signal for instructing the transition to the shortened procedure mode, that is, the reception of a single tone indicating the high NSS transmission rate is received. When the signal is received, the mode shifts to the shortened procedure mode (transition case 1: FIG. 2A). In step S83, the reception phase B (FIG. 14) is executed. Subsequent to the reception phase B, the reception phase C (FIG. 15) in step S84 is executed, and in step S85, the reception phase D (FIG. 16) is executed. In step S86, it is determined whether to proceed to phase C, and in step S87, it is determined whether to proceed to phase B. If the determination in step S86 is affirmative, the process proceeds to step S84. If the determination in step S87 is affirmative, the process proceeds to step S83. If neither phase C nor B is entered, the process proceeds to step S88 where low-speed DCN is received and communication is terminated.
[0040]
If no signal is received in step S82, it is determined in step S89 whether CNG is received. If CNG cannot be received, the determinations in steps S82 and S89 are repeated until it is determined in step S90 that a timeout has occurred. When CNG is received or when a time-out occurs, the process proceeds to step S91 to send CED. In step S92, it is determined whether or not a signal instructing transition to the shortened procedure mode is received. If a signal instructing the transition to the shortened procedure mode is received, the process proceeds to step S93 to stop sending the CED, transition to the shortened procedure mode (transition case 2: FIG. 2B), and proceed to step S83. .
[0041]
If the signal could not be received in step S92, the process proceeds to step S94, and it is determined whether CED transmission has been completed. When the sending of CED is completed, the process proceeds to step S95, and NSF / DIS is sent. In step S96, it is determined whether or not a signal instructing transition to the shortened procedure mode has been received. If a signal instructing the transition to the shortened procedure mode is received, the procedure proceeds to the shortened procedure mode (shift case 3: FIG. 3) and proceeds to step S83. If the signal is not received, the procedure proceeds to step S97. To shift to normal reception mode.
[0042]
Next, the reception phase B will be described. In FIG. 14, it is determined in step S98 whether or not a high-speed NSS has been received. If the high-speed NSS is received, the process proceeds to step S99, the speed and the like are determined with reference to the contents of the NSS, and the high-speed NSF is transmitted. When the high speed NSS is not received from the transmitter, the process proceeds to step S100 to determine whether or not the high speed NSC is received. This is to determine whether or not to perform polling in a shortened procedure. Steps S98 and S100 are repeated until high speed NSS or high speed NSC is received in this way. If the determination in step S100 is affirmative, it is determined in step S101 whether or not polling preparation is complete. If ready, the process proceeds to step S102, and a transmission phase B (FIG. 10) is executed to transmit the document. If polling preparation is not completed, a predetermined error procedure is executed in step S103, and the process ends.
[0043]
Next, the reception phase C will be described. In this reception phase C, image information transmitted by being divided into ECM frames is received. In the frame configuration, a parameter indicating image information is set in the first frame (frame No. 0), and image information is set in the second and subsequent frames.
[0044]
In FIG. 15, in step S104, it is determined whether or not an FCD (facsimile encoded data) frame, that is, an image information frame has been received. If this determination is affirmative, the process proceeds to step S105, where the frame No. It is determined whether 0, that is, whether the first frame NSS has been received or not. If the first frame is received, the determination in step S105 is affirmative, and the NSS is analyzed in step S106. If the first frame has not been received, it is determined that the second and subsequent frames, that is, the frame of the image information has been received, the process proceeds to step S107, and the received image information is stored in the image storage device 7. In step S108, it is determined whether or not the reception of the frame is completed, and the process proceeds to step S104 until this determination becomes affirmative. If the reception of the FCD frame is completed without affirmative in step S108, it is a case where there is an RCP frame in the last frame, and the process proceeds to step S109 to analyze the RCP frame post message command. When the analysis of the post message command or the reception of the frame is completed, the reception phase C is exited.
[0045]
Next, the reception phase D will be described. In step S110, it is determined whether or not RCP is received. If the phase D is not received without receiving the RCP, the process proceeds to step S111 to wait for a low speed command. If RCP has been received or if a low-speed command has been received, the process proceeds to step S112 to determine whether or not there is an error in the received FCD frame. If there is no error in the FCD frame, the process proceeds to step S113, where it is determined whether or not the line is held. If this determination is affirmative, a line hold procedure is executed in step S114. If it is not line hold, the process proceeds to step S115 to send the low-speed MCF, and the process proceeds to step S124.
[0046]
If there is an error in the FCD frame, the process proceeds to step S116 to send a low-speed PPR (partial page request). In step S117, it is determined whether or not a CTC has been received. If CTC is received, it will progress to step S118 and will transmit low-speed CTR. If no CTC has been received, the process advances to step S119 to determine whether an EOR has been received. If EOR is not received, the process proceeds to phase C. If EOR is received, the process proceeds to step S121, where it is determined whether or not the line is held. If this determination is affirmative, the line hold procedure is performed in step S122. Execute. If it is not the line hold, the process proceeds to step S123, the low speed ERR is transmitted, and the process proceeds to step S124. In step S124, based on the received post message command, a phase to be transferred next is determined. Based on this determination, the process proceeds to one of steps S125, S126, and S127, and shifts to one of phases C, D, and E.
[0047]
2 and 3 are flowcharts of the protocol procedure described above. FIG. 2A shows a procedure in the case where the polarity reversal is detected and the mode shifts to the shortened procedure mode (transfer case 1). In the figure, “Signal” is a signal indicating the transition to the shortened procedure mode, and the RCP frame (PPS / MPS) 24 indicates that the PPS / MPS of the post message command is set in the RCP frame. PPS · EOP) indicates that the PPS · EOP of the post message command is set in the RCP frame. The FCD frame (PIX) indicates that image information PIX is set in the FCD frame. 27ter, V.I. 29 (option), V.I. An echo protection tone which is an unmodulated carrier signal defined in 17 etc. is shown.
[0048]
FIG. 2B shows a procedure when the CED is detected before the polarity reversal is detected and the mode is shifted to the shortened procedure mode (transition case 2). FIG. 3 shows a case in which the reception capability of the shortened procedure mode is not stored in the registered contents of the capability of the counterpart machine, and the shift to the abbreviated procedure mode is made after judging the reception capability of the shortcut procedure by the NSF command from the counterpart machine. The procedure for doing this is shown below. 2 and 3, the procedure after the transition to the shortened procedure mode, that is, the step after sending the “signal” from the transmitting side is common to each other.
[0049]
【The invention's effect】
As described above, in the present invention, in a communication apparatus having means for setting a communication instruction parameter such as a communication speed and resolution as a command and transmitting it, a setting for setting a plurality of instruction contents for one communication instruction parameter Since the means is provided, all the capabilities of the transmission side can be notified to the reception side. Therefore, even if the receiving side has a lower capability than the transmitting side and does not have the ability to interpret some parameters, by selecting the highest interpretable capability, transmission that matches the capability of the receiving side device can be performed. There is an effect that it becomes possible.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of a facsimile apparatus according to the present invention.
FIG. 2 is a procedure diagram 1 illustrating an example of a transition procedure to a shortening procedure.
FIG. 3 is a procedure diagram 2 showing an example of a procedure for shifting to a shortening procedure.
FIG. 4 is a flowchart showing processing for setting speed information in the NSS.
FIG. 5 is an explanatory diagram showing a format example of a high-speed NSS signal according to the present invention.
FIG. 6 is a flowchart showing a process for setting the resolution in the NSS.
FIG. 7 is an explanatory diagram showing a second embodiment of the NSS format of the present invention.
FIG. 8 is a flowchart 1 showing processing on the transmission side.
FIG. 9 is a flowchart 2 showing processing on the transmission side.
FIG. 10 is a flowchart 3 showing processing on the transmission side.
FIG. 11 is a flowchart 4 showing processing on the transmission side.
FIG. 12 is a flowchart 5 showing processing on the transmission side.
FIG. 13 is a flowchart 1 showing processing on the reception side.
FIG. 14 is a flowchart 2 showing processing on the reception side.
FIG. 15 is a flowchart 3 showing processing on the reception side.
FIG. 16 is a flowchart 4 showing processing on the reception side.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... RAM, 3 ... Operation display apparatus, 4 ... Reading apparatus, 5 ... Printing apparatus, 6 ... Image processing apparatus, 7 ... Image storage apparatus, 8 ... ROM, 9 ... Communication control part 1, 10 ... Communication Control unit 2, 11 ... Digital network control device, 12 ... Modem, 13 ... Analog network control device, 14 ... System bus, 15 ... Line switching control device

Claims (3)

通信速度または解像度を含む通信指示パラメータをコマンドに設定して送信する手段を有する通信装置において、
1つの通信指示パラメータに対して自装置の有する複数の通信能力を指示内容として設定する設定手段を備えたことを特徴とする通信装置。
In a communication apparatus having means for transmitting a communication instruction parameter including a communication speed or resolution as a command,
A communication apparatus comprising setting means for setting, as instruction contents , a plurality of communication capabilities of the own apparatus for one communication instruction parameter.
通信速度を含む通信指示パラメータをコマンドに設定して送信する手段を有する通信装置において、
1つの通信指示パラメータに対して自装置の有する複数の通信能力を指示内容として設定する設定手段を備え、
前記通信指示パラメータを設定するコマンドは、各通信速度あるいは通信規格毎に独立した設定領域を有し、
前記設定手段は、複数の通信速度の指示パラメータを通信速度毎に独立して前記コマンドに設定することを特徴とする通信装置。
In a communication apparatus having means for transmitting a communication instruction parameter including a communication speed by setting a command,
A setting means for setting, as instruction contents, a plurality of communication capabilities of the own apparatus for one communication instruction parameter;
The command for setting the communication instruction parameter has an independent setting area for each communication speed or communication standard,
The setting means, characterized in that independently of the instruction parameters of the plurality of communication speed for each transmission speed is set to the command communication device.
解像度を含む通信指示パラメータをコマンドに設定して送信する手段を有する通信装置において、
1つの通信指示パラメータに対して自装置の有する複数の通信能力を指示内容として設定する設定手段を備え、
前記通信指示パラメータを設定するコマンドは、各解像度毎に独立した設定領域を有し、
前記設定手段は、複数の解像度の指示パラメータを解像度毎に独立して前記コマンドに設定することを特徴とする通信装置。
In a communication apparatus having means for transmitting a communication instruction parameter including resolution as a command,
A setting means for setting, as instruction contents, a plurality of communication capabilities of the own apparatus for one communication instruction parameter;
The command for setting the communication instruction parameter has an independent setting area for each resolution,
The setting means, communication device you characterized in that independently of the instruction parameters of the plurality of resolutions for each resolution is set to the command.
JP35198895A 1995-12-27 1995-12-27 Communication device Expired - Fee Related JP3682795B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35198895A JP3682795B2 (en) 1995-12-27 1995-12-27 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35198895A JP3682795B2 (en) 1995-12-27 1995-12-27 Communication device

Publications (2)

Publication Number Publication Date
JPH09186786A JPH09186786A (en) 1997-07-15
JP3682795B2 true JP3682795B2 (en) 2005-08-10

Family

ID=18421010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35198895A Expired - Fee Related JP3682795B2 (en) 1995-12-27 1995-12-27 Communication device

Country Status (1)

Country Link
JP (1) JP3682795B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3298474B2 (en) * 1997-10-16 2002-07-02 村田機械株式会社 Communication terminal device with e-mail function

Also Published As

Publication number Publication date
JPH09186786A (en) 1997-07-15

Similar Documents

Publication Publication Date Title
JPH0541764A (en) Data transfer method by electronic filing device
EP1119182B1 (en) Communication method and apparatus
JP4280377B2 (en) Image communication method and apparatus
JP3682795B2 (en) Communication device
JP3674072B2 (en) Facsimile communication method and facsimile apparatus
JPH10136187A (en) Communication equipment
JP3427605B2 (en) Facsimile machine
JP2827888B2 (en) Facsimile machine
JP3767000B2 (en) Communication device
JP3707036B2 (en) Communication control method between facsimile apparatus and facsimile
JPH09186679A (en) Communication equipment
KR100262544B1 (en) Method for transmission speed control in facsimile
JP2652829B2 (en) Facsimile machine
JPH09186841A (en) Facsimile equipment
US6546020B1 (en) Data communication system
JPH09186846A (en) Communication device
JPH08298582A (en) Facsimile equipment and facsimile communicating method
KR100245024B1 (en) Memory transmission/ receiving method in facsimile
JPH09312749A (en) Transmission control system for facsimile equipment
JPS62171379A (en) Facsimile equipment
JPH09200289A (en) Communication equipment
JP3360511B2 (en) Facsimile machine
JPH05244395A (en) Facsimile equipment
JPH08317231A (en) Color facsimile equipment
JPH10290355A (en) Facsimile equipment and facsimile communication method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040602

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050519

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees