01_Introduction to Data Communications
01_Introduction to Data Communications
1
Class General Rules
• Food and Drink during lecture
• Attendance
• Mobile Phone
• Are you late?
• Means of Communications:
• Whatsapp (announcement group)
• Microsoft Teams
• Class Disturbance
2
Asking questions during class
• All questions are considered
3
Text Book
• Data and Computer Communications, 8th or 9th Edition by William
Stallings, Prentice Hall, 2011
• 800+ pages
4
Grade Percentage
5
Topics (tentative)
• General Introduction
• Data Transmission
• Signal Encoding Techniques
• Digital Data Comm. Techniques
• Flow Control and ARQ
• Multiplexing and Multiple Access
• Networks and Protocol Architectures
• Circuit and Packet Switching
• Routing in Switched Networks
• Internet and its applications
• Advanced Topics
6
Data Communications
• The term telecommunication means communication at a distance.
7
Why you should study Data Communication
• Important concepts:
• The basics of data communication and networking
• Globalization issues
8
Basic Concepts in a Data Comm. System
• Bandwidth
• Amount of data that can be transferred from one point to another in a certain
time period
• Attenuation
• Loss of power in a signal as it travels from the sending device to the receiving
device
9
Basic Concepts in a Data Comm. System
• Narrowband
• Voice-grade transmission channel capable of transmitting a maximum of
56,000 bps, so only a limited amount of information can be transferred
• Protocols
• Rules that govern data communication, including error detection, message
length, and transmission speed
10
Basic Concepts in a Data Comm. System
• Modem (short for “modulator-demodulator”)
• Device that connects a user to the Internet
• Not required for all Internet connections
• Types
• Dial-up (analog)
• Digital subscriber line (DSL)
• Cable
11
Introduction
12
Components of Data Communication
Communication
medium
13
Components of Data Communication
14
Data Communication Characteristics
15
Data Flow in Communication
• Simplex
• Half Duplex
• Full Duplex
16
Data Flow in Communication
17
Data Flow in Communication
18
Data Flow in Communication
19
Data Processing Configurations
• Data communication systems can be used in several different
configurations
• Over past 60 years, three types of processing configurations have
emerged:
• Centralized
• Decentralized
• Distributed
20
Data Processing Configurations
• Centralized processing system
• Processing is done at one central computer (imagine no computers except at
the university president office used for all processing across faculties)
• Advantage
• Being able to exercise tight control on system operations and applications
• Disadvantage
• Lack of responsiveness to users’ needs
• Single point of failure
21
Data Processing Configurations
• Decentralized processing
• Each user, department, or division has its own computer for performing
processing
• Advantage
• More responsive to users
• Disadvantages
• Lack of coordination
• High costs
• Duplication of efforts
22
Data Processing Configurations
• Distributed processing
• Centralized control and decentralized operations
• Advantages
• Accessing unused processing power is possible
• Computer power can be added or removed
• Distance and location aren’t limiting
• More compatible with organizational growth
• Fault tolerance
• Resources can be shared to reduce costs
• Reliability is improved
• More responsive to user needs
• Disadvantages
• Dependence on communication technology
• Incompatibility between equipment
• More challenging network management 23
Network
25
Network components
26
Types of Communication Media
27
Network Classification
• Based on the Scale/Size
• Personal Area Network (PAN)
• Local Area Network (LAN)
• Campus Area Network (CAN)
• Metropolitan Area Network (MAN)
• Wide Area Network (WAN)
28
Personal Area Network (PAN)
29
Personal Area Network (PAN)
30
Local Area Network (LAN)
31
Local Area Network (LAN)
32
Local Area Network (LAN)
33
Campus Area Network (CAN)
34
Campus Area Network (CAN)
B2
B1
35
Metropolitan Area Network (MAN)
36
Metropolitan Area Network (MAN)
37
Wide Area Network (WAN)
38
Wide Area Network (WAN)
39
Network Classification
40
Network Criteria
41
Network Criteria
42
Network Criteria
43
Network Criteria
44
Network Modes
• One-to-one
• One-to-many
• One-to-all
45
Network Modes
46
Network Modes
47
Network Modes
48
Broadcasting
49
Types of Connections
50
Categories of Topology
51
Categories of Topology
• A fully connected mesh topology (five devices)
52
Categories of Topology
• A star topology connecting four stations
• Central computer and a series of nodes
• Advantages
• Cable layouts are easy to modify
• Centralized control makes detecting problems easier
• Nodes can be added to the network easily
• Better for handling heavy but short bursts of traffic
• Disadvantages
• Single point of potential failure
• Increased cost due to many cables
53
Categories of Topology
• A bus topology connecting three stations
54
Categories of Topology
• Advantages
• Easy to extend
• Very reliable
• Wiring layout is simple and uses the least amount of cable of any topology
• Disadvantages
• Fault diagnosis is difficult
• Bus cable can be a bottleneck when network traffic is heavy
55
Categories of Topology
• A ring topology connecting six stations
56
Categories of Topology
• A hybrid topology: a star backbone with three bus networks
57
Major Networking Concepts
Client/server
Routers
model
58
Network Software
• Protocol Hierarchies
59
Network Software
• Design Issues for the Layers
• Addressing
• Error Control
• Flow Control
• Multiplexing
• Routing
60
Network Software
• Protocol Hierarchies
61
Protocol “layers” and reference models
Networks are complex, Question: is there any
with many “pieces”: hope of organizing
hosts structure of network?
routers
links of various media
applications
protocols
hardware, software
Introduction: 1-62
Example: organization of air travel
end-to-end transfer of person plus baggage
ticket (purchase) ticket (complain)
baggage (check) baggage (claim)
gates (load) gates (unload)
runway takeoff runway landing
airplane routing airplane routing
airplane routing
Introduction: 1-65
Network Software
• Reference Models:
• The OSI Reference Model
• The TCP/IP Reference Model
66
OSI Reference Model
• Stands for Open Systems Interconnection
67
TCP/IP Reference Model
• Stands for Transmission Control Protocol/ Internet Protocol. Used on the
Internet.
68
Layered Internet protocol stack
application: supporting network applications
• HTTP, IMAP, SMTP, DNS
application
application
transport: process-process data transfer
• TCP, UDP transport
transport
network: routing of datagrams from source to
destination network
• IP, routing protocols
link
link: data transfer between neighboring
network elements physical
• Ethernet, 802.11 (WiFi), PPP
physical: bits “on the wire”
Introduction: 1-69
ISO/OSI reference model
Two layers not found in Internet
application
protocol stack!
presentation
presentation: allow applications to
interpret meaning of data, e.g., encryption, session
compression, machine-specific conventions transport
session: synchronization, checkpointing, network
recovery of data exchange link
Internet stack “missing” these layers! physical
• these services, if needed, must be
implemented in application The seven layer OSI/ISO
reference model
• needed?
Introduction: 1-70
The OSI 7-layer Model
Application: provides a set of utilities used by application programs
Presentation: formats data for presentation to the user, provides data interfaces, data compression and
translation between different data formats
Session: responsible for initiating, maintaining and terminating each logical session between sender and
receiver
Transport: deals with end-to-end issues such as segmenting the message for network transport, and
maintaining the logical connections between sender and receiver
Data Link: deals with message delineation, error control and network medium access control
Physical: defines how individual bits are formatted to be transmitted through the network
71
TCP/IP Reference Model vs OSI Reference Model
72
Message Transmission Using Layers
73
Protocols
• Agreed-on methods and rules that electronic devices use to exchange
information
74
Why Standards/Protocols?
• Standards provide a fixed way for hardware and/or software systems to
communicate.
• For example, USB enables two pieces of equipment to interface even though they
are manufactured by different companies.
75
Some Major Standards Making Bodies
• ISO: International Organization for Standardization (www.iso.ch)
76