Skip to main content

6.12-6.15 Reassignment, Retention and Resynchronization

6.12 Reassignment​

Purpose: Assignment of a Transport Connection to a different Network Connection.

TPDUs and Fields Used:

CR
- source reference

RJ, DR
- destination reference

Description:

When the Network Connection to which a Transport Connection was assigned no longer exists, the Transport Connection can be assigned to another Network Connection.

When one transport entity has assigned the Transport Connection, it is important that the other transport entity recognise to which Network Connection it has been assigned. This can only take place when it has received a TPDU for the Transport Connection on a Network Connection with calling and called network addresses which imply the same transport entities as the old. The TPDU will have been sent as a result of the assigning transport entity commencing resynchronization, and will thus be a RJ, or a retransmitted CR or DR.

The Transport Connection shall be recognised as having been assigned to the Network Connection on which the TPDU was received.

6.13 Reassignment After Failure​

Purpose: Recovery from network provider initiated disconnect.

Network Service Primitives:

N-DISCONNECT Indication

Description:

When a N-DISCONNECT Indication arrives for the network connection to which a transport connection is assigned, the transport connection must be reassigned by its initiator (see "Reassignment")

If the reassignment has not successfully occurred within a time of T-wait seconds, then the transport connection must be considered as non-existent by both transport entities.1

  1.  The CR TPDU does not have a destination reference; nevertheless it can be distinguished from a new connection attempt by having the same source reference.

NOTE: The value of T-wait has to be agreed by the communicating transport entities.

6.14 Retention Until Acknowledgement of TPDUs​

Variants: 'confirmation of receipt' or 'AK'

Purpose: To enable and minimize retransmission after possible loss of TPDUs.

Network Service Primitives:

N-DATA
N-DATA ACKNOWLEDGE

TPDUs and Fields Used:

CR, CC, DR, DC

RJ, AK, EA
- YR-TU-NR (7 or 31 bits)

DT
- TPDU-NR (7 or 31 bits)

ED
- ED TPDU-NR (7 or 31 bits)

Description:

Copies of the following TPDUs shall be retained upon transmission to permit their later retransmission:

CR, CC, DR, DT, ED.

NOTE: If DR is sent in response to CR there is no need to retain a copy of the DR.

In the 'confirmation of receipt' variant, applicable only in Class 1, transport entities receiving N-DATA Indications which convey DT TPDUs and have the confirmation request field set shall issue a N-DATA Acknowledge Request at the earliest possible opportunity (1).

(1) It is a local matter for each transport entity to decide which N-DATA Requests should have the confirmation request parameter set. This decision will normally be related to the amount of storage available for retained copies of the DT TPDUs. Use of the confirmation request parameter may affect the quality of network service.

After each TPDU is acknowledged, as shown in Figure 5, the copy need not be retained. Copies may also be discarded when the transport connection ceases to exist.

TPDU                            ACKNOWLEDGED BY

CR receipt of CC, DR, or ERR, TPDU

DR receipt of DC or DR (in case of collision)
TPDU

CC receipt of RJ, DT, AK, ED, EA TPDUs (or
N-DATA ACKNOWLEDGE Indication.)

DT N-DATA ACKNOWLEDGE Indication when the
(Note 1) DT TPDU was sent before or with the oldest
N-DATA which had the confirmation request
field set.

DT receipt of Data Acknowledge (AK) or
(Note 2) Reject (RJ) TPDU for which 'YR-TU-NR'
is greater than 'TPDU-NR' in the DT TPDU.

ED receipt of EA TPDU for which 'YR-TU-NR'
is equal to 'ED-TPDU-NR' in the ED TPDU. Notes:

1. Applies to 'confirmation of receipt' variant.
2. Applies to 'AK' variant.

Figure 5. Acknowledgement of TPDUs

6.15 Resynchronization​

Purpose: To restore the connection to normal after an error.

Network Service Primitives:

N-RESET Indication

TPDUs and Fields Used:

CR, DR, CC, DC

RJ, EA
- YR-TU-NR (7 or 31 bits)

DT
- TPDU-NR (7 or 31 bits)

ED
- ED TPDU-NR (7 or 31 bits)

Description:

After the reset of an underlying network connection, the resynchronization procedures below are carried out by both transport entities.

After a network connection failure, the reassignment after failure function is invoked and then the resynchronization function. The sequence of events at the two transport entities is the following:

Events at the transport entity initiating reassignment: (the transport entity immediately commences resynchronization by sending a TPDU)

  • if a CR is retained then retransmit it.

  • if a DR is retained then retransmit it.

  • otherwise, resynchronize data:

    • send RJ TPDU with 'YR-TU-NR' field set to the 'TPDU-NR' of the first unreceived DT TPDU
    • when RJ TPDU has been received retransmit any ED TPDUs then DT TPDUs which are unacknowledged
    • any ED TPDUs received which are duplicates shall be acknowledged (by EA TPDUs) and discarded.

Events at the other transport entity:

The transport entity shall not send any TPDUs until after receipt of the TPDU which commenced resynchronization. This TPDU therefore serves two purposes, namely indication of re-assignment and commencement of resynchronization.

  • if the first received TPDU os a DR, then transmit a DC TPDU.
  • if the first received TPDU is a CR and the transport connection is not idle, this means that a CC TPDU is retained: then retransmit it followed by any ED TPDU and then DT TPDUs which are outstanding (that may or may not have been transmitted previously).

NOTE: no TPDUs can be transmitted using network expedited until CC becomes acknowledged, to prevent the network expedited overtaking the CC.

  • if the first received TPDU is a RJ, then act as follows:

    • if a DR TPDU is retained, then retransmit it

    • if a CC TPDU remains unacknowledged, then carry out the data resynchronization procedure described below

    • otherwise resynchronize data:

      • send RJ TPDU with 'YR-TU-NR' field set to the 'TPDU-NR' of the first unreceived DT TPDU
      • retransmit any ED TPDUs then DT TPDUs which are unacknowledged
      • any ED TPDUs received which are duplicates should be acknowledged (by EA TPDUs) and discarded.

NOTE: It is possible for a transport entity using the Class 1 protocol to decide on a local basis to issue an N-RESET Request. The effect of this request at the remote transport entity is to force it to perform the resynchronization mechanism. This possibility may be used to remove congestion within the network connection.