JP3345263B2 - Communication control device - Google Patents
Communication control deviceInfo
- Publication number
- JP3345263B2 JP3345263B2 JP12129596A JP12129596A JP3345263B2 JP 3345263 B2 JP3345263 B2 JP 3345263B2 JP 12129596 A JP12129596 A JP 12129596A JP 12129596 A JP12129596 A JP 12129596A JP 3345263 B2 JP3345263 B2 JP 3345263B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- facsimile
- frame
- communication
- input
- 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
Links
- 238000004891 communication Methods 0.000 title claims description 142
- 230000002159 abnormal effect Effects 0.000 claims description 18
- 230000005540 biological transmission Effects 0.000 description 27
- 238000010586 diagram Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 3
- 101000710013 Homo sapiens Reversion-inducing cysteine-rich protein with Kazal motifs Proteins 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 108090000237 interleukin-24 Proteins 0.000 description 1
Landscapes
- Telephonic Communication Services (AREA)
- Facsimile Transmission Control (AREA)
- Communication Control (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は通信制御装置、特にデー
タをフレーム化して通信を行なう通信システムにおい
て、フレーム長の変更に対応した通信ができる通信制御
装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control device, and more particularly to a communication control device capable of performing communication corresponding to a change in a frame length in a communication system in which data is framed for communication.
【0002】[0002]
【従来の技術】ファクシミリ等のデータ通信システムに
は、データをHDLCモードでフレーム化して通信を行
なう方法がある。この方法では、フレーム内にCRCと
いうエラーチェックフィールドを設け、ここで送信され
たフレームデータの正常または異常を判別するようにな
っている。2. Description of the Related Art In a data communication system such as a facsimile, there is a method of performing communication by forming data in a frame in an HDLC mode. In this method, an error check field called CRC is provided in a frame, and the normality or abnormality of the transmitted frame data is determined here.
【0003】また、ディジタル回線の通信をG3ファク
シミリ間でアダプタを介して行なう通信システムがあ
る。この通信システムでは、送信側ファクシミリとアダ
プタ間のアナログ回線、アダプタ間のディジタル回線、
アダプタと受信側ファクシミリ間のアナログ回線と、3
つの回線を経由してデータが送受信される。各アダプタ
は、アナログデータとディジタルデータとの間のデータ
変換を行なっている。従来この種の通信装置は、例えば
図7に示すものがある。図7において、符号1aはファ
クシミリ装置(受信側とする)、1bは送信側のファク
シミリ装置、3aは受信側ファクシミリ装置1aに接続
された構内交換機、3bは送信側ファクシミリ装置1b
に接続された構内交換機、4aは受信側ファクシミリ装
置1aへのデータの復調処理を行なうためのFAXモデ
ム5aを備えたTDM装置、4bは送信側ファクシミリ
装置1bへのデータの復調処理を行なうためのFAXモ
デム5bを備えたTDM装置である。受信側において、
受信側ファクシミリ装置1aからTDM装置5aまでの
間はアナログ回線2aにより接続されている。送信側に
おいて、送信側ファクシミリ装置1bからTDM装置5
bまでの間はアナログ回線2bにより接続されている。
また、受信側のTDM装置4aと送信側のTDM装置4
bとの間はディジタル回線6によって接続されている。There is also a communication system for performing digital line communication between G3 facsimile units via an adapter. In this communication system, the analog line between the transmitting facsimile and the adapter, the digital line between the adapter,
An analog line between the adapter and the receiving facsimile, 3
Data is transmitted and received via two lines. Each adapter performs data conversion between analog data and digital data. 2. Description of the Related Art A conventional communication device of this type is, for example, one shown in FIG. In FIG. 7, reference numeral 1a denotes a facsimile machine (referred to as a receiving side), 1b denotes a transmitting side facsimile apparatus, 3a denotes a private branch exchange connected to the receiving side facsimile apparatus 1a, and 3b denotes a transmitting side facsimile apparatus 1b.
The private branch exchange 4a is connected to a TDM device provided with a FAX modem 5a for demodulating data to the receiving facsimile device 1a, and the private branch exchange 4a is used for demodulating data to the transmitting facsimile device 1b. This is a TDM device provided with a FAX modem 5b. On the receiving side,
The connection from the receiving facsimile apparatus 1a to the TDM apparatus 5a is connected by an analog line 2a. On the transmitting side, the transmitting side facsimile apparatus 1b to the TDM apparatus 5
The connection up to b is connected by the analog line 2b.
Also, the TDM device 4a on the receiving side and the TDM device 4 on the transmitting side
b is connected by a digital line 6.
【0004】かかる構成を有する通信装置において、送
信側ファクシミリ装置1bが送信したデータはFAXモ
デム5bによって変調され、この変調されたデータは受
信側のFAXモデム5aへ転送される。FAXモデム5
aはディジタル回線6より転送されたデータを受信し、
受信側ファクシミリ1aへデータを送信することにより
画像データの通信が行なわれる。このようなデータの送
受信を行なうために、ディジタル回線6をBOPモード
(HDLCフォーマット)にしてECM通信を行なう場
合におけるデータ構成を説明する。図8は正常なデータ
構成による通信を示す(データは同図中右から左へ送付
される)。この場合におけるデータ構成は、1フレーム
が、4バイトのヘッダと256バイトのデータ構成を持
つ画像データなどの送信データ(合計のデータ長260
バイト)から構成されており、この送信データの後ろに
エラーチェックのためのCRCコードが付加されてい
る。そして、送信側のFAXモデム5bは、上記のよう
なフレーム構成のデータを送信側ファクシミリ装置1b
から受信すると、正常フレームのデータを受信したと認
識し、ディジタル回線6を介して受信側のファクシミリ
装置1aへ向けてそのデータを送信する。受信側のFA
Xモデム5aは前記260バイトのフレーム構成のデー
タを受信し、且つそのデータのCRCが正常であれば、
アナログ回線2aを介して受信側のファクシミリ装置1
aへ向けてデータを送信する。In a communication apparatus having such a configuration, data transmitted by the transmitting facsimile machine 1b is modulated by the FAX modem 5b, and the modulated data is transferred to the FAX modem 5a on the receiving side. FAX modem 5
a receives the data transferred from the digital line 6,
Image data communication is performed by transmitting data to the reception-side facsimile 1a. A description will be given of a data configuration in a case where the digital line 6 is set to the BOP mode (HDLC format) to perform ECM communication in order to perform such data transmission and reception. FIG. 8 shows communication with a normal data configuration (data is sent from right to left in the figure). In this case, the data structure is such that one frame includes transmission data such as image data having a 4-byte header and a 256-byte data structure (total data length 260
Byte), and a CRC code for error checking is added after the transmission data. Then, the FAX modem 5b on the transmitting side transmits the data having the above-described frame configuration to the facsimile apparatus 1b on the transmitting side.
, And recognizes that the data of the normal frame has been received, and transmits the data to the facsimile machine 1a on the receiving side via the digital line 6. FA on the receiving side
The X modem 5a receives the 260-byte frame-structured data and if the CRC of the data is normal,
Facsimile machine 1 on the receiving side via analog line 2a
The data is transmitted to a.
【0005】また一方、ECM通信では、図9に示すよ
うに1フレームが260バイトに満たないバイト数(例
えば100バイトとか200バイトとか)のショートフ
レームで構成されたデータが送信されてくる場合があ
る。これは、複数のフレームから成る送信データの最後
のフレームに相当するフレーム等において見られるもの
であり、送信側のFAXモデム5bは、上記のように短
いフレーム構成を持つデータについても送信側ファクシ
ミリ装置1bから受信し、また受信側のファクシミリ装
置1aへ向けてデータを送信する。On the other hand, in the ECM communication, as shown in FIG. 9, there is a case where data composed of short frames each having less than 260 bytes (for example, 100 bytes or 200 bytes) is transmitted. is there. This is found in the frame corresponding to the last frame of the transmission data composed of a plurality of frames, and the FAX modem 5b on the transmission side operates the facsimile apparatus on the transmission side for data having a short frame structure as described above. 1b, and transmits data to the facsimile machine 1a on the receiving side.
【0006】上記送信データが正常である場合の送信動
作に対して、送信データが異常である場合は、図10に
示すような方法で異常処理を行なう。図10は送信側の
FAXモデム5bから受信側のFAXモデム5aへ至る
ディジタル回線上でエラーが発生して送信データのフレ
ームに異常が生じた場合における、受信側のFAXモデ
ム5aによる異常処理を説明する図である。この場合は
受信側のFAXモデム5aは前記260バイトのフレー
ム構成またはショートフレームの構成のデータを受信
し、そのデータのCRCが異常であれば、アナログ回線
2aを介して受信側のファクシミリ装置1aへ向けて異
常フレームとしてデータを送信する。[0006] In contrast to the above-described transmission operation when the transmission data is normal, if the transmission data is abnormal, abnormal processing is performed by a method as shown in FIG. FIG. 10 illustrates an abnormal process performed by the FAX modem 5a on the receiving side when an error occurs on a digital line from the FAX modem 5b on the transmitting side to the FAX modem 5a on the receiving side and an error occurs in a frame of transmission data. FIG. In this case, the receiving-side FAX modem 5a receives the 260-byte frame configuration data or the short-frame configuration data. If the CRC of the data is abnormal, the reception-side facsimile machine 1a sends the data to the receiving-side facsimile machine 1a via the analog line 2a. The data is transmitted as an abnormal frame to the user.
【0007】[0007]
【発明が解決しようとする課題】ところが、データ通信
をするに際しては、例えば送信側において、送信側のF
AXモデム5bが送信側のファクシミリ装置1bからデ
ータを受信し、さらにディジタル回線6上にデータを転
送する処理動作中に、ファクシミリ装置1bからのデー
タの送付が間に合わなくなり、1つのフレームで送出さ
れたデータが、図6に示すように2つのフレーム(20
0バイトと60バイト)に分割されてディジタル回線6
上に送出されてしまう場合がある。このような場合、上
記従来の通信装置では、受信側のFAXモデム5aは上
記2つに分割されたそれぞれのフレームを、先に説明し
た図9に示すショートフレームと誤認し、200バイト
フレームのデータに対してCRCチェックを行ない、C
RCが正常であれば受信側ファクシミリ装置1aへ正常
フレームとして送信する。そして、受信側のファクシミ
リ装置1aは誤ったデータが受信されたためにエラーオ
ーバーとして通信断の処理を行ない以後の通信ができな
くなってしまう。However, when performing data communication, for example, on the transmitting side, the F on the transmitting side is required.
During the processing operation in which the AX modem 5b receives data from the facsimile machine 1b on the transmitting side and further transfers the data on the digital line 6, the data transmission from the facsimile machine 1b is delayed and sent out in one frame. The data is divided into two frames (20
The digital line 6 is divided into 0 bytes and 60 bytes).
May be sent up. In such a case, in the above-mentioned conventional communication device, the receiving-side FAX modem 5a mistakenly recognizes each of the two divided frames as the short frame shown in FIG. Performs a CRC check on
If the RC is normal, it transmits as a normal frame to the receiving facsimile machine 1a. Then, the facsimile machine 1a on the receiving side performs a communication disconnection process as an error over because erroneous data is received, so that subsequent communication cannot be performed.
【0008】本発明は前記問題点に鑑みてなされたもの
で、その目的は、データ通信に際して受信側の入出力手
段が、公衆回線から受信したデータが正常フレームであ
るか否かを正確に判断し得る通信制御装置を提供するこ
とである。SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a data communication system in which an input / output means on a receiving side accurately determines whether data received from a public line is a normal frame. It is to provide a communication control device which can be used.
【0009】[0009]
【課題を解決するための手段】本発明は上記目的を達成
するために、通信制御装置に第1ファクシミリ端末1b
とアナログ回線を介してファクシミリ通信する第1入出
力手段と、第2ファクシミリ端末1aとアナログ回線に
よりファクシミリ通信するデータ端末4aに対してディ
ジタル回線を介してHDLCフレームにてデータ通信す
る第2入出力手段と、第1入出力手段と第2入出力手段
との入出力を制御する制御手段とを備えたものであり、
前記制御手段は、第1ファクシミリ端末1bからのデー
タがエラーフレームの場合、前記データを所定バイトよ
り大きいデータ長にしてディジタル回線へ送信するよう
にしたことを要旨とする。According to the present invention, a first facsimile terminal 1b is provided in a communication control device to achieve the above object.
1st in / out for facsimile communication with analog line
Power means, second facsimile terminal 1a and analog line
For the data terminal 4a for more facsimile communication,
Data communication using HDLC frame via digital line
Second input / output means, first input / output means, and second input / output means
Control means for controlling input and output with the
The control means transmits data from the first facsimile terminal 1b.
If the data is an error frame, the data
The gist is that the data length is made longer and transmitted to the digital line .
【0010】したがって、受信側の通信制御装置は、受
信データのフレームのバイト数が規定バイト数に一致し
ているか否かをチェックすることによりフレームの正
常、異常を判定できるのである。このように、正常なフ
レームは常に所定長とすることにより、正常なフレーム
と、例えば処理の都合上本来1フレームであったものが
分割されたフレームなどの異常フレームとを相手側通信
制御装置に確実に区別させることができる。Therefore, the communication control device on the receiving side can determine whether the frame is normal or abnormal by checking whether the number of bytes of the frame of the received data matches the specified number of bytes. In this way, by setting the normal frame to a predetermined length at all times, the normal frame and an abnormal frame such as a frame obtained by dividing a frame that was originally one for the sake of processing are transmitted to the other communication control device. It can be surely distinguished.
【0011】[0011]
【発明の実施の態様】本発明の請求項1に記載の発明
は、通信制御装置に、第1ファクシミリ端末1bとアナ
ログ回線を介してファクシミリ通信する第1入出力手段
と、第2ファクシミリ端末1aとアナログ回線によりフ
ァクシミリ通信するデータ端末4aに対してディジタル
回線を介してHDLCフレームにてデータ通信する第2
入出力手段と、第1入出力手段と第2入出力手段との入
出力を制御する制御手段とを備えたものであり、前記制
御手段は、第1ファクシミリ端末1bからのデータがエ
ラーフレームの場合、前記データを所定バイトより大き
いデータ長にしてディジタル回線へ送信することによ
り、相手側にそのフレームがエラーであることを確実に
通知することができ、また相手側ではそのエラーがアナ
ログ回線上で生じたものであることを容易に判断できる
という作用を有する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS According to the first aspect of the present invention, a communication control apparatus includes a first facsimile terminal 1b and an analog terminal.
First input / output means for performing facsimile communication via a log line
And the second facsimile terminal 1a and an analog line.
Digital for data terminal 4a for facsimile communication
2nd data communication using HDLC frame via line
Input / output means, input of the first input / output means and second input / output means
Control means for controlling the output.
The control means receives data from the first facsimile terminal 1b.
In the case of a color frame, the data is larger than a predetermined byte.
Data length and sending it to a digital line.
To make sure that the frame is in error
The other party can notify
This has the effect that it can be easily determined that the event has occurred on the log line .
【0012】[0012]
【0013】本発明の請求項2に記載の発明は、第1フ
ァクシミリ端末1bとアナログ回線を介してファクシミ
リ通信する第1入出力手段と、第2ファクシミリ端末1
aとアナログ回線によりファクシミリ通信するデータ端
末4aに対してディジタル回線を介してHDLCフレー
ムにてファクシミリ通信する第2入出力手段と、第1入
出力手段と第2入出力手段との入出力を制御する制御手
段とを備え、前記制御手段は、第1ファクシミリ端末1
bからのデータのバイト数が所定バイト数に達しない場
合は零データを付加して所定バイト数のHDLCフレー
ムにしてディジタル回線へ送信する一方、第1ファクシ
ミリ端末1bからのデータがエラーフレームの場合は前
記データを所定バイト以上のデータ長にしてディジタル
回線へ送信するようにしたものであり、フレーム長さを
基にして受信側にフレームの正常、異常を認識させるこ
とができ、また相手側にそのフレームがエラーフレーム
であることを確実に通知することができる上、さらに相
手側ではそのエラーがアナログ回線上で生じたものであ
ることを容易に判断できるという作用を有する。[0013] The invention described in claim 2 of the present invention is the first filter.
Facsimile via facsimile terminal 1b and analog line
First input / output means for re-communication, and second facsimile terminal 1
Data terminal for facsimile communication with a and an analog line
HDLC frame via digital line to terminal 4a
A second input / output means for performing facsimile communication by
A control means for controlling input / output between the output means and the second input / output means
And the control means comprises a first facsimile terminal 1
If the number of bytes of data from b does not reach the specified number
In this case, zero data is added to the HDLC frame of the specified number of bytes.
While it is transmitting to the digital line in the arm, if the data is an error frame from the first facsimile terminal 1b which was to be sent a pre <br/> Symbol data to the digital line and the data length of more than a predetermined number of bytes Yes, it is possible to make the receiving side recognize the normality / abnormality of the frame based on the frame length, and it is possible to reliably notify the other side that the frame is an error frame, and further, the other side This has the effect that it can be easily determined that the error has occurred on the analog line.
【0014】本発明の請求項3に記載の発明は、通信制
御装置に、第1ファクシミリ端末1aとアナログ回線に
よりファクシミリ通信する第1入出力手段と、第2ファ
クシミリ端末1bとアナログ回線によりファクシミリ通
信するデータ端末4bに対してディジタル回線によりデ
ータ通信する第2入出力手段と、第1入出力手段と第2
入出力手段との入出力を制御する制御手段とを備えたも
のであり、前記制御手段は、第2ファクシミリ端末1b
からのデータが所定バイト数に達していないと判断した
場合、フレーム内のCRCが正常であっても異常と書き
直して前記第1ファクシミリ端末1aへ送出することに
より、送信側の処理能力上、本来CRC異常として送信
されるべきものがCRC正常として送信されても、その
フレームがエラーフレームであることを確実に判断でき
るという作用を有する。According to a third aspect of the present invention, there is provided a communication control apparatus wherein first input / output means for performing facsimile communication with the first facsimile terminal 1a through an analog line, and facsimile communication with the second facsimile terminal 1b through an analog line. Second input / output means for performing data communication with a data terminal 4b to be connected via a digital line,
Control means for controlling input / output with the input / output means, the control means comprising: a second facsimile terminal 1b
If it is determined that the number of bytes from the data has not reached the predetermined number of bytes, even if the CRC in the frame is normal, the frame is rewritten as abnormal and sent to the first facsimile terminal 1a , so that the processing capability of the transmission Even if what is to be transmitted as a CRC error is transmitted as a normal CRC, it is possible to reliably determine that the frame is an error frame.
【0015】本発明の請求項4に記載の発明は、通信制
御装置に、第1ファクシミリ端末1aとアナログ回線に
よりファクシミリ通信する第1入出力手段と、第2ファ
クシミリ端末1bとアナログ回線によりファクシミリ通
信するデータ端末4bに対してディジタル回線によりデ
ータ通信する第2入出力手段と、第1入出力手段と第2
入出力手段との入出力を制御する制御手段とを備えたも
のであり、前記制御手段は、第2ファクシミリ端末1b
のデータ端末4bから受信したデータの先頭に所定のデ
ータパターンがあるか否かを検出し、データパターンが
あれば前記受信したデータが所定バイト数に達するか否
かを判断し、所定バイト数に達していなければフレーム
内のCRCが正常であっても異常と書き直して前記第1
ファクシミリ端末1aへ送出することにより、本来1フ
レームとして送出されるべきデータが何らかの理由で分
割された場合、前半のフレームを送信することにより通
信の継続性を確保するとともに無駄な通信を防止すると
いう作用を有する。According to a fourth aspect of the present invention, there is provided a communication control apparatus wherein first input / output means for performing facsimile communication with the first facsimile terminal 1a via an analog line, and facsimile communication with the second facsimile terminal 1b via an analog line. Second input / output means for performing data communication with a data terminal 4b to be connected via a digital line,
Control means for controlling input / output with the input / output means, the control means comprising: a second facsimile terminal 1b
It detects whether there is a predetermined data pattern at the beginning of the data received from the data terminal 4b, and if there is a data pattern, determines whether or not the received data reaches a predetermined number of bytes. If not, even if the CRC in the frame is normal, it is rewritten as abnormal and the first
By transmitting the data to the facsimile terminal 1a , if the data to be transmitted as one frame is divided for some reason, the first half of the frame is transmitted to ensure continuity of communication and prevent unnecessary communication. Has an action.
【0016】本発明の請求項5に記載の発明は、通信制
御装置に、第1ファクシミリ端末1aとアナログ回線に
よりファクシミリ通信する第1入出力手段と、第2ファ
クシミリ端末1bとアナログ回線によりファクシミリ通
信するデータ端末4bに対してディジタル回線によりデ
ータ通信する第2入出力手段と、第1入出力手段と第2
入出力手段との入出力を制御する制御手段とを備えたも
のであり、前記制御手段は、第2ファクシミリ端末1b
のデータ端末4bから受信したデータの先頭に所定のデ
ータパターンがあるか否かを検出し、データパターンが
なければCRCの内容に関わらずエラーフレームと判断
して破棄することにより、通信の継続性を確保するため
に受信側ファクシミリ装置にエラーフレームを送信した
場合に不要なフレームが破棄され、無駄な通信を防止す
るという作用を有する。According to a fifth aspect of the present invention, there is provided a communication control apparatus wherein first input / output means for performing facsimile communication with the first facsimile terminal 1a via an analog line, and facsimile communication with the second facsimile terminal 1b via an analog line. Second input / output means for performing data communication with a data terminal 4b to be connected via a digital line,
Control means for controlling input / output with the input / output means, the control means comprising: a second facsimile terminal 1b
Of the data received from the data terminal 4b , the presence or absence of a predetermined data pattern is detected. If there is no data pattern, the frame is determined to be an error frame regardless of the content of the CRC and discarded, so that communication continuity is maintained. When an error frame is transmitted to the receiving-side facsimile machine in order to ensure the communication, unnecessary frames are discarded, thereby preventing unnecessary communication.
【0017】[0017]
【0018】本発明の請求項6に記載の発明は、請求項
3または4記載の通信制御装置において、制御手段が、
第2ファクシミリ端末のデータ端末から受信したデータ
の先頭に所定のデータパターンがあるか否かを検出し、
データパターンがなければCRCの内容に関わらずエラ
ーフレームと判断して破棄するようにしたものであり、
送信側の処理能力上、本来CRC異常として送信される
べきものがCRC正常として送信されても、受信側でそ
のフレームがエラーフレームであることを確実に判断で
き、本来1フレームとして送出されるべきデータが何ら
かの理由で分割された場合、前半のフレームを送信する
ことにより通信の継続性を確保するとともに無駄な通信
を防止し、また通信の継続性を確保するために受信側フ
ァクシミリ装置にエラーフレームを送信した場合に不要
なフレームが破棄され、無駄な通信を防止するという作
用を有する。The invention described in claim 6 of the present invention is the invention
In the communication control device according to 3 or 4 , the control means includes:
Detecting whether there is a predetermined data pattern at the beginning of the data received from the data terminal of the second facsimile terminal,
If there is no data pattern, it is determined to be an error frame regardless of the content of the CRC and discarded.
Due to the processing capability of the transmitting side, even if what should be transmitted as a CRC error is transmitted as a normal CRC , the receiving side can reliably determine that the frame is an error frame, and one frame should be originally determined. If the data to be sent is divided for some reason, the first half of the frame is transmitted to ensure continuity of communication and prevent unnecessary communication. When an error frame is transmitted to a facsimile machine, unnecessary frames are discarded, and this has the effect of preventing useless communication.
【0019】本発明の請求項7に記載の発明は、請求項
1乃至6記載の通信制御装置において、所定バイト数
は、HDLCモードのデータの1フレームを構成するバ
イト数であるようにしたものであり、HDLCモードの
データの1フレームを用いて種々の判定を行なうという
作用を有する。According to a seventh aspect of the present invention, in the communication control apparatus according to the first to sixth aspects, the predetermined number of bytes is a number of bytes constituting one frame of HDLC mode data. This has the effect of making various decisions using one frame of HDLC mode data.
【0020】以下、本発明の実施の形態を図面を参照し
て説明する。図1は本発明による通信制御装置の一実施
の形態を示すブロック図である。図1において、符号1
1は通信制御装置を示す。この通信制御装置11は図7
に示されたのと同様、受信側ファクシミリ装置1aと、
送信側ファクシミリ装置1bと、受信側ファクシミリ装
置1aにアナログ回線2aを介して接続された構内交換
機3aと、送信側ファクシミリ装置1bにアナログ回線
2bを介して接続された構内交換機3bと、受信側ファ
クシミリ装置1aとの間においてデータの変調、復調処
理を行なうためのFAXモデム5aを備えた通信制御装
置としてのTDM装置4aと、TDM装置4aとディジ
タル回線6を介して接続され、且つ送信側ファクシミリ
装置1bとの間においてデータの変調、復調処理を行な
うためのFAXモデム5bを備えた通信制御装置として
のTDM装置4bとから構成されたデータ通信システム
(ファクシミリ通信システム)の中で、TDM装置4
a、4bとして組み込まれ、ディジタル回線を介して接
続された相手側通信制御装置11と高速ディジタル通信
を行なう。通信制御装置11には、音声を符号化・復号
化するコーデック12が設けられている。Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of a communication control device according to the present invention. In FIG.
Reference numeral 1 denotes a communication control device. This communication control device 11 is shown in FIG.
, The receiving-side facsimile machine 1a,
A transmitting / receiving facsimile machine 1b, a private branch exchange 3a connected to the receiving facsimile machine 1a via an analog line 2a, a private branch exchange 3b connected to the transmitting facsimile device 1b via an analog line 2b, and a receiving facsimile. A TDM device 4a as a communication control device having a FAX modem 5a for performing data modulation and demodulation processing with the device 1a; a transmission facsimile device connected to the TDM device 4a via a digital line 6; 1b, a TDM device 4b as a communication control device including a FAX modem 5b for performing data modulation and demodulation processing.
a and 4b, which perform high-speed digital communication with the other party's communication control device 11 connected via a digital line. The communication control device 11 is provided with a codec 12 for encoding / decoding audio.
【0021】符号13はFAXモデムであり、このFA
Xモデム13は、制御部14と、読み出し専用メモリ
(ROM)15と、書き換え自在メモリ(RAM)16
と、シリアルデータの入出力処理操作を行なうデータ入
出力部17と、ディジタルインタフェース回路18と、
これらの各機能部を結ぶバス19とを備えて成る。ま
た、FAXモデム13のアナログ側はアナログ回線20
に接続されている一方、FAXモデム13のディジタル
側はディジタル回線21に接続されている。制御部14
はCPUから構成されており、この制御部14を動作さ
せるためのプログラムがROM15に格納されている。
制御部14は、構内交換機より入力するファクシミリ信
号をディジタル信号に変換してディジタルインタフェー
ス回路18から出力するとともにディジタル回線21か
らディジタルインタフェース回路18を介して入力する
ディジタル信号をファクシミリ信号に変換して構内交換
機へ出力する。また、制御部14は、ファクシミリ信号
として、ファクシミリ通信開始を示すファクシミリ制御
信号が送信側ファクシミリ装置1bより送信されると、
これを認識してファクシミリ制御信号の種類に応じた特
定の信号に変換しディジタル回線6へ出力する。一方、
ディジタル回線6からファクシミリ制御信号の種類に応
じた特定の信号を受信すると、これを認識して種類に応
じたファクシミリ制御信号に変換し構内交換機3aへ出
力するようになっている。Reference numeral 13 denotes a FAX modem.
The X modem 13 includes a control unit 14, a read-only memory (ROM) 15, a rewritable memory (RAM) 16
A data input / output unit 17 for performing a serial data input / output processing operation, a digital interface circuit 18,
A bus 19 connecting these functional units is provided. The analog side of the FAX modem 13 is an analog line 20.
On the other hand, the digital side of the FAX modem 13 is connected to a digital line 21. Control unit 14
Is constituted by a CPU, and a program for operating the control unit 14 is stored in the ROM 15.
The control unit 14 converts a facsimile signal input from the private branch exchange into a digital signal and outputs the digital signal from the digital interface circuit 18, and converts a digital signal input from the digital line 21 via the digital interface circuit 18 into a facsimile signal and converts the digital signal into a facsimile signal. Output to exchange. Further, when a facsimile control signal indicating the start of facsimile communication is transmitted from the transmission-side facsimile device 1b as a facsimile signal,
Recognizing this, it converts it into a specific signal corresponding to the type of facsimile control signal and outputs it to the digital line 6. on the other hand,
When a specific signal corresponding to the type of facsimile control signal is received from the digital line 6, it is recognized, converted to a facsimile control signal corresponding to the type, and output to the private branch exchange 3a.
【0022】かかる構成を有する通信制御装置の動作に
ついて以下図2および図3を参照しながら説明する。図
2は送信側ファクシミリ1bと受信側ファクシミリ1a
との間でHDLCによるECMデータのファクシミリ通
信を行なうに際しての本実施の形態に係る通信制御装置
の送信制御動作を説明するフロー図である。また、図3
は送信側ファクシミリ1bと受信側ファクシミリ1aと
の間でHDLCによるECMデータのファクシミリ通信
を行なうに際しての本実施の形態に係る通信制御装置の
受信制御動作を説明するフロー図である。The operation of the communication control device having such a configuration will be described below with reference to FIGS. FIG. 2 shows a transmitting facsimile 1b and a receiving facsimile 1a.
FIG. 9 is a flowchart illustrating a transmission control operation of the communication control apparatus according to the present embodiment when facsimile communication of ECM data by HDLC is performed between the communication control apparatus and the HDLC. FIG.
FIG. 5 is a flowchart illustrating a reception control operation of the communication control apparatus according to the present embodiment when performing facsimile communication of ECM data by HDLC between the transmission-side facsimile 1b and the reception-side facsimile 1a.
【0023】図2に示すフロー図において、ECMデー
タ送信制御が開始されると、処理ステップ(以下単にス
テップという)ST1において、モデムよりデータの受
信が行なわれたか否かがチェックされ、データ受信が行
なわれていなければこのチェック動作を繰り返す。そし
て、データ受信が行なわれた場合は、ステップST2に
おいてデータ入出力部17へデータを転送し、次いでス
テップST3においてフレーム受信が終了したか否かを
チェックする。このチェック動作において、フレーム受
信が終了していない場合は、再度ステップST1に戻っ
てステップST1〜ステップST3の動作を繰り返す一
方、フレーム受信が終了している場合は、ステップST
4においてデータ転送されたフレームがエラーフレーム
であるか否かをチェックする。そしてエラーフレームで
ないときは、ステップST5において転送データのバイ
ト数が規定バイト数(例:260バイト)に達している
か否かをチェックし、転送データのバイト数が規定のバ
イト数に達している場合はその転送データを正常フレー
ムであるとしてディジタル回線6上に送出し、1フレー
ムについてのECMデータ送信制御動作を完結する。一
方、ステップST5のチェック動作において転送データ
のバイト数が規定のバイト数に達していない場合は、ス
テップST6においてデータ入出力部17へ「0」デー
タを転送して転送データのバイト数を増加させるととも
に、再度ステップST5において転送データのバイト数
が規定バイト数に達しているか否かをチェックし、転送
データのバイト数が規定のバイト数に達するまでこの処
理を繰り返す。そして、転送データのバイト数が規定の
バイト数に達した場合はその転送データ(これは正常フ
レームである)をディジタル回線6上に送出し、1フレ
ームについてのECMデータ送信制御動作を完結する。In the flowchart shown in FIG. 2, when the ECM data transmission control is started, in a processing step (hereinafter simply referred to as a step) ST1, it is checked whether or not data has been received from the modem. If not, this check operation is repeated. If the data has been received, the data is transferred to the data input / output unit 17 in step ST2, and it is checked in step ST3 whether or not the frame reception has been completed. In this check operation, if the frame reception has not been completed, the process returns to step ST1 to repeat the operations of steps ST1 to ST3, while if the frame reception has been completed, the process returns to step ST1.
In step 4, it is checked whether the data transferred frame is an error frame. If it is not an error frame, it is checked in step ST5 whether the number of bytes of the transfer data has reached the specified number of bytes (eg, 260 bytes), and if the number of bytes of the transfer data has reached the specified number of bytes. Transmits the transfer data to the digital line 6 as a normal frame, and completes the ECM data transmission control operation for one frame. On the other hand, if the number of bytes of the transfer data has not reached the specified number of bytes in the check operation in step ST5, the "0" data is transferred to the data input / output unit 17 to increase the number of bytes of the transfer data in step ST6. At the same time, it is checked again in step ST5 whether the number of bytes of the transfer data has reached the specified number of bytes, and this processing is repeated until the number of bytes of the transfer data reaches the specified number of bytes. Then, when the number of bytes of the transfer data reaches the prescribed number of bytes, the transfer data (this is a normal frame) is sent out onto the digital line 6, and the ECM data transmission control operation for one frame is completed.
【0024】以上の処理動作により、本実施の形態では
データ転送されたフレームが正常フレームである場合
は、そのフレームのバイト数が規定バイト数と一致して
いる場合も或いは一致していない場合(いわゆるショー
トフレームの場合)も常に送信側の通信制御装置によっ
て転送データのバイト数は規定バイト数に修正されてか
ら送信される。すなわち、図4に示すような初めのデー
タ長が200バイトのフレーム(正常フレームである)
が転送されてきた場合、送信側の通信制御装置はそのフ
レームに「0」データを加えて転送データのバイト数を
260バイトに増加させて送信する。したがって、受信
側の通信制御装置は、受信データのフレームのバイト数
が規定バイト数に一致しているか否かをチェックするこ
とによりフレームの正常、異常を判定できるのである。
これにより、フレーム長さを基にして受信側にフレーム
の正常、異常を認識させ、正常なフレームは常に所定長
とすることにより、正常なフレームと、例えば処理の都
合上本来1フレームであったものが分割されたフレーム
などの異常フレームとを相手側通信制御装置に確実に区
別させることができる。なお、上記の説明で、「転送デ
ータのバイト数が規定のバイト数に達していない場合」
とは、転送データのバイト数が規定のバイト数よりも少
ない場合を指す。転送データのバイト数が規定のバイト
数よりも多い場合、これはエラーフレームであり、送信
側の通信制御装置がそのままディジタル回線6上に送信
しても受信側の通信制御装置はエラーフレームであるこ
とを検出可能である。According to the above-described processing operation, in the present embodiment, when the data-transferred frame is a normal frame, the number of bytes of the frame matches or does not match the specified number of bytes ( Also in the case of a so-called short frame), the transmission-side communication control device always transmits the data after the number of bytes of the transfer data is corrected to the specified number of bytes. That is, a frame whose initial data length is 200 bytes as shown in FIG. 4 (normal frame)
Is transmitted, the communication control device on the transmission side adds "0" data to the frame, increases the number of bytes of the transfer data to 260 bytes, and transmits the frame. Therefore, the communication control device on the receiving side can determine whether the frame is normal or abnormal by checking whether the number of bytes of the frame of the received data matches the specified number of bytes.
This allows the receiving side to recognize whether the frame is normal or abnormal on the basis of the frame length, and always sets the normal frame to a predetermined length, so that the normal frame is, for example, one frame for convenience of processing. The abnormal communication frame such as the divided frame can be reliably distinguished by the other communication control device. In the above description, "when the number of bytes of transfer data does not reach the specified number of bytes"
Means that the number of bytes of the transfer data is smaller than the specified number of bytes. If the number of bytes of the transfer data is larger than the specified number of bytes, this is an error frame. Even if the communication controller on the transmitting side transmits the digital data on the digital line 6 as it is, the communication controller on the receiving side is an error frame. Can be detected.
【0025】他方、ステップST4において、データ転
送されたフレームがエラーフレームであると判断された
場合は、ステップST7において転送データが規定バイ
ト数より大きいか否かをチェックし、転送データのバイ
ト数が規定のバイト数よりも大きくない場合は、ステッ
プST8においてデータ入出力部17へ「0」データを
転送して転送データのバイト数を増加させるとともに、
再度ステップST7において転送データのバイト数が規
定バイト数よりも大きいか否かをチェックし、転送デー
タのバイト数が規定のバイト数よりも大きくなるまでこ
の処理を繰り返す。図5は、前記の動作のように、送信
側の通信制御装置が送信側ファクシミリ装置1bから受
信した送信データのフレームに異常があった場合に、送
信側の通信制御装置により生成されるフレームの構成を
示す図である。この図5に示すように、転送データのバ
イト数が261バイトに達するなど、規定のバイト数よ
りも大きくなった場合は、その規定バイト数よりも大き
なフレーム構成の転送データをディジタル回線6上に送
出し、そのフレームについてのECMデータ送信制御動
作を完結する。ステップST7において転送データのバ
イト数が規定のバイト数よりも大きいと判断された場
合、すなわち、転送データのバイト数が例えば270バ
イトのように初めから規定のバイト数よりも大きい場
合、先にも述べたようにこれはエラーフレームであり、
受信側の通信制御装置で判定可能であるから、送信側の
通信制御装置はそのままディジタル回線6上に送信し、
その後データ送信制御動作を完結する。On the other hand, if it is determined in step ST4 that the transferred frame is an error frame, it is checked in step ST7 whether or not the transfer data is larger than a specified number of bytes. If it is not larger than the prescribed number of bytes, in step ST8 "0" data is transferred to the data input / output unit 17 to increase the number of bytes of the transfer data.
In step ST7, it is checked again whether the number of bytes of the transfer data is larger than the specified number of bytes, and this process is repeated until the number of bytes of the transfer data becomes larger than the specified number of bytes. FIG. 5 is a diagram showing an example of the operation of the transmission-side communication control device when the transmission-side communication control device has an abnormality in the transmission data frame received from the transmission-side facsimile device 1b. FIG. 3 is a diagram illustrating a configuration. As shown in FIG. 5, when the number of bytes of the transfer data reaches 261 bytes or more, the transfer data having a frame structure larger than the specified number of bytes is transferred onto the digital line 6. Is transmitted, and the ECM data transmission control operation for the frame is completed. If it is determined in step ST7 that the number of bytes of the transfer data is larger than the specified number of bytes, that is, if the number of bytes of the transfer data is larger than the specified number of bytes from the beginning, for example, 270 bytes, As mentioned this is an error frame,
Since the communication control device on the receiving side can make the determination, the communication control device on the transmitting side transmits the signal on the digital line 6 as it is,
Thereafter, the data transmission control operation is completed.
【0026】送信側の通信制御装置は、受信したフレー
ムに異常があると、受信データのフレーム構成が261
バイト以上であればそのまま受信側の通信制御装置へ向
けてデータを送信し、受信データのフレーム構成が26
0バイト以下であれば前記フレームに付加データとして
「00」を付け加えて261バイト(或いはそれ以上の
バイト数)とし、そのデータを受信側の通信制御装置へ
向けてデータ送信する。上記「00」の付加処理によっ
て、送信データが260バイトのフレーム構成であって
も、或いは260バイト未満のショートフレーム構成の
場合であっても、受信データに異常がある場合は、その
データは一律に261バイト以上のフレーム構成に変換
される。受信側の通信制御装置は前記261バイトのフ
レーム構成のデータを受信すると、そのデータは異常フ
レームであると認識してアナログ回線2aを介して受信
側のファクシミリ装置1aへ向けてデータを送信する。
これにより、相手側にそのフレームがエラーフレームで
あることを確実に通知することができ、また相手側では
そのエラーがアナログ回線上で生じたものであることを
容易に判断できる。When the received communication frame has an error, the communication control device on the transmitting side changes the frame configuration of the received data to 261.
If the number of bytes is equal to or more than the byte, the data is directly transmitted to the communication control device on the receiving side, and the frame configuration of the received data is
If it is 0 byte or less, "00" is added to the frame as additional data to make it 261 bytes (or more bytes), and the data is transmitted to the communication control device on the receiving side. Even if the transmission data has a frame configuration of 260 bytes or a short frame configuration of less than 260 bytes, if the reception data has an error, the data is uniformly processed by the addition process of “00”. Is converted to a frame configuration of 261 bytes or more. Upon receiving the data having the 261-byte frame configuration, the communication control device on the receiving side recognizes the data as an abnormal frame and transmits the data to the facsimile device 1a on the receiving side via the analog line 2a.
As a result, the other party can be reliably notified that the frame is an error frame, and the other party can easily determine that the error has occurred on the analog line.
【0027】次に、ECMデータ受信制御処理動作につ
いて説明する。図3に示すフロー図において、ECMデ
ータ受信制御が開始されると、ステップST11におい
て、データ入出力部17よりデータの受信が行なわれた
か否かがチェックされ、データ受信が行なわれていなけ
ればこのチェック動作を繰り返す。そして、データ受信
が行なわれた場合は、ステップST12においてモデム
へデータを転送し、次いでステップST13においてフ
レーム受信が終了したか否かをチェックする。このチェ
ック動作において、フレーム受信が終了していない場合
は、再度ステップST11に戻ってステップST11〜
ステップST13の動作を繰り返す一方、フレーム受信
が終了している場合は、ステップST14において受信
されたフレームについて、フレームの先頭データが「F
F」「03」で始まっているか否かをチェックする。そ
して、フレームの先頭データが「FF」「03」で始
まっている場合はステップST15において受信データ
のバイト数が規定バイト数に達しているか否かをチェッ
クし、受信データのバイト数が規定のバイト数に一致し
ない場合は、ステップST16において受信側ファクシ
ミリ1aへ「受信したフレームはエラーフレームであ
る」として送信しそのフレームについてのECMデータ
受信制御動作を完結する。Next, the operation of the ECM data reception control processing will be described. In the flowchart shown in FIG. 3, when ECM data reception control is started, it is checked in step ST11 whether data has been received from data input / output unit 17, and if data has not been received, the process proceeds to step ST11. Repeat the check operation. If the data has been received, the data is transferred to the modem in step ST12, and it is checked in step ST13 whether or not the frame reception has been completed. In this check operation, if the frame reception has not been completed, the process returns to step ST11 to return to steps ST11 to ST11.
While the operation of step ST13 is repeated, if the frame reception has been completed, the head data of the frame received in step ST14 is "F
Check if it starts with "F" or "03". Then, the head data of the frame starts with “FF” and “03”.
If so, it is checked in step ST15 whether the number of bytes of the received data has reached the specified number of bytes, and if the number of bytes of the received data matches the specified number of bytes.
If not , in step ST16, the received facsimile 1a is transmitted as "the received frame is an error frame" and the ECM data reception control operation for the frame is completed.
【0028】これらのステップST15およびステップ
ST16における処理動作は、上記送信側通信制御装置
によって正常フレームのバイト数を規定バイト数に作り
変えた動作に対応するものである。上記動作では、送信
側通信制御装置からは、この送信側通信制御装置におい
て正常フレームと判断されたものは260バイト、エラ
ーフレームと判断されたものは260バイトより大きな
バイト数に作り変えられて送信されるから、受信側の通
信制御装置では受信したデータのフレームのバイト数を
チェックするだけでよい。そして、受信データのフレー
ムのバイト数が規定バイト数に一致していなければ、エ
ラーフレームであると判断する。他方、ステップST1
5において受信データのバイト数が規定のバイト数に達
していると判断された場合は、受信側ファクシミリ1a
へ「受信したフレームは正常フレームである」として送
信しそのフレームについてのECMデータ受信制御動作
を完結する。The processing operations in steps ST15 and ST16 correspond to operations in which the number of bytes of a normal frame is changed to a specified number of bytes by the transmission-side communication control device. In the above operation, the transmission-side communication control device reconstructs a frame determined to be a normal frame by the transmission-side communication control device into a byte number of 260 bytes and a frame determined to be an error frame by a byte number greater than 260 bytes and transmits the frame. Therefore, the communication control device on the receiving side only needs to check the number of bytes of the frame of the received data. If the number of bytes of the received data frame does not match the specified number of bytes, it is determined that the frame is an error frame. On the other hand, step ST1
5, if it is determined that the number of bytes of the received data has reached the prescribed number of bytes, the receiving-side facsimile 1a
To the received frame is a normal frame, and completes the ECM data reception control operation for that frame.
【0029】また一方、ステップST14において受信
されたフレームについて、フレームの先頭データが「F
F」「03」で始まっていないと判断された場合は、ス
テップST18においてそのフレームについてはデータ
が破棄され当該フレームについてのECMデータ受信制
御動作を完結する。フレームの先頭データが「FF」
「03」で始まっていない受信データとは、例えば送信
側通信制御装置からは正常フレームとしてデータがディ
ジタル回線6上に送出していたが、送信側ファクシミリ
装置1bから送信側通信制御装置へのデータ転送が間に
合わなかった場合などにおいて生じる。図6は、本来1
つのフレームで構成されていたデータが、何らかの理由
で2つのフレームに分割された状態を示すフレーム構成
図である。このような事態が生じたことにより、本来1
つのフレームで構成されていたものが、例えば図6に示
すように前半が200バイト、後半が60バイトの2つ
のフレームになってしまうことがある。このような場
合、従来ではフレーム自体はエラーフレームであるにも
拘らず送信側の通信制御装置は正常フレームとして送信
しているから、受信側の通信制御装置は正常フレームと
して受信してしまう。しかし本実施の形態の受信側の通
信制御装置は上記のようにステップST18において先
頭データが「FF」「03」で始まらない後半のフレー
ムについてはデータを破棄するから、エラーフレームを
正常フレームとして誤って受信することはない。ちなみ
に、上記前半のデータに相当する200バイトのフレー
ムについては、バイト数が200バイトということでス
テップST15においてフレームのバイト数が規定バイ
ト数に一致していないと判断され、次いでステップST
16において受信側ファクシミリ1aへエラーフレーム
として送信される。これにより、本来1フレームとして
送出されるべきデータが何らかの理由で分割された場
合、前半のフレームを送信することにより通信の継続性
を確保するとともに無駄な通信を防止し、また通信の継
続性を確保するために受信側ファクシミリ装置にエラー
フレームを送信した場合に不要なフレームが破棄され、
無駄な通信を防止することができる。したがって、本実
施の形態では、本来1つのフレームが2つのフレームに
なった場合における受信誤りといった不都合は起こらな
い。On the other hand, regarding the frame received in step ST14, the head data of the frame is "F
If it is determined that the frame does not start with "F" or "03", the data for that frame is discarded in step ST18, and the ECM data reception control operation for that frame is completed. The head data of the frame is "FF"
The received data that does not start with “03” means, for example, data transmitted from the transmission-side communication control device as a normal frame onto the digital line 6, but data transmitted from the transmission-side facsimile device 1 b to the transmission-side communication control device. This occurs when the transfer is not in time. FIG.
FIG. 4 is a frame configuration diagram showing a state in which data composed of one frame is divided into two frames for some reason. As a result of this situation,
For example, as shown in FIG. 6, two frames having 200 bytes in the first half and 60 bytes in the second half may be formed as shown in FIG. In such a case, the communication controller on the transmitting side conventionally transmits the frame as a normal frame even though the frame itself is an error frame, so the communication controller on the receiving side receives the frame as a normal frame. However, the communication controller on the receiving side according to the present embodiment discards the data of the latter half frame whose head data does not start with “FF” or “03” in step ST18 as described above. Never receive it. Incidentally, for a 200-byte frame corresponding to the first half of the data, it is determined that the number of bytes of the frame does not match the specified number of bytes in step ST15 because the number of bytes is 200 bytes.
At 16, it is transmitted to the receiving facsimile 1 a as an error frame. In this way, when data that should be transmitted as one frame is divided for some reason, the first half of the frame is transmitted to ensure continuity of communication, prevent unnecessary communication, and improve continuity of communication. If an error frame is sent to the receiving facsimile machine to secure, unnecessary frames are discarded,
Useless communication can be prevented. Therefore, in the present embodiment, inconvenience such as a reception error when one frame originally becomes two frames does not occur.
【0030】[0030]
【発明の効果】以上説明したように、本発明によれば、
通信制御装置に送信側および受信側のファクシミリ端末
とアナログ回線を介してそれぞれファクシミリ通信する
第1および第2の入出力手段と、第1および第2の入出
力手段との入出力を制御する制御手段とを備え、制御手
段が、第1ファクシミリ端末からのデータが所定バイト
数に達しない場合は零データを付加して所定バイト数の
HDLCフレームにしてディジタル回線へ送信するよう
にしたため、受信側の通信制御装置は、受信データのフ
レームのバイト数が規定バイト数に一致しているか否か
をチェックすることによりフレームの正常、異常を判定
でき、正常なフレームと、例えば処理の都合上本来1フ
レームであったものが分割されたフレームなどの異常フ
レームとを相手側通信制御装置に確実に区別させること
ができるという効果が得られる。As described above, according to the present invention,
First and second input / output means for performing facsimile communication with a communication control apparatus via a transmission line and a reception-side facsimile terminal via an analog line, respectively, and control for controlling input / output of the first and second input / output means Control means, when the data from the first facsimile terminal does not reach the predetermined number of bytes, zero data is added to make the frame into an HDLC frame of the predetermined number of bytes and transmitted to the digital line. The communication control device can determine whether the frame is normal or abnormal by checking whether the number of bytes of the frame of the received data matches the specified number of bytes. The effect that the other communication control device can reliably distinguish the frame which was a frame from an abnormal frame such as a divided frame. It is obtained.
【図1】図1は本発明による通信制御装置の一実施の形
態を示すブロック図FIG. 1 is a block diagram showing an embodiment of a communication control device according to the present invention.
【図2】前記実施の形態において、送信側ファクシミリ
と受信側ファクシミリとの間でHDLCによるECMデ
ータのファクシミリ通信を行なうに際しての送信制御動
作を説明するフロー図FIG. 2 is a flowchart for explaining a transmission control operation when performing ECM data facsimile communication by HDLC between a transmission side facsimile and a reception side facsimile in the embodiment.
【図3】前記実施の形態において、送信側ファクシミリ
と受信側ファクシミリとの間でHDLCによるECMデ
ータのファクシミリ通信を行なうに際しての受信制御動
作を説明するフロー図FIG. 3 is a flowchart illustrating a reception control operation when performing ECM data facsimile communication by HDLC between a transmitting facsimile and a receiving facsimile in the embodiment.
【図4】前記実施の形態において、1フレームにおいて
送信データのバイト数が規定バイト数に修正される状態
を説明するフレーム構成図FIG. 4 is a frame configuration diagram illustrating a state in which the number of bytes of transmission data is corrected to a specified number of bytes in one frame in the embodiment.
【図5】前記実施の形態において、送信側ファクシミリ
装置から受信した送信データのフレームに異常があった
場合に、送信側の通信制御装置により生成されるフレー
ムを示すフレーム構成図FIG. 5 is a frame configuration diagram showing a frame generated by a transmission-side communication control device when a frame of transmission data received from a transmission-side facsimile apparatus has an error in the embodiment.
【図6】前記実施の形態において、何らかの理由で本来
1つのフレームであったデータが複数のフレームに分割
された状態を示すフレーム構成図FIG. 6 is a frame configuration diagram showing a state in which data that was originally one frame for some reason is divided into a plurality of frames in the embodiment.
【図7】データをHDLCモードでフレーム化して通信
を行なう方式の通信システムを概略的に示すブロック図FIG. 7 is a block diagram schematically showing a communication system of a system in which data is framed in an HDLC mode for communication.
【図8】HDLC通信システムにおいて送受信される正
常なデータのフレーム構成図FIG. 8 is a frame configuration diagram of normal data transmitted and received in the HDLC communication system.
【図9】HDLC通信システムにおいて送受信される正
常なデータのショートフレーム構成図FIG. 9 is a short frame configuration diagram of normal data transmitted and received in the HDLC communication system.
【図10】HDLC通信システムにおいて送受信される
異常なデータのフレーム構成図FIG. 10 is a frame configuration diagram of abnormal data transmitted and received in the HDLC communication system.
1a、1b ファクシミリ装置 2a、2b、20 アナログ回線 3a、3b 交換機 4a、4b TDM装置(通信制御装置) 5a、5b、13 FAXモデム 6、21 ディジタル回線 7 通信制御部 11 通信制御装置 12 コーディック部 14 制御部 15 ROM 16 RAM 17 シリアル入出力部 1a, 1b Facsimile machine 2a, 2b, 20 Analog line 3a, 3b Switch 4a, 4b TDM device (communication control device) 5a, 5b, 13 FAX modem 6, 21 Digital line 7 Communication control unit 11 Communication control unit 12 Codec unit 14 Control unit 15 ROM 16 RAM 17 Serial input / output unit
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−14668(JP,A) 特開 平4−109762(JP,A) 特開 平4−170243(JP,A) 特開 平6−318965(JP,A) 特開 昭58−165446(JP,A) 特開 平7−111571(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/32 - 1/36 H04N 1/42 - 1/44 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-5-14668 (JP, A) JP-A-4-109762 (JP, A) JP-A-4-170243 (JP, A) JP-A-6-106 318965 (JP, A) JP-A-58-165446 (JP, A) JP-A-7-111571 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/32-1 / 36 H04N 1/42-1/44
Claims (7)
線を介してファクシミリ通信する第1入出力手段と、第
2ファクシミリ端末1aとアナログ回線によりファクシ
ミリ通信するデータ端末4aに対してディジタル回線を
介してHDLCフレームにてデータ通信する第2入出力
手段と、第1入出力手段と第2入出力手段との入出力を
制御する制御手段とを備え、前記制御手段は、第1ファ
クシミリ端末1bからのデータがエラーフレームの場
合、前記データを所定バイトより大きいデータ長にして
ディジタル回線へ送信することを特徴とする通信制御装
置。An HDLC via a digital line to a first input / output means for facsimile communication with a first facsimile terminal 1b via an analog line and a data terminal 4a for facsimile communication with a second facsimile terminal 1a via an analog line. A second input / output unit for performing data communication in a frame, and a control unit for controlling input / output between the first input / output unit and the second input / output unit, wherein the control unit is configured to transmit data from the first facsimile terminal 1b. A communication control device for transmitting the data to a digital line with a data length longer than a predetermined byte when the error frame is an error frame.
線を介してファクシミリ通信する第1入出力手段と、第
2ファクシミリ端末1aとアナログ回線によりファクシ
ミリ通信するデータ端末4aに対してディジタル回線を
介してHDLCフレームにてファクシミリ通信する第2
入出力手段と、第1入出力手段と第2入出力手段との入
出力を制御する制御手段とを備え、前記制御手段は、第
1ファクシミリ端末1bからのデータのバイト数が所定
バイト数に達しない場合は零データを付加して所定バイ
ト数のHDLCフレームにしてディジタル回線へ送信す
る一方、第1ファクシミリ端末1bからのデータがエラ
ーフレームの場合は前記データを所定バイト以上のデー
タ長にしてディジタル回線へ送信することを特徴とする
通信制御装置。2. A first facsimile terminal 1b and an analog terminal
First input / output means for performing facsimile communication via a line,
2 Facsimile by facsimile terminal 1a and analog line
Digital line for data terminal 4a for millimeter communication
2nd facsimile communication with HDLC frame via
Input / output means, input of the first input / output means and second input / output means
Control means for controlling the output, the control means comprising:
The number of bytes of data from one facsimile terminal 1b is predetermined
If the number of bytes is not reached, zero data is added and a predetermined byte is added.
Number of HDLC frames and send them to the digital line.
That one, if the data is an error frame from the first facsimile terminal 1b <br/> communication control apparatus and transmits to the digital line and the data on the data length of more than a predetermined number of bytes.
線によりファクシミリ通信する第1入出力手段と、第2
ファクシミリ端末1bとアナログ回線によりファクシミ
リ通信するデータ端末4bに対してディジタル回線によ
りデータ通信する第2入出力手段と、第1入出力手段と
第2入出力手段との入出力を制御する制御手段とを備
え、前記制御手段は、第2ファクシミリ端末1bからの
データが所定バイト数に達していないと判断した場合、
フレーム内のCRCが正常であっても異常と書き直して
前記第1ファクシミリ端末1aへ送出することを特徴と
する通信制御装置。3. A first input / output means for performing facsimile communication with the first facsimile terminal 1a via an analog line;
Second input / output means for performing data communication with the facsimile terminal 1b via a digital line with respect to the data terminal 4b which performs facsimile communication with the facsimile terminal 1b, and control means for controlling input / output between the first input / output means and the second input / output means; When the control means determines that the data from the second facsimile terminal 1b has not reached the predetermined number of bytes,
A communication control device characterized in that even if the CRC in the frame is normal, the frame is rewritten as abnormal and transmitted to the first facsimile terminal 1a .
線によりファクシミリ通信する第1入出力手段と、第2
ファクシミリ端末1bとアナログ回線によりファクシミ
リ通信するデータ端末4bに対してディジタル回線によ
りデータ通信する第2入出力手段と、第1入出力手段と
第2入出力手段との入出力を制御する制御手段とを備
え、前記制御手段は、第2ファクシミリ端末1bのデー
タ端末4bから受信したデータの先頭に所定のデータパ
ターンがあるか否かを検出し、データパターンがあれば
前記受信したデータが所定バイト数に達するか否かを判
断し、所定バイト数に達していなければフレーム内のC
RCが正常であっても異常と書き直して前記第1ファク
シミリ端末1aへ送出することを特徴とする通信制御装
置。4. A first input / output means for performing facsimile communication with the first facsimile terminal 1a via an analog line;
Second input / output means for performing data communication with the facsimile terminal 1b via a digital line with respect to the data terminal 4b which performs facsimile communication with the facsimile terminal 1b, and control means for controlling input / output between the first input / output means and the second input / output means; The control means detects whether or not there is a predetermined data pattern at the head of data received from the data terminal 4b of the second facsimile terminal 1b , and if there is a data pattern, the received data has a predetermined number of bytes. Is determined, and if the predetermined number of bytes is not reached, C in the frame is determined.
A communication control device wherein even if the RC is normal, it is rewritten as abnormal and transmitted to the first facsimile terminal 1a .
線によりファクシミリ通信する第1入出力手段と、第2
ファクシミリ端末1bとアナログ回線によりファクシミ
リ通信するデータ端末4bに対してディジタル回線によ
りデータ通信する第2入出力手段と、第1入出力手段と
第2入出力手段との入出力を制御する制御手段とを備
え、前記制御手段は、第2ファクシミリ端末1bのデー
タ端末4bから受信したデータの先頭に所定のデータパ
ターンがあるか否かを検出し、データパターンがなけれ
ばCRCの内容に関わらずエラーフレームと判断して破
棄することを特徴とする通信制御装置。5. A first input / output means for performing facsimile communication with the first facsimile terminal 1a via an analog line;
Second input / output means for performing data communication with the facsimile terminal 1b via a digital line with respect to the data terminal 4b which performs facsimile communication with the facsimile terminal 1b, and control means for controlling input / output between the first input / output means and the second input / output means; The control means detects whether or not a predetermined data pattern is present at the beginning of data received from the data terminal 4b of the second facsimile terminal 1b. If there is no data pattern, the control means detects an error frame regardless of the content of the CRC. A communication control device characterized in that the communication control device discards the information when it is determined that the communication control device is in use.
のデータ端末4bから受信したデータの先頭に所定のデ
ータパターンがあるか否かを検出し、データパターンが
なければCRCの内容に関わらずエラーフレームと判断
して破棄することを特徴とする請求項3または4に記載
の通信制御装置。6. The control means comprises a second facsimile terminal 1b.
Detecting whether there is a predetermined data pattern at the beginning of the data received from the data terminal 4b, and if there is no data pattern, determining that the frame is an error frame regardless of the content of the CRC and discarding the frame. The communication control device according to 3 or 4 .
タの1フレームを構成するバイト数であることを特徴と
する請求項1乃至6のいずれかに記載の通信制御装置。7. A predetermined number of bytes, the communication control device according to any one of claims 1 to 6, characterized in that the number of bytes constituting one frame of data in HDLC mode.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12129596A JP3345263B2 (en) | 1996-05-16 | 1996-05-16 | Communication control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12129596A JP3345263B2 (en) | 1996-05-16 | 1996-05-16 | Communication control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09307730A JPH09307730A (en) | 1997-11-28 |
| JP3345263B2 true JP3345263B2 (en) | 2002-11-18 |
Family
ID=14807729
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12129596A Expired - Fee Related JP3345263B2 (en) | 1996-05-16 | 1996-05-16 | Communication control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3345263B2 (en) |
-
1996
- 1996-05-16 JP JP12129596A patent/JP3345263B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09307730A (en) | 1997-11-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5638384A (en) | Data communication system | |
| US5825508A (en) | Image data receiving method for receiving retransimitted image data frames | |
| JP3345263B2 (en) | Communication control device | |
| JPH10126525A (en) | Facsimile machine | |
| JP2502457B2 (en) | Method and system for converting ISDN LAPB and ISDN LAPD frames | |
| JP3466915B2 (en) | Facsimile communication control device | |
| JP3340314B2 (en) | Communication control device | |
| JP2793221B2 (en) | G4 facsimile communication system in ISDN | |
| JP3006696B2 (en) | Facsimile transmission control method | |
| JP3656070B2 (en) | Facsimile communication control device | |
| JP3534140B2 (en) | Communication device | |
| JP3340315B2 (en) | Communication control device | |
| JP3391213B2 (en) | Communication terminal device | |
| JP3439398B2 (en) | Facsimile machine | |
| JP2802271B2 (en) | Facsimile machine | |
| JP3558718B2 (en) | Facsimile machine | |
| JP3690526B2 (en) | Facsimile machine | |
| JP3496448B2 (en) | Communication terminal device | |
| JP4169702B2 (en) | Facsimile machine | |
| JP3555036B2 (en) | Facsimile machine | |
| JP2922355B2 (en) | Facsimile machine | |
| JP3131263B2 (en) | Image communication apparatus and image communication method | |
| JPH09181876A (en) | Facsimile adapter device | |
| JPH01272345A (en) | Modem device | |
| JPS63290034A (en) | Data transmission method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |