JPH0440727A - Communication controller suited to osi transport protocol class 4 - Google Patents

Communication controller suited to osi transport protocol class 4

Info

Publication number
JPH0440727A
JPH0440727A JP2149076A JP14907690A JPH0440727A JP H0440727 A JPH0440727 A JP H0440727A JP 2149076 A JP2149076 A JP 2149076A JP 14907690 A JP14907690 A JP 14907690A JP H0440727 A JPH0440727 A JP H0440727A
Authority
JP
Japan
Prior art keywords
time
timer
counter
signal
tpdu
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
JP2149076A
Other languages
Japanese (ja)
Inventor
Koichiro Seto
康一郎 瀬戸
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable 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 Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP2149076A priority Critical patent/JPH0440727A/en
Publication of JPH0440727A publication Critical patent/JPH0440727A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the processing time related to a timer which monitors the inactive time and the window time by using a common timer to monitor both times. CONSTITUTION:A control part 2 receives a signal TC for settlement of the connection and starts a timer 1. Then the timer 1 produces a time-out signal 102. At the same time, a counter 3 counts the number M of continuous intervals T when no TPDU is received. When the M exceeds a prescribed level, a comparator 5 outputs an inactive time elapsed signal 105. Then the part 2 releases the connection. Meanwhile a counter 4 counts the number N of continuous time intervals T when no AK TPDU is transmitted by means of the signal 102 received from the timer 1. When the N exceeds a prescribed level, a comparator 6 outputs a window time elapsed signal 108. Then the part 2 transmits the AK TPDU.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明は05I)ランスポートプロトコル・クラス4に
適合する通信制御装置、特にOSIトランスポートプロ
トコル・クラス4を満足するための時間監視を改良した
通信制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention provides improved communication control equipment that satisfies 05I transport protocol class 4, particularly time monitoring that satisfies OSI transport protocol class 4. It relates to a communication control device.

〔従来の技術〕[Conventional technology]

03I)ランスポートプロトコル・久ラス4は開放型シ
ステム間相互接続(O3I)における通信を円滑にする
ためのトランスポートプロトコルで、エラーの検出およ
び回復の機能を含むものである。O3I Mランスポー
トプロトコル・クラス4に関しJIS  X  510
9では、トランスポートプロトコルデータ単位(以下、
TPDUと略称)の受信なしに無活動時間Iが満了する
と、トランスポートエンティティは開放手順を開始し、
また相手局のトランスポートエンティティの無活動監視
タイマがタイムアウトしないよう、自局のトランスポー
トエンティティが適切な時間間隔で確認トランスポート
プロトコルデータ単位(以下、AK  TPDUと略称
)を送信しなければならないとされている。そしてこれ
を保証するため、トランスポートエンティティは少なく
ともウィンドウ時間W内に1回、AK  TPDUを送
信しなければならないとされている。
03I) Transport Protocol Kurasu 4 is a transport protocol for facilitating communication in Open Systems Interconnection (O3I) and includes error detection and recovery functions. JIS X 510 regarding O3IM transport protocol class 4
9, the transport protocol data unit (hereinafter referred to as
When the inactivity time I expires without receiving a TPDU), the transport entity initiates a release procedure;
In addition, to prevent the inactivity monitoring timer of the remote station's transport entity from timing out, the local station's transport entity must transmit an acknowledgment transport protocol data unit (hereinafter abbreviated as AK TPDU) at appropriate time intervals. has been done. In order to guarantee this, the transport entity is required to transmit an AK TPDU at least once within the window time W.

従来の05I)ランスポートプロトコル・クラス4実装
すなわち同プロトコルに適合する通信制御装置において
は、上記を満たすように時間監視を行うため、第6図に
示すように、スタート後無活動時間Iを経過するとタイ
ムアウト通知するIタイマ61と、スタート後ウィンド
ウ時間Wを経過するとタイムアウト通知するWタイマ6
2と、■タイマ61およびWタイマ62のスタート、ス
トップ、リスタートを制御する制御部63を設け、第7
図に示す手順が実行されるようにしていた。
In the conventional 05I) transport protocol class 4 implementation, that is, in the communication control device that complies with the same protocol, in order to monitor the time to satisfy the above, as shown in Fig. 6, the inactivity time I has elapsed after the start. Then, the I timer 61 notifies you of a timeout, and the W timer 6 notifies you of a timeout when the window time W has elapsed after the start.
2, and a control section 63 for controlling start, stop, and restart of the timer 61 and
The steps shown in the figure were executed.

すなわち、■タイマ61はコネクション確立時に制御部
63から発するスタート信号601によりスタートする
(第7図(A))が、無活動時間■経過前にTPDU受
信があると、制御部63がら発するストップ信号602
により途中ストップしてスタート信号601によりリス
タートしく第7図(B))、またWタイマ62はコネク
ション確立時に制御部63から発するスタート信号60
3によりスタートする(第7図(A))が、ウィンドウ
時間W経過前にAK  TPDU送信が行われると、制
御部63から発するストップ信号604により途中スト
ップしてスタート信号603によりリスタートする(第
7図(C))ように構成し、スタートまたはリスタート
したWタイマ62からウィンドウ時間Wのタイムアウト
信号605が出力されると、制御部63によりAK  
TPDU送信を行うとともにWタイマ62をリスタート
させ(第7図(D))、■タイマ61から無活動時間■
のタイムアウト信号606が出力されると、制御部63
を介しコネクション開放手順が開始される(第7図(E
))ようにしていた。
That is, the timer 61 is started by a start signal 601 issued from the control unit 63 when a connection is established (FIG. 7(A)), but if a TPDU is received before the inactivity time has elapsed, the timer 61 is started by a stop signal issued from the control unit 63. 602
The W timer 62 is stopped midway and restarted by the start signal 601 (FIG. 7(B)), and the W timer 62 receives the start signal 60 issued from the control unit 63 when the connection is established.
3 (FIG. 7(A)), but if AK TPDU transmission is performed before the window time W elapses, it is stopped halfway by a stop signal 604 issued from the control unit 63 and restarted by a start signal 603 (Fig. 7 (A)). When the timeout signal 605 of the window time W is output from the W timer 62 configured as shown in FIG.
At the same time as transmitting the TPDU, the W timer 62 is restarted (Fig. 7 (D)), and the timer 61 determines the inactivity time.
When the timeout signal 606 is output, the control unit 63
The connection opening procedure is started via
)) was like that.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、従来のO3Iトランスポートプロトコル・クラ
ス4適合通信制御装置においては、無活動時間Iとウィ
ンドウ時間Wの監視のためそれぞれタイマを設け、それ
らをTPDU受信およびAK  TPDU送信の都度リ
スタートさせていたので、タイマに関連する処理時間が
長くなった。
However, in the conventional O3I transport protocol class 4 compliant communication control device, timers were provided to monitor the inactivity time I and the window time W, and these were restarted each time a TPDU was received and an AK TPDU was sent. So the processing time associated with the timer became longer.

