Skip to main content

12.2.1.2-12.2.3.6 Class 4 General Procedures, Connection Establishment and Data Transfer

12.2.1.2 General Procedures​

The transport entity shall use the following procedures:

  • a) TPDU transfer (see 6.2);

  • b) association of TPDUs with transport connections (see 6.9);

  • c) treatment of protocol errors (see 6.22);

  • d) checksum (see 6.17);

  • e) splitting and recombining (see 6.23);

  • f) multiplexing and demultiplexing (see 6.15);

  • g) retention until acknowledgement of TPDUs (see 6.13);

  • h) frozen references (see 6.18).

  • j) retransmission procedures; when a transport entity has some outstanding TPDUs that require acknowledgement, it will check that no T1 interval elapses without the arrival of a TPDU that acknowledges at least one of the outstanding TPDUs.

    If the timer expires, except if the TPDU to be retransmitted is a DT TPDU and it is outside the transmit window due credit reduction, the first TPDU is retransmitted and the timer is restarted. After N transmissions (i.e. N-1 retransmissions) it is assumed that useful two-way communication is no longer possible and the release procedure is used, and the TS-user is informed.

NOTES

  1. This procedure may be implemented by different means. For example:

    • a) one interval is associated with each TPDU. If the timer expires the associated TPDU will be transmitted and the timer T1 will be restarted for all subsequent TPDUs; or
    • b) one interval is associated with each transport connection:
      1. if the transport entity transmits a TPDU requiring acknowledgement, it starts timer T1;
      2. if the transport entity receives a TPDU that acknowledges one of the TPDUs to be acknowledged, it restarts timer T1 unless the received TPDU is an AK which explicitly closes the transmit window.
      3. if the transport entity receives a TPDU that acknowledges the last TPDU to be acknowledged, it stops timer T1.

    For a decision whether the retransmission timer T1 is maintained on a per TPDU or on a per transport connection basis, throughput considerations have to be taken into account.

  1. For DT TPDUs it is a local choice to retransmit either only the first DT TPDU or all TPDUs waiting for an acknowledgement up to the upper window edge.

  2. It is recommended that after N transmissions of a DT TPDU, the transport entity waits T1 + W + MRL to provide a higher possibility of receiving an acknowledgement before entering the release phase. For other TPDU types which may be retransmitted, it is recommended that after N transmissions the transport entity waits T1 + MRL to provide a higher possibility of receiving the expected reply.

12.2.2 Procedures for Connection Establishment​

12.2.2.1 Timers used in Connection Establishment​

There are no timers specific to connection establishment.

12.2.2.2 General Procedures​

The transport entities shall use the following procedures:

  • a) assignment to network connection (see 6.1);
  • b) connection establishment (see 6.5) and if appropriate connection refusal (see 6.6) together with the additional procedures:
    1. a connection is not considered established until the successful completion of a 3-way TPDU exchange. The sender of a CR TPDU shall respond to the corresponding CC TPDU by immediately sending a DT, ED, DR or AK TPDU;
    2. as a result of duplication or retransmission, a CR TPDU may be received specifying a source reference which is already in use with the sending transport entity. If the receiving transport entity is in the data transfer phase, having completed the 3-way TPDU exchange procedure, or is waiting for the T-CONNECT response from the TS-user, the receiving transport entity shall ignore such a TPDU. Otherwise a CC TPDU shall be transmitted;
    3. as a result of duplication or retransmission, a CC TPDU may be received specifying a paired reference which is already in use. The receiving transport entity shall only acknowledge the duplicate CC TPDU according to the procedure in 12.2.2.2.b.1.
    4. a CC TPDU may be received specifying a reference which is in the frozen state. The response to such a TPDU shall be a DR TPDU;
    5. the retransmission procedures (see 12.2.1.2) are used for both the CR TPDU and CC TPDU.

12.2.3 Procedures for Data Transfer​

12.2.3.1 Timers used in Data Transfer​

The data transfer procedures use two additional timers:

  • a) Inactivity Time (I)

    To protect against unsignalled breaks in the network connection or failure of the peer transport entity (half-open connections), each transport entity maintains an inactivity interval. The interval must be greater than E.

    NOTE - A suitable value for I is given by 2 * (N * maximum of (T1, W)) unless local needs indicate another more appropriate value.

  • b) Window Time (W)

    A transport entity maintains a timer interval to ensure that there is a bound on the maximum interval between window updates.

12.2.3.2 General Procedures for data transfer​

The transport entities shall use the following procedures:

  • a) inactivity control (see 6.21);
  • b) expedited data (see 6.11);
  • c) explicit flow control (see 6.16).

The sending transport entity shall use the following procedures in the following order:

  • d) segmenting (see 6.3);
  • e) DT TPDU numbering (see 6.10).

The receiving transport entity shall use the following procedures in the following order:

  • f) DT TPDU numbering (see 6.10);
  • g) resequencing (see 6.20);
  • h) reassembling (see 6.3).
12.2.3.3 Inactivity Control​

If the interval of the inactivity timer I expires without receipt of some TPDU, the transport entity shall initiate the release procedures. To prevent expiration of the remote transport entity's inactivity timer when no data is being sent, the local transport entity must send AK TPDUs at suitable intervals in the absence of data, having regard to the probability of TPDU loss. The window synchronization procedures (see 12.2.3.8) ensure that this requirement is met.

NOTE - It is likely that the release procedure initiated due to the expiration of the inactivity timer will fail, as such expiration indicates probable failure of the supporting network connection or of the remote transport entity.

12.2.3.4 Expedited Data​

The transport entities shall follow the network normal data variant of the expedited data transfer procedures (see 6.11), if the use of transport expedited service option has been agreed during connection establishment.

The ED TPDU shall have a TPDU-NR which is allocated from a separate sequence space from that of the DT TPDUs.

A transport entity shall allocate the sequence number zero to the ED TPDU-NR of the first ED TPDU which it transmits for a transport connection. For subsequent ED TPDU sent on the same transport connection, the transport entity shall allocate a sequence number one greater than the previous one.

Modulo 2**7 arithmetic shall be used when normal formats have been selected and modulo 2**31 arithmetic shall be used when extended formats have been selected.

The receiving transport entity shall transmit an EA TPDU with the same sequence number in its YR-ETDU-NR field. If this number is one greater than in the previously in sequence received ED TPDU, the receiving transport entity shall transfer the data in the ED TPDU to the TS-user.

If a transport entity does not receive an EA TPDU in acknowledgement to an ED TPDU it shall follow the retransmission procedures (see note and 12.2.1.2).

The sender of an ED TPDU shall not send any new DT TPDU with higher TPDU-NR until it receives the EA TPDU.

NOTE - This procedure ensures that ED TPDUs are delivered to the TS-user in sequence and that the TS-user does not receive data corresponding to the same ED TPDU more than once. Also it guarantees the arrival of the ED TPDU before any subsequently sent DT TPDU.

12.2.3.5 Resequencing​

The receiving transport entity shall deliver all DT TPDUs to the TS-user in the order specified by the sequence number field.

DT TPDUs received out-of-sequence but within the transmit window shall not be delivered to the TS-user until all in-sequence TPDUs have been received. DT TPDU received out-of-sequence and outside the transmit window shall be discarded.

Duplicate TPDUs can be detected because the sequence number matches that of preciously received TPDUs. Sequence numbers shall not be reused for the period L after their previous use. Otherwise, a new, valid TPDU could be confused with a duplicated TPDU which had previously been received and acknowledged.

Duplicated DT TPDUs shall be acknowledged, since the duplicated TPDU may be the result of a retransmission resulting from the loss of an AK TPDU.

The data contained in a duplicated DT TPDU shall be ignored.

12.2.3.6 Explicit Flow Control​

The transport entities shall send an initial credit (which may take the value 0) in the CDT field of the CR TPDU or CC TPDU. This credit represents the initial value of the upper window edge of the peer entity.

The transport entity which receives the CR TPDU or CC TPDU shall consider its lower window edge as zero and its upper window edge as the value in the CDT field in the received TPDU.

In order to authorize the transmission of DT TPDUs by its peer, a transport entity may transmit an AK TPDU at any time.

The sequence number of an AK TPDU shall not exceed the sequence number of the next expected DT TPDU, i.e. it shall not be greater than the highest sequence number of a received DT TPDU, plus one.

A transport entity may send a duplicate AK TPDU containing the same sequence number, CDT, and subsequence number field at any time.

A transport entity which receives an AK TPDU shall consider the value of the YR-TU-NR field as its new lower window edge if it is greater than any previously received in a YR-TU-NR field, and the sum of YR-TU-NR and CDT as its new upper window edge subject to the procedures for sequencing AK TPDUs (see 12.2.3.8). A transport entity shall not transmit or retransmit a DT TPDU with a sequence number outside the transmit window.