Академический Документы
Профессиональный Документы
Культура Документы
Text Book
2. Accuracy:
3. Timelines:
4. Jitter:
Protocol
Rules
.
.
.
Protocol
Rules
.
.
Message
.
Transmission Medium
Receiver
Sender
animation
Data Communication and Computer Networks 1303330
1. Message: data.
2. Sender: The device that send the message.
3. Receiver: The device that receive the message.
4. Transmission Medium: The physical path
between sender and receiver, the message
travel.
Text
Numbers
Images
Audio
Video
Remote Control
TV
Walki-Talki
In different time
10
At same time
Mobile Network
12
Performance
Reliability
Security
14
Performance:
Number of users
Hardware
Software.
Reliability:
The network reliability is measured by the frequency of failure, (the
time it takes a link to recover from of failure).
In addition to accuracy of delivery, network reliability is measured by
Frequency of failure
Recovery time of a network after a failure
Security:
Network security include protecting data
from unauthorized access, protecting data
from damage, and write policies and
implementing it for security issues.
17
18
1.
2.
3.
4.
5.
6.
Shared data- Shared data are data that file servers provide to
clients such as data files, printer access programs and e-mail.
20
21
22
23
24
25
26
27
28
29
30
type of connection:-
1. Point-to-point:
2. Multipoint:
31
Figure 1.5
Point-to-point connection
32
33
34
Contd.
Physical Structures
Physical Topology:
35
MESH :
Figure 1.8
devices)
36
37
38
STAR :
Figure 1.9
Star topology
39
40
41
BUS :
Bus topology
42
43
44
RING :
Figure
Ring topology
45
46
47
48
49
51
Figure
Categories of networks
53
54
55
Bluetooth
Wireless Printer
ble
a
BC
S
U
Scanner
PDA
56
57
Floor 4
..
Floor 3
...
Floor 2
Floor 1
58
59
Administration
building
University library
IT faculty
60
Figure
MAN
61
CAN 4
LAN 1
LAN 3
LAN 2
62
Figure
WAN
63
64
65
WAN
MAN
CAN
LAN
PAN
66
Unicast Mode:
Single source send to single node.
67
Multicast Mode :
Single source send to specific nodes (group) that
are connected to same Network.
one-to-many
68
Broadcast Mode:
Single source send to all others node that are
connected to same Network
one-to-all
69
70
71
72
73
What is signal?
It is electric, electronic or optical
representation of data, which can be
sent
over a communication media.
Signal Types
Analog and digital
Analog signals has continues (infinite number
of) values over a period of time
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Simple
92
93
The
94
95
Bit rate=1/T
Kbps=103 bps
Mbps=106 bps
Gbps=109 bps
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
2.
116
117
BitRate=2*3000*log22
= 6000 bps
118
119
UNIT 1 PROBLEMS
120
62
Solution
From Table 3.1 we find the equivalents of 1
ms (1 ms is 103 s) and 1 s (1 s is 106 s). We
make the following substitutions:.
122
61
124
Example 3.
The period of a signal is 100 ms. What is its frequency in
kilohertz?
62
Solution
First we change 100 ms to seconds, and then
we calculate the frequency from the period (1
Hz = 103 kHz).
126
Example 4
A sine wave is offset 1/6 cycle with respect to time 0.
What is its phase in degrees and radians?
Solution
We know that 1 complete cycle is 360.
Therefore, 1/6 cycle is
128
Example 5
If a periodic signal is decomposed into five sine
waves with frequencies of 100, 300, 500, 700, and
900 Hz, what is its bandwidth? Draw the spectrum,
assuming all components have a maximum
amplitude of 10 V.
70
Solution
Let fh be the highest frequency, fl the lowest frequency,
and B the bandwidth. Then
130
Example 6
A periodic signal has a bandwidth of 20 Hz. The highest
frequency is 60 Hz. What is the lowest frequency? Draw
the spectrum if the signal contains all frequencies of the
same amplitude.
70
Solution
Let fh be the highest frequency, fl the lowest frequency, and B the
bandwidth. Then
132
Example 7
A nonperiodic composite signal has a bandwidth of 200
kHz, with a middle frequency of 140 kHz and peak
amplitude of 20 V. The two extreme frequencies have an
amplitude of 0. Draw the frequency domain of the
signal.
71
Solution
The lowest frequency must be at 40 kHz and the
highest at 240 kHz. Figure 3.15 shows the frequency
domain and the bandwidth.
134
Example 8
A digital signal has eight levels. How many bits are
needed per level? We calculate the number of bits from
the formula
136
Example 9
Assume we need to download text documents at the rate
of 100 pages per minute. What is the required bit rate of
the channel?
Solution
A page is an average of 24 lines with 80 characters in
each line. If we assume that one character requires 8
bits, the bit rate is
138
Example 10
A digitized voice channel, is made by digitizing a 4-kHz
bandwidth analog voice signal. We need to sample the
signal at twice the highest frequency (two samples per
hertz). We assume that each sample requires 8 bits. What
is
the
required
bit
rate?
Solution
The bit rate can be calculated as
140
Example 11
What is the bit rate for high-definition TV (HDTV)?
Solution
HDTV uses digital signals to broadcast high quality
video signals. The HDTV screen is normally a ratio of
16 : 9. There are 1920 by 1080 pixels per screen, and
the screen is renewed 30 times per second. Twenty-four
bits represents one color pixel.
142
Example 12
Suppose a signal travels through a transmission medium
and its power is reduced to one-half. This means that P 2
is (1/2)P1. In this case, the attenuation (loss of power)
can be calculated as
82
144
Example 13
A signal travels through an amplifier, and its power is
increased 10 times. This means that P2 = 10P1 . In this
case, the amplification (gain of power) can be calculated
as
82
Example 14
The values of SNR and SNRdB for a noiseless channel
are
Example 15
Consider a noiseless channel with a bandwidth of 3000
Hz transmitting a signal with two signal levels. The
maximum bit rate can be calculated as
Example 15
Consider a noiseless channel with a bandwidth of 3000
Hz transmitting a signal with two signal levels. The
maximum bit rate can be calculated as
86
Example 16
Consider the same noiseless channel transmitting a
signal with four signal levels (for each level, we send 2
bits). The maximum bit rate can be calculated as
Example 17
Consider an extremely noisy channel in which the value
of the signal-to-noise ratio is almost zero. In other
words, the noise is so strong that the signal is faint. For
this channel the capacity C is calculated as
Example 17
Consider an extremely noisy channel in which the value
of the signal-to-noise ratio is almost zero. In other
words, the noise is so strong that the signal is faint. For
this channel the capacity C is calculated as
Example 18
We can calculate the theoretical highest bit rate of a
regular telephone line. A telephone line normally has a
bandwidth of 3000. The signal-to-noise ratio is usually
3162. For this channel the capacity is calculated as
This means that the highest bit rate for a telephone line
is 34.860 kbps. If we want to send data faster than this,
we can either increase the bandwidth of the line or
improve the signal-to-noise ratio.
Example 19
A network with bandwidth of 10 Mbps can pass only an
average of 12,000 frames per minute with each frame
carrying an average of 10,000 bits. What is the
throughput of this network?
Solution
We can calculate the throughput as
through a network.
Example 20
What is the propagation time if the distance between the
two points is 12,000 km? Assume the propagation speed
to be 2.4 108 m/s in cable.
Propagation time =
distance/propagation speed
Example 20
What is the propagation time if the distance between the
two points is 12,000 km? Assume the propagation speed
to be 2.4 108 m/s in cable.
Solution
We can calculate the propagation time as
Propagation time measures the time required for a bit to travel from the
source to destination. Propagation time = distance/propagation speed
Example 21
What are the propagation time and the transmission time for
a 2.5-kbyte message (an e-mail) if the bandwidth of the
network is 1 Gbps? Assume that the distance between the
sender and the receiver is 12,000 km and that light travels at
2.4 108 m/s.
Transmission
Bandwidth
time
Message
size
Example 21
What are the propagation time and the transmission
time for a 2.5-kbyte message (an e-mail) if the
bandwidth of the network is 1 Gbps? Assume that the
distance between the sender and the receiver is 12,000
km and that light travels at 2.4 108 m/s.
Solution
Transmission time = Message size / Bandwidth
91
Example 21 (continued)
91
Example 22
What are the propagation time and the transmission
time for a 5-Mbyte message (an image) if the bandwidth
of the network is 1 Mbps? Assume that the distance
between the sender and the receiver is 12,000 km and
that light travels at 2.4 108 m/s.
Solution
We can calculate the propagation and transmission
times as shown on the next slide.
91
Example 22(continued)
91
Network Software
Network Hardware
3.161
162
163
SNR=10000w /1mw
= 10000
164
3.165
Problem 2:
3.166
1000 X log2(2)
3.167
D= 2,40,000
S = 1,86,000
T=?
T= 1.28 sec
3.168
Propagation time =
3000/ 3 X 108 X 75/100
=13ms
3.169
170
= -1.5
P2/P1=10 -0.15
= 0.71
P2=0.71*P1
=0.71*2
= 1.4MW
171
172
C = B X log2(1+SNR)
= 106*log2(1+63)
=106* log2(64)
=6Mbps
173
174
C = B X log2(1+SNR)
= 4*103 *log2 (1+100)
= 4*103 * 3.32 *2.004
=26.6 Kbits/s
C = B X log2(1+SNR)
= 4*103 *log2 (1+1000)
= 4*103 * 3.32 *3.000
=39.8 Kbits/s
C = B X log2(1+SNR)
=4*103 *log2 (1+102)
= 4*103 * 3.32 *4.000
=53.1 Kbits/s
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
LAYEREDTASKS
We use the concept of layers in our daily life. As an
example, let us consider two friends who
communicate through postal mail. The process of
sending a letter to a friend would be complex if there
were no services available from the post office.
2.190
Figure 2.1
2.191
THEOSIMODEL
Established in 1947, the International Standards
Organization (ISO) is a multinational body dedicated
to worldwide agreement on international standards.
An ISO standard that covers all aspects of network
communications
is
the
Open
Systems
Interconnection (OSI) model. It was first introduced in
the late 1970s.
Topics discussed in this section:
Layered Architecture
Peer-to-Peer Processes
Encapsulation
2.192
Note
ISO is the organization.
OSI is the model.
2.193
2.194
2.195
2.196
LAYERSINTHEOSIMODEL
In this section we briefly describe the functions of
each layer in the OSI model.
Note
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
2.199
2.200
1.
2.
3.
4.
5.
201
Note
The data link layer is responsible for moving
frames from one hop (node) to the next.
2.202
2.203
2.204
Note
The network layer is responsible for the
delivery of individual packets from
the source host to the destination host.
2.205
2.206
2.207
-Ensures that the whole message arrives intact and in order, overseeing both error cont
and flow control at the process-to-process level.
Port Addressing: The transport layer header must therefore include a type of address ca
a port address. The transport layer gets the entire message to the corr
process on that computer.
Segmentation & Reassembly: Each msg divided in to segments, each segment containin
sequence number.
Connection Control: Transport layer can be either connection less or connection oriented
connection less: each packet as an independent packet
connection oriented: makes a connection at transport layer of other machine
first before delivering a packet.
2.208
-Ensures that the whole message arrives intact and in order, overseeing both error cont
and flow control at the process-to-process level.
Flow Control: Perform end to end rather than across a single link.
Error Control: perform end to end rather than across a single link.
2.209
Note
The transport layer is responsible for the delivery
of a message from one process to another.
2.210
2.211
2.212
Note
The session layer is responsible for dialog
control and synchronization.
2.213
- Designed to handle the syntax & semantics of the information exchanged bet
the two systems.
- Designed for data translation, encryption, decryption & compression.
2.214
Note
The presentation layer is responsible for translation,
compression, and encryption.
2.215
1.
2.
3.
4.
Mail Services:
File transfer and access:
Remote login:
Accessing the World Wide Web:
2.216
Note
The application layer is responsible for
providing services to the user.
2.217
2.218