SlideShare a Scribd company logo
1 of 35
MULTIPLE ACCESS PROTOCOL

PRESENTED BY,
J.MERLIN FLORRENCE
I M.Sc
AGENDA
INTORDUCTION
TYPES OF NETWORK LINK

CHANNEL PARITIONING PROTOCOLS
RANDOM ACCESS
Slotted ALOHA

ALOHA
CSMA
TAKING-TURNS PROTOCOLS
LOCAL AREA NETWORKS
TYPES OF NETWORK LINK
Network link

Point-to-point link

Broadcast link

Point-to-point link:
It consists of a single sender at one end of
the link and a single receiver at the other end of
the link.
BROADCAST-LINK
•It can have multiple sending and receiving nodes
all connected to the same, single shared broadcast
channel.
•Examples:
Ethernet, Wireless LAN

Multiple Access Problem:
How to coordinate the access of multiple
sending and receiving to a shared broadcast channel.
Multiple access protocol
Multiple access protocol is used to coordinate
access to the link.
Nodes can regulate their transmission onto the
shared broadcast channel by using Multiple
access protocol.
It is used both wired and wireless local area
Text
network and satellite network.
All nodes are capable of transmitting frame,
more than two nodes can transmit frames at the
same time.
If so, the transmitted frames collide at all of the
receivers.
When there is a collision, none of the receiving
nodes can make any sense of any of the frames that
were transmitted;
In a sense, the signals of the colliding frames
become inextricably tangled together.

Thus, all frames involved in the collision are lost,
and the broad cast channel as wasted during the
collision interval.
To rectify this problem Multiple access protocol
was implemented
Various multiple access channels
Classification of MAP
Multiple Access
Protocol

Channel-Partitioning
protocols

Random Access
Protocol
Taking-turns
Protocols
Channel Partitioning Protocols
Techniques used to partition a broadcast channel’s
are,
• Time-division multiplexing
• Frequency-division multiplexing
For example, if the channel send N nodes and that
the transmission rate of the channel is R bps.
TDM divides time into time frames and further
divides each time frame into N time slots.
TEXT
TEXT
TEXT
Each slot time is then assigned to one of the N
nodes.
whenever a node has a packet to send, it transmits
the packet’s bits during its assigned time slot in the
revolving TDM frame.
TDM is appealing because it eliminates collisions and
is perfectly fair : Each node gets a dedicated
transmission rate of R/N bps during each frame time.
DRAWBACKS:
A node is limited to an average rate of R/N bps even
when it is the only node with packets to send.
A node must always wait for its turn in the
transmission sequence-again, even when it is the only
node with frame to send.
A Four-node TDM and FDM example
TDMA: time division multiple access
Example:

Frequency

4 users

time
FDMA: frequency division multiple access

Frequency

time

CDMA: code division multiple access
 Same frequency and time but different codes.

11
FDM
While TDM shares the broadcast channel in time, FDM divides
the R bps channel into different frequencies and assigns each
frequency to one of the nodes.
FDM creates N smaller channels of R/N bps out of the single,
larger R bps channel.

CDMA:
It is Code Division Multiple Access.
While TDM and FDM assign time slot and frequencies
respectively, to the nodes, CDMA assigns a different code to each
node.
RANDOM ACCESS PROTOCOL
When node has packet to send
Sense the channel.
If it is busy, wait for random amount of time and then
retry.
no a prior coordination among nodes.
All nodes use the same time, frequency and code.

Two or more transmitting nodes ➜ “collision”
Random access MAC protocol specifies how to recover
from collisions -> Exponential backoff.

Examples of random access MAC protocols:
CSMA, CSMA/CA, CSMA/CD
Cont…
Most commonly used random access protocols,
ALOHA
CSMA(Carrier Sense Multiple Access Protocols)
Slotted ALOHA
we assume,
All frames consist of exactly L bits.
Time is divided into slots of size L/R seconds
Nodes start to transmit frames only at the beginning of slots
The nodes are synchronized so that each node knows when the
slots begin.
If two or more frames collide in a slot ; then all the nodes detect
the collision event before the slot ends
Let p be a probability ,that is, a number between o and 1.
the operation of slotted ALOHA in each node is.
When the node has a fresh frame to send, it waits until
the beginning of the next slot and transmits the entire
frame in the slot.
If there isn’t a collision, the node has successfully
transmitted its frame and thus need not consider
retransmitting the frame.
If there is a collision, the node detects the collision
before the end of the slot. The node retransmits its frame
in each subsequent slot with probability p until the frame
is transmitted without a collision
Key:
C : Collision
E : Empty set
S : successful slot

