communications
.--------. medium .----------.
| sender |----------------->| receiver |
`--------' `----------'
These terms often describe distances but may also be used to indicate technologies and protocols. E.g., LAN is now often used as a term meaning a single broadcast domain that is not necessarily limited by physical distance.
(then lower error rates and higher transmission rates, from Kbps to Mbps)
(then, higher transmission rates, to Gbps)
see also
OSI layers - separation of concerns
+-----------------------------+ | 7 /data/ application layer | - user applications +-----------------------------+ | 6 /data/ presentation layer | - encryption, protocol translation +-----------------------------+ | 5 /data/ session layer | - open, maintain, close logical connections +-----------------------------+ | 4 /segments/ transport layer| - end-to-end, reliable communication +-----------------------------+ | 3 /packets/ network layer | - routing of packets using logical addresses +-----------------------------+ | 2 /frames/ data-link layer | - final framing, synchronization, flow control +-----------------------------+ | 1 /bits/ physical layer | - wiring (connector size, # pins), signals +-----------------------------+
sender receiver
+---------+ +---------+
| data | | data |
+---------+ +---------+
frame V frame ^
+--------.---------.---------+ +--------.---------.---------+
| header | payload | trailer | ---------> | header | payload | trailer |
+--------^---------^---------+ +--------^---------^---------+
each layer typically adds/removes another header field
+-----------------------------+
| LLC (logical link control) | - protocol between peer data link layers
+ - - - - - - - - - - - - - - +
| MAC (medium access control) | - decides station access to shared medium
+-----------------------------+ (1) RR (round-robin)
(2) reservation
(3) contention (e.g., CSMA/CD)
name of message unit
+----------+-----------+----------+---------+-----+
| MAC cntl | dest addr | src addr | LLC PDU | CRC |
+----------+-----------+----------+---------+-----+
services services
v | v |
+-----------+ +-----------+
| layer n-1 | <-- protocol for layer n-1 --> | layer n-1 |
+-----------+ +-----------+
| ^ | ^
services services
v | v |
+-----------+ +-----------+
| layer n | <--- protocol for layer n ---> | layer n |
+-----------+ +-----------+
| ^ | ^
services services
|<---sender--->|<----transmission time---->| |
| overhead | ` . ` . |
| | ` . ` . |
| | ` . ` . |
| |<--time of-->|<----transmission time---->|<--receiver-->|
| | flight | overhead |
| | | |
| |<-----------transport latency----------->| |
| |
|<----------------------------total latency---------------------------->|
how stringent are various communication requirements across different applications?
low low jitter
reliability bandwidth delay (variation
in delay)
web access ++ + + _
email ++ - - _
video on demand _ ++ _ ++
telephony _ - ++ ++
++ essential
+ important
- desirable
[LL means link layer; note, however, that in common usage "frame" and "packet" are often used interchangeably]
The terms frame, packet, datagram, message, and segment
are illustrated by the following schematic diagrams:
A. Transmission on connected network:
_______________________________________________
| LL hdr | IP hdr | (data) |
|________|________|_____________________________|
<---------- Frame ----------------------------->
<----------Packet -------------------->
B. Before IP fragmentation or after IP reassembly:
______________________________________
| IP hdr | transport| Application Data |
|________|____hdr___|__________________|
<-------- Datagram ------------------>
<-------- Message ----------->
or, for TCP:
______________________________________
| IP hdr | TCP hdr | Application Data |
|________|__________|__________________|
<-------- Datagram ------------------>
<-------- Segment ----------->
(see also what is a packet?)
mark@cs.clemson.edu