SlideShare una empresa de Scribd logo
1 de 54
BITS 2513 – Internet Technology Lecture 6:  Presentation Layer
Topics Covered ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Presentation Layer ,[object Object],[object Object],[object Object]
Presentation Layer From application layer To application layer From session layer To session layer Presentation layer Presentation layer Data Data
Presentation Format ,[object Object],[object Object]
Encoding/Decoding ,[object Object],[object Object]
Presentation formatting Presentation formatting involves encoding and decoding application data. Application data Presentation encoding Application data Presentation decoding Message Message Message ■ ■ ■
Presentation Layer ,[object Object],[object Object],[object Object],[object Object]
DATA REPRESENTATION
Data Representation ,[object Object],[object Object]
Data Representation ,[object Object],[object Object]
Data Representation ,[object Object],[object Object],[object Object]
ASN.1 ,[object Object],[object Object],[object Object]
ASN.1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ASN.1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ASN.1 ,[object Object]
XDR ,[object Object],[object Object],[object Object]
XDR 4 bytes of XDR message:
XDR (cont.) ,[object Object],[object Object],[object Object]
DATA  COMPRESSION
Data Compression ,[object Object],[object Object],[object Object]
Why Compression? ,[object Object],[object Object],[object Object],[object Object]
Why Compression? ,[object Object],[object Object]
Steps of Data Compression ,[object Object],[object Object],[object Object],[object Object],[object Object]
Steps of Data Compression Major steps of image compression, can also be applied to audio and video data Uncompressed Picture Picture Preparation Picture Processing Quantization Entropy Encoding Compressed Picture
IMAGE COMPRESSION ,[object Object]
Image Compression ,[object Object],[object Object],[object Object]
Image Compression ,[object Object]
Image Compression ,[object Object]
Comparison of graphics file formats FORMAT FILE EXTENTION TYPE OF COMPRESSION METHODS USAGE BMP  (bitmap) .bmp Cosiderably compressed with lossless ZIP used to store bitmap digital images JPEG  (Joint Photographic Experts Group) .jpg , .jpeg , .jpe Lossy Lossless - Discrete Cosine Transform (DCT) & Chroma Subsampling - Run-Length Encoding (RLE) For natural images GIF (Graphics Interchange Format  .gif , .giff , .gfa Lossless LZW (Lempel-Ziv-Welch) For artificial images (sharp-edge lines and few colors) & support animation PNG (Portable Network Graphics) .png Lossless DEFLATE Better compression & features than GIF, but don’t support animation TIFF (Tagged Image File Format)  .tiff , .tif Lossless RLE / LZW / DEFLATE / ZIP Flexible file format, can store multiple images in a single file JPEG2000 jp2, .j2c, jpc, j2k, jpx Lossy & Lossless Discrete Wavelet Transform (DWT) Better image quality than JPEG (up to 20%), not widely used because of some patent issues.
Block Diagram of JPEG Compression Transformation coding performed using the Discrete Cosine Transform (DCT) Quantization of all DCT coefficients  ( a lossy process)  Huffman coding and arithmetic coding as entropy encoding methods
AUDIO COMPRESSION ,[object Object]
Audio Compression ,[object Object],[object Object],[object Object]
Audio Compression ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Audio Compression ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MPEG ,[object Object],[object Object],[object Object]
MPEG (cont.) ,[object Object],[object Object]
MPEG Audio Encoding Uncompressed Audio Signal Division in 32 Frequency Bands Psychoacoustic Model Quantization (if applicable) Entropy Encoding Compressed Audi o Data controls
Audio Compression Formats – MP3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Audio Compression Formats  – Ogg Vorbis ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Audio Compression Formats – WMA ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
VIDEO COMPRESSION ,[object Object]
Video Compression ,[object Object],[object Object],[object Object]
Video Compression ,[object Object],[object Object],[object Object],[object Object]
Video Compression Process ,[object Object],[object Object],[object Object]
Video Compression Techniques ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Video Compression Formats ,[object Object],[object Object],[object Object]
ENCRYPTION
Encryption ,[object Object],[object Object],[object Object],[object Object]
Encryption ,[object Object],[object Object]
Encryption Example of Encryption / Decryption Process Plaintext Plaintext Ciphertext
Basic Terms and Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object]
Encrytption/Decryption Keys ,[object Object],[object Object]
How Encryption Protects ,[object Object],Protection Description Confidentiality Allow only authorized users to access information. Authentication Verify who the sender was and trust the sender is who they claim to be. Integrity Trust the information has not been altered Nonrepudiation Ensure that the sender or receiver cannot deny that a message was sent or received. Access Control Restrict availability to information.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Application Layer
Application Layer Application Layer
Application Layer
 
Data link layer
Data link layer Data link layer
Data link layer
 
Datalinklayer tanenbaum
Datalinklayer tanenbaumDatalinklayer tanenbaum
Datalinklayer tanenbaum
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Ports & sockets
Ports  & sockets Ports  & sockets
Ports & sockets
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
 
Public key algorithm
Public key algorithmPublic key algorithm
Public key algorithm
 
