Title: The Application Layer
1The Application Layer
2DNS The Domain Name System
- The DNS Name Space
- Resource Records
- Name Servers
3Domain Name System
Goal Convert host names to IP addresses. Provide
s a hierarchical naming system of domains. There
are currently about 200 top-level-domains. Each
domain is managed by a registrar. netlab.cis.temp
le.edu has edu as the top-level domain, temple
and cis are subdomains and netlab is the
host. So Temple University registered the temple
domain name with the edu registrar. Then network
services created a subdomain for CIS called cis.
Finally we chose netlab as the name within cis.
4The DNS Name Space
- A portion of the Internet domain name space.
5Resource Records
Mapping from host or domain name to IP addresses
is stored as resource record in the
DNS. Resource records also store other
information about a host or domain A resolver is
one that given a name queries the DNS server and
returns the resource records associated with that
name.
6Resource Records
- The principal DNS resource records types.
7Resource Records (2)
- A portion of a possible DNS database for cs.vu.nl.
8Name Servers
Having one big DNS server will all records is not
a good idea
- Part of the DNS name space showing the division
into zones.
9Name Servers (2)
flits.cs.vu.nl looking for IP address of
linda.cs.yale.edu
- How a resolver looks up a remote name in eight
steps.
10Multimedia
- Introduction to Audio
- Audio Compression
- Voice over IP
- Video over IP
11Introduction to Audio
- (a) A sine wave. (b) Sampling the sine wave.
(c) Quantizing the samples to 4 bits.
CD quality audio requires 44,100 samples/sec with
16 bits per sample. That is a bit rate of 1.411
Mbps for stereo transmission. Clearly
compression is required.
12Audio compression
Waveform coding Fourier transform audio and
minimally encode components. Perceptual
coding Exploit flaws in human hearing. Based on
psychoacoustics. MP3 (MPEG audio layer 3) is the
most popular example. Key property is Some
sounds can mask other sounds. Frequency masking
Loud Jackhammers will mask a soft
flute. Temporal masking After a loud masking
sound stops, the ear will take some time to
recover and tune into the soft sound. Idea is
then to encoding only sounds that are not masked.
13Audio Compression
- (a) The threshold of audibility as a function of
frequency. - (b) The masking effect.
14Streaming Audio
- A straightforward way to implement clickable
music on a Web page.
15Streaming Audio (2)
When packets carry alternate samples, the loss of
a packet reduces the temporal resolution rather
than creating a gap in time.
16Streaming Audio (3)
- The media player buffers input from the media
server and plays from the buffer rather than
directly from the network.
17Streaming Audio (4)
- RTSP commands from the player to the server.
18Internet Radio
19Voice over IP
- The H323 architectural model for Internet
telephony.
20Voice over IP (2)
21Voice over IP (3)
- Logical channels between the caller and callee
during a call.
22SIP The Session Initiation Protocol
- The SIP methods defined in the core specification.
23SIP (2)
- Use a proxy and redirection servers with SIP.
24Comparison of H.323 and SIP
25Video Analog Systems
- The scanning pattern used for NTSC video and
television.
26The JPEG Standard
- The operation of JPEG in lossy sequential mode.
27The JPEG Standard (2)
- (a) RGB input data.
- (b) After block preparation.
28The JPEG Standard (3)
(b)
(a)
- (a) One block of the Y matrix.
- (b) The DTC coefficients.
29The JPEG Standard (4)
- Computation of the quantized DTC coefficients.
30The JPEG Standard (5)
- The order in which the quantized values are
transmitted.
31The MPEG Standard
- Synchronization of the audio and video streams in
MPEG-1.
32The MPEG Standard (2)
- Three consecutive frames.
33Video on Demand
- Overview of a video-on-demand system.
34Video Servers
- A video server storage hierarchy.
35Video Servers (2)
- The hardware architecture of a typical video
server.
36The MBone The Multicast Backbone
- MBone consists of multicast islands connected by
tunnels.