Professional Documents
Culture Documents
content
• Transport layer
• Connection Management
• Data Compression
• Cryptography
OSI is stands for
open system
interconnection .
it is 7 layer
architecture .
Transport Layer Design
1)Process to Process delivery
2)Flow control
3)Error control
4)UDP
5)Header Format of UDP
6)TCP
Process to Process Delivery
The real communication takes place between
two process -to-process application programs
for which we need to the process to process
delivery .
• In this a packet from one process is delivered to
the other process .
• the relationship between the process the
communicating process is the client -server
relationship .
Process to Process Data Transfer
Flow control is performed end to end in this layer .
5)Each UDP message contains both a destination port numbers and a source port
number . this makes it possible for th UDP at the destination to deliver the message
to the correct application programs .
Length - this is the size in bytes of the UDP packets including the header and data . The
minimum length of the header is 8 -Byte .
Checksum - This is used to verify the integrity of a the UDP header . The checksum is
performed on a “pseudo header “ consisting of information obtained from the IP
header as well as UDP Header .
Connection Management
1.Connection Oriented service b/w
Add yue
Connectionless service
2.3 way handshaking protocol
3.TCP header
4.Congestion control algorithm
5.TCP preferred over UDP in some
TITLE TITE
applications
Connection oriented || Connection less
• In this authentication is • it does not need
needed . authentication .
• this is more reliable • this is less reliable
• it is stream based • it is message based .
• Packets travels • Packets travel randomly .
sequentially
• it makes connection and • it does not guarantee a
checks whether message
delivery .
received or not sends again if
an error occurs .
3 Way Handshake Protocol
Connection establishment in TCP
Translation Compression
Layer Layer
Presentation
Layer
Design Issue in Presentation Layer
1)To manage and maintain
the syntax and semantics of
the information transmitted
.
2)The presentation layer
then prepares this data in
the most appropriate format
the receiving application can
understand.
Translation Layer
ASCII EBCDIC
Data Compression
1
Data compression is the way of
downloading the compressed
form of the text,audio, video
data using the computer . 2 Lossy
Compression
DATA compression
• Data compression is a reduction in the number of bits
needed to represent data.
Predictive Compression
Perceptual Compression
Predictive encoding
In predictive encoding, the differences between samples are
encoded instead of encoding all the sampled values. This
type of compression is normally used for speech. Several
standards have been defined such as GSM (13 kbps), G.729
(8 kbps), and G.723.3 (6.4 or 5.3 kbps). Detailed discussions
of these techniques are beyond the scope of this book.
Perceptual encoding: MP3
The most common compression technique used to create
CD-quality audio is based on the perceptual encoding
technique. This type of audio needs at least 1.411 Mbps,
which cannot be sent over the Internet without compression.
MP3 (MPEG audio layer 3) uses this technique.
15.37
Streaming Audio
a)Using a web server
b)using a web server with a metafile
c) using a media server
d)using a media derver and RTSP
Streaming audio using Media Server
JPEG compression
1.Tranformation
2.Down sampling
3.Oraganizing in groups
4.Discrete cosine Transform
5.Quantiazation
6.Encoding
7.Adding header
JPEG Compression
usually same or less than original clear text size . More than the original clear text size .