JP3767000B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP3767000B2
JP3767000B2 JP00787096A JP787096A JP3767000B2 JP 3767000 B2 JP3767000 B2 JP 3767000B2 JP 00787096 A JP00787096 A JP 00787096A JP 787096 A JP787096 A JP 787096A JP 3767000 B2 JP3767000 B2 JP 3767000B2
Authority
JP
Japan
Prior art keywords
transmission
reception
speed
signal
received
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
JP00787096A
Other languages
Japanese (ja)
Other versions
JPH09200359A (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 JP00787096A priority Critical patent/JP3767000B2/en
Publication of JPH09200359A publication Critical patent/JPH09200359A/en
Application granted granted Critical
Publication of JP3767000B2 publication Critical patent/JP3767000B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、短縮プロトコルで通信を行う通信装置に関し、ことに回線状態に応じて画情報の伝送速度を判断して通信を行う通信装置に関する。
【0002】
【従来の技術】
従来、ファクシミリ装置等の通信装置において、画情報の伝送速度を決定するためのフォールバック手順に多くの時間が必要であった。
【0003】
このフォールバック手順の短縮を行うための様々な提案が成されている。
【0004】
例えば、特開平3−154566は、受信側の極性反転を検知すると、300bpsのNSS(非標準機能設定信号)を送出し、極性反転を検知せずにCED(被呼端末識別信号)を検出するとトーンを出してCEDを停止させ、300bpsのNSSを送出する。これにより、NSF(非標準機能識別信号)を省略するので、最初の通信時に相手機のNSFのFIF(ファクシミリ情報フィールド)を記憶しておき、その記憶している内容とネゴシエーションを行って通信パラメータをきめる。画情報の通信速度については送信側で記憶しておき、その速度を通知する。画情報の伝送速度は送信側で伝送速度履歴を記憶しておいて、その速度で画情報を伝送する。TCF(トレーニングチェック)の送出を省略し、CFR(受信準備確認信号)を受信したら通知した速度で画情報を送信する。
【0005】
この方法では、300bpsのNSFを省略し、TCFの送出も省略しているので、かなり前プロトコル時間は短縮できるが、それ以前に行われた通信速度で画情報を通信するため、回線の状態が変動した場合、送信の中断や画像エラーを引き起こす虞がある。また、最初の通信で相手のNSFのFIFを記憶する必要があり、さらに通信速度の履歴をも記憶しておく必要もあり、相手先ごとに記憶するので、コストアップにつながる。
【0006】
特開平5−219334では、CEDを検出したら発呼側が独自のトーン(DTMF)を送出してCEDを停止させ、短縮プロトコル用の300bpsのNSF(一部必須能力の項目を省いたNSF)を送出する。独自のトーンは画情報の伝送速度を通知する機能を兼ねている。この独自のトーンで通知した速度で画情報の前に画情報のパラメータを高速で送出してその後画情報を送出する。
【0007】
この方法では、300bpsのNSFに対して高速で画情報を送出しだすので、その伝送速度を通知するために発呼側が最初に独自のトーンで画情報の通信速度を受信側に通知できるようにしているが、画情報の前に画情報のパラメータを高速に送出し、その後に画情報を送出するという手順では、フォールバック手順がないという問題がある。フォールバック手順を考えるとすると高速でのコマンドのやり取りを考える必要がある。しかも予め決められた伝送速度で画情報を送信するため、回線の状態が変動した場合、送信の中断や画像エラーを引き起こす虞がある。また、最初の通信で通信速度を記憶しておく必要があり、相手先ごとに記憶するので、コストアップにつながる。
【0008】
特開昭61−89770では、送信側または受信側で伝送速度履歴を記憶しておき、それと同一の速度、またはより速い速度を試行速度としてフォールバック手順を実行し、画情報の伝送速度を決定する。
【0009】
この方法も、以前に行われた通信の伝送速度を基にフォールバック手順の施行速度を決定するため、回線の状態が変動した場合にフォールバックが生じやすい。また、最初の通信で通信速度を記憶しておく必要があり、相手先ごとに記憶するので、コストアップにつながる。
【0010】
特開平2−92153では、送信側から受信したTCF(トレーニングチェック)信号の受信状態を基に、受信側からn(n>0)段のフォールバックあるいはフォールアップ指示を送信側に与える。
【0011】
この方法では、場合によっては通常通信と同様のフォールバック手順を実行する必要があり、短縮効果が減少する。
【0012】
特開平3−68262は、発呼側はCED(被呼端末識別信号)検出後トーンを送出し、被呼側はトーンを検出してCEDを停止する。発呼側はCEDの長さを計測して閾値よりも小さければNSSを高速で送出する。この方法では前手順のネゴシエーションを省略して高速でNSSを送出するため、送信側、受信側で予め決定しておいた通信パラメータ(紙サイズや線密度や圧縮方式など)で通信する。また、高速のNSSの通信速度についてもスタート速度を予め決めておき、エラー発生の場合の再送はその都度行い、規定回数エラーが発生すると例えば9600bpsから7200bpsへフォールバックして通信を行う。
【0013】
この方法は、予め決められた伝送速度でNSSおよび画情報を送信するため、その伝送速度が回線の状態にそぐわない場合には、送信の中断あるいは画像エラーを引き起こし、再送やフォールバック動作で無駄な時間を消費することがある。また、通信の伝送速度を記憶しておく必要があり、コストアップにつながる。
【0014】
以上のように従来の通信速度の決定の手順にはまだまだ問題があり、これを改善することで通信速度の決定手順を従来以上に短縮することができる可能性がある。
【0015】
【発明が解決しようとする課題】
以上に述べたように、従来のファクシミリ装置などの通信装置における通信速度の決定方法にはまだまだ問題が多い。
【0016】
【発明が解決しようとする課題】
そこで、この発明は、このような問題を解決するため、送信側で命令信号を送信し、これに応答して受信側からの識別信号によって画情報の伝送速度を決定することでフォールバックをなくし、伝送速度の決定に要する時間を短縮することを目的とする。
【0017】
【課題を解決するための手段】
上記目的を達成するため、請求項1の発明の通信装置は、公衆回線を介して送信側装置と受信側装置との間でファクシミリ信号の送受信を行う送受信手段を有する通信装置において、前記受信側装置は、複数の伝送速度に対応して回線状態毎の受信状態を示すテーブルを予め求め、前記送受信手段による特定の伝送速度のNSS(非標準機能設定)信号の受信に基づき回線状態を判別し、該判別した回線状態に基づき前記テーブルを参照して前記送受信手段による送受信の最高許容伝送速度を決定する伝送速度決定手段と、前記伝送速度決定手段で決定した最高許容伝送速度の情報をNSF(非標準機能識別)信号に設定し、前記NSF(非標準機能識別)信号を前記送受信手段で送信する制御手段とを具備することを特徴とする。
【0018】
また、請求項2の発明の通信装置は、請求項1の発明において、前記伝送速度決定手段は、複数の伝送速度毎の回線状態を判別する回線品質判定データを予め採取して記憶する回線品質判定データ記憶手段と、前記送受信手段による特定の伝送速度のNSS(非標準機能設定)信号の受信過程において回線品質判定データを抽出する回線品質判定データ抽出手段とを更に具備し、前記回線品質判定データ抽出手段によって抽出した回線品質判定データに基づき前記回線品質判定データ記憶手段を参照して前記回線状態を判別することを特徴とする。
【0019】
また、請求項3の発明の通信装置は、請求項1または2の発明において、前記送信側装置は、前記送受信手段で受信した前記NSF(非標準機能識別)信号に含まれる最高許容伝送速度の情報に基づいて伝送速度を設定する制御手段を具備することを特徴とする。
【0027】
【発明の実施の形態】
以下、本発明にかかるファクシミリ装置を添付図面を参照にして詳細に説明する。
【0028】
図1に、本発明が実施されるファクシミリ装置の構成を示すブロック図を示す。
【0029】
図1で、1は装置全体の制御を行うCPU、2は制御プログラムが使用するワークエリアとなるRAM、3は装置の操作のための操作表示装置、4は送信原稿を読み取る読取装置、5は受信画像等を記録する印字装置、6は符号化、復合化、拡大、縮小等を行う画像処理装置、7は画情報を格納する画像蓄積装置、8は装置を制御するプログラムを格納するROMからなるシステム制御部、9はディジタル網に適した通信を制御するためのプログラムを格納するROMを有する通信制御部1、10はアナログ網に適した通信を制御するためのプログラムを格納するROMを有する通信制御部2、11はディジタル網へ通信を接続するためのディジタル網制御装置、12は変復調装置であるモデム、13はアナログ網へ通信を接続するためのアナログ網制御装置で自動発着信機能を備えたもの、14は各機能ブロック相互間のデータのやり取りを行うためのシステムバス、15は複数の外部回線インタフェースと複数の内部通信回線を接続する回線切り替え制御装置である。
【0030】
CPU1は、装置への電源投入時にシステム制御部8のROMからプログラムを読取り、このプログラムに基づいて、システムバス14を介して各構成部分に制御命令を送出して装置全体を制御する。
【0031】
RAM2は、CPU1のワークエリアとして動作する。
【0032】
操作表示装置3は、いわゆるタッチパネルなどから構成され、パネルへの接触によって装置への指示を入力し、現在の装置の状態を表示する入出力手段である。
【0033】
読取装置4は、送信原稿や複写原稿を白色光で照射してスキャンし、その反射光の強度を量子化してディジタル画像信号に変換する。
【0034】
印字装置5は、受信画像信号を記録用紙に印字出力する。
【0035】
画像処理装置6は、送信データを符号化し、受信データを復合化する。更に必要に応じて送受信データの拡大、縮小を行う。
【0036】
画像蓄積装置7は、読取装置4で読み取られた原稿の画像データや受信した画像データをディジタル的にファイル毎に記憶しておく記憶装置である。
【0037】
システム制御部8は、装置を制御するCPU1の制御用プログラムを格納するROMから構成されており、装置への電源投入時にROMからプログラムがCPU1に読み取られる。
【0038】
通信制御部1(9)は、ディジタル網制御装置11を制御してディジタル網に適した通信プロトコルを実行するための制御回路で、内部にディジタル通信制御用のプログラムを格納するROMを有している。
【0039】
通信制御部2(10)は、アナログ網制御装置13を制御してアナログ網に適した通信プロトコルを実行するための制御回路で、内部にアナログ通信制御用のプログラムを格納するROMを有している。
【0040】
ディジタル網制御装置11は、ディジタル網にアクセスして相手の通信装置との通信の接続、切断を制御し、あるいはディジタル通信データを検知するための制御装置である。
【0041】
モデム12は、アナログ網によって検出されたアナログデータをディジタルデータに変更し回線切り替え装置15を介して装置に入力し、回線切り替え装置15からのディジタルデータをアナログデータに変更して通信制御部2(10)に送る役割りを果たす。
【0042】
アナログ網制御装置13は、アナログ網にアクセスして相手の通信装置との通信の接続、切断を制御し、あるいはアナログ通信データを検知するための制御装置である。
【0043】
システムバス14は、この通信装置を構成している各機能ブロック相互間のデータの送受信のため、あるいは制御命令の伝達を行うためのバスである。
【0044】
回線切り替え制御装置15は、ディジタル網とアナログ網のいずれの回線網にアクセスして通信を行うかを選択して切り替えるための切り替え回路で、ディジタル網制御装置11とアナログ網制御装置13に接続されて制御されている。
【0045】
このファクシミリ装置は通信網を介してこの装置と同様な装置に、あるいはアナログ網にのみ通信接続可能な装置に、あるいはディジタル網にのみ通信接続可能な装置に接続され、その間でファクシミリ通信を行う。この装置をアナログ網にのみ接続する場合は、通信制御部1(9)とディジタル網制御装置11とが省略でき、この装置をディジタル網にのみ接続する場合は、通信制御部2(10)とモデム12とアナログ網制御装置13とが省略できる。
【0046】
このような構成を有するファクシミリ装置の短縮プロトコルの基本的な送信側のプロトコル手順のフローチャート図2〜図6にそって説明する。
【0047】
図2は、この実施例のファクシミリ装置の送信プロトコルの制御フローチャートを示したものである。
【0048】
まず、相手機に対して発呼が行われると(ステップ101)、この相手機に短縮プロトコル受信能力がありとが記憶されているかどうかを調べる(ステップ102)。
ここで、相手機に短縮プロトコル受信能力があるか否かは、図に示したRAM2の所定に記憶領域に記憶される宛先データリストに相手機の、例えば、短縮番号に対応して予め記憶されている。
【0049】
すなわち、ステップ102では、発呼した相手機の短縮番号に基づき上記RAM2の宛先データリストを検索し、相手機に短縮プロトコル受信能力がありと記憶されているか否かを調べる。
【0050】
そして、相手機に短縮プロトコル受信能力がありと記憶されている場合は(ステップ103でYES)、送信フェーズAを実行する(ステップ112)。この送信フェーズAの詳細は後に図3を参照して説明する。
【0051】
送信フェーズAが終了すると、この送信フェーズAで短縮プロトコル(短プロ)送信に移行したか否かを判定し(ステップ113)、ここで短縮プロトコル送信に移行している場合は(ステップ113でYES)、次に、送信フェーズBを実行する(ステップ114)。この送信フェーズBの詳細は後に図4を参照して説明する。
【0052】
送信フェーズBが終了すると、この送信フェーズBで短縮プロトコル(短プロ)送信に移行したか否かを判定し(ステップ115)、ここで短縮プロトコル送信に移行している場合は(ステップ115でYES)、次に、送信フェーズCを実行する(ステップ116)。この送信フェーズCの詳細は後に図5を参照して説明する。
【0053】
送信フェーズCが終了すると、次に、送信フェーズDを実行する(ステップ117)。この送信フェーズDの詳細は後に図6を参照して説明する。
【0054】
送信フェーズDが終了すると、この送信フェーズDにおいて、送信フェーズCへ移行するかを調べる(ステップ118)。ここで、送信フェーズCへ移行する場合は(ステップ118でYES)、ステップ116に戻り、送信フェーズCへの移行しない場合は(ステップ118でNO)、次に送信フェーズDにおいて、送信フェーズBへ移行するかを調べる(ステップ119)。ここで、送信フェーズBへ移行する場合は(ステップ119でYES)、ステップ114に戻り、送信フェーズBへ移行がしない場合は(ステップ119でNO)、低速DCN(切断命令信号)を送出し、この送信プロトコルを終了する。
【0055】
また、ステップ103で、相手機に短縮プロトコル受信能力がありと記憶されていない場合は、まず、1100HzのCNG(コーリングトーン)を送出し(ステップ104)、次に相手機からCED(被呼端末識別信号)または何等かのコマンドを受信したかを調べ(ステップ105)、CEDまたは何等かのコマンドを受信していない場合は(ステップ105でNO)、ステップ104に戻り、再びCNGを送出し、CEDまたは何等かのコマンドを受信している場合は(ステップ105でYES)、次に相手機からNSF(非標準機能識別信号)を受信したかを調べ(ステップ106)、NSFを受信している場合は(ステップ106でYES)、この受信したNSFが自社のNSFかを調べ(ステップ108)、自社のNSFである場合は、この自社のNSFに短縮プロトコル送信能力有りを示す情報が含まれているかを調べ(ステップ108)、短縮プロトコル送信能力有りを示す情報が含まれている場合は(ステップ108でYES)、上述した図に示したRAM2の宛先データリストに該相手機の短縮番号に対応して、短縮プロトコル受信能力ありと記憶し(ステップ109)、ステップ114に進み、送信フェーズBを実行する。
【0056】
なお、ステップ106でNSFを受信していないと判断された場合、すなわちDIS(ディジタル識別信号)を受信した場合(ステップ106でNO)、ステップ107で受信したNSFが自社のNSFでないと判断された場合(ステップ107でNO)、またはステップ108で自社のNSFに短縮プロトコル送信能力有りを示す情報が含まれていないと判断された場合(ステップ108でNO)は、図に示したRAM2の宛先データリストに該相手機の短縮番号に対応して、短縮プロトコル受信能力なしと記憶し(ステップ110)、通常の送信を行い(ステップ111)、この送信プロトコルを終了する。
【0057】
また、ステップ113で送信フェーズAにおいて短縮プロトコル送信に移行していないと判断された場合(ステップ113でNO)、またはステップ115で送信フェーズBにおいて短縮プロトコル送信に移行していないと判断された場合(ステップ115でNO)は、通常送信と判断してステップ106に進み、相手機からNSFを受信したかを調べる。
【0058】
図3は、図2に示したステップ112の送信フェーズAにおける処理の詳細を示したものである。この送信フェーズAにおいては、まず、相手機が極性反転検知機能を実装しているか否かを調べる(ステップ121)。ここで、相手機が極性反転検知機能を実装しているか否かは、図2に示したRAM2の宛先データリストに相手機の、例えば、短縮番号に対応して予め記憶されている。
【0059】
すなわち、ステップ121では、発呼した相手機の短縮番号に基づき上記RAM2の宛先データリストを検索し、相手機が極性反転検知機能を実装しているか否かを調べる。
【0060】
ここで、相手機が極性反転検知機能を実装している場合は(ステップ121でYES)、CNG(コーリングトーン)送出開始タイマーをスタートさせ(ステップ127)、次に極性反転を検知したかを調べる(ステップ127)。ここで、極性反転の検知は後に詳述するように、極性反転の回数がこの相手機に対する前回の通信時に学習した極性判定回数に達したか否かにより判定され、極性反転の回数がこの相手機に対する前回の通信時に学習した極性判定回数に達した場合は(ステップ127でYES)、短縮プロトコル(短プロ)送信に移行する(ステップ133)。
【0061】
また、ステップ127で、極性反転を検知していない、すなわち極性反転の回数がこの相手機に対する前回の通信時に学習した極性判定回数に達していない場合は(ステップ127でNO)、次にCNG送出開始タイマーがタイムアウトしているかを調べ(ステップ128)、CNG送出開始タイマーがタイムアウトしていない場合は(ステップ128でNO)、ステップ127に戻り、CNG送出開始タイマーがタイムアウトしている場合は(ステップ128でYES)、CNG(コーリングトーン)を送出し(ステップ129)、再び極性反転を検知したかを調べる(ステップ130)。この極性反転の検知も後に詳述するように、極性反転の回数がこの相手機に対する前回の通信時に学習した極性判定回数に達したか否かにより判定される。そして、ここで極性反転が検知されると、すなわち極性反転の回数がこの相手機に対する前回の通信時に学習した極性判定回数に達した場合は(ステップ130でYES)、短縮プロトコル(短プロ)送信に移行する(ステップ133)。
【0062】
また、ステップ130で、極性反転が検知されない場合、すなわち極性反転の回数がこの相手機に対する前回の通信時に学習した極性判定回数に達しない場合は(ステップ130でNO)、次にCED(被呼端末識別信号)を受信したかを調べ(ステップ131)、CEDを受信した場合は(ステップ131でYES)、短縮プロトコル(短プロ)送信に移行する(ステップ133)。
【0063】
また、ステップ131でCEDを受信していないと判断された場合は(ステップ131でNO)、低速コマンドを受信したかを調べ(ステップ132)、低速コマンドを受信していない場合は(ステップ132でNO)、ステップ129に戻り、CNG(コーリングトーン)を再び送出し、低速コマンドを受信したと判断した場合は(ステップ132でYES)、通常送信に移行する(ステップ125)。
【0064】
また、ステップ121で相手機が極性反転検知機能を実装していないと判断した場合は(ステップ121でNO)、CNG(コーリングトーン)を送出し(ステップ122)、次にCED(被呼端末識別信号)を受信したかを調べ(ステップ123)、CEDを受信した場合は(ステップ123でYES)、短縮プロトコル(短プロ)送信に移行する(ステップ133)。
【0065】
また、ステップ123でCEDを受信していないと判断された場合は(ステップ123でNO)、低速コマンドを受信したかを調べ(ステップ124)、低速コマンドを受信していない場合は(ステップ124でNO)、ステップ122に戻り、CNG(コーリングトーン)を再び送出し、低速コマンドを受信したと判断した場合は(ステップ124でYES)、通常送信に移行する(ステップ125)。
【0066】
図4は、図2に示したステップ114の送信フェーズBにおける処理の詳細を示したものである。この送信フェーズBにおいては、まず、ポーリングか否かを調べ(ステップ141)、ポーリングでない場合は、短縮プロトコルへの移行を指示する信号送出(ステップ142)、高速NSS(非標準機能設定信号)送出(ステップ143)を行い、次に相手機からレスポンスを受信したかを調べる
(ステップ144)。
【0067】
ここで、相手機からレスポンスを受信した場合は(ステップ144でYES)、次に高速NSF(非標準機能識別信号)を受信したかを調べ(ステップ148)、高速NSFを受信した場合は(ステップ148でYES)、短縮プロトコル(短プロ)送信に移行する(ステップ150)。
【0068】
また、ステップ148で、高速NSFを受信していない、すなわち、例えばNSF/DIS等の低速コマンドを受信した場合は(ステップ148でNO)、通常送信に移行する(ステップ149)。
【0069】
また、ステップ144で、相手機からのレスポンスを受信しない場合は(ステップ144でNO)、極性反転を検知したかを調べる(ステップ145)。
【0070】
ここにおける極性反転の検知も後に詳述するように、極性反転の回数がこの相手機に対する前回の通信時に学習した極性判定回数に達したか否かにより判定される。
【0071】
ステップ145において、極性反転を検知しない場合は(ステップ145でNO)、フォールバックパラメータをセットし(ステップ146)、ステップ142に戻り、再び短縮プロトコルへの移行を指示する信号送出(ステップ142)、高速NSS(非標準機能識別信号)送出(ステップ143)を行う。
【0072】
また、ステップ147で、極性反転を検知した場合は(ステップ147でYES)、初期値の通信速度をセットし直し(ステップ147)、ステップ142に戻り、再び短縮プロトコルへの移行を指示する信号送出(ステップ142)、高速NSS(非標準機能識別信号)送出(ステップ143)を行う。
【0073】
すなわち、相手機が極性反転検知機能を実装している場合は、相手機からのレスポンス受信を待っている時も極性反転の検知を行い、極性反転を検知した場合は初期値の通信速度をセットし直す処理を行う。
【0074】
また、ステップ141でポーリングであると判定された場合は(ステップ141でYES)、短縮プロトコルへの移行を指示する信号送出(ステップ151)、高速NSC(非標準機能命令信号)送出(ステップ152)を行い、次に相手機からレスポンスを受信したかを調べる(ステップ153)。
【0075】
ここで、相手機からレスポンスを受信した場合は(ステップ153でYES)、次に高速NSS(非標準機能設定信号)を受信したかを調べ(ステップ157)、高速NSSを受信した場合は(ステップ157でYES)、図8で後に説明する受信フェーズBに移行する(ステップ159)。
【0076】
また、ステップ157で、高速NSSを受信していない、すなわち、例えばNSS/DIS等の低速コマンドを受信した場合は(ステップ157でNO)、通常送信に移行する(ステップ158)。
【0077】
また、ステップ153で、相手機からのレスポンスを受信しない場合は(ステップ153でNO)、極性反転を検知したかを調べる(ステップ154)。
【0078】
ここにおける極性反転の検知も後に詳述するように、極性反転の回数がこの相手機に対する前回の通信時に学習した極性判定回数に達したか否かにより判定される。
【0079】
ステップ154において、極性反転を検知しない場合は(ステップ154でNO)、フォールバックパラメータをセットし(ステップ155)、ステップ151に戻り、再び短縮プロトコルへの移行を指示する信号送出(ステップ151)、高速NSC(非標準機能設定信号)送出(ステップ152)を行う。
【0080】
また、ステップ154で、極性反転を検知した場合は(ステップ154でYES)、初期値の通信速度をセットし直し(ステップ156)、ステップ151に戻り、再び短縮プロトコルへの移行を指示する信号送出(ステップ151)、高速NSC(非標準機能設定信号)送出(ステップ152)を行う。
【0081】
図5は、図2に示したステップ116の送信フェーズCにおける処理の詳細を示したものである。この送信フェーズCにおいては、まず、画情報の再送かを調べ(ステップ161)、ここで、画情報の再送でないと判断された場合は(ステップ161でNO)、フレーム番号0のフレームにNSS(非標準機能設定信号)を入れて送出し(ステップ162)、続いて画情報をフレームに入れて送出し(ステップ163)、次にこの画情報の送出が終了したかを調べ(ステップ164)、終了していない場合は(ステップ164でNO)、ステップ163に戻り、終了した場合は(ステップ164でYES)、RCP(部分ページ制御復帰)フレームにポストメッセージコマンドの内容を入れて送出し(ステップ165)、その後リターンする。
【0082】
また、ステップ161で、画情報の再送の場合は(ステップ161でYES)、再送対象の画情報をフレームに入れて送出し(ステップ166)、次にこの画情報の再送が終了したかを調べ(ステップ167)、終了していない場合は(ステップ167でNO)、ステップ166に戻り、終了した場合は(ステップ167でYES)、RCP(部分ページ制御復帰信号)フレームにポストメッセージコマンドの内容を入れて送出し(ステップ165)、その後リターンする。
【0083】
図6は、図2に示したステップ117の送信フェーズDにおける処理の詳細を示したものである。この送信フェーズDにおいては、まず、相手機からのレスポンスを受信したかを調べ(ステップ171)、レスポンスを受信していない場合は(ステップ171でNO)、PPS−QまたはPPS−PriQによる低速ポストメッセージコマンドを送出しステップ171に戻る。
【0084】
ステップ171で相手機からのレスポンスを受信した場合は(ステップ171でYES)、次に低速MCF(メッセージ確認信号)を受信したかを調べ(ステップ173)、低速MCFを受信した場合は(ステップ173でYES)、ステップ186へ進む。
【0085】
また、ステップ173で低速MCFを受信していないと判断された場合は(ステップ173でNO)、次に低速PPR(部分ページ要求信号)を受信したかを調べる(ステップ174)、ここで、低速PPRを受信した場合は(ステップ174でYES)、CTC(訂正続行信号)の送出が必要かを調べ(ステップ177)、必要な場合は(ステップ177でYES)、低速CTCを送出し(ステップ178)、低速CTR(訂正続行応答信号)を受信すると(ステップ179でYES)、送信フェーズCへ移行する(ステップ187)。
【0086】
また、ステップ177でCTC(訂正続行信号)の送出が必要でないと判断された場合は(ステップ177でNO)、次に、EOR(再送終了信号)の送出が必要かを調べ(ステップ180)、必要な場合は(ステップ180でYES)、低速EORを送出し(ステップ181)、低速ERR(再送終了応答信号)を受信すると(ステップ182でYES)、ステップ186へ進む。
【0087】
また、ステップ182で低速ERR(再送終了応答信号)を受信しないと判断されると、つぎに低速PIN(手順中断否定信号)を受信したかを調べ(ステップ183)、低速PINを受信すると(ステップ183でYES)、ラインホールド手順を行い(ステップ184)、ステップ186に進む。
【0088】
また、ステップ174で、低速PPRを受信しない場合は(ステップ174でNO)、次に低速PIP(手順中断肯定信号)を受信したかを調べ(ステップ175)、低速PIPを受信した場合は(ステップ175でYES)、ラインホールド手順を行い(ステップ185)、ステップ186に進む。
【0089】
また、ステップ175で低速PIPを受信しない場合は(ステップ175でNO)、所定のエラー処理を行い(ステップ176)、ステップ186に進む。
【0090】
ステップ186では、送出したポストメッセージコマンドより次の手順が送信フェーズC、送信フェーズD、送信フェーズEのいずれかかを判断する。そして、次の手順が送信フェーズCであると判断された場合は送信フェーズCに移行し(ステップ189)、送信フェーズDであると判断された場合は送信フェーズDに移行し(ステップ190)、送信フェーズEであると判断された場合は送信フェーズEに移行する(ステップ191)。
【0091】
次に、この実施例のファクシミリ装置の受信動作を図7乃至図10に示す受信プロトコルの制御フローチャートを用いて説明する。
【0092】
図7は、この実施例のファクシミリ装置の受信プロトコルを制御フローチャートで示したものである。
【0093】
相手機からの着信があると(ステップ201)、1.8秒のタイマーをスタートさせ(ステップ202)、短縮プロトコルへの移行を指示する信号受信かを調べる(ステップ203)。
【0094】
ここで、信号を受信した場合は(ステップ203でYES)、まず受信フェーズBを実行する。この受信フェーズBの詳細は後に図8を参照して説明する。
【0095】
受信フェーズBが終了すると、次に、受信フェーズCを実行する。この受信フェーズCの詳細は後に図9を参照して説明する。
【0096】
受信フェーズCが終了すると、次に、受信フェーズDを実行する。この受信フェーズDの詳細は後に図10を参照して説明する。
【0097】
受信フェーズDが終了すると、この受信フェーズDにおいて、受信フェーズCへの移行かを調べる(ステップ207)。ここで、受信フェーズCへの移行の場合は(ステップ207でYES)、ステップ205に戻り、受信フェーズCへの移行でない場合は(ステップ207でNO)、次に受信フェーズDにおいて、受信フェーズBへの移行かを調べ(ステップ208)、受信フェーズBへの移行の場合は(ステップ208でYES)、ステップ204に戻り、受信フェーズBへの移行でない場合は(ステップ208でNO)、受信フェーズEへの移行であるので低速DCN(切断命令信号)を受信し(ステップ209)、この受信プロトコルを終了する。
【0098】
また、ステップ203において、短縮プロトコルへの移行を指示する信号受信でないと判断されない場合は(ステップ203でNO)、次にCNG(コーリングトーン)受信かを調べ(ステップ210)、CNG受信でない場合は(ステップ210でNO)、1.8秒のタイマーがタイムアウトかを調べ(ステップ211)、タイムアウトでない場合は(ステップ211でNO)、ステップ203に戻り、タイムアウトである場合は(ステップ211でYES)、CED(被呼端末識別信号)を送出する(ステップ212)。
【0099】
また、ステップ210でCNG受信と判断された場合は、ステップ212に進み、CED(被呼端末識別信号)を送出する。
【0100】
ステップ212でCEDを送出すると、再び短縮プロトコルへの移行を指示する信号受信かを調べる(ステップ213)。ここで、短縮プロトコルへの移行を指示する信号受信と判断された場合は(ステップ213でYES)、CEDの送出を停止し(ステップ214)、ステップ204の受信フェーズBを実行する。
【0101】
また、ステップ213で短縮プロトコルへの移行を指示する信号受信でないと判断された場合は、次にCED送出終了かを調べ(ステップ215)、CED送出終了でない場合は(ステップ215でNO)、ステップ212に戻り、CED送出終了と判断された場合は(ステップ215でYES)、NSF/DISの送信を行い(ステップ216)、更に短縮プロトコルへの移行を指示する信号受信かを調べる(ステップ217)。ここで、短縮プロトコルへの移行を指示する信号受信であると判断された場合は(ステップ217でYES)、ステップ204に進み、受信フェーズBを実行する。
【0102】
また、ステップ217で短縮プロトコルへの移行を指示する信号受信でないと判断された場合は(ステップ217でNO)、通常の受信を行い(ステップ218)、この受信プロトコルを終了する。
【0103】
図8は、図7に示したステップ204の受信フェーズBにおける処理の詳細を示したものである。この受信フェーズBにおいては、まず、高速NSS(非標準機能設定信号)受信かを調べる(ステップ211)。ここで高速NSSを受信すると(ステップ211でYES)、高速NSF(非標準機能識別信号)を送出して(ステップ222)、リターンする。
【0104】
また、ステップ211で高速NSSを受信しないと(ステップ211でNO)、次に高速NSC(非標準機能命令信号)受信かを調べる(ステップ223)。ここで、高速NSC受信でない場合は(ステップ223でNO)、ステップ221に戻り、高速NSCを受信した場合は(ステップ223でYES)、次にポールドOKかを調べる(ステップ224)。ここで、ポールドOKの場合は(ステップ224でYES)、図5に示した送信フェーズBに進み(ステップ225)、ポールドOKでない場合は(ステップ224でNO)、所定のエラー処理を実行する(ステップ226)。
【0105】
図9は、図7に示したステップ205の受信フェーズCにおける処理の詳細を示したものである。この受信フェーズCにおいては、まず、FCD(ファクシミリ符号化データ)フレーム受信かを調べ(ステップ231)、FCDフレーム受信の場合は(ステップ231でYES)、フレーム番号0のフレームのNSS
(非標準機能設定信号)の情報受信かを調べる(ステップ232)。ここで、NSSの情報受信である場合は(ステップ232でYES)、このNSSを解析し(ステップ235)、ステップ231に戻る。
【0106】
また、ステップ232で、NSSの情報受信でない場合は(ステップ232でNO)、受信した画情報を蓄積し(ステップ233)、次にフレーム受信終了かを調べる(ステップ234)。ここで、フレーム受信終了でない場合は(ステップ234でNO)、ステップ231に戻り、フレーム受信終了の場合は(ステップ234でYES)、リターンする。
【0107】
また、ステップ231でFCDフレームの受信ではないと判断された場合は(ステップ231でNO)、RCPフレームの受信であるので、このRCPフレームのポストメッセージコマンドの内容を解析し(ステップ236)、その後リターンする。
【0108】
図10は、図7に示したステップ206の受信フェーズDにおける処理の詳細を示したものである。この受信フェーズDにおいては、まず、RCP(部分ページ制御復帰信号)フレームを受信しているかを調べる(ステップ241)。ここで、RCPフレームを受信していると(ステップ241でYES)、ステップ243に進む。また、ステップ241で、RCPフレームを受信していないと判断されると(ステップ241でNO)、次に低速コマンドを受信しているかを調べ(ステップ242)、低速コマンドを受信すると(ステップ242でYES)、ステップ243に進む。
【0109】
ステップ243では、FCD(ファクシミリ符号化データ)フレームがOKかを調べ、FCDフレームがOKであると(ステップ243でYES)、次にラインホールドかを調べ(ステップ244)、ラインホールドであると(ステップ244でYES)、ラインホールド手順を実行し(ステップ246)、ステップ256に進む。
【0110】
また、ステップ244で、ラインホールドでないと判断されると(ステップ244でNO)、低速MCF(メッセージ確認信号)を送出し(ステップ245)、ステップ256に進む。
【0111】
また、ステップ243で、FCDフレームがOKでないと判断されると(ステップ243でNO)、低速PPR(部分ページ要求信号)を送出し(ステップ247)、次にCTC(訂正続行信号)受信したを調べ(ステップ248)、ここで、CTCを受信すると(ステップ248でYES)、低速CTR(訂正続行応答)を送出し(ステップ249)、受信フェーズCへ移行する(ステップ250)。
【0112】
また、ステップ248でCTCを受信していないと(ステップ248でNO)、次にEOR(再送終了信号)を受信したかを調べ(ステップ251)、ここでEORを受信していないと(ステップ251でNO)、受信フェーズCへ移行する(ステップ252)。
【0113】
また、ステップ251でEORを受信していると判断された場合は(ステップ251でYES)、次にラインホールドかを調べ(ステップ253)、ラインホールドであると(ステップ253でYES)、ラインホールド手順を実行し(ステップ255)、ステップ256に進む。
【0114】
また、ステップ253で、ラインホールドでないと判断されると(ステップ253でNO)、低速ERR(再送終了応答信号)を送出し(ステップ254)、ステップ256に進む。
【0115】
ステップ256では、受信したポストメッセージコマンドより次の手順が受信フェーズC、受信フェーズD、受信フェーズEのいずれかかを判断する(ステップ256)。そして、次の手順が受信フェーズCであると判断された場合は受信フェーズCへ移行し(ステップ257)、受信フェーズDであると判断された場合は受信フェーズDへ移行し(ステップ258)、受信フェーズEであると判断された場合は受信フェーズEへ移行する(ステップ259)。
【0116】
以上の基本的なプロトコル手順から短縮プロトコルへのモード移行に関する部分を更に詳しく、図11乃至図13に示すシーケンスチャートを参照して説明する。ここで、図11乃至図13は短縮プロトコルへのモード移行の3つのケースの基本的な送受信プロトコル手順を示している。
【0117】
まず送信側に付いて説明する。
【0118】
図11は、短縮プロトコルへのモード移行の第1のケースを示すもので、この第1のケースにおいて、送信側では、まず、発呼(Calling)を行うとともに、送信側の記憶手段(図1のRAM2の宛先データリスト)に相手機(受信側)の短縮番号に対応して短縮プロトコル受信能力ありと記憶されているかをチェックし(図2のステップ103)、短縮プロトコル受信能力ありと記憶されている場合は、次に相手機(受信側)が極性反転検知機能を実装しているかをチェックし(図3のステップ121)、極性反転検知機能を実装している場合は、極性反転をチェックし(図3のステップ127、ステップ130)、極性反転を検知したら短縮プロトコルへの移行を指示する信号を送出して(図4のステップ142)短縮プロトコルに移行し、短縮プロトコルを実行する。
【0119】
一方、受信側では、着呼したら、CED(被呼端末識別信号)送出までの間で送信側から短縮プロトコルへの移行を指示する信号を受信したかをチェックし(図7のステップ203)、短縮プロトコルへの移行を指示する信号を受信したら短縮プロトコルに移行し、短縮プロトコルを実行する。
【0120】
短縮プロトコルに移行後は、送信側では、まず、高速コマンドの通信速度を示した信号(短縮プロトコルへの移行を指示する信号)に続いて高速のNSS(非標準機能設定信号)を送出し(図4のステップ143)、相手機(受信側)からの高速のNSF(非標準機能識別信号)を待ち、相手機(受信側)から高速のNSFを受信したら(図4のステップ148)、画情報送出フェーズ(図5に示す送信フェーズC)へ移行する。
【0121】
また、受信側では、送信側からの高速コマンドの通信速度を示した信号(短縮プロトコルへの移行を指示する信号)の示す通信速度の高速のNSSを受信すると(図8のステップ221)、高速のNSFを送出し(図8のステップ222)、画情報受信フェーズ(図9に示す受信フェーズC)へ移行する。
【0122】
送信側の画情報送出フェーズ(送信フェーズC)においては、画情報をECM(エラー訂正モード)によるフレームに分割して送出する。ここで、このECMによるフレームの第1フレームには以下に続く画情報のパラメータを設定し、第2フレーム以降のフレーム(FCDフレーム)には画情報を入れて送出する。なお、この第1フレームには先に送出したNSSの内容そのものでもよいし、送出しようとしている画情報を示すパラメータのみでもよい。
【0123】
このようにして、画情報の送出を終了したら、ファクシミリインフォメーションフィールドにポストメッセージコマンドに該当する内容を設定したRCPフレームを送出し(図5のステップ165)、レスポンコマンド待ちフェーズ(図6に示す送信フェーズD)へ移行する。
【0124】
また、受信側の画情報受信フェーズ(受信フェーズC)においては、送信側からECMによるフレームにより分割して送出された画情報を受信する。そして画情報の受信が終了すると、ファクシミリインフォメーションフィールドにポストメッセージコマンドに該当する内容を設定したRCPフレームを受信し、このRCPフレームのポストメッセージコマンドの内容を解析して(図9のステップ236)、レスポンコマンド待ちフェーズ(図10に示す受信フェーズD)へ移行する。
【0125】
送信側のレスポンコマンド待ちフェーズ(送信フェーズD)においては、MCF(メッセージ確認信号)を受信したら(図6のステップ173)、送出した先のRCPフレームに設定したポストメッセージコマンドの内容に合わせて画情報送出フレーム(送信フェーズC)へ移行するか、送信フェーズBへ移行するか、送信フェーズEへ移行するかを判断して(図6のステップ186)、各送信フェーズへの移行を行う。
【0126】
また、受信側のレスポンコマンド待ちフェーズ(送信フェーズD)においては、MCF(メッセージ確認信号)を送出したら(図10のステップ245)、受信した先のRCPフレームに設定したポストメッセージコマンドの内容に合わせて画情報受信フレーム(受信フェーズC)へ移行するか、受信フェーズBへ移行するか、受信フェーズEへ移行するかを判断して(図1010のステップ256)、各受信フェーズへの移行を行う。
【0127】
そして、送信側では、送信フェーズEへ移行するとDCN(切断命令信号)を送出し(図2のステップ120)、この送信プロトコルを終了する。
【0128】
また、受信側では、受信フェーズEへ移行すると送信側からのDCNを受信するとこの受信プロトコルを終了する。
【0129】
図12は、短縮プロトコルへのモード移行の第2のケースを示すもので、この第2のケースにおいて、送信側では、まず、発呼(Calling)を行うとともに、送信側の記憶手段(図1のRAM2の宛先データリスト)に相手機(受信側)の短縮番号に対応して短縮プロトコル受信能力ありと記憶されているかをチェックし(図2のステップ102)、短縮プロトコル受信能力ありと記憶されている場合は、次に相手機(受信側)が極性反転検知機能を実装しているかをチェックし(図3のステップ121)、極性反転検知機能を実装している場合は、極性反転をチェックし(図3のステップ127、ステップ130)、極性反転を検知する前にCED(被呼端末識別信号)を検出したら(図3のステップ131)、短縮プロトコルへの移行を指示する信号を送出して(図4のステップ142)短縮プロトコルに移行し、短縮プロトコルを実行する。
【0130】
また、相手機(受信側)が極性反転検知機能を実装していない場合は、CNG(コーリングトーン)を送出しながらCED検出を行い(図3のステップ122、123)、CEDを検出したら短縮プロトコルへの移行を指示する信号を送出して(図4のステップ142)短縮プロトコルに移行し、短縮プロトコルを実行する。
【0131】
一方、受信側では、着呼したら、CED(被呼端末識別信号)送出までの間で送信側から短縮プロトコルへの移行を指示する信号を受信したかをチェックし(図7のステップ203)、その信号を受信せずにCEDを送出しなければいけない場合はCEDを送出し(図7のステップ212)、このCEDを送出しながら短縮プロトコルへの移行を指示する信号を受信したかをチェックし(図7のステップ213)、短縮プロトコルへの移行を指示する信号を受信したらCEDの送出を停止して短縮プロトコルに移行し、短縮プロトコルを実行する。
【0132】
なお、短縮プロトコルに移行した後における処理は図11に示したものと同様である。
【0133】
図13は、短縮プロトコルへのモード移行の第3のケースを示すもので、この第3のケースにおいて、送信側では、まず、発呼(Calling)を行うとともに、送信側の記憶手段(図1のRAM2の宛先データリスト)に相手機(受信側)の短縮番号に対応して短縮プロトコル受信能力ありと記憶されているかをチェックし(図2のステップ102)、短縮プロトコル受信能力なしと記憶されている場合は、CNGを送出しながらCEDまたはコマンドの検知を行い(図2のステップ105)、NSF(非標準機能識別信号)を受信したら(図2のステップ106)、この受信したNSFが自社機のNSFかをチェックし(図2のステップ107)、自社機のNSFの場合は短縮プロトコル受信能力があるかをチェックし(図2のステップ108)、短縮プロトコル受信能力がある場合は、送信側の記憶手段(図1のRAM2の宛先データリスト)に相手機(受信側)の短縮番号に対応して短縮プロトコル受信能力ありと記憶し(図2のステップ109)、その後、短縮プロトコルへの移行を指示する信号を送出して(図4のステップ142)短縮プロトコルに移行し、短縮プロトコルを実行する。なお、上記条件に合わない場合は通常のプロトコルで送信を行う。
【0134】
一方、受信側では、着呼したら、CED(被呼端末識別信号)送出までの間で送信側から短縮プロトコルへの移行を指示する信号を受信したかをチェックし(図7のステップ203)、その信号を受信せずにCEDを送出しなければいけない場合はCEDを送出し(図7のステップ212)、このCEDを送出しながら短縮プロトコルへの移行を指示する信号を受信したかをチェックし(図7のステップ213)、その信号を受信せずにCEDの送出を終了した場合は、短縮プロトコル受信能力ありを示すNSFとDIS(必要ならばCIS)を送出し(図7のステップ216)、更に、短縮プロトコルへの移行を指示する信号を受信したかをチェックし(図7のステップ217)、その信号を受信したら短縮プロトコルに移行し、短縮プロトコルを実行する。なお、上記条件に合わない場合は通常のプロトコルで受信を行う。
【0135】
なお、短縮プロトコルに移行した後における処理は図11に示したものと同様である。
【0136】
以上、短縮プロトコルに移行に関連する3つのプロトコル手順の基本的な部分を説明したが、それ以外の手順(例えばECMフレームの再送手順など)は、図2ないし図10に示したようにITU−T勧告T.30に準拠して動作する。
【0137】
次に、画情報の伝送速度決定の幾つかの基本的な方式について示す。
【0138】
図14は、受信側での伝送速度決定の第1の方式をフローチャートで示したものである。また、図15はこの時のシーケンスチャートである。
【0139】
まず、受信側で高速のNSSの受信が始まる(ステップ301)と、このNSSの受信の過程で回線品質判定データを抽出する(ステップ302)。高速NSSの受信が終了すると(ステップ303)、抽出した回線品質判定データから画情報の最高許容伝送速度を決定する(ステップ304)。
【0140】
次に、決定した最大許容伝送速度をNSFに設定し、このNSFを送信側に送信して(ステップ305)、終了する。
【0141】
このステップ304で抽出した回線品質判定データから画情報の最大許容伝送速度を決定するためには、予め次のようなデータを採取しておく必要がある。ここで速度は、14.4kbps、12.0kbps、9600bps、7200bps、4800bps、2400bpsの6種類から選択できるものとする。
【0142】
(1)まず、図16に示すように伝送速度ごとの回線状態に対する回線品質判定データを採取する。
回線品質判定データの数字が少ないものほど回線状態が良い。
9600bpsの場合では回線状態はa、b、c、d……の順に悪化している。
【0143】
(2)次に、図17に示すように回線品質判定データ毎の各伝送速度に対する受信状態を採取する。図で丸印は良好、×印は不良である。図から見られるように9600bpsの場合の例では回線状態はa、b、c、d……の順に悪化している。
【0144】
この図で、例えば9600bpsのNSSの受信の過程で、「3」の回線品質判定データを抽出した場合、図17の図表から14.4kbpsでは受信状態が不良であるが、12.0kbpsでは良好になることが分かる。したがって、この場合の画情報の最高許容伝送速度は12.0kbpsということになる。
【0145】
図18は、受信側での伝送速度決定の第2の方式をフローチャートで示したものである。また、図19はこの時のシーケンスチャートである。
【0146】
受信側で高速のNSSの受信が始まる(ステップ311)と、このNSSの受信の過程で回線品質判定データを抽出する(ステップ312)。高速NSSの受信が終了すると(ステップ313)、高速のNSSの伝送速度が最高速度(9600bps)かどうかを判定する(ステップ314)。最高速度(9600bps)であった場合(ステップ314でYES)は、抽出した回線品質判定データから画情報の最高許容伝送速度を決定する(ステップ315)。この場合の最高許容伝送速度は14.4kbps、12.0kbps、9600bpsの内のいずれかになる。最高速度(9600bps)未満であった場合(ステップ314でNO)は、高速NSSの伝送速度を画情報の最高速度とする(ステップ316)。この場合の最高許容伝送速度は7200bps、4800bps、2400bpsの内のいずれかになる。
【0147】
次に、決定した最大許容伝送速度をNSFに設定し、このNSFを送信側に送信して(ステップ318)、終了する。
【0148】
以上のような手順制御を持った通信装置において、以下にいくつかの送信側での通信速度決定の制御手順の具体的な実施例を記述する。
【0149】
図20は、第1の実施例のフローチャートである。
【0150】
(1)まず発呼を行い(ステップ321)、ダイヤル終了後、極性反転および相手機からのファクシミリ信号の検知を行う(ステップ322)。
【0151】
(2)極性反転を検知または相手機からのファクシミリ信号の検知したら、通信速度(14.4kbps)の指示をNSSにセットし(ステップ323)、高速のNSSを送出し(ステップ324)、相手機からの応答である高速のNSFの受信を待つ。
【0152】
(3)一定時間内に相手機からの応答信号である高速のNSFを検知できない場合(ステップ333でYES)、除外する通信速度を除いて決定された通信速度の指示をNSSにセットし(ステップ334)、フォールバック手順に従って決定した通信速度で再度高速のNSSを送出し(ステップ324)、相手機からの応答である高速のNSFの受信を待つ。
【0153】
応答信号である高速のNSFを受信したら画情報送信手順に移行する。
【0154】
(4)上述の(3)に示した手順を繰り返している間は、同時に極性反転を検知または相手機からのファクシミリ信号の検知を行う(ステップ327、328)。
【0155】
(5)上述の(4)に示した手順で極性反転を検知したら、極性反転を検知した時に送出する予め定められた通信速度に戻して、通信速度(14.4kbps)の指示をNSSにセットし(ステップ332)、再び高速のNSSを送出し(ステップ324)、上述の(3)(4)に示した手順を繰り返す。ここでの予め定められた通信速度は一般には初期通信速度(最初に送出した高速NSSの通信速度:14.4kbps)であるが、必ずしもその通信速度であるとは限らない。
【0156】
(6)上述の(4)に示した手順でファクシミリ信号を検知したら、ファクシミリ信号を検知した時に送出する予め定められた通信速度に戻して、通信速度
(14.4kbps)の指示をNSSにセットし(ステップ332)、再び高速のNSSを送出し(ステップ324)、上述の(3)(4)に示した手順を繰り返す。ここでの予め定められた通信速度とは一般には初期通信速度(最初に送出した高速NSSの通信速度:14.4kbps)であるが、必ずしもその通信速度である必要はない。
【0157】
ここでいうファクシミリ信号とは、ITU−T勧告T.30に記述されているCEDやプリアンブルである。このうちプリアンブルについては、プリアンブルに続くHDLCフレームの中身を解析し、ITU−T勧告T.30に記述されている正常なコマンドと判断した場合にプリアンブル受信と判断しても良い。
【0158】
図21は、図20のステップ327の極性反転またはCEDチェックの詳細フローチャートである。
【0159】
図20の例の(5)において、極性反転を検知したら(ステップ341でYES)、その検知回数を記憶するメモリなどの記憶手段にカウント数を記憶し(ステップ342)、その数を予め設定されている数と比較する(ステップ343)。
【0160】
この比較の結果、数が一致した場合(ステップ344でYES)、極性反転を検知した(ステップ345)とする。また極性反転を検知せずに(ステップ341でNO)、CEDを検知した場合(ステップ346)はCED検知とする(ステップ348)。
【0161】
極性反転またはCEDを検知した場合は、図20のステップ332に進み、予め決められている極性反転またはCED検知時に送出する通信速度に戻して再び高速NSSを送出して、図20の例の(3)、(4)の制御を行う。ここでの予め定められている通信速度とは一般には初期通信速度(最初に送出した高速NSSの通信速度:14.4kbps)であるが、必ずしもその通信速度である必要はない。
【0162】
図22は、図20のステップ329のプリアンブルチェックの詳細フローチャートである。
【0163】
図20の例の(6)において、ファクシミリ信号としてプリアンブルを検知したら(ステップ351)、NSFの受信が終了しているかを判定し(ステップ352)、プリアンブルの検知回数を記憶するメモリなどの記憶手段にカウント数を記憶し(ステップ353)、一回目であるかどうかを判定する(ステップ354)。1回目の場合は図20のステップ332に進み、予め決められているファクシミリ信号検知時に送出する通信速度に戻して再び高速NSSを送出して、図20の例の(3)、(4)の制御を行う。ここでの予め定められている通信速度は一般には初期通信速度(最初に送出した高速NSSの通信速度:14.4kbps)であるが、必ずしもその通信速度である必要はない。
【0164】
プリアンブルの検知回数が2回目以降の場合には図20のステップ334に進み、予め除外すると決められている通信速度を除外して決定した通信速度に高速NSSを設定して、再び高速NSSを送出して、図20の例の(3)、(4)の制御を行う。
【0165】
ここでいう予め除外すると決められている通信速度とは次のように考える。例えば、最初高速NSSを9600bpsで送出したとすると、その高速NSSに対して応答信号が戻ってこないわけであるから、この回線条件では、9600bps以上の通信速度では通信できないと判断する。したがって最高速度が14.4kbpsの通信装置であれば、14.4kbps〜9600bpsの範囲の通信速度では通信できないと判断し、予めその範囲の通信速度を除外して7200bpsに通信速度を決定するということである。
【0166】
図23は、図20に変わる通信速度決定の制御手順の他の具体的な実施例である。
【0167】
(1)まず発呼を行い(ステップ361)、ダイヤル終了後、極性反転および相手機からのファクシミリ信号の検知を行う(ステップ362)。
【0168】
(2)極性反転を検知または相手機からのファクシミリ信号の検知したら、通信速度(14.4kbps)の指示をNSSにセットし(ステップ363)、高速のNSSを送出し(ステップ364)、相手機からの応答である高速のNSFの受信を待つ。
【0169】
(3)一定時間内に相手機からの応答信号である高速のNSFを検知できない場合(ステップ369でYES)、予め除外すると決められている通信速度を除外して決定した通信速度に高速NSSを設定して(ステップ370)、再び高速NSSを送出して(ステップ364)、相手機からの応答である高速のNSFの受信を待つ。
【0170】
ここでいう予め除外すると決められている通信速度とは次のように考える。例えば、最初高速NSSを9600bpsで送出したとすると、その高速NSSに対して応答信号が戻ってこないわけであるから、この回線条件では、9600bps以上の通信速度では通信できないと判断する。したがって最高速度が14.4kbpsの通信装置であれば、14.4kbps〜9600bpsの範囲の通信速度では通信できないと判断し、予めその範囲の通信速度を除外して7200bpsに通信速度を決定するということである。
【0171】
また、プリアンブルに限らずフォールバックを要求する信号を受信側から受け取ったら、通常のフォールバック制御に従い通信速度を決定し、通信速度を決定し、その決定した通信速度に高速NSSを設定して、再び高速NSSを送出して、上記の(2)、(3)の制御を行う。
【0172】
図24は、図18に変る受信側での通信速度決定のフローチャートである。図24で図18と同じ機能には同じステップ番号を振ることにした。
【0173】
(1)着信すると高速NSSの受信をまつ(ステップ311)。
【0174】
(2)次に高速NSSを受信しながら回線品質判定データを抽出する(ステップ312)。
【0175】
(3)高速NSSの受信を終了したら(ステップ313)、高速NSSの速度と回線品質判定データより伝送速度を決定する(ステップ314〜ステップ316)。もし決定できなかった場合は(ステップ381でYES)、決定できなかったという旨の応答信号を送信して(ステップ382)、高速NSSを待つ。
【0176】
以後上記(2)、(3)を繰り返す。
【0177】
【発明の効果】
以上説明したように本発明では、短縮プロトコルで通信を行う通信装置で、通信速度を決定するための試験信号に対する相手機からの応答信号によって通信速度を決定するようにした。
【0178】
これにより、フォールバック手順を実行する必要をなくし、送信の中断や画像エラーの発生を押さえ、かつ装置を簡略化して、通信速度の決定に要する時間を短縮することができる。
【図面の簡単な説明】
【図1】 この発明のファクシミリ装置の一実施形態を示すブロック図。
【図2】 図1に示したファクシミリ装置の送信プロトコルを示す制御フローチャート。
【図3】 図2に示した送信プロトコルでの送信フェーズAにおける処理の詳細を示したフローチャート。
【図4】 図2に示した送信プロトコルでの送信フェーズBにおける処理の詳細を示したフローチャート。
【図5】 図2に示した送信プロトコルでの送信フェーズCにおける処理の詳細を示したフローチャート。
【図6】 図2に示した送信プロトコルでの送信フェーズDにおける処理の詳細を示したフローチャート。
【図7】 図1に示したファクシミリ装置の受信プロトコルを示す制御フローチャート。
【図8】 図7に示した受信プロトコルでの受信フェーズBにおける処理の詳細を示したフローチャート。
【図9】 図7に示した受信プロトコルでの受信フェーズCにおける処理の詳細を示したフローチャート。
【図10】 図7に示した受信プロトコルでの受信フェーズDにおける処理の詳細を示したフローチャート。
【図11】 図1に示したファクシミリ装置における短縮プロトコルへのモード移行の第1のケースを示すシーケンスチャート。
【図12】 図1に示したファクシミリ装置における短縮プロトコルへのモード移行の第2のケースを示すシーケンスチャート。
【図13】 図1に示したファクシミリ装置における短縮プロトコルへのモード移行の第3のケースを示すシーケンスチャート。
【図14】 図1に示したファクシミリ装置における受信側の画情報最高許容伝送速度決定プロトコルの基本的なフローチャートの一例。
【図15】 図14のフローチャートに対応する伝送速度決定のシーケンスチャート。
【図16】 回線状態に対する回線品質判定データを示す図表。
【図17】 回線品質判定データ毎の各伝送速度に対する受信状態を示す図表。
【図18】 図1に示したファクシミリ装置における受信側の画情報最高許容伝送速度決定プロトコルの基本的なフローチャートの他の例。
【図19】 図18のフローチャートに対応する伝送速度決定のシーケンスチャート。
【図20】 図1に示したファクシミリ装置における送信側の画情報最高許容伝送速度決定プロトコルの基本的なフローチャートの一例。
【図21】 図20のフローチャート中の極性反転/CEDチェックの詳細フローチャート。
【図22】 図20のフローチャート中のプリアンブルチェックの詳細フローチャート。
【図23】 図1に示したファクシミリ装置における送信側の画情報最高許容伝送速度決定プロトコルの基本的なフローチャートの他の例。
【図24】 図1に示したファクシミリ装置における受信側の画情報最高許容伝送速度決定プロトコルの基本的なフローチャートの更に他の例。
【符号の説明】
1 CPU
2 RAM
3 操作表示装置
4 読取装置
5 印字装置
6 画像処理装置
7 画像蓄積装置
8 システム制御部
9 通信制御部1
10 通信制御部21
11 ディジタル網制御装置
12 モデム
13 アナログ網制御装置
14 システムバス
15 回線切り替え制御装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication apparatus that performs communication using an abbreviated protocol, and more particularly to a communication apparatus that performs communication by determining a transmission rate of image information according to a line state.
[0002]
[Prior art]
Conventionally, in a communication apparatus such as a facsimile apparatus, much time is required for the fallback procedure for determining the transmission speed of image information.
[0003]
Various proposals have been made to shorten the fallback procedure.
[0004]
For example, Japanese Patent Laid-Open No. 3-154566 sends a 300 bps NSS (non-standard function setting signal) when detecting polarity inversion on the receiving side, and detects CED (called terminal identification signal) without detecting polarity inversion. A CED is stopped with a tone, and a 300 bps NSS is transmitted. As a result, the NSF (non-standard function identification signal) is omitted, so that the NSF FIF (facsimile information field) of the partner machine is stored at the time of the first communication, and the communication parameters are negotiated with the stored contents. Determine. The transmission speed of the image information is stored on the transmission side, and the speed is notified. As for the transmission speed of image information, a transmission speed history is stored on the transmission side, and the image information is transmitted at that speed. Transmission of TCF (training check) is omitted, and when CFR (reception preparation confirmation signal) is received, image information is transmitted at the notified speed.
[0005]
In this method, 300 bps NSF is omitted and TCF transmission is also omitted, so the previous protocol time can be shortened considerably. However, since the image information is communicated at the communication speed performed before that, the line status is If it fluctuates, it may cause interruption of transmission or image error. In addition, it is necessary to store the NSF FIF of the other party in the first communication, and it is also necessary to store a history of the communication speed, which is stored for each partner, leading to an increase in cost.
[0006]
In Japanese Patent Laid-Open No. 5-219334, when a CED is detected, the calling party sends a unique tone (DTMF) to stop the CED, and sends a 300 bps NSF for a shortened protocol (an NSF with some required capabilities omitted). To do. The original tone also functions to notify the transmission speed of image information. The image information parameters are transmitted at high speed before the image information at the speed notified by this unique tone, and then the image information is transmitted.
[0007]
In this method, image information is sent out to the 300 bps NSF at high speed. Therefore, in order to notify the transmission speed, the calling side can first notify the receiving side of the communication speed of the image information with a unique tone. However, there is a problem that there is no fallback procedure in the procedure of sending image information parameters at high speed before the image information and then sending out the image information. Considering the fallback procedure, it is necessary to consider command exchange at high speed. In addition, since the image information is transmitted at a predetermined transmission rate, there is a possibility that transmission may be interrupted or an image error may occur when the line state fluctuates. In addition, the communication speed needs to be stored in the first communication, and is stored for each destination, leading to an increase in cost.
[0008]
In JP-A-61-89770, transmission speed history is stored on the transmission side or reception side, and the fallback procedure is executed using the same or higher speed as the trial speed to determine the transmission speed of image information. To do.
[0009]
Also in this method, since the execution speed of the fallback procedure is determined based on the transmission speed of communication performed previously, fallback is likely to occur when the line state fluctuates. In addition, the communication speed needs to be stored in the first communication, and is stored for each destination, leading to an increase in cost.
[0010]
In Japanese Patent Laid-Open No. 2-92153, based on the reception state of a TCF (training check) signal received from the transmission side, an n (n> 0) stage fallback or fall-up instruction is given from the reception side to the transmission side.
[0011]
In this method, in some cases, it is necessary to execute a fallback procedure similar to that of normal communication, and the shortening effect is reduced.
[0012]
In Japanese Patent Laid-Open No. 3-68262, the calling party sends a tone after detecting the CED (called terminal identification signal), and the called party detects the tone and stops the CED. The calling side measures the length of the CED, and if it is smaller than the threshold value, sends the NSS at a high speed. In this method, negotiation in the pre-procedure is omitted and NSS is transmitted at high speed, so communication is performed using communication parameters (paper size, line density, compression method, etc.) determined in advance on the transmission side and reception side. Also, the start speed is determined in advance for the high-speed NSS communication speed, and retransmission is performed each time an error occurs. When an error occurs a specified number of times, communication is performed with a fallback from 9600 bps to 7200 bps, for example.
[0013]
Since this method transmits NSS and image information at a predetermined transmission rate, if the transmission rate does not match the state of the line, transmission is interrupted or an image error occurs, and retransmission and fallback operations are useless. May consume time. Moreover, it is necessary to memorize | store the transmission speed of communication, and it leads to a cost increase.
[0014]
As described above, there are still problems in the conventional procedure for determining the communication speed, and there is a possibility that the procedure for determining the communication speed can be shortened more than before by improving this procedure.
[0015]
[Problems to be solved by the invention]
As described above, there are still many problems with the method for determining the communication speed in a communication apparatus such as a conventional facsimile apparatus.
[0016]
[Problems to be solved by the invention]
  Therefore, in order to solve such a problem, the present invention eliminates fallback by transmitting a command signal on the transmission side and determining the transmission speed of the image information by the identification signal from the reception side in response to this. The purpose is to reduce the time required to determine the transmission rate.
[0017]
[Means for Solving the Problems]
  In order to achieve the above object, a communication apparatus according to claim 1 is a communication apparatus having a transmission / reception means for transmitting / receiving a facsimile signal between a transmission side apparatus and a reception side apparatus via a public line. The apparatus obtains in advance a table indicating a reception state for each line state corresponding to a plurality of transmission rates, and the transmission / reception meansFor a specific transmission rateA transmission rate determining means for determining a line state based on reception of an NSS (non-standard function setting) signal and determining a maximum allowable transmission rate of transmission / reception by the transmission / reception means by referring to the table based on the determined line state; Control means for setting information on the maximum allowable transmission speed determined by the transmission speed determination means to an NSF (non-standard function identification) signal and transmitting the NSF (non-standard function identification) signal by the transmission / reception means. It is characterized by.
[0018]
  Further, the communication device of the invention of claim 2 is the invention of claim 1,The transmission rate determining means includes channel quality judgment data storage means for previously collecting and storing line quality judgment data for discriminating a line state for each of a plurality of transmission speeds, and an NSS (non-standard) of a specific transmission speed by the transmission / reception means. (Function setting) circuit quality determination data extraction means for extracting line quality determination data in the signal reception process, and the line quality determination data storage means based on the line quality determination data extracted by the line quality determination data extraction means The line state is determined with reference to FIG.
[0019]
  The communication device of the invention of claim 3In the first or second aspect of the invention, the transmission-side device includes a control unit that sets a transmission rate based on information on a maximum allowable transmission rate included in the NSF (non-standard function identification) signal received by the transmission / reception unit. It is characterized by comprising.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a facsimile apparatus according to the present invention will be described in detail with reference to the accompanying drawings.
[0028]
FIG. 1 is a block diagram showing the configuration of a facsimile apparatus in which the present invention is implemented.
[0029]
In FIG. 1, 1 is a CPU that controls the entire apparatus, 2 is a RAM that is a work area used by the control program, 3 is an operation display device for operating the apparatus, 4 is a reading device that reads a transmitted document, and 5 Printing device for recording received images, etc. 6 is an image processing device for encoding, decoding, enlargement, reduction, etc. 7 is an image storage device for storing image information, 8 is a ROM for storing a program for controlling the device The system control unit 9 includes a ROM that stores a program for controlling communication suitable for a digital network, and the communication control unit 1 and 10 includes a ROM that stores a program for controlling communication suitable for an analog network. Communication control units 2 and 11 are digital network control devices for connecting communication to a digital network, 12 is a modem as a modem, and 13 is an application for connecting communication to an analog network. A log network controller having an automatic outgoing / incoming function, 14 is a system bus for exchanging data between functional blocks, and 15 is a line switch for connecting a plurality of external line interfaces and a plurality of internal communication lines. It is a control device.
[0030]
The CPU 1 reads a program from the ROM of the system control unit 8 when the power to the apparatus is turned on, and controls the entire apparatus by sending a control command to each component via the system bus 14 based on this program.
[0031]
The RAM 2 operates as a work area for the CPU 1.
[0032]
The operation display device 3 is constituted by a so-called touch panel or the like, and is input / output means for inputting an instruction to the device by touching the panel and displaying the current state of the device.
[0033]
The reading device 4 irradiates and scans a transmission original or a copy original with white light, quantizes the intensity of the reflected light, and converts it into a digital image signal.
[0034]
The printing device 5 prints out the received image signal on a recording sheet.
[0035]
The image processing device 6 encodes transmission data and decrypts reception data. Further, the transmission / reception data is enlarged or reduced as necessary.
[0036]
The image storage device 7 is a storage device that digitally stores image data of a document read by the reading device 4 and received image data for each file.
[0037]
The system control unit 8 is composed of a ROM that stores a control program for the CPU 1 that controls the apparatus. When the power to the apparatus is turned on, the program is read from the ROM by the CPU 1.
[0038]
The communication control unit 1 (9) is a control circuit for controlling the digital network control device 11 and executing a communication protocol suitable for the digital network, and has a ROM for storing a program for digital communication control therein. Yes.
[0039]
The communication control unit 2 (10) is a control circuit for controlling the analog network control device 13 and executing a communication protocol suitable for the analog network, and has a ROM for storing a program for analog communication control therein. Yes.
[0040]
The digital network control device 11 is a control device for accessing the digital network and controlling connection / disconnection of communication with the other communication device or detecting digital communication data.
[0041]
The modem 12 changes the analog data detected by the analog network to digital data and inputs the digital data to the device via the line switching device 15, and changes the digital data from the line switching device 15 to analog data to change the communication control unit 2 ( It plays the role of sending to 10).
[0042]
The analog network control device 13 is a control device for accessing the analog network and controlling connection / disconnection of communication with the other communication device or detecting analog communication data.
[0043]
The system bus 14 is a bus for transmitting / receiving data between the functional blocks constituting the communication device or for transmitting a control command.
[0044]
The line switching control device 15 is a switching circuit for selecting and switching between the digital network and the analog network to access and communicate, and is connected to the digital network control device 11 and the analog network control device 13. Are controlled.
[0045]
This facsimile apparatus is connected to the same apparatus as this apparatus through a communication network, to an apparatus that can be connected to only an analog network, or to an apparatus that can be connected to only a digital network, and performs facsimile communication therebetween. When this device is connected only to the analog network, the communication control unit 1 (9) and the digital network control device 11 can be omitted. When this device is connected only to the digital network, the communication control unit 2 (10) The modem 12 and the analog network control device 13 can be omitted.
[0046]
A basic transmission-side protocol procedure of the shortening protocol of the facsimile apparatus having such a configuration will be described with reference to FIGS.
[0047]
FIG. 2 shows a control flowchart of the transmission protocol of the facsimile apparatus of this embodiment.
[0048]
  First, when a call is made to the partner machine (step 101), it is checked whether or not this partner machine stores the short protocol reception capability (step 102).
  Here, whether or not the partner machine has the shortened protocol reception capability1Are stored in advance in the destination data list stored in a predetermined storage area of the RAM 2 in correspondence with, for example, the abbreviated number of the counterpart device.
[0049]
That is, in step 102, the destination data list in the RAM 2 is searched based on the abbreviated number of the calling party device, and it is checked whether or not the other device is stored as having a shortened protocol reception capability.
[0050]
Then, if it is stored that the partner apparatus has a shortened protocol reception capability (YES in step 103), transmission phase A is executed (step 112). Details of the transmission phase A will be described later with reference to FIG.
[0051]
When the transmission phase A ends, it is determined whether or not the transmission phase A has shifted to the shortened protocol (short professional) transmission (step 113). If the transmission phase A has shifted to the shortened protocol transmission (YES in step 113). Next, transmission phase B is executed (step 114). Details of the transmission phase B will be described later with reference to FIG.
[0052]
When the transmission phase B ends, it is determined whether or not the transmission phase B has shifted to the shortened protocol (short professional) transmission (step 115). If the transmission phase B has shifted to the shortened protocol transmission (YES in step 115). Next, the transmission phase C is executed (step 116). Details of the transmission phase C will be described later with reference to FIG.
[0053]
When the transmission phase C is completed, next, the transmission phase D is executed (step 117). Details of the transmission phase D will be described later with reference to FIG.
[0054]
When the transmission phase D is completed, it is checked whether or not the transmission phase D is shifted to the transmission phase C (step 118). Here, when shifting to the transmission phase C (YES in step 118), the process returns to step 116, and when not shifting to the transmission phase C (NO in step 118), next, in the transmission phase D, to the transmission phase B. It is checked whether or not to move (step 119). Here, when shifting to the transmission phase B (YES in step 119), the process returns to step 114, and when not shifting to the transmission phase B (NO in step 119), a low-speed DCN (disconnect command signal) is sent. This transmission protocol is terminated.
[0055]
  If it is determined in step 103 that the partner device does not have a shortened protocol reception capability, first, 1100 Hz CNG (calling tone) is transmitted (step 104), and then the partner device receives CED (called terminal). (Identification signal) or any command received (step 105). If CED or any command has not been received (NO in step 105), the process returns to step 104, and CNG is sent again. If a CED or any command has been received (YES in step 105), then it is checked whether an NSF (non-standard function identification signal) has been received from the partner machine (step 106), and an NSF has been received. If this is the case (YES in step 106), it is checked whether the received NSF is the company's NSF (step 108), and is the company's NSF. If the information indicating that there is a shortened protocol transmission capability is included in this NSF (step 108), and if the information indicating that there is a shortened protocol transmission capability is included (YES in step 108), Figure above1In the destination data list of the RAM 2 shown in FIG. 2, the fact that there is a shortened protocol reception capability corresponding to the shortened number of the partner machine is stored (step 109), and the process proceeds to step 114 to execute the transmission phase B.
[0056]
  If it is determined in step 106 that no NSF has been received, that is, if a DIS (digital identification signal) has been received (NO in step 106), it is determined that the NSF received in step 107 is not the company's own NSF. If it is determined in step 107 (NO in step 107) or if it is determined in step 108 that the NSF of the company does not include information indicating that there is a shortened protocol transmission capability (NO in step 108),1In the destination data list of the RAM 2 shown in FIG. 6A, it is stored that there is no shortened protocol reception capability corresponding to the shortened number of the counterpart (step 110), normal transmission is performed (step 111), and this transmission protocol is terminated.
[0057]
When it is determined in step 113 that the transmission phase A has not been shifted to the shortened protocol transmission (NO in step 113), or in step 115 it is determined that the transmission phase B has not been shifted to the shortened protocol transmission. (NO in step 115), it is determined that the transmission is normal, and the process proceeds to step 106 to check whether the NSF is received from the partner machine.
[0058]
FIG. 3 shows details of processing in the transmission phase A of step 112 shown in FIG. In this transmission phase A, first, it is checked whether or not the counterpart device has a polarity reversal detection function (step 121). Here, whether or not the counterpart device has a polarity reversal detection function is stored in advance in the destination data list of the RAM 2 shown in FIG.
[0059]
That is, in step 121, the destination data list in the RAM 2 is searched based on the abbreviated number of the calling partner device, and it is checked whether or not the partner device has a polarity reversal detection function.
[0060]
Here, if the counterpart device has a polarity reversal detection function (YES in step 121), a CNG (calling tone) transmission start timer is started (step 127), and then it is checked whether polarity reversal is detected. (Step 127). Here, as will be described in detail later, polarity reversal detection is determined based on whether or not the number of polarity reversals has reached the number of polarity determinations learned during the previous communication with this partner machine. When the number of times of polarity determination learned at the previous communication with the machine has been reached (YES in step 127), the process proceeds to a shortened protocol (short professional) transmission (step 133).
[0061]
If the polarity reversal is not detected in step 127, that is, the number of polarity reversals has not reached the number of polarity determinations learned during the previous communication with this partner (NO in step 127), then CNG transmission is performed. It is checked whether the start timer has timed out (step 128). If the CNG transmission start timer has not timed out (NO in step 128), the process returns to step 127, and if the CNG transmission start timer has timed out (step 128). 128 is YES), CNG (calling tone) is transmitted (step 129), and it is checked again whether polarity inversion is detected (step 130). As will be described in detail later, this polarity reversal detection is also determined by whether or not the number of polarity reversals has reached the number of times of polarity determination learned during the previous communication with this counterpart device. If polarity reversal is detected here, that is, if the number of polarity reversals has reached the number of times of polarity determination learned during the previous communication with this partner machine (YES in step 130), a shortened protocol (short pro) transmission is performed. (Step 133).
[0062]
If no polarity reversal is detected in step 130, that is, if the number of polarity reversals does not reach the number of polarity determinations learned during the previous communication with this partner (NO in step 130), then CED (called) Whether or not the terminal identification signal has been received is checked (step 131). If CED is received (YES in step 131), the process shifts to short protocol (short professional) transmission (step 133).
[0063]
If it is determined in step 131 that no CED has been received (NO in step 131), it is checked whether a low speed command has been received (step 132). If no low speed command has been received (in step 132). NO), returning to step 129, CNG (calling tone) is sent again, and if it is determined that a low speed command has been received (YES in step 132), the routine proceeds to normal transmission (step 125).
[0064]
If it is determined in step 121 that the counterpart device does not have the polarity reversal detection function (NO in step 121), CNG (calling tone) is transmitted (step 122), and then CED (called terminal identification) is sent. It is checked whether or not (signal) has been received (step 123). If CED has been received (YES in step 123), the process proceeds to short protocol (short pro) transmission (step 133).
[0065]
If it is determined in step 123 that no CED has been received (NO in step 123), it is checked whether a low speed command has been received (step 124). If no low speed command has been received (in step 124). NO), return to step 122, send CNG (calling tone) again, and if it is determined that a low speed command has been received (YES in step 124), shift to normal transmission (step 125).
[0066]
FIG. 4 shows details of the processing in the transmission phase B of step 114 shown in FIG. In this transmission phase B, first, it is checked whether or not polling is performed (step 141). If polling is not performed, signal transmission instructing a shift to a shortened protocol (step 142) and high-speed NSS (non-standard function setting signal) transmission are performed. (Step 143) is performed, and then it is checked whether a response is received from the partner machine
(Step 144).
[0067]
If a response is received from the partner machine (YES in step 144), it is then checked whether a high speed NSF (non-standard function identification signal) has been received (step 148). If a high speed NSF is received (step 148) (YES in 148), the process proceeds to a shortened protocol (short professional) transmission (step 150).
[0068]
In step 148, if the high-speed NSF is not received, that is, if a low-speed command such as NSF / DIS is received (NO in step 148), the process proceeds to normal transmission (step 149).
[0069]
If no response is received from the partner machine in step 144 (NO in step 144), it is checked whether polarity inversion is detected (step 145).
[0070]
As will be described later in detail, the detection of polarity reversal here is determined by whether or not the number of polarity reversals has reached the number of times of polarity determination learned during the previous communication with this counterpart device.
[0071]
If no polarity reversal is detected in step 145 (NO in step 145), the fallback parameter is set (step 146), the process returns to step 142, and a signal is sent again to instruct the transition to the shortened protocol (step 142). High-speed NSS (non-standard function identification signal) transmission (step 143) is performed.
[0072]
If polarity inversion is detected in step 147 (YES in step 147), the communication speed of the initial value is reset (step 147), the process returns to step 142, and a signal is sent to instruct the transition to the shortened protocol again. (Step 142), high-speed NSS (non-standard function identification signal) transmission (Step 143) is performed.
[0073]
In other words, if the partner device is equipped with the polarity reversal detection function, it detects polarity reversal even when waiting for a response from the partner device, and if it detects polarity reversal, it sets the initial communication speed. Perform the process again.
[0074]
If it is determined in step 141 that polling is performed (YES in step 141), a signal for instructing a shift to the shortened protocol is transmitted (step 151), and a high-speed NSC (non-standard function command signal) is transmitted (step 152). Next, it is checked whether a response has been received from the partner machine (step 153).
[0075]
If a response is received from the partner machine (YES in step 153), it is then checked whether a high-speed NSS (non-standard function setting signal) is received (step 157). If a high-speed NSS is received (step 157) (YES in 157), the process proceeds to reception phase B described later in FIG. 8 (step 159).
[0076]
In step 157, when the high-speed NSS is not received, that is, when a low-speed command such as NSS / DIS is received (NO in step 157), the process proceeds to normal transmission (step 158).
[0077]
If no response is received from the counterpart device at step 153 (NO at step 153), it is checked whether polarity inversion is detected (step 154).
[0078]
As will be described later in detail, the detection of polarity reversal here is determined by whether or not the number of polarity reversals has reached the number of times of polarity determination learned during the previous communication with this counterpart device.
[0079]
If no polarity reversal is detected in step 154 (NO in step 154), the fallback parameter is set (step 155), the process returns to step 151, and a signal is sent again to instruct the transition to the shortened protocol (step 151). High-speed NSC (non-standard function setting signal) transmission (step 152) is performed.
[0080]
If polarity inversion is detected in step 154 (YES in step 154), the initial communication speed is reset (step 156), the process returns to step 151, and a signal is sent to instruct the transition to the shortened protocol again. (Step 151) and high-speed NSC (non-standard function setting signal) transmission (Step 152).
[0081]
FIG. 5 shows the details of the processing in the transmission phase C of step 116 shown in FIG. In this transmission phase C, it is first checked whether or not the image information is to be retransmitted (step 161). If it is determined that the image information is not to be retransmitted (NO in step 161), NSS ( (Non-standard function setting signal) is sent and sent (step 162), then the picture information is sent in a frame (step 163), and then it is checked whether the picture information has been sent (step 164). If not completed (NO in step 164), the process returns to step 163. If completed (YES in step 164), the content of the post message command is put in an RCP (partial page control return) frame and transmitted (step). 165), and then returns.
[0082]
If the image information is to be retransmitted at step 161 (YES at step 161), the image information to be retransmitted is sent in a frame (step 166), and then it is checked whether the retransmission of this image information has been completed. (Step 167) If not completed (NO in Step 167), return to Step 166. If completed (YES in Step 167), the content of the post message command is displayed in the RCP (partial page control return signal) frame. Put in and send out (step 165), then return.
[0083]
FIG. 6 shows the details of the processing in the transmission phase D of step 117 shown in FIG. In this transmission phase D, it is first checked whether or not a response from the partner device has been received (step 171). If no response has been received (NO in step 171), a low-speed post by PPS-Q or PPS-PriQ is performed. The message command is transmitted and the process returns to step 171.
[0084]
If a response from the partner machine is received in step 171 (YES in step 171), it is then checked whether a low-speed MCF (message confirmation signal) has been received (step 173). If a low-speed MCF is received (step 173). YES), the process proceeds to step 186.
[0085]
If it is determined in step 173 that the low-speed MCF has not been received (NO in step 173), it is then checked whether a low-speed PPR (partial page request signal) has been received (step 174). If a PPR has been received (YES in step 174), it is checked whether CTC (correction continuation signal) needs to be sent (step 177). If necessary (YES in step 177), a low-speed CTC is sent (step 178). When the low-speed CTR (correction continuation response signal) is received (YES in step 179), the process proceeds to the transmission phase C (step 187).
[0086]
If it is determined in step 177 that it is not necessary to send a CTC (correction continuation signal) (NO in step 177), then it is checked whether it is necessary to send an EOR (retransmission end signal) (step 180). If necessary (YES in step 180), low-speed EOR is transmitted (step 181), and if low-speed ERR (retransmission end response signal) is received (YES in step 182), the process proceeds to step 186.
[0087]
If it is determined in step 182 that low-speed ERR (retransmission end response signal) is not received, it is next checked whether low-speed PIN (procedure interruption negative signal) has been received (step 183). (YES in 183), the line hold procedure is performed (step 184), and the process proceeds to step 186.
[0088]
If the low-speed PPR is not received at step 174 (NO at step 174), it is checked whether a low-speed PIP (procedure interruption affirmative signal) is received next (step 175). If the low-speed PIP is received (step 175) (YES in 175), the line hold procedure is performed (step 185), and the process proceeds to step 186.
[0089]
If no low-speed PIP is received at step 175 (NO at step 175), predetermined error processing is performed (step 176), and the process proceeds to step 186.
[0090]
In step 186, it is determined whether the next procedure is any one of the transmission phase C, the transmission phase D, and the transmission phase E based on the sent post message command. If it is determined that the next procedure is the transmission phase C, the process proceeds to the transmission phase C (step 189). If it is determined that the next procedure is the transmission phase D, the process proceeds to the transmission phase D (step 190). When it is determined that it is the transmission phase E, the process proceeds to the transmission phase E (step 191).
[0091]
Next, the reception operation of the facsimile apparatus of this embodiment will be described with reference to the reception protocol control flowcharts shown in FIGS.
[0092]
FIG. 7 is a control flowchart showing the reception protocol of the facsimile apparatus of this embodiment.
[0093]
When there is an incoming call from the partner machine (step 201), a timer of 1.8 seconds is started (step 202), and it is checked whether a signal for instructing a shift to the shortened protocol is received (step 203).
[0094]
If a signal is received (YES in step 203), the reception phase B is first executed. Details of the reception phase B will be described later with reference to FIG.
[0095]
When reception phase B ends, reception phase C is executed next. Details of the reception phase C will be described later with reference to FIG.
[0096]
When reception phase C ends, reception phase D is then executed. Details of the reception phase D will be described later with reference to FIG.
[0097]
When the reception phase D ends, it is checked whether or not the reception phase D is shifted to the reception phase C (step 207). Here, in the case of shifting to the reception phase C (YES in step 207), the process returns to step 205. In the case of not shifting to the reception phase C (NO in step 207), in the reception phase D, the reception phase B (Step 208), if it is the transition to the reception phase B (YES in step 208), the process returns to step 204, and if it is not the transition to the reception phase B (NO in step 208), the reception phase Since it is a transition to E, a low-speed DCN (disconnect command signal) is received (step 209), and this reception protocol is terminated.
[0098]
If it is not determined in step 203 that the signal is not for instructing the shift to the shortened protocol (NO in step 203), then it is checked whether CNG (calling tone) is received (step 210). (NO in step 210), it is checked whether the timer of 1.8 seconds is timed out (step 211). If not timed out (NO in step 211), the process returns to step 203, and if timed out (YES in step 211) , CED (called terminal identification signal) is transmitted (step 212).
[0099]
If it is determined in step 210 that CNG has been received, the process proceeds to step 212, where a CED (called terminal identification signal) is transmitted.
[0100]
When CED is transmitted in step 212, it is checked again whether the signal for instructing the shift to the shortened protocol is received (step 213). Here, when it is determined that the signal for instructing the shift to the shortened protocol is received (YES in Step 213), the CED transmission is stopped (Step 214), and the reception phase B of Step 204 is executed.
[0101]
If it is determined in step 213 that the signal is not received for instructing the shift to the shortened protocol, it is checked whether CED transmission is completed (step 215). If CED transmission is not completed (NO in step 215), step Returning to step 212, when it is determined that CED transmission has been completed (YES in step 215), NSF / DIS is transmitted (step 216), and it is further checked whether a signal for instructing the shift to the shortened protocol is received (step 217). . If it is determined that the signal reception is instructed to shift to the shortened protocol (YES in step 217), the process proceeds to step 204 and the reception phase B is executed.
[0102]
If it is determined in step 217 that the signal is not received for instructing the shift to the shortened protocol (NO in step 217), normal reception is performed (step 218), and this reception protocol is terminated.
[0103]
FIG. 8 shows the details of the processing in the reception phase B of step 204 shown in FIG. In this reception phase B, first, it is checked whether high-speed NSS (non-standard function setting signal) is received (step 211). If a high-speed NSS is received (YES in step 211), a high-speed NSF (non-standard function identification signal) is transmitted (step 222), and the process returns.
[0104]
If the high speed NSS is not received at step 211 (NO at step 211), it is checked whether the high speed NSC (non-standard function command signal) is received (step 223). If the high-speed NSC is not received (NO in step 223), the process returns to step 221. If the high-speed NSC is received (YES in step 223), it is checked whether it is polled OK (step 224). Here, if it is polled OK (YES in step 224), the process proceeds to the transmission phase B shown in FIG. 5 (step 225). If it is not polled OK (NO in step 224), predetermined error processing is executed (step 224). Step 226).
[0105]
FIG. 9 shows the details of the processing in the reception phase C of step 205 shown in FIG. In this reception phase C, it is first checked whether an FCD (facsimile encoded data) frame is received (step 231). If an FCD frame is received (YES in step 231), the NSS of the frame with frame number 0 is checked.
It is checked whether information (non-standard function setting signal) is received (step 232). If it is NSS information reception (YES in step 232), the NSS is analyzed (step 235), and the process returns to step 231.
[0106]
If it is determined in step 232 that NSS information has not been received (NO in step 232), the received image information is stored (step 233), and it is then checked whether frame reception has ended (step 234). If the frame reception has not ended (NO in step 234), the process returns to step 231. If the frame reception has ended (YES in step 234), the process returns.
[0107]
If it is determined in step 231 that the FCD frame has not been received (NO in step 231), the RCP frame is received, so the content of the post message command in this RCP frame is analyzed (step 236), and then Return.
[0108]
FIG. 10 shows details of the process in the reception phase D of step 206 shown in FIG. In this reception phase D, it is first checked whether an RCP (partial page control return signal) frame is received (step 241). If an RCP frame is received (YES in step 241), the process proceeds to step 243. If it is determined in step 241 that an RCP frame has not been received (NO in step 241), then it is checked whether a low speed command has been received (step 242), and if a low speed command is received (in step 242). YES), go to step 243.
[0109]
In step 243, it is checked whether the FCD (facsimile coded data) frame is OK. If the FCD frame is OK (YES in step 243), then it is checked whether it is line hold (step 244). YES in step 244), the line hold procedure is executed (step 246), and the process proceeds to step 256.
[0110]
If it is determined in step 244 that it is not line hold (NO in step 244), a low-speed MCF (message confirmation signal) is sent (step 245), and the process proceeds to step 256.
[0111]
If it is determined in step 243 that the FCD frame is not OK (NO in step 243), a low-speed PPR (partial page request signal) is transmitted (step 247), and then CTC (correction continuation signal) is received. In step 248, when a CTC is received (YES in step 248), a low-speed CTR (correction continuation response) is sent (step 249), and the process proceeds to reception phase C (step 250).
[0112]
If CTC is not received in step 248 (NO in step 248), it is checked whether EOR (retransmission end signal) is received next (step 251). If EOR is not received here (step 251). NO), the process proceeds to reception phase C (step 252).
[0113]
If it is determined in step 251 that an EOR has been received (YES in step 251), then it is checked whether it is line hold (step 253). If it is line hold (YES in step 253), line hold The procedure is executed (step 255) and the process proceeds to step 256.
[0114]
If it is determined in step 253 that the line hold is not set (NO in step 253), a low-speed ERR (retransmission end response signal) is transmitted (step 254), and the process proceeds to step 256.
[0115]
In step 256, it is determined from the received post message command whether the next procedure is reception phase C, reception phase D, or reception phase E (step 256). When it is determined that the next procedure is the reception phase C, the process proceeds to the reception phase C (step 257). When it is determined that the next procedure is the reception phase D, the process proceeds to the reception phase D (step 258). If it is determined that it is the reception phase E, the process proceeds to the reception phase E (step 259).
[0116]
The part related to the mode transition from the basic protocol procedure to the shortened protocol will be described in more detail with reference to the sequence charts shown in FIGS. Here, FIG. 11 to FIG. 13 show basic transmission / reception protocol procedures in three cases of mode transition to the shortened protocol.
[0117]
First, the transmission side will be described.
[0118]
FIG. 11 shows a first case of mode transition to the abbreviated protocol. In this first case, the transmitting side first makes a call (Calling) and stores the transmitting side storage means (FIG. 1). In the RAM 2 (destination data list), it is checked whether or not there is a shortened protocol receiving capability stored in correspondence with the shortened number of the other party (receiving side) (step 103 in FIG. 2). If this is the case, check whether the opposite device (reception side) is equipped with the polarity reversal detection function (step 121 in FIG. 3). If the polarity reversal detection function is implemented, check the polarity reversal. (Steps 127 and 130 in FIG. 3), when polarity reversal is detected, a signal instructing the shift to the shortened protocol is sent (Step 142 in FIG. 4). Migrated, executes simplified protocol.
[0119]
On the other hand, at the receiving side, when a call is received, it is checked whether a signal instructing the transition to the shortened protocol is received from the transmitting side until CED (called terminal identification signal) is transmitted (step 203 in FIG. 7). When a signal instructing the transition to the shortened protocol is received, the transition to the shortened protocol is performed and the shortened protocol is executed.
[0120]
After shifting to the abbreviated protocol, the transmitting side first sends a high-speed NSS (non-standard function setting signal) following a signal indicating the communication speed of the high-speed command (a signal for instructing the transition to the abbreviated protocol) ( Step 143 in FIG. 4) waits for a high-speed NSF (non-standard function identification signal) from the counterpart device (reception side), and receives a high-speed NSF from the counterpart device (reception side) (step 148 in FIG. 4), The process proceeds to the information transmission phase (transmission phase C shown in FIG. 5).
[0121]
When the receiving side receives a high-speed NSS indicated by the signal indicating the communication speed of the high-speed command from the transmitting side (signal for instructing the shift to the shortened protocol) (step 221 in FIG. 8), the receiving side Is sent (step 222 in FIG. 8), and the process proceeds to the image information reception phase (reception phase C shown in FIG. 9).
[0122]
In the image information transmission phase (transmission phase C) on the transmission side, the image information is divided into frames by ECM (error correction mode) and transmitted. Here, the following image information parameters are set in the first frame of the ECM frame, and the image information is inserted into the second and subsequent frames (FCD frames) and transmitted. The first frame may be the content of the NSS sent out first, or only the parameter indicating the image information to be sent out.
[0123]
  When the transmission of the image information is completed in this way, an RCP frame in which the content corresponding to the post message command is set in the facsimile information field is transmitted (step 165 in FIG. 5), and the response is sent.TheThe process proceeds to the command waiting phase (transmission phase D shown in FIG. 6).
