I N S T R U M E N T A T I O N & C O N T R O L
E N G I N E E R I N G D E P A R T M E N T
parixit.140410117035@gmail.com
1
SARDAR VALLABHBHAI
PATEL INSTITUTE OF
TECHNOLOGY
PATEL PARIXIT H.-140410117035
GUIDED BY :- Prof. Dipesh shah
Topic:-Packet Switching
Analog and digital
communication (ADC)
parixit.140410117035@gmail.com
2
Different types of switching
parixit.140410117035@gmail.com
3
The switching performed by different nodes
can be categorized into the following three
types:
Circuit Switching
Packet Switching
Message Switching
Packet Switching
parixit.140410117035@gmail.com
4
 The basic approach is not much different from
message switching.
 It is also based on the same ‘store-and-forward’
approach.
 However, to overcome the limitations of
message switching, messages are divided
into subsets of equal length called
packets
 In packet switching approach, data are
transmitted in short packets (few Kbytes).
Packet Switching
parixit.140410117035@gmail.com
5
 A long message is broken up into a series of packets
as shown in Fig.
 Every packet contains some control information in
its header, which is required for routing and other
purposes.
Packet Switching
parixit.140410117035@gmail.com
6
 Main difference between Packet switching and
Circuit Switching is that in packet switching the
communication lines are not dedicated to passing
messages from the source to the destination.
 A long message is broken up into a series of packets
in “NETWORK” OSI layer.
Packet Switching
parixit.140410117035@gmail.com
7
 There are two basic approaches commonly used to
packet Switching:
1. datagram packet switching and
2. virtual-circuit packet switching.
(1) datagram packet switching
parixit.140410117035@gmail.com
8
 In datagram each packet is routed independently
through the network.
 Header is attached to each packet. It provides all of
the information required to route the packet to its
destination.
 Diagram approach is also called as
“connectionless”
datagram packet switching
parixit.140410117035@gmail.com
9
 Since each packets it routed independently, packets
from the same source to the same destination may
travel through different paths as shown in fig.
datagram packet switching
parixit.140410117035@gmail.com
10
 in this method, the packets don't follow a pre-
established route, and the intermediate nodes (the
routers) don't have pre-defined knowledge of the
routes that the packets should be passed through.
datagram packet switching
parixit.140410117035@gmail.com
11
 Packets can follow different routes to the
destination, and delivery is not guaranteed.
 This approach is time consuming since every router
has to decide where to send each packet.
 The main implementation of Datagram Switching
network is the Internet, which uses the IP network
protocol.
datagram packet switching
parixit.140410117035@gmail.com
12
Advantages:
 Call setup phase is avoided (for transmission of a few
packets, datagram will be faster).
 Because it is more primitive, it is more flexible.
 failed link can be avoided (more reliable).
Problems:
 Packets may be delivered out of order.
 time consuming.
 If a node crashes momentarily, all of its packets are
lost.
(2) virtual-circuit packet switching
parixit.140410117035@gmail.com
13
 In virtual circuit packet switching a fixed path
between a source and a destination is established
prior to transfer of packets.
 Connection-oriented network is also known as
virtual circuit.
 Virtual circuit is similar to telephone system.
virtual-circuit packet switching
parixit.140410117035@gmail.com
14
 Here, the process complete in three phase-
1. Establishment phase
2. Data transfer phase
3. Connection release phase
(1)Establishment phase:-
 To establish an end-to-end connection before any
transfer of data.
 Some segments of the circuit may be a dedicated
link, while some other segments may be shared.
virtual-circuit packet switching
parixit.140410117035@gmail.com
15
(2)Data transfer phase:
 Transfer data is from the source to the destination.
 The data may be analog or digital, depending on the
nature of the network.
 The connection is generally full-duplex.
(3) Connection release phase:
 Terminate connection at the end of data transfer.
 Signals must be propagated to deallocate the
dedicated resources.
virtual-circuit packet switching
parixit.140410117035@gmail.com
16
 there is a dedicated communication path
between the two stations.
 The path is connected through a sequence of links
between network nodes.
 On each physical link, a logical channel is dedicated
to the connection.
virtual-circuit packet switching
parixit.140410117035@gmail.com
17
 in this method, the packets follow a pre-established
route, and the intermediate nodes (the routers) have
pre-defined knowledge of the routes that the packets
should be passed through . it’s acknowledgement
signal.
Comparison between circuit switching and
datagram packet switching
parixit.140410117035@gmail.com
18
Advantages and Disadvantages of packet
switching
parixit.140410117035@gmail.com
19
 Advantages :-
1. More efficiently.
2. It is more flexible.
3. Improved bandwidth.
4. Small sized packet reduces transmission delay.
 Disadvantages :-
1. Complex protocol for packet switching.
2. Algorithms are more complicated.
3. Switching processor must be powerful.
THANK YOU
parixit.140410117035@gmail.com
20

Packet Switching

  • 1.
    I N ST R U M E N T A T I O N & C O N T R O L E N G I N E E R I N G D E P A R T M E N T parixit.140410117035@gmail.com 1 SARDAR VALLABHBHAI PATEL INSTITUTE OF TECHNOLOGY PATEL PARIXIT H.-140410117035 GUIDED BY :- Prof. Dipesh shah
  • 2.
    Topic:-Packet Switching Analog anddigital communication (ADC) parixit.140410117035@gmail.com 2
  • 3.
    Different types ofswitching parixit.140410117035@gmail.com 3 The switching performed by different nodes can be categorized into the following three types: Circuit Switching Packet Switching Message Switching
  • 4.
    Packet Switching parixit.140410117035@gmail.com 4  Thebasic approach is not much different from message switching.  It is also based on the same ‘store-and-forward’ approach.  However, to overcome the limitations of message switching, messages are divided into subsets of equal length called packets  In packet switching approach, data are transmitted in short packets (few Kbytes).
  • 5.
    Packet Switching parixit.140410117035@gmail.com 5  Along message is broken up into a series of packets as shown in Fig.  Every packet contains some control information in its header, which is required for routing and other purposes.
  • 6.
    Packet Switching parixit.140410117035@gmail.com 6  Maindifference between Packet switching and Circuit Switching is that in packet switching the communication lines are not dedicated to passing messages from the source to the destination.  A long message is broken up into a series of packets in “NETWORK” OSI layer.
  • 7.
    Packet Switching parixit.140410117035@gmail.com 7  Thereare two basic approaches commonly used to packet Switching: 1. datagram packet switching and 2. virtual-circuit packet switching.
  • 8.
    (1) datagram packetswitching parixit.140410117035@gmail.com 8  In datagram each packet is routed independently through the network.  Header is attached to each packet. It provides all of the information required to route the packet to its destination.  Diagram approach is also called as “connectionless”
  • 9.
    datagram packet switching parixit.140410117035@gmail.com 9 Since each packets it routed independently, packets from the same source to the same destination may travel through different paths as shown in fig.
  • 10.
    datagram packet switching parixit.140410117035@gmail.com 10 in this method, the packets don't follow a pre- established route, and the intermediate nodes (the routers) don't have pre-defined knowledge of the routes that the packets should be passed through.
  • 11.
    datagram packet switching parixit.140410117035@gmail.com 11 Packets can follow different routes to the destination, and delivery is not guaranteed.  This approach is time consuming since every router has to decide where to send each packet.  The main implementation of Datagram Switching network is the Internet, which uses the IP network protocol.
  • 12.
    datagram packet switching parixit.140410117035@gmail.com 12 Advantages: Call setup phase is avoided (for transmission of a few packets, datagram will be faster).  Because it is more primitive, it is more flexible.  failed link can be avoided (more reliable). Problems:  Packets may be delivered out of order.  time consuming.  If a node crashes momentarily, all of its packets are lost.
  • 13.
    (2) virtual-circuit packetswitching parixit.140410117035@gmail.com 13  In virtual circuit packet switching a fixed path between a source and a destination is established prior to transfer of packets.  Connection-oriented network is also known as virtual circuit.  Virtual circuit is similar to telephone system.
  • 14.
    virtual-circuit packet switching parixit.140410117035@gmail.com 14 Here, the process complete in three phase- 1. Establishment phase 2. Data transfer phase 3. Connection release phase (1)Establishment phase:-  To establish an end-to-end connection before any transfer of data.  Some segments of the circuit may be a dedicated link, while some other segments may be shared.
  • 15.
    virtual-circuit packet switching parixit.140410117035@gmail.com 15 (2)Datatransfer phase:  Transfer data is from the source to the destination.  The data may be analog or digital, depending on the nature of the network.  The connection is generally full-duplex. (3) Connection release phase:  Terminate connection at the end of data transfer.  Signals must be propagated to deallocate the dedicated resources.
  • 16.
    virtual-circuit packet switching parixit.140410117035@gmail.com 16 there is a dedicated communication path between the two stations.  The path is connected through a sequence of links between network nodes.  On each physical link, a logical channel is dedicated to the connection.
  • 17.
    virtual-circuit packet switching parixit.140410117035@gmail.com 17 in this method, the packets follow a pre-established route, and the intermediate nodes (the routers) have pre-defined knowledge of the routes that the packets should be passed through . it’s acknowledgement signal.
  • 18.
    Comparison between circuitswitching and datagram packet switching parixit.140410117035@gmail.com 18
  • 19.
    Advantages and Disadvantagesof packet switching parixit.140410117035@gmail.com 19  Advantages :- 1. More efficiently. 2. It is more flexible. 3. Improved bandwidth. 4. Small sized packet reduces transmission delay.  Disadvantages :- 1. Complex protocol for packet switching. 2. Algorithms are more complicated. 3. Switching processor must be powerful.
  • 20.