JPH06188942A - Data communication equipment - Google Patents

Data communication equipment

Info

Publication number
JPH06188942A
JPH06188942A JP4339876A JP33987692A JPH06188942A JP H06188942 A JPH06188942 A JP H06188942A JP 4339876 A JP4339876 A JP 4339876A JP 33987692 A JP33987692 A JP 33987692A JP H06188942 A JPH06188942 A JP H06188942A
Authority
JP
Japan
Prior art keywords
frame
transmission
transmitted
data
terminal
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.)
Granted
Application number
JP4339876A
Other languages
Japanese (ja)
Other versions
JP3249209B2 (en
Inventor
Hiroshi Shibata
博 柴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP33987692A priority Critical patent/JP3249209B2/en
Publication of JPH06188942A publication Critical patent/JPH06188942A/en
Application granted granted Critical
Publication of JP3249209B2 publication Critical patent/JP3249209B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To cope with the transmission request of a monitor frame in real time by using an HDLC control means which enqueues the transmission request of the monitor frame into a transmission queue in a priority level higher than those of information transfer frames in the transmission queue at the time of issue of this transmission request. CONSTITUTION:After a data link is set at the information transfer phase, I- frames 6 and 7 are transmitted from a terminal B to a terminal A. At this time, the frame 6 brings about a CRC error by a line noise or the like, but the frame 7 is normally accepted by the terminal A. The terminal A generates a REJ frame as an S frame for the retransmission request for the purpose of requesting retransmission of the frame 6. Since the S-frame is enqueued into the transmission queue in the high priority level, it is connected before other I-frames and is first transmitted to a line, and I-frames are transmitted thereafter. Therefore, the terminal B immediately retransmits the I-frame 6 when accepting REJ from the terminal A, and the quick retransmission processing is performed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データ通信装置に係
り、詳しくは、HDLC(High level Da
ta Link Control)制御手順を用いたデ
ータ伝送方式に適用することができる他、G4ファクシ
ミリのLAPB(Link Access Proce
dure Balanced)手順やISDN(Int
egrated Services Digital
Network)端末のLAPD(Link Acce
ss Procedure on the Dchan
nel)手順等に応用することができ、特に、Sフレー
ム(Supervisory frame:監視フレー
ム)が送出されるまでの時間を短縮してSフレームに対
する相手局の動作を迅速に行うことができるデータ通信
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication device, and more particularly, to an HDLC (High level Da).
The present invention can be applied to a data transmission method using a ta Link Control) control procedure, as well as a G4 facsimile LAPB (Link Access Process).
Dure Balanced) procedure and ISDN (Int
integrated Services Digital
Network terminal's LAPD (Link Acce)
ss Procedure on the Dchan
data communication device that can be applied to the S. frame and the like, and in particular, can shorten the time until an S frame (Supervision frame) is sent and quickly perform the operation of the partner station with respect to the S frame. Regarding

【0002】[0002]

【従来の技術】従来、通信制御装置については、例えば
特開平2ー161856号公報で報告されたものがあ
り、ここでは、メモリ読み出しエラー発生時に、送信デ
ータをアボートするように構成することにより、誤った
データを送出するのを防止できるという利点を有する。
2. Description of the Related Art Conventionally, there is a communication control device reported in, for example, Japanese Unexamined Patent Application Publication No. Hei 2-161856. Here, by arranging transmission data to be aborted when a memory read error occurs, It has an advantage that it is possible to prevent erroneous data from being transmitted.

【0003】また、従来、チェーニング機能を有するN
O7信号装置におけるビジー信号送出方式については、
例えば特開平2ー46059号公報で報告されたものが
あり、ここでは、ビジー送出指示が上位から与えられた
後、次のフレーム要求をメモリ制御部へ出す時、ビジー
信号発生部を駆動するように構成することにより、長い
フレームを送出中に自装置がビジーになっても、フレー
ムの中断をすることなくビジー信号を送出できるという
利点を有する。
Also, conventionally, N having a chaining function has been used.
Regarding the busy signal transmission method in the O7 signal device,
For example, there is the one reported in Japanese Patent Laid-Open No. 2-46059, in which the busy signal generator is driven when the next frame request is issued to the memory controller after the busy transmission instruction is given from the host. With this configuration, even if the device itself becomes busy while sending a long frame, there is an advantage that the busy signal can be sent without interrupting the frame.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記し
たような従来のデータ通信装置では、送信キューの優先
度は操作されていなかったため、送信キューに複数のI
フレーム(Information transfer
frame:情報転送フレーム)が繋がれている状態
でSフレームの送出要求が発生した場合、実際にSフレ
ームが送出されるまでに時間が掛かってしまい、このた
め、このSフレームに対する相手局の動作自体も迅速さ
を欠いてしまうという問題を残していた。また、Iフレ
ーム送信中にUフレーム(Unnumbered fr
ame:非番号制フレーム)の送出要求が発生すると、
Iフレームの送信終了を待っていたため、データリンク
の切断や再設定の処理が遅れてしまうという問題を残し
ていた。
However, in the conventional data communication apparatus as described above, the priority of the transmission queue is not manipulated, and therefore, a plurality of I's are added to the transmission queue.
Frame (Information transfer)
(frame: information transfer frame), when an S frame transmission request is generated in a state where the S frame is transmitted, it takes time until the S frame is actually transmitted. Therefore, the operation of the partner station for this S frame The problem itself was that it lacked speed. Also, during transmission of an I frame, a U frame (Unnumbered fr
(ame: unnumbered frame) transmission request occurs,
Since waiting for the end of the transmission of the I frame, there remains a problem that the processing of disconnecting and resetting the data link is delayed.

【0005】また、従来、Iフレーム送信中で再送要
求、ビジー通知のSフレーム受信時には、Iフレームの
送信終了を待っていたため、再送Iフレームの送出、I
フレーム送出停止の処理が遅れてしまうという問題を残
していた。また、Iフレーム送信中でビジー通知のSフ
レーム受信時には、フレームの送信終了を待つかアボー
トしていたが、受信端末によっては、ビジー通知後のビ
ジー解除が早かったり、ビジー通知後でも数フレーム受
信できる場合があり、送信中のIフレームが有効となる
ことがあった。このため、効率の良いIフレーム送出及
び迅速なビジー処理が行い難いという問題を残してい
た。
Further, conventionally, when an I frame is being transmitted and a retransmission request or a busy notification S frame is received, the transmission of the retransmission I frame, I
There was a problem that the process of stopping frame transmission was delayed. Also, when an I frame is being transmitted and a busy notification S frame is being received, the transmission of the frame has been waited for or aborted. In some cases, the I frame being transmitted may be valid. Therefore, there remains a problem that efficient I-frame transmission and quick busy processing are difficult to perform.

【0006】ここで、上記したSフレーム、Uフレーム
及びIフレームについて具体的に説明する。一般にSフ
レーム/Uフレームはフレーム長が短く、一方Iフレー
ムはフレーム長が長い。アプリケーションがG4ファク
シミリの場合、標準モードでSフレームは2バイトであ
り、Uフレームは2〜5バイトであり、Iフレームは最
大2048バイトである。また、Iフレームのアウトス
タンディング最大数k値(相手からの確認を受けずに連
続して送出できるIフレーム数の最大値)は7である。
Sフレームは、相手局のコマンドに対しての確認/再送
要求や自局のビジー通知等に使用され、Uフレームは、
データリンクの設定、切断等に使用され、Iフレームは
上位のデータフレームを転送するために使用される。I
フレームの送出時間はデータ伝送速度に依るが、ISD
Nの基本I/FのB−chでは64kb/sとなり、2
048バイトのデータ伝送に約250m秒掛かり、この
フレーム7本で1.75秒掛かる。HDLCフレームは
フラグ(01111110)同期でフレームの送受信が
行われ、アボートは7ビット以上の連続した
“1”(...1111111...)を送出すること
により実現される。
Here, the above-mentioned S frame, U frame and I frame will be specifically described. Generally, the S frame / U frame has a short frame length, while the I frame has a long frame length. When the application is a G4 facsimile, the S frame is 2 bytes, the U frame is 2 to 5 bytes, and the I frame is 2048 bytes at maximum in the standard mode. Further, the maximum number k of outstanding I frames (the maximum value of the number of I frames that can be continuously transmitted without confirmation from the other party) is 7.
The S frame is used for confirmation / retransmission request for the command of the partner station and the busy notification of the own station, and the U frame is
The I frame is used for setting and disconnecting the data link, and the I frame is used for transferring the upper data frame. I
The frame transmission time depends on the data transmission rate, but ISD
It becomes 64 kb / s in B-ch of N basic I / F, and 2
It takes about 250 msec to transfer 048 bytes, and it takes 1.75 sec for 7 frames. The HDLC frame is transmitted / received in synchronization with the flag (01111110), and the abort is realized by sending consecutive "1" s (... 11111111 ...) Of 7 bits or more.

【0007】そこで本発明は、Sフレームが送出される
までの時間を短縮してSフレームに対する相手局の動作
を迅速にすることができるとともに、無駄なIフレーム
送出を行わずにデータリンクの切断処理及び再設定処理
を迅速に行うことができ、しかも無駄なIフレーム送出
を行わずに再送処理及びビジー処理を迅速に行うことが
でき、更には効率の良いIフレーム送出を行うことがで
きるデータ通信装置を提供することを目的としている。
Therefore, the present invention makes it possible to shorten the time until the S frame is transmitted to speed up the operation of the partner station with respect to the S frame, and disconnect the data link without wasteful transmission of the I frame. Data for which processing and resetting processing can be quickly performed, and further, retransmission processing and busy processing can be quickly performed without wasteful I frame transmission, and efficient I frame transmission can be performed. It is intended to provide a communication device.

【0008】[0008]

【課題を解決するための手段】請求項1記載の発明は、
データフレーム送信用の送信キューに複数のデータフレ
ームが繋がれている状態で、監視フレーム(Sフレー
ム:Supervisory frame)の送出要求
があった場合、これを送信キュー内の情報転送フレーム
(IフレームInformation transfe
r frame)より高い優先度で送信キューに繋ぐ処
理を行うHDLC(High levelData L
ink Control)制御手順を用いたデータ伝送
手段を有することを特徴とするものである。
The invention according to claim 1 is
When a request to send a monitoring frame (S frame: Supervision frame) is made in a state where a plurality of data frames are connected to a transmission queue for data frame transmission, this is sent to an information transfer frame (I frame Information) in the transmission queue. transfer
HDLC (High level Data L) that performs processing to connect to the transmission queue with a higher priority than r frame)
The present invention is characterized by having a data transmission means using an ink control) control procedure.

【0009】請求項2記載の発明は、上記請求項1記載
の発明において、非番号制フレーム(Uフレーム:Un
numbered frame)の送出要求があった場
合、送信中の該非番号制フレームをアボートするHDL
C制御手順を用いたデータ伝送手段を有することを特徴
とするものである。請求項3記載の発明は、上記請求項
1乃至2記載の発明において、再送要求及びビジー通知
の監視フレーム受信時に、送信中の情報転送フレームを
アボートするHDLC制御手順を用いたデータ伝送手段
を有することを特徴とするものである。
According to a second aspect of the present invention, in the invention of the first aspect, an unnumbered frame (U frame: Un
HDL that aborts the unnumbered frame that is being transmitted when there is a request to transmit the numbered frame)
It is characterized by having a data transmission means using the C control procedure. The invention according to claim 3 is the invention according to any one of claims 1 and 2, further comprising a data transmission means using an HDLC control procedure for aborting an information transfer frame being transmitted when a supervisory frame for a retransmission request and a busy notification is received. It is characterized by that.

【0010】請求項4記載の発明は、上記請求項1乃至
3記載の発明において、送信中の情報転送フレームフレ
ームの未送出バイト数を認識する機能を有し、ビジー通
知の監視フレーム受信時に、未送出バイト数が所定の設
定値より多い時のみアボートするのを選択するHDLC
制御手順を用いたデータ伝送手段を有することを特徴と
するものである。
The invention according to claim 4 has the function of recognizing the number of untransmitted bytes of the information transfer frame frame which is being transmitted in the invention according to any one of claims 1 to 3, and when the busy notification supervisory frame is received, HDLC that chooses to abort only when the number of unsent bytes is more than a preset value
It is characterized by having a data transmission means using a control procedure.

【0011】[0011]

【作用】請求項1記載の発明では、データフレーム送信
用の送信キューに複数のデータフレームが繋がれている
状態で、Sフレームの送出要求があった場合、これを送
信キュー内のIフレームより高い優先度で送信キューに
繋ぐ処理を行うHDLC制御手順を用いたデータ伝送を
行うことができる。このため、送信キューにIフレーム
が滞留していても、Sフレームを優先送出させることが
できるので、Sフレームが送出されるまでの時間を短縮
することができ、Sフレームに対する相手局の動作を迅
速にすることができる。従って、状態の変化に対して、
よりリアルタイムに対応することができる。
According to the first aspect of the present invention, when a plurality of data frames are connected to the transmission queue for data frame transmission and an S frame transmission request is issued, this is transmitted from the I frame in the transmission queue. It is possible to perform data transmission using the HDLC control procedure that performs processing of connecting to the transmission queue with high priority. Therefore, even if I frames remain in the transmission queue, the S frame can be preferentially transmitted, so that the time until the S frame is transmitted can be shortened and the operation of the partner station for the S frame can be reduced. Can be quick. Therefore, for changes in state,
More real-time response is possible.

【0012】請求項2記載の発明では、Uフレームの送
出要求があった場合、送信中のIフレームをアボートす
るHDLC制御手順を用いたデータ伝送を行うことがで
きる。このため、Uフレームの送出要求があった場合、
Iフレームが送出中であってもそれをアボートしてUフ
レームを送出することができるので、無駄なIフレーム
送出を行わずにデータリンクの切断処理及び再設定処理
を迅速に行うことができる。
According to the second aspect of the invention, when a U frame transmission request is issued, data transmission can be performed using the HDLC control procedure for aborting the I frame being transmitted. Therefore, if there is a U frame transmission request,
Even if the I frame is being sent, the U frame can be sent by aborting the I frame, so that the data link disconnection process and the resetting process can be quickly performed without wasteful I frame transmission.

【0013】請求項3記載の発明では、再送要求及びビ
ジー通知のSフレーム受信時に送信中のIフレームをア
ボートするHDLC制御手順を用いたデータ伝送を行う
ことができる。このため、再送要求及びビジー通知のS
フレーム受信時に、Iフレームが送出中であってもそれ
をアボートすることができるので、無駄なIフレーム送
出を行わずに迅速な再送処理及びビジー処理を行うこと
ができる。
According to the third aspect of the invention, it is possible to perform data transmission using the HDLC control procedure for aborting the I frame that is being transmitted when the S frame of the retransmission request and the busy notification is received. Therefore, S for resend request and busy notification
Since it is possible to abort an I frame even when it is being sent at the time of receiving a frame, it is possible to perform a quick retransmitting process and a busy process without wasteful I frame sending.

【0014】請求項4記載の発明では、送信中のIフレ
ームの未送出バイト数を認識し、ビジー通知のSフレー
ム受信時に未送出バイト数が所定の設定値より多い時の
みアボートするのを選択するHDLC制御手順を用いた
データ転送を行うことかできる。このため、ビジー通知
のSフレーム受信時に、Iフレーム送出中であっても未
送出バイト数によりIフレームのアボートをするかしな
いかを判断することができるので、効率の良いIフレー
ム送出及び迅速なビジー処理を行うことができる。
According to the fourth aspect of the present invention, the number of untransmitted bytes of the I frame being transmitted is recognized, and it is selected to abort only when the number of untransmitted bytes is larger than a predetermined set value when the busy notification S frame is received. Data transfer can be performed using the HDLC control procedure. Therefore, at the time of receiving the S frame of the busy notification, it is possible to determine whether or not to abort the I frame depending on the number of untransmitted bytes even when the I frame is being transmitted. Busy processing can be performed.

【0015】[0015]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は本発明の各実施例に則したG4ファクシミ
リに応用した場合の構成を示すブロック図である。図1
において、1はシステム制御部であり、2は送受信する
画像データを蓄積する画像蓄積部であり、3は送受信デ
ータの符号化復号化を行う符号化復号化部であり、4は
通信制御を行う通信制御部である。次いで、5、6は各
々入力部、出力部であり、7はファクシミリの動作状況
や操作状況を管理する操作部であり、8は時刻の管理を
する計時部である。次いで、9は相手局のコマンドに対
しての確認/再送要求や自局のビジー通信等を行うため
に使用されるSフレームを制御するSフレーム制御部で
あり、10はデータリンクの設定、切断等を行うために使
用されるUフレームを制御するUフレーム制御部であ
り、11は上位のデータフレームを転送するために使用さ
れるIフレームを制御するIフレーム制御部であり、1
2、13は各々通信用メモリ、上位レイヤ制御部である。
そして、14はHDLCのフレーミング機能、0挿入・削
除機能、FCS付加・解析機能等を行うHDLC用通信
LSIであり、15は通信用LSIの制御、各フレームの
送受信制御を行うとともに、送信フレームの未送出フレ
ーム数の管理及び送信キューの制御を行うフレーム送受
制御部であり、16はG4ファクシミリのレイヤ2プロト
コルとして規定されるLAPB(CCITT勧告X.7
5、X.25、T.90)プロトコルを制御するLAP
B制御部である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration when applied to a G4 facsimile according to each embodiment of the present invention. Figure 1
In FIG. 1, 1 is a system control unit, 2 is an image storage unit that stores image data to be transmitted / received, 3 is an encoding / decoding unit that performs encoding / decoding of transmission / reception data, and 4 is communication control It is a communication control unit. Next, 5 and 6 are an input unit and an output unit, respectively, 7 is an operation unit for managing the operating condition and operation condition of the facsimile, and 8 is a time measuring unit for managing the time. Next, 9 is an S frame control unit that controls an S frame used to perform confirmation / retransmission request for a command from the partner station or busy communication of the own station, and 10 is a data link setting or disconnection. Is a U frame control unit that controls a U frame used to perform the above, and 11 is an I frame control unit that controls an I frame used to transfer a higher-order data frame.
2 and 13 are a communication memory and an upper layer control unit, respectively.
Reference numeral 14 is an HDLC communication LSI that performs HDLC framing function, 0 insertion / deletion function, FCS addition / analysis function, and the like, and 15 controls the communication LSI, controls transmission / reception of each frame, and transmits the transmission frame. A frame transmission / reception control unit that manages the number of untransmitted frames and controls the transmission queue, and 16 is a LAPB (CCITT Recommendation X.7) defined as a layer 2 protocol of G4 facsimile.
5, X. 25, T. 90) LAP controlling the protocol
The B control unit.

