JP3229916B2 - Communication control device - Google Patents

Communication control device

Info

Publication number
JP3229916B2
JP3229916B2 JP00639395A JP639395A JP3229916B2 JP 3229916 B2 JP3229916 B2 JP 3229916B2 JP 00639395 A JP00639395 A JP 00639395A JP 639395 A JP639395 A JP 639395A JP 3229916 B2 JP3229916 B2 JP 3229916B2
Authority
JP
Japan
Prior art keywords
signal
fax
facsimile
communication
modem
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
JP00639395A
Other languages
Japanese (ja)
Other versions
JPH08195866A (en
Inventor
剛 志田
桂一 冨田
誠 松本
Original Assignee
松下電送システム株式会社
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 松下電送システム株式会社 filed Critical 松下電送システム株式会社
Priority to JP00639395A priority Critical patent/JP3229916B2/en
Publication of JPH08195866A publication Critical patent/JPH08195866A/en
Application granted granted Critical
Publication of JP3229916B2 publication Critical patent/JP3229916B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はアナログ回線の中間にデ
ジタル回線を接続してファクシミリ通信を行う通信制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control apparatus for performing a facsimile communication by connecting a digital line between analog lines.

【0002】[0002]

【従来の技術】近年、アナログ回線に接続されてファク
シミリ通信を行うG3ファクシミリ装置間において、ア
ナログ回線の中間にデジタル回線を用い、分割多重通信
システム(TDM)を接続したファクシミリ通信が行わ
れている。この際、アナログ回線ではファクシミリ通信
手順に基づくアナログ信号が用いられ、デジタル回線で
はデータ通信手順(例えばEIA−578等)に基づく
デジタル信号が用いられる。このためTDMにはアナロ
グ信号とデジタル信号をそれぞれの通信手順に基づいて
変換処理する通信制御装置を設け、アナログ回線とデジ
タル回線とを接続してファクシミリ通信を行っている。
2. Description of the Related Art In recent years, facsimile communication in which a division multiplex communication system (TDM) is connected between G3 facsimile apparatuses connected to an analog line and performing facsimile communication using a digital line in the middle of the analog line has been performed. . In this case, an analog line uses an analog signal based on a facsimile communication procedure, and a digital line uses a digital signal based on a data communication procedure (for example, EIA-578). For this reason, the TDM is provided with a communication control device for converting an analog signal and a digital signal based on the respective communication procedures, and performs facsimile communication by connecting an analog line and a digital line.

【0003】[0003]

【発明が解決しようとする課題】上述のようにアナログ
回線の中間にデジタル回線が接続されているため、アナ
ログ回線を用いる通常のファクシミリ通信とは異なる特
殊な問題が発生する。まず、通常のファクシミリ通信と
比較して、アナログ回線とデジタル回線という性質の異
なる回線が存在するため、回線上の遅延が生じやすく、
その結果通信が中断し易いという問題が発生していた。
即ち、発呼側のファクシミリ装置では被呼側のファクシ
ミリ装置へ制御信号を送出すると、所定時間被呼側のフ
ァクシミリ装置からの応答を待つが、所定時間を経過し
ても応答がない場合、制御信号の再送を繰り返す。一方
被呼側のファクシミリ装置は、送信されてくる制御信号
に対して応答の制御信号を送出しているが、回線上の遅
延によって、所定時間内に発呼側へ届かない場合があ
る。このため発呼側と被呼側の双方のファクシミリ装置
から制御信号が回線上に送出されたことになり、両制御
信号が回線上で衝突し、相手側へ到達できなくなる。こ
れにより発呼側と被呼側の双方のファクシミリ装置にお
いて、ファクシミリ通信上の所定待機時間がタイムオー
バーして通信が中断するという事態が発生していた。
As described above, since a digital line is connected between analog lines, a special problem different from ordinary facsimile communication using an analog line occurs. First, compared to normal facsimile communication, there are lines with different characteristics, analog lines and digital lines.
As a result, there has been a problem that communication is easily interrupted.
That is, when the calling facsimile machine sends a control signal to the called facsimile machine, it waits for a response from the called facsimile machine for a predetermined period of time. Repeat signal retransmission. On the other hand, the called facsimile machine sends out a control signal in response to the transmitted control signal. However, it may not reach the calling side within a predetermined time due to a delay on the line. As a result, the control signals are sent out on the line from both the calling and called facsimile machines, and the two control signals collide on the line, making it impossible to reach the other party. As a result, in the facsimile apparatuses on both the calling side and the called side, a situation has occurred in which a predetermined standby time in facsimile communication times out and communication is interrupted.

【0004】また、上述の通信において、デジタル回線
上でバーストエラーもしくは回線断が生じた場合、この
デジタル回線上の異常を相手側ファクシミリ装置に通知
できない。つまり、G3ファクシミリ装置では制御信号
はHDLC(ハイレベルデータリンク制御手順)フレー
ムで構成され、アナログ回線上で発生した誤りを受信側
でチェックできるフレームチェッキングシーケンス(F
CS)の欄を設けている。しかしデジタル回線ではデー
タを転送する形態がHDLCフレームではないため、デ
ジタル回線上で発生したエラーを受信側でチェックでき
ない。このため、送信側のファクシミリ装置が送信した
制御信号の内容がエラーにより変わってしまっても受信
側のファクシミリ装置はエラーと認識できず正しいもの
とするため、制御信号の内容が変わってしまうという事
態が発生する。この状態で通信を行うと通信機能が異な
った状態で送信側のファクシミリ装置と受信側のファク
シミリ装置との間で通信が行われることになり、その結
果通信が不能になるという事態が発生していた。
Further, in the above-mentioned communication, when a burst error or line disconnection occurs on a digital line, it is impossible to notify the other party facsimile apparatus of the abnormality on the digital line. In other words, in the G3 facsimile apparatus, the control signal is constituted by an HDLC (High Level Data Link Control Procedure) frame, and a frame checking sequence (F
CS) column is provided. However, on the digital line, since the mode of transferring data is not an HDLC frame, an error occurring on the digital line cannot be checked on the receiving side. Therefore, even if the content of the control signal transmitted by the transmitting facsimile machine changes due to an error, the content of the control signal changes because the receiving facsimile machine cannot recognize the error and correct it. Occurs. If communication is performed in this state, communication is performed between the facsimile apparatus on the transmitting side and the facsimile apparatus on the receiving side with different communication functions, and as a result, a situation occurs in which communication becomes impossible. Was.

【0005】また、上述の通信では、ポーリング通信の
場合にエコーが発生すると通信が中断するという事態が
発生し問題となっていた。すなわち、上述の通信におい
てデジタル回線上で通信上の主導権は常に発呼側の通信
制御装置にあるため、ポーリング通信の場合も通信上の
主導権は発呼側の通信制御装置にある。ポーリング通信
により発呼側の通信制御装置から被呼側の通信制御装置
に画像データの送信を要求した場合、コマンドのやりと
りの後、最後に被呼側の通信制御装置よりトレーニング
チェックTCFが送信され、これに対し発呼側の通信制
御装置より被呼側の通信制御装置に受信準備確認信号C
FRが送られてくる。被呼側の通信制御装置はCFRを
自己とアナログ回線により接続されているファクシミリ
装置(被呼側ファクシミリ装置)に送信する。この後被
呼側の通信制御装置は発呼側の通信制御装置の指示によ
って被呼側ファクシミリ装置から画像データを受信すべ
くモデムを高速受信モードに切り換える。ところが被呼
側ファクシミリ装置へ送出したCFR信号が被呼側の通
信制御装置と被呼側ファクシミリ装置との間に存在する
構内交換機で反射してエコーとなって被呼側の通信制御
装置に戻ってくる場合が発生する。被呼側の通信制御装
置は高速受信モードにモデムを切り換えて待機している
ところへ300bpsで送信される制御信号CFRが入
ってきたので、通信上の主導権を握っている発呼側の通
信制御装置に対し、モードの違いを知らせて、発呼側の
通信制御装置からの制御コマンド待ち状態となる。この
際、デジタル回線上の遅延が大きいと発呼側の通信制御
装置から被呼側の通信制御装置に制御コマンドが伝達さ
れるまでに時間がかかる。一方被呼側のファクシミリ装
置はCFR信号を受信すると画像データを送信してくる
が、被呼側の通信制御装置は制御コマンドが発呼側の通
信制御装置より伝達されてこないため、この画像データ
を受信できず通信が中断する事態が発生していた。
[0005] In the above-mentioned communication, when an echo is generated in the case of polling communication, the communication is interrupted, which causes a problem. That is, in the above-mentioned communication, since the initiative in communication on the digital line is always in the communication control device on the calling side, even in the case of polling communication, the initiative in communication is in the communication control device on the calling side. When the calling communication control device requests transmission of image data to the called communication control device by polling communication, a training check TCF is finally transmitted from the called communication control device after the exchange of commands. In response to this, the communication control unit on the calling side sends a reception preparation confirmation signal C to the communication control unit on the called side.
FR is sent. The called communication control device transmits the CFR to a facsimile device (called facsimile device) connected to itself by an analog line. Thereafter, the communication control device on the called side switches the modem to the high-speed reception mode in order to receive image data from the facsimile device on the called side in accordance with an instruction from the communication control device on the calling side. However, the CFR signal sent to the called-side facsimile machine is reflected by a private branch exchange located between the called-side facsimile machine and the called-side facsimile machine, returns as an echo, and returns to the called-side facsimile apparatus. May occur. The communication control device on the called side switches the modem to the high-speed reception mode, and the control signal CFR transmitted at 300 bps enters the standby mode, so that the communication control on the calling side, which has the initiative in communication, is performed. The control device is informed of the difference between the modes, and enters a state of waiting for a control command from the communication control device on the calling side. At this time, if the delay on the digital line is large, it takes time until the control command is transmitted from the communication control device on the calling side to the communication control device on the called side. On the other hand, the called facsimile device transmits image data when receiving the CFR signal, but the called communication control device does not transmit the control command from the calling communication control device. Communication was interrupted due to the failure to receive the message.

【0006】本発明は上述の問題点に鑑みてなされたも
ので、デジタル回線上で発生したエラーを受信側の通信
制御装置でチェックできるようにし、デジタル回線上の
エラーの発生を受信側のファクシミリ装置に伝達できる
ようにすることを目的とする。
[0006] The present invention has been made in view of the above problems, the communication of the receiving side an error that occurred on the digital line
So that it can be checked by the control unit and
It is an object of the present invention to enable an occurrence of an error to be transmitted to a facsimile machine on the receiving side .

【0007】[0007]

【課題を解決するための手段】上述の目的を達成するた
めに、請求項1記載の通信制御装置の発明は、第1ファ
クシミリ端末とアナログ回線によりファクシミリ通信す
る第1入出力手段と、第2ファクシミリ端末とアナログ
回線によりファクシミリ通信するデータ端末に対しデジ
タル回線によりデータ通信する第2入出力手段と、前記
第1入出力手段と前記第2入出力手段との入出力を制御
する制御手段とを備え、前記制御手段は、前記デジタル
回線を介して前記データ端末より送られてきた、前記フ
ァクシミリ制御信号とこの信号に含まれる所定欄のデー
タを加算するサム演算の結果とを前記データ端末より受
信すると、受信したファクシミリ制御信号の前記サム演
算を実施してその演算値を前記データ端末より受信した
演算値と比較し、一致しない場合は前記デジタル回線上
でエラーがあったことを確定し、受信したファクシミリ
制御信号のFCS欄をエラー表示として前記第1ファク
シミリ端末に送信することで、前記第1ファクシミリ端
末に対して前記デジタル回線上でエラーがあったこと伝
達する構成をとる。
To achieve the above object, a communication control apparatus according to the first aspect of the present invention comprises a first input / output means for performing facsimile communication with a first facsimile terminal and an analog line; a second output means for data communication with the digital line to the data terminal to the facsimile communication by the facsimile terminal and an analog line, the
And control means for controlling the input and output of said first input-output means second input means, the control means, the digital
When a facsimile control signal transmitted from the data terminal via a line and a result of a sum operation for adding data in a predetermined column included in the signal are received from the data terminal, the received facsimile control signal the checksum operation was performed compared to the calculated value and the calculated value received from the data terminal, if they do not match on the digital line
In to confirm that there was an error, the FCS field of the received facsimile control signal by sending the first facsimile terminal as an error display, the first facsimile terminal
Report that there was an error on the digital line
Take the configuration to reach .

【0008】[0008]

【0009】[0009]

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【作用】請求項の発明によれば、データ端末はファク
シミリ制御信号をデジタル信号にして第2入出力手段に
送出する場合、ファクシミリ制御信号の所定欄のデータ
を加算した加算結果をファクシミリ制御信号をデジタル
化した信号と共に第2入出力手段に送ってくるので、制
御手段は同様の計算を行い、その加算結果を送られてき
た値と比較し、一致した場合は、データがデジタル回線
上を正しく伝送されてきたとし、不一致のときは、送ら
れてきたファクシミリ制御信号を第1ファクシミリ端末
へ送信するときにそのFCS欄にエラー表示をして送信
する。これにより第1ファクシミリ端末は受信したファ
クシミリ制御信号にエラーがあることがわかり、再送を
相手ファクシミリ制御装置に要求することができるの
で、ファクシミリ通信は中断せず持続される。
According to the first aspect of the present invention, when the data terminal converts the facsimile control signal into a digital signal and sends it to the second input / output means, the data terminal adds the result of addition of the data in the predetermined column of the facsimile control signal to the facsimile control signal. Is sent to the second input / output means together with the digitized signal, so that the control means performs the same calculation, compares the addition result with the sent value, and if they match, the data is transmitted over the digital line. If it is determined that the data has been transmitted correctly, and if they do not match, when the transmitted facsimile control signal is transmitted to the first facsimile terminal, an error is displayed in the FCS column and transmitted. As a result, the first facsimile terminal knows that there is an error in the received facsimile control signal, and can request retransmission to the partner facsimile control device, so that facsimile communication is continued without interruption.

【0014】[0014]

【0015】[0015]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は実施例の通信システムを示す図であ
る。アナログ回線よりなる公衆回線2a,2bに接続さ
れたファクシミリ端末(以下FAXと称する)1a,1
bは、構内交換機(PBX),3a,3bを介しデジタ
ル通信を行う時分割多重化装置(TDM)4a,4bと
接続されている。時分割多重化装置4a,4bはデジタ
ル回線6で接続されており、内部にファクシミリモデム
(以下FAXモデムと称する)5a,5bが組み込まれ
ている。FAXモデム5a,5bはファクシミリ信号を
アナログ信号からデジタル信号に、またこの逆に変換
し、通信制御を行う。なお、通信制御装置、データ端末
はいずれもFAXモデム5に該当する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram illustrating a communication system according to an embodiment. Facsimile terminals (hereinafter referred to as FAX) 1a, 1 connected to public lines 2a, 2b composed of analog lines.
b is connected to time-division multiplexers (TDM) 4a and 4b for performing digital communication via private branch exchanges (PBX) 3a and 3b. The time division multiplexing devices 4a and 4b are connected by a digital line 6, and have facsimile modems (hereinafter referred to as FAX modems) 5a and 5b incorporated therein. The FAX modems 5a and 5b convert a facsimile signal from an analog signal to a digital signal and vice versa to control communication. Note that both the communication control device and the data terminal correspond to the FAX modem 5.

【0016】図2はFAXモデムの内部構成と、これと
一緒に組み込まれた音声コーデックを示す図である。音
声コーデックは電話の音声の符号化復号化を行う。デジ
タル側は16K又は8Kpbsでありアナログ側は64
Kpbsの場合を示す。FAXモデム4はデジタル回線
6に接続するシリアル入出力部(SIO)10、ランダ
ムアクセスメモリ(RAM)11、読み出し専用メモリ
(ROM)12、モデムとCPUを内蔵する制御部1
3、およびアナログ回路とのインタフェース回路14か
ら構成されている。なお、シリアル入出力部10にはバ
ッファメモリが設けられている。
FIG. 2 is a diagram showing an internal configuration of the FAX modem and a voice codec incorporated therein. The audio codec performs encoding and decoding of telephone audio. 16K or 8Kpbs on the digital side and 64 on the analog side
The case of Kpbs is shown. The FAX modem 4 includes a serial input / output unit (SIO) 10 connected to a digital line 6, a random access memory (RAM) 11, a read-only memory (ROM) 12, and a control unit 1 having a built-in modem and CPU.
3 and an interface circuit 14 with an analog circuit. The serial input / output unit 10 is provided with a buffer memory.

【0017】以上の構成の装置により以下の動作をする
実施例を説明する。第1実施例はデジタル回線6上の遅
れによりアナログ回線2で発生する制御信号の衝突を回
避する実施例である。図3は第1実施例の通信シーケン
スを示し、図4は第1実施例の動作フロー図である。図
5はG3ファクシミリに用いられる制御信号のHDLC
フレーム構成を示す図である。
An embodiment in which the following operation is performed by the above-configured apparatus will be described. The first embodiment is an embodiment in which collision of control signals generated in the analog line 2 due to a delay on the digital line 6 is avoided. FIG. 3 shows a communication sequence of the first embodiment, and FIG. 4 is an operation flowchart of the first embodiment. FIG. 5 shows the HDLC of the control signal used for the G3 facsimile.
It is a figure showing a frame composition.

【0018】図3において、FAX1a,1b,FAX
モデム5a,5bは図1に示す機器に対応する。図の状
態はFAX1bより発呼し、その応答をFAX1aが行
うところから表示している。図4はFAXモデム5aの
動作を表す。FAX1aより被呼端末識別信号CSI,
デジタル識別信号DISをFAXモデム5aは受信す
る。データ受信終了すると(S1)、図2で示した制御
部13内部ではCPUがモデムからの信号が切れたかを
検出する(S2)。モデムからの信号をキャリアと言
い、信号がきている状態をキャリアオン、切れた状態を
キャリアオフと言う。キャリアオフを検出することによ
りCPUは受信終了を認識する。キャリアオフを検出す
るとFAXモデム5aは、タイマーをスタートする(S
3)。タイマーはハードウェアで構成してもソフトウェ
アで構成してもよい。タイマーの設定時間はFAX1a
が応答を必要とする制御信号を発信後、応答がない場合
再発信するまでの時間より少し短い時間としている。
In FIG. 3, FAX 1a, 1b, FAX
The modems 5a and 5b correspond to the devices shown in FIG. In the state shown in the figure, a call is made from the FAX 1b, and the response is displayed from the place where the FAX 1a responds. FIG. 4 shows the operation of the FAX modem 5a. The called terminal identification signal CSI from the FAX 1a,
The FAX modem 5a receives the digital identification signal DIS. When the data reception is completed (S1), in the control unit 13 shown in FIG. 2, the CPU detects whether the signal from the modem is cut off (S2). A signal from the modem is called a carrier, a state where a signal is coming is called a carrier on, and a state where it is cut off is called a carrier off. By detecting carrier off, the CPU recognizes the end of reception. Upon detecting carrier off, the FAX modem 5a starts a timer (S
3). The timer may be configured by hardware or software. The setting time of the timer is FAX1a
After sending a control signal that requires a response, the time is a little shorter than the time until retransmission when there is no response.

【0019】なお、キャリアオフ検出と前後して、FA
X1aより受信したCSI,DIS信号をデジタルに変
換してFAXモデム5bに送出する。FAXモデム5b
ではアナログデータに変換してFAX1bに伝送し、そ
の応答信号として送信端末識別信号TSIと、DIS信
号で示された標準機能の中から設定した機能を示すデジ
タル命令信号DCSを得ると、これを応答信号としてデ
ジタル回線でFAXモデム5aに送信するが、これが破
線で示すように送信される場合と、実線で示すようにさ
らに遅れて送信される場合がある。FAXモデム5aは
FAXモデム5bからの応答信号を待ち(S4)、受信
すると制御部13のCPUはモデムに対して通信速度3
00bpsでHDLCフレームで送信モードを起動させ
(S5)、FAXモデム5bからSIO10が受信する
データをモデムへ転送し、アナログ回線によりFAX1
aに送出する(S6)。
Before and after the carrier off detection, the FA
The CSI and DIS signals received from X1a are converted into digital signals and transmitted to the FAX modem 5b. FAX modem 5b
In this case, the data is converted into analog data and transmitted to the facsimile device 1b. When a transmission terminal identification signal TSI and a digital command signal DCS indicating a function set from among the standard functions indicated by the DIS signal are obtained as response signals, the response signal is transmitted. The signal is transmitted to the FAX modem 5a via a digital line. The signal may be transmitted as indicated by a broken line, or may be transmitted with a further delay as indicated by a solid line. The FAX modem 5a waits for a response signal from the FAX modem 5b (S4).
The transmission mode is activated by the HDLC frame at 00 bps (S5), the data received by the SIO 10 from the FAX modem 5b is transferred to the modem, and the FAX1 is transmitted by the analog line.
a (S6).

【0020】応答信号がなく(S4)、タイムアウトと
なったときは(S7)、CPUはプリアンブルの先出
し、タイマーのスタートを定め(S8)、モデムに対し
てプリアンブルを送出する(S9)。モデムはFAX1
aへプリアンブルの送出を開始する。プリアンブルはH
DLCフレームに先立って送信するもので、後に続くH
DLCフレーム(制御信号)が損なわれずに伝送される
ように送出されるものである。しかし、この場合後に続
く制御信号が確定しない状態で送出するので先出しと称
する。このプリアンブルの送出中に図3の破線で示す応
答信号がきたときは(S10)、この応答信号をSIO
10で受信し、モデムへ転送し、モデムよりプリアンブ
ルに続けてFAX1aに送出する(S6)。
If there is no response signal (S4) and a timeout occurs (S7), the CPU precedes the preamble, determines the start of the timer (S8), and sends the preamble to the modem (S9). Modem is FAX1
Start sending the preamble to a. Preamble is H
HLC is transmitted prior to the DLC frame, and H
The DLC frame (control signal) is transmitted so as to be transmitted without being damaged. However, in this case, the subsequent control signal is transmitted in a state in which it is not determined, and is referred to as advance. When a response signal indicated by a broken line in FIG. 3 arrives during transmission of the preamble (S10), the response signal is transmitted to the SIO.
10, the data is transferred to the modem, and transmitted from the modem to the FAX 1a following the preamble (S6).

【0021】応答信号が着信せず(S10)、タイムア
ウトしたときは(S11)、コマンド再送信号CRPの
HDLCフレームのFCS欄にエラー表示をしてFAX
1aに送出する(S12)。FAX1aは、T4タイム
アウト(ITUT30規格)により、CSI,DISを
再送する。なお、実線で示す遅れてFAXモデム5aに
着信した応答信号TSI,DCSはFAX1aには転送
せず、FAX1aより再送されたCSI,DIS信号に
基づいて通信を再開する。これにより通信を続行するこ
とができる。
If no response signal arrives (S10) and a timeout occurs (S11), an error is displayed in the FCS column of the HDLC frame of the command retransmission signal CRP, and the fax is performed.
1a (S12). The FAX 1a retransmits CSI and DIS by T4 timeout (ITUT30 standard). Note that the response signals TSI and DCS that arrive at the FAX modem 5a with a delay indicated by the solid line are not transferred to the FAX 1a, but the communication is restarted based on the CSI and DIS signals retransmitted from the FAX 1a. Thus, communication can be continued.

【0022】図5はHDLCフレームの構成を示す図で
ある。フラグ20,26は8ビットからなり最初と終わ
りに配置され、フレームの始まりおよび終わりを示す。
そのフォーマットは「0111 1110」で16進数
で7Eを表す。アドレス21は8ビットからなり、一般
電話交換網の1対1ファクシミリ伝送の場合「1111
1111」に限定される。制御22は8ビットからな
りデータリンクを制御するための命令や応答に使われ
る。ファクシミリ制御23は8ビットからなりDISと
かCSIなどの制御信号を表す。ファクシミリ情報24
は32ビットからなりファクシミリ制御23の付加情報
を表す。フレームチェッキングシーケンス25(FC
S)は16ビットからなり受信側で伝送誤りをチェック
するためのシーケンスである。このFCSにエラーを表
示し、ファクシミリ制御23にCRPを入れた制御信号
がFAXモデム5aよりFAX1aに送出される。
FIG. 5 is a diagram showing the structure of an HDLC frame. The flags 20 and 26 are composed of 8 bits, are arranged at the beginning and end, and indicate the start and end of the frame.
The format is “0111 1110” and represents 7E in hexadecimal. The address 21 is composed of 8 bits. In the case of one-to-one facsimile transmission of a general telephone exchange network, "1111" is used.
1111 ". The control 22 consists of 8 bits and is used for commands and responses for controlling the data link. The facsimile control 23 is composed of 8 bits and represents a control signal such as DIS or CSI. Facsimile information 24
Is composed of 32 bits and represents additional information of the facsimile control 23. Frame checking sequence 25 (FC
S) is a sequence consisting of 16 bits for checking a transmission error on the receiving side. An error is displayed on the FCS, and a control signal including the CRP in the facsimile control 23 is transmitted from the FAX modem 5a to the FAX 1a.

【0023】次に第2実施例を説明する。本実施例はデ
ジタル回線6で発生したエラーを受信側のFAXモデム
5で検出できるようにしたものである。G3ファクシミ
リ装置では制御信号はHDLCフレームで構成され、ア
ナログ回線に送出されアナログ回線上で発生した誤りを
受信側でFCS欄をチェックすることにより検出できる
ようにしているが、デジタル回線ではデータを転送する
形態がHDLCフレームでないため、このようなチェッ
クがなされないので本実施例はこれに代わるチェック方
式を設けたものである。つまり、図1に示すFAX1b
が図5で示したHDLCフレームの制御信号を送出する
とFAXモデム5bはこれを受信し、デジタルデータに
変換するときアドレス21からファクシミリ情報24ま
でのデータ(これらは0と1で表されている)を1バイ
ト毎に数字で表し、この数字を加算するサム演算を行
い、このサム演算値も共にFAXモデム5aに送出す
る。FAXモデム5aでも同様に受信したデータのサム
演算を行い、受信したサム演算値と自己が算出したサム
演算値を比較し、一致していればデジタル回線上でエラ
ーは発生しなかったものとし、不一致の場合はエラーが
発生したものとする。そしてFAX1aにHDLCフレ
ームで送出するとき、FCS欄にエラー表示しておくこ
とによりFAX1aはその制御信号をエラーと認識す
る。
Next, a second embodiment will be described. In this embodiment, an error occurring in the digital line 6 can be detected by the FAX modem 5 on the receiving side. In the G3 facsimile apparatus, the control signal is composed of an HDLC frame, and is transmitted to an analog line so that an error occurring on the analog line can be detected by checking the FCS column on the receiving side. Since this type of check is not an HDLC frame, such a check is not performed. Therefore, in this embodiment, a check method is provided instead. That is, the FAX 1b shown in FIG.
Sends the control signal of the HDLC frame shown in FIG. 5, the FAX modem 5b receives the signal and converts it into digital data. The data from the address 21 to the facsimile information 24 (these are represented by 0 and 1) Is represented by a number for each byte, a sum operation for adding the number is performed, and this sum operation value is also sent to the FAX modem 5a. Similarly, the FAX modem 5a performs the sum operation of the received data, compares the received sum operation value with the sum operation value calculated by itself, and if they match, it is assumed that no error has occurred on the digital line. If they do not match, it is assumed that an error has occurred. When transmitting an HDLC frame to the FAX 1a, the FAX 1a recognizes the control signal as an error by displaying an error in the FCS column.

【0024】図6は発信側のFAXモデム5bの動作フ
ロー図を示し、図7は受信側のFAXモデム5aの動作
フロー図を示す。図1においてFAX1bを制御信号発
信側、FAX1aを受信側として説明する。この際、両
FAX1a,1bは対等なのでこの逆でもよい。図6に
おいて、FAXモデム5bの制御部13では、モデムを
制御信号の伝送速度である300bpsで送られてくる
HDLCフレームの受信モードにする(S20)。FA
X1bより制御信号が送信されてくると、図5で示した
HDLCフレームの先頭フラグ20を検出することによ
り制御信号の着信を検出し(S21)、モデムがデータ
を受信し(S22)、復調を行い、CPUでデジタルデ
ータに変換し、1バイト毎にSIO10にデータを転送
してゆく(S23)。それと共にCPUは、図5に示す
アドレス21よりファクシミリ情報24までの各欄のデ
ータについて1バイト毎に数字として表し、その数字を
加算するサム演算を行う(S24)。このようにして、
FAX1bからの制御信号のデータをモデムが受信終了
した後(S25)、サム演算値をSIO10に転送し
(S26)、このサム演算値も制御信号のデータと共に
FAXモデム5aにデジタル回線で送出する。
FIG. 6 is a flowchart showing the operation of the FAX modem 5b on the transmitting side, and FIG. 7 is a flowchart showing the operation of the FAX modem 5a on the receiving side. In FIG. 1, FAX 1b will be described as a control signal transmitting side, and FAX 1a will be described as a receiving side. At this time, since the two faxes 1a and 1b are equal, the opposite may be performed. In FIG. 6, the control unit 13 of the FAX modem 5b sets the modem to the reception mode of the HDLC frame transmitted at 300 bps, which is the transmission speed of the control signal (S20). FA
When the control signal is transmitted from X1b, the arrival of the control signal is detected by detecting the head flag 20 of the HDLC frame shown in FIG. 5 (S21), the modem receives the data (S22), and demodulates. Then, the data is converted into digital data by the CPU, and the data is transferred to the SIO 10 byte by byte (S23). At the same time, the CPU performs a sum operation in which the data in each column from the address 21 to the facsimile information 24 shown in FIG. 5 is represented as a number for each byte and the number is added (S24). In this way,
After the modem has received the data of the control signal from the FAX 1b (S25), it transfers the sum operation value to the SIO 10 (S26), and sends this sum operation value together with the control signal data to the FAX modem 5a via a digital line.

【0025】次に受信側のFAXモデム5aの制御部1
3のCPUの動作を説明する。CPUは図7に示すよう
に、モデムをFAX1aに制御信号を送信する送信モー
ドにする(S30)、次にモデムはCPUに対し、送信
してもよい旨を示すCS(Clear to Send )onを伝送
し、CPUはこれを検出する(S31)。SIO10に
はデジタル回線より制御信号が入力されてくるのでこれ
を受信する(S32)。CPUはこの受信データを1バ
イト毎にモデムに転送するが(S33)、その際送信側
のFAXモデム5bで行ったサム演算をアドレス21か
らファクシミリ情報24について実施してゆく(S3
4)。制御信号のデータ受信が終了すると(S35)、
送信されてきたサム演算値と、自己が計算したサム演算
値とを比較し(S36)、一致している時はモデムに対
してFCS欄に正常である旨表示するように要求し(S
37)、一致しない時はFCS欄にエラーがある旨表示
するよう要求する(S38)。
Next, the control unit 1 of the FAX modem 5a on the receiving side
The operation of the CPU No. 3 will be described. As shown in FIG. 7, the CPU sets the modem to a transmission mode for transmitting a control signal to the FAX 1a (S30). Next, the modem issues a CS (Clear to Send) on indicating to the CPU that transmission may be performed. The data is transmitted, and the CPU detects this (S31). Since a control signal is input to the SIO 10 from a digital line, the control signal is received (S32). The CPU transfers the received data to the modem on a byte-by-byte basis (S33). At that time, the sum calculation performed by the FAX modem 5b on the transmitting side is performed on the facsimile information 24 from the address 21 (S3).
4). When the control signal data reception is completed (S35),
The transmitted sum calculation value is compared with the sum calculation value calculated by itself (S36), and when they match, a request is made to the modem to indicate that it is normal in the FCS column (S36).
37) If they do not match, a request is made to display that there is an error in the FCS column (S38).

【0026】図8は受信側FAXモデム5aの制御部1
3のモデムの動作フロー図である。モデムは図7の(S
30)で起動すると(S40)、FAX1aに対し、制
御信号に先立って送るプリアンブルを送出し(S4
1)、送出する制御信号があるか調べ(S42)、あれ
ばこれをHDLCフレームに構成してFAX1aに対し
送出し(S43)、最終データまで送出してゆく(S4
4)。この際、図5で示したFCS欄では図7でCPU
よりFCS正常を示すFCS OKの要求がきているか
調べ(S45)、FCS OKの要求であれば、FCS
欄にFCSエラーなしを表示してFAX1aに送出し、
FCSにエラーありを示すFCS NGの要求がきてい
れば、FCS欄にFCSエラーありの表示をしてFAX
1aに送出する(S47)。そして最後に図5に示す後
方のフラグ26を送出して制御信号の終了を示す(S4
8)。モデムはこのようにFCS欄にエラーの有無を表
示してHDLCフレームを作成し、FAX1aに送出す
る。FAX1aではFCS欄にエラー表示があれば、こ
の制御信号を無効とし、再送要求をFAXモデム5a,
5bを介しFAX1bに行う。これによりデジタル回線
上でエラーが発生しても検出できるので、従来のように
エラーを検出できないため、通信不能状態に落ちること
を防止できる。
FIG. 8 shows the control unit 1 of the receiving fax modem 5a.
FIG. 7 is an operation flowchart of the modem 3. The modem is (S
When activated at 30) (S40), a preamble to be transmitted prior to the control signal is transmitted to the FAX 1a (S4).
1) It is checked whether there is a control signal to be sent (S42). If there is, it is formed into an HDLC frame, sent to the FAX 1a (S43), and sent to the final data (S4).
4). At this time, in the FCS column shown in FIG.
It is checked whether a request for FCS OK indicating that the FCS is normal has been received (S45).
No FCS error is displayed in the field and sent to FAX1a,
If an FCS NG request indicating that an error has occurred has been received from the FCS, a message indicating that an FCS error has occurred is displayed in the FCS column, and FAX is performed.
1a (S47). Finally, the rear flag 26 shown in FIG. 5 is sent to indicate the end of the control signal (S4
8). The modem creates an HDLC frame by displaying the presence or absence of an error in the FCS column, and sends the HDLC frame to the FAX 1a. In the FAX 1a, if an error is displayed in the FCS column, this control signal is invalidated, and a retransmission request is sent to the FAX modem 5a,
5b to the facsimile 1b. As a result, even if an error occurs on the digital line, the error can be detected. Therefore, the error cannot be detected as in the related art, so that it is possible to prevent the communication from being disabled.

