SlideShare a Scribd company logo
1 of 43
Multiplexing and Switching
Multiplexing
Sharing the link among multiple users
Multiplexing
Time Division Multiplexing (TDM)
 Synchronous TDM
 Statistical TDM
Frequency Division Multiplexing (FDM)
Time Division Multiplexing
The Basic Idea:
 As the name suggest, Divide time amongst the
users
 Give each user some time to transmit his data
 This process is periodic in a round robin fashion
 The time given to a each user is referred to as
Time Slot or Time Quantum
Time Division Multiplexing
MUX
12
1
3
23
123
THE TRANSMITTER
12 13 23 123
THE LINK
DEMUX
THE RECEIVER
There should be no Timing difference between
the
MUX and DEMUX
WARNING………!!!!!!!
DEMUX
Or else……..!!!!
Something like this will happen……!!!!!
Therefore, the two devices
should be synchronized……
And so it is called Synchronous TDM
The problem with Synchronous TDM
What if host2 has only one packet to send
and host3 has two packet to send……..
MUX
12
1
3
12
12 13 12
THE LINK
Time slots are being
wasted….!!
The solution is
Statistical TDM
Statistical TDM
Here Time slots are given on
demand……….rather than in round robin
fashion
Each User can get 2 or more consecutive
time slots
If time slot is not required, it is not
allocated
Hence, not wasted
Frequency Division
Multiplexing
Frequency Division Multiplexing Diagram
FDM
Sharing is done by assigning each user a
specific frequency (Carrier Frequency)
Modulation equipment is used to move
each signal to the required frequency
band.
Multiplexing equipment is needed to
combine the modulated signal
User 1
User 2
User 3
M
O
D
U
L
A
T
O
R
f1
f2
f3
All the users transmit their data simultaneously….
f1 f2 f3
The Received data at the Receiver
f1 f2 f3
f1 f2 f3
The Filter
The output
f1 f2 f3
fc
y(f)
Demodulate to get the original signal back
Switching
Switching Networks
A network is made up of end hosts and
intermediate switching nodes
Data is usually passed through a
network of intermediate switching
nodes
The Switching nodes:
Not concerned with the contents of the data;
• Provide a switching facility that will move
data from node to node until they reach their
destination
A
1
7
2
5
3
4
6
B
C
D
E
F
Switching Nodes
End Hosts
Some Notes…
 Some nodes only connect to other nodes
 Some nodes connect to end hosts also
 Usually the network is not fully connected; there
is not a direct link between each pair of nodes
 If there are more than one paths between any
pair of nodes; this increases the reliability of the
network
 Node-Node links are usually multiplexed
Two Technologies for Switching
Circuit Switching
Packet Switching
They differ in the way the nodes switch
information from one link to another on the
way from source to destination
Circuit Switching
A dedicated communication path between the
hosts
A
1
7
2
5
3
4
6
B
C
D
E
F
Switching Nodes
End Hosts
Three Phases
 Circuit Establishment
• Host-B send a connection request towards Host-D
• Intermediate nodes route the request to Host-D based
on measures of availability and cost
• If ready, D accepts the connection and a dedicated path
(generally full duplex) is established from B through the
intermediate nodes to D
 Data Transfer
• The data (analog/digital) is carried on the dedicated
path
 Circuit Disconnect
• Done by any one station
• Signals are propagated to intermediate nodes to de-
allocate the dedicated resources
Principles
• Circuit switching designed for voice
– Resources dedicated to a particular call
– Much of the time a data connection is idle
– Data rate is fixed
• Both ends must operate at the same rate
Packet Switching
Problems in Circuit Switching
 Circuit Switching approach is inefficient
 Since data rate is constant, therefore the
devices interconnected must transmit and
receive at the same data rate, This limits the
interconnection of variety of hosts
 Further calls are blocked when all the lines are
busy
Packet Switching…...A quick overview
 Data is transmitted in short packets
 If a source has larger message to send, the message is broken
up into a series of packets
 Each packet contains user’s data plus some control
information (header)
 The control information, at a minimum includes the
information that the network requires to be able to route the
packet through the network and deliver it to the intended
destination
 At each node the packet is received, stored briefly and passed
on to the next node
Advantages
 Line efficiency is greater
 A packet switching network can perform data rate
conversion
 In Circuit Switching, calls are blocked whereas in P.S.
packets are still accepted but delivery delay increases
 Priorities can be used, thus a higher priority packet
experiences less delay
Types of Packet Switching
Datagram Approach
Virtual Circuit Approach
Datagram Packet Switching
 Each packet is treated independently, with no reference to packets
that have gone before
 Each packet contains the address of its destination
 The packets with the same destination do not always follow the
same route
 Some packets can get late and some can get destroyed in the
network
 Therefore, packets can be received out of order at the destination
 There must be some mechanism of re-ordering at the receiver
 Each packet, treated independently, is referred to as datagram
A
B
Virtual Circuit Packet Switching
A preplanned route is established before
any packets are sent
All the packets follow that route
Just like circuit switching, the route
should be terminated after the
transmission of data
DisconnectData
Connect Accept
Packets will be received in order
However, packets can get lost on the way
Event Timing

More Related Content

What's hot

Chapter 2 - Network Models
Chapter 2 - Network ModelsChapter 2 - Network Models
Chapter 2 - Network Models
Wayne Jones Jnr
 
HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)
Anand Biradar
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
stooty s
 
Common protocols
Common protocolsCommon protocols
Common protocols
Mr SMAK
 

What's hot (20)

Multiple access techniques for wireless communications
Multiple access techniques for wireless communicationsMultiple access techniques for wireless communications
Multiple access techniques for wireless communications
 
Chapter 2 - Network Models
Chapter 2 - Network ModelsChapter 2 - Network Models
Chapter 2 - Network Models
 
HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)
 
Circuit Switching
Circuit SwitchingCircuit Switching
Circuit Switching
 
Gsm radio-interface
Gsm radio-interfaceGsm radio-interface
Gsm radio-interface
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link control
 
Time Division Multiplexing
Time Division MultiplexingTime Division Multiplexing
Time Division Multiplexing
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Mac protocols
Mac protocolsMac protocols
Mac protocols
 
Common protocols
Common protocolsCommon protocols
Common protocols
 
MEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROLMEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROL
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
IEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and ServicesIEEE 802.11 Architecture and Services
IEEE 802.11 Architecture and Services
 
Packet switching
Packet switchingPacket switching
Packet switching
 
Orthogonal frequency division multiplexing (ofdm)
Orthogonal frequency division multiplexing (ofdm)Orthogonal frequency division multiplexing (ofdm)
Orthogonal frequency division multiplexing (ofdm)
 
Computer networks lan
Computer networks lanComputer networks lan
Computer networks lan
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Waveform coding
Waveform codingWaveform coding
Waveform coding
 

Similar to Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)

Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
tameemyousaf
 
Lecture 2 review of network technologies
Lecture 2 review of network technologiesLecture 2 review of network technologies
Lecture 2 review of network technologies
Batzaya Dashdondog
 
chapter 5.2.pptx
chapter 5.2.pptxchapter 5.2.pptx
chapter 5.2.pptx
MelkamtseganewTigabi1
 
Wmcn ch.3
Wmcn ch.3Wmcn ch.3
Wmcn ch.3
Alaa2
 

Similar to Multiplexing and switching(TDM ,FDM, Data gram, circuit switching) (20)

Switching Techniques Lecture12,wireless
Switching Techniques Lecture12,wirelessSwitching Techniques Lecture12,wireless
Switching Techniques Lecture12,wireless
 
switching techniques
switching techniques switching techniques
switching techniques
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
 
22 circuits
22 circuits22 circuits
22 circuits
 
Lecture 2 review of network technologies
Lecture 2 review of network technologiesLecture 2 review of network technologies
Lecture 2 review of network technologies
 
8 Packet Switching
8 Packet Switching8 Packet Switching
8 Packet Switching
 
Lecture set 1
Lecture set 1Lecture set 1
Lecture set 1
 
11 circuit-packet
11 circuit-packet11 circuit-packet
11 circuit-packet
 
Chapter#3
Chapter#3Chapter#3
Chapter#3
 
chapter 5.2.pptx
chapter 5.2.pptxchapter 5.2.pptx
chapter 5.2.pptx
 
CSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptxCSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptx
 
Switching
SwitchingSwitching
Switching
 
Switch networking
Switch networking Switch networking
Switch networking
 
Wmcn ch.3
Wmcn ch.3Wmcn ch.3
Wmcn ch.3
 
Physical And Data Link Layers
Physical And Data Link LayersPhysical And Data Link Layers
Physical And Data Link Layers
 
Unit 3 CND physical layer_switching_pranoti doke
Unit 3  CND physical layer_switching_pranoti dokeUnit 3  CND physical layer_switching_pranoti doke
Unit 3 CND physical layer_switching_pranoti doke
 
Unit 3 cnd physical layer_switching_pranoti doke
Unit 3  cnd physical layer_switching_pranoti dokeUnit 3  cnd physical layer_switching_pranoti doke
Unit 3 cnd physical layer_switching_pranoti doke
 
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdfDCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
 
Switching - data communication
Switching - data communicationSwitching - data communication
Switching - data communication
 
Data communications-concepts
Data communications-conceptsData communications-concepts
Data communications-concepts
 

More from Adil Mehmoood

Diseases caused by Computer
Diseases caused by ComputerDiseases caused by Computer
Diseases caused by Computer
Adil Mehmoood
 

More from Adil Mehmoood (19)

Docker + Node "hello world" Application
Docker + Node "hello world" ApplicationDocker + Node "hello world" Application
Docker + Node "hello world" Application
 
Java database connectivity with MYSQL
Java database connectivity with MYSQLJava database connectivity with MYSQL
Java database connectivity with MYSQL
 
What is feasibility study and what is contracts and its type
What is feasibility study and what is contracts and its typeWhat is feasibility study and what is contracts and its type
What is feasibility study and what is contracts and its type
 
Inner classes ,annoumous and outer classes in java
Inner classes ,annoumous and outer classes in javaInner classes ,annoumous and outer classes in java
Inner classes ,annoumous and outer classes in java
 
Exception handling in java
Exception handling in javaException handling in java
Exception handling in java
 
Project Engineer and Deputy project manger
Project Engineer and Deputy project manger Project Engineer and Deputy project manger
Project Engineer and Deputy project manger
 
Swing and AWT in java
Swing and AWT in javaSwing and AWT in java
Swing and AWT in java
 
Software Engineering 2 lecture slide
Software Engineering 2 lecture slideSoftware Engineering 2 lecture slide
Software Engineering 2 lecture slide
 
Expert system
Expert systemExpert system
Expert system
 
Sliding window and error control
Sliding window and error controlSliding window and error control
Sliding window and error control
 
Proposal defence format
Proposal defence formatProposal defence format
Proposal defence format
 
Shading and two type of shading flat shading and gauraud shading with coding ...
Shading and two type of shading flat shading and gauraud shading with coding ...Shading and two type of shading flat shading and gauraud shading with coding ...
Shading and two type of shading flat shading and gauraud shading with coding ...
 
Computer vesion
Computer vesionComputer vesion
Computer vesion
 
System quality attributes
System quality attributes System quality attributes
System quality attributes
 
Graph Clustering and cluster
Graph Clustering and clusterGraph Clustering and cluster
Graph Clustering and cluster
 
Token ring 802.5
Token ring 802.5Token ring 802.5
Token ring 802.5
 
diseases caused by computer
diseases caused by computerdiseases caused by computer
diseases caused by computer
 
Diseases caused by Computer
Diseases caused by ComputerDiseases caused by Computer
Diseases caused by Computer
 
What is Resume ,purpose and objective of resume and type of resume
What is Resume ,purpose and objective of resume and type of resumeWhat is Resume ,purpose and objective of resume and type of resume
What is Resume ,purpose and objective of resume and type of resume
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)

  • 2. Multiplexing Sharing the link among multiple users
  • 3. Multiplexing Time Division Multiplexing (TDM)  Synchronous TDM  Statistical TDM Frequency Division Multiplexing (FDM)
  • 4. Time Division Multiplexing The Basic Idea:  As the name suggest, Divide time amongst the users  Give each user some time to transmit his data  This process is periodic in a round robin fashion  The time given to a each user is referred to as Time Slot or Time Quantum
  • 7. 12 13 23 123 THE LINK
  • 9. There should be no Timing difference between the MUX and DEMUX WARNING………!!!!!!!
  • 10. DEMUX Or else……..!!!! Something like this will happen……!!!!!
  • 11. Therefore, the two devices should be synchronized…… And so it is called Synchronous TDM
  • 12. The problem with Synchronous TDM What if host2 has only one packet to send and host3 has two packet to send…….. MUX 12 1 3 12
  • 13. 12 13 12 THE LINK
  • 14. Time slots are being wasted….!!
  • 16. Statistical TDM Here Time slots are given on demand……….rather than in round robin fashion Each User can get 2 or more consecutive time slots If time slot is not required, it is not allocated Hence, not wasted
  • 19. FDM Sharing is done by assigning each user a specific frequency (Carrier Frequency) Modulation equipment is used to move each signal to the required frequency band. Multiplexing equipment is needed to combine the modulated signal
  • 20. User 1 User 2 User 3 M O D U L A T O R f1 f2 f3
  • 21. All the users transmit their data simultaneously…. f1 f2 f3
  • 22. The Received data at the Receiver f1 f2 f3 f1 f2 f3 The Filter The output f1 f2 f3
  • 23. fc y(f) Demodulate to get the original signal back
  • 25. Switching Networks A network is made up of end hosts and intermediate switching nodes Data is usually passed through a network of intermediate switching nodes The Switching nodes: Not concerned with the contents of the data; • Provide a switching facility that will move data from node to node until they reach their destination
  • 27. Some Notes…  Some nodes only connect to other nodes  Some nodes connect to end hosts also  Usually the network is not fully connected; there is not a direct link between each pair of nodes  If there are more than one paths between any pair of nodes; this increases the reliability of the network  Node-Node links are usually multiplexed
  • 28. Two Technologies for Switching Circuit Switching Packet Switching They differ in the way the nodes switch information from one link to another on the way from source to destination
  • 29. Circuit Switching A dedicated communication path between the hosts
  • 31. Three Phases  Circuit Establishment • Host-B send a connection request towards Host-D • Intermediate nodes route the request to Host-D based on measures of availability and cost • If ready, D accepts the connection and a dedicated path (generally full duplex) is established from B through the intermediate nodes to D  Data Transfer • The data (analog/digital) is carried on the dedicated path  Circuit Disconnect • Done by any one station • Signals are propagated to intermediate nodes to de- allocate the dedicated resources
  • 32. Principles • Circuit switching designed for voice – Resources dedicated to a particular call – Much of the time a data connection is idle – Data rate is fixed • Both ends must operate at the same rate
  • 34. Problems in Circuit Switching  Circuit Switching approach is inefficient  Since data rate is constant, therefore the devices interconnected must transmit and receive at the same data rate, This limits the interconnection of variety of hosts  Further calls are blocked when all the lines are busy
  • 35. Packet Switching…...A quick overview  Data is transmitted in short packets  If a source has larger message to send, the message is broken up into a series of packets  Each packet contains user’s data plus some control information (header)  The control information, at a minimum includes the information that the network requires to be able to route the packet through the network and deliver it to the intended destination  At each node the packet is received, stored briefly and passed on to the next node
  • 36. Advantages  Line efficiency is greater  A packet switching network can perform data rate conversion  In Circuit Switching, calls are blocked whereas in P.S. packets are still accepted but delivery delay increases  Priorities can be used, thus a higher priority packet experiences less delay
  • 37. Types of Packet Switching Datagram Approach Virtual Circuit Approach
  • 38. Datagram Packet Switching  Each packet is treated independently, with no reference to packets that have gone before  Each packet contains the address of its destination  The packets with the same destination do not always follow the same route  Some packets can get late and some can get destroyed in the network  Therefore, packets can be received out of order at the destination  There must be some mechanism of re-ordering at the receiver  Each packet, treated independently, is referred to as datagram
  • 39. A B
  • 40. Virtual Circuit Packet Switching A preplanned route is established before any packets are sent All the packets follow that route Just like circuit switching, the route should be terminated after the transmission of data
  • 42. Packets will be received in order However, packets can get lost on the way