Lecture Note Networking Star
Lecture Note Networking Star
Chapter One
Data communication
Data communications refers to the exchange of data between two devices via some
form of transmission medium such as a wire cable, wireless transmission media
For data communications to occur, the communicating devices must be part of a
communication system, those communicating devices made up of a combination of
hardware (physical equipment) and software (programs).
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 1
RVU /Department of computer science 2013 E/C
Sender: The sender is the device that sends the data message. It can be a
computer, workstation, telephone handset, video camera, and so on.
Receiver: The receiver is the device that receives the message. It can be a
computer, workstation, telephone handset, television, and so on.
Transmission 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, and fiber-optic
cable, and radio waves, satellite micro wave.
Protocol: A protocol is a set of rules that govern data communications. It
represents an agreement between the communicating devices. Without a
protocol, two devices may be connected but not communicating, just as a
person speaking French cannot be understood by a person who speaks only
Japanese.
The data transmission software or protocols perform the following functions for
the efficient and error free transmission of data.
1. Data sequencing: A long message to be transmitted is broken into smaller
packets of fixed size for error free data transmission.
2. Data Routing: It is the process of finding the most efficient route between
source and destination before sending the data.
3. Flow control: All machines are not equally efficient in terms of speed. Hence
the flow control regulates the process of sending data between fast sender and slow
receiver.
4. Error Control: Error detecting and recovering is the one of the main functions
of communication software. It ensures that data are transmitted without any error.
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 2
RVU /Department of computer science 2013 E/C
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 3
RVU /Department of computer science 2013 E/C
Exchange Management Addressing
Transmission System Routing
Utilization Security
Error Detection and Correction Recovery
Flow Control Message Formatting
Signal generation: - All the data that are transmitted over the transmitting system
propagate as
Electromagnetic signals. Hence the communicating device must be able to generate
and receive these signals. Signal generation should be such that the resultant signal
is capable of being propagated through the transmission medium and interpretable
as data at the receiver.
Interface: - A device must interface with the transmission system in order to
communicate.
Synchronization: - Unless the receiver and transmitter are in Synchronization the
receiver will not be able to make sense out of received signals. Receiver should
know when the transmission of data starts, when it ends.
Data encoding: the process of transforming input data or signals into signals that
can be transmitted
Exchange Management:-For meaningful data transaction there should be some
kind management of data being exchanged. Both the transmitter and receiver
should adhere to some common convention about the format of data, amount of
data that can be sent at a time and so on. This requires a prior definition of message
formatting.
Transmission System Utilization: - It refers to the need to make efficient use of
transmission Channel, which is generally shared by many communicating devices.
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 4
RVU /Department of computer science 2013 E/C
Various techniques (Multiplexing) are available to allocate the total capacity of a
transmission channel among connected devices. Care should be taken to avoid
probable Congestion in some kind of multiplexing.
Error Detection and Correction:-In any communication system transmitted data
is prone to error. Either it is because of transmitted signal getting distorted in the
transmission medium leading to misinterpretation of signal or errors introduced by
the intermediate devices. Error detection and Correction is required in cases where
there is no scope for error in the data transaction. We can think of file transfer
between two computers where there is a need for this. But in some cases it may not
be very important as in the case of telephonic conversation.
Flow Control:-There is a possibility of transmitter generating data faster than the
receiver device capable of handling. To handle this there should be some kind of
flow control mechanism agreed upon between the two communicating devices.
Addressing:-When more than two devices share a transmitting facility, a source
system must somehow indicate the identity (or address) of the destination.
Routing:-The transmission system must ensure that the data being sent are routed
only to the destination system.
The list of tasks explained above is not exhaustive one. But sure it indicates the
complexities involved in a communication system. The data communication
system must be designed to handle the above tasks as required so that meaningful
communication can take place between two devices efficiently.
Data Flow /Data Transmission Modes
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 5
RVU /Department of computer science 2013 E/C
Communication between two devices can be categorized into three mode of
communication
Those are
Simplex
Half-duplex
Full-duplex.
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. The
keyboard can only introduce input; the monitor can only accept output.
The simplex mode can use the entire capacity of the channel to send data
in one direction.
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 6
RVU /Department of computer science 2013 E/C
For example, radio & T.V
Simplex
Sender
Receiver
Half-Duplex
In 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.
The half-duplex mode is like a one-lane road with traffic allowed in both
directions. When cars are traveling in one direction, cars going the other way
must wait.
Example walky-talky
Half Duplex
Full Duplex
In full-duplex mode, both stations can transmit and receive simultaneously.
The full-duplex mode is like a two way street with traffic flowing in both
directions at the same time.
One common example of full-duplex communication is the telephone
network. When two people are communicating by a telephone line, both can
talk and listen at the same time.
Full Duplex
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 8
RVU /Department of computer science 2013 E/C
Amount of data that can be transferred from one point to another in a
certain time period
Data rate: - in bits per second (bps), at which data can be communicated
Advantages of Digital Transmission
• Digital transmission techniques are widely used because of the following
advantages:
Digital technology
The advent of low cost LSI/VLSI technology has caused a
continuing drop in the cost and size of digital circuitry.
Data integrity
With the use of repeaters, the effects of noise and other
impairments are not cumulative. Thus it is possible to transmit
data longer distances and over lower quality lines while
maintaining the integrity of the data.
Capacity utilization
High bandwidth links become economical.
High degree of multiplexing is easier with digital techniques.
Security & Privacy
Encryption technique can be readily applied to digital data and to
analog data that have been digitized.
Integration
By treating both analog and digital data digitally, all signals have
the same form and can be treated similarly. Thus economies of
scale and convenience can be achieved by integrating voice,
video, and digital data.
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 9
RVU /Department of computer science 2013 E/C
Asynchronous and Synchronous Transmission
• On the other hand, in the synchronous mode, the saved data is transmitted
block by block. Each block can contain many characters. Synchronous
transmission is well suited for remote communication between a computer
and related devices like card reader and printers.
Transmission Impairment
Signals travel through transmission media, which are not perfect. The
imperfection causes signal impairment. This means that the signal at the
beginning of the medium is not the same as the signal at the end of the
medium. What is sent is not what is received.
Signal received may differ from signal transmitted
Impairments exist in all forms of data transmission
- Analog signal impairments degrade the signal quality
- Digital signal impairments result in bit errors (1s and 0s transposed)
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 10
RVU /Department of computer science 2013 E/C
Attenuation
Loss of power in a signal as it travels from the sending device to the
receiving device
where the signal becomes weaker over distance
Means loss of energy -> weaker signal
When a signal travels through a medium it loses energy overcoming the
resistance of the medium
Signal strength falls off with distance
Depends on type of medium
Received signal strength:
- must be enough to be detected
- must be sufficiently higher than noise to be received without error
Attenuation is an increasing function of frequency
Amplifiers are used to compensate for this loss of energy by amplifying the
signal.
Distortion
Means that the signal changes its form or shape
Distortion occurs in composite signals
Each frequency component has its own propagation speed traveling through
a medium.
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 11
RVU /Department of computer science 2013 E/C
The different components therefore arrive with different delays at the
receiver. That means that the signals have different phases at the receiver
than they did at the source.
Noise
Additional unwanted signals inserted between transmitter and receiver
Undesirable signals added between the transmitter and the receiver
There are different types of noise
Impulse Noise: -Irregular pulses or noise spikes of short duration and high
amplitude
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 12
RVU /Department of computer science 2013 E/C
Causes:
Lightning and static discharges
Switching of heavy electrical loads
Faults within the transmission system
Analogue signals are less affected by this type of noise
E.g. a voice transmission, at the same time as affected by impulse noise, it can still
be received intelligibly
Digital signals are very susceptible, Can lead to corruption of data i.e. changing
one to zero and vice-versa.
Type of impairment depends on type of media used
Transmission Impairments in Guided media
Attenuation: Loss (in dB) of signal strength over distance
èPrevention: Repeater or amplifier
Noise: Distortion caused by interference from external sources
èPrevention: Depends on type of noise
Transmission Impairments in Wireless media
Free-Space Loss : Attenuation due to distance
Atmospheric Absorption: Attenuation due to atmospheric conditions
(humidity)
Multi-path: Due to lack of direct line of sight path. Obstacles reflect
signal (creating multiple copies) or block it (no signal)
Thermal noise: Due to thermal activity of devices used for
transmission
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 13
RVU /Department of computer science 2013 E/C
Channel capacity
Channel capacity determines the rate at which data can be transmitted over
a given path or transmission media, under given conditions
Channel Capacityis the maximum rate at which data can be transmitted over
a communications path or channel.
In order to overcome the problem with channel capacity the network
designers must deal with:-
- Data rate: in bps
- Bandwidth: in Hz
- Noise: Average level of noise
- Error rate: rate at which errors occur
- Packet loss
- Packet delay and manage to get the highest data rate possible.
Broadband data transmission
– Multiple pieces of data are sent simultaneously to increase the
transmission rate
Narrowband
– Voice-grade transmission channel capable of transmitting a maximum
of 56,000 bps, so only a limited amount of information can be
transferred
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 14
RVU /Department of computer science 2013 E/C
Data Communication and computer networking lecture Note for CS& IS Dept Complied by
Tadesse O. Page 15