L19 - U2 - 17 April 2024
L19 - U2 - 17 April 2024
L19 - U2 - 17 April 2024
Queuing theory
Physical Layer
Syllabus
KCS- Apply [L3: Apply] different methodologies, cryptographic and error handling
603.3(CO3) mechanisms to implement a secure, fast, error free and congestion free network.
KCS- Analyze [L4: Analyze] and measure the performance of different network
603.4(CO4) protocols.
Disclaimers
CSMA/CA, Reservation
Controlle
T1/CH12/12.3/ Protocols, Polling, Token
19 d Access Passing 2 CO4
344
Protocol
Revision
CSMA/CD
CSMA/CD
When we come out of the loop, if a collision has not been detected, it
means that transmission is complete; the entire frame is transmitted.
collision.
CSMA/CD – Energy Level
if collided for the ith time, waits 0, 1, …, or 2i-1 slots (at random)
When there is no collision, the station receives one signal: its own
signal.
When there is a collision, the station receives two signals: its own
signal and the signal transmitted by a second station.
In other words, the signal from the second station needs to add a
significant amount of energy to the one created by the first station.
Brainstorming
CSMA/CA
In a wired network, the received signal has almost the same energy
as the sent signal because either the length of the cable is short or
there are repeaters that amplify the energy between the sender and
the receiver.
If after this IFS time, the channel is still idle, the station
can send, but it still needs to wait a time equal to
contention time.
Contention window
Contention window is an amount of time divided into
slots.
A station that is ready to send chooses a random
number of slots as its wait time.
The number of slots in the window changes according to
the binary exponential back-off strategy.
It means that it is set of one slot the first time and then
doubles each time the station cannot detect an idle
channel after the IFS time.
CSMA/CA
Contention window
This is very similar to the p-persistent method except
that a random outcome defines the number of slots
taken by the waiting station.
Acknowledgement
Contention window?
0.5
1-persistent CSMA
0.4
0.3
0.2
Slotted
Aloha Aloha
0.1
0
0 1 2 3 4 5 6 7 8 9
G
Controlled Access
When the primary is ready to receive data, it must ask (poll) each
device in turn if it has anything to send.
Token Passing
In the token-passing method, the stations in a network are
organized in a logical ring.
The current station is the one that is accessing the channel now.
Token Passing
Token Passing
Static
FDMA,
TDMA, and
CDMA
Techniques
Static Channel Allocation
With TDMA the time axis is divided into time slots of a fixed
length.
For example, in a large room with many people, two people can talk in
English if nobody else understands English.
Another two people can talk in Chinese if they are the only ones who
understand Chinese, and so on.
In other words, the common channel, the space of the room in this case,
can easily allow communication between several couples, but in
different languages (codes).
Techniques
Static Channel Allocation
Chip sequences
Techniques
Static Channel Allocation
Solution
The number of sequences needs to be 2m.
We need to choose m = 7
and
N (Number of Stations) = 27 or 128.