従って本発明の目的は、無活動時間とウィンドウ時間の
監視のためのタイマに関連する処理時間を短縮した、0
31)ランスポートプロトコル・クラス4適合通信制御
装置を提供することである。
It is therefore an object of the present invention to reduce the processing time associated with timers for monitoring inactivity and window times.
31) To provide a transport protocol class 4 compliant communication control device.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では、無活動時間とウィンドウ時間の監視のため
のタイマに関連する処理時間を短縮したOSIトランス
ポートプロトコル・クラス4適合通信制御装置を提供す
るため、無活動時間Iとウィンドウ時間Wをそれぞれ2
以上の正の整数M0およびNo  CMo >No)で
分割した時間T(T= I/M、= I/N、”)を計
時したときタイムアウト信号を出力するタイマと、タイ
マのタイムアウト信号を計数する第1および第2のカウ
ンタと、通信路のコネクションが確立したとき、タイマ
を起動するとともに第1および第2のカウンタを1にし
、TPDUを受信したとき第1のカウンタを、AK  
TPDUを送信したとき第2のカウンタを、それぞれ0
にし、第1のカウンタの計数値が整数値M0より大にな
ったときコネクションを解放し、第2のカウンタの計数
値が整数値N0に等しいかそれより大になったときAK
TPDUを送信し、第1のカウンタの計数値が整数値M
0より大になる迄はタイマをタイムアウト後再スタート
させる制御部を備えるようにした。
In the present invention, in order to provide an OSI transport protocol class 4 compliant communication control device that reduces processing time associated with timers for monitoring inactivity time and window time, inactivity time I and window time W are respectively 2
A timer that outputs a timeout signal when it measures the time T (T = I/M, = I/N, ") divided by the above positive integer M0 and No CMo > No), and a timer that counts the timeout signal of the timer. When the connection between the first and second counters and the communication path is established, a timer is started and the first and second counters are set to 1, and when a TPDU is received, the first counter is set to AK.
When a TPDU is sent, the second counter is set to 0.
AK when the count value of the first counter becomes greater than the integer value M0, the connection is released, and the count value of the second counter becomes equal to or greater than the integer value N0.
TPDU is transmitted, and the count value of the first counter is an integer value M.
A control unit is provided that restarts the timer after timeout until the timer becomes larger than 0.

タイムアウト通知の発生回数を少なくするためには、M
oおよびNoは比較的小さく、すなわち時間Tは大きい
方がよい。しかしMoおよびNoを小さくする(2より
小さくはできない)と、タイマによる時間監視の精度は
低下する。それ故、時間監視の精度を考慮した上で、W
/2以下の範囲内でできるだけ大きい値とすることが望
ましい。
To reduce the number of timeout notifications, M
It is better for o and No to be relatively small, that is, for time T to be large. However, if Mo and No are made small (they cannot be made smaller than 2), the accuracy of time monitoring by the timer decreases. Therefore, considering the accuracy of time monitoring, W
It is desirable to set the value as large as possible within the range of /2 or less.

〔作用〕[Effect]

本発明の装置では、タイマにより無活動時間■とウィン
ドウ時間Wをそれぞれ2以上の正の整数M0およびNo
  (Me >No)で分割した時間T(T=I/M、
=I/No )を計時し、タイマのタイムアウト信号を
第1のカウンタで計数してゆき、計数値がMoより大に
なったとき制御部によりコネクションを解放する。TP
DUが受信されたとき、制御部により第1のカウンタは
0にリセットされるから、第1のカウンタの計数値がM
oより大になったことはTPDUの受信なしに時間M。
In the device of the present invention, the timer determines the inactivity time ■ and the window time W by positive integers M0 and No. of 2 or more, respectively.
Time T (T=I/M, divided by (Me > No)
=I/No), the timeout signal of the timer is counted by a first counter, and when the counted value becomes greater than Mo, the connection is released by the control unit. T.P.
When a DU is received, the first counter is reset to 0 by the control unit, so that the count value of the first counter becomes M.
It is time M without receiving a TPDU.

T=Iが経過したことを意味する。第1のカウンタの計
数値がMoより大になる前、すなわち時間M、T=Iの
経過前に、TPDUが受信されたときは、第1のカウン
タをOにリセットして、時間Tのタイムアウト信号の計
数が改めて開始される。
It means that T=I has passed. If a TPDU is received before the count value of the first counter becomes greater than Mo, i.e. before the time M, T=I has elapsed, the first counter is reset to O and the time T expires. Signal counting starts anew.

一方、タイマのタイムアウト信号を第2のカウンタでも
計数して、第2のカウンタの計数値がNoに等しいかそ
れより大になったときには、制御部によりAK  TP
DUを送信する。AKTPDUが送信されたとき制御部
により第2のカウンタはOにリセットされるので、第2
のカウンタの計数値がNoに等しいかそれより大になっ
たことは、時間N。T=WまでにAK  TPDUの送
信がなかったことを意味するから、AK  TPDUを
送信し、O3Iプロトコルを満足する。
On the other hand, when the time-out signal of the timer is also counted by the second counter and the count value of the second counter is equal to or greater than No, the control unit outputs AK TP.
Send DU. Since the second counter is reset to O by the control unit when the AKTPDU is transmitted, the second counter is reset to O when the AKTPDU is transmitted.
The count value of the counter becomes equal to or greater than No at time N. Since this means that no AK TPDU has been transmitted until T=W, the AK TPDU is transmitted and the O3I protocol is satisfied.

第1のカウンタの計数値がMoより大にならない間は、
タイマが再スタートされ、タイマの作動は続けられるか
ら、コネクションが解放されるまで、上記の手順の実行
が可能である。
As long as the count value of the first counter does not become larger than Mo,
Since the timer is restarted and continues to run, the above procedure can be performed until the connection is released.

無活動時間Iとウィンドウ時間Wの経過を監視するタイ
マを共通にし、■およびWを整数分割した時間Tの開銀
のTPDU受信およびAK  TPDU送信の有無をカ
ウンタにより記録し、この記録に基づいて無活動時間I
の間のTPDU受信およびウィンドウ時間Wの間のAK
  TPDU送信の有無を判定するので、TPDU受信
およびAKTPDU送信の都度それぞれのカウンタをリ
セットするだけでよく、タイマをリスタートさせる必要
がないから、タイマに関連する処理時間が短縮される。
A common timer is used to monitor the progress of the inactivity time I and the window time W, and a counter records the presence or absence of TPDU reception and AK TPDU transmission at time T, which is obtained by dividing ■ and W by an integer. Activity time I
TPDU reception during and AK during window time W
Since the presence or absence of TPDU transmission is determined, it is only necessary to reset the respective counters each time a TPDU is received and an AKTPDU is transmitted, and there is no need to restart the timer, so the processing time related to the timer is shortened.

以下、実施例により本発明をさらに詳細に説明する。Hereinafter, the present invention will be explained in more detail with reference to Examples.

〔実施例〕〔Example〕

本発明による03I)ランスポートプロトコル適合通信
制御装置の一例を第1図に示す、第1図の通信制御装置
は、タイマ1、制御部2、カウンタ3、カウンタ4、コ
ンパレータ5、コンパレータ6から成る。
An example of the 03I) transport protocol compatible communication control device according to the present invention is shown in FIG. 1. The communication control device in FIG. .

