Introduction To Data Communication
Introduction To Data Communication
Prepared By:
Nehal S. Patel
I.T. Dept.
CSPIT, Charusat
Outline
• Introduction of data communication
• Characteristics of dc
• Components of dc
• Data Flow
• Networks
• Protocols and Standards
Simple Data Communication Model
Applications of Networks
• Resource sharing such as printers and storage devices
• IP phones
• Video conferences
• Parallel computing
• Instant messaging
Data Communication
• Data communications are the exchange of data between two devices via some form of transmission
medium such as a wire cable.
Characteristics
▪ The message is the data or information to be communicated. It may consist of text, number, pictures, sound,
video or any a combination of these.
II. Sender:-
▪ Sender is the device which sends the data messages. It can be a computer, workstation, telephone handset,
video camera etc.
III. Receiver:-
▪ Receiver is the device which receives the data messages. It can be a computer, workstation, telephone handset
etc.
▪ The transmission medium is the physical path by which a message travels from sender to receiver. Some
illustrations include twisted-pair wire, coaxial cable, radio waves and fiber-optic cable.
Continue
V. Protocol:-
▪ It is a set of rules that governs the data communications. It represents an agreement between the
communicating devices. Without a protocol, two devices may be connected but not communicating. For
example, tcp, udp, http, https, smtp , ftp, etc.
Data Representation
Information today comes in different forms such as text, numbers, images, audio and video.
Text
Audio
and Data Numbers
Representation
video
Images
Continue
I. Text:-
II. Numbers:-
Numbers are also represented by bit patterns. However, a code such as ASCII is not used to represent
numbers; the number is directly converted into a binary numbers to simplify mathematical operations.
III. Images:-
An images is composed of a matrix of pixels, where each pixel is a small dot. The size of a pixel depends on the
resolution.
There are various methods to represent color images like RGB, YCM, etc.
Continue
IV. Audio:-
Audio is by nature different form text, numbers or images. It is continuous not discrete.
V. Video:-
It can either be produced as a continuous entity like TV camera or it can be a combination of images each a
discrete entity.
Data Flow
• Communication between two devices can be simplex, half-duplex or full-duplex.
Simplex Mode
In this 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.
Use:- There is no need for communication in both directions at the same time; the
Send/Receive A sender can send data but can not A sender can send as well as receive A sender can send as well as receive
receive. the data but not at the same time. the data concurrently.
Performance The half duplex and full duplex yields The full duplex mode yields higher Full duplex has better performance
better performance than the Simplex. performance than half duplex. as it doubles the utilization of
bandwidth.
❑ Transmit time:
The transmission time is the amount of time from the beginning until the end of a message transmission.
❑ Response time:
Response time is a measure of the total elapsed time between the start and completion of a task. (Inquiry and
response)
Performance
✔ Evaluated in terms of Delay and Throughput
❑ Throughput :-
Throughput defines how much useful data can be transmitted per unit time.
❑ Delay:-
The delay of a network specifies how long it takes for a bit of data to travel across the network
from one node or endpoint to another. It is typically measured in multiples or fractions of seconds.
Delay may differ slightly, depending on the location of the specific pair of communicating endpoints.
2. Reliability:-
Reliability is concerned with the ability of a network to carry out a desired operation such as
"communication".
3. Security:-
o Errors
o Malicious users
Types of Errors
▪ Single-bit error:
▪ Burst Error:-
Physical Structures
Types of
connection
Point-to-point Multipoint
Point-to-Point Connection
Entire capacity of the link reserved for transmission between two devices.
• Upon receiving a packet, every machine checks the address field of the packet.
• If the transmitted packet is for that particular machine, it processes it; otherwise it
Link There is dedicated link between The link is shared between more
two devices. than two devices.
Channel Capacity The channel's entire capacity is The channel's capacity is shared
reserved for the two connected temporarily among the devices
devices. connected to the link.
Transmitter and Receiver There is a single transmitter and There is a single transmitter and
a single receiver. multiple receivers.
Example Frame relay, T-carrier, X.25, etc. Frame relay, token ring,
Ethernet, ATM, etc.
Physical Structures
Physical Topology
❑ It is the geometric representation of the relationship of all the links and linking devices to each other.
▪ Use multipoint connection. One long cable acts as a backbone to link all device in a network.
▪ A tap is a connector.
▪ As a signal travels along backbone, some of its energy is transformed into heat. Therefore, it becomes
weaker and weaker as it travels further and further.
▪ For above reason, there is a limit on the number of taps a bus can support and on the distance between
those taps.
▪ It was the first topology used in the early design of LANs.
Advantages & Disadvantages
❖ Advantages
Easy to installation
Uses less cable length than star and mesh topologies
❖ Disadvantages
Difficult to reconnection and fault isolation.
A bus is usually designed to be optimally efficient at installation. It can be
difficult to add new device.
Adding a new device may require modification or replacement of backbone.
Fault or break in bus cable stops all transmission.
Terminators are required for both ends of the main cable.
1.40
A repeater operates at the Ring Topology
physical layer.
Job = regenerate the signal over
the same network before the
signal becomes too weak or
corrupted so as to extend the
length to which the signal can be
transmitted over the same
network
Continue
▪ Each device has dedicated point to point connection with only the two devices on either side of it.
▪ No beginning or end.
▪ A signal is passed along the ring in one direction, from device to device until it reached its final
destination.
▪ Break in the ring can disable entire network. Solve by using dual ring.
Advantages & Disadvantages
❖ Advantages
✔ Easy to install and reconfigure
✔ No collisions
✔ No terminators required
❖ Disadvantages
✔ Complex
Example:-
24 users
Logical Topology
• The way in which the data access the medium and transmits packets.
•PAN
•LAN
•MAN
•WAN
Personal Area Network (PANs)
▪ A PAN is a network that is used for data transmission amongst devices such as
computers, telephones, tablets and personal digital assistants.
• LANs can be wired or wireless-Twisted pair, coax or fiber optic cable can
• Every LAN uses a protocol – a set of rules that governs how packets are
▪ Switched WAN
▪ Connects the end system, which contains a router that connects to another LANs and WANs.
Transmission media type Twisted-pair Twisted-pair and fiber Fiber optics radio waves
optic cables and satellite
Syntax
Key
elements
Semantics Timing
Continue
• Syntax
The term syntax refers to the structure or format of the data, meaning the order in
which they are presented. For example, a some protocol might expect the first 8
bits of data to be the address of the sender, the second 8 bits to be the address of
the receiver, and the rest of the stream to be the message itself.
• Semantics
Semantics refers to the meaning of each section of bits.
How are a particular pattern to be interpreted, and what action is to be taken based
on that interpretation? For example, does an address identify the route to be
taken or the final destination of the message?
Continue
• Timing
The term timing refers to two characteristics: when data should be sent and how fast
they can be sent.
Example, if a sender produces data at 100 Mbps but the receiver can process data at
only 1 Mbps, the transmission will overload the receiver and some data will be lost.
• Network standards are designed to ensure that hardware and software made by different
vendors work seamlessly together.
References
1) Data Communication and Networking, Behrouz Forouzan, McGraw Hill Publication
2) http://techdifferences.com