[0124]
  In the image information reception phase (reception phase C) on the reception side, the image information divided and transmitted from the transmission side by the ECM frame is received. When the reception of the image information is completed, an RCP frame in which the content corresponding to the post message command is set in the facsimile information field is received, and the content of the post message command of this RCP frame is analyzed (step 236 in FIG. 9). ResponsibleTheThe process proceeds to the command waiting phase (reception phase D shown in FIG. 10).
[0125]
  The sender's responseTheIn the command waiting phase (transmission phase D), when MCF (message confirmation signal) is received (step 173 in FIG. 6), an image information transmission frame (in accordance with the content of the post message command set in the destination RCP frame) It is determined whether to shift to transmission phase C), transmission phase B, or transmission phase E (step 186 in FIG. 6), and shift to each transmission phase is performed.
[0126]
  In addition, the receiver's responseTheIn the command waiting phase (transmission phase D), when an MCF (message confirmation signal) is transmitted (step 245 in FIG. 10), an image information reception frame (in accordance with the content of the post message command set in the received RCP frame) It is determined whether to shift to reception phase C), reception phase B, or reception phase E (step 256 in FIG. 1010), and shift to each reception phase is performed.
[0127]
Then, when the transmission side shifts to the transmission phase E, DCN (disconnect command signal) is sent (step 120 in FIG. 2), and this transmission protocol is terminated.
[0128]
On the receiving side, when the process proceeds to the receiving phase E, the receiving protocol is terminated when the DCN from the transmitting side is received.
[0129]
FIG. 12 shows a second case of mode transition to the shortened protocol. In this second case, the transmitting side first makes a call and also stores the transmitting side storage means (FIG. 1). In the RAM 2 (destination data list), it is checked whether or not it is stored as having a shortened protocol reception capability corresponding to the shortened number of the other party (reception side) (step 102 in FIG. 2). If this is the case, check whether the opposite device (reception side) is equipped with the polarity reversal detection function (step 121 in FIG. 3). If the polarity reversal detection function is implemented, check the polarity reversal. (Step 127 in FIG. 3 and Step 130), and CED (Called Terminal Identification Signal) is detected before detecting the polarity reversal (Step 131 in FIG. 3), By sending a signal for instructing the line shifts to the simplified protocol (step 142 in FIG. 4), to perform the simplified protocol.
[0130]
In addition, when the opposite device (reception side) does not have the polarity reversal detection function, CED detection is performed while sending CNG (calling tone) (steps 122 and 123 in FIG. 3). A signal instructing the shift to is sent (step 142 in FIG. 4), the shift to the shortened protocol is performed, and the shortened protocol is executed.
[0131]
On the other hand, at the receiving side, when a call is received, it is checked whether a signal instructing the transition to the shortened protocol is received from the transmitting side until CED (called terminal identification signal) is transmitted (step 203 in FIG. 7). If the CED must be sent without receiving the signal, the CED is sent (step 212 in FIG. 7), and it is checked whether a signal instructing the transition to the shortened protocol is received while sending the CED. (Step 213 in FIG. 7) When the signal for instructing the shift to the shortened protocol is received, the transmission of the CED is stopped, the shift to the shortened protocol is performed, and the shortened protocol is executed.
[0132]
The processing after shifting to the shortened protocol is the same as that shown in FIG.
[0133]
FIG. 13 shows a third case of mode transition to the abbreviated protocol. In this third case, the transmitting side first makes a call and calls the transmitting side storage means (FIG. 1). In the RAM 2 (destination data list) is checked whether it is stored as having a shortened protocol reception capability corresponding to the shortened number of the other party (receiving side) (step 102 in FIG. 2), and stored as having no shortened protocol receiving capability. If a CED or command is detected while sending CNG (step 105 in FIG. 2) and NSF (non-standard function identification signal) is received (step 106 in FIG. 2), the received NSF is 2 is checked (step 107 in FIG. 2), and in the case of the in-house NSF, it is checked whether it has the ability to receive a shortened protocol (step in FIG. 2). 108) If there is abbreviated protocol reception capability, the storage means (destination data list in RAM 2 in FIG. 1) stores that there is abbreviated protocol reception capability corresponding to the abbreviated number of the other party (reception side) ( Step 109 in FIG. 2), then, a signal instructing the shift to the shortened protocol is transmitted (step 142 in FIG. 4), the shift to the shortened protocol is performed, and the shortened protocol is executed. If the above conditions are not met, transmission is performed using a normal protocol.
[0134]
On the other hand, at the receiving side, when a call is received, it is checked whether a signal instructing the transition to the shortened protocol is received from the transmitting side until CED (called terminal identification signal) is transmitted (step 203 in FIG. 7). If the CED must be sent without receiving the signal, the CED is sent (step 212 in FIG. 7), and it is checked whether a signal instructing the transition to the shortened protocol is received while sending the CED. (Step 213 in FIG. 7) When the CED transmission is completed without receiving the signal, NSF and DIS (CIS if necessary) indicating that the shortened protocol reception capability is available are transmitted (Step 216 in FIG. 7). Further, it is checked whether or not a signal for instructing the transition to the shortened protocol has been received (step 217 in FIG. 7). To run the col. If the above conditions are not met, reception is performed using a normal protocol.
[0135]
The processing after shifting to the shortened protocol is the same as that shown in FIG.
[0136]
The basic part of the three protocol procedures related to the transition to the shortened protocol has been described above, but other procedures (for example, the ECM frame retransmission procedure, etc.) can be performed as shown in FIGS. T Recommendation It operates according to 30.
[0137]
Next, some basic methods for determining the transmission rate of image information will be described.
[0138]
FIG. 14 is a flowchart showing a first method for determining the transmission rate on the receiving side. FIG. 15 is a sequence chart at this time.
[0139]
First, when high-speed NSS reception starts on the receiving side (step 301), line quality determination data is extracted in the process of reception of this NSS (step 302). When reception of the high-speed NSS is completed (step 303), the maximum allowable transmission rate of image information is determined from the extracted line quality determination data (step 304).
[0140]
Next, the determined maximum allowable transmission rate is set in the NSF, this NSF is transmitted to the transmission side (step 305), and the process ends.
[0141]
In order to determine the maximum allowable transmission rate of image information from the line quality determination data extracted in step 304, it is necessary to collect the following data in advance. Here, the speed can be selected from six types of 14.4 kbps, 12.0 kbps, 9600 bps, 7200 bps, 4800 bps, and 2400 bps.
[0142]
  (1) First, as shown in FIG. 16, the line quality judgment data for the line state for each transmission rate is collected.
  Line quality judgment dataThe smaller the number, the better the line condition.
  In the case of 9600 bps, the line state deteriorates in the order of a, b, c, d.