タイマ1は図示しないクロックパルス発生器がらのクロ
ックパルスの供給を受けて所定の時間Tを計時するタイ
マである。タイマ1は、トランスポートコネクション確
立信号TCに応じ制御部2が発するスタート信号101
によりスタートし、時間Tが経過するとタイムアウト信
号102を発する。このタイムアウト信号102はカウ
ンタ3およびカウンタ4に入力される。スタート信号1
01は再スタート信号をも意味し、タイマlは制御部2
が発するスタート信号101により再スタートされる。
Timer 1 is a timer that measures a predetermined time T by receiving clock pulses from a clock pulse generator (not shown). The timer 1 receives a start signal 101 issued by the control unit 2 in response to the transport connection establishment signal TC.
When the time T elapses, a timeout signal 102 is generated. This timeout signal 102 is input to counter 3 and counter 4. Start signal 1
01 also means a restart signal, and timer l is the control unit 2.
It is restarted by the start signal 101 issued by the controller.

カウンタ3はタイムアウト信号102を計数するが、制
御部2からのセット/リセット信号103によりOまた
は1にセットまたはリセットされる。カウンタ3の計数
出力104はコンパレータ5に入力される。後に述べる
ようにリセット信号103は、TPDUを受信したとき
とコネクション解放時に出力される。
The counter 3 counts the timeout signal 102, and is set or reset to O or 1 by a set/reset signal 103 from the control unit 2. The count output 104 of the counter 3 is input to the comparator 5. As described later, the reset signal 103 is output when a TPDU is received and when a connection is released.

コンパレータ5は、カウンタ3の計数出力信号104を
設定値と比較し、前者が設定値M、より大になったとき
、無活動時間経過信号105を出力する。無活動時間経
過信号105は制御部2に入力される。制御部2は、無
活動時間経過信号105を検出すると、コネクションを
解放し、同時にセット/リセット信号103を発して、
カウンタ3をリセットする。
The comparator 5 compares the count output signal 104 of the counter 3 with a set value, and outputs an inactivity time elapsed signal 105 when the former becomes greater than the set value M. The inactivity time elapsed signal 105 is input to the control unit 2. When the control unit 2 detects the inactivity time elapsed signal 105, it releases the connection and simultaneously issues the set/reset signal 103.
Reset counter 3.

カウンタ4はタイムアウト信号102を計数し、計数出
力信号107を出力するが、制御部2からのセット/リ
セット信号106により0または1にセットまたはリセ
ットされる。カウンタ4の計数出力信号107はコンパ
レータ6に入力される。
The counter 4 counts the timeout signal 102 and outputs a count output signal 107, which is set or reset to 0 or 1 by a set/reset signal 106 from the control section 2. The count output signal 107 of the counter 4 is input to the comparator 6.

セット/リセット信号106は、制御部2がAKTPD
Uを送信したとき出力され、カウンタ4をリセットする
The set/reset signal 106 is transmitted by the control unit 2 to the AKTPD.
It is output when U is sent, and counter 4 is reset.

コンパレータ6は、カウンタ4からの計数出力信号10
7を設定値N0と比較し、前者が設定値N0以上になっ
たとき、ウィンドウ時間経過信号108を出力する(N
、=W/T)。ウィンドウ時間経過信号108は制御部
2に入力される。制御部2はウィンドウ時間経過信号1
08(コンパレータ6の出力)を検出すると、AK  
TPDUを送信する。
The comparator 6 receives the count output signal 10 from the counter 4.
7 is compared with the set value N0, and when the former exceeds the set value N0, a window time elapsed signal 108 is output (N
, =W/T). The window time elapsed signal 108 is input to the control section 2. The control unit 2 receives the window time elapsed signal 1.
When detecting 08 (output of comparator 6), AK
Send TPDU.

制御部2は、以下の諸機能をもつ。The control unit 2 has the following functions.

(1)トランスポートコネクション確立の信号TCを受
けると、スタート信号101によりタイマ1をスタート
させる。
(1) Upon receiving the transport connection establishment signal TC, the timer 1 is started by the start signal 101.

(2)トランスポートコネクション確立信号TCが入力
された時点で、セット/リセット信号103゜106を
発生し、それぞれカウンタ3およびカウンタ4を1にセ
ットする。
(2) When the transport connection establishment signal TC is input, set/reset signals 103 and 106 are generated, and counters 3 and 4 are set to 1, respectively.

(3)TPDUを受信すると、カウンタ3にセット/リ
セット信号103を送り、0にリセットする。
(3) Upon receiving the TPDU, it sends a set/reset signal 103 to the counter 3 and resets it to 0.

