Professional Documents
Culture Documents
1
Message Switching
• Message switching originated with Morse code
telegraphy operators, earlier than telephone.
• Telex service between “teleprinters” using “torn
tape” followed by electronic storage “store and
forward”.
• Each message treated as a separate entity.
• One-way connections set up so that return
direction is not tied up needlessly.
2
Message switching disadvantages
• Variable and indeterminate delays. Occasional
long message on a link blocks it for other, shorter
messages
• Totally unsuitable for conversational voice
services.
• Too slow for interactive computer services that
require response times of ~ 1s
Packet Switching
• Messages (or long files) broken up into fixed
length “packets” and each of these is treated as a
separate entity.
• Packets from different messages are interleaved in
the queue for onward transmission, so long
messages do not block out shorter ones.
• Two types of packet switching: “datagram” and
“virtual circuit”.
3
Datagram
• In datagram packet switching, each packet is
treated as a completely separate entity.
• It may be sent on a different route through the
network from the previous one and/or the next
one, and arrive out of sequence. Connectionless.
• Each packet must carry a header containing source
and destination addresses, message identifier and
sequence number. This is an overhead.
• The message can then be re-assembled at the
receiver.
31/10/2003 CS3271 Communications Engineering 7
Virtual Circuit
• In virtual circuit operation, the same route is
followed by all packets belonging to the same
message. Connection oriented. Now they cannot
arrive out of sequence, so no sequence number is
necessary. The allocation of a virtual circuit to a
message also removes the need for source and
destination addresses on every packet.
• However, virtual circuit needs to be set up by
sending a special packet from source to
destination and back to mark the route before
traffic can flow. A different kind of overhead.
• Use datagram for short messages, virtual circuit
for long ones
31/10/2003 CS3271 Communications Engineering 8
4
Timing diagram
5
Packet Radio Network Architectures
Centralised
Central
control
Repeater
6
Packet Radio Network Architectures
Distributed