[0143]
(2) Next, as shown in FIG. 17, the reception state for each transmission rate for each line quality determination data is collected. In the figure, the circle mark is good and the x mark is bad. As can be seen from the figure, in the case of 9600 bps, the line state deteriorates in the order of a, b, c, d.
[0144]
In this figure, for example, when the line quality determination data of “3” is extracted in the process of NSS reception of 9600 bps, the reception state is poor at 14.4 kbps from the chart of FIG. 17, but good at 12.0 kbps. I understand that Therefore, the maximum allowable transmission rate of image information in this case is 12.0 kbps.
[0145]
FIG. 18 is a flowchart showing a second method for determining the transmission rate on the receiving side. FIG. 19 is a sequence chart at this time.
[0146]
When high-speed NSS reception starts on the receiving side (step 311), line quality determination data is extracted in the process of reception of this NSS (step 312). When reception of the high-speed NSS is completed (step 313), it is determined whether or not the transmission speed of the high-speed NSS is the maximum speed (9600 bps) (step 314). When it is the maximum speed (9600 bps) (YES in step 314), the maximum allowable transmission speed of the image information is determined from the extracted line quality determination data (step 315). In this case, the maximum allowable transmission rate is one of 14.4 kbps, 12.0 kbps, and 9600 bps. If it is less than the maximum speed (9600 bps) (NO in step 314), the transmission speed of the high-speed NSS is set as the maximum speed of the image information (step 316). In this case, the maximum allowable transmission rate is one of 7200 bps, 4800 bps, and 2400 bps.
[0147]
Next, the determined maximum allowable transmission rate is set to NSF, this NSF is transmitted to the transmission side (step 318), and the process is terminated.
[0148]
In the communication apparatus having the procedure control as described above, specific examples of the control procedure for determining the communication speed on the transmission side will be described below.
[0149]
FIG. 20 is a flowchart of the first embodiment.
[0150]
(1) First, a call is made (step 321), and after dialing, the polarity is reversed and a facsimile signal from the partner machine is detected (step 322).
[0151]
(2) When polarity inversion is detected or a facsimile signal from the partner machine is detected, an instruction for the communication speed (14.4 kbps) is set in NSS (step 323), and a high-speed NSS is sent (step 324). Wait for reception of high-speed NSF, which is a response from.
[0152]
(3) If a high-speed NSF that is a response signal from the partner machine cannot be detected within a certain time (YES in step 333), the communication speed instruction determined excluding the communication speed to be excluded is set in the NSS (step 334), the high-speed NSS is transmitted again at the communication speed determined in accordance with the fallback procedure (step 324), and the reception of the high-speed NSF that is a response from the partner machine is awaited.
[0153]
When a high-speed NSF as a response signal is received, the process proceeds to an image information transmission procedure.
[0154]
(4) While the procedure shown in the above (3) is repeated, polarity inversion is detected or a facsimile signal from the partner machine is simultaneously detected (steps 327 and 328).
[0155]
(5) When polarity reversal is detected in the procedure shown in (4) above, the communication speed (14.4 kbps) is set to NSS by returning to the predetermined communication speed sent when polarity reversal is detected. (Step 332), the high-speed NSS is sent again (Step 324), and the above-described procedures (3) and (4) are repeated. The predetermined communication speed here is generally the initial communication speed (communication speed of the first high-speed NSS: 14.4 kbps), but is not necessarily the communication speed.
[0156]
(6) When a facsimile signal is detected by the procedure shown in (4) above, the communication speed is returned to a predetermined communication speed transmitted when the facsimile signal is detected.
The instruction (14.4 kbps) is set in the NSS (step 332), the high-speed NSS is sent again (step 324), and the above-described procedures (3) and (4) are repeated. The predetermined communication speed here is generally the initial communication speed (communication speed of the first high-speed NSS: 14.4 kbps), but it is not necessarily the communication speed.
[0157]
The facsimile signal here is ITU-T recommendation T.30. 30 is a CED or preamble described in FIG. Among these, for the preamble, the contents of the HDLC frame following the preamble are analyzed, and the ITU-T recommendation T.264 is analyzed. If it is determined that the command is a normal command described in 30, it may be determined that the preamble is received.
[0158]
FIG. 21 is a detailed flowchart of polarity reversal or CED check in step 327 of FIG.
[0159]
In (5) of the example of FIG. 20, when polarity inversion is detected (YES in step 341), the count number is stored in a storage means such as a memory for storing the number of detections (step 342), and the number is preset. (Step 343).
[0160]
If the numbers match as a result of this comparison (YES in step 344), it is assumed that polarity reversal has been detected (step 345). If CED is detected without detecting polarity reversal (NO in step 341) (step 346), CED is detected (step 348).
[0161]
When polarity inversion or CED is detected, the process proceeds to step 332 in FIG. 20, and the high speed NSS is sent again after returning to the predetermined communication speed to be transmitted at the time of polarity inversion or CED detection. 3) The control of (4) is performed. The predetermined communication speed here is generally the initial communication speed (communication speed of the first high-speed NSS: 14.4 kbps), but it is not necessarily the communication speed.
[0162]
FIG. 22 is a detailed flowchart of the preamble check in step 329 of FIG.
[0163]
In (6) of the example of FIG. 20, when a preamble is detected as a facsimile signal (step 351), it is determined whether reception of NSF has been completed (step 352), and storage means such as a memory for storing the number of times the preamble has been detected The count number is stored (step 353), and it is determined whether it is the first time (step 354). In the case of the first time, the process proceeds to step 332 in FIG. 20, the transmission speed is returned to the predetermined transmission speed when the facsimile signal is detected, and the high-speed NSS is transmitted again, and (3) and (4) in the example of FIG. Take control. The predetermined communication speed here is generally the initial communication speed (communication speed of the first high-speed NSS: 14.4 kbps), but it is not necessarily the communication speed.
[0164]
When the number of preamble detections is the second or later, the process proceeds to step 334 in FIG. 20, and the high speed NSS is set to the communication speed determined by excluding the communication speed determined to be excluded in advance, and the high speed NSS is transmitted again. Then, the controls (3) and (4) in the example of FIG. 20 are performed.
[0165]
Here, the communication speed determined to be excluded in advance is considered as follows. For example, if the first high-speed NSS is transmitted at 9600 bps, the response signal does not return to the high-speed NSS. Therefore, it is determined that communication cannot be performed at a communication speed of 9600 bps or higher under this line condition. Therefore, if the maximum speed is a communication device of 14.4 kbps, it is determined that communication cannot be performed at a communication speed in the range of 14.4 kbps to 9600 bps, and the communication speed is determined to 7200 bps by excluding the communication speed in that range in advance. It is.
[0166]
FIG. 23 shows another specific example of the control procedure for determining the communication speed in place of FIG.
[0167]
(1) First, a call is made (step 361), and after dialing, the polarity is reversed and the facsimile signal from the partner machine is detected (step 362).
[0168]
(2) When polarity inversion is detected or a facsimile signal from the partner machine is detected, an instruction for the communication speed (14.4 kbps) is set in NSS (step 363), and a high-speed NSS is sent (step 364). Wait for reception of high-speed NSF, which is a response from.
[0169]
(3) If a high-speed NSF that is a response signal from the partner machine cannot be detected within a certain time (YES in step 369), the high-speed NSS is set to the communication speed determined by excluding the communication speed determined to be excluded in advance. It is set (step 370), high-speed NSS is sent again (step 364), and reception of high-speed NSF which is a response from the partner machine is waited for.
[0170]
Here, the communication speed determined to be excluded in advance is considered as follows. For example, if the first high-speed NSS is transmitted at 9600 bps, the response signal does not return to the high-speed NSS. Therefore, it is determined that communication cannot be performed at a communication speed of 9600 bps or higher under this line condition. Therefore, if the maximum speed is a communication device of 14.4 kbps, it is determined that communication cannot be performed at a communication speed in the range of 14.4 kbps to 9600 bps, and the communication speed is determined to be 7200 bps by excluding the communication speed in that range in advance. It is.
[0171]
In addition, when a signal requesting fallback is received from the receiving side as well as the preamble, the communication speed is determined according to normal fallback control, the communication speed is determined, the high speed NSS is set to the determined communication speed, The high speed NSS is sent again, and the above controls (2) and (3) are performed.
[0172]
FIG. 24 is a flowchart of communication speed determination on the receiving side, which changes to FIG. In FIG. 24, the same step number is assigned to the same function as FIG.
[0173]
(1) When an incoming call is received, reception of a high-speed NSS is waited for (step 311).
[0174]
(2) Next, line quality judgment data is extracted while receiving the high-speed NSS (step 312).
[0175]
(3) When reception of the high speed NSS is completed (step 313), the transmission speed is determined from the speed of the high speed NSS and the line quality determination data (steps 314 to 316). If it cannot be determined (YES in step 381), a response signal indicating that it could not be determined is transmitted (step 382), and a high-speed NSS is awaited.
[0176]
Thereafter, the above (2) and (3) are repeated.
[0177]
【The invention's effect】
As described above, according to the present invention, the communication speed is determined by the response signal from the counterpart device with respect to the test signal for determining the communication speed in the communication device that performs communication using the shortened protocol.
[0178]
This eliminates the need to execute a fallback procedure, suppresses transmission interruptions and image errors, simplifies the apparatus, and shortens the time required to determine the communication speed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a facsimile apparatus according to the present invention.
FIG. 2 is a control flowchart showing a transmission protocol of the facsimile apparatus shown in FIG.
FIG. 3 is a flowchart showing details of processing in transmission phase A in the transmission protocol shown in FIG. 2;
FIG. 4 is a flowchart showing details of processing in transmission phase B in the transmission protocol shown in FIG. 2;
FIG. 5 is a flowchart showing details of processing in transmission phase C in the transmission protocol shown in FIG. 2;
6 is a flowchart showing details of processing in transmission phase D in the transmission protocol shown in FIG. 2;
7 is a control flowchart showing a reception protocol of the facsimile apparatus shown in FIG.
FIG. 8 is a flowchart showing details of processing in reception phase B in the reception protocol shown in FIG. 7;
FIG. 9 is a flowchart showing details of processing in reception phase C in the reception protocol shown in FIG. 7;
FIG. 10 is a flowchart showing details of processing in reception phase D in the reception protocol shown in FIG. 7;
11 is a sequence chart showing a first case of mode transition to a shortened protocol in the facsimile apparatus shown in FIG.
12 is a sequence chart showing a second case of mode transition to the shortened protocol in the facsimile apparatus shown in FIG. 1. FIG.
13 is a sequence chart showing a third case of mode transition to the shortened protocol in the facsimile apparatus shown in FIG. 1. FIG.
14 is an example of a basic flowchart of a receiving side image information maximum allowable transmission rate determination protocol in the facsimile apparatus shown in FIG. 1;
FIG. 15 is a sequence chart for determining a transmission rate corresponding to the flowchart of FIG. 14;
FIG. 16 is a chart showing line quality judgment data with respect to a line state.
FIG. 17 is a chart showing a reception state for each transmission rate for each line quality determination data.
FIG. 18 is another example of a basic flowchart of the image information maximum allowable transmission rate determination protocol on the receiving side in the facsimile apparatus shown in FIG. 1;
19 is a sequence chart for determining a transmission rate corresponding to the flowchart of FIG.
20 is an example of a basic flowchart of a transmission-side image information maximum allowable transmission rate determination protocol in the facsimile apparatus shown in FIG. 1;
FIG. 21 is a detailed flowchart of polarity inversion / CED check in the flowchart of FIG. 20;
FIG. 22 is a detailed flowchart of preamble check in the flowchart of FIG. 20;
FIG. 23 is another example of a basic flowchart of an image information maximum allowable transmission rate determination protocol on the transmission side in the facsimile apparatus shown in FIG. 1;
FIG. 24 is still another example of a basic flowchart of the image information maximum allowable transmission rate determination protocol on the receiving side in the facsimile apparatus shown in FIG. 1;
[Explanation of symbols]
1 CPU
2 RAM
3 Operation display device
4 Reader
5 Printing device
6 Image processing device
7 Image storage device
8 System controller
9 Communication control unit 1
10 Communication control unit 21
11 Digital network controller
12 Modem
13 Analog network controller
14 System bus
15 Line switching control device

