Architecture
PROTOCOLS
Jan-19-2016
Protocols
• The term protocol refers to a well-known set of rules and
What is
formats to be used in order to perform a task. For
example, a task of communicating between processes.
??
• Parts of a protocol:
- A specification of a sequence of messages that must
be exchanged.
?
a
- A specification of the format of the data in the
messages.
• Existence of well-known (standard) protocols enables the
separate components of the distributed systems to be
developed independently in different languages and on
different platforms.
3 elements of a protocol:
• Syntax • Timing
- structure of - temporal
commands sequence of
and answers commands and
answers
• Semantics
- set of commands
and answers
How Protocols Work
?...
The entire technical operation by which data is transmitted
over the network has to be broken down into discrete, systematic
steps. At each step, certain actions take place that cannot take place
at any other step. Each step includes its own rules and procedures,
or protocol.
1. Break the data into smaller sections, called packets, that the
protocol can handle.
2. Add addressing information to the packets so that the
destination computer on the network can determine that the
data belongs to it.
3. Prepare the data for transmission through the NIC and out
onto the network cable.
Physical Layer
Packet sent as a bit stream.
Protocol Stacks
Transport Protocols
Transport protocols facilitate communication sessions between
Protocol Description
computers and ensure that data is able to move reliably
TCP The TCP/IP protocol for guaranteed delivery of sequenced data.
between computers. Popular transport protocols are shown in
theTable
SPX Part of Novell's IPX/SPX protocol suite for sequenced data.