- Presentation layer
-
The OSI model 7 Application layer 6 Presentation layer 5 Session layer 4 Transport layer 3 Network layer 2 Data link layer 1 Physical layer The presentation layer is layer 6 of the seven-layer OSI model of computer networking and serves as the data translator for the network.[1][2] It is sometimes called the syntax layer.[3]
Contents
Description
The presentation layer is responsible for the delivery and formatting of information to the application layer for further processing or display.[4] It relieves the application layer of concern regarding syntactical differences in data representation within the end-user systems. An example of a presentation service would be the conversion of an EBCDIC-coded text computer file to an ASCII-coded file.
The presentation layer is the lowest layer at which application programmers consider data structure and presentation, instead of simply sending data in form of datagrams or packets between hosts. This layer deals with issues of string representation - whether they use the Pascal method (an integer length field followed by the specified amount of bytes) or the C/C++ method (null-terminated strings, e.g. "
thisisastring\0
"). The idea is that the application layer should be able to point at the data to be moved, and the presentation layer will deal with the rest.Serialization of complex data structures into flat byte-strings (using mechanisms such as TLV or XML) can be thought of as the key functionality of the presentation layer.
Encryption is typically done at this level too, although it can be done on the application, session, transport, or network layers, each having its own advantages and disadvantages.[1] Decryption is also handled at the presentation layer. For example, when logging off bank account sites the presentation layer will decrypt the data as it is received.[1] Another example is representing structure, which is normally standardized at this level, often by using XML. As well as simple pieces of data, like strings, more complicated things are standardized in this layer. Two common examples are 'objects' in object-oriented programming, and the exact way that streaming video is transmitted.
In many widely used applications and protocols, no distinction is made between the presentation and application layers. For example, HyperText Transfer Protocol (HTTP), generally regarded as an application-layer protocol, has presentation-layer aspects such as the ability to identify character encoding for proper conversion, which is then done in the application layer.
Within the service layering semantics of the OSI network architecture, the presentation layer responds to service requests from the application layer and issues service requests to the session layer.
Services
- Data conversion[2]
- Character code translation[2]
- Compression[2]
- Encryption and Decryption[2]
Sublayers
The presentation layer can be composed of two sublayers: common application service element (CASE) and specific application service element (SASE).[5]
CASE
The common application service element sublayer provides services for the application layer and request services from the session layer. It provides support for common application services, such as:
- ACSE (Association Control Service Element)[5]
- ROSE (Remote Operation Service Element)
- CCR (Commitment Concurrency and Recovery)
- RTSE (Reliable Transfer Service Element)
SASE
The specific application service element sublayer provides application specific services (protocols), such as
- FTAM (File Transfer, Access and Manager)
- VT (Virtual Terminal)
- MOTIS (Message Oriented Text Interchange Standard)
- CMIP (Common Management Information Protocol)
- JTM (Job Transfer and Manipulation) a former OSI standard
- MMS (Manufacturing Messaging Service)
- RDA (Remote Database Access)
- DTP (Distributed Transaction Processing)
Protocols
Other protocols sometimes considered at this level (though perhaps not strictly adhering to the ISO model) include:
- Apple Filing Protocol (AFP)
- Independent Computing Architecture (ICA), the Citrix system core protocol
- Lightweight Presentation Protocol (LPP)
- NetWare Core Protocol (NCP)
- Network Data Representation (NDR)
- Telnet (a remote terminal access protocol)
- eXternal Data Representation (XDR)
- X.25 Packet Assembler/Disassembler Protocol (PAD)
References
- ^ a b c Dean, Tamara (2010). Network+ Guide to Networks. Delmar. pp. 44–47. http://books.google.com/books?id=UD0h_GqgbHgC&printsec=frontcover&dq=network%2B+guide+to+networks&src=bmrr#v=onepage&q&f=false.
- ^ a b c d e Microsoft TechNet
- ^ Grigonis, Richard (2000). Computer telephony encyclopedia. CMP. pp. 331. http://books.google.com/books?id=cUYk0ZhOxpEC&printsec=frontcover&dq=computer+telephony+encyclopedia#v=onepage&q&f=false.
- ^ http://www.linfo.org/presentation_layer.html Linux Information Project
- ^ a b Hura, Gurdeep (2001). "Application Layer". Data and Computer Communications: Networking and Internetworking. CRC Press LLC. pp. 710–712. http://books.google.com/books?id=BViV0PoH_voC&lpg=PA711.
Categories:- OSI protocols
- Presentation layer protocols
Wikimedia Foundation. 2010.