Professional Documents
Culture Documents
INTEGRATION
Week 06 (21 ─ 25 Aug)
Pakiso J. Khomokhoana (PhD)
21 Aug, 2023
Communication protocol
A set of rules and conventions governing message
transmission and reception.
DATA COMMUNICATIONS MODEL
DATA COMMUNICATIONS MODEL (CONT. [1])
COMMUNICATION PROTOCOLS (CONT. [1])
Message content
Defines the content and format of data
and command messages.
Media control
Defines how message bits are encoded
and transmitted across the
communication media.
Encoding – Use a variety of patterns of
voltage/current levels to represent the
binary digits of the digital signals on the
transmission link.
Channel organization:
Is transmission one-way or two-way?
If two-way, is a single channel
shared or are there separate
channels for
upstream/downstream?
Are bits sent one after another down
a single line or in parallel across
multiple lines?
Components of a communication protocol
Coordination
How are sender/receiver clocks
synchronized to ensure accurate bit
recognition?
Coordination of the hardware
devices to ensure that the data that
they contain is made to be identical.
How are errors detected/corrected?
ENCODING AND TRANSMITTING BITS – CARRIER WAVES
Energy transmitted through a communication
channel (e.g., light, electricity, RF waves) travels
as a sine wave.
To conclude:
Analog signals have high transmission capacity than binary
signals.
Binary signals have a lower error rate than analog signals.
TRANSMISSION MEDIA
Communication channels:
Each channel, at its
simplest level contains:
Sending device
Transmission medium
Receiving device
Raw data transfer rate depends on [1] signal type an [2] encoding
method (e.g., 00 Mbps for a binary signal transmitted at 100 MHz).
Optical transmission is
preferred to RF because it
has a much higher
frequency.
The spectrum of electromagnetic frequency
between 101 and 1019 Hz
BANDWIDTH
The difference between a signal's maximum and minimum frequencies is
called the signal bandwidth.
Amount of data that can be transferred from one point to another
within a network in a specified amount of time.
The difference between the maximum and minimum frequencies that can be
propagated through a transmission medium is called the medium
bandwidth.
For example:
A copper wiring in phone circuits can typically carry electromagnetic
frequencies between 0 and 100 MHz. The medium bandwidth is
computed by subtracting the min frequency from the max:
100 MHz - 0 Hz = 100 MHz.
A similar calculation for an optical fiber carrying visible light is
approximately:
790 THz - 400 THz = 390 THz.
Advantages
Low cost.
Ease of installation.
Disadvantages
High susceptibility to noise.
Limited transmission capacity because
of low bandwidth (generally 250 MHz or RJ-45 connector
less) and a low amplitude (voltage)
limit
ELECTRICAL CABLING (CONT. [2])
Coaxial cable
Contains a single copper conductor
surrounded by a thick plastic
insulator, a metallic shield, and a
tough plastic outer wrapping.
Because of its heavy shielding,
coaxial cable is very resistant to
EMI.
Advantages Coaxial cable and connector
Advantages
High raw data transfer capacity (because of high frequency
and bandwidth).
High mobility afforded by avoiding wired infrastructure.
One sender transmitting the same message to many
receivers at the same time.
Disadvantages
Regulatory and legal issues.
Cost of transmitting and receiving stations.
High demand for unused radio frequencies.
Susceptibility to many forms of external interference (e.g., EMI
and multipath distortion).
Security concerns (e.g., anyone with the necessary receiving equipment can
listen to the transmission).
Above!
CHANNEL ORGANISATION
Simplex mode
Uses a single transmission path between sender and receiver.
Messages flow in only one direction (e.g., unidirectional).
Half-duplex mode
Uses a single transmission path between sender and receiver.
Each node takes turns using the transmission line to transmit and receive.
After sending a message, the first node signals its intent to cease
transmission by sending a special control message called a line
turnaround.
The receiver recognizes this message and subsequently assumes the role
of the sender.
Full-duplex mode
Uses two transmission paths, one in each direction.
The receiver can communicate with the sender at any time over the second
transmission line, even while data is still being transmitted on the first line.
If an error is sensed, the receiver can notify the sender immediately, which
can halt the data transmission and retransmit.
The speed of full-duplex transmissions is high, even if the channel is
noisy.
CHANNEL ORGANISATION (CONT. [1])
Methods:
Time-division multiplexing (TDM) – divide channel capacity
into time “slices” and allocate different slices to different
“conversations”.
Frequency-division multiplexing (FDM) – divide a channel
with “broad” frequency range into multiple non-overlapping
channels.
CHANNEL SHARING (CONT. [1])
Time-Division Multiplexing (TDM)
Packet switching is the most common type of TDM.
Packet switching basics
Messages from different users or applications are divided into smaller
units called packets (e.g., a few thousand bytes).
Each packet carries the address of the sender and receiver, as well
as the packet’s sequence number.
Packets are then sent through the network to their destination.
The receiver reassembles packets into the original message in their
intended sequence.
Packet switching
CHANNEL SHARING (CONT. [2])
Frequency-Division Multiplexing (FDM)
A broadband (high bandwidth) channel is subdivided into
multiple baseband (low bandwidth) channels.
Methods include:
Parity checking akas vertical redundancy checking –
most redundancy.
Block checking akas longitudinal redundancy checking –
moderate redundancy.
Cyclic redundancy checking – least redundancy.
o Most widely used due to its low redundancy.
Below!
PARITY CHECKING
The sender adds a parity bit
to every “character” (group of 7
or 8 bits).