Data Communication Lecture 12
Data Communication Lecture 12
A Node 1 Node 2
B
processing delay at Node 1
propagation delay
between A
Set-up phase and Node 1
propagation delay
between B
and A
Data
Transfer phase
DATA
Teardown phase
Message Switching
No dedicated path needs to be established between end-nodes.
Source and destination node do not interact in real time. There is no need to
determine the status of the destination node before sending the message.
Each message is an independent entity and carries address information of the
destination. There is no upper limit on the size of the message.
Header Data
The messages are stored at each node before being forwarded to the next node
in the route.
Message switching accept all traffic but offers longer delivery time than circuit
switching. Circuit switching blocks/rejects access traffic.
Packet Switching
Messages are broken into small segments of bit-sequences and they are called
packets. As packets are restricted to a specific size, they can be routed more
rapidly.
Packets have the following structure:
Header Data
Header carries control information (e.g., destination id, source id, message
id, packet id, control info)
Each packet is passed through the network from node to node along some path
(Routing)
At each node the entire packet is received, stored briefly, and then forwarded to
the next node (Store-and-Forward Networks)