Data Communication & Computer Networks
Data Communication & Computer Networks
Data Communication & Computer Networks
Computer Networks
Lecture 2
Introduction to Data Communication
1
Data Communications
2
Fundamental Characteristics
The effectiveness of a data communication system
depend on four fundamental characteristics:
Delivery
The system must deliver data to the correct destination. Data must be received by the intended device or user
and only by that device or user.
Accuracy
The system must deliver the data accurately.
Timelines
In the case of video and audio, timely delivery means delivering data as they are produced, in the
same order that they are produced, and without significant delay. This kind of delivery is called
real-time transmission .
Jitter
Jitter refers to the variation in the packet arrival time. It is the uneven delay in the delivery of
audio or video packets. For example, let us assume that video packets are sent every 3D
ms. If some of the packets arrive with 3D-ms delay and others with 4D-ms delay, an uneven
quality in the video is the result.
3
Five Components of Data Communication
3. Receiver: The receiver is the device that receives the message. It can be a computer,
workstation, telephone handset, television, and so on.
4. Medium: The transmission medium is the physical path by which a message travels from
sender to receiver. Some examples of transmission media include twisted-pair wire, coaxial
cable, fiber-optic cable, and radio waves.
Simplex
Half Duplex
Full Duplex
5
Simplex
In simplex mode, the communication is unidirectional, as on a one-way street. Only
one of the two devices on a link can transmit; the other can only receive
Keyboards and traditional monitors are examples of simplex devices.
half-duplex
mode, each station can both transmit and receive, but not at the same time. : When one
device is sending, the other can only receive, and vice versa
Full-duplex
(called duplex), both stations can transmit and receive simultaneously
One common example of full-duplex communication is the telephone network.
6
NETWORKS
A network is a set of devices (often referred to as nodes) connected
by communication links. A node can be a computer, printer, or any
other device capable of sending and/or receiving data generated by
other nodes on the network.
7
Networks: key issues
Network criteria: A network must be able to meet a certain number
of criteria. The most important of these are
Performance
Transit time is the amount of time required for a message to travel from one device to another
Response time is the elapsed time between an inquiry and a response.
Throughput
Delay
We often need more throughput and less delay. If we try to send more data to the network, we
may increase throughput but we increase the delay because of traffic congestion in the
network.
8
Reliability
Data transmitted are identical to data received.
Measured by the frequency of failure
The time it takes a link to recover from a failure
Security
Protecting data from unauthorized access
9
Terminology
10
Network topologies
11
Network topology issues
2. low latency
12
Bandwidth and Latency
Bandwidth
1. telecommunications: range of radio frequencies: a range of radio
frequencies used in radio or telecommunications transmission and
reception
2. computing: communications capacity: the capacity of a
communications channel, for example, a connection to the Internet, often
measured in bits per second
3. a data transmission rate; the maximum amount of information
(bits/second) that can be transmitted along a channel
Latency
delay, is an expression of how much time it takes for transmission from
one designated point to another
13
Type of Connection
A network is two or more devices connected through links. A link is a
communications pathway that transfers data from one device to another.
Point-to-Point
A point-to-point connection provides a dedicated link between two devices. The entire
capacity of the link is reserved for transmission between those two devices. Most
point-to-point connections use an actual length of wire or cable to connect the two
ends, but other options,
A multipoint
(also called multidrop) connection is one in which more than two specific devices
share a single link
14
Categories of Topology
Physical Topology
The term physical topology refers to the way in which a network is laid out physically.:
two or more devices connect to a link; two or more links form a topology.
The topology of a network is the geometric representation of the relationship of all the
links and linking devices (usually called nodes) to one another.
15
mesh
Mesh In a mesh topology, every device has a
dedicated point-to-point link to every other
device. The term dedicated means that the
link carries traffic only between the two
devices it connects.
Advantages over other network topologies
dedicated links guarantees that each
connection can carry its own data load,
a mesh topology is robust. If one link
becomes unusable, it does not disabled the
entire system
there is the advantage of privacy or security
point-to-point links make fault identification
and fault isolation easy
16
star
17
bus
A bus topology, on the other hand, is multipoint.
One long cable acts as a backbone to link all the devices in a network
As a signal travels along the backbone, some of its energy is transformed into heat.
Therefore, it becomes weaker and weaker as it travels farther and farther.
Advantages
ease of installation
Backbone cable can be laid along the most efficient path,
Disadvantages
difficult reconnection and fault isolation
Signal reflection at the taps can cause degradation in quality.
Adding new devices may therefore require modification or replacement of the
backbone.
a fault or break in the bus cable stops all transmission,
The damaged area reflects signals back in the direction of origin, creating noise in
both directions.
ring
In a ring topology, each device has a dedicated point-to-point connection with only
the two devices on either side of it. A signal is passed along the ring in one direction,
from device to device, until it reaches its destination.
Each device in the ring incorporates a repeater.
A ring is relatively easy to install and reconfigure.
fault isolation is simplified.
Generally in a ring, a signal is circulating at all times.
If one device does not receive a signal within a specified period, it can issue an
alarm. The alarm alerts the network operator to the problem and its location.
Today, the need for higher-speed LANs has made this topology less popular
19
Layering & Protocol Stacks
20
Categories of Networks
21
Local Area Network
A local area network (LAN) is usually privately owned and links the
devices in a single office, building, or campus
a LAN can be as simple as two PCs and a printer in someone's
home office;
Wide Area Network
A wide area network (WAN) provides long-distance transmission of
data, image, audio, and video information over large geographic
areas that may comprise a country, a continent, or even the whole
world.
Metropolitan Area Networks
A metropolitan area network (MAN) is a network with a size
between a LAN and a WAN. It normally covers the area inside a
town or a city.
22
Protocol
A protocol defines what is communicated, how it is communicated, and
when it is communicated.
protocols define format, order of msgs sent and received among network
entities, and actions taken on msg transmission, receipt
2:00
<file>
23
The key elements of a protocol are
syntax, semantics, and timing.
Syntax. The term syntax refers to the structure or format of the data, meaning
the order in which they are presented. For example, a simple protocol might expect
the first 8 bits of data to be the address of the sender, the second 8 bits to be the
address of the receiver, and the rest of the stream to be the message itself.
Semantics. The word semantics refers to the meaning of each section of
bits. How is a particular pattern to be interpreted, and what action is to be taken
based on that interpretation? For example, does an address identify the route to be
taken or the final destination of the message?
Timing. The term timing refers to two characteristics: when data should be sent
and how fast they can be sent.
24
Standard
25
Layered Tasks
An example from the everyday life
Hierarchy?
Services
26
Why layered communication?
27
Reference Models
28
OSI Reference model
Established in 1947, the International Standards Organization (ISO) is a multinational
body dedicated to worldwide agreement on international standards.
The purpose of the OSI model is to show how to facilitate communication between
different systems
7 layers
29
Seven layers of the OSI model
30
Exchange using OSI Model
31
Issues, to be resolved by the layers
Larger bandwidth at lower cost
Error correction
Flow control
Addressing
Multiplexing
Naming
Congestion control
Routing
Fragmentation
Security
....
32