Unit-1
Unit-1
(B22CI0502)
Prof. Shreedhar B
School of Computing & Information Technology
Chapter 1:Introduction to Data
Communication and Networking
2
INTRODUCTION TO NETWORKING
3
INTRODUCTION TO NETWORKING
1. Internet history
4
NETWORK
5
DATA COMMUNICATION
6
DATA FLOW
7
DATA REPRESENTATION
Images:
RGB
Text: (Red,
Sequenc Numbe Green,
Blue),
Audi Video
e of 0’s rs YCM o
and 1’s (Yellow,
Cyan,
Magenta)
8
NETWORK TOPOLOGIES
3. Types of Topologies
9
NETWORKS
10
TYPES OF TOPOLOGIES
11
12
13
14
15
16
DIFFERENCE BETWEEN LAN, WAN, MAN AND PAN
17
PROTOCOLS
18
STANDARDS
19
Chapter 2: Layered
Architectures
20
LAYERED TASKS
21
THE OSI MODEL
22
OSI EXCHANGE DIAGRAM
23
DATA REPRESENTATION IN OSI
24
PHYSICAL LAYER (LAYER-1)
The physical layer is responsible for movements of individual bits from one
hop (node) to the next
Responsibilities:
• Representation of bits
• Data rate.
• Synchronization of bits
• Line configuration.
• Physical topology
• Transmission mode
25
DATA LINK LAYER(LAYER 2)
The datalink layer is responsible for moving frames from one hop (node) to
the next
Responsibilities
• Framing.
• Physical addressing.
• Flow control.
• Error control.
• Access control.
26
NETWORK LAYER(LAYER-3)
The network layer is responsible for the delivery of individual packets from
the source host to the destination host.
Responsibilities
• Logical addressing.
• Routing
27
TRANSPORT LAYER (LAYER-4)
The transport layer is responsible for the delivery of a message from one
process to another
Responsibilities
• Service-point addressing.
• Segmentation and reassembly.
• Connection control.
• Flow control.
• Error control.
28
SESSION LAYER( LAYER -5 )
• Dialog control.
• Synchronization
29
PRESENTATION LAYER(LAYER-
6)
The presentation layer is responsible for translation, compression, and
encryption.
Responsibilities
• Translation.
• Encryption.
• Compression.
30
APPLICATION LAYER (LAYER 7)
31
32
TCP/IP PROTOCOL SUITE
TRANSMISSION CONTROL PROTOCOL
1. Protocol Suite
It’s a collection of protocols that are designed to work together
2. Protocol Stacks / layered protocol stacks.
3. Layers
1. 7 layer in OSI model.
2. TCP/IP protocol suite uses a 4 layer model
33
34
35
ADDRESSING
16
bit
32
bit
Lowest-Level
Address-48 bit
36
Chapter 3: Introduction to
Switching
37
INTRODUCTION TO SWITCHING
• A switched network consists of a series of interlinked nodes, called
switches.
• Switches are devices capable of creating temporary connections
between two or more devices linked to the switch.
Classification of Switched
Networks
38
CIRCUIT SWITCHED NETWORKS:
• Circuit-Switched Network – a type of network where the communications
between end devices (nodes) must be set up before they can communicate.
Once set up, the “circuit” is dedicated to the two nodes it connects for the
duration of that connection.
• An example of a circuit-switched network is an analog telephone network
39
DATAGRAM NETWORKING:
A datagram is a basic transfer unit associated with a packet-switched
network. Datagrams are typically structured in header and payload sections.
Datagrams provide a connectionless communication service across a packet-
switched network.
40
VIRTUAL CIRCUIT NETWORK
• A virtual-circuit network is a cross between a circuit-switched
network and a datagram network. It has some characteristics of
both.
• A virtual circuit (VC) is a means of transporting data over a
packet-switched network in such a way that it appears as
though there is a dedicated physical link between the source and
destination end systems of this data.
41
Chapter 4: Physical Layer
42
ANALOG AND DIGITAL DATA
• Analog data: Information that is continuous
• Digital data: Information that has discrete states
43
PERIODIC AND NONPERIODIC SIGNALS
• Both analog and digital signals can take one of two forms: periodic or nonperiodic
(aperiodic)
• A periodic signal completes a pattern within a measurable time frame, called a
period, and repeats that pattern over subsequent identical periods.
• The completion of one full pattern is called a cycle.
• A nonperiodic signal changes without exhibiting a pattern or cycle that repeats
over time.
• In data communications, we commonly use periodic analog signals and
nonperiodic digital signals.
44
PHYSICAL LAYER – PERIODIC ANALOG SIGNALS
45
PHYSICAL LAYER – PERIODIC ANALOG SIGNALS
• Peak amplitude of a signal is the absolute value of its highest
intensity
• Period : The amount of time, in seconds, a signal needs to
complete 1 cycle.
• Frequency : The number of periods in 1s.
• Period is the inverse of frequency, and frequency is the inverse of
period, as the following formulas show
46
PHYSICAL LAYER – PERIODIC ANALOG SIGNALS
47
PHYSICAL LAYER – PERIODIC ANALOG SIGNALS
• Phase (⏀):- Phase is a measure of the relative position in time within a
single period of a signal. i.e., phase describes the position of the
waveform relative to time 0. Phase is measured in degrees or radians.
48
DIGITAL SIGNALS
49
ANALOG AND DIGITAL DATA
50
TRANSMISSION IMPAIRMENTS
51
1.ATTENUATION
dB = 10log10P2/P1
P1 - input signal
P2 - output signal
52
2. DISTORTION
53
3.NOISE
54
SIGNAL-TO-NOISE RATIO (SNR)
55
DATA RATE LIMITS
57
NYQUIST BIT RATE - EXAMPLE
58
NOISY CHANNEL: SHANNON CAPACITY
• The formula defines a characteristic of the channel, not
the method of transmission.
59
PERFORMANCE
1. Bandwidth:
• Bandwidth in Hertz – Range of frequencies in a composite
signal
• Bandwidth in Bits per Second – No. of bits per second that a
channel or network can transmit
2. Throughput: How fast we can actually send the data
3. Latency (Delay) : Time taken for an entire message to
completely arrive at the destination.
4. Jitter: Variation in time delay between when a signal is sent and
received over a network.
60
TRANSMISSION MODES
61
PARALLEL TRANSMISSION
1. Advantage:
• Speed
• Disadvantage:
• Cost
• Used for short distance
62
SERIAL TRANSMISSION
63
DIGITAL-TO-ANALOG CONVERSION
64
AMPLITUDE SHIFT KEYING (ASK)
65
FREQUENCY SHIFT KEYING (FSK)
66
PHASE SHIFT KEYING (PSK)
67
ANALOG MODULATION
TECHNIQUES
68
QUADRATURE AMPLITUDE MODULATION (QAM)
69
ANALOG-TO-DIGITAL CONVERSION
• A process of converting analog data into digital data is
known as digitization.
• The device used for converting analog data into digital
form for transmission at sender, and subsequently
recovering the original analog data from the digital at
receiver, is known as a codec (coder-decoder)
• Two Techniques:
1. Pulse Code Modulation
2. Delta Modulation
70
PULSE CODE MODULATION (PCM)
1) Sampling
2) Quantization
3) Encoding
71
1. SAMPLING
The analog signal is sampled every Ts s, where Ts is the sample
interval or period.
The Inverse of the sampling interval is called the sampling rate
or sampling frequency
The sampling process is sometimes referred to as pulse
amplitude modulation (PAM)
72
SAMPLING RATE
73
2. QUANTIZATION
1) We assume that the original analog-signal has amplitudes between Vmin & Vmax.
74
QUANTIZATION AND ENCODING OF A SAMPLED SIGNAL
75
3. ENCODING
76
DELTA MODULATION (DM)
PCM is a very complex technique. Other techniques have been developed to reduce
the complexity of PCM.
The simplest is delta modulation.
PCM finds the value of the signal amplitude for each sample; DM finds the change
from the previous sample
77
MODULATOR
The modulator is used at the sender site to create a stream of bits from
an analog signal.
The process records the small positive or negative changes, called delta
δ. If the delta is positive, the process records a 1; if it is negative, the
process records a 0.
78
DEMODULATOR
The demodulator takes the digital data and, using the staircase maker and the delay
unit, creates the analog signal.
The created analog signal, however, needs to pass through a low-pass filter for
smoothing.
79
ANALOG-TO-ANALOG CONVERSION
80
AMPLITUDE MODULATION (AM)
• The carrier signal is modulated so that its amplitude varies with
the changing amplitudes of the modulating signal.
• The frequency and phase of the carrier remain the same; only the amplitude
changes to follow variations in the information
81
FREQUENCY MODULATION (FM)
The peak amplitude and phase of the carrier signal remain constant, but as the amplitude of the
information signal changes, the frequency of the carrier changes correspondingly i.e., when
amplitude of information signal is high the frequency of the carrier signal is high and vice versa.
The bandwidth requirement for frequency modulation(FM) is higher than AM and PM.
82
PHASE MODULATION (PM)
In PM transmission, the frequency along with phase of the carrier signal is modulated to follow the
changing voltage level (amplitude) of the modulating signal.
The peak amplitude of the carrier signal remain constant, the frequency is high at the starting and
ending of the signal and phase of the signal also changes as the amplitude of the information signal
changes, the carrier changes correspondingly.
83
INTRODUCTION TO TRANSMISSION MEDIA
84
CLASSES OF TRANSMISSION MEDIA
85
GUIDED MEDIA: TWISTED-PAIR CABLE
86
GUIDED MEDIA: COAXIAL CABLE
87
GUIDED MEDIA: FIBER OPTIC CABLE
88
UNGUIDED MEDIA: RADIO WAVES
89
UNGUIDED MEDIA: MICRO WAVES
Unidirectional.
90
UNGUIDED MEDIA: INFRARED
91
THANK YOU
92