Data Flow in Computer Networks
1. Transmission Modes (Direction of Data Flow)
The direction and timing in which data moves between two connected devices is defined by Transmission Modes. There are three primary modes of communication:
2. Detailed Breakdown of Transmission Modes
A. Simplex Mode
- Mechanism: The communication is strictly unidirectional. On a given link, only one device is the designated transmitter (TX), and the other device is the designated receiver (RX).
- Channel Capacity: of the channel capacity is dedicated to transmitting in one fixed direction.
- Advantages: Simple hardware design, lowest cost, no collision or turnaround delay.
- Disadvantages: No mechanism for feedback, acknowledgment, or error correction from the receiver.
- Real-World Examples:
- Keyboard to CPU data transfer.
- Traditional TV and FM radio broadcasting.
- Monitor/Display receiving signals from a graphics card (HDMI/VGA unidirectionally for display data).
B. Half-Duplex Mode
- Mechanism: Data can flow in both directions, but only one direction at a time.
- When Device A is transmitting, Device B must listen (receive). Once transmission completes, the line can turn around so Device B can transmit.
- Channel Capacity: The full capacity of the transmission link is utilized by whichever direction is currently transmitting.
- Turnaround Time: The time required to switch the line direction (hardware delay in transceiver switching).
- Advantages: Allows bidirectional exchange using a single physical channel without splitting frequency bands.
- Disadvantages: Cannot send and receive simultaneously; turnaround delays can reduce overall throughput.
- Real-World Examples:
- Walkie-Talkies (CB Radio): Users press "Push-to-Talk" (PTT) and say "Over" to release the channel.
- Classic Shared Ethernet (Hub-based 10Base-T) using CSMA/CD.
C. Full-Duplex Mode
- Mechanism: Both stations can transmit and receive simultaneously.
- Implementation Methods:
- Dual Physical Links: Separate physical wire pairs for transmission () and reception () (e.g., Cat5e/Cat6 4-pair UTP cable).
- Frequency/Channel Division: Splitting the available channel bandwidth into two separate frequency bands (Frequency Division Duplexing - FDD).
- Echo Cancellation: Advanced DSP techniques separating transmitted and received signals on the same wire simultaneously.
- Channel Capacity: Channel capacity is effectively doubled compared to half-duplex because signals flow concurrently in both directions.
- Advantages: Maximum throughput, zero turnaround delay, immediate acknowledgment.
- Real-World Examples:
- Telephone and Cellular voice calls (both parties can speak and listen at the same time).
- Modern Switched Ethernet (100Base-TX, 1000Base-T, 10GBase-T).
3. Transmission Mode Comparison Table
| Parameter | Simplex | Half-Duplex | Full-Duplex |
|---|---|---|---|
| Direction | Unidirectional | Bidirectional, alternating | Bidirectional, simultaneous |
| Sending/Receiving | One can only send; other can only receive | Both can send & receive, but not together | Both can send & receive at the same time |
| Bandwidth Utilization | Entire bandwidth in one direction | Entire bandwidth in active direction | Shared or doubled bandwidth |
| Turnaround Delay | None | Yes (switching time) | None |
| Cost / Complexity | Lowest | Moderate | Highest |
| Standard Example | Keyboard Monitor | Walkie-Talkie, CSMA/CD | Mobile phone, Switched LAN |
4. Transmission Types: Serial vs. Parallel
Data flow also differs in how binary bits are physically transferred across conductors:
- Parallel Transmission:
- Multiple bits ( bits, typically 8, 16, 32, or 64) are sent simultaneously across separate physical wires.
- Ideal for short distances inside a computer (internal buses, ribbon cables).
- Suffers from Clock Skew and Crosstalk over longer distances.
- Serial Transmission:
- Bits are transmitted sequentially, one bit after another, over a single line.
- Requires parallel-to-serial conversion at sender (e.g., UART) and serial-to-parallel at receiver.
- Dominates long-distance networking (Ethernet, Fiber Optics, USB, PCIe, SATA).
Serial Modes: Asynchronous vs. Synchronous
| Feature | Asynchronous Serial | Synchronous Serial |
|---|---|---|
| Timing | Uses Start (0) and Stop (1) framing bits | Common clock signal shared between TX & RX |
| Gaps | Variable gaps allowed between characters | Continuous stream of bits with no arbitrary gaps |
| Efficiency | Low (overhead of 2-3 extra bits per 8-bit byte) | High (minimal framing overhead, block transfer) |
| Use Case | Low-speed serial interfaces (RS-232, console ports) | High-speed data links (Ethernet, SONET, HDLC) |
Frequently Asked Questions
QWhy has Serial transmission replaced Parallel transmission in high-speed links?
At high frequencies, parallel lines suffer from clock skew (signals arriving at slightly different times due to tiny length differences) and crosstalk (electromagnetic interference between adjacent wires). Serial links avoid skew entirely and can achieve multi-gigabit rates using differential signaling.
QCan a walkie-talkie be considered full-duplex?
No, because it uses a single shared frequency where users must alternate transmitting and receiving (Half-Duplex).
QWhat is the key factor determining channel capacity?
Shannon's Capacity Theorem: , where is bandwidth in Hz and is Signal-to-Noise Ratio.
QDifferentiate Simplex, Half-Duplex and Full-Duplex with examples.
Simplex is one-way only (keyboard to CPU, FM radio). Half-duplex is two-way but alternating (walkie-talkie, hub-based Ethernet). Full-duplex is two-way simultaneous (telephone, switched Ethernet).