Computer Networks and Data Communication
Computer Networks and Data Communication
COMMUNICATION
• LCS3201/CED 3201
INTRODUCTION
• Data-refers to raw facts. The Webster dictionary defined data as
“information in digital form that can be transmitted or processed”.
The data may be in any form such as text, symbols, images, videos,
signals and so on.
• Information-refers to processed data that enable us to make decision.
• Communication is referred as exchanging information from one
entity to another entity in a meaningful way. The entities may be
refereed to as human beings, animals, machines, birds, etc. the
meaningful way refers that the communication must be understandable
by the two entities, e.g. Speaker and Listener in English
• To provide communication, information must be carried by a carrier
which can either be wire or wireless
• Data communication-is the process of exchanging data or
information.
• Incase of computer networks, this exchange is done between two
devices over a transmission medium.
• This process of data communication involves a communication system
which is made of Hardware and software. The hardware part involves
the sender and receiver devices and the intermediate devices through
which the data passes.
Characteristics of Data Communication
• To provide effective communication systems, the following four
characteristics must be followed:
Delivery-The data to be communicated must be delivered to the correct destination
or correct user.
Accuracy-The communication system should deliver the data accurately without
introducing errors or any alteration. However the data may get corrupted during
transmission affecting the accuracy of the delivered data.
Timeliness-The communication system must deliver the data without any delay, for
example, Audio and Video data has to be delivered in a timely manner without any
delay, such data delivery is called real time transmission of data.
Jitter-In a network, data are split into smaller groups (packets) and sent separately.
The variation in the arrival time of two packets is called Jitter. Uneven Jitter may
affect the timeliness of the data being transmitted.
Components of a Data Communication
system
1. Message-Is the information to be communicated by the sender to the
receiver.
2. Sender-is any device that is capable of sending the data (message).
3. Receiver-is the device the sender wants to communicate the data
(message).
4. Transmission medium-is the path by which the message travels from
sender to receiver which may be wired or wireless.
5. Protocol-it is an agreed upon set or rules used by the sender and
receiver to communicate data. It is a set of rules that govern data
communication, without it, the communicating entities are like two
persons trying to talk to each other in a different language without
knowing the other language.
Components of a Data Communication
Data Representation
• There may be different forms in which data may be represented and
some of which are:
Text-Combination of alphabets and stored as a pattern of bits using encoding
system, e.g, ASCII
Numbers-Combination of digits 0-9 and stored as a pattern of bits using
encoding system, e.g. ASCII.
Images
o In computers, images are digitally stored in form of “PIXELS”, where pixels is the smallest
element of an image.
o Therefore a picture or image is a matrix of pixel elements.
o The pixels are represented in the form of bits. Depending on the type of image (black and
white or color), each pixel would require different number of bits to represent the value of
pixel.
o Size of image depends on the number of pixels (also called resolution) and the bit
pattern used to indicate the value of each pixel, e.g, if an image is purely black and white
(two color), each pixel can be represented by a value of either 0 or 1. Meanwhile an
image of different colors may require two bits to represent every pixel value (00-black,
01-dark grey, 10-light gray, 11-white)
o Commonly used image file formats are jpg (Joint Photographic expert group)-digital
format of compressed image), png (Portable Network Graphics)-can handle graphics
with transparent/semitransparent backgrounds-used by web designers , bmp (Bitmap)
or (Bitmap image)-an uncompressed file format where every pixel of an image has its
own bit or group of bits in the file, etc.
Audio-Sound which can be recorded and broadcasted, e.g. in radio which
may be continuous or discrete.
Video-Picture or movie
DATA FLOW
• Two devices communicate with each other by sending and receiving
data and they can do in the following ways:
Simplex mode of communication-is unidirectional-only one of the devices
sends data and the other device receives data, e.g. CPU sending data to
monitor
Half Duplex mode of communication-Both stations/devices can transmit as
well as receive but not at the same time, i.e. when one device is sending,
other can only receive and vice versa, e.g. a Walkie talkie
Full Duplex mode of communication-Both stations/devices can transmit and
receive at the same time, e.g. mobile phones.
COMPUTER NETWORK
• Computer Networks are used for data communications.
• A computer network can be defined as a collection of nodes whereby
a node can be any device capable of transmitting or receiving data.
• The communicating nodes have to be connected by communication
links (wired or wireless).
• A computer network should ensure some of the following:
Reliability of the data communication process
Security of data
Performance by achieving higher throughput (amount of information in a
particular time) and smaller delays
CATEGORIES OF COMPUTER
NETWORK
• Networks are categorized on the basis of their size:
• Three basic categories are:
Local Area Network (LAN)-limited to a few kilometers of area-may be
privately owned on inside an office (network of computers)
Metropolitain Area Network (MAN)-bigger than LAN. It may comprise entire
network in a city.
Wide Area Network (WAN)-made of all networks in a (geographically) large
area.
PROTOCOL
• A protocol is defined as set of rules that govern data communications.
• Without protocol communication cannot occur. The sending device cannot just send
the data and expect the receiving device to receive and further interpret it correctly.
• When the sender sends a message it may consist of text, number, images, etc. which
are converted into bits and grouped into blocks to be transmitted and often certain
additional information called control information is also added to help the receiver
interpret the data.
• For successful communication to occur, the sender and receiver must agree upon
certain rules called protocol.
• A protocol defines what is to be communicated, how it is to be communicated and
when it is to be communicated.
Elements of a protocol
• Three key elements of a protocol
• Syntax
It means the structure or format of the data.
It is the arrangement of data in a particular order.
• Semantics
It tells the meaning of each section of bits and indicates the interpretation of each section.
It also tells what action/decision is to be taken based on the interpretation.
• Timing
It tells the sender about the readiness of the receiver to receive the data
It tells the sender at what rate the data should be sent to the receiver to avoid overwhelming
the receiver.
STANDARDS IN NETWORKING
• Standards provide guidelines to product manufacturers and vendors to
ensure national and international interconnectivity.
• Standards are necessary in networking to ensure interconnectivity and
interoperability between various networking hardware and software
components.
• Without standards we would have proprietary products creating
isolated islands of users which cannot interconnect.
CONCEPTS OF STANDARD
• Data communications standards are classified into two categories:
De facto Standard
These are the standards that have been traditionally used and mean by fact or by
convention
These standards are not approved by any organized body but are adopted by
widespread use.
De jure standard
It means by law or by regulation.
These standards are legislated and approved by an body that is officially recognized.
STANDARD ORGANIZATIONS IN THE
FIELD OF NETWORKING
• Standards are created by standards creation committees, forums, and government
regulatory agencies
• Examples of Standard Creation Committees :
International Organization for Standardization(ISO)
International Telecommunications Union – Telecommunications Standard (ITU-T)
American National Standards Institute (ANSI)
Institute of Electrical & Electronics Engineers (IEEE)
Electronic Industries Associates (EIA)
• Examples of Regulatory Agencies:
Federal Communications Committee (FCC)
DATA AND SIGNALS
• For data to be transmitted, it must be transformed to
electromagnetic signals such as an electrical voltage, radiowave,
microwave or infrared signal (waves that are created as a result of
vibrations between an electric field and a magnetic field).
• Data can be Analog or Digital
• Analog data-information that is continuous, e.g. sound made by
human voice
• Digital data-information that take on discrete states, e.g. data
that are stored in computer memory in form of 0s and 1s.
• Signals can be of two types
• Analog signal-They have infinite values in a range
• Digital signal-They have limited number of defined values
Periodic and Non periodic signals
• Periodic signal are signals that repeat itself after a fixed time period.
• Non periodic signals are signals which do not repeat itself after a fixed
time period.
• In data communications, we commonly use periodic analog signals
and non periodic digital signals
ANALOG SIGNALS
• An analog signals has infinitely many levels of intensity over a period
of time.
• A simple analog signal is a sine wave that can not be decomposed
into further simpler signals.
• As the wave move from value A to value B, it passes through and
includes an infinite number of values along its path.
• A sine wave is characterized by three parameters
Peak amplitude
Frequency
Phase
Characteristics of an analog signals
• Peak amplitude-is the absolute value (magnitude of real number, sign
being ignored) of its intensity at time, t. (absolute value of the highest
intensity.
• The amplitude of a signal is proportional to the energy carried out by
the signal.
• Frequency-refers to number of cycles completed by the wave in one
second.
• Period refers to time taken by the wave to complete one Cycle.
Relationship between Frequency (f) and
Period (T)
• It is indicated by the below formula
• Disadvantages
The cables are affected by electromagnetic interference and noise. This is high on unshielded twisted pairs.
They cover a short distance before the signal is distorted. The attenuation is around 100 meters. After that, the signal
becomes weak and should be boosted.
Twisted pairs have limited bandwidth when compared to other types of cables such as coaxial or fiber cables.
They are sensitive to eavesdropping and other security attacks. Can be tapped
Low data transmission rates. The latest cable categories have high transmission speeds but for a shorter distance.
APPLICATIONS OF TWISTED PAIR
CABLES
• Home/Office networking.
• CCTV Camera.
• For those institutions that still used intercom (telephone
interconnecting offices), twisted pairs are the most preferred
types of cabling.
Co-Axial Cable
• Coaxial cable consists of two conductors.
• The inner conductor is contained inside the insulator with the outer conductor
weaved around it to provide shield.
• An insulating protective coating called a jacket covers the outer coating.
• The outer shield protects the inner conductor from outside electrical signals.
• The distance between the outer conductor (shield) and inner conductor plus the
type of material used for insulating the inner conductor determine the cable
properties or impedance/resistance.
• The excellent control of the impedance/resistance characteristics of the cable
allow higher data rates to be transferred than twisted pair cable.
Structure of co-axial cable
• Copper conductor: A central conductor, which consists of copper. The conductor
is the point at which data transmits.
• Insulator: Dielectric plastic insulation around the copper conductor. it is used to
maintain the spacing between the center conductor and shield.
• Braided mesh: A braided mesh of copper helps to shield from electromagnetic
interference, The braid provides a barrier against EMI moving into and out of the
coaxial cable.
• Protective plastic layer: An external polymer layer, which has a plastic coating.
It is used to protect internal layers from damages
Advantages/Disadvantages of Coaxial cable
Advantages
Coaxial cables support high bandwidth.
It is easy to install coaxial cables.
Less affected by noise or cross-talk or electromagnetic inference.
Coaxial cables support multiple channels
Disadvantages
Coaxial cables are expensive.
The coaxial cable must be grounded in order to prevent any crosstalk.
As a Coaxial cable has multiple layers it is very bulky.
There is a chance of breaking the coaxial cable and attaching a “t-joint” by
hackers, this compromises the security of the data. i.e. can be tapped
Applications of coaxial cables
Used for Television, Internet, Circuit Closed TV (CCTV), Video,
etc
Optic-Fibre Cable/Fibre-Optic cable
• Fiber optics, or optical fiber, refers to the technology that transmits information as light pulses
along a glass or plastic fiber.
• The core of this cable is located in the center, and the outside of the core is named as cladding.
Here cladding works like a protective layer.
• These two (cladding & core) are made with different types of plastic otherwise glass.
• When the light within the core strikes the border of the cladding in a less than 90 degrees angle,
then it bounces off. No light run away until it approaches the fiber end.
• Can carry information at frequencies in the visible light spectrum
• The device generating the message has it in electromagnetic form (electrical signal); this has to be
converted into light (i.e. optical signal) to send it on optic fiber cable. The process of converting
light to electric signal is done on the receiving side
Advantages/Disadvantages of Optic-Fibre cable
• Advantages
Large Bandwidth: As the light rays have a very high frequency in GHz range, the bandwidth of the optical fiber is
extremely large. Bandwidth is higher than copper cables
The optical cable is resistance for electromagnetic interference. Since the transmission takes place in the form
of light rays the signal is not affected due to any electrical or electromagnetic Interference.
Less power loss and allows data transmission for longer distances
Small size and light weight: The size of the optical fibers is very small. Therefore a large number of optical fibers
can fit into a cable of small diameter.
High-Level Security. The optical fiber cable is very hard to tap because they don’t produce electromagnetic
energy. These cables are very secure while carrying or transmitting data
Disadvantages
The optical fiber cables are very difficult to merge & there will be a loss of the beam within the cable while
scattering.
The Installation of these cables is costly. Special test equipment is often required to the optical fiber to
check the transmission of fiber cable.
These cables are more delicate than copper wires.
UNGUIDED (WIRELESS)
TRANSMISSION MEDIUM
• Unguided media transport data without using a physical conductor. This type of
communication is often referred to as wireless communication.
• It uses wireless electromagnetic signals to send data.
• There are three types of Unguided Media
Radio waves (electromagnetic waves ranging in frequencies between 3 KHz and 1 GHz)
Micro waves (electromagnetic waves having frequencies between 1 Ghz and 300 GHz)
Infrared (Infrared signals with frequencies ranges from 300 GHz to 400 GHz can be used for
short range communication
PROPAGATION OF WIRELESS SIGNAL
• Wireless electromagnetic signals can be sent or propagated in three
ways:
Ground-wave propagation
Sky-wave propagation
Line-of-sight propagation
• Ground-wave propagation
Covers the area between the earth surface and the ionosphere for signal transmission
Ionosphere is the layer of the earth's atmosphere which contains a high concentration
of ions and free electrons and is able to reflect radio waves. It extends from about 80 km to
1,000 km above the earth's surface.
Follows the earth’s contour and can transmit signals to a considerable distances.
A signal propagation that takes place on the surface of the ground.
Applications of ground wave propagation
• They can be used for one way communication, for example from a military base to submerged
submarines as they penetrate to a significant depth into seawater
• In Amplitude Modulation (AM) radio, Television Broadcasting, etc.
• Frequencies up to 2 MHz.
• Advantages:
• These waves have the tendency to bend around the corners or obstructions during
propagation which makes them more efficient.
• Not affected by the change in atmospheric conditions.
• Disadvantages
• These are used to cover short ranges.
• Involves attenuation of waves as they interact with the eddy currents (current induced
within a conductor) produced by the surface of the earth.
• Sky-wave propagation-commonly known as skip.
It is either the reflected or refracted back waves to the earth from the
ionosphere, which is an electrically charged layer of the upper atmosphere.
Signal can travel a number of hops, back and forth between
ionosphere and earth‘s surface.
E.g. Mobile communications, Satellite communications and radar systems
Advantages of sky wave-propagation:
o Supports large distance propagation
o Attenuation due to atmospheric conditions are less
o Frequency is considerably high
• Disadvantages
o Long-distance propagation requires large ionized antennas.
o Due to the presence of the ionosphere near and far during night and day
respectively there exist variation in signal transmission in day and night.
• Line-of-sight propagation
a propagation in which two stations can only transmit and receive data signals
when they're in direct view of each other with no obstacles in between.
Transmitting and receiving antennas must be within line of sight.
• Applications are: Radar technology, some wireless communications.