【0027】次に第3実施例を説明する。本実施例はポ
ーリング通信の際、画像データの受信状態に入った被呼
側のFAXモデム5aにFAX1a側より制御信号が入
力された場合、通信上の主導権を発呼側のFAXモデム
5bから被呼側のFAXモデム5aに移し、被呼側のF
AXモデム5aの判断により通信を行うようにする。こ
れにより従来、被呼側のFAXモデム5aから発呼側の
FAXモデム5bに判断を仰ぎ、その回答がデジタル回
線上のディレイにより遅れ、この間に被呼側のFAXモ
デム5aにFAX1aからの信号が届くような場合、こ
の処理ができず通信断となる事態を防止する。なお、本
実施例はFAXモデム5aを中心に説明するが、発呼端
末がFAX1bよりFAX1aに変わればFAX5bに
ついても同様に成立する。
Next, a third embodiment will be described. In this embodiment, in the case of polling communication, when a control signal is input from the FAX 1a to the called FAX modem 5a that has entered the image data reception state, the initiative in communication is transmitted from the calling FAX modem 5b. The FAX modem 5a on the called side is transferred to the FAX modem 5a on the called side.
The communication is performed according to the judgment of the AX modem 5a. Conventionally, the called FAX modem 5a asks the calling FAX modem 5b for a decision, and the answer is delayed by a delay on the digital line. During this time, the signal from the FAX 1a is sent to the called FAX modem 5a. When it arrives, it prevents a situation in which this processing cannot be performed and communication is disconnected. In this embodiment, the description will be made mainly on the FAX modem 5a. However, if the calling terminal changes from the FAX 1b to the FAX 1a, the FAX 5b is similarly established.

【0028】図9は図1に示した通信システムにおいて
FAX1bよりFAX1aに画像データの要求が出され
た時、FAXモデム5bが発呼側となりポーリング通信
を被呼側となるFAXモデム5aに対して行うときの通
信シーケンス図を示し、FAX1aよりトレーニングチ
ェック信号TCFが送出されたときからの状態で、正常
に通信が行われた場合を示す。図10はFAXモデム5
aの動作フロー図、図11はFAXモデム5bの動作フ
ロー図で、正常な場合と、後述するエコー等が生じた異
常時の状態も含めた動作フロー図を示す。
FIG. 9 shows that, when a request for image data is issued from the FAX 1b to the FAX 1a in the communication system shown in FIG. 1, the FAX modem 5b becomes a calling side and polling communication is performed with respect to the FAX modem 5a which becomes a called side. FIG. 7 is a communication sequence diagram when the communication is performed, and shows a case where the communication has been normally performed in a state after the training check signal TCF is transmitted from the FAX 1a. FIG. 10 shows the FAX modem 5
FIG. 11 is an operation flow diagram of the FAX modem 5b, showing an operation flow diagram including a normal case and an abnormal state where an echo or the like described later occurs.

【0029】図9において、FAX1aから送出された
TCF信号はアナログ回線2aによりFAXモデム5a
に送信され、FAXモデム5aによりデジタル信号に変
換されてデジタル回線6によりFAXモデム5bに伝送
される。FAXモデム5aはTCF信号の送出が終わる
と、終了を示すNO CARRIER信号を送出する。
FAXモデム5bではTCF信号をアナログデータに変
換し、FAX1bに送出する。FAX1bではトレーニ
ング結果が良好なので画像データ受け入れ可を示すCF
R信号をTCF信号に対する応答信号としてFAXモデ
ム5bに送出する。FAXモデム5bは、FAXモデム
5aの送信速度を300bpsにすることを示すAT+
FTH=3の信号をFAXモデム5aに送出し、次いで
CFR信号をデジタル回線で送出する。FAXモデム5
aは指定された通信速度300bpsでCFRをFAX
1aに送出する。その後、FAXモデム5aはCFRの
送信が正常に行われたことを示すOK信号をFAXモデ
ム5bに送出すると、FAXモデム5bは、受信速度を
画像データの受信速度である高速度に切り換えるよう指
示するAT+FRM=145,1の信号をFAXモデム
5aに送出する。
In FIG. 9, the TCF signal transmitted from the FAX 1a is transmitted to the FAX modem 5a by the analog line 2a.
, Converted into a digital signal by the FAX modem 5a, and transmitted to the FAX modem 5b by the digital line 6. When the transmission of the TCF signal ends, the FAX modem 5a transmits a NO CARRIER signal indicating the end.
The FAX modem 5b converts the TCF signal into analog data and sends it to the FAX 1b. Since the training result is good in FAX1b, CF indicating image data acceptance is acceptable.
The R signal is sent to the FAX modem 5b as a response signal to the TCF signal. The FAX modem 5b has AT + indicating that the transmission speed of the FAX modem 5a is set to 300 bps.
A signal of FTH = 3 is transmitted to the FAX modem 5a, and then a CFR signal is transmitted through a digital line. FAX modem 5
a FAX CFR at the specified communication speed of 300 bps
1a. Thereafter, when the FAX modem 5a sends an OK signal indicating that CFR transmission has been normally performed to the FAX modem 5b, the FAX modem 5b instructs to switch the reception speed to the high speed which is the reception speed of image data. The signal of AT + FRM = 145,1 is sent to the FAX modem 5a.

【0030】通信速度は、制御信号では300bpsで
行われ、画像データでは高速度で行われる。高速度とし
ては通常2400,4800,7200,9600bp
sなどが用いられ、最近はこれ以上の速度も用いられ
る。FAXモデム5aは制御信号CFRを送出した30
0bpsの送信モードから高速度受信モードに切り換え
て待機する。FAX1aはCFR信号を受信すると画像
データ(PIX)を送出する。FAXモデム5aは画像
データを受信すると、画像データの送信を開始する旨の
CONNECT信号をFAXモデム5bに送出し、それ
に続いて画像データPIXを送出する。FAXモデム5
bは画像データを受信するとFAX1bに送出する。
The communication speed is 300 bps for the control signal, and the communication speed is high for the image data. High speed is usually 2400,4800,7200,9600bp
s, etc., and more recently, higher speeds. FAX modem 5a transmits control signal CFR 30
It switches from the 0 bps transmission mode to the high speed reception mode and waits. Upon receiving the CFR signal, the FAX 1a sends out image data (PIX). Upon receiving the image data, the FAX modem 5a sends a CONNECT signal to start the transmission of the image data to the FAX modem 5b, and subsequently sends the image data PIX. FAX modem 5
b receives the image data and sends it to the FAX 1b.

【0031】FAXモデム5aは画像データの送出が終
了すると、終了を示すNO CARRIER信号をFA
Xモデム5bに送出する。これに応答してFAXモデム
5bは、FAX1aからの受信速度を300bpsにす
るよう指示するAT+FRH=3信号を送出する。FA
Xモデム5aはこの指示により300bpsの受信モー
ドにする。FAX1aより手順終了を示す制御信号EO
P信号が送信されてくると、FAXモデム5aは送信を
行う旨のCONNECT信号をFAXモデム5bに送出
した後EOPを送出する。FAXモデム5bはEOPを
FAX1bに送出する。
When the transmission of the image data is completed, the FAX modem 5a sends a NO CARRIER signal indicating the end to the FA.
Send it to X modem 5b. In response, the FAX modem 5b sends an AT + FRH = 3 signal instructing the reception speed from the FAX 1a to be 300 bps. FA
The X modem 5a sets the reception mode at 300 bps according to this instruction. A control signal EO indicating the end of the procedure from the fax 1a
When the P signal is transmitted, the FAX modem 5a transmits a CONNECT signal for performing transmission to the FAX modem 5b, and then transmits EOP. The FAX modem 5b sends the EOP to the FAX 1b.

【0032】図9で示したシーケンスに関係する動作フ
ローを図10,図11で説明する。図10において、F
AXモデム5aがAT+FRM=145,1信号により
高速受信モードにモデムを切り替える(S50)。その
後FAX1aより画像データ(PIX)が着信すると
(S51)、FAXモデム5bへCONNECT信号を
送出し(S52)、続いて画像データ(PIX)を送出
する(S53)。図11においてFAXモデム5bは、
CONNECT信号を受信すると(S70)、FAX1
bへ画像データ(PIX)を送出する(S71)。
The operation flow relating to the sequence shown in FIG. 9 will be described with reference to FIGS. In FIG. 10, F
The AX modem 5a switches the modem to the high-speed reception mode according to the signal AT + FRM = 145,1 (S50). Thereafter, when the image data (PIX) arrives from the FAX 1a (S51), a CONNECT signal is transmitted to the FAX modem 5b (S52), and then the image data (PIX) is transmitted (S53). In FIG. 11, the FAX modem 5b
Upon receiving the CONNECT signal (S70), FAX1
b, and sends the image data (PIX) (S71).

【0033】図12はFAXモデム5aから送出したC
FR信号がPBX2aで反射し弱いエコーとなってFA
Xモデム5aに戻ってきた場合の通信シーケンス図であ
る。FAXモデム5aは受信した信号が制御信号である
か否かを図5に示したHDLCフレームの先頭フラグ2
0のパターンで判断する。先頭フラグ20は先に説明し
たように7E(0111 1110)であるのでこれが
識別できる場合を強いエコーとし、識別できない場合を
弱いエコーとする。図12でFAXモデム5aは破線で
示すようにPBX2aよりCFR信号の弱いエコーを受
信する。このときは既に高速受信モードで画像データ待
ちの状態とする。この弱いエコー受信から画像データ
(PIX)受信まで区間Aに於ける動作を図10で説明
する。
FIG. 12 shows C transmitted from the FAX modem 5a.
The FR signal is reflected by the PBX 2a and becomes a weak echo, resulting in FA
It is a communication sequence diagram at the time of returning to X modem 5a. The FAX modem 5a determines whether or not the received signal is a control signal, as shown in FIG.
Judgment is made with a pattern of 0. Since the head flag 20 is 7E (0111 1110) as described above, a strong echo is set when it can be identified, and a weak echo when it cannot be identified. In FIG. 12, the FAX modem 5a receives a weak echo of the CFR signal from the PBX 2a as indicated by a broken line. At this time, it is already in the high-speed reception mode and waiting for image data. The operation in the section A from the reception of the weak echo to the reception of the image data (PIX) will be described with reference to FIG.

【0034】FAXモデム5aは高速受信モードで待機
しており(S50)、高速信号の着信はないが(S5
1)、弱いエコーの300bpsの制御信号の着信を検
出する(S54)。300bpsの信号を検出するとモ
デムを300bpsの受信モードに切り換え(S5
5)、受信したフレームの先頭フラグ20を認識しよう
とするが弱いエコーであるため「7E」を検出できない
(S56)。この場合は弱いエコーとし、制御信号では
ないとして再びモデムを高速受信モードに切り換えFA
X1aからの画像データ(PIX)の着信を待つ(S5
0)。これにより弱いエコーによる通信の混乱を回避す
ることができる。なお、上記以外は図9のシーケンスと
同一である。
The FAX modem 5a is in the high-speed reception mode (S50), and there is no incoming high-speed signal (S5).
1) An incoming 300 bps control signal of a weak echo is detected (S54). When a 300 bps signal is detected, the modem is switched to the 300 bps reception mode (S5).
5) Attempt to recognize the head flag 20 of the received frame, but cannot detect "7E" because of a weak echo (S56). In this case, a weak echo is set, and the modem is switched to the high-speed reception mode again assuming that the signal is not a control signal.
Wait for an incoming image data (PIX) from X1a (S5)
0). This can avoid communication disruption due to weak echoes. Except for the above, the sequence is the same as the sequence in FIG.

【0035】図13はFAXモデム5aから送出したC
FR信号がPBX2aで反射して強いエコーとなって戻
ってきた場合の通信シーケンス図である。破線はCFR
信号のエコーを示す。この場合のB部の動作を図10を
用いて説明する。FAXモデム5aのモデムは高速受信
モードで待機している(S50)。このときCFRのエ
コーが300bpsの制御信号として検出される(S5
4)。これによりモデムを300bpsの受信に切り換
え、HDLCフレームの先頭フラグ20を検出し(S5
5)、先頭フラグが7Eであることを検出する(S5
6)。これによりFAXモデム5aは受信した信号が3
00bpsの制御信号であり、待っていた画像データ
(PIX)ではないので、受信モードが指示された高速
受信モードと異なる旨を示す+F4信号をFAXモデム
5bに送出し(S57)、次に受信した制御信号がエコ
ーか否かを調べる(S58)、調査方法としては、FA
X1aに対して送信したCFR信号を記憶しておき、こ
れと受信した制御信号を比較し、一致した時エコーとす
る。エコーと判断するとFAXモデム5bに対し現在設
定している300bpsの受信モードは正しい受信モー
ドと異なっている旨を示す+F4コマンドを送出し(S
59)、再びモデムを高速受信モードにして待機する
(S50)。これによりFAX1aより送信されてくる
画像データ(PIX)を受信することができる。
FIG. 13 shows C transmitted from the FAX modem 5a.
FIG. 9 is a communication sequence diagram in a case where an FR signal is reflected by the PBX 2a and returns as a strong echo. Dashed line is CFR
3 shows the echo of the signal. The operation of section B in this case will be described with reference to FIG. The modem of the FAX modem 5a stands by in the high-speed reception mode (S50). At this time, a CFR echo is detected as a control signal of 300 bps (S5).
4). As a result, the modem is switched to 300 bps reception, and the head flag 20 of the HDLC frame is detected (S5).
5) It is detected that the head flag is 7E (S5).
6). As a result, the FAX modem 5a receives the signal 3
Since it is a control signal of 00 bps and is not the waiting image data (PIX), a + F4 signal indicating that the reception mode is different from the instructed high-speed reception mode is transmitted to the FAX modem 5b (S57), and then received. It is checked whether or not the control signal is an echo (S58).
The CFR signal transmitted to X1a is stored, and this is compared with the received control signal. When it is determined that the reception mode is an echo, the FAX modem 5b sends a + F4 command indicating that the currently set 300 bps reception mode is different from the correct reception mode (S
59) Then, the modem is again set to the high-speed reception mode and the apparatus stands by (S50). As a result, the image data (PIX) transmitted from the FAX 1a can be received.

【0036】図13の通信シーケンスにおけるFAXモ
デム5bの動作を図11で説明する。FAXモデム5b
はAT+FRM=145,1でFAXモデム5aに高速
受信モードを指示した後、CONNECT信号の受信を
待っているが(S70)、+F4信号を受信する(S7
2)。さらにCONNECT信号を待っているが(S7
3)、再び+F4信号を受信し(S75)、この後、C
ONNECT信号を受信して(S70)、画像データが
送信されてくることを認識し、この画像データを受信す
るとFAX1bに転送する(S71)。図13はB部以
外は図9と同じである。
The operation of the FAX modem 5b in the communication sequence shown in FIG. 13 will be described with reference to FIG. FAX modem 5b
Waits for the CONNECT signal after instructing the FAX modem 5a in the high-speed reception mode with AT + FRM = 145, 1 (S70), but receives the + F4 signal (S7).
2). Further waiting for a CONNECT signal (S7
3) Receive the + F4 signal again (S75), and then
Upon receiving the ONNECT signal (S70), it recognizes that image data has been transmitted, and upon receiving this image data, transfers it to the FAX 1b (S71). FIG. 13 is the same as FIG. 9 except for part B.

【0037】次にFAXモデム5aがFAX1aに送出
したCFR信号がアナログ回線上でエラーとなった場合
について説明する。図14はこの状態を示し、PBX
aとFAX1a間でCFR信号がつぶれた状態を示す。
FAX1aはこのような信号を受信するとエラー信号と
認識し、トレーニング信号が失敗したものとして再度ト
レーニング信号とTCF信号を送出するに先立って、既
にFAX1b側から受信しているDIS信号で表示され
る標準機能の中から設定される機能を示すデジタル命令
信号DCSを送出する。
Next, a case where the CFR signal transmitted from the FAX modem 5a to the FAX 1a causes an error on the analog line will be described. FIG. 14 shows this state, in which PBX 3
5 shows a state in which the CFR signal has been crushed between the FAX 1a and the FAX 1a.
When the FAX 1a receives such a signal, the FAX 1a recognizes the signal as an error signal, and determines that the training signal has failed. Before transmitting the training signal and the TCF signal again, the standard signal indicated by the DIS signal already received from the FAX 1b side is used. A digital command signal DCS indicating a function set from the functions is transmitted.

【0038】FAXモデム5aは画像データ着信を高速
受信モードで待っている所へ300bpsの制御信号を
受信する。これに対するFAXモデム5aのCで示され
る期間の動作を図10で説明する。高速受信モードで待
機中(S50)、300bpsの信号が着信したので
(S54)、モデムを300bpsに切り換えると共に
その信号の先頭フラグ20を検出し(S55)、7Eと
なっていることを検出する(S56)。これにより受信
した信号は制御信号であることが認識されたのでFAX
モデム5bに指示された高速受信モードとは異なってい
る旨の+F4信号を送出(S57)。さらに受信した制
御信号が先にFAX1aに送出したCFR信号と同一か
調べ同一でないのでエコーでないと判断し(S58)、
データを送信する旨のCONNECT信号をFAXモデ
ム5b送信し(S59)、続いて受信したDCS信号を
送信する。
The FAX modem 5a receives a control signal of 300 bps while waiting for incoming image data in the high-speed reception mode. The operation of the FAX modem 5a during the period indicated by C will be described with reference to FIG. During standby in the high-speed reception mode (S50), since a 300 bps signal has arrived (S54), the modem is switched to 300 bps, and the head flag 20 of the signal is detected (S55), and it is detected that it is 7E (S55). S56). As a result, it is recognized that the received signal is a control signal.
A + F4 signal indicating that the mode is different from the high-speed reception mode instructed to the modem 5b is transmitted (S57). Further, it is checked whether the received control signal is the same as the CFR signal previously transmitted to the facsimile 1a, and it is determined that the received control signal is not an echo because it is not the same (S58).
The FAX modem 5b transmits a CONNECT signal for transmitting data (S59), and then transmits the received DCS signal.

【0039】次に図14におけるFAXモデム5bの動
作を図11で説明する。AT+FRM=145,1の信
号を送出した後、FAXモデム5aからのCONNEC
T信号の受信を待っている(S70)。すると+F4信
号を受信し受信モードが異なることを知らされ(S7
2)、次にCONNECT信号を受信し(S73)、続
いてDCS信号を受信する。これによりFAX1bに3
00bpsでDCS信号を送出する(S74)。
Next, the operation of the FAX modem 5b in FIG. 14 will be described with reference to FIG. After transmitting the signal of AT + FRM = 145,1, CONNECT from the FAX modem 5a
Waiting for reception of the T signal (S70). Then, the + F4 signal is received and it is notified that the reception mode is different (S7).
2) Then, a CONNECT signal is received (S73), and then a DCS signal is received. As a result, 3
A DCS signal is transmitted at 00 bps (S74).

【0040】[0040]

【発明の効果】以上の説明から明らかなように、デジタ
ル回線では制御信号の所定欄のデータを加算したサム演
算値を受信側に送信し、受信側も同様にサム演算をし
て、受信したサム演算値と比較しデジタル回線上のエラ
ーを検出し、知らせることにより、受信側ファクシミリ
端末は受信した制御信号の誤りを検出することができる
ので、通信の中断を防止することができる。
As is apparent from the above description, the digital
In the case of multiple lines, a sum
The calculated value is sent to the receiving side, and the receiving side
Error on the digital line
Facsimile by detecting and notifying
Terminal can detect errors in received control signals
Therefore, interruption of communication can be prevented.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施例の通信システムを示す図FIG. 1 is a diagram illustrating a communication system according to an embodiment;

【図2】FAXモデムの内部構成図FIG. 2 is an internal configuration diagram of a FAX modem.

【図3】第1実施例の通信シーケンス図FIG. 3 is a communication sequence diagram of the first embodiment.

【図4】第1実施例の動作フロー図FIG. 4 is an operation flowchart of the first embodiment.

【図5】HDLCフレーム構成図FIG. 5 is a configuration diagram of an HDLC frame.

【図6】発信側FAXモデム5bの動作フロー図FIG. 6 is an operation flow diagram of the calling-side FAX modem 5b.

【図7】受信側FAXモデム5aのCPUの動作フロー
FIG. 7 is an operation flowchart of the CPU of the receiving-side FAX modem 5a.

【図8】受信側FAXモデム5aのモデムの動作フロー
FIG. 8 is an operation flowchart of the modem of the receiving-side FAX modem 5a.

【図9】第3実施例の通常動作時の通信シーケンス図FIG. 9 is a communication sequence diagram during normal operation of the third embodiment.

【図10】第3実施例でのポーリング通信時の被呼側F
AXモデムの動作フロー図
FIG. 10 shows a called party F during polling communication in the third embodiment.
AX modem operation flow diagram

【図11】第3実施例でのポーリング通信時の発呼側F
AXモデムの動作フロー図
FIG. 11 shows a calling side F at the time of polling communication in the third embodiment.
AX modem operation flow diagram

【図12】第3実施例でエコーが弱い時の通信シーケン
ス図
FIG. 12 is a communication sequence diagram when the echo is weak in the third embodiment.

【図13】第3実施例でエコーが強い時の通信シーケン
ス図
FIG. 13 is a communication sequence diagram when the echo is strong in the third embodiment.

【図14】第3実施例でCFR信号が潰れた時のシーケ
ンス図
FIG. 14 is a sequence diagram when the CFR signal is destroyed in the third embodiment.

【符号の説明】[Explanation of symbols]

1a,1b FAX 2a,2b 公衆回線 3a,3b PBX 4a,4b 時分割多重化装置 5a,5b FAXモデム 6 デジタル回線 1a, 1b FAX 2a, 2b Public line 3a, 3b PBX 4a, 4b Time-division multiplexer 5a, 5b FAX modem 6 Digital line

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−165446(JP,A) 特開 平5−136824(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/32 - 1/34 H04N 1/00 - 1/00 108 H04L 29/00 - 29/12 H04L 1/00 H04L 1/08 - 1/24 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-58-165446 (JP, A) JP-A-5-136824 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/32-1/34 H04N 1/00-1/00 108 H04L 29/00-29/12 H04L 1/00 H04L 1/08-1/24

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1ファクシミリ端末とアナログ回線に
よりファクシミリ通信する第1入出力手段と、第2ファ
クシミリ端末とアナログ回線によりファクシミリ通信す
るデータ端末に対しデジタル回線によりデータ通信する
第2入出力手段と、前記第1入出力手段と前記第2入出
力手段との入出力を制御する制御手段とを備え、前記制
御手段は、前記デジタル回線を介して前記データ端末よ
り送られてきた、ファクシミリ制御信号とこの信号に含
まれる所定欄のデータを加算するサム演算の結果とを前
記データ端末より受信すると、受信した前記ファクシミ
リ制御信号の前記サム演算を実施して演算した前記サム
演算値を前記データ端末より受信した前記サム演算値と
比較し、一致しない場合は前記デジタル回線上でエラー
があったことを確定し、受信した前記ファクシミリ制御
信号のFCS欄をエラー表示として前記第1ファクシミ
リ端末に送信することで、前記第1ファクシミリ端末に
対して前記デジタル回線上でエラーがあったこと伝達す
ることを特徴とする通信制御装置。
A first input / output means for performing facsimile communication with a first facsimile terminal via an analog line, and a second input / output means for performing data communication with a second facsimile terminal via a digital line with respect to a data terminal performing facsimile communication with an analog line. Control means for controlling input / output between the first input / output means and the second input / output means, wherein the control means controls the data terminal via the digital line.
When the received facsimile control signal and the result of the sum calculation for adding the data in the predetermined column included in the signal are received from the data terminal, the sum calculation of the received facsimile control signal is performed. It said checksum operation value is compared with the sum calculated value received from the data terminal, if they do not match an error on said digital line and
Is transmitted to the first facsimile terminal as an error indication in the FCS column of the received facsimile control signal, so that the first facsimile terminal
To the digital line.
A communication control apparatus according to claim Rukoto.
JP00639395A 1995-01-19 1995-01-19 Communication control device Expired - Fee Related JP3229916B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00639395A JP3229916B2 (en) 1995-01-19 1995-01-19 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00639395A JP3229916B2 (en) 1995-01-19 1995-01-19 Communication control device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2001016865A Division JP3453126B2 (en) 2001-01-25 2001-01-25 Communication control device

Publications (2)

Publication Number Publication Date
JPH08195866A JPH08195866A (en) 1996-07-30
JP3229916B2 true JP3229916B2 (en) 2001-11-19

Family

ID=11637132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00639395A Expired - Fee Related JP3229916B2 (en) 1995-01-19 1995-01-19 Communication control device

Country Status (1)

Country Link
JP (1) JP3229916B2 (en)

Also Published As

Publication number Publication date
JPH08195866A (en) 1996-07-30

Similar Documents

Publication Publication Date Title
AU646115B2 (en) A communication system and a method for controlling a connection in the communication system
US7002972B1 (en) Facsimile communication system
JP3229916B2 (en) Communication control device
JP3453126B2 (en) Communication control device
JP2716984B2 (en) Communication method
JP3190891B2 (en) Facsimile machine
JP2642532B2 (en) Line switching device
JP3043107B2 (en) Facsimile signal transmission system
JP2613235B2 (en) Facsimile storage and switching system
JP2547753B2 (en) Communication control device
JP3496448B2 (en) Communication terminal device
JP2939684B2 (en) Facsimile communication billing device
JPS63187960A (en) Communication adapter
JPH0380665A (en) Facsimile equipment and communication system for facsimile equipment
JP3340314B2 (en) Communication control device
JPS6135068A (en) Facsimile communication system
JP2932735B2 (en) Facsimile machine
JPH0145792B2 (en)
JP2000261570A (en) Isdn communication terminal
JPH06133135A (en) Facsimile equipment
JP2000270190A (en) Communication system, communication apparatus and communication method
JPH09181876A (en) Adaptor for facsimile equipment
JPH08214135A (en) Facsimile equipment
JP2003110794A (en) Facsimile gateway, control method and control program therefor
JPH0787477B2 (en) Communication control device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees