JPH05268292A - Data communication equipment - Google Patents

Data communication equipment

Info

Publication number
JPH05268292A
JPH05268292A JP4060690A JP6069092A JPH05268292A JP H05268292 A JPH05268292 A JP H05268292A JP 4060690 A JP4060690 A JP 4060690A JP 6069092 A JP6069092 A JP 6069092A JP H05268292 A JPH05268292 A JP H05268292A
Authority
JP
Japan
Prior art keywords
data
xon
equipment
transmission
dte
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.)
Pending
Application number
JP4060690A
Other languages
Japanese (ja)
Inventor
Masayuki Okamoto
昌之 岡本
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4060690A priority Critical patent/JPH05268292A/en
Publication of JPH05268292A publication Critical patent/JPH05268292A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To prevent the impossibility of subsequent transmission when a transmitting side can not receive an XON signal by providing a timer which is stopped when data is received after the sending of the XON, and outputs and instructs the transmission of the XON when the data is not received for a period longer than definite time. CONSTITUTION:Data circuit terminating equipment (DCE) 2 can receive the data when it detects the ON of a data terminal ready DTR signal from data terminal equipment (DTE) 1. When stored quantity in a receiving buffer exceeds a first threshold by the received data, an XOFF signal is outputted to the equipment DTE 1. When the data in the buffer is processed by a control part 22, and the stored quantity in the receiving buffer decreases down to a second threshold, the equipment 2 outputs the XON to the equipment DTE 1 so as to enable the transmission of the data from the equipment DTE 1. At that time, it starts the timer 221, and stops the timer 221 when it receives the data, and when a period of time longer than the definite time elapses, the equipment DCE 2 outputs again the XON to the equipment DTE 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データ通信装置に関
し、特に、データ送信制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication device, and more particularly to data transmission control.

【0002】[0002]

【従来の技術】従来のデータ通信装置は、データ受信側
の受信バッファのデータ蓄積量が第2の閾値未満になっ
た時点で一度だけ相手装置にXON信号が出力されるよ
うになっていた。
2. Description of the Related Art In a conventional data communication device, an XON signal is output to a partner device only once when the amount of data stored in a reception buffer on the data receiving side becomes less than a second threshold value.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、この従
来のデータ通信装置では、XON信号の送出が第2の閾
値未満になった時点で一度だけ相手装置に行われるの
で、このXON信号が伝送路エラー或は相手装置のシリ
アル通信コントローラでの受信オーバラン・エラーによ
り受信できなかった時には、XOFF状態が続いている
とみなし、永久にデータ送信ができなくなるという課題
があった。
However, in this conventional data communication apparatus, since the transmission of the XON signal is performed to the partner apparatus only once when it becomes less than the second threshold value, this XON signal causes a transmission line error. Alternatively, when reception cannot be performed due to a reception overrun error in the serial communication controller of the partner device, it is considered that the XOFF state continues, and there is a problem that data transmission is permanently disabled.

【0004】本発明は従来の上記実情に鑑みてなされた
ものであり、従って本発明の目的は、従来の技術に内在
する上記課題を解決することを可能とした新規なデータ
通信装置を提供することにある。
The present invention has been made in view of the above conventional circumstances, and therefore, an object of the present invention is to provide a novel data communication apparatus capable of solving the above problems inherent in the conventional technology. Especially.

【0005】[0005]

【課題を解決するための手段】上記目的を達成する為
に、本発明に係るデータ通信装置は、XOFF信号を送
出した後に受信バッファのデータ蓄積量が第2の閾値ま
で減少した時に相手装置にXON信号を送出した後に起
動され、起動中にデータ受信すれば停止、データ受信が
なくある設定時間を越えた時には再びXON信号の送信
を指示するタイマを備えて構成される。
In order to achieve the above object, a data communication apparatus according to the present invention provides a partner apparatus when the amount of data stored in a reception buffer decreases to a second threshold after sending an XOFF signal. The timer is activated after sending the XON signal, and is stopped if data is received during the activation, and is again provided with a timer for instructing the transmission of the XON signal when a certain set time is exceeded without data reception.

【0006】[0006]

【実施例】次に、本発明をその好ましい一実施例につい
て図面を参照して具体的に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described in detail with reference to the accompanying drawings with reference to the accompanying drawings.

【0007】図1は本発明の一実施例を示すブロック構
成図である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0008】図1を参照するに、データ端末装置(DT
E)1とデータ回線終端装置(DCE)2は、シリアル
・インターフェイスで接続され、各々にシリアル・デー
タを受信してパラレル・データに変換し、逆にパラレル
・データをシリアル・データに変換して送信するシリア
ル・コントローラ11、21、送信データの生成及び受
信データの解析を行う制御部12、22を有している。
本制御部12、22にそれぞれタイマ121、221が
備えられている。
Referring to FIG. 1, a data terminal device (DT
E) 1 and the data circuit terminating device (DCE) 2 are connected by a serial interface, and each receive serial data and convert it into parallel data, and vice versa, convert parallel data into serial data. It has serial controllers 11 and 21 for transmission, and control units 12 and 22 for generating transmission data and analyzing received data.
The control units 12 and 22 are provided with timers 121 and 221 respectively.

【0009】本発明の動作を説明する動作フローを図2
に示す。本図2においてはデータ回線終端装置(DC
E)における動作を示しており、データ回線終端装置
(DCE)は、データ端末装置(DTE)から送信され
るDTR信号が“ON”になっていることを検出する
と、データ受信を可能とする。受信したデータにより受
信バッファに蓄積されている量がある第1の閾値TH
を越えた時、データ端末装置(DTE)に対しXOFF
を出力する。
FIG. 2 shows an operation flow for explaining the operation of the present invention.
Shown in. In FIG. 2, the data line termination device (DC
The operation in E) is shown, and the data circuit terminating device (DCE) enables data reception when it detects that the DTR signal transmitted from the data terminal device (DTE) is "ON". The first threshold TH which has the amount accumulated in the reception buffer according to the received data
XOFF for data terminal equipment (DTE)
Is output.

【0010】バッファ内のデータ処理が制御部22によ
り行われ、受信バッファに蓄積されている量がある第2
の閾値THまで減少した時に、データ回線終端装置
(DCE)は、データ端末装置(DTE)に対しXON
を出力し、データ端末装置(DTE)からデータ送信を
可能にする。
The data processing in the buffer is performed by the control unit 22, and there is an amount accumulated in the reception buffer.
When the data line terminal equipment (DCE) is reduced to the threshold value TH of
To enable data transmission from the data terminal equipment (DTE).

【0011】この時タイマ221を起動し、起動中にデ
ータ受信があればこのタイマ221を停止させるが、タ
イマ221がある一定時間Tth以上経過したならば、
データ回線終端装置(DCE)は再びデータ端末装置
(DTE)に対してXONを出力するようにする。
At this time, the timer 221 is activated, and if data is received during activation, this timer 221 is stopped. If the timer 221 has exceeded a certain time Tth,
The data circuit terminating equipment (DCE) again outputs XON to the data terminal equipment (DTE).

【0012】[0012]

【発明の効果】以上説明したように、本発明によれば、
受信バッファのデータ量が第2の閾値未満の量に減少
し、送信側にXON信号を送出した後に起動されるタイ
マを設け、このタイマがある一定時間以上経過した時に
再び送信側にXON信号を送出することにより、最初の
XON信号が伝送路上でエラーが発生し送信側で受信で
きないようなことが発生しても、この再送機能により送
信側が再びデータ送信を再開できるという効果が得られ
る。
As described above, according to the present invention,
A timer that is activated after the amount of data in the receive buffer is reduced to less than the second threshold and the XON signal is sent to the transmitting side, and when the timer exceeds a certain time, the XON signal is sent to the transmitting side again. By sending the data, even if an error occurs in the first XON signal on the transmission line and the transmission side cannot receive the signal, the retransmission function has an effect that the transmission side can restart data transmission.

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

【図1】本発明の一実施例を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の一実施例の動作フロー図である。FIG. 2 is an operation flow chart of an embodiment of the present invention.

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

1…データ端末装置(DTE) 11…シリアル通信コントローラ 12…制御部 121…タイマ 2…データ回線終端装置(DCE) 21…シリアル通信コントローラ 22…制御部 221…タイマ DESCRIPTION OF SYMBOLS 1 ... Data terminal equipment (DTE) 11 ... Serial communication controller 12 ... Control part 121 ... Timer 2 ... Data line terminal (DCE) 21 ... Serial communication controller 22 ... Control part 221 ... Timer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データ端末装置とデータ回線終端装置間
でデータ受信側の受信バッファのデータ量が第1の閾値
を越えたような時に送信側に対しXOFF信号を出力す
ることにより送信側からのデータ送信を停止させ、第2
の閾値までデータ処理が完了した時にXON信号を送信
側に出力することによりデータ送信を再開させてデータ
送信を制御するシリアル通信において、XON送出後に
データ受信があった場合には停止され、ある一定時間以
上データ受信がない時にはXON送信を相手装置に出力
させることを指示するタイマを備えることを特徴とする
データ通信装置。
1. When the amount of data in the receiving buffer on the data receiving side between the data terminal device and the data circuit terminating device exceeds the first threshold value, an XOFF signal is output to the transmitting side so that Stop data transmission, second
In the serial communication in which the data transmission is restarted by outputting the XON signal to the transmission side when the data processing is completed up to the threshold value, the data transmission is stopped after the XON transmission, and is stopped at a certain level. A data communication device comprising a timer for instructing a partner device to output XON transmission when no data is received for a time or more.
JP4060690A 1992-03-17 1992-03-17 Data communication equipment Pending JPH05268292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4060690A JPH05268292A (en) 1992-03-17 1992-03-17 Data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4060690A JPH05268292A (en) 1992-03-17 1992-03-17 Data communication equipment

Publications (1)

Publication Number Publication Date
JPH05268292A true JPH05268292A (en) 1993-10-15

Family

ID=13149552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4060690A Pending JPH05268292A (en) 1992-03-17 1992-03-17 Data communication equipment

Country Status (1)

Country Link
JP (1) JPH05268292A (en)

Similar Documents

Publication Publication Date Title
US5938748A (en) Data transfer mechanism for transfer of real-time data including real-time data computed on-the-fly
US8619809B2 (en) Method, system, and program for managing a speed at which data is transmitted between network adaptors
US5418912A (en) System and method for controlling buffer transmission of data packets by limiting buffered data packets in a communication session
US7061866B2 (en) Metered packet flow for packet switched networks
KR20090025278A (en) Flow control for universal serial bus(usb)
WO2017065923A1 (en) Methods to avoid i2c void message in i3c
EP0513226A1 (en) Serial link data communication protocol
US7602724B2 (en) Method and apparatus for transmitting circuitry that transmit data at different rates
US5295156A (en) Modem
JP2000244595A (en) Method and device for high-speed transition from low power state to full power state in communication system
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
JPH05268292A (en) Data communication equipment
US7930341B1 (en) Extended flow-control for long-distance links
US5485583A (en) System for controlling data transfer by setting and decrementing a counter based on the number of error correction bits and transfer bit rate respectively
AU609791B2 (en) Improvements in or relating to data communication systems
CN115061968B (en) Interface processor and interface processing system
JP2546218B2 (en) Data communication device
JPH01117439A (en) Data communication system
WO2007021209A1 (en) System for controlling a device over a communication channel
JPS63202154A (en) Serial communication system
JPH03148939A (en) Packet transmitter
JPS6359243A (en) Data communication equipment
JPH01180159A (en) Transmission control method and its equipment
JPH0399571A (en) Transmission level adjusting method for terminal equipment
JPH0378057A (en) Information processor