(4)コンパレータ5の出力信号105を検出したとき
、トランスポートコネクションを解放する。
(4) When the output signal 105 of the comparator 5 is detected, the transport connection is released.

(5)コンパレータ5の出力信号105を検出したとき
、セット/リセット信号106をカウンタ4に供給する
(5) When the output signal 105 of the comparator 5 is detected, the set/reset signal 106 is supplied to the counter 4.

(6)AK  TPDUを送信したとき、カウンタ4に
セット/リセット信号106を送り、0にリセットさせ
る。
(6) When transmitting the AK TPDU, send a set/reset signal 106 to the counter 4 to reset it to 0.

(7)コンパレータ5の出力信号105が検出されない
ときは、コンパレータ6の出力信号 108の有無に係わらず、スタート信号101によりタ
イマ1を再スタートさせる。
(7) When the output signal 105 of the comparator 5 is not detected, the timer 1 is restarted by the start signal 101 regardless of the presence or absence of the output signal 108 of the comparator 6.

上記の通信制御装置の動作を、第2図ないし第5図のフ
ローチャートを参照しながら、以下に説明する。
The operation of the above communication control device will be explained below with reference to the flowcharts of FIGS. 2 to 5.

トランスポートコネクション確立の信号TCを受けると
、制御部2はタイマ1をスタートさせ(第2図 201
,202)、またセット/リセット信号103,106
をそれぞれカウンタ3および4に送り、カウンタ3およ
び4をそれぞれ1にセットする。時間Tが経過する毎に
、タイマ1は時間Tのタイムアウト信号102を発する
Upon receiving the signal TC for establishing a transport connection, the control unit 2 starts timer 1 (201 in Fig. 2).
, 202), and set/reset signals 103, 106
are sent to counters 3 and 4, respectively, and counters 3 and 4 are set to 1, respectively. Each time the time T elapses, the timer 1 issues a time-out signal 102 for the time T.

タイムアウト信号102がカウンタ3に入力され、計数
されるが(第5図501,502)、カウンタ3はTP
DU受信があると制御部2からのセット/リセット信号
103によりOにリセットされるから(第3図 301
〜303)、カウンタ3の計数は、TPDU受信が発生
せずに連続する時間T(のタイムアウト信号)の数Mを
計数することに相当する。カウンタ3の計数値MがMo
を超えたとき(第5図 503)、コンパレータ5から
信号105が出力される。この信号105は無活動時間
経過信号であって、制御部2はこれを検出すると、トラ
ンスポートコネクションを解放する(第5図 504)
The timeout signal 102 is input to the counter 3 and counted (501, 502 in FIG. 5), but the counter 3
When DU is received, it is reset to O by the set/reset signal 103 from the control unit 2 (301 in Fig. 3).
~303), the count of the counter 3 corresponds to counting the number M of (the timeout signal of) consecutive time T without TPDU reception occurring. The count value M of counter 3 is Mo
(503 in FIG. 5), the comparator 5 outputs a signal 105. This signal 105 is an inactivity time elapsed signal, and when the control unit 2 detects this, it releases the transport connection (504 in Fig. 5).
.

上記のような動作によって、無活動時間工の経過中のT
PDU受信の有無が判定され、この間にTPDU受信が
発生しなければコネクションが解放される。なぜなら、
カウンタ3の計数値はTPDU受信なしに時間Tの連続
する数Mを意味するが、コネクション確立時に計数1が
加えられているので、この計数値がMoを超えることは
コネクション確立以後MOXTの間つまり無活動時間■
の間にはTPDU受信がなかったことを意味し、このと
きコンパレータ5が信号105を出力して、制御部2に
よりコネクションが解放されるからである。こうしてタ
イマ1、カウンタ3、コンパレータ5、制御部2の組み
合わせにより、無活動時間Iの間のTPDU受信の有無
が判定され、この判定に基づき制御部2がコネクション
を解放する。なお、カウンタ3はコネクション解放とと
もにセット/リセット信号103によりOにリセットさ
れ、次のコネクシぢン確立に備える。
By the above operation, T during the inactivity time period is
The presence or absence of PDU reception is determined, and if no TPDU reception occurs during this time, the connection is released. because,
The count value of counter 3 means the number M of consecutive time T without receiving TPDU, but since count 1 is added at the time of connection establishment, this count value exceeds Mo during MOXT after connection establishment. Inactive time■
This is because the comparator 5 outputs the signal 105 at this time, and the connection is released by the control unit 2. In this way, the combination of the timer 1, the counter 3, the comparator 5, and the control unit 2 determines whether or not a TPDU has been received during the inactive time I, and based on this determination, the control unit 2 releases the connection. Note that the counter 3 is reset to O by the set/reset signal 103 when the connection is released, and prepares for the establishment of the next connection.

