صفحه 1:
William Stallings
Data and Computer
Communications
Chapter 1
Introduction
صفحه 2:
A Communications Model
I Source
I generates data to be transmitted
0 Transmitter
! Converts data into transmittable signals
0 Transmission System
! Carries data
0 Receiver
| Converts received signal into data
0 Destination
I Takes incoming data
صفحه 3:
Simplified Communications Model
- Diagram
صفحه 4:
Key Communications Tasks
I Transmission System Utilization
Interfacing
Signal Generation
Synchronization
Exchange Management
Error detection and correction
Addressing and routing
Recovery
Message formatting
Security
Network Management
Speeeeseeeooe
صفحه 5:
Simplified Data Communications
Model
Digital bit Analog Analog Digital bit
stream signal signal stream
‘Text 7 an Antu SI ‘Text
Source
® 9 © 9 © ©
Input Input data من Received Output data Output
information 0 signal gna #0 information
2 0 3 7
صفحه 6:
Networking
I Point to point communication not usually
practical
I Devices are too far apart
I Large set of devices would need impractical
number of connections
1 Solution is a communications network
صفحه 7:
Simplified Network Model
=e
network
صفحه 8:
Wide Area Networks
0 Large geographical area
0 Crossing public rights of way
0 Rely in part on common carrier circuits
0 Alternative technologies
I Circuit switching
I Packet switching
I Frame relay
I Asynchronous Transfer Mode (ATM)
صفحه 9:
Circuit Switching
Dedicated communications path
established for the duration of the
conversation
0 e.g. telephone network
ص
صفحه 10:
Packet Switching
0 Data sent out of sequence
0 Small chunks (packets) of data at a time
0 Packets passed from node to node
between source and destination
0 Used for terminal to computer and
computer to computer communications
صفحه 11:
Frame Relay
0 Packet switching systems have large
overheads to compensate for errors
0 Modern systems are more reliable
0 Errors can be caught in end system
0 Most overhead for error control is stripped
out
صفحه 12:
Asynchronous Transfer Mode
ATM
Evolution of frame relay
Little overhead for error control
Fixed packet (called cell) length
Anything from 10Mbps to Gbps
Constant data rate using packet switching
technique
eas ابحم زاو Sy اس
صفحه 13:
Integrated Services Digital
Network
0 ISDN
0 Designed to replace public telecom
system
0 Wide variety of services
0 Entirely digital domain
صفحه 14:
Local Area Networks
Smaller scope
I Building or small campus
Usually owned by same organization as
attached devices
Data rates much higher
Usually broadcast systems
Now some switched systems and ATM are
being introduced
ص
ص
oe از تس
صفحه 15:
Protocols
I Used for communications between entities in a
system
Must speak the same language
Entities
1١ User applications
1 e-mail facilities
1 terminals
0 Systems
1 Computer
1١ Terminal
1 Remote sensor
صفحه 16:
Key Elements of a Protocol
0 Syntax
! Data formats
I Signal levels
0 Semantics
۱ Control information
| Error handling
0 Timing
I Speed matching
I Sequencing
صفحه 17:
Protocol Architecture
0 Task of communication broken up into
modules
For example file transfer could use three
modules
I File transfer application
! Communication service module
I Network access module
صفحه 18:
Simplified File Transfer
Architecture
Computer ¥
Computer X
‘Communications
network
modi
Network interfac
Logie
Network interface}
logic
صفحه 19:
A Three Layer Model
0 Network Access Layer
0 Transport Layer
0 Application Layer
صفحه 20:
Network Access Layer
0 Exchange of data between the computer
and the network
Sending computer provides address of
destination
May invoke levels of service
Dependent on type of network used (LAN,
packet switched etc.)
ص
oo
صفحه 21:
Transport Layer
0 Reliable data exchange
0 Independent of network being used
0 Independent of application
صفحه 22:
Application Layer
0 Support for different user applications
0 e.g. e-mail, file transfer
صفحه 23:
Addressing Requirements
0 Two levels of addressing required
0 Each computer needs unique network
address
0 Each application on a (multi-tasking)
computer needs a unique address within
the computer
I The service access point or SAP
صفحه 24:
Protocol Architectures and
Application
‘Transport
Network acess
Networks
صفحه 25:
Protocols in Simplified
Architecture
Computer ¥
Computer X
Application Protocol
Application
Transport
| سس ند
‘Communications Neiwork access
Network access network Network access
protocol protocol
صفحه 26:
Protocol Data Units (PDU)
I At each layer, protocols are used to
communicate
0 Control information is added to user data at
each layer
Transport layer may fragment user data
Each fragment has a transport header added
I Destination SAP
I Sequence number
I Error detection code
! This gives a transport protocol data unit
2
o
o
صفحه 27:
Network PDU
0 Adds network header
I network address for destination computer
I Facilities requests
صفحه 28:
Operation of a Protocol
Architecture
Destination ¥
صفحه 29:
TCP/IP Protocol Architecture
0 Developed by the US Defense Advanced
Research Project Agency (DARPA) for its
packet switched network (ARPANET)
0 Used by the global Internet
0 No official model but a working one.
I Application layer
I Host to host or transport layer
I Internet layer
1 Network access layer
۱ Physical layer
صفحه 30:
Physical Layer
0 Physical interface between data
transmission device (e.g. computer) and
transmission medium or network
Characteristics of transmission medium
Signal levels
Data rates
etc.
جح حر حر ا
صفحه 31:
Network Access Layer
0 Exchange of data between end system
and network
0 Destination address provision
0 Invoking services like priority
صفحه 32:
Internet Layer (IP)
0 Systems may be attached to different
networks
Routing functions across multiple
networks
Implemented in end systems and routers
ص
ص
صفحه 33:
Transport Layer (TCP)
0 Reliable delivery of data
0 Ordering of delivery
صفحه 34:
Application Layer
0 Support for user applications
0 e.g. http, SMPT
صفحه 35:
TCP/IP Protocol Architecture Model
Destis
Application }---- Application
TCP ‘TCP
IP صر
Network Access} --~ Network Access}
Physical Physical
Source System Destination System
صفحه 36:
OSI Model
0 Open Systems Interconnection
0 Developed by the International
Organization for Standardization (ISO)
0 Seven layers
0 A theoretical system delivered too late!
0 TCP/IP is the de facto standard
صفحه 37:
OSI Layers
Application
Presentation
Session
Transport
Network
Data Link
Physical
SS) Sh ey or ea
صفحه 38:
OSI v TCP/IP
TCPAP اوه
Application
Application |__
Presentation User
Space
Session
Software
‘Transport
Transport _|(host-to-host)
Internet
Network Firmware
Network Operating
DataLink | Access Hardware
System
Physical |
صفحه 39:
Standards
0 Required to allow for interoperability
between equipment
0 Advantages
I Ensures a large market for equipment and
software
I Allows products from different vendors to
communicate
0 Disadvantages
I Freeze technology
۱ May be multiple standards for the same thing
صفحه 40:
Standards Organizations
0 Internet Society
0 ISO
0 ITU-T (formally CCITT)
0 ATM forum
صفحه 41:
Further Reading
I Stallings, W. Data and Computer
Communications (6th edition), Prentice Hall 1999
chapter 1
1 Web site for Stallings book
! www.shore.net/~ws/DCC6e.html
0 Web sites for IETF, IEEE, ITU-T, ISO
J Internet Requests for Comment (RFCs)
0 Usenet News groups
1 comp.dcom.*
1 comp.protocols.tcp-ip