12. クラス 4 の仕様 - 機能とタイマ
12. クラス 4 の仕様: エラー検出・回復クラス
12.1 クラス 4 の機能
クラス 4 は、クラス 3 の機能に加えて、TS ユーザを関与させることなく、紛失、重複、または順序外の TPDU を検出し、そこから回復する能力を提供する。
このエラー検出は、クラス 2 およびクラス 3 の DT TPDU 番号付けの拡張的な使用、タイムアウト機構、および追加の手順によって行われる。
このクラスはさらに、チェックサム機構を用いて、破損した TPDU を検出し、そこから回復する。チェックサム機構は利用可能でなければならないが、その使用または不使用はネゴシエーションの対象である。
加えてこのクラスは、1 つのトランスポートコネクションが複数のネットワークコネクションを利用できるようにすることで、ネットワーク障害に対する耐性を高め、スループット能力を向上させる。
12.2 クラス 4 の手順
12.2.1 常に利用できる手順
12.2.1.1 常に使用されるタイマ
この副箇条は、クラス 4 で常に適用されるタイマを定義する。これらのタイマを表 7 に示す。
この国際標準はタイマの具体的な値を定義せず、この副箇条に記載された導出方法も必須ではない。値は、ネットワークの既知の特性を踏まえ、必要なサービス品質を提供できるように選択すべきである。
特定の手順にのみ適用されるタイマは、該当する手順の下で定義される。
+---------------------------|------------------------------------+
|Symbol| Name | Definition |
|------|--------------------|------------------------------------|
| MLR |NSDU lifetime | A bound for the maximum time which |
| |local-to-remote | may elapse between the transmis- |
| | | sion of an NSDU by a local trans- |
| | | port entity and the receipt of any |
| | | copy of it by a remote peer entity.|
| | | |
| MRL |NSDU lifetime | A bound for the maximum time which |
| |remote-to-local | may elapse between the transmission|
| | | of an SNDU from a remote transport |
| | | entity to a remote peer entity. |
| | | |
| ELR |Expected maximum | A bound for the maximum delay suf- |
| |transit delay | fered by all but a small proportion|
| |local-to-remote | of NSDUs transferred from the local|
| | | transport entity to a remote peer |
| | | entity. |
| | | |
| ERL |Expected maximum | A bound for the maximum delay suf- |
| |transit delay | fered by all but a small proportion|
| |remote-to-local | of NSDUs transferred from a remote |
| | | transport entity to the local peer |
| | | entity. |
| | | |
| AL |Local acknowledge | A bound for the maximum time which |
| |time | can elapse between the receipt of |
| | | a TPDU by the local transport en- |
| | | tity from the network layer and |
| | | the transmission of the corres- |
| | | ponding acknowledgement. |
| | | |
| AR |Remote acknow- | As AL, but for the remote entity. |
| |ledgement time | |
+----------------------------------------------------------------+
Table 7. (First of 2 pages) Time Parameters related to class 4
+----------------------------------------------------------------+
| T1 |Local retrans- | A bound for the maximum time that |
| |mission time | the local transport entity will |
| | | wait for acknowledgement before re-|
| | | transmitting a TPDU. |
| | | |
| R |Persistence time | A bound for the maximum time the |
| | | the local transport entity will |
| | | continue to transmit a TPDU that |
| | | requires acknowledgement. |
| | | |
| N |Maximum number of | A bound for the maximum number of |
| |transmissions | times which the local transport |
| | | entity will continue to transmit a |
| | | TPDU that requires acknowledgement.|
| | | |
| L |Bound on references | A bound for the maximum time |
| |and sequence | between the transmission of a TPDU |
| |numbers | and the receipt of any acknow- |
| | | ledgement relating to it. |
| | | |
| I |Inactivity time | A bound for the time after which |
| | | a transport entity will, if it |
| | | does not receive a TPDU, initiate |
| | | the release procedure to terminate |
| | | the transport connection. |
| | | |
| | | NOTE - This parameter is required |
| | | for protection against unsignalled |
| | | breaks in the network connection. |
| | | |
| W |Window time | A bound for the maximum time a |
| | | transport entity will wait before |
| | | retransmitting up to date window |
| | | information. |
+----------------------------------------------------------------+
Table 7. (Second of 2 pages) Time Parameters related to class 4
12.2.1.1.1 NSDU の存続時間 (MLR、MRL)
ネットワーク層は、そのサービス品質の一側面として、ネットワーク内での NSDU の最大存続時間の上限を提供するものと想定される。この値は、2 つのトランスポートエンティティ間のネットワークを通る転送の方向ごとに異なってよい。両方向の値は、トランスポートエンティティに既知であると想定される。ローカルからリモートへの最大 NSDU 存続時間 (MLR) は、ローカルトランスポートエンティティがネットワークに NSDU を送信してから、リモートトランスポートエンティティがネットワークからその NSDU のいずれかのコピーを受信するまでに経過しうる最大時間である。リモートからローカルへの最大 NSDU 存続時間 (MRL) は、リモートトランスポートエンティティがネットワークに NSDU を送信してから、ローカルトランスポートエンティティがネットワークからその NSDU のいずれかのコピーを受信するまでに経過しうる最大時間である。
12.2.1.1.2 想定される最大伝送遅延 (ELR、ERL)
ネットワーク層は、そのサービス品質の一側面として、ネットワーク内での NSDU の想定される最大伝送遅延を提供するものと想定される。この値は、2 つのトランスポートエンティティ間のネットワークを通る転送の方向ごとに異なってよい。両方向の値は、トランスポートエンティティに既知であると想定される。ローカルからリモートへの想定最大伝送遅延 (ELR) は、ローカルトランスポートエンティティからリモートトランスポートエンティティへネットワークを通じて転送される NSDU のうち、ごく一部を除くすべてが被る最大遅延である。リモートからローカルへの想定最大伝送遅延 (ERL) は、リモートトランスポートエンティティからローカルトランスポートエンティティへネットワークを通じて転送される NSDU のうち、ごく一部を除くすべてが被る最大遅延である。
12.2.1.1.3 確認応答時間 (AR、AL)
すべてのトランスポートエンティティは、ネットワーク層から TPDU を受信してから、対応する応答を送信するまでに経過しうる最大時間の上限を提供するものと想定される。この値を AL と呼ぶ。リモートトランスポートエンティティが示す対応する時間を AR と呼ぶ。
12.2.1.1.4 ローカル再送時間 (T1)
ローカルトランスポートエンティティは、TPDU を再送する前に確認応答を待つ時間の上限を維持するものと想定される。その値は次の式で与えられる。
T1 = ELR + ERL + AR + X
ここで
ELR = Expected maximum transit delay local-to-remote,
ERL = Expected maximum transit delay remote-to-local,
AR = Remote acknowledge time, and
X = local processing time for a TPDU.
(ELR: ローカルからリモートへの想定最大伝送遅延、ERL: リモートからローカルへの想定最大伝送遅延、AR: リモート確認応答時間、X: TPDU のローカル処理時間)
12.2.1.1.5 保持時間 (R)
ローカルトランスポートエンティティは、肯定確認応答を必要とする TPDU を再送し続けてよい最大時間の上限を提供するものと想定される。この値を R と呼ぶ。
この値は、再送間隔の時間 T1 と最大送信回数 N に明らかに関係している。R は T1 * N + X 以上である。ここで X は、追加の内部遅延や T1 を実装するために使用される機構の粒度などを考慮するための小さな量である。R は上限であるため、X が有界であり、その上限の値が既知である限り、X の正確な値は重要ではない。
12.2.1.1.6 参照およびシーケンス番号の上限 (L)
TPDU を送信すると決定してから、それに関連する応答を受信するまでの最大時間の上限 (L) は、次の式で与えられる。
L = MLR + MRL + R + AR
ここで
MLR = NSDU lifetime local-to-remote,
MRL = NSDU lifetime remote-to-local,
R = Persistence time, and
AR = Remote acknowledgement time.
(MLR: ローカルからリモートへの NSDU 存続時間、MRL: リモートからローカルへの NSDU 存続時間、R: 保持時間、AR: リモート確認応答時間)
参照またはシーケンス番号を参照する TPDU が重複または遅延している可能性があるため、混乱を避けるには、それらを再利用する前に期間 L だけ待つ必要がある。
注
-
実際には、L の値は許容できないほど大きくなることがある。また、ある信頼水準での統計的な数値にすぎない場合もある。そのため、必要なサービス品質を提供できる範囲で、より小さい値を使用してもよい。
-
上述した時間の関係を、図 3 および図 4 に示す。
[図 3 と図 4 は、このコピーでは省略されている。]