Claims (3)

公衆回線を介して送信側装置と受信側装置との間でファクシミリ信号の送受信を行う送受信手段を有する通信装置において、
前記受信側装置は、
複数の伝送速度に対応して回線状態毎の受信状態を示すテーブルを予め求め、前記送受信手段による特定の伝送速度のNSS(非標準機能設定)信号の受信に基づき回線状態を判別し、該判別した回線状態に基づき前記テーブルを参照して前記送受信手段による送受信の最高許容伝送速度を決定する伝送速度決定手段と、
前記伝送速度決定手段で決定した最高許容伝送速度の情報をNSF(非標準機能識別)信号に設定し、前記NSF(非標準機能識別)信号を前記送受信手段で送信する制御手段と
を具備することを特徴とする通信装置。
In a communication apparatus having a transmission / reception means for transmitting / receiving a facsimile signal between a transmission side apparatus and a reception side apparatus via a public line,
The receiving side device
A table indicating the reception state for each line state corresponding to a plurality of transmission rates is obtained in advance, and the line state is determined based on reception of an NSS (non-standard function setting) signal at a specific transmission rate by the transmission / reception means. A transmission rate determining means for determining a maximum allowable transmission rate of transmission / reception by the transmission / reception means by referring to the table based on the line state that is made;
Control means for setting information on the maximum allowable transmission speed determined by the transmission speed determination means to an NSF (non-standard function identification) signal and transmitting the NSF (non-standard function identification) signal by the transmission / reception means. A communication device characterized by the above.
前記伝送速度決定手段は、The transmission rate determining means is
複数の伝送速度毎の回線状態を判別する回線品質判定データを予め採取して記憶する回線品質判定データ記憶手段と、  Line quality determination data storage means for collecting and storing in advance line quality determination data for determining a line state for each of a plurality of transmission rates;
前記送受信手段による特定の伝送速度のNSS(非標準機能設定)信号の受信過程において回線品質判定データを抽出する回線品質判定データ抽出手段と  Channel quality determination data extracting means for extracting channel quality determination data in the process of receiving an NSS (non-standard function setting) signal of a specific transmission rate by the transmission / reception means;
を更に具備し、  Further comprising
前記回線品質判定データ抽出手段によって抽出した回線品質判定データに基づき前記回線品質判定データ記憶手段を参照して前記回線状態を判別する  Based on the line quality determination data extracted by the line quality determination data extraction means, the line quality determination data storage means is referred to determine the line state.
ことを特徴とする請求項1記載の通信装置。  The communication apparatus according to claim 1.
前記送信側装置は、The transmitting device is:
前記送受信手段で受信した前記NSF(非標準機能識別)信号に含まれる最高許容伝送速度の情報に基づいて伝送速度を設定する制御手段  Control means for setting a transmission rate based on information on the maximum allowable transmission rate included in the NSF (non-standard function identification) signal received by the transmission / reception unit
を具備することを特徴とする請求項1または2記載の通信装置。The communication apparatus according to claim 1, further comprising:
JP00787096A 1996-01-19 1996-01-19 Communication device Expired - Fee Related JP3767000B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00787096A JP3767000B2 (en) 1996-01-19 1996-01-19 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00787096A JP3767000B2 (en) 1996-01-19 1996-01-19 Communication device