Nodes 1,2 and 3 collide in the first slot. Node 2 finally
succeeds in the fourth slot, node 1 n the eight slot, and
node 3 in the ninth slot
Pros and Cons of Slotted ALOHA
Pros
• single active node can continuously transmit at
full rate of channel
• highly decentralized: only slots in nodes need to
be in sync
• Simple protocol

Cons
• collisions, wasting slots
• idle slots
• nodes may be able to detect collision in less than time to
transmit packet
• clock synchronization
ALOHA
It required that all nodes synchronize their
transmissions to start at the beginning of a slot.

When a frame arrives, the node immediately
transmits the frame in it’s the frame in its entirely into
the broadcast channel.
If a transmitted frame experiences a collision with
one or more other transmissions, the node will then
immediately retransmit the frame with probability p.
Otherwise , the node waits for a frame transmission
time
Efficiency is the long-run fraction of successful slots when
there are many nodes, each with many frames to send
Suppose N nodes with many frames to send, each transmits in
slot with probability p
probability that node 1 has success in a slot = p(1-p)N-1
probability that any node has a success = Np(1-p)N-1
For max efficiency with N nodes, find p* that maximizes
Np(1-p)N-1

For many nodes, take limit of Np*(1-p*)N-1 as N goes to
infinity, gives 1/e = .37
Efficiency is 37%, even with optimal p
unsloted Aloha: simpler, no synchronization
when frame first arrives
transmit immediately
collision probability increases:
frame sent at t0 collides with other frames sent in
[t0-1,t0+1]
P(success by given node) = P(node transmits) .
P(no other node transmits in [t0-1,t0] .
P(no other node transmits in [t0,t0+1]
= p . (1-p)N-1 . (1-p)N-1
= p . (1-p)2(N-1)
choosing optimum p and then letting n ->
Efficiency = 1/(2e) = .18

...
Carrier Sense Multiple
Access(CSMA)
Rules of CSMA and CSMA/CD
Carrier sensing
Collision detection

CARRIER SENSING:
A node is listens to the channel before transmitting.
If a frame from another nodes currently being transmitted into
the channel, a node then waits a random amount of time and
then again senses the channel.
If the channel is sensed to be idle, the node then begins frame
transmission.
Otherwise, the node waits another random amount of time and
repeats this process.
COLLISION DETECTION:
A transmitting node listens to the channel while it is
transmitting.
If it detects that another node is transmitting an
interfering frame, it stops transmitting and uses some
protocol to determine when it should next attempt to
transmit
CSMA: listen before transmit. If channel is sensed
busy, defer transmission
Persistent CSMA: retry immediately when
channel becomes idle (this may cause instability)
Non persistent CSMA: retry after random interval
of time
Note: collisions may still exist, since two stations
may sense the channel idle at the same time ( or
better, within a “vulnerable” window = round trip
delay)
In case of collision, the entire packet transmission
time is wasted
Space-time diagram of two CSMA nodes will
colliding transmission
Collisions can still occur:
Propagation delay means
two nodes may not hear
each other’s transmission

Collision:
Entire packet transmission
time wasted

Note:
Role of distance & propagation
delay in determining collision
probability
CSMA CD (Collision Detection)
CSMA/CD: carrier sensing, deferral as in CSMA
– collisions detected within short time
– colliding transmissions aborted, reducing channel
wastage
• collision detection:
– easy in wired LANs: measure signal strengths,
compare transmitted, received signals
– difficult in wireless LANs: receiver shut off
while transmitting
• human analogy: the polite conversationalist
CSMA/CD: like in CSMA
collisions are detected within a few bit times
Transmission is then aborted, reducing the
channel wastage considerably
persistent retransmission is implemented
Collision detection is easy in wired LANs:
can measure signal strength on the line
Collision detection cannot be done in wireless
LANs :
CSMA/CD can approach channel utilization =1 in
LANs:
low ratio of propagation over frame transmission
time
CSMA/CD collision detection
Comparison
Channel partitioning MAC protocols:
– share channel efficiently and fairly at high load
– inefficient at low load: delay in channel access, 1/N
bandwidth allocated even if only 1 active node
Random access MAC protocols
– efficient at low load: single node can fully utilize channel
– high load: collision overhead

Both these types of protocols have been used in sensor
networks depending on the application needs.
29
TAKING -TURNS PROTOCOL
Taking Turns MAC protocols:
(a) Polling: Master “invites” slaves
- Request/Clear overhead, latency, single
point of failure
(b) Token passing: token is passed from one node to
the next
+ Reduce latency, improve fault
tolerance
- elaborate procedures to recover from
lost token
Comparison
Token passing:
Polling:
• master node “invites”  control token passed from one
slave nodes to transmit node to next sequentially.
 token message
in turn
 concerns:
• Request to Send,
 token overhead
Clear to Send msgs
 latency
• concerns:
– polling overhead
– latency
– single point of failure
(master)



single point of failure (token)
LOCAL AREA NETWORKS(LANs)
It is a connection of nodes with in a campus.
The transmission rate of R, of most LANs very high.
Classes of LAN technology:
Token passing technology(including token ring)
FDDI
TOKEN RING LAN:

The N nodes of the LAN are connected in a ring by direct
links.
The topology of the ring defines the token-passing order.
When a node obtains the token and sends a frame, the frame
propagates around the entire ring, there by creating a virtual
broadcast channel.
FDDI
It was designed for geographically larger LANs,
including Metropolitan Area Network(MAN).
It is efficient to let a frame propagate back to the
sending node once the frame has passed the destination
node.
FDDI has the destination node remove the frame
from the ring.
Multiple access protocol
Multiple access protocol

More Related Content

What's hot

Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
 
Ch6 bandwidth utilisation multiplexing and spreading
Ch6 bandwidth utilisation multiplexing and spreadingCh6 bandwidth utilisation multiplexing and spreading
Ch6 bandwidth utilisation multiplexing and spreadingAlban Landry MOUNGALA
 
Wireless local loop
Wireless local loopWireless local loop
Wireless local loopSANJUU7
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networkingHarshita Yadav
 
ALOHA Protocol (in detail)
ALOHA Protocol (in detail)ALOHA Protocol (in detail)
ALOHA Protocol (in detail)Hinal Lunagariya
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Meenakshi Paul
 
Mac protocols of adhoc network
Mac protocols of adhoc networkMac protocols of adhoc network
Mac protocols of adhoc networkshashi712
 
Packet radio protocol
Packet radio protocolPacket radio protocol
Packet radio protocolPriya Kaushal
 
IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11Keshav Maheshwari
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithmBasit Hussain
 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routingDeepak John
 
Congestion on computer network
Congestion on computer networkCongestion on computer network
Congestion on computer networkDisi Dc
 
Dynamic interconnection networks
Dynamic interconnection networksDynamic interconnection networks
Dynamic interconnection networksPrasenjit Dey
 
Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCPselvakumar_b1985
 

What's hot (20)

Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Ch6 bandwidth utilisation multiplexing and spreading
Ch6 bandwidth utilisation multiplexing and spreadingCh6 bandwidth utilisation multiplexing and spreading
Ch6 bandwidth utilisation multiplexing and spreading
 
Wireless local loop
Wireless local loopWireless local loop
Wireless local loop
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networking
 
ALOHA Protocol (in detail)
ALOHA Protocol (in detail)ALOHA Protocol (in detail)
ALOHA Protocol (in detail)
 
Transport layer
Transport layer Transport layer
Transport layer
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
 
Framing Protocols
Framing ProtocolsFraming Protocols
Framing Protocols
 
Mac protocols of adhoc network
Mac protocols of adhoc networkMac protocols of adhoc network
Mac protocols of adhoc network
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Packet radio protocol
Packet radio protocolPacket radio protocol
Packet radio protocol
 
IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
 
Computer networks network layer,routing
Computer networks network layer,routingComputer networks network layer,routing
Computer networks network layer,routing
 
Congestion on computer network
Congestion on computer networkCongestion on computer network
Congestion on computer network
 
Dynamic interconnection networks
Dynamic interconnection networksDynamic interconnection networks
Dynamic interconnection networks
 
Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCP
 
Issues in Data Link Layer
Issues in Data Link LayerIssues in Data Link Layer
Issues in Data Link Layer
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 

Viewers also liked (20)

Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol
 
Frequency Modulation In Data Transmission
Frequency Modulation In Data TransmissionFrequency Modulation In Data Transmission
Frequency Modulation In Data Transmission
 
Buffer Overflow Demo by Saurabh Sharma
Buffer Overflow Demo by Saurabh SharmaBuffer Overflow Demo by Saurabh Sharma
Buffer Overflow Demo by Saurabh Sharma
 
Angle mod for stdnts 25 apr
Angle mod for stdnts  25 aprAngle mod for stdnts  25 apr
Angle mod for stdnts 25 apr
 
تاريخ اولى ثانوى 2014 جزء اول
تاريخ اولى ثانوى 2014  جزء اولتاريخ اولى ثانوى 2014  جزء اول
تاريخ اولى ثانوى 2014 جزء اول
 
Encoding and Decoding
Encoding and DecodingEncoding and Decoding
Encoding and Decoding
 
seminar report on multiple access control protocol submitted by munesh
seminar report on multiple access control protocol submitted by munesh seminar report on multiple access control protocol submitted by munesh
seminar report on multiple access control protocol submitted by munesh
 
The Encoding
The EncodingThe Encoding
The Encoding
 
Hdlc
HdlcHdlc
Hdlc
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
 
Chapter3
Chapter3Chapter3
Chapter3
 
HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)
 
Check sum
Check sumCheck sum
Check sum
 
Farming system
Farming systemFarming system
Farming system
 
Farming
FarmingFarming
Farming
 
Chapter 03 cyclic codes
Chapter 03   cyclic codesChapter 03   cyclic codes
Chapter 03 cyclic codes
 
Ethernet
EthernetEthernet
Ethernet
 
Linear block coding
Linear block codingLinear block coding
Linear block coding
 
Checksum 101
Checksum 101Checksum 101
Checksum 101
 
Encoding/Decoding Stuart Hall
Encoding/Decoding Stuart HallEncoding/Decoding Stuart Hall
Encoding/Decoding Stuart Hall
 

Similar to Multiple access protocol

CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfJoshuaeeda1
 
Jaimin chp-4 - media access sub-layer- 2011 batch
Jaimin   chp-4 - media access sub-layer- 2011 batchJaimin   chp-4 - media access sub-layer- 2011 batch
Jaimin chp-4 - media access sub-layer- 2011 batchJaimin Jani
 
link-medium-access-control.pptx
link-medium-access-control.pptxlink-medium-access-control.pptx
link-medium-access-control.pptxpatrickwang85
 
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...Soumen Santra
 
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA  Space Division Multi Access,Frequ...Mobile computing unit2,SDMA,FDMA,CDMA,TDMA  Space Division Multi Access,Frequ...
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...Pallepati Vasavi
 
Csma protocols
Csma protocolsCsma protocols
Csma protocolsManal Shah
 
MEDIUM-ACCESS CONTROL SUB LAYER.ppt
MEDIUM-ACCESS CONTROL SUB LAYER.pptMEDIUM-ACCESS CONTROL SUB LAYER.ppt
MEDIUM-ACCESS CONTROL SUB LAYER.pptDrTThendralCompSci
 
Medium Access PROTOCOL b yENGR. FAWAD KHAN UET BANNU KP PAKISTAN
Medium Access PROTOCOL b yENGR.  FAWAD KHAN UET BANNU KP PAKISTANMedium Access PROTOCOL b yENGR.  FAWAD KHAN UET BANNU KP PAKISTAN
Medium Access PROTOCOL b yENGR. FAWAD KHAN UET BANNU KP PAKISTANirfan sami
 
UNIT-V Wireless Communication.pdf
UNIT-V Wireless Communication.pdfUNIT-V Wireless Communication.pdf
UNIT-V Wireless Communication.pdfvadasairaju143
 
Multiple access protocols in data communication networks
Multiple access protocols in data communication networksMultiple access protocols in data communication networks
Multiple access protocols in data communication networksNt Arvind
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-nsMayur Garg
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-nsMayur Garg
 
Chapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxChapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxmsohail37
 
MacProtocols2.ppt
MacProtocols2.pptMacProtocols2.ppt
MacProtocols2.ppt15AnasKhan
 

Similar to Multiple access protocol (20)

CN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdfCN R16 -UNIT-4.pdf
CN R16 -UNIT-4.pdf
 
Jaimin chp-4 - media access sub-layer- 2011 batch
Jaimin   chp-4 - media access sub-layer- 2011 batchJaimin   chp-4 - media access sub-layer- 2011 batch
Jaimin chp-4 - media access sub-layer- 2011 batch
 
Mac sub layer
Mac sub layerMac sub layer
Mac sub layer
 
link-medium-access-control.pptx
link-medium-access-control.pptxlink-medium-access-control.pptx
link-medium-access-control.pptx
 
Media Access Control
Media Access ControlMedia Access Control
Media Access Control
 
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
Carrier Sense Multiple Access With Collision Detection (CSMA/CD) Details : Me...
 
MAC
MACMAC
MAC
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA  Space Division Multi Access,Frequ...Mobile computing unit2,SDMA,FDMA,CDMA,TDMA  Space Division Multi Access,Frequ...
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
 
Csma protocols
Csma protocolsCsma protocols
Csma protocols
 
Unit 3 - Data Link Layer - Part B
Unit 3 - Data Link Layer - Part BUnit 3 - Data Link Layer - Part B
Unit 3 - Data Link Layer - Part B
 
MEDIUM-ACCESS CONTROL SUB LAYER.ppt
MEDIUM-ACCESS CONTROL SUB LAYER.pptMEDIUM-ACCESS CONTROL SUB LAYER.ppt
MEDIUM-ACCESS CONTROL SUB LAYER.ppt
 
Medium Access PROTOCOL b yENGR. FAWAD KHAN UET BANNU KP PAKISTAN
Medium Access PROTOCOL b yENGR.  FAWAD KHAN UET BANNU KP PAKISTANMedium Access PROTOCOL b yENGR.  FAWAD KHAN UET BANNU KP PAKISTAN
Medium Access PROTOCOL b yENGR. FAWAD KHAN UET BANNU KP PAKISTAN
 
UNIT-V Wireless Communication.pdf
UNIT-V Wireless Communication.pdfUNIT-V Wireless Communication.pdf
UNIT-V Wireless Communication.pdf
 
Multiple access protocols in data communication networks
Multiple access protocols in data communication networksMultiple access protocols in data communication networks
Multiple access protocols in data communication networks
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
 
16 high speedla-ns
16 high speedla-ns16 high speedla-ns
16 high speedla-ns
 
Chapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptxChapter_03_Data Link Layer and its protocols.pptx
Chapter_03_Data Link Layer and its protocols.pptx
 
MacProtocols2.ppt
MacProtocols2.pptMacProtocols2.ppt
MacProtocols2.ppt
 
Unit 1 mac vsd
Unit 1 mac vsdUnit 1 mac vsd
Unit 1 mac vsd
 

Recently uploaded

Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxAneriPatwari
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 

Recently uploaded (20)

Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptx
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 

Multiple access protocol

  • 1. MULTIPLE ACCESS PROTOCOL PRESENTED BY, J.MERLIN FLORRENCE I M.Sc
  • 2. AGENDA INTORDUCTION TYPES OF NETWORK LINK CHANNEL PARITIONING PROTOCOLS RANDOM ACCESS Slotted ALOHA ALOHA CSMA TAKING-TURNS PROTOCOLS LOCAL AREA NETWORKS
  • 3. TYPES OF NETWORK LINK Network link Point-to-point link Broadcast link Point-to-point link: It consists of a single sender at one end of the link and a single receiver at the other end of the link.
  • 4. BROADCAST-LINK •It can have multiple sending and receiving nodes all connected to the same, single shared broadcast channel. •Examples: Ethernet, Wireless LAN Multiple Access Problem: How to coordinate the access of multiple sending and receiving to a shared broadcast channel.
  • 5. Multiple access protocol Multiple access protocol is used to coordinate access to the link. Nodes can regulate their transmission onto the shared broadcast channel by using Multiple access protocol. It is used both wired and wireless local area Text network and satellite network. All nodes are capable of transmitting frame, more than two nodes can transmit frames at the same time. If so, the transmitted frames collide at all of the receivers.
  • 6. When there is a collision, none of the receiving nodes can make any sense of any of the frames that were transmitted; In a sense, the signals of the colliding frames become inextricably tangled together. Thus, all frames involved in the collision are lost, and the broad cast channel as wasted during the collision interval. To rectify this problem Multiple access protocol was implemented
  • 8. Classification of MAP Multiple Access Protocol Channel-Partitioning protocols Random Access Protocol Taking-turns Protocols
  • 9. Channel Partitioning Protocols Techniques used to partition a broadcast channel’s are, • Time-division multiplexing • Frequency-division multiplexing For example, if the channel send N nodes and that the transmission rate of the channel is R bps. TDM divides time into time frames and further divides each time frame into N time slots. TEXT TEXT TEXT Each slot time is then assigned to one of the N nodes. whenever a node has a packet to send, it transmits the packet’s bits during its assigned time slot in the revolving TDM frame.
  • 10. TDM is appealing because it eliminates collisions and is perfectly fair : Each node gets a dedicated transmission rate of R/N bps during each frame time. DRAWBACKS: A node is limited to an average rate of R/N bps even when it is the only node with packets to send. A node must always wait for its turn in the transmission sequence-again, even when it is the only node with frame to send.
  • 11. A Four-node TDM and FDM example TDMA: time division multiple access Example: Frequency 4 users time FDMA: frequency division multiple access Frequency time CDMA: code division multiple access  Same frequency and time but different codes. 11
  • 12. FDM While TDM shares the broadcast channel in time, FDM divides the R bps channel into different frequencies and assigns each frequency to one of the nodes. FDM creates N smaller channels of R/N bps out of the single, larger R bps channel. CDMA: It is Code Division Multiple Access. While TDM and FDM assign time slot and frequencies respectively, to the nodes, CDMA assigns a different code to each node.
  • 13. RANDOM ACCESS PROTOCOL When node has packet to send Sense the channel. If it is busy, wait for random amount of time and then retry. no a prior coordination among nodes. All nodes use the same time, frequency and code. Two or more transmitting nodes ➜ “collision” Random access MAC protocol specifies how to recover from collisions -> Exponential backoff. Examples of random access MAC protocols: CSMA, CSMA/CA, CSMA/CD
  • 14. Cont… Most commonly used random access protocols, ALOHA CSMA(Carrier Sense Multiple Access Protocols) Slotted ALOHA we assume, All frames consist of exactly L bits. Time is divided into slots of size L/R seconds Nodes start to transmit frames only at the beginning of slots The nodes are synchronized so that each node knows when the slots begin. If two or more frames collide in a slot ; then all the nodes detect the collision event before the slot ends
  • 15. Let p be a probability ,that is, a number between o and 1. the operation of slotted ALOHA in each node is. When the node has a fresh frame to send, it waits until the beginning of the next slot and transmits the entire frame in the slot. If there isn’t a collision, the node has successfully transmitted its frame and thus need not consider retransmitting the frame. If there is a collision, the node detects the collision before the end of the slot. The node retransmits its frame in each subsequent slot with probability p until the frame is transmitted without a collision
  • 16. Key: C : Collision E : Empty set S : successful slot Nodes 1,2 and 3 collide in the first slot. Node 2 finally succeeds in the fourth slot, node 1 n the eight slot, and node 3 in the ninth slot
  • 17. Pros and Cons of Slotted ALOHA Pros • single active node can continuously transmit at full rate of channel • highly decentralized: only slots in nodes need to be in sync • Simple protocol Cons • collisions, wasting slots • idle slots • nodes may be able to detect collision in less than time to transmit packet • clock synchronization
  • 18. ALOHA It required that all nodes synchronize their transmissions to start at the beginning of a slot. When a frame arrives, the node immediately transmits the frame in it’s the frame in its entirely into the broadcast channel. If a transmitted frame experiences a collision with one or more other transmissions, the node will then immediately retransmit the frame with probability p. Otherwise , the node waits for a frame transmission time
  • 19. Efficiency is the long-run fraction of successful slots when there are many nodes, each with many frames to send Suppose N nodes with many frames to send, each transmits in slot with probability p probability that node 1 has success in a slot = p(1-p)N-1 probability that any node has a success = Np(1-p)N-1 For max efficiency with N nodes, find p* that maximizes Np(1-p)N-1 For many nodes, take limit of Np*(1-p*)N-1 as N goes to infinity, gives 1/e = .37 Efficiency is 37%, even with optimal p
  • 20. unsloted Aloha: simpler, no synchronization when frame first arrives transmit immediately collision probability increases: frame sent at t0 collides with other frames sent in [t0-1,t0+1]
  • 21. P(success by given node) = P(node transmits) . P(no other node transmits in [t0-1,t0] . P(no other node transmits in [t0,t0+1] = p . (1-p)N-1 . (1-p)N-1 = p . (1-p)2(N-1) choosing optimum p and then letting n -> Efficiency = 1/(2e) = .18 ...
  • 22. Carrier Sense Multiple Access(CSMA) Rules of CSMA and CSMA/CD Carrier sensing Collision detection CARRIER SENSING: A node is listens to the channel before transmitting. If a frame from another nodes currently being transmitted into the channel, a node then waits a random amount of time and then again senses the channel. If the channel is sensed to be idle, the node then begins frame transmission. Otherwise, the node waits another random amount of time and repeats this process.
  • 23. COLLISION DETECTION: A transmitting node listens to the channel while it is transmitting. If it detects that another node is transmitting an interfering frame, it stops transmitting and uses some protocol to determine when it should next attempt to transmit
  • 24. CSMA: listen before transmit. If channel is sensed busy, defer transmission Persistent CSMA: retry immediately when channel becomes idle (this may cause instability) Non persistent CSMA: retry after random interval of time Note: collisions may still exist, since two stations may sense the channel idle at the same time ( or better, within a “vulnerable” window = round trip delay) In case of collision, the entire packet transmission time is wasted
  • 25. Space-time diagram of two CSMA nodes will colliding transmission Collisions can still occur: Propagation delay means two nodes may not hear each other’s transmission Collision: Entire packet transmission time wasted Note: Role of distance & propagation delay in determining collision probability
  • 26. CSMA CD (Collision Detection) CSMA/CD: carrier sensing, deferral as in CSMA – collisions detected within short time – colliding transmissions aborted, reducing channel wastage • collision detection: – easy in wired LANs: measure signal strengths, compare transmitted, received signals – difficult in wireless LANs: receiver shut off while transmitting • human analogy: the polite conversationalist
  • 27. CSMA/CD: like in CSMA collisions are detected within a few bit times Transmission is then aborted, reducing the channel wastage considerably persistent retransmission is implemented Collision detection is easy in wired LANs: can measure signal strength on the line Collision detection cannot be done in wireless LANs : CSMA/CD can approach channel utilization =1 in LANs: low ratio of propagation over frame transmission time
  • 29. Comparison Channel partitioning MAC protocols: – share channel efficiently and fairly at high load – inefficient at low load: delay in channel access, 1/N bandwidth allocated even if only 1 active node Random access MAC protocols – efficient at low load: single node can fully utilize channel – high load: collision overhead Both these types of protocols have been used in sensor networks depending on the application needs. 29
  • 30. TAKING -TURNS PROTOCOL Taking Turns MAC protocols: (a) Polling: Master “invites” slaves - Request/Clear overhead, latency, single point of failure (b) Token passing: token is passed from one node to the next + Reduce latency, improve fault tolerance - elaborate procedures to recover from lost token
  • 31. Comparison Token passing: Polling: • master node “invites”  control token passed from one slave nodes to transmit node to next sequentially.  token message in turn  concerns: • Request to Send,  token overhead Clear to Send msgs  latency • concerns: – polling overhead – latency – single point of failure (master)  single point of failure (token)
  • 32. LOCAL AREA NETWORKS(LANs) It is a connection of nodes with in a campus. The transmission rate of R, of most LANs very high. Classes of LAN technology: Token passing technology(including token ring) FDDI TOKEN RING LAN: The N nodes of the LAN are connected in a ring by direct links. The topology of the ring defines the token-passing order. When a node obtains the token and sends a frame, the frame propagates around the entire ring, there by creating a virtual broadcast channel.
  • 33. FDDI It was designed for geographically larger LANs, including Metropolitan Area Network(MAN). It is efficient to let a frame propagate back to the sending node once the frame has passed the destination node. FDDI has the destination node remove the frame from the ring.