【0016】(実施例1)図2は本発明の請求項1の一
実施例に則した再送要求例を示す図であり、図3は本発
明の請求項1の一実施例に則した動作フローを示すフロ
ーチャートである。本実施例は、図1のG4ファクシミ
リに適用する場合である。まず、図2に示すように、デ
ータリンクが設定されて情報転送フェーズとなった後、
端末Bから端末AにIフレームの(6)と(7)が送出
される。この時、Iフレーム(6)は回線ノイズ等によ
りCRCエラーとなり、端末AにはIフレーム(7)が
正常に受け付けられる。端末AはIフレーム(6)の再
送要求を行うため、再送要求を行うSフレームであるR
EJフレームを生成する。この時、端末Aでは送信待機
中のIフレーム(0)から(5)までが送信キューに存
在する。この送信キューはFIFOで構成される。本実
施例では、Sフレームは高い優先度で送信キューに繋が
れるため、他のIフレームの前に接続され、先に回線に
送出され、Iフレームはその後続いて送出される。この
ため、端末Bでは端末AからのREJが受け付けられる
と、即Iフレーム(5)の再送を行い、迅速な再送処理
を行うことができる。そして、端末Aのビジー時は、R
NRフレームを優先的に送出することにより、端末Bか
らの不用意なIフレーム送出を防ぐことができる。
(Embodiment 1) FIG. 2 is a diagram showing an example of a retransmission request according to an embodiment of claim 1 of the present invention, and FIG. 3 is an operation according to an embodiment of claim 1 of the present invention. It is a flowchart which shows a flow. This embodiment is a case where it is applied to the G4 facsimile of FIG. First, as shown in FIG. 2, after the data link is set and the information transfer phase is set,
From the terminal B, the I frames (6) and (7) are transmitted to the terminal A. At this time, the I frame (6) has a CRC error due to line noise or the like, and the I frame (7) is normally accepted by the terminal A. Since the terminal A makes a retransmission request for the I frame (6), it is an S frame R that makes a retransmission request.
Generate an EJ frame. At this time, in the terminal A, I frames (0) to (5) waiting to be transmitted are present in the transmission queue. This transmission queue is composed of a FIFO. In this embodiment, since the S frame is connected to the transmission queue with a high priority, it is connected before other I frames, transmitted first to the line, and the I frame is transmitted subsequently. For this reason, when the terminal B receives the REJ from the terminal A, the terminal I can immediately retransmit the I frame (5), and can quickly perform the retransmission processing. When terminal A is busy, R
By transmitting the NR frame with priority, careless transmission of the I frame from the terminal B can be prevented.

【0017】次に、本実施例の動作フローを図3のフロ
ーチャートを用いて説明する。まず、Sフレーム送出要
求があれば、送信キューにIフレームがあるか否かを判
定し(処理S1 )、送信キューにIフレームがある場合
はSフレームをIフレームの前に繋ぎ(処理S2 )、一
方、送信キューにIフレームがない場合はSフレームを
送信キューの最後に繋ぐ(処理S3 )。
Next, the operation flow of this embodiment will be described with reference to the flowchart of FIG. First, if there is an S frame transmission request, it is determined whether or not there is an I frame in the transmission queue (process S 1 ). If there is an I frame in the transmission queue, the S frame is connected before the I frame (process S 1 ). 2 ) On the other hand, if there is no I frame in the transmission queue, the S frame is connected to the end of the transmission queue (process S 3 ).

【0018】このように、本実施例では、データフレー
ム送信用の送信キューに複数のデータフレームが繋がれ
ている状態で、Sフレームの送出要求があった場合、こ
れを送信キュー内のIフレームより高い優先度で送信キ
ューに繋ぐ処理を行うHDLC制御手順を用いたデータ
伝送を行うことができる。このため、送信キューにIフ
レームが滞留していても、Sフレームを優先送出させる
ことができるので、Sフレームが送出されるまでの時間
を短縮することができ、Sフレームに対する相手局の動
作を迅速にすることができる。従って、状態の変化に対
して、よりリアルタイムに対応することができる。
As described above, in the present embodiment, when a plurality of data frames are connected to the transmission queue for data frame transmission and an S frame transmission request is made, this is sent to the I frame in the transmission queue. It is possible to perform data transmission using the HDLC control procedure for performing the process of connecting to the transmission queue with higher priority. Therefore, even if I frames remain in the transmission queue, the S frame can be preferentially transmitted, so that the time until the S frame is transmitted can be shortened and the operation of the partner station for the S frame can be reduced. Can be quick. Therefore, it is possible to respond to a change in state in more real time.

【0019】(実施例2)図4は本発明の請求項2の一
実施例に則したリンク切断要求例と比較例のリンク切断
要求例を示す図であり、図5は本発明の請求項2の一実
施例に則した動作フローを示すフローチャートである。
ここでは、図4の上段が比較例、図4の下段が本実施例
である。本実施例は、図1のG4ファクシミリに適用す
る場合である。
(Embodiment 2) FIG. 4 is a diagram showing a link disconnection request example according to an embodiment of claim 2 of the present invention and a link disconnection request example of a comparative example, and FIG. 3 is a flowchart showing an operation flow according to an embodiment of No. 2;
Here, the upper part of FIG. 4 is the comparative example, and the lower part of FIG. 4 is the present embodiment. This embodiment is a case where it is applied to the G4 facsimile of FIG.

【0020】まず、図4、5に示すように、データリン
クが設定されて情報転送フェーズとなった後、端末Aで
上位レイヤでエラーが発生してデータリンク切断要求が
来る(処理S11)。この時、Iフレームが送信中であれ
ば(処理S12)、これをアボートして(処理S13)、切
断要求を行うフレームDISCを生成して送出する(処
理S14)。これに対してその確認フレームであるUAを
受けてリンク切断となる。
First, as shown in FIGS. 4 and 5, after the data link is set and the information transfer phase is entered, an error occurs in the upper layer in the terminal A and a data link disconnection request comes (process S 11 ). . At this time, if the I frame is being transmitted (process S 12 ), it is aborted (process S 13 ), and a frame DISC for making a disconnection request is generated and transmitted (process S 14 ). On the other hand, receiving the confirmation frame UA, the link is disconnected.

【0021】このように本実施例では、Uフレームの送
出要求があった場合、送信中のIフレームをアボートす
るHDLC制御手順を用いたデータ伝送を行うことがで
きる。このため、Uフレームの送出要求があった場合、
Iフレームが送出中であってもそれをアボートしてUフ
レームを送出することができるので、無駄なIフレーム
送出を行わずにデータリンクの切断処理及び再設定処理
を迅速に行うことができる。
As described above, in this embodiment, when a U frame transmission request is issued, data transmission can be performed using the HDLC control procedure for aborting the I frame being transmitted. Therefore, if there is a U frame transmission request,
Even if the I frame is being sent, the U frame can be sent by aborting the I frame, so that the data link disconnection process and the resetting process can be quickly performed without wasteful I frame transmission.

【0022】(実施例3)図6は本発明の請求項3の一
実施例に則したIフレーム再送例と比較例のIフレーム
再送例を示す図である。ここでは、図6の上段が比較
例、図6の下段が本実施例である。本実施例は、図1の
G4ファクシミリに適用する場合である。まず、図6に
示すように、データリンクが設定されて情報転送フェー
ズとなった後、端末Bで端末AからのIフレーム欠落を
認識して再送要求のREJを送出する。次いで、端末A
ではREJを認識して、その時Iフレーム送出中であれ
ばこれをアボートして、再送Iフレームを送出する。こ
のため、不用意なIフレームの送出を防ぎ、かつ迅速な
再送処理を行うことができる。そして、端末Bからのビ
ジー通知フレームRNR受信時は、送信フレームをアボ
ートすることにより端末Bへの負荷をなくし、端末Aで
は即他のフレーム送出を行うことができる。
(Embodiment 3) FIG. 6 is a diagram showing an I frame retransmission example according to an embodiment of claim 3 of the present invention and an I frame retransmission example of a comparative example. Here, the upper part of FIG. 6 is a comparative example, and the lower part of FIG. 6 is the present embodiment. This embodiment is a case where it is applied to the G4 facsimile of FIG. First, as shown in FIG. 6, after the data link is set and the information transfer phase is entered, the terminal B recognizes the lack of the I frame from the terminal A and sends out the REJ of the retransmission request. Then terminal A
Then, REJ is recognized, and if an I frame is being sent at that time, it is aborted and a retransmitted I frame is sent. For this reason, careless transmission of the I frame can be prevented, and quick resend processing can be performed. When the busy notification frame RNR is received from the terminal B, the load on the terminal B is eliminated by aborting the transmission frame, and the terminal A can immediately send another frame.

【0023】このように本実施例では、再送要求及びビ
ジー通知のSフレーム受信時に送信中のIフレームをア
ボートするHDLC制御手順を用いたデータ伝送を行う
ことができる。このため、再送要求及びビジー通知のS
フレーム受信時に、Iフレームが送出中であってもそれ
をアボートすることができるので、無駄なIフレーム送
出を行わずに迅速な再送処理及びビジー処理を行うこと
ができる。
As described above, in this embodiment, data transmission can be performed using the HDLC control procedure for aborting the I frame that is being transmitted when the S frame for the retransmission request and the busy notification is received. Therefore, S for resend request and busy notification
Since it is possible to abort an I frame even when it is being sent at the time of receiving a frame, it is possible to perform a quick retransmitting process and a busy process without wasteful I frame sending.

【0024】(実施例4)図7は本発明の請求項4の一
実施例に則した未送出バイト数認識例を示す図であり、
図8は本発明の請求項4の一実施例に則した動作フロー
を示すフローチャートである。本実施例は、図1のG4
ファクシミリに適用する場合である。まず、図7、8に
示すように、データリンクが設定されて情報転送フェー
ズとなった後、端末Bがメモリ不足のため受信ビジーと
なりビジー通知のためのRNRを送出する。次いで、端
末AではRNRを認識して、その時Iフレーム送出中で
あれば(処理S21)、その時点での未送出バイト数を確
認し、未送出バイト数>所定の設定値(基本的に小さい
値とする)であれば(処理S22)、これ以上不用意なI
フレーム送出をせずにアボートし(処理S23)、再送処
理及びビジー処理する(処理S25)。一方、未送出バイ
ト数≦所定の設定値であれば(処理S22)、送出中のI
フレームの送信を完了し(処理S24)、再送処理及びビ
ジー処理を行う(処理S25)。端末Bでは、場合によっ
てこのIフレームを受信できるし、また、できなかった
としても、アボートされずに送出されたバイト数は小さ
い値であるので、時間的な影響は小さい。このため、ビ
ジー通知を受けたタイミングにより効率の良いIフレー
ム送信を行うことができる。
(Embodiment 4) FIG. 7 is a diagram showing an example of recognition of the number of untransmitted bytes according to an embodiment of claim 4 of the present invention.
FIG. 8 is a flow chart showing an operation flow according to an embodiment of claim 4 of the present invention. This embodiment uses G4 of FIG.
This is the case when applied to a facsimile. First, as shown in FIGS. 7 and 8, after the data link is set and the information transfer phase is entered, the terminal B becomes busy due to lack of memory and sends out an RNR for busy notification. Next, the terminal A recognizes the RNR, and if the I frame is being transmitted at that time (process S 21 ), the number of untransmitted bytes at that time is confirmed, and the number of untransmitted bytes> predetermined set value (basically If it is a small value) (process S 22 ), I
Abort without frame sending (processing S 23), to retransmission processing and busy (processing S 25). On the other hand, if the number of untransmitted bytes ≦ a predetermined setting value (process S 22 ), the I being transmitted is transmitted.
The transmission of the frame is completed (process S 24 ), and the retransmission process and the busy process are performed (process S 25 ). The terminal B can receive this I frame depending on the case, and even if it cannot be received, the number of bytes transmitted without being aborted is a small value, so that the time effect is small. Therefore, efficient I frame transmission can be performed at the timing when the busy notification is received.

【0025】このように本実施例では、送信中のフレー
ムの未送出バイト数を認識し、ビジー通知のSフレーム
受信時に未送出バイト数が所定の設定値より多い時のみ
アボートするのを選択するHDLC制御手順を用いたデ
ータ伝送を行うことができる。このため、ビジー通知の
Sフレーム受信時に、Iフレーム送出中であっても未送
出バイト数によりIフレームのアボートをするかしない
かを判断することができるので、効率の良いIフレーム
送出及び迅速なビジー処理を行うことができる。
In this way, in this embodiment, the number of untransmitted bytes of the frame being transmitted is recognized, and when the number of untransmitted bytes of the busy notification S frame is received is larger than a predetermined set value, abort is selected. Data transmission using the HDLC control procedure can be performed. For this reason, when the busy notification S frame is received, it is possible to determine whether or not to abort the I frame depending on the number of untransmitted bytes even when the I frame is being sent. Busy processing can be performed.

【0026】[0026]

【発明の効果】本発明によれば、Sフレームが送出され
るまでの時間を短縮してSフレームに対する相手局の動
作を迅速にすることができるとともに、無駄なIフレー
ム送出を行わずにデータリンクの切断処理及び再設定処
理を迅速に行うことができ、しかも無駄なIフレーム送
出を行わずに再送処理及びビジー処理を迅速に行うこと
ができ、更には効率の良いフレーム送出を行うことがで
きるという効果がある。
According to the present invention, the time until the S frame is transmitted can be shortened to speed up the operation of the partner station with respect to the S frame, and data can be transmitted without wasteful I frame transmission. The link disconnection process and the reconfiguration process can be quickly performed, and the retransmission process and the busy process can be quickly performed without wasteful I frame transmission, and more efficient frame transmission can be performed. The effect is that you can do it.

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

【図1】本発明の各実施例に則したG4ファクシミリに
応用した場合の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration when applied to a G4 facsimile according to each embodiment of the present invention.

【図2】本発明の請求項1の一実施例に則した再送要求
例を示す図である。
FIG. 2 is a diagram showing an example of a retransmission request according to an embodiment of claim 1 of the present invention.

【図3】本発明の請求項1の一実施例に則した動作フロ
ーを示すフローチャートである。
FIG. 3 is a flowchart showing an operation flow according to an embodiment of claim 1 of the present invention.

【図4】本発明の請求項2の一実施例に則したリンク切
断要求例と比較例のリンク切断要求例を示す図である。
FIG. 4 is a diagram showing a link disconnection request example according to an embodiment of claim 2 of the present invention and a link disconnection request example of a comparative example.

【図5】本発明の請求項2の一実施例に則した動作フロ
ーを示すフローチャートである。
FIG. 5 is a flowchart showing an operation flow according to an embodiment of claim 2 of the present invention.

【図6】本発明の請求項3の一実施例に則したIフレー
ム再送例と比較例のIフレーム再送例を示す図である。
FIG. 6 is a diagram showing an I frame retransmission example according to an embodiment of claim 3 of the present invention and an I frame retransmission example of a comparative example.

【図7】本発明の請求項4の一実施例に則した未送出バ
イト数認識例を示す図である。
FIG. 7 is a diagram showing an example of recognizing the number of untransmitted bytes according to an embodiment of claim 4 of the present invention.

【図8】本発明の請求項4の一実施例に則した動作フロ
ーを示すフローチャートである。
FIG. 8 is a flowchart showing an operation flow according to an embodiment of claim 4 of the present invention.

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

1 システム制御部 2 画像蓄積部 3 符号化復号化部 4 通信制御部 5 入力部 6 出力部 7 操作部 8 計時部 9 Sフレーム制御部 10 Uフレーム制御部 11 Iフレーム制御部 12 通信用メモリ 13 上位レイヤ制御部 14 HDLC用通信LSI 15 フレーム送受制御部 16 LAPB制御部 1 system control unit 2 image storage unit 3 encoding / decoding unit 4 communication control unit 5 input unit 6 output unit 7 operation unit 8 timekeeping unit 9 S frame control unit 10 U frame control unit 11 I frame control unit 12 communication memory 13 Upper layer control unit 14 HDLC communication LSI 15 Frame transmission / reception control unit 16 LAPB control unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】データフレーム送信用の送信キューに複数
のデータフレームが繋がれている状態で、監視フレーム
(Sフレーム:Supervisory frame)
の送出要求があった場合、これを送信キュー内の情報転
送フレーム(Iフレーム:Information t
ransfer frame)より高い優先度で送信キ
ューに繋ぐ処理を行なうHDLC(High leve
l Data Link Control)制御手順を
用いたデータ伝送手段を有することを特徴とするデータ
通信装置。
1. A monitoring frame (S frame: Supervision frame) in a state where a plurality of data frames are connected to a transmission queue for transmitting data frames.
Of the information transfer frame (I frame: Information t) in the transmission queue.
HDLC (High level) that performs processing to connect to the transmission queue with a higher priority than transfer frame (transfer frame)
l Data Link Control) A data communication device having a data transmission means using a control procedure.
【請求項2】非番号制フレーム(Uフレーム:Unnu
mbered frame)の送出要求があった場合、
送信中の該非番号制フレームをアボートするHDLC制
御手順を用いたデータ伝送手段を有することを特徴とす
る請求項1記載のデータ通信装置。
2. An unnumbered frame (U frame: Unnu)
If there is a request to send a (framed frame),
2. The data communication device according to claim 1, further comprising a data transmission unit using an HDLC control procedure for aborting the unnumbered frame being transmitted.
【請求項3】再送要求及びビジー通知の監視フレーム受
信時に、送信中の情報転送フレームをアボートするHD
LC制御手順を用いたデータ伝送手段を有することを特
徴とする請求項1乃至2記載のデータ通信装置。
3. An HD for aborting the information transfer frame being transmitted when a resend request and a busy notification supervisory frame are received.
3. The data communication device according to claim 1, further comprising a data transmission unit using an LC control procedure.
【請求項4】送信中の情報転送フレームの未送出バイト
数を認識する機能を有し、ビジー通知の監視フレーム受
信時に、未送出バイト数が所定の設定値より多い時のみ
アボートするのを選択するHDLC制御手順を用いたデ
ータ伝送手段を有することを特徴とする請求項1乃至3
記載のデータ通信装置。
4. Having a function of recognizing the number of untransmitted bytes of an information transfer frame being transmitted, and selecting to abort only when the number of untransmitted bytes is greater than a predetermined set value when a busy notification monitoring frame is received. 4. A data transmission means using the HDLC control procedure according to claim 1,
The described data communication device.
JP33987692A 1992-12-21 1992-12-21 Data communication device Expired - Fee Related JP3249209B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33987692A JP3249209B2 (en) 1992-12-21 1992-12-21 Data communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33987692A JP3249209B2 (en) 1992-12-21 1992-12-21 Data communication device

Publications (2)

Publication Number Publication Date
JPH06188942A true JPH06188942A (en) 1994-07-08
JP3249209B2 JP3249209B2 (en) 2002-01-21

Family

ID=18331660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33987692A Expired - Fee Related JP3249209B2 (en) 1992-12-21 1992-12-21 Data communication device

Country Status (1)

Country Link
JP (1) JP3249209B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010035652A (en) * 1999-10-01 2001-05-07 박종섭 HDLC controller and method for communication between processor of communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010035652A (en) * 1999-10-01 2001-05-07 박종섭 HDLC controller and method for communication between processor of communication system

Also Published As

Publication number Publication date
JP3249209B2 (en) 2002-01-21

Similar Documents

Publication Publication Date Title
EP0260470A2 (en) High speed modem
JPH0846666A (en) Control equipment for exchange of signal messge
CA1223650A (en) Data communication method and circuitry
JP2778373B2 (en) Buffer device with retransmission function
JPH06188942A (en) Data communication equipment
JPH06152687A (en) Data transmission method
JPH03191649A (en) Method and device for transferring data at high speed
JP2793221B2 (en) G4 facsimile communication system in ISDN
JPH0983775A (en) Facsimile equipment
JPH11239173A (en) Congestion controlled communication system
JP3389699B2 (en) Facsimile machine
JP2795863B2 (en) Data terminal equipment
JP2795777B2 (en) Network controller
JP3211889B2 (en) Control method of additional device inserted into communication line, exchange thereof, and recording medium recording program thereof
JPH09153996A (en) Communication equipment
JP2924215B2 (en) G4 facsimile special communication setting method
KR930004100B1 (en) Method for embodying full duplex communication protocol
JPH0955775A (en) Data transmission device
JP3355822B2 (en) Facsimile machine
JP2922706B2 (en) ISDN packet switching system
JP3243267B2 (en) ISDN data terminal equipment
JP3340314B2 (en) Communication control device
JPH02164152A (en) Communication controller
JPH063925B2 (en) Shared channel access control circuit
JPH09153995A (en) Communication equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111109

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111109

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees