SlideShare a Scribd company logo
1 of 19
Download to read offline
CS-324 Computer Networks
Presentation Layer
Unit -06-02
UNIT-06-02
• Session Layer, Design issues, remote procedure call.
• Presentation Layer, Design issues, Data compression
techniques, cryptography.
• Application Layer - File Transfer, Access and Management,
Electronic mail, Virtual Terminals, Other applications,
Example Networks - Internet and Public Networks.
Presentation Layer
• Presentation layer format and encrypts data to be sent across
the network.
• Takes care that the data is sent in such a way that the receiver
will understand the information (data) and will be able to use the
data efficiently and effectively.
• Manages the abstract data structures and allows high-level data
structures (example- banking records), which are to be defined
or exchanged.
Presentation Layer
• This layer basically deals with the presentation part of the data.
• Presentation layer, carries out the data compression (number of bits
reduction while transmission), which in return improves the data
throughput.
• This layer also deals with the issues of string representation.
• The presentation layer is also responsible for integrating all the
formats into a standardized format for efficient and effective
communication.
• This layer encodes the message from the user-dependent format to
the common format and vice-versa for communication between
dissimilar systems.
• This layer deals with the syntax and semantics of the
messages.
• This layer also ensures that the messages which are to be
presented to the upper as well as the lower layer should be
standardized as well as in an accurate format too.
• Presentation layer is also responsible for translation, formatting,
and delivery of information for processing or display.
• This layer also performs serialization (process of translating a
data structure or an object into a format that can be stored or
transmitted easily).
Presentation Layer
• Presentation layer deals primarily with data representation
• If one host supports Extended Binary-coded Decimal Interchange
Code (EBCDIC) for character sets and another supports ASCII, the
presentation layer converts data according to each hosts’ needs
• Other functionalities include
• data compression,
• data encryption, and
• manipulating XML objects
File Formats: Graphic Images
• Layer 6 standards also determine how graphic images are presented.
• Three of these standards are as follows:
• PICT - a picture format used to transfer QuickDraw graphics between
programs on the MAC operating system
• TIFF (Tagged Image File Format) - a format for high-resolution, bit-
mapped images
• JPEG (Joint Photographic Experts Group) - graphic format used most
often to compress still images of complex pictures and photographs
File Formats: Sound and movies
• Other Layer 6 standards guide the presentation of sound and movies.
Included in these standards are the following:
• MIDI (Musical Instrument Digital Interface) - for digitized music
• MPEG (Motion Picture Experts Group) - standard for the compression
and coding of motion video for CDs and digital storage
• QuickTime - a standard that handles audio and video for programs on
a MAC operating system
File Formats: text
• ASCII and EBCDIC are used to format text.
• ASCII text files contain simple character data, and lack any sophisticated
formatting commands, such as boldface or underline.
• Notepad is an example of an application that uses and creates text files.
• They usually have the extension .txt.
• EBCDIC is very similar to ASCII in that it also does not use any sophisticated
formatting.
• The main difference between the two is that EBCDIC is primarily used on
mainframes and ASCII is used on personal computers
File Formats: Graphics
The Internet uses two binary file formats to display images - Graphic
Interchange Format (GIF), and Joint Photographic Experts Group (JPEG).
Any computer with a reader for the GIF and JPEG file formats can read these
file types, regardless of the type of computer.
Readers are software programs designed to display an image of a particular
file type.
Some programs can read multiple image types as well as convert files from
one type to another.
Web browsers have the ability to display graphic files in either of these two
formats without any additional software
File formats: Multimedia
• The multimedia file format is another type of binary file, which stores
sounds, music, and video.
• Sound files generally operate in one of two ways.
• They may be completely downloaded, first, and then played, or they may
download while they are playing.
• The latter method is referred to as streaming audio.
• Windows uses the WAV format for sound, and the AVI format for
animation files.
• A few of the more common video formats are MPEG, MPEG2, and
Macintosh QuickTime.
File formats: Markup Language
• Another type of file format is markup language.
• This format acts as a set of directions that tell a Web browser how to
display and manage documents.
• Hypertext Markup Language (HTML) is the language of the Internet.
• HTML directions tell a browser whether to display text, or to hyperlink
to another URL.
• HTML is not a programming language, but is a set of directions for
displaying a page
Data Encryption
Layer 6 is also responsible for data encryption. Data encryption
protects information during its transmission.
Financial transactions (e.g. credit card information) use encryption to
protect sensitive information as it traverses the Internet.
An encryption key is used to encrypt the data at its source and then to
decrypt the data at its destination
Data Compression
• The presentation layer is also responsible for the compression of files.
• Compression works by using algorithms (complex mathematical
formulas) to shrink the size of the files.
• The algorithm searches each file for repeating bit patterns, and then
replaces them with a token.
• A token is a much shorter bit pattern that represents the long pattern.
• A simple analogy might be the name Cathy (the nickname), the token,
to refer to anyone whose full name is Catherine.
Presentation Layer Protocols
Presentation Layer, for performing translations or other specified
functions, needs to use certain protocols which are defined below
–
• Apple Filing Protocol (AFP): Apple Filing Protocol is the
proprietary network protocol (communications protocol) that
offers services to macOS or the classic macOS. This is
basically the network file control protocol specifically designed
for Mac-based platforms.
Presentation Layer Protocols
• Lightweight Presentation Protocol (LPP): Lightweight
Presentation Protocol is that protocol which is used to provide
ISO presentation services on the top of TCP/IP based protocol
stacks.
• NetWare Core Protocol (NCP): NetWare Core Protocol is the
network protocol which is used to access file, print, directory,
clock synchronization, messaging, remote command execution
and other network service functions.
• Network Data Representation (NDR): Network Data
Representation is basically the implementation of the
presentation layer in the OSI model, which provides or defines
various primitive data types, constructed data types and also
several types of data representations.
• External Data Representation (XDR): External Data
Representation (XDR) is the standard for the description and
encoding of data. It is useful for transferring data between
computer architectures and has been used to communicate
data between very diverse machines. Converting from local
representation to XDR is called encoding, whereas converting
XDR into local representation is called decoding.
Presentation Layer Protocols
• Secure Socket Layer (SSL): The Secure Socket Layer
protocol provides security to the data that is being transferred
between the web browser and the server. SSL encrypts the link
between a web server and a browser, which ensures that all
data passed between them remains private and free from
attacks.

More Related Content

Similar to Presentation Layer Protocols and Data Formats

Network standards
Network standardsNetwork standards
Network standardshspatalia
 
Overview of computer
Overview of computerOverview of computer
Overview of computerSunny Pavan
 
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)pavishkumarsingh
 
Data Communication-1.ppt
Data Communication-1.pptData Communication-1.ppt
Data Communication-1.pptssusere16bd9
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and NetworkingUtkarshaManpiya1
 
Chapter 5-IT infrastructure(REV 2.0).pptx
Chapter 5-IT infrastructure(REV 2.0).pptxChapter 5-IT infrastructure(REV 2.0).pptx
Chapter 5-IT infrastructure(REV 2.0).pptxMohdSyaifuadJasemi
 
Automation Networking By Shivam Singh
Automation Networking By Shivam SinghAutomation Networking By Shivam Singh
Automation Networking By Shivam SinghShivam Singh
 
Html powerpoint-presentation116
Html powerpoint-presentation116Html powerpoint-presentation116
Html powerpoint-presentation116Febin Chacko
 
Bt0072 computer networks 1
Bt0072 computer networks  1Bt0072 computer networks  1
Bt0072 computer networks 1Techglyphs
 
2009 PLANETS Vienna - MIXED migration to XML
2009 PLANETS Vienna - MIXED migration to XML2009 PLANETS Vienna - MIXED migration to XML
2009 PLANETS Vienna - MIXED migration to XMLDirk Roorda
 
Lecture 6 -_presentation_layer
Lecture 6 -_presentation_layerLecture 6 -_presentation_layer
Lecture 6 -_presentation_layerSerious_SamSoul
 
PERICLES Information Embedding Techniques
PERICLES Information Embedding TechniquesPERICLES Information Embedding Techniques
PERICLES Information Embedding TechniquesPERICLES_FP7
 
Multimedia authoring and user interface
Multimedia authoring and user interface Multimedia authoring and user interface
Multimedia authoring and user interface nirmalbj
 

Similar to Presentation Layer Protocols and Data Formats (20)

Comp 501.pptx
Comp 501.pptxComp 501.pptx
Comp 501.pptx
 
Network standards
Network standardsNetwork standards
Network standards
 
Overview of computer
Overview of computerOverview of computer
Overview of computer
 
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
Multimedia system(OPEN DOCUMENT ARCHITECTURE AND INTERCHANGING FORMAT)
 
Multimedia system
Multimedia systemMultimedia system
Multimedia system
 
lecture1.ppt
lecture1.pptlecture1.ppt
lecture1.ppt
 
lecture1.ppt
lecture1.pptlecture1.ppt
lecture1.ppt
 
lecture1 (1).ppt
lecture1 (1).pptlecture1 (1).ppt
lecture1 (1).ppt
 
Data Communication-1.ppt
Data Communication-1.pptData Communication-1.ppt
Data Communication-1.ppt
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and Networking
 
Chapter 5-IT infrastructure(REV 2.0).pptx
Chapter 5-IT infrastructure(REV 2.0).pptxChapter 5-IT infrastructure(REV 2.0).pptx
Chapter 5-IT infrastructure(REV 2.0).pptx
 
Automation Networking By Shivam Singh
Automation Networking By Shivam SinghAutomation Networking By Shivam Singh
Automation Networking By Shivam Singh
 
Html powerpoint-presentation116
Html powerpoint-presentation116Html powerpoint-presentation116
Html powerpoint-presentation116
 
Bt0072 computer networks 1
Bt0072 computer networks  1Bt0072 computer networks  1
Bt0072 computer networks 1
 
2009 PLANETS Vienna - MIXED migration to XML
2009 PLANETS Vienna - MIXED migration to XML2009 PLANETS Vienna - MIXED migration to XML
2009 PLANETS Vienna - MIXED migration to XML
 
Lecture 6 -_presentation_layer
Lecture 6 -_presentation_layerLecture 6 -_presentation_layer
Lecture 6 -_presentation_layer
 
PERICLES Information Embedding Techniques
PERICLES Information Embedding TechniquesPERICLES Information Embedding Techniques
PERICLES Information Embedding Techniques
 
Multimedia authoring and user interface
Multimedia authoring and user interface Multimedia authoring and user interface
Multimedia authoring and user interface
 
Ens
EnsEns
Ens
 
BARZAN.pptx
BARZAN.pptxBARZAN.pptx
BARZAN.pptx
 

Recently uploaded

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 

Recently uploaded (20)

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 

Presentation Layer Protocols and Data Formats

  • 3. UNIT-06-02 • Session Layer, Design issues, remote procedure call. • Presentation Layer, Design issues, Data compression techniques, cryptography. • Application Layer - File Transfer, Access and Management, Electronic mail, Virtual Terminals, Other applications, Example Networks - Internet and Public Networks.
  • 4. Presentation Layer • Presentation layer format and encrypts data to be sent across the network. • Takes care that the data is sent in such a way that the receiver will understand the information (data) and will be able to use the data efficiently and effectively. • Manages the abstract data structures and allows high-level data structures (example- banking records), which are to be defined or exchanged.
  • 5. Presentation Layer • This layer basically deals with the presentation part of the data. • Presentation layer, carries out the data compression (number of bits reduction while transmission), which in return improves the data throughput. • This layer also deals with the issues of string representation. • The presentation layer is also responsible for integrating all the formats into a standardized format for efficient and effective communication. • This layer encodes the message from the user-dependent format to the common format and vice-versa for communication between dissimilar systems.
  • 6. • This layer deals with the syntax and semantics of the messages. • This layer also ensures that the messages which are to be presented to the upper as well as the lower layer should be standardized as well as in an accurate format too. • Presentation layer is also responsible for translation, formatting, and delivery of information for processing or display. • This layer also performs serialization (process of translating a data structure or an object into a format that can be stored or transmitted easily).
  • 7. Presentation Layer • Presentation layer deals primarily with data representation • If one host supports Extended Binary-coded Decimal Interchange Code (EBCDIC) for character sets and another supports ASCII, the presentation layer converts data according to each hosts’ needs • Other functionalities include • data compression, • data encryption, and • manipulating XML objects
  • 8. File Formats: Graphic Images • Layer 6 standards also determine how graphic images are presented. • Three of these standards are as follows: • PICT - a picture format used to transfer QuickDraw graphics between programs on the MAC operating system • TIFF (Tagged Image File Format) - a format for high-resolution, bit- mapped images • JPEG (Joint Photographic Experts Group) - graphic format used most often to compress still images of complex pictures and photographs
  • 9. File Formats: Sound and movies • Other Layer 6 standards guide the presentation of sound and movies. Included in these standards are the following: • MIDI (Musical Instrument Digital Interface) - for digitized music • MPEG (Motion Picture Experts Group) - standard for the compression and coding of motion video for CDs and digital storage • QuickTime - a standard that handles audio and video for programs on a MAC operating system
  • 10. File Formats: text • ASCII and EBCDIC are used to format text. • ASCII text files contain simple character data, and lack any sophisticated formatting commands, such as boldface or underline. • Notepad is an example of an application that uses and creates text files. • They usually have the extension .txt. • EBCDIC is very similar to ASCII in that it also does not use any sophisticated formatting. • The main difference between the two is that EBCDIC is primarily used on mainframes and ASCII is used on personal computers
  • 11. File Formats: Graphics The Internet uses two binary file formats to display images - Graphic Interchange Format (GIF), and Joint Photographic Experts Group (JPEG). Any computer with a reader for the GIF and JPEG file formats can read these file types, regardless of the type of computer. Readers are software programs designed to display an image of a particular file type. Some programs can read multiple image types as well as convert files from one type to another. Web browsers have the ability to display graphic files in either of these two formats without any additional software
  • 12. File formats: Multimedia • The multimedia file format is another type of binary file, which stores sounds, music, and video. • Sound files generally operate in one of two ways. • They may be completely downloaded, first, and then played, or they may download while they are playing. • The latter method is referred to as streaming audio. • Windows uses the WAV format for sound, and the AVI format for animation files. • A few of the more common video formats are MPEG, MPEG2, and Macintosh QuickTime.
  • 13. File formats: Markup Language • Another type of file format is markup language. • This format acts as a set of directions that tell a Web browser how to display and manage documents. • Hypertext Markup Language (HTML) is the language of the Internet. • HTML directions tell a browser whether to display text, or to hyperlink to another URL. • HTML is not a programming language, but is a set of directions for displaying a page
  • 14. Data Encryption Layer 6 is also responsible for data encryption. Data encryption protects information during its transmission. Financial transactions (e.g. credit card information) use encryption to protect sensitive information as it traverses the Internet. An encryption key is used to encrypt the data at its source and then to decrypt the data at its destination
  • 15. Data Compression • The presentation layer is also responsible for the compression of files. • Compression works by using algorithms (complex mathematical formulas) to shrink the size of the files. • The algorithm searches each file for repeating bit patterns, and then replaces them with a token. • A token is a much shorter bit pattern that represents the long pattern. • A simple analogy might be the name Cathy (the nickname), the token, to refer to anyone whose full name is Catherine.
  • 16. Presentation Layer Protocols Presentation Layer, for performing translations or other specified functions, needs to use certain protocols which are defined below – • Apple Filing Protocol (AFP): Apple Filing Protocol is the proprietary network protocol (communications protocol) that offers services to macOS or the classic macOS. This is basically the network file control protocol specifically designed for Mac-based platforms.
  • 17. Presentation Layer Protocols • Lightweight Presentation Protocol (LPP): Lightweight Presentation Protocol is that protocol which is used to provide ISO presentation services on the top of TCP/IP based protocol stacks. • NetWare Core Protocol (NCP): NetWare Core Protocol is the network protocol which is used to access file, print, directory, clock synchronization, messaging, remote command execution and other network service functions.
  • 18. • Network Data Representation (NDR): Network Data Representation is basically the implementation of the presentation layer in the OSI model, which provides or defines various primitive data types, constructed data types and also several types of data representations. • External Data Representation (XDR): External Data Representation (XDR) is the standard for the description and encoding of data. It is useful for transferring data between computer architectures and has been used to communicate data between very diverse machines. Converting from local representation to XDR is called encoding, whereas converting XDR into local representation is called decoding.
  • 19. Presentation Layer Protocols • Secure Socket Layer (SSL): The Secure Socket Layer protocol provides security to the data that is being transferred between the web browser and the server. SSL encrypts the link between a web server and a browser, which ensures that all data passed between them remains private and free from attacks.