Professional Documents
Culture Documents
Tenth Edition
by William Stallings
CHAPTER 1
2
2/22/2024
Technological Advancement
Driving Forces
4
2/22/2024
Notable Trends
Trend toward faster and Today’s networks are more
cheaper, in both computing and “intelligent”
communication • Differing levels of quality of service
• More powerful computers supporting (QoS)
more demanding applications • Variety of customizable services in the
• The increasing use of optical fiber and areas of network management and
high-speed wireless has brought security
transmission prices down and greatly
increased capacity
6
2/22/2024
Changes in Networking
Technology
* Digital electronics
8
2/22/2024
10
2/22/2024
Digital Electronics
The rapid conversion of consumer electronics
to digital technology is having an impact on
both the Internet and corporate intranets
Image and video traffic carried by networks is
dramatically increasing
• Because of their huge storage capacity digital versatile
disks (DVDs) are being incorporated into Web sites
• Digital camcorders have made it easier to make digital
video files to be placed on corporate and Internet Web
sites
11
Convergence
The merger of previously
distinct telephony and Layers:
information technologies and
markets
Applications
Involves:
Enterprise services
• Moving voice into a These are seen
data infrastructure by the end users Infrastructure
Services the
• Integrating all the voice information
and data networks Communication
network supplies links available to
inside a user
organization into a to support the enterprise
single data network applications
infrastructure
• Then extending that
into the wireless arena
Foundation is packet-
based transmission
using the Internet
Protocol (IP)
Increases the function
and scope of both the
infrastructure and the
application base
12
2/22/2024
13
Table 1.1
Communications Tasks
14
2/22/2024
15
Transmission Lines
Capacity
The basic building block of
any communications facility
is the transmission line
Reliability
16
2/22/2024
Transmission Mediums
Two mediums currently driving
the evolution of data communications
transmission are:
17
Transmission Services
Remain the most costly component of a
communications budget
Two major approaches to greater efficiency:
18
2/22/2024
Networks
Itis estimated that by 2016 there will be
over 20 billion fixed and mobile networked
devices
This affects traffic volume in a number of
ways:
• It enables a user to be continuously consuming
network capacity
• Capacity can be consumed on multiple devices
simultaneously
• Different broadband devices enable different
applications which may have greater traffic
generation capability
19
Networking
Advances in technology have led to greatly
increased capacity and the concept of
integration, allowing equipment and
networks to work simultaneously
Voice Data
Image Video
20
2/22/2024
Typically
consist of a number of
interconnected switching nodes
21
22
2/22/2024
Circuit Switching
Uses a dedicated communications path
Connected sequence of physical links
between nodes
Logical channel dedicated on each link
Rapid transmission
The most common example of circuit
switching is the telephone network
23
Packet Switching
Data are sent out in a sequence of small
chunks called packets
Packets are passed from node to node
along a path leading from source to
destination
Packet-switching networks are commonly
used for terminal-to-terminal computer and
computer-to-computer communications
24
2/22/2024
Frame Relay
25
26
2/22/2024
27
The Internet
28
2/22/2024
29
30
2/22/2024
Table 1.2
Internet Terminology
Central Office (CO) Network Access Point (NAP)
The place where telephone One of several major Internet
companies terminate customer interconnection points that
lines and locate switching serve to tie all the ISPs together
equipment to interconnect those Network Service Provider
lines with other networks
(NSP)
Customer Premises A company that provides
Equipment (CPE) backbone services to an
Telecommunications equipment Internet service provider (ISP)
that is located on the customer’s Point of Presence (POP)
premises
A site that has a collection of
Internet Service Provider (ISP) telecommunications equipment,
A company that provides other usually refers to ISP or
companies or individuals with telephone company sites
access to, or presence on, the
Internet
31
32
2/22/2024
Summary
33
CHAPTER 2
34
2/22/2024
35
To transfer data
several tasks
must be
performed:
36
2/22/2024
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
• Provides services to the next higher layer
• Changes in one layer should not require
changes in other layers
37
• Control
information for
Semantics coordination and
error handling
• Speed matching
Timing and sequencing
38
2/22/2024
39
Communication Layers
40
2/22/2024
41
42
2/22/2024
43
44
2/22/2024
Physical Layer
Coversthe physical interface between
computer and network
Concerned with issues like:
Characteristics of transmission medium
Nature of the signals
Data rates
45
46
2/22/2024
Implements
procedures needed to
allow data to travel
across multiple
interconnected
Internet Layer
networks
Internet Layer
47
Transmission
Control Protocol
48
2/22/2024
Application Layer
Contains the logic needed to support the
various user applications
A separate module is needed for each
different type of application that is peculiar
to that application
49
50
2/22/2024
51
52
2/22/2024
53
54
2/22/2024
55
56
2/22/2024
57
58
2/22/2024
59
60
2/22/2024
Table 2.1
Service Primitive Types
61
62
2/22/2024
Traditional Internet-Based
Applications
Three common applications that have been
standardized to operate on top of TCP are:
Simple Mail Transfer Protocol (SMTP)
• Used to send files from one system to another under user command
• Both text and binary files are accommodated
63
Table 2.2
Multimedia Terminology
64
2/22/2024
65
Media Types
66
2/22/2024
Table 2.3
67
Multimedia Applications
Information systems Communication
• Information kiosks, electronic systems
books that include audio and • Support collaborative work,
video, and multimedia expert such as videoconferencing
systems
Educational systems
• Electronic books with a
multimedia component,
simulation and modeling
applets, and other teaching
support systems
68
2/22/2024
Multimedia Technologies
Some technologies that are relevant to the
support of multimedia applications are:
Refers to the
Can deal with
JPG for still transmission
RTP priority, delay
images and
constraints,
networking
delay
technologies
variability
that can
constraints,
support high-
and other
MPG for volume
SIP similar
video multimedia
requirements
traffic
69
Sockets Programming
Concept was developed in the 1980s in the
UNIX environment as the Berkeley Sockets
Interface
De facto standard application programming
interface (API)
Basis for Window Sockets (WinSock)
Enables communication between a client and
server process
May be connection oriented or
connectionless
70
2/22/2024
The Socket
Formed by the concatenation of a port value and an IP
address
Unique throughout the Internet
Used to define an API
Generic communication interface for writing programs that use
TCP or UDP
Stream sockets
All blocks of data sent between a pair of sockets are guaranteed
for delivery and arrive in the order that they were sent
Datagram sockets
Delivery is not guaranteed, nor is order necessarily preserved
Raw sockets
Allow direct access to lower-layer protocols
71
Table
2.4
Core
Socket
Functions
72
2/22/2024
73
74
2/22/2024
75
Summary
The need for a protocol
architecture Traditional internet-
Simple protocol based applications
architecture
TCP/IP protocol Multimedia
architecture Media types
TCP/IP layers
Operation of TCP and IP
Multimedia applications
TCP and UDP Multimedia technologies
IP and IPv6 Sockets programming
Protocol interfaces
Standardization within a The socket
protocol architecture Sockets interface calls
Standards and protocol
layers
Service primitives and
parameters
76
2/22/2024
CHAPTER 3
Data Transmission
77
“I have been trying to prove the following theorem: for any operators
T,R the length of an arbitrary message f1 multiplied by its essential
spectrum and divided by the distortion of the system is less than a
certain constant times the time of transmission of F multiplied by its
essential spectrum width or—roughly speaking—it is impossible to
reduce bandwidth times transmission time for a given distortion.
This seems to be true although I do not have a general proof as yet.”
78
2/22/2024
Transmission Terminology
Data transmission occurs between transmitter
and receiver over some transmission medium
Communication
is in the form of
electromagnetic
waves
Unguided
Guided media media
(wireless)
Propagation
Twisted pair,
through air,
coaxial cable,
vacuum, and
optical fiber
seawater
79
Transmission Terminology
80
2/22/2024
Transmission Terminology
Simplex
Signals are transmitted in only one direction
One station is transmitter and the other is
receiver
Half duplex
Both stations transmit, but only one at a time
Full duplex
Both stations may transmit simultaneously
The medium is carrying signals in both
directions at the same time
81
82
2/22/2024
83
Sine Wave
Is the fundamental periodic signal
Can be represented by three parameters
Peak amplitude (A)
• Maximum value or strength of the signal over time
• Typically measured in volts
Frequency (f)
• Rate at which the signal repeats
• Hertz (Hz) or cycles per second
• Period (T) is the amount of time for one repetition
• T = 1/f
Phase ()
• Relative position in time within a single period of signal
84
2/22/2024
85
Wavelength ()
The wavelength of
a signal is the
distance occupied
by a single cycle
Assuming signal Or
velocity v, then the
wavelength is related to equivalently
the period as = vT f = v
86
2/22/2024
87
88
2/22/2024
89
90
2/22/2024
91
93
Physical Communication
Electric or
Entities that propagation of of data by the
electromagnetic
convey the signal along propagation and
representations
information a suitable processing of
of data
medium signals
94
2/22/2024
95
Digital Data
Character
strings
Text
Examples:
IRA
96
2/22/2024
97
98
2/22/2024
99
100
2/22/2024
101
102
2/22/2024
Table 3.1
Analog and
Digital
Transmission
103
Move to Digital
Digital technology
LSI and VLSI technology has caused a continuing drop in the cost and
size of digital circuitry
Data integrity
The use of repeaters has made it possible to transmit data longer
distances over lower quality lines while maintaining the integrity of the
data
Capacity utilization
It has become economical to build transmission links of very high
bandwidth, including satellite channels and optical fiber, and a high
degree of multiplexing is needed to utilize such capacity effectively
Security and privacy
Encryption techniques can be readily applied to digital data and to
analog data that have been digitized
Integration
Economies of scale and convenience can be achieved by integrating
voice, video, and digital data
104
2/22/2024
Asynchronous and
Synchronous Transmission
Asynchronous Synchronous
Strategy is to avoid the timing A block of bits is transmitted in a
problem by not sending long, steady stream without start and
uninterrupted streams of bits stop codes
Data are transmitted one Block may be many bits in
character at a time, where each length
character is 5 to 8 bits in length To prevent timing drift between
Timing or synchronization must transmitter and receiver, their
only be maintained within each clocks must somehow be
character synchronized
The receiver has the opportunity • Provide a separate clock line
to resynchronize at the between transmitter and receiver
beginning of each new • Embed the clocking information in
the data signal
character
Frame
• Data plus preamble, postamble,
and control information
105
Transmission Impairments
Signal received may differ from signal
transmitted causing:
Analog - degradation of signal quality
Digital - bit errors
Most significant impairments are
Attenuation and attenuation distortion
Delay distortion
Noise
106
2/22/2024
Received signal
strength must
Equalize be:
attenuation
across the band • Strong enough
of frequencies to be detected
used by using • Sufficiently
loading coils or higher than
amplifiers noise to be
received
without error
Strength can be
increased using
amplifiers or
repeaters
ATTENUATION
Signal strength falls off with distance over any transmission medium
107
108
2/22/2024
Delay Distortion
Occurs in transmission cables such as twisted
pair, coaxial cable, and optical fiber
Does not occur when signals are transmitted through
the air by means of antennas
Occurs because propagation velocity of a signal
through a guided medium varies with frequency
Various frequency components arrive at different
times resulting in phase shifts between the
frequencies
Particularly critical for digital data since parts of
one bit spill over into others causing intersymbol
interference
109
Noise
Unwanted signals
inserted between
transmitter and
receiver
110
2/22/2024
Categories of Noise
111
Categories of Noise
Crosstalk:
A signal from one line is
picked up by another
Can occur by electrical
coupling between nearby
twisted pairs or when
Impulse Noise: microwave antennas pick
up unwanted signals
Caused by external
electromagnetic interferences
Noncontinuous, consisting of
irregular pulses or spikes
Short duration and high
amplitude
Minor annoyance for analog
signals but a major source of
error in digital data
112
2/22/2024
Channel Capacity
Bandwidth
Error rate
The bandwidth
Data rate of the Noise The rate at
transmitted
which errors The main
signal as The greater the
occur, where an constraint on
The rate, in bits constrained by The average bandwidth of a
error is the achieving
per second the transmitter level of noise facility, the
reception of a 1 efficiency is
(bps) at which and the nature over the greater the cost
when a 0 was noise
data can be of the communications
transmitted or
communicated transmission path
the reception of
medium,
a 0 when a 1
expressed in
was transmitted
cycles per
second, or hertz
113
Nyquist Bandwidth
In the case of a channel that is noise free:
The limitation of data rate is simply the bandwidth of the
signal
If the rate of signal transmission is 2B then a signal with
frequencies no greater than B is sufficient to carry the signal rate
Given a bandwidth of B, the highest signal rate that can be
carried is 2B
For binary signals, the data rate that can be supported
by B Hz is 2B bps
With multilevel signaling, the Nyquist formula becomes:
C = 2B log2M
Data rate can be increased by increasing the number of
different signal elements
This increases burden on receiver
Noise and other impairments limit the practical value of M
114
2/22/2024
115
116
2/22/2024
Summary
Transmission Transmission
terminology impairments
Frequency, spectrum, Attenuation
and bandwidth Delay distortion
Analog and digital data Noise
transmission Channel capacity
Analog and digital data Nyquist bandwidth
Analog and digital signals Shannon capacity
Analog and digital formula
transmission The expression Eb/No
Asynchronous and
synchronous transmission
117
CHAPTER 5
118
2/22/2024
119
120
2/22/2024
121
Terminology
Unipolar – all signal elements have the same sign
Polar – one logic state represented by positive
voltage and the other by negative voltage
Data rate – rate, in bits per second that data are
transmitted
Duration or length of a bit – time taken for
transmitter to emit the bit
Modulation rate – rate at which the signal level is
changed; the rate is expressed in baud, which
means signal elements per second
Mark and space – refer to the binary digits 1 and 0
122
2/22/2024
Table 5.1
Key Data Transmission Terms
123
Interpreting Signals
Tasks involved in interpreting Factors affecting signal
digital signal at the receiver: interpretation:
Bandwidth
124
2/22/2024
Table 5.2
Definition
of Digital
Signal
Encoding
Formats
125
126
2/22/2024
Encoding Schemes
127
Nonreturn to Zero
128
2/22/2024
129
130
2/22/2024
Multilevel Binary
Bipolar-AMI
Use more than two signal levels
Bipolar-AMI
Binary 0 represented by no line signal
Binary 1 represented by positive or
negative pulse
Binary 1 pulses alternate in polarity
No loss of sync if a long string of 1s occurs
No net dc component
Lower bandwidth
Easy error detection
131
Multilevel Binary
Pseudoternary
Binary 1 represented by absence of line
signal
Binary 0 represented by alternating
positive and negative pulses
No advantage or disadvantage over
bipolar-AMI and each is the basis of some
applications
132
2/22/2024
133
134
2/22/2024
Manchester Encoding
135
Differential Manchester
Encoding
136
2/22/2024
137
138
2/22/2024
Table 5.3
Normalized Signal Transition Rate of
Various Digital Signal Encoding
Schemes
139
140
2/22/2024
B8ZS
Bipolarwith 8-zeros substitution
Coding scheme commonly used in North
America
Based on a bipolar-AMI
Amended with the following rules:
• If an octet of all zeros occurs and the last voltage
pulse preceding this octet was positive, then the
eight zeros of the octet are encoded as 000+-0-+
• If an octet of all zeros occurs and the last voltage
pulse preceding this octet was negative, then the
eight zeros of the octet are encoded as 000-+0+-
141
Table 5.4
HDB3 Substitution Rules
142
2/22/2024
143
144
2/22/2024
145
146
2/22/2024
147
148
2/22/2024
Multiple FSK
(MFSK)
149
150
2/22/2024
151
152
2/22/2024
153
154
2/22/2024
Table 5.5
Bandwidth Efficiency (R/BT) for Various
Digital-to-Analog Encoding Schemes
155
Performance of Digital to
Analog Modulation Schemes
In presence of
Bandwidth
noise
Bit error rate of
ASK/PSK
PSK and QPSK are
bandwidth directly
about 3dB superior
relates to bit rate
to ASK and FSK
156
2/22/2024
157
Quadrature Amplitude
Modulation (QAM)
QAM is used in the asymmetric digital subscriber
line (ADSL), in cable modems, and in some wireless
standards
Is a combination of ASK and PSK
Logical extension of QPSK
Send two different signals simultaneously on the
same carrier frequency
Use two copies of carrier, one shifted 90°
Each carrier is ASK modulated
Two independent signals simultaneously transmitted over
the same medium
At the receiver, the two signals are demodulated and the
results are combined to produce the original binary input
158
2/22/2024
159
160
2/22/2024
161
162
2/22/2024
163
164
2/22/2024
165
Non-Linear Coding
166
2/22/2024
167
168
2/22/2024
169
170
2/22/2024
Summary
Digital data, digital Digital data, analog
signals signals
Nonreturn to zero (NRZ) Amplitude shift keying
Multilevel binary Frequency shift keying
Biphase Phase shift keying
Modulation rate Performance
Scrambling techniques Quadrature amplitude
Analog data, digital modulation
signals
Pulse code modulation
Delta modulation (DM)
Performance
171