Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De...

18
Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineer ing De Lin Institute of Technology [email protected] http://www.cse.dlit.edu.tw/~andres

Transcript of Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De...

Page 1: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Chap 14 Presentation Layer

Andres, Wen-Yuan Liao

Department of Computer Science and Engineering

De Lin Institute of Technology

[email protected]

http://www.cse.dlit.edu.tw/~andres

Page 2: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Overview

The presentation layer is concerned with the format and representation of data

Code formatting and conversion

Data structures that are used by applications

Page 3: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.
Page 4: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

The Presentation Layer

Presentation layer functions and standards

File formats

Data encryption and compression

Page 5: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Functions and standards

The presentation layer is responsible for presenting data in a form that the receiving device can understand

Page 6: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Functions

Data formatting (presentation)

Data encryption

Data compression

Page 7: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.
Page 8: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Data Format

EBCDIC

ASCII

Layer 6 provides the translation between these two different types of codes

Page 9: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.
Page 10: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Graphic images

PICT MAC operating system

TIFFHigh-resolution, bit-mapped images

JPEG Compress still images of complex

pictures and photographs

GIF

Page 11: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Sound and movies

MIDI Digitized music

MPEG Standard for the compression and coding

of motion video for CDs and digital storage

QuickTime Handles audio and video for programs on

both MAC and PC operating system

Page 12: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

File Formats

Text format: ASCII and EBCDIC

Binary files Display images - Graphic

Interchange Format (GIF), and Joint Photographic Experts Group (JPEG)

Page 13: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

File FormatsMultimedia file formatDownloaded, first, and then playedStreaming audio

They may download while they are playing

WAV: sound

AVI: animation files

Video formats: MPEG, MPEG2, and Macintosh QuickTime

Page 14: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

File Format - Markup language

Acts as a set of directions that tell a Web browser how to display and manage documents

HTML directions tell a browser whether to display text, or to hyperlink to another URL

Page 15: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Data encryption and compression

Data encryption protects information during its transmission

Compression works by using algorithms to shrink the size of the files

Page 16: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.
Page 17: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.
Page 18: Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology andres@dlit.edu.tw andres.

Summary

Determines how graphic images, sound and movies are presented 

Provides encryption of data

Compresses text and converts graphic images into bit streams