Data and Computer Communications
Data and Computer Communications
Communications
Chapter 2 – Protocol Architecture,
TCP/IP, and Internet-Based
Applications
Ninth Edition
by William Stallings
Protocol Architecture,
TCP/IP, and Internet-Based
Applications
To destroy communication completely, there
must be no rules in common between
transmitter and receiver—neither of alphabet
nor of syntax.
—On Human Communication,
Colin Cherry
The Need For Protocol
Architecture
1.) the source must
2.) the source must make
activate communications
sure that destination is
path or inform network of
prepared to receive data
destination
To transfer data
several tasks
must be
performed:
3.) the file transfer
application on source must 4.) a format translation
confirm file management function may need to be
program at destination is performed if the formats
prepared to accept and on systems are different
store file
Functions of Protocol
Architecture
Ø breaks logic into subtask modules which
are implemented separately
Ø modules are arranged in a vertical stack
• each layer in the stack performs a
subset of functions
• relies on next lower layer for primitive
functions
• changes in one layer should not require
changes in other layers
Key Features of a Protocol
A protocol is a set of rules or conventions
that allow peer layers to communicate.
The key features of a protocol are:
• format of data
Syntax blocks
• control information
Semantics for coordination
and error handling
• speed matching
Timing and sequencing
A Simple Protocol
agents involved:
examples of
• applications applications include
• computers file transfer and
• networks electronic mail
these execute on
computers that
support multiple
simultaneous
applications
Communication Layers
Ø communication tasks are organized into
three relatively independent layers:
common layer
shared by all
applications
Application Layer
TCP/IP
Result of
comprises a
protocol
Referred to large
research and
as TCP/IP collection of
development
protocol suite protocols that
conducted on
are Internet
ARPANET
standards
TCP/IP Layers and Example
Protocols
Physical Layer
Ø covers the physical interface between
computer and network
Ø concerned with issues like:
l characteristics of transmission medium
l nature of the signals
l data rates
Network Access Layer
Ø covers the exchange of data between an
end system and the network that it is
attached to
Ø concerned with issues like :
l destination address provision
l invoking specific services like priority
l access to & routing data across a network for
two end systems attached to the same
network
Internet Layer
implements procedures
needed to allow data to
travel across multiple
interconnected networks
implemented in end
systems and routers
Host-to-Host (Transport) Layer
Protocol Service
Addressing
specification definition
Primitive Types
REQUEST A primitive issued by a service user to invoke some
service and to pass the parameters needed to specify
fully the requested service
INDICATION A primitive issued by a service provider either to:
indicate that a procedure has been invoked by the peer
service user on the connection and to provide the
associated parameters, or
notify the service user of a provider-initiated action
RESPONSE A primitive issued by a service user to acknowledge or
complete some procedure previously invoked by an
indication to that user
CONFIRM A primitive issued by a service provider to acknowledge
or complete some procedure previously invoked by a
request by the service user
Service Primitives and
Parameters
Ø define services
between adjacent
layers using:
• primitives to
specify function
performed
• parameters to
SMTP
FTP
SSH
TCP
Multimedia Terminology
Multimedia Terminology
audio generally encompasses sounds that are
produced by a human, telephony and related
voice communications technology
Multimedia educational
systems
• electronic books, flexible teaching
materials, simulation systems,
automatic testing, distance learning
Domains of Multimedia
Systems and Example
Applications
Elastic and Inelastic Traffic