Publications (2)

Publication Number Publication Date
JPH09200359A JPH09200359A (en) 1997-07-31
JP3767000B2 true JP3767000B2 (en) 2006-04-19

Family

ID=11677676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00787096A Expired - Fee Related JP3767000B2 (en) 1996-01-19 1996-01-19 Communication device

Country Status (1)

Country Link
JP (1) JP3767000B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001102968A (en) * 1999-09-29 2001-04-13 Matsushita Electric Ind Co Ltd Device and method for transmission
JP2013192191A (en) * 2012-03-15 2013-09-26 Mitsubishi Electric Corp Optical network control method and optical network

Also Published As

Publication number Publication date
JPH09200359A (en) 1997-07-31

Similar Documents

Publication Publication Date Title
JP3584519B2 (en) Facsimile communication method and facsimile apparatus
JP3767000B2 (en) Communication device
JP3674072B2 (en) Facsimile communication method and facsimile apparatus
JP3214112B2 (en) Facsimile transmission control method
JP3707036B2 (en) Communication control method between facsimile apparatus and facsimile
JP2002218191A (en) Communication terminal and recording medium with communication control program recorded thereon
JP3593257B2 (en) Facsimile machine
JP3606205B2 (en) Facsimile gateway device
JP3427605B2 (en) Facsimile machine
JP2652829B2 (en) Facsimile machine
JP3551595B2 (en) Communication device
JPH09312749A (en) Transmission control system for facsimile equipment
JP3645174B2 (en) Facsimile device
JP3221102B2 (en) Facsimile machine
JP2788468B2 (en) Facsimile apparatus and facsimile communication method
JP3661709B2 (en) Facsimile device
JP3457254B2 (en) Facsimile machine
JP3666455B2 (en) Internet facsimile machine
JP3440626B2 (en) Communication device
JPH09200289A (en) Communication equipment
JPH09200472A (en) Communication equipment
JPH07221957A (en) Communication controller for facsimile equipment
JPH10290355A (en) Facsimile equipment and facsimile communication method
JPH08204931A (en) Facsimile communication method and facsimile equipment
JP2000332941A (en) Real-time internet facsimile equipment and its control method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040323

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050719

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050920

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060123

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