Domain name system
Domain name systemDomain name system
Domain name system
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Basics of computer networks
Basics of computer networksBasics of computer networks
Basics of computer networks
 
Telnet
TelnetTelnet
Telnet
 
block ciphers
block ciphersblock ciphers
block ciphers
 
Basics of Computer Network Device
Basics of Computer Network DeviceBasics of Computer Network Device
Basics of Computer Network Device
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 

Destacado

Presentation Layer (Layer OSI)
Presentation Layer (Layer OSI)Presentation Layer (Layer OSI)
Presentation Layer (Layer OSI)
wahyu_phutra
 
Application Layer
Application LayerApplication Layer
Application Layer
rosmida
 
Presentation Layer
Presentation LayerPresentation Layer
Presentation Layer
Hiep Luong
 
Ooad Overview
Ooad OverviewOoad Overview
Ooad Overview
Dang Tuan
 

Destacado (20)

Session layer ppt
Session layer pptSession layer ppt
Session layer ppt
 
L17 Presentation Layer Design
L17 Presentation Layer DesignL17 Presentation Layer Design
L17 Presentation Layer Design
 
Presentation Layer (Layer OSI)
Presentation Layer (Layer OSI)Presentation Layer (Layer OSI)
Presentation Layer (Layer OSI)
 
L13 Presentation Layer Design
L13 Presentation Layer DesignL13 Presentation Layer Design
L13 Presentation Layer Design
 
Final Presentation on the Network layer
Final Presentation on the Network layerFinal Presentation on the Network layer
Final Presentation on the Network layer
 
Magento Presentation Layer
Magento Presentation LayerMagento Presentation Layer
Magento Presentation Layer
 
Network layer - design Issues
Network layer - design IssuesNetwork layer - design Issues
Network layer - design Issues
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Application Layer
Application LayerApplication Layer
Application Layer
 
OSI Model of Networking
OSI Model of NetworkingOSI Model of Networking
OSI Model of Networking
 
Electrick circuit
Electrick circuitElectrick circuit
Electrick circuit
 
Presentation Layer
Presentation LayerPresentation Layer
Presentation Layer
 
Physical layer
Physical layerPhysical layer
Physical layer
 
Data Center Physical Layer
Data Center Physical LayerData Center Physical Layer
Data Center Physical Layer
 
Ooad Overview
Ooad OverviewOoad Overview
Ooad Overview
 
Wk 7 Assignment Mac Layer Presentation
Wk 7 Assignment   Mac Layer PresentationWk 7 Assignment   Mac Layer Presentation
Wk 7 Assignment Mac Layer Presentation
 
WSO2 Presentation Layer
WSO2 Presentation LayerWSO2 Presentation Layer
WSO2 Presentation Layer
 
Id. 02 network & data link & physical layer
Id. 02 network & data link & physical layerId. 02 network & data link & physical layer
Id. 02 network & data link & physical layer
 
Presentasi model osi ( retno )
Presentasi model osi ( retno )Presentasi model osi ( retno )
Presentasi model osi ( retno )
 
Network devices
Network devicesNetwork devices
Network devices
 

Similar a Lecture 6 -_presentation_layer

Data representation
Data representationData representation
Data representation
ChingTing
 
A research paper_on_lossless_data_compre
A research paper_on_lossless_data_compreA research paper_on_lossless_data_compre
A research paper_on_lossless_data_compre
Luisa Francisco
 
10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf
PUSHKAR ARYA
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
Videoguy
 
Adam Crittenden Sound Glossary Original
Adam Crittenden Sound Glossary OriginalAdam Crittenden Sound Glossary Original
Adam Crittenden Sound Glossary Original
Adam Crittenden
 

Similar a Lecture 6 -_presentation_layer (20)

Data representation
Data representationData representation
Data representation
 
Data representation
Data representationData representation
Data representation
 
Data representation
Data representationData representation
Data representation
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
Pbl1
Pbl1Pbl1
Pbl1
 
Presentation on Image Compression
Presentation on Image Compression Presentation on Image Compression
Presentation on Image Compression
 
Dr.U.Priya, Head & Assistant Professor of Commerce, Bon Secours for Women, Th...
Dr.U.Priya, Head & Assistant Professor of Commerce, Bon Secours for Women, Th...Dr.U.Priya, Head & Assistant Professor of Commerce, Bon Secours for Women, Th...
Dr.U.Priya, Head & Assistant Professor of Commerce, Bon Secours for Women, Th...
 
Data Communication & Computer network: Data compression
Data Communication & Computer network: Data compressionData Communication & Computer network: Data compression
Data Communication & Computer network: Data compression
 
Data compression
Data compression Data compression
Data compression
 
Media Encoding
Media Encoding Media Encoding
Media Encoding
 
DIP.pptx
DIP.pptxDIP.pptx
DIP.pptx
 
A research paper_on_lossless_data_compre
A research paper_on_lossless_data_compreA research paper_on_lossless_data_compre
A research paper_on_lossless_data_compre
 
10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf
 
lecture on data compression
lecture on data compressionlecture on data compression
lecture on data compression
 
data compression technique
data compression techniquedata compression technique
data compression technique
 
Codecs
CodecsCodecs
Codecs
 
Introduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag JainIntroduction to Video Compression Techniques - Anurag Jain
Introduction to Video Compression Techniques - Anurag Jain
 
Video compression
Video compressionVideo compression
Video compression
 
Adam Crittenden Sound Glossary Original
Adam Crittenden Sound Glossary OriginalAdam Crittenden Sound Glossary Original
Adam Crittenden Sound Glossary Original
 

Más de Serious_SamSoul (11)

Lecture 13 -_e-commmerce_e-banking_and_advanced_tech
Lecture 13 -_e-commmerce_e-banking_and_advanced_techLecture 13 -_e-commmerce_e-banking_and_advanced_tech
Lecture 13 -_e-commmerce_e-banking_and_advanced_tech
 
Lecture 12 -_internet_security
Lecture 12 -_internet_securityLecture 12 -_internet_security
Lecture 12 -_internet_security
 
Lecture 11 client_server_interaction
Lecture 11 client_server_interactionLecture 11 client_server_interaction
Lecture 11 client_server_interaction
 
Lecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transferLecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transfer
 
Lecture 7 -_ftp,_tftp,_telnet_and_ssh
Lecture 7 -_ftp,_tftp,_telnet_and_sshLecture 7 -_ftp,_tftp,_telnet_and_ssh
Lecture 7 -_ftp,_tftp,_telnet_and_ssh
 
Lecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignmentsLecture 5 internet-protocol_assignments
Lecture 5 internet-protocol_assignments
 
Lecture 4 -_internet_infrastructure_2_updated_2011
Lecture 4 -_internet_infrastructure_2_updated_2011Lecture 4 -_internet_infrastructure_2_updated_2011
Lecture 4 -_internet_infrastructure_2_updated_2011
 
Lecture 3 -_internet_infrastructure_updated_2011
Lecture 3 -_internet_infrastructure_updated_2011Lecture 3 -_internet_infrastructure_updated_2011
Lecture 3 -_internet_infrastructure_updated_2011
 
Lecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notesLecture 2 -_understanding_networks_with_presenter_notes
Lecture 2 -_understanding_networks_with_presenter_notes
 
Lecture 1 -_overview_of_the_internet-1-
Lecture 1 -_overview_of_the_internet-1-Lecture 1 -_overview_of_the_internet-1-
Lecture 1 -_overview_of_the_internet-1-
 
Lecture 1 -_overview_of_the_internet-1-
Lecture 1 -_overview_of_the_internet-1-Lecture 1 -_overview_of_the_internet-1-
Lecture 1 -_overview_of_the_internet-1-
 

Último

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Último (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Lecture 6 -_presentation_layer

  • 1. BITS 2513 – Internet Technology Lecture 6: Presentation Layer
  • 2.
  • 3.
  • 4. Presentation Layer From application layer To application layer From session layer To session layer Presentation layer Presentation layer Data Data
  • 5.
  • 6.
  • 7. Presentation formatting Presentation formatting involves encoding and decoding application data. Application data Presentation encoding Application data Presentation decoding Message Message Message ■ ■ ■
  • 8.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. XDR 4 bytes of XDR message:
  • 19.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. Steps of Data Compression Major steps of image compression, can also be applied to audio and video data Uncompressed Picture Picture Preparation Picture Processing Quantization Entropy Encoding Compressed Picture
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. Comparison of graphics file formats FORMAT FILE EXTENTION TYPE OF COMPRESSION METHODS USAGE BMP (bitmap) .bmp Cosiderably compressed with lossless ZIP used to store bitmap digital images JPEG (Joint Photographic Experts Group) .jpg , .jpeg , .jpe Lossy Lossless - Discrete Cosine Transform (DCT) & Chroma Subsampling - Run-Length Encoding (RLE) For natural images GIF (Graphics Interchange Format .gif , .giff , .gfa Lossless LZW (Lempel-Ziv-Welch) For artificial images (sharp-edge lines and few colors) & support animation PNG (Portable Network Graphics) .png Lossless DEFLATE Better compression & features than GIF, but don’t support animation TIFF (Tagged Image File Format) .tiff , .tif Lossless RLE / LZW / DEFLATE / ZIP Flexible file format, can store multiple images in a single file JPEG2000 jp2, .j2c, jpc, j2k, jpx Lossy & Lossless Discrete Wavelet Transform (DWT) Better image quality than JPEG (up to 20%), not widely used because of some patent issues.
  • 31. Block Diagram of JPEG Compression Transformation coding performed using the Discrete Cosine Transform (DCT) Quantization of all DCT coefficients ( a lossy process) Huffman coding and arithmetic coding as entropy encoding methods
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38. MPEG Audio Encoding Uncompressed Audio Signal Division in 32 Frequency Bands Psychoacoustic Model Quantization (if applicable) Entropy Encoding Compressed Audi o Data controls
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 49.
  • 50.
  • 51. Encryption Example of Encryption / Decryption Process Plaintext Plaintext Ciphertext
  • 52.
  • 53.
  • 54.