Chapter 7 The Application Layer DNS The Domain Name System The - - PowerPoint PPT Presentation

chapter 7
SMART_READER_LITE
LIVE PREVIEW

Chapter 7 The Application Layer DNS The Domain Name System The - - PowerPoint PPT Presentation

Chapter 7 The Application Layer DNS The Domain Name System The DNS Name Space Resource Records Name Servers The DNS Name Space A portion of the Internet domain name space. Resource Records The principal DNS resource


slide-1
SLIDE 1

The Application Layer

Chapter 7

slide-2
SLIDE 2

DNS – The Domain Name System

  • The DNS Name Space
  • Resource Records
  • Name Servers
slide-3
SLIDE 3

The DNS Name Space

A portion of the Internet domain name space.

slide-4
SLIDE 4

Resource Records

The principal DNS resource records types.

slide-5
SLIDE 5

Resource Records (2)

A portion of a possible DNS database for cs.vu.nl.

slide-6
SLIDE 6

Name Servers

Part of the DNS name space showing the division into zones.

slide-7
SLIDE 7

Name Servers (2)

How a resolver looks up a remote name in eight steps.

slide-8
SLIDE 8

Electronic Mail

  • Architecture and Services
  • The User Agent
  • Message Formats
  • Message Transfer
  • Final Delivery
slide-9
SLIDE 9

Electronic Mail (2)

Some smileys. They will not be on the final exam :-).

slide-10
SLIDE 10

Architecture and Services

Basic functions

  • Composition
  • Transfer
  • Reporting
  • Displaying
  • Disposition
slide-11
SLIDE 11

The User Agent

Envelopes and messages. (a) Paper mail. (b) Electronic mail.

slide-12
SLIDE 12

Reading E-mail

An example display of the contents of a mailbox.

slide-13
SLIDE 13

Message Formats – RFC 822

RFC 822 header fields related to message transport.

slide-14
SLIDE 14

Message Formats – RFC 822 (2)

Some fields used in the RFC 822 message header.

slide-15
SLIDE 15

MIME – Multipurpose Internet Mail Extensions

Problems with international languages:

  • Languages with accents

(French, German).

  • Languages in non-Latin alphabets

(Hebrew, Russian).

  • Languages without alphabets

(Chinese, Japanese).

  • Messages not containing text at all

(audio or images).

slide-16
SLIDE 16

MIME (2)

RFC 822 headers added by MIME.

slide-17
SLIDE 17

MIME (3)

The MIME types and subtypes defined in RFC 2045.

slide-18
SLIDE 18

MIME (4)

A multipart message containing enriched and audio alternatives.

slide-19
SLIDE 19

Message Transfer

Transferring a message from elinore@abc.com to carolyn@xyz.com.

slide-20
SLIDE 20

Final Delivery

(a) Sending and reading mail when the receiver has a permanent Internet connection and the user agent runs on the same machine as the message transfer agent. (b) Reading e-mail when the receiver has a dial-up connection to an ISP.

slide-21
SLIDE 21

POP3

Using POP3 to fetch three messages.

slide-22
SLIDE 22

IMAP

A comparison of POP3 and IMAP.

slide-23
SLIDE 23

The World Wide Web

  • Architectural Overview
  • Static Web Documents
  • Dynamic Web Documents
  • HTTP – The HyperText Transfer Protocol
  • Performance Ehnancements
  • The Wireless Web
slide-24
SLIDE 24

Architectural Overview

(a) A Web page (b) The page reached by clicking on Department of Animal Psychology.

slide-25
SLIDE 25

Architectural Overview (2)

The parts of the Web model.

slide-26
SLIDE 26

The Client Side

(a) A browser plug-in. (b) A helper application.

slide-27
SLIDE 27

The Server Side

A multithreaded Web server with a front end and processing modules.

slide-28
SLIDE 28

The Server Side (2)

A server farm.

slide-29
SLIDE 29

The Server Side (3)

(a) Normal request-reply message sequence. (b) Sequence when TCP handoff is used.

slide-30
SLIDE 30

URLs – Uniform Resource Locaters

Some common URLs.

slide-31
SLIDE 31

Statelessness and Cookies

Some examples of cookies.

slide-32
SLIDE 32

HTML – HyperText Markup Language

(a) The HTML for a sample Web page. (b) The formatted page.

(b)

slide-33
SLIDE 33

HTML (2)

A selection of common HTML tags. some can have additional parameters.

slide-34
SLIDE 34

Forms

(a) An HTML table. (b) A possible rendition of this table.

slide-35
SLIDE 35

Forms (2)

(a) The HTML for an

  • rder form.

(b) The formatted page.

(b)

slide-36
SLIDE 36

Forms (3)

A possible response from the browser to the server with information filled in by the user.

slide-37
SLIDE 37

XML and XSL

A simple Web page in XML.

slide-38
SLIDE 38

XML and XSL (2)

A style sheet in XSL.

slide-39
SLIDE 39

Dynamic Web Documents

Steps in processing the information from an HTML form.

slide-40
SLIDE 40

Dynamic Web Documents (2)

A sample HTML page with embedded PHP.

slide-41
SLIDE 41

Dynamic Web Documents (3)

(a) A Web page containing a form. (b) A PHP script for handling the

  • utput of the form. (c) Output from the PHP script when the inputs

are "Barbara" and 24 respectively.

slide-42
SLIDE 42

Client-Side Dynamic Web Page Generation

Use of JavaScript for processing a form.

slide-43
SLIDE 43

Client-Side Dynamic Web Page Generation (2)

(a) Server-side scripting with PHP. (b) Client-side scripting with JavaScript.

slide-44
SLIDE 44

Client-Side Dynamic Web Page Generation (3)

A JavaScript program for computing and printing factorials.

slide-45
SLIDE 45

Client-Side Dynamic Web Page Generation (4)

An interactive Web page that responds to mouse movement.

slide-46
SLIDE 46

Client-Side Dynamic Web Page Generation (5)

The various ways to generate and display content.

slide-47
SLIDE 47

HTTP Methods

The built-in HTTP request methods.

slide-48
SLIDE 48

HTTP Methods (2)

The status code response groups.

slide-49
SLIDE 49

HTTP Message Headers

Some HTTP message headers.

slide-50
SLIDE 50

Example HTTP Usage

The start of the output of www.ietf.org/rfc.html.

slide-51
SLIDE 51

Caching

Hierarchical caching with three proxies.

slide-52
SLIDE 52

Content Delivery Networks

(a) Original Web page. (b) Same page after transformation.

slide-53
SLIDE 53

The Wireless Web

Steps in looking up a URL when a CDN is used.

slide-54
SLIDE 54

WAP – The Wireless Application Protocol

The WAP protocol stack.

slide-55
SLIDE 55

WAP (2)

The WAP architecture.

slide-56
SLIDE 56

I-Mode

Structure of the i-mode data network showing the transport protocols.

slide-57
SLIDE 57

I-Mode (2)

Structure of the i-mode software.

slide-58
SLIDE 58

I-Mode (3)

Lewis Carroll meets a 16 x 16 screen.

slide-59
SLIDE 59

I-Mode (4)

An example of cHTML file.

slide-60
SLIDE 60

Second-Generation Wireless Web

A comparison of first-generation WAP and i-mode.

slide-61
SLIDE 61

Second-Generation Wireless Web (2)

New features of WAP 2.0.

  • Push model as well as pull model.
  • Support for integrating telephony into apps.
  • Multimedia messaging.
  • Inclusion of 264 pictograms.
  • Interface to a storage device.
  • Support for plug-ins in the browser.
slide-62
SLIDE 62

Second-Generation Wireless Web (3)

WAP 2.0 supports two protocol stacks.

slide-63
SLIDE 63

Second-Generation Wireless Web (4)

The XHTML Basic modules and tags.

slide-64
SLIDE 64

Multimedia

  • Introduction to Audio
  • Audio Compression
  • Streaming Audio
  • Internet Radio
  • Voice over IP
  • Introduction to Video
  • Video Compression
  • Video on Demand
  • The MBone – The Multicast Backbone
slide-65
SLIDE 65

Introduction to Audio

(a) A sine wave. (b) Sampling the sine wave. (c) Quantizing the samples to 4 bits.

slide-66
SLIDE 66

Audio Compression

(a) The threshold of audibility as a function of frequency. (b) The masking effect.

slide-67
SLIDE 67

Streaming Audio

A straightforward way to implement clickable music on a Web page.

slide-68
SLIDE 68

Streaming Audio (2)

When packets carry alternate samples, the loss of a packet reduces the temporal resolution rather than creating a gap in time.

slide-69
SLIDE 69

Streaming Audio (3)

The media player buffers input from the media server and plays from the buffer rather than directly from the network.

slide-70
SLIDE 70

Streaming Audio (4)

RTSP commands from the player to the server.

slide-71
SLIDE 71

Internet Radio

A student radio station.

slide-72
SLIDE 72

Voice over IP

The H323 architectural model for Internet telephony.

slide-73
SLIDE 73

Voice over IP (2)

The H323 protocol stack.

slide-74
SLIDE 74

Voice over IP (3)

Logical channels between the caller and callee during a call.

slide-75
SLIDE 75

SIP – The Session Initiation Protocol

The SIP methods defined in the core specification.

slide-76
SLIDE 76

SIP (2)

Use a proxy and redirection servers with SIP.

slide-77
SLIDE 77

Comparison of H.323 and SIP

slide-78
SLIDE 78

Video Analog Systems

The scanning pattern used for NTSC video and television.

slide-79
SLIDE 79

The JPEG Standard

The operation of JPEG in lossy sequential mode.

slide-80
SLIDE 80

The JPEG Standard (2)

(a) RGB input data. (b) After block preparation.

slide-81
SLIDE 81

The JPEG Standard (3)

(a) One block of the Y matrix. (b) The DTC coefficients. (a) (b)

slide-82
SLIDE 82

The JPEG Standard (4)

Computation of the quantized DTC coefficients.

slide-83
SLIDE 83

The JPEG Standard (5)

The order in which the quantized values are transmitted.

slide-84
SLIDE 84

The MPEG Standard

Synchronization of the audio and video streams in MPEG-1.

slide-85
SLIDE 85

The MPEG Standard (2)

Three consecutive frames.

slide-86
SLIDE 86

Video on Demand

Overview of a video-on-demand system.

slide-87
SLIDE 87

Video Servers

A video server storage hierarchy.

slide-88
SLIDE 88

Video Servers (2)

The hardware architecture of a typical video server.

slide-89
SLIDE 89

The MBone – The Multicast Backbone

MBone consists of multicast islands connected by tunnels.