Network I - Lecture 2
Network I - Lecture 2
Lecture 2
Digital communications
Digital communications is referred to as the transfer of a digital bit stream (data) from point A to point B
over a communication channel. It is also known as data transmission.
Digital communication is the transfer of a digital bit stream (data) from the information source location
to the destination location over a communication channel.
digital communication & analog communication
Definition analog communication : The method of information transmission between transmitter and
receiver in which analog signals are used for conveying the information is known as analog
communication.
type of signals used: Analog communication uses continuous time signals.
Signal representation: In analog communication, the sinusoidal waveforms represent the signals used for
transferring information.
Examples: - Sound shows analog signals
Definition digital communication : The communication in which digital signals are used for transferring
information between transmitter and receiver is known as digital communication
Type of signals used : Digital communication uses discrete time signals.
Examples: - Computers use digital signals.
Digital data have to be sent from the information source where the sender of the
information is located to the information destination where the person to receive the
information
Information source: The information source is where the message communicated to
the destination originates. It is usually in the form of an information waveform.
Source encoder: In the source encoder, the information waveforms such as texts,
audio, images, and videos are converted to bits.
Source decoder: On the receiving side of the digital communication system, the
decoder converts the bits to waveforms.
Channel encoder: The channel encoder is where the bits are converted into signal
waveforms.
Channel decoder: The channel decoder converts the received waveform back to bits.
Channel: The information from the source gets to the destination passing through a
communication channel. There are different types of communication channels
Transmission Media
Transmission media in computer networks is the physical media that
allows communication to take place from the source location to the
destination location
The transmission media provides a physical connection between the
transmitter and the receiver.
They are classified into two categories such as guided media and
unguided media.
The guided media consists of twisted pair cable, coaxial cable, and
optical fiber cable.
The unguided media consists of radio waves, microwaves, and infrared.
Guided Media
The guided transmission media is also known as the wired transmission media or
bound transmission media.
This type of transmission media consists of cables that are tangible or have physical
existence and are limited geographically in a physical way.
Twisted pair cable: There are two types of twisted pair cables—unshielded and
shielded pair cables.
1. Unshielded twisted pair (UTP): It has the capability to block interference.
The advantages of the unshielded twisted pair are that it is easy to install, has high-
speed capacity, and costs less.
The disadvantages of the UTP are that it only operates more efficiently for short
transmissions due to attenuation, can be affected by external interference, and has
lower performance and capacity when compared to shielded twisted pair (STP).
1.
2- Shielded twisted pair (STP): The STP is a cable that has a special jacket that blocks
external interference. It is used in fast data rate Ethernet and in data and voice channels
of telephone lines.
The advantages are that it is faster compared to other cables, has the ability to eliminate
crosstalk, and has better performance at a higher data rate when compared to UTP.
The disadvantages are that it is bulky, costs more, and is difficult to install and
manufacture when compared to other types of cables.
Optical fiber cable: This type of cable is used for the transmission of large volumes of
data.
The advantages are that it is light in weight, has less signal attenuation, has increased
bandwidth and capacity, has electromagnetic interference immunity, and has
resistance to corrosive materials.
The disadvantages are that it is fragile, difficult to install and maintain, operates only
in a unidirectional way without additional fiber for bidirectional communication, and is
more expensive
Coaxial cable: This type of cable has an outer plastic that covers two parallel
conductors having a separate insulated protection that covers each side.
Information is transmitted in two modes, namely, broadband mode and baseband
mode.
In the broadband mode, the cable bandwidth is split into separate ranges,
while in the baseband mode, the cable bandwidth is dedicated.
Coaxial cables are widely used by cable and analog televisions.
The advantages of the coaxial cables are that they are easy to install and expand,
have better noise immunity, are less expensive, and have high bandwidth.
The major disadvantage of the coaxial cable is that once there is a single cable failure
the entire network can be disrupted.
Unguided Media
Demultiplexer
performs the reverse process of multiplexing and routes the separated signals to their
corresponding receivers or destinations. The multiplexing and demultiplexing technique in a
digital communication system or in a computer network system is shown in Fig. 2.7
2- Packet Switching
Packet switching has two types, namely, virtual circuit and datagram. In the packet
switching methods, the information is broken into small parts, called packets. Each
packet is tagged with appropriate source and destination addresses.
Packet switching has the advantage that it is cost-effective because switching devices
do not need a massive amount of secondary storage. It also offers improved delay
characteristics, because there are no long messages in the queue as the maximum
packet size is fixed.
The disadvantage of packet switching is that the protocols for packet switching are
typically more complex. It can add some initial costs in implementation.
3- Message Switching
In the case of message switching, there is no need to establish a dedicated path between two
stations quite unlike the circuit switching. The destination address is attached to the message when
a message is sent from a station. The message is then transmitted through the network, in its
entirety, from node to node. Each node receives the entire message, stores it in its entirety on disk,
and then transmits the message to the next node. This type of network is called a store-and-forward
network.
One of the key advantages of message switching is that the channel efficiency can be greater
compared to circuit-switched systems because more devices are sharing the channel.
The disadvantages include the fact that the message switching is not compatible with interactive
applications. The store-and-forward devices are expensive because they must have large disks to
hold potentially long messages.
4- Cell Switching
In cell switching, there are similarities with packet switching,
except that the switching does not necessarily occur on packet
boundaries. This is ideal for an integrated environment and is
found within cell-based networks. Cell switching can handle
both digital voice and data signals.
Some of the key advantages of cell switching include scalability,
high performance, dynamic bandwidth, and common LAN/WAN
architecture multimedia support. High performance is achieved
because this technology uses hardware switches. Cell switching
uses virtual circuit rather than physical circuit
Cell switching has features of circuit switching, as it is a
connection-oriented service where each connection during its
set-up phase creates a virtual circuit
A connection-oriented service can be a circuit-switched
connection or a virtual circuit connection in a packet-switched
network.
Cell switching has a major disadvantage, and that is the fact
that it is an unreliable, connection-oriented packet-switched
data communications protocol.
tasks