5. Overview: Functions and Model
5.3 Functions of the Transport Layer
5.3.1 Connection Oriented Functions
5.3.1.1 Overview of Functions
The functions in the transport layer are at least those necessary to bridge the gap between the services available from the network layer and those to be offered to the transport users.
The functions in the transport layer are concerned with the enhancement of quality of service, including all aspects of cost optimization. They are described below; the descriptions are grouped into those concerned with the establishment phase, the data transfer phase, and the release phase.
5.3.1.1.1 Establishment Phase
The goal of the establishment phase is to establish a transport connection, i.e., between two transport users. The functions of transport layer during this phase must match the requested class of services with the services provided by the network layer as follows:
- Select network service which best matches the requirement of the TS-user taking into account charges for various services.
- Decide whether to multiplex multiple transport connection onto a single network connection.
- Establish the optimum TPDU size.
- Select the functions that will be operational upon entering the data transfer phase.
- Map transport addresses onto network addresses.
- Provide a means to distinguish between two different transport connections.
- Transportation of user's data.
5.3.1.1.2 Data Transfer Phase
The purpose of the data transfer phase is to permit two-way simultaneous transport of TSDUs between the session entities connected by the transport connection. This purpose is achieved by means of two-way simultaneous communication in the Transport protocol and by the following functions. Each of these functions is used or not used in accordance with the result of the selection performed in the establishment phase.
-
Concatenation and Separation
A function used to collect several TPDUs into a single NSDU; the destination transport entity separates the TPDUs.
-
Segmenting and Reassembling
The splitting of a single data TSDU into multiple TPDUs which are reassembled into their original format at the destination.
-
Multiplexing and Demultiplexing
A function used to share a single network connection between two or more transport connections.
-
Splitting and Recombing
A function allowing the simultaneous use of two or more network connections to support the same transport connec- tion.
-
Flow Control
A function used to regulate the flow of TPDUs between two transport entities on one transport connection.
-
Error Detection
A function used to detect the loss, corruption, duplication, misordering or misdelivery of TPDUs.
-
Transport Connection Identification
A means to uniquely identify a transport connection between the pair of transport entities supporting the connection during the lifetime of the transport connection.
-
Error Recovery
A function used to recover from detected and signalled errors.
-
Expedited Data
A function used to bypass the flow control of normal data TPDU. Expedited data TPDUs' flow is controlled by separate flow control.
-
TSDU Delimiting
A function used to determine the beginning and ending of a TSDU.
5.3.1.1.3 Release Phase
A function to provide a disconnection of the transport connection, regardless of the current activity.
5.3.1.2 Classes and Options
A class defines a set of functions. In this protocol five classes are defined:
- Class 0: Simple Class
- Class 1: Basic Error Recovery Class
- Class 2: Multiplexing Class
- Class 3: Error Recovery and Multiplexing Class
- Class 4: Error Detection and Recovery Class.
Note that with the exception of classes 0 and 1, transport connections of different class may be multiplexed together onto the same network connection.
5.3.1.2.2 Options within Classes
Options define potential functions which may be used within a class.
5.3.1.2.3 Negotiation
Classes and options within classes are negotiated during the connection establishment phase.
5.3.1.2.4 Choice of the Class of Protocol
The choice will be made by the transport entities according to:
-
the users requirement expressed via T-CONNECT service primitives. In particular, for the choice of the class of protocol, the following rules apply:
- if the TS-User requests either transmission of user data during the connection phase, or use of Expedited data transfer, then Class 0 cannot be selected.
- if the TS-User requests use of Expedited data transfer, then Class 2 with the non-explicit flow control option cannot be selected.
-
the quality of the available Network services;
-
the user required service versus cost ratio acceptable for the transport user.
The following is a classification of network services in terms of quality with respect to error behavior relative to the user requirements. Its main purpose is to provide a basis for the decision regarding which class of transport connection should be used on top of a given network connection.
- Type A: Network connection with acceptable residual error rate (for example not signalled by 'clear' or 'reset') and acceptable rate of signalled failures.
- Type B: Network connections with acceptable residual error rate (for example not signalled by 'clear' or 'reset') but unacceptable rate of signalled failures.
- Type C: Network connections with residual error rate not acceptable to the TS-user.
It is assumed that each transport entity is aware of the quality of service provided by particular Network connections.
5.3.1.3 Potential Functions
The protocol described in this document does not include the following set of functions which have been identified as potential transport layer functions:
- provision for encryption
- provision for accounting mechanisms
- provision for status exchanges and monitoring of quality of service
- provision for blocking
- temporary release of network connections
5.4 Model of the Transport Layer
TSAP TSAP
Transport Protocol Transport Protocol
Entity Entity
NSAP ------- NSAP -------
| (NSAP) | (NSAP)
| | | |
| |-------------------------|--------
| |
-----------------------------------
A Transport Protocol entity within the Transport Layer communicates with a Transport User through a TSAP by means of the service primitives as defined by the transport service definition DP aaaa. Service primitives will cause or be the result of Transport Protocol Data Unit exchanges between the peer Transport Protocol entities supporting a Transport Connection. These protocol exchanges are effected using the services of the Network Layer as defined by the Network Service Definition DP bbbb through one or more NSAPs.
Transport connection endpoints are identified in end systems by an internal, implementation dependent, mechanism so that the Transport User and the Transport Protocol entity can refer to each Transport connection.