一方、カウンタ4にはタイマ1からのタイムアウト信号
102が入力される(第5図505)。
On the other hand, the timeout signal 102 from the timer 1 is input to the counter 4 (505 in FIG. 5).

コネクション確立後、時間Tのタイムアウト信号102
がカウンタ4で計数され、計数出力信号107が出力さ
れる。しかし、この間にAKTPDU送信があるとカウ
ンタ4はセット/リセット信号106によりリセットさ
れ、計数値は0に戻る(第4図402.第5図508)
、従ってカウンタ4の計数は、AK  TPDUの送信
なしに連続する時間間隔Tの数Nに相当する。カウンタ
4の計数値NがN0以上になったとき(第5図506)
、コンパレータ6から信号108が出力される。この信
号108はウィンドウ時間経過信号であって、制御部2
はこれを検出するとAKTPDUを送信する(第5図 
507)。
After connection establishment, timeout signal 102 at time T
is counted by the counter 4, and a count output signal 107 is output. However, if AKTPDU is transmitted during this time, the counter 4 is reset by the set/reset signal 106, and the count value returns to 0 (402 in Figure 4 and 508 in Figure 5).
, thus the count of counter 4 corresponds to the number N of consecutive time intervals T without transmission of an AK TPDU. When the count value N of counter 4 becomes N0 or more (506 in Figure 5)
, a signal 108 is output from the comparator 6. This signal 108 is a window time elapsed signal, and is
detects this and sends an AKTPDU (Figure 5).
507).

上記のような動作によって、ウィンドウ時間Wの経過中
のAK  TPDU送信の有無が判定され、ウィンドウ
時間Wの満了までにAK  TPDtJ送信が発生しな
ければ、AK  TPDUが送信される。なぜなら、カ
ウンタ4の計数値は前述のようにAK  TPDU送信
なしに時間Tの連続する数Nを意味するが、コネクショ
ン確立時に計数1が加えられているので、この計数値が
Noに達したことは、コネクション確立後(No−i)
x’rの間−度もAK  TPDU送信がなかったこと
を意味し、このときコンパレータ6が信号108を出力
して、制御部2がAK  TPDUを送信するからであ
る。こうしてタイマ1、カウンタ4、コンパレータ6、
制御部2の組み合わせにより、ウィンドウ時間W満了ま
でのAK  TPDU送信の有無が判定され、この判定
に基づきAK  TPDUが送信される。
Through the above-described operations, it is determined whether or not AK TPDU is transmitted during the elapse of window time W, and if AK TPDtJ transmission does not occur by the expiration of window time W, AK TPDU is transmitted. This is because, as mentioned above, the count value of counter 4 means the number N of consecutive times T without sending an AK TPDU, but since count 1 is added at the time of connection establishment, it is not possible for this count value to reach No. is after connection establishment (No-i)
This is because the comparator 6 outputs the signal 108 and the control unit 2 transmits the AK TPDU, which means that no AK TPDU was transmitted during x'r. In this way, timer 1, counter 4, comparator 6,
A combination of the control units 2 determines whether or not AK TPDU is to be transmitted until the window time W expires, and AK TPDU is transmitted based on this determination.

タイマ1は、コネクションが解放されるまで、制御部2
からのスタート信号101によりタイムアウト毎に再ス
タートされる(第5図509)。
Timer 1 controls control unit 2 until the connection is released.
It is restarted every time out by the start signal 101 from (509 in FIG. 5).

従って、コネクションが解放されるまで時間Tのタイム
アウト信号の供給が続けられ、上記の諸動作の実行を可
能とする。
Therefore, the time-out signal continues to be supplied for a time T until the connection is released, allowing the operations described above to be carried out.

第2図ないし第4図について補足説明する。Supplementary explanation will be provided regarding FIGS. 2 to 4.

第2図は本発明の装置により実行されるTタイマタスク
の手順を示す。Tタイマタスクはコネクション確立時、
すなわち無活動監視期間の開始時に起動され、時間Tの
経過毎にタイムアウト通知を行う。Tタイマタスクの起
動と同時に、TPDU未受信カウンタは1に、AK  
TPDU未送信カウンタ(図中、AK未送信カウンタと
記す)も1に、それぞれセットされる。上記カウンタ3
がTPDU未受信カウンタに、上記カウンタ4がAK未
送信カウンタに、それぞれ相当する。
FIG. 2 shows the procedure of the T-timer task executed by the device of the invention. When the T-timer task establishes a connection,
That is, it is activated at the start of the inactivity monitoring period, and provides a timeout notification every time T elapses. At the same time as the T timer task starts, the TPDU unreceived counter becomes 1 and the AK
A TPDU untransmitted counter (indicated as an AK untransmitted counter in the figure) is also set to 1, respectively. Above counter 3
corresponds to a TPDU non-reception counter, and the counter 4 corresponds to an AK non-transmission counter.

