Chapter-1 Introduction To Data Communications
Chapter-1 Introduction To Data Communications
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.
• A node can be a computer, printer, or any other device capable of sending and/or
receiving data generated by other nodes on the network.
• A link can be a cable, air, optical fiber, or any medium which can transport a signal
carrying information.
Topics discussed in this section:
Network Criteria
Physical Structures
Categories of Networks
Network Criteria
• The most important of network criteria are performance, reliability and security.
1. Performance:-
Depends on Network Elements (number of users, the type of transmission medium, hardware & software)
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.
2. Reliability:-
Failure rate of network components
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.
• In broadcast network, a message or a packet sent by any machine is received by all other
machines in a network.
• 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 just
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 a There is a single transmitter and
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.
• Port address
• Mac address
• IP address
• Socket address
Port address
• 16 bits address
• Total virtual ports are 65,535 (0-1024 reserved for well-known services like server)
• Example:-
• HTTP :- 80
• FTP:- 21
MAC address
• 48 bit address (hexadecimal format)
• Internet Protocol version 4 (IPv4-32 Bits): currently used version of Internet Protocol.
• Internet Protocol version 6 (IPv6-128 Bits): the upcoming replacement for IPv4.
IP address
• The address space of IPv4 is 232 or 4,294,967,296 .
• Private IP addresses
• 10.0.0.0 through 10.255.255.255 :- Class-A
To use the services of transport layer in the Internet, we need a pair of socket addresses:
• the client socket address
• the server socket address
Mesh Topology
Each link carry its own data load, thus eliminating traffic problems
Disadvantages
Lots of cabling
Disadvantages
Whole topology depends on single point called hub.(So Hub fail , whole network
down)
More cables length requires than other topology like ring, bus.
More expensive than linear bus topologies because of the cost of the Connectors.
Tree Topology = Star topology+ Bus Topology
Bus Topology
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
Disadvantages
Difficult to reconnection and fault isolation.
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.
It can be used for communicating between the devices themselves, or for
connecting to a larger network such as the internet.
PAN’s can be wired or wireless.
• 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
WANs often connect multiple smaller networks, such as local area networks (LANs)
or metro area networks (MANs).
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.
2) http://techdifferences.com