Communication Systems: Introduction To Data Communications
Communication Systems: Introduction To Data Communications
Communication Systems
Alexandria University
Faculty of Engineering
Electrical Engineering Department
Alexandria
2020
Introduction to
Data Communications
Communication Systems
Prof. Hesham Tolba 1
1. Introduction to Data Communications 11/3/20
Contents
Data Communications Categories of Networks
Interconnection of Networks
Sources of Information
Networks The Internet
Network Topology Protocols & Standards
Contents
q Data communications
q Networks
q Network topology
q Categories of Networks
q Interconnection of Networks
q The internet
Data Communications
The term telecommunication means communication at a
distance. The word data refers to information
presented in whatever form is agreed upon by the
parties creating and using the data. Data
communications are the exchange of data between two
devices via some form of transmission medium such as
a wire cable.
q Components
q Data Representation (texts, numbers,
images, audio & video)
q Data Flow
Communication Systems
Prof. Hesham Tolba 2
1. Introduc@on to Data Communica@ons 11/3/20
Data Communications …
q Communication (sharing information) be local or remote.
Data Communications …
q For data com. to occur, communicating devices must be part of a
communication system made up of a combination of hardware &
software.
2. Accuracy:
q Accurate delivery of data.
q Altered transmitted data that left uncorrected are
unusable.
11/3/20 Prof. Hesham Tolba Communication Systems 6
Communication Systems
Prof. Hesham Tolba 3
1. Introduction to Data Communications 11/3/20
Data Communications …
3. Timeliness:
q Data must be delivered in a timely manner.
q Data delivered late are useless.
q For Video, audio & voice data, timely delivery means
delivering data as they are produced, in the same order &
without significant delay.
q This kind of delivery is called real-time transmission.
2. The sender
q The device that sends the data message.
q Computer, workstation, telephone handset, video camera,
and so on.
3. The receiver
q The device that receives the message.
q Computer, workstation, telephone handset, video camera, …
Communication Systems
Prof. Hesham Tolba 4
1. Introduction to Data Communications 11/3/20
5. A Protocol
q A set of rules that govern data communication.
q An agreement between the communicating devices.
q Without a protocol, two devices may be connected but not
communicating
Communica@on Systems
Prof. Hesham Tolba 5
1. Introduction to Data Communications 11/3/20
Data Representation
q Information today comes in different forms such as text,
numbers, images, audio, and video.
q Text
q In data communications, text is represented as a bit
pattern (code consisting of a sequence of 0s & 1s).
q Today, the prevalent coding system is called Unicode,
which uses 32 bits to represent a symbol or character used
in any language in the world.
q The ASCII constitutes the first 127 characters in Unicode
and is also referred to as Basic Latin.
Data Representation …
q Numbers
q Numbers are also represented by bit patterns.
q A code such as ASCII is not used to represent numbers; the
number is directly converted to a binary number to
simplify mathematical operations.
q Images
q Images are also represented by bit patterns.
q In its simplest form, an image is composed of a matrix of
pixels.
q Each pixel is assigned a bit pattern.
Communication Systems
Prof. Hesham Tolba 6
1. Introduction to Data Communications 11/3/20
Data Representation …
q Images …
q The size and the value of the pattern depend on the image.
q For an image made of only black-and-white dots (e.g., a
chessboard), 1-bit pattern is enough to represent a
pixel.
q If an image is not made of pure white and pure black
pixels, you can increase the size of the bit pattern to
include gray scale.
q Example: for 4 levels of gray scale, 2-bit
patterns/pixel are used (black: 00, dark gray: 01,
light gray: 10 & white: 11).
Data Representation …
q Images …
q There are several methods to represent color images.
q RGB: (red, green & blue).
q Intensity of each color is measured & a bit pattern
is assigned to it.
q YCM: (a color is made of a combination of yellow, cyan
& magenta).
Communication Systems
Prof. Hesham Tolba 7
1. Introduc@on to Data Communica@ons 11/3/20
Data Representation …
q Audio
q Audio refers to the recording or broadcasting of sound or
music.
q Audio is by nature different from text, numbers, or
images.
q It is continuous, not discrete.
q Even when we use a microphone to change voice or music to
an electric signal, we create a continuous signal.
q We can change sound or music to a digital or an analog
signal.
Data Representation …
q Video
q Video refers to the recording or broadcasting of a picture
or movie.
q Video can either be produced as a continuous entity (e.g.,
by a TV camera), or it can be a combination of images,
each a discrete entity, arranged to convey the idea of
motion.
q Again we can change video to a digital or an analog
signal.
Communication Systems
Prof. Hesham Tolba 8
1. Introduction to Data Communications 11/3/20
Data Flow
q Communication between two devices can be simplex, half-duplex,
or full-duplex as shown.
Data Flow …
q Simplex
q In simplex mode, the communication is unidirectional.
q Only one of the two devices on a link can transmit; the other
can only receive.
q Keyboards and traditional monitors are examples of simplex
devices.
q The keyboard can only introduce input; the monitor can only
accept output.
q The simplex mode can use the entire capacity of the channel
to send data in one direction.
Communication Systems
Prof. Hesham Tolba 9
1. Introduction to Data Communications 11/3/20
Data Flow …
q Half-Duplex
q In half-duplex mode, each station can both transmit and
receive, but not at the same time.
q When one device is sending, the other can only receive, and
vice versa.
q In a half-duplex transmission, the entire capacity of a
channel is taken over by whichever of the two devices is
transmitting at the time.
q Walkie-talkies and CB (citizens band) radios are both half-
duplex systems.
Data Flow …
q Half-Duplex …
q The half-duplex mode is used when
q there is no need for communication in both directions at
the same time;
q the entire capacity of the channel can be utilized for
each direction.
Communication Systems
Prof. Hesham Tolba 10
1. Introduction to Data Communications 11/3/20
Data Flow …
q Full-Duplex
q In full-duplex mode, both stations can transmit and receive
simultaneously.
q In full-duplex mode, signals going in one direction share the
capacity of the link with signals going in the other
direction.
q This sharing can occur in two ways: Either the link must
contain two physically separate transmission paths, one for
sending and the other for receiving; or the capacity of the
channel is divided between signals traveling in both
directions.
Data Flow …
q Full-Duplex …
q One common example of full-duplex communication is the
telephone network.
q The full-duplex mode is used when communication in both
directions is required all the time.
q The capacity of the channel must be divided between the two
directions.
Communica@on Systems
Prof. Hesham Tolba 11
1. Introduction to Data Communications 11/3/20
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.
q Distributed Processing
q Network Criteria
q Physical Structures
q Network Models
q Categories of Networks
q Interconnection of Networks: Internetwork
Distributed Processing
q Networks use distributed processing, in which a task is divided
among multiple computers.
q Instead of a single large machine being responsible for all
aspects of a process, each separate computer handles a subset.
Communication Systems
Prof. Hesham Tolba 12
1. Introduction to Data Communications 11/3/20
Distributed Processing …
q Distributed databases.
q No one system needs to provide storage capacity for the
entire database.
q Example: the World Wide Web gives users access to
information that may be actually stored and manipulated
anywhere on the Internet.
q Faster problem solving.
q Multiple computers working on parts of a problem
concurrently can solve the problem faster than a single
machine.
q Example: networks of PCs have broken encryption codes that
were presumed to be unbreakable because of the amount of
time it would take a single computer to crack them.
11/3/20 Prof. Hesham Tolba Communication Systems 25
Distributed Processing …
q Security through redundancy.
q Multiple computers running the same program at the same
time can provide security through redundancy.
q Example: in the space shuttle, three computers run the
same program so that if one has a hardware error, the
other two can override it.
q Collaborative processing.
q Both multiple computers & multiple users may interact on a
task.
q Example: in multiuser network games the actions of each
player are visible to and affect all the others.
Communica@on Systems
Prof. Hesham Tolba 13
1. Introduction to Data Communications 11/3/20
Network Criteria
q The most important criteria a network must be able to meet:
q Performance
q Performance can be measured in many ways, including
transit time and response time.
q Transit time: amount of time required for a message to
travel from one device to another.
q Response time: elapsed time between “inquiry” &
“response”
q The performance of a network depends on:
q the number of users,
q the type of transmission medium,
q the capabilities of the connected hardware, and
q the efficiency of the software.
11/3/20 Prof. Hesham Tolba Communication Systems 27
Network Criteria …
q Performance is often evaluated by two networking metrics:
throughput and delay.
q We often need more throughput and less delay.
q These two criteria are often contradictory.
Communication Systems
Prof. Hesham Tolba 14
1. Introduction to Data Communications 11/3/20
Network Criteria …
q Reliability
q In addition to accuracy of delivery, network reliability
is measured by
q the frequency of failure,
q the time it takes a link to recover from a failure, and
q the network's robustness in a catastrophe.
q Security
q Network security issues include
q protecting data from unauthorized access,
q protecting data from damage and development, and
q implementing policies and procedures for recovery from
breaches and data losses.
11/3/20 Prof. Hesham Tolba Communication Systems 29
Physical Structures
q Type of Connection
q A network is two or more devices
connected through links.
q A link is a communications pathway
that transfers data from one
device to another.
q For communication to occur, two
devices must be connected in some
way to the same link at the same
time.
q There are two possible types of
connections: point-to-point & point-to-point & multipoint
multipoint.
11/3/20 Prof. Hesham Tolba Communication Systems 30
Communication Systems
Prof. Hesham Tolba 15
1. Introduc@on to Data Communica@ons 11/3/20
Point-to-Point Connection
q This connection provides a dedicated link between two devices.
q Example:
q Changing television channels by infrared remote control ➞
establishing a point-to-point connection between the remote
control and the television's control system.
11/3/20 Prof. Hesham Tolba Communica>on Systems 31
Multipoint Connection
q A multipoint (also called multidrop) connection is one in
which more than two specific devices share a single link.
Communication Systems
Prof. Hesham Tolba 16
1. Introduction to Data Communications 11/3/20
Physical Topology
q The term physical topology refers to the way in which a network is
laid out physically.
q Two or more devices connect to a link; two or more links form a
topology.
Mesh Topology
q In a mesh topology, every device
has a dedicated point-to-point
link to every other device.
Communication Systems
Prof. Hesham Tolba 17
1. Introduction to Data Communications 11/3/20
Mesh Topology …
q If each physical link allows
communication in both
directions (duplex mode), we
need !(! − $)/' duplex-mode
links in a mesh topology.
q To accommodate that many links,
every device on the network
must have ! − $ input/output
(VO) ports to be connected to
the other ! − $ stations as
shown.
A fully connected mesh topology
(five devices)
11/3/20 Prof. Hesham Tolba Communication Systems 35
Mesh Topology …
q Advantages of Mesh Topology
q The use of dedicated links guarantees that each connection can
carry its own data load, thus eliminating the traffic problems
that can occur when links must be shared.
q It is robust: If one link becomes unusable, it does not
incapacitate the entire system.
q It is private & secure: When every message travels along a
dedicated line, only the intended recipient sees it.
q Point-to-point links make fault identification/isolation easy.
Communication Systems
Prof. Hesham Tolba 18
1. Introduction to Data Communications 11/3/20
Mesh Topology …
q Disadvantages of Mesh Topology
q The main disadvantages are related to the amount of cabling
and the number of I/O ports required.
Mesh Topology …
q Henceforth, it is usually implemented in a limited fashion,
q Examples:
q as a backbone connecting the main computers of a hybrid
network that can include several other topologies.
Communication Systems
Prof. Hesham Tolba 19
1. Introduction to Data Communications 11/3/20
Star Topology
q In a star topology, each device has a dedicated point-to-point link
only to a central controller, usually called a hub.
q The devices are not directly linked to one another.
Star Topology …
q A star topology is less expensive than a mesh topology.
q In a star, each device needs only one link and one I/O port to
connect it to any number of others.
Communication Systems
Prof. Hesham Tolba 20
1. Introduction to Data Communications 11/3/20
Star Topology …
q Other advantages include robustness.
q If one link fails, only that link is affected. All other
links remain active.
Star Topology …
q One big disadvantage of a star topology is the dependency of the
whole topology on one single point, the hub.
q Although a star requires far less cable than a mesh, each node must
be linked to a central hub ® more cabling is required in a star than
in some other topologies (such as ring or bus).
Communication Systems
Prof. Hesham Tolba 21
1. Introduction to Data Communications 11/3/20
Bus Topology
q A bus topology is multipoint.
Bus Topology …
q Nodes are connected to the bus cable by drop lines and taps.
Communication Systems
Prof. Hesham Tolba 22
1. Introduc@on to Data Communica@ons 11/3/20
Bus Topology …
q Advantages of a bus topology include ease of installation.
q Backbone cable can be laid along the most efficient path,
then connected to the nodes by drop lines of various
lengths.
Bus Topology …
q Disadvantages include difficult reconnection and fault
isolation.
q A bus is usually designed to be optimally efficient at
installation but difficult to add new devices.
q Signal reflection at the taps can cause degradation in quality.
Communication Systems
Prof. Hesham Tolba 23
1. Introduction to Data Communications 11/3/20
Bus Topology …
q In addition, a fault or break in the bus cable stops all
transmission.
q The damaged area reflects signals back in the direction of
origin, creating noise in both directions.
q Bus topology was the one of the 1st topologies used in early
LANs’ design.
q Ethernet LANs can use a bus topology, but they are less popular
now.
Ring Topology
q In a ring topology, each device has a dedicated point-to-point
connection with only the two devices on either side of it.
Communication Systems
Prof. Hesham Tolba 24
1. Introduction to Data Communications 11/3/20
Ring Topology …
q A ring is relatively easy to install and reconfigure.
Ring Topology …
q The alarm alerts the network operator to the problem and its
location.
q However, unidirectional traffic can be a disadvantage.
Communication Systems
Prof. Hesham Tolba 25
1. Introduction to Data Communications 11/3/20
Hybrid Topology
q A network can be hybrid.
q An example is shown.
Network Models
q Computer networks are created by different entities.
q The two best-known standards are the OSI model and the Internet
model.
Communication Systems
Prof. Hesham Tolba 26
1. Introduction to Data Communications 11/3/20
Categories of Networks
q The category into which a network falls is determined by its
size.
Communication Systems
Prof. Hesham Tolba 27
1. Introduction to Data Communications 11/3/20
q The most common LAN topologies are bus, ring, and star.
Communication Systems
Prof. Hesham Tolba 28
1. Introduc@on to Data Communica@ons 11/3/20
Communication Systems
Prof. Hesham Tolba 29
1. Introduction to Data Communications 11/3/20
q Examples:
q the part of the telephone company network that can provide a
high-speed DSL line to the customer.
q the cable TV network that originally was designed for cable
TV, but today can also be used for high-speed data
connection to the Internet.
11/3/20 Prof. Hesham Tolba Communication Systems 60
Communication Systems
Prof. Hesham Tolba 30
1. Introduction to Data Communications 11/3/20
Example
q An organization has two offices, one on east
(star topology LAN) & the other on west (bus
topology LAN); the president of the company
lives somewhere in the middle and needs to
have control over the company.
q To create a backbone WAN for connecting these
three entities, a switched WAN (operated by a
service provider such as a telecom company)
has been leased.
q To connect the LANs to this switched WAN,
three point-to-point WANs are required.
q These point-to-point WANs can be a high-speed
DSL line offered by a telephone company or a
cable modern line offered by a cable TV A heterogeneous network made
provider as shown. of four WANs and two LANs
11/3/20 Prof. Hesham Tolba Communica>on Systems 62
Communication Systems
Prof. Hesham Tolba 31
1. Introduction to Data Communications 11/3/20
The Internet
The Internet has revolutionized many aspects of
our daily lives. It has affected the way we do
business as well as the way we spend our leisure
time. The Internet is a communication system that
has brought a wealth of information to our
fingertips and organized it for our use.
q A Brief History
q The Internet Today (ISPs)
The Internet …
q An internet is two or more networks that can communicate with each
other.
q http://www.internet-story.com/index.htm
Communication Systems
Prof. Hesham Tolba 32
1. Introduction to Data Communications 11/3/20
Communication Systems
Prof. Hesham Tolba 33
1. Introduc@on to Data Communica@ons 11/3/20
q Regional ISPs are smaller ISPs (with smaller data rate) that are
connected to one or more national ISPs.
Communication Systems
Prof. Hesham Tolba 34
1. Introduction to Data Communications 11/3/20
q Protocols
q Standards
q Standards Organizations
q Internet Standards
Protocols
q For communication to occur between entities in different
systems, entities must agree on a protocol.
q A protocol
q a set of rules that govern data communications.
q defines what is communicated, how it is communicated, and
when it is communicated.
Communication Systems
Prof. Hesham Tolba 35
1. Introduction to Data Communications 11/3/20
Protocols …
q Syntax. The structure or format of the data, meaning the order
in which they are presented.
Protocols …
q Semantics. 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?
q Timing. when data should be sent and how fast they can be sent.
Communication Systems
Prof. Hesham Tolba 36
1. Introduction to Data Communications 11/3/20
Protocols Architecture
q Software structure that implements the communication function
Standards
q Standards are essential in creating and maintaining an open and
competitive market and international interoperability.
Communication Systems
Prof. Hesham Tolba 37
1. Introduction to Data Communications 11/3/20
Standards Organizations
q Standards are developed through the cooperation of standards
creation committees, forums, & government regulatory agencies.
Standards Organizations …
q On March 1, 1993, the name of this committee was changed
to the International Telecommunication Union
Telecommunication Standards Sector (ITU-T).
q American National Standards Institute (ANSI)
Communication Systems
Prof. Hesham Tolba 38
1. Introduction to Data Communications 11/3/20
Forums
q To accommodate the need for working models and agreements and
to facilitate the standardization process, many special-
interest groups have developed forums made up of
representatives from interested corporations.
Regulatory Agencies
q All communications technology is subject to regulation by
government agencies such as the Federal Communications
Commission (FCC) in the US.
Communication Systems
Prof. Hesham Tolba 39
1. Introduction to Data Communications 11/3/20
Internet Standards
q An Internet standard is a thoroughly tested specification that
is useful to and adhered to by those who work with the
Internet.
Internet Standards …
q Each RFC is edited, assigned a number & made available to
interested parties
Communication Systems
Prof. Hesham Tolba 40