第3図は本発明の装置により実行される送信タスクを示
し、コネクション確立後、AK  TPDUを送信した
場合、AK未送信カウンタ(第1図カウンタ4)を0に
リセットし、AK  TPDU送信が発生したことを記
録する。
FIG. 3 shows a transmission task executed by the device of the present invention. When an AK TPDU is transmitted after a connection is established, the AK non-transmission counter (counter 4 in FIG. 1) is reset to 0, and AK TPDU transmission occurs. Record what you did.

第4図は本発明の装置により実行される受信タスクを示
し、コネクション確立後、TPDUの受信があった場合
、TPDU未受信カウンタ(第1図カウンタ3)を0に
リセットし、TPDU受信が発生したことを記録する。
FIG. 4 shows a reception task executed by the device of the present invention. After a connection is established, if a TPDU is received, the TPDU non-reception counter (counter 3 in FIG. 1) is reset to 0, and TPDU reception occurs. Record what you did.

第5図はTタイマが終了、すなわち時間Tが満了した後
の手順を示す。これについては第1図の装置の動作とと
もに既に説明した通りである。
FIG. 5 shows the procedure after the T timer expires, ie, the time T expires. This has already been explained together with the operation of the apparatus shown in FIG.

〔発明の効果〕〔Effect of the invention〕

本発明のOSIトランスポートプロトコル・クラス4適
合通信制御装置によると、無活動時間とウィンドウ時間
の監視のために共通のタイマを用い、それらはコネクシ
ョン解放またはAK  TPDU送信完了まで連続して
再起動され、TPDU受信およびAK  TPDU送信
のカウンタ等による記録はタイマの再起動と無関係に行
われるので、従来の同じ目的の装置に比し、無活動時間
とウィンドウ時間の監視のためのタイマに関連する処理
時間が短縮され、通信の伝送遅延が減少する。
According to the OSI transport protocol class 4 compliant communication controller of the present invention, a common timer is used for monitoring the inactivity time and the window time, which are continuously restarted until the connection is released or the AK TPDU transmission is completed. , TPDU reception and AK TPDU transmission by counters, etc. are performed independently of timer restart, so compared to conventional devices for the same purpose, processing related to timers for monitoring inactivity time and window time is Time is saved and communication transmission delays are reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明のO5■トランスポートプロトコル・ク
ラス4適合通信制御装置の構成を示す説明図、第2図は
本発明の装置により実行されるTタイマタスクの手順を
、第3図は本発明の装置により実行される送信タスクの
手順を、第4図は本発明の装置により実行される受信タ
スクの手順を、それぞれ示す説明図、第5図は本発明の
装置により実行されるタイマのタイムアウト後の手順を
示す説明図である。第6図は従来のO3■トランスポー
トプロトコル・クラス4適合通信制御装置の構成を示す
説明図、第7図は従来のO3■トランスポートプロトコ
ル・り・ラス4適合通信制御装置で実行される手順を示
す説明図である。 符号の説明 2−・−・−・・・−制御部 l−・−・−・−タイマ 3.4・−・・−・−カウンタ 5.6−・−・−・・・コンパレータ 61−−−−−−−−・・・Iタイマ 62−・−・・・−Wタイマ 63・−・・・−−−−−一制御部 101−・−−一−−・・−スタート信号102− ・
−・−・タイムアウト信号103.106−−・−一−
−−・−セット/リセッ104・・・・・・・−・−・
カウンタ3の出力信号105−・−・−無活動時間経過
信号 107−・・・・−・・−カウンタ4の出力信号108
−・・・−−−−−−−ウィンドウ時間経過信号ト信号 1・・−−−−−−・−・Iタイマ Wタイマ 63−・・−・・制御部 (AJ (DJ PDU KTPDU 第7図 (B) (E) 第6図 (C)
FIG. 1 is an explanatory diagram showing the configuration of the O5■ transport protocol class 4 compatible communication control device of the present invention, FIG. 2 shows the procedure of the T-timer task executed by the device of the present invention, and FIG. FIG. 4 is an explanatory diagram showing the procedure of a sending task executed by the apparatus of the invention, FIG. 4 is an explanatory diagram showing the procedure of a receiving task executed by the apparatus of the invention, and FIG. It is an explanatory diagram showing a procedure after timeout. Fig. 6 is an explanatory diagram showing the configuration of a conventional O3 transport protocol class 4 compatible communication control device, and Fig. 7 is a procedure executed by the conventional O3 transport protocol class 4 compatible communication control device. FIG. Explanation of symbols 2--Control unit l--Timer 3.4--Counter 5.6---Comparator 61-- ----------I timer 62----W timer 63----Control section 101----Start signal 102--・
−・−・Timeout signal 103.106−−・−1−
−−・−Set/Reset 104・・・・・・・−・−・
Output signal of counter 3 105 --- Inactivity time elapsed signal 107 --- Output signal of counter 4 108
----------Window time elapsed signal 1------------I timer W timer 63---Control unit (AJ (DJ PDU KTPDU 7th Figure (B) (E) Figure 6 (C)

Claims (1)

【特許請求の範囲】 無活動時間Iとウィンドウ時間Wをそれぞれ2以上の正
の整数M_0およびN_0(M_0>N_0)で分割し
た時間T(T=I/M_0=I/N_0)を計時したと
きタイムアウト信号を出力するタイマと、前記タイムア
ウト信号を計数する第1および第2のカウンタと、 通信路のコネクションが確立したとき、前記タイマを起
動するとともに前記第1および第2のカウンタを1にし
、TPDUを受信したとき前記第1のカウンタを、AK
TPDUを送信したとき前記第2のカウンタを、それぞ
れ0にし、前記第1のカウンタの計数値が前記整数値M
_0より大になったとき、前記コネクションを解放し、
前記第2のカウンタの計数値が前記整数値N_0に等し
いかそれより大になったとき、AKTPDUを送信し、
前記第1のカウンタの計数値が前記整数値M_0より大
になるまで、前記タイマをタイムアウト後再スタートさ
せる制御部を備えたことを特徴とする、 OSIトランスポートプロトコル・クラス4に適合する
通信制御装置。
[Claims] When the time T (T=I/M_0=I/N_0) obtained by dividing the inactivity time I and the window time W by positive integers M_0 and N_0 (M_0>N_0) of 2 or more, respectively, is measured. a timer that outputs a timeout signal; and first and second counters that count the timeout signal; when a communication path connection is established, starting the timer and setting the first and second counters to 1; When a TPDU is received, the first counter is set to AK
When the TPDU is transmitted, the second counters are respectively set to 0, and the count value of the first counter is set to the integer value M.
When it becomes greater than _0, release the connection,
when the count value of the second counter is equal to or greater than the integer value N_0, transmitting an AKTPDU;
A communication control conforming to OSI transport protocol class 4, comprising a control unit that restarts the timer after a timeout until the count value of the first counter becomes greater than the integer value M_0. Device.
JP2149076A 1990-06-07 1990-06-07 Communication controller suited to osi transport protocol class 4 Pending JPH0440727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2149076A JPH0440727A (en) 1990-06-07 1990-06-07 Communication controller suited to osi transport protocol class 4

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2149076A JPH0440727A (en) 1990-06-07 1990-06-07 Communication controller suited to osi transport protocol class 4

Publications (1)

Publication Number Publication Date
JPH0440727A true JPH0440727A (en) 1992-02-12

Family

ID=15467169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2149076A Pending JPH0440727A (en) 1990-06-07 1990-06-07 Communication controller suited to osi transport protocol class 4

Country Status (1)

Country Link
JP (1) JPH0440727A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06305704A (en) * 1993-04-20 1994-11-01 Plant Service:Kk High-precision quantitative ozonizer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06305704A (en) * 1993-04-20 1994-11-01 Plant Service:Kk High-precision quantitative ozonizer

Similar Documents

Publication Publication Date Title
US11855759B2 (en) Data synchronization method, device, equipment, system and storage medium
US20070277072A1 (en) Method to suspend automatic repeat request (arq) reset
JPH08331126A (en) Method and equipment to test link between network and switch
WO2020168031A1 (en) Power consumption reduction in usb 2.0 redriver and in eusb2 repeater
JPH0440727A (en) Communication controller suited to osi transport protocol class 4
JPH0153541B2 (en)
JPH05227218A (en) Propagation delay measurement system for packet switching network
JP4137304B2 (en) Packet communication network failure detection method
JPH0936969A (en) Radio communication system
JP2002027014A (en) Communication equipment with rlc protocol function and rlc protocol function reset method for the same
JP2671760B2 (en) Data communication method and data communication system
JP2501977B2 (en) Communication control device
JP2590635B2 (en) Data transmission processing method
JP2000269989A (en) Collision avoidance system
JPH03117242A (en) Retrial method for data transmission
JPH04192746A (en) Device and method for transmitting data
JPS62216547A (en) Communication processing system
JPS63300649A (en) Communication control system
JPH11163839A (en) Health check system and health check method
JPH04358251A (en) Method for transmitting data between computers
JPS63193742A (en) Data communication control system
JPS63314046A (en) Operation monitor device for destination processor
JPS62242439A (en) Data communication equipment
JPH01276858A (en) Communication adaptor
JPH11313106A (en) Pvc state informing method for frame relay exchange