00:00:00
hello everyone welcome back to the
00:00:02
course on computer networks today we
00:00:04
shall see Network protocols and
00:00:06
communication before we step into the
00:00:08
topic we shall understand what are the
00:00:10
things we are going to learn today today
00:00:13
we will be learning about data
00:00:14
communication data flow what are the
00:00:17
importance of protocol in computer
00:00:19
network understand guys protocols are
00:00:22
very important in computer network and
00:00:24
what are the elements will also be
00:00:26
addressed in today's session now we
00:00:28
shall see what is data communication
00:00:30
data communications are the exchange of
00:00:33
data between two nodes if there are two
00:00:36
nodes they are going to exchange data
00:00:39
via some form of link or transmission
00:00:42
medium in this case the transmission
00:00:44
medium is the cable we have seen data
00:00:47
communication it means two nodes are
00:00:50
going to exchange data data flow means
00:00:52
the data is going to flow from one node
00:00:55
to another node and there are three
00:00:57
different flows simplex half-duplex full
00:01:01
duplex we shall see all these three data
00:01:04
flows in detail firstly the simplex it
00:01:08
is always a unidirectional communication
00:01:10
one node can transmit and other will
00:01:13
receive for example keyboards just take
00:01:16
a keyboard is connected to a CPU
00:01:18
keyboard is going to give data to the
00:01:20
CPU whereas CPU is not going to give any
00:01:23
data to the keyboard likewise our
00:01:25
traditional monitors I am NOT talking
00:01:27
about our touch monitors are traditional
00:01:30
monitors whatever the data is there in
00:01:32
the CPU that is going to be given to the
00:01:34
monitor and monitor is not going to give
00:01:37
any information to the CPU in both the
00:01:39
cases the data or the communication is
00:01:42
always unidirectional coming to the half
00:01:45
duplex the communication is in both
00:01:47
directions it means it can send as well
00:01:50
as it can receive but not at the same
00:01:53
time the very important part about half
00:01:55
duplex is that the communication can
00:01:58
happen in both directions but not at the
00:02:00
same time if one device is sending the
00:02:03
other device can receive and not at the
00:02:06
same time both sending and receiving can
00:02:08
happen example walkie talkie in a walkie
00:02:11
talkie we can talk as well as we can
00:02:14
but we can't talk and listen at the same
00:02:16
time now we shall see what is
00:02:19
full-duplex or simply duplex in the
00:02:21
previous case that is the half duplex
00:02:23
communication happened in both
00:02:25
directions but not at the same time
00:02:27
whereas in full duplex communication can
00:02:30
happen in both directions simultaneously
00:02:32
it means devices can send or receive
00:02:35
data at the same time example telephone
00:02:38
line we can talk as well as listen
00:02:41
simultaneously in a telephone line now
00:02:43
we shall see an example for simplex
00:02:45
communication now this computer is
00:02:47
sending data in only one direction so
00:02:50
this is simplex if both sending and
00:02:53
receiving can happen but not at the same
00:02:55
time if you observe now sending is
00:02:58
happening now receiving is happening but
00:03:00
not at the same time this is sending and
00:03:03
this is receiving this is not happening
00:03:07
at the same time so this comes under
00:03:09
half-duplex and full-duplex mode of
00:03:12
communication both sending and receiving
00:03:14
can happen at the same time if both
00:03:17
sending and receiving can happen
00:03:18
simultaneously then we call as full
00:03:21
duplex we will now see what are
00:03:23
protocols any communication scheme
00:03:25
whether it is a postal communication or
00:03:28
a whatsapp communication or SMS way of
00:03:30
communication we always have certain
00:03:33
things in common they are source or
00:03:36
sender destination or the receiver
00:03:38
Channel or media any communication will
00:03:42
definitely have these things source or
00:03:44
the sender destination or the receiver
00:03:46
channel or the media and this
00:03:48
communication will always be governed by
00:03:51
certain protocols so protocols are rules
00:03:54
that governs all the methods of
00:03:56
communication what if there are no
00:03:59
protocols if this guy speaks at high
00:04:02
speed which this destination cannot
00:04:04
handle this communication becomes
00:04:07
useless so they have to mutually agree
00:04:10
upon certain rules what if this blue guy
00:04:13
speaks in the language which this guy
00:04:16
cannot understand
00:04:17
he may be grammatically correct but
00:04:19
still there is no use in this
00:04:21
communication again what if this blue
00:04:24
guy keeps on talking at a high speed at
00:04:27
the same time not at all giving any room
00:04:29
for this guy to respond so these are
00:04:32
example situations where the
00:04:33
communication goes chaos or messy so
00:04:36
definitely there is a need for protocols
00:04:38
because a protocol is a set of rules
00:04:41
that governs data communication simply
00:04:44
speaking protocol is a rule that governs
00:04:47
data communication protocol determines
00:04:50
what is communicated in the network how
00:04:53
it is communicated in the network and
00:04:54
when it is communicated in the network
00:04:57
before going into the network
00:04:59
communication let's talk about the
00:05:01
protocols in the human communication in
00:05:03
human communication definitely there
00:05:05
should be sender and a receiver there
00:05:08
may be a single receiver or a group of
00:05:10
receivers and this human communication
00:05:12
can be effective only when this
00:05:14
communication involves common language
00:05:16
and grammar otherwise communication will
00:05:19
not be perfect and speed and timing of
00:05:21
delivery of speech is also very
00:05:23
important in human communication and if
00:05:25
this guy wants to ensure whatever he has
00:05:27
talked is understandable by this guy he
00:05:30
should get confirmation or the
00:05:31
acknowledgement from the receiver that
00:05:33
is the destination only then human
00:05:35
communication can be effective we have
00:05:38
just seen what is human communication
00:05:40
why do we need protocols in human
00:05:41
communication now we shall see why do we
00:05:44
need protocols in network communication
00:05:46
say if there is a sender and there is a
00:05:48
receiver and this communication can be
00:05:50
effective when these protocols are
00:05:52
addressed properly the message should be
00:05:55
encoded formatted and encapsulated in
00:05:58
such a way that the destination can
00:06:00
understand timing is also very important
00:06:04
in network communication the size is
00:06:06
also very important because the link
00:06:08
cannot carry big data if this is a low
00:06:11
capacity link then this link cannot
00:06:13
carry big data if there is a very big
00:06:16
data in the sender side
00:06:17
it cannot send that big data on a very
00:06:19
small link so it has to be handled
00:06:21
appropriately at the same time the
00:06:24
delivery option should also be dealt
00:06:25
whether the message is only for one
00:06:27
destination or some group of
00:06:29
destinations on all the day
00:06:31
nations in the network that should also
00:06:33
be dealt in the protocol spot so a
00:06:35
protocol defines message encoding
00:06:38
message formatting and encapsulation
00:06:40
message timing message size and the
00:06:43
delivery that is what we exactly call as
00:06:46
elements the elements of protocol are
00:06:48
message encoding message formatting and
00:06:51
encapsulation message timing message
00:06:54
size and message delivery options we
00:06:57
shall see each of this element in a
00:06:59
detailed manner message encoding means
00:07:01
the source that is the source computer
00:07:04
generates a message
00:07:06
it gives that message to the encoder in
00:07:08
order to generate signals once the data
00:07:10
is converted into signals now it is
00:07:13
given to the transmitter for
00:07:14
transmission you may be getting confused
00:07:16
why we need encoder here because we have
00:07:20
two kinds of transmission medium one is
00:07:22
a wired medium another one is a wireless
00:07:24
medium the source have to understand to
00:07:26
which medium it is connected to if it is
00:07:29
a wired medium the data have to be
00:07:31
converted into signals in order to
00:07:33
facilitate the data transmission on a
00:07:35
wired medium if it is a wireless medium
00:07:38
the sender have to encode the data in
00:07:40
the form of waves because this is a
00:07:42
wireless medium we can't send signals we
00:07:45
have to send waves and once the data is
00:07:48
sent through the transmission medium the
00:07:50
receiver receives the data and D course
00:07:52
it decoding means understanding it after
00:07:55
understanding it properly
00:07:57
it means the message has reached the
00:07:59
destination this is what message
00:08:01
encoding is all about the sender sends
00:08:03
the data the sender creates the data and
00:08:06
encodes the data and finally the
00:08:09
transmitter sends the data through the
00:08:10
transmission medium this transmission
00:08:13
medium takes the data to the receiver
00:08:14
the receiver after receiving the data it
00:08:17
decodes the data and after proper
00:08:20
decoding it means the message has
00:08:22
reached the destination this is what
00:08:24
message encoding is all about we shall
00:08:26
see the second element of the protocol
00:08:28
that is the message formatting and
00:08:30
encapsulation both sender and receiver
00:08:33
must mutually agree upon certain formats
00:08:36
which we call as formatted at the same
00:08:38
time when the receiver receives some
00:08:40
data it should identify who has sent
00:08:43
this data
00:08:44
we are going to add some information
00:08:46
with the data in order to identify the
00:08:48
sender and the receiver so we are not
00:08:50
going to just send data assets we are
00:08:53
going to encapsulate certain things like
00:08:55
the source information and the
00:08:56
destination information with the data so
00:08:59
that the right sender and the receivers
00:09:01
are identified and the third element in
00:09:04
the protocol part is message sizing if
00:09:06
there is a very big message to be
00:09:09
communicated to the destination human
00:09:11
breaks the message into smaller parts or
00:09:14
sentences say if this guy has a very big
00:09:16
content to be sent so what he does he
00:09:19
breaks the message into smaller parts or
00:09:21
sentences likewise our computer should
00:09:25
also do that if the capacity of the link
00:09:27
is very small but the data to be
00:09:29
transmitted is very big
00:09:31
this computer should break this big
00:09:33
message into smaller units which this
00:09:36
transmission medium can handle this is
00:09:38
what message sizing and this is one of
00:09:41
the thing a protocol should do and
00:09:43
message timing is the fourth element of
00:09:45
protocols and message timing deals with
00:09:48
flow control and response time mode
00:09:49
let's first talk about flow control
00:09:52
let's assume this guy is very fast the
00:09:55
sender is very fast and the receiver is
00:09:57
slow since the sender is very fast it
00:10:01
can send data at high speed what about
00:10:03
the receiver he can't handle that speed
00:10:06
if there is no flow control mechanism he
00:10:09
can keep so on sending data but he
00:10:11
cannot receive that data so the entire
00:10:13
communication will become useless it is
00:10:15
the responsibility of the protocol to
00:10:17
provide flow control mechanism at the
00:10:20
same time the sender is sending some
00:10:22
data and the receiver has to acknowledge
00:10:24
the data when the acknowledgement is
00:10:27
sent back to the sender the sender can
00:10:29
understand that the data is received by
00:10:31
the destination if the acknowledgement
00:10:33
is not received the sender have to wait
00:10:35
for a certain period of time after the
00:10:37
expiry of the time the sender will
00:10:39
retransmit the same so that we can
00:10:41
ensure guaranteed delivery and it is the
00:10:44
responsibility of the protocol to tell
00:10:46
how much time this computer should wait
00:10:49
for an acknowledgment and we have the
00:10:51
last element of the protocol and may say
00:10:54
delivery options there are three
00:10:56
delivery options one unique
00:10:58
- multicast 3 broadcast unicasting means
00:11:02
one sender and one receiver
00:11:05
it means this sender is going to send
00:11:07
data to exactly one receiver in the
00:11:10
network if the sender is sending the
00:11:12
data to exactly one destination it is
00:11:15
called as unicasting if the sender sends
00:11:17
the data to set of receivers but not to
00:11:20
all then this is multicast in
00:11:23
broadcasting means the sender sends the
00:11:26
data to all the participants in the
00:11:28
network then we call us broadcasting
00:11:32
and that's it guys now we shall just
00:11:34
recapture what we have seen today we
00:11:36
have seen what is data communication
00:11:38
that is the exchange of data between
00:11:40
nodes and we have also seen what is data
00:11:43
flow and we have seen the three data
00:11:45
flows simplex half-duplex and
00:11:47
full-duplex we have also seen the role
00:11:50
of protocols in computer networks not
00:11:52
only in computer networks even in real
00:11:54
time protocols has a very important role
00:11:56
to play with and we have also seen what
00:11:59
are the elements of protocols there are
00:12:01
five elements of protocols message
00:12:03
encoding message formatting and
00:12:05
encapsulation message size message
00:12:08
timing and finally the delivery options
00:12:11
I hope the session is informative thank
00:12:13
you all
00:12:14
[Applause]
00:12:17
[Music]
00:12:23
you
00:12:25
[Music]