chapter 5
chapter 5
5
COMMUNICATION
SWITCHINGTECHNIQUES
5.1INTRODUCTION
B D E
IV
J H G
. Another technique that can determine how connections are nade netbetween
works,twoa set of switches are receiving
devices and how data movement is handled is switching,
" Aswitched network consists of series of interlinked nodes called
betweent Jinks. A connection
morelinks. stations dedicatedconnected by physical
is a
path made of one or
Switches are hardware and/or software devices that are capable of swicrtceatheing Figure 5.3 Shows a circuit
switched network
E, F and inG which
are connected to Computer D.
temporary connections between two or more devices linkedtothe switcht computers are to be via four computerA, Band C
connected
dedicated lines are requircd which with a
point-to-point switches.
In a switched network, some of these nodes are connected to the end sue. If these
or communication devices like computer or telephone. will incur high connections,
12
Ahe four switches connecting these line cost.
A switched network is shown in fig. 4.1. Here the various end systeme.
communicating devices are labeled as A, B, C, D, E and so on and by reducing the line cost. Here I, IL, III computers
thus
and IV are provide dedicated links
nodes. Nodes I, IH, IV are the circuit
switches are labeled as I, I, III, IV and V. Each switch is connected. connected to computers while II is
switches or
multiple links. node. only routing
Switching
Circuit switch
SWITCHING TECHNIQUES 5.5
ever, he 2
1
hree ph n
m
E
2. Packet Switching
npacket switching, message is broken up into packets of fixed or
size)
variah
Each packet includes a header that contains source address,
address and other control information. destinati
The size of a packet depends upon the type of network and protocol used.
Unlike circuit switching, in packet switching no resources are allocated
packet in advance., Resources are allocated on demand on a first come fir
serve basis.
ording
d store
A321
ation.
Datagram network
rktres
Tams
fourp R
Imess D
tion
D
stinatit
Set up phase
This approach preserves the relationship
a message. between all the packets belonging to
COMMUNICATION SWITCHING TECHNIQU
5.8
Just like circuit switching, virtual circuit approach has a set up, data transle
D'sad
3-2-0 321>
Com
S. Packet switched
Parameter Circuit switched
No.
A path is created between Avirtual circuit or route
Path or route
two points by setting the is created between two
switches. points.
2.Pedicated or The links that make a .path In virtual circuit the links
sharing are dedicated & cannot be th¡t make a route can be
used other connections. shared by other
a sa
e f
connections..
5.10
COMMUNICATION SWITCHING TECHNIQUES
3. Message Switching
A
message is a logical unit of information and can be of any length.
cOMMUNICATIONSWITCHING TECHNIQUES
5.11
In message switching, iif astation wishes to send a message to another station,
packe itfirst
adds the destination
Message switching
address to the message.
does not establish a
communicating devices i.e. no direct link dedicated path betweeh the two
is established between sender and
receiver.
Each message is treated as an independent unit.
ore, In message switching, each complete message is
to device through the
then transmitted from device
internetwork message is transmitted from the source
i.e.
andwit node to intermediate node.
The intermediate node stores the complete
message
Inrelale arors and transmnits the message to the next node temporarily, inspect it for
based on an
ohannel and its routing information. Because of this reason available free
not message switched
networks are called store and forward network as shown in fig. 5.7
IV
M2
2d on tt M1
d numte
B
packet
the bas M2 M1}
1serv
ters.
2 Transmission Digital data over Analog & digital| Digital data over
system different data Over different
transmission media. different transmission
transmission media.
media.
4. Information Morse, Baudot, Analog voice or Binary
type ASCII. PCM digital information.
voice.
5. End terminal Telegraph, teletype Telephone, Computer
modem