32
V. Liberatore
Pervasive Computing
Transport Layer
Design choice
n
TCP or RTP/UDP
Three rules:
n
Real-time data: RTP/UDP
Sensor data
Video, sound, I/O
Control
n
Bulk data: TCP
Log download
Software upgrades
Coarse supervision
n
Middleware rules
E.g., RealAudio over UDP
E.g., HTTP over TCP
Usually, right choice made by
middleware designer
However, bad choices can
propagate
Application
(the control application, e.g., close-lever)
Middleware
(common to multiple applications,
e.g., resource discovery)
Transport
(e.g., TCP, RTP/UDP)
Data Link
(low level communication,
e.g. Ethernet, Infinet, etc.)
Network
(convergence layer: IP)