Cambridge A-Level Computer Science 9618 – Networks: Bit Streaming
2.1 Networks – Bit Streaming
What is Bit Streaming?
Bit streaming is the continuous transmission of a sequence of bits over a communication medium. Unlike packet‑switched transmission, where data is divided into discrete packets, streaming sends data as a steady flow, which is essential for real‑time applications such as audio, video and online gaming.
Why Use Streaming?
Low latency – data is processed as soon as it arrives.
Predictable bandwidth usage – the data rate is constant.
Simplifies synchronization for time‑sensitive media.
Serial vs Parallel Transmission
In networking, bits are usually sent serially over a single channel, but the concept of parallel transmission is useful for understanding internal bus architectures.
Aspect
Serial Transmission
Parallel Transmission
Number of wires
1 (plus ground)
Multiple (e.g., 8, 16, 32)
Typical use
Network links, USB, Ethernet
CPU data buses, internal memory interfaces
Signal integrity
Less prone to crosstalk, easier to maintain over long distances
Higher crosstalk, limited to short distances
Maximum speed (practical)
Up to several gigabits per second (Gbps)
Limited by bus width and clock rate
Key Parameters of a Bit Stream
Bit Rate (R): Number of bits transmitted per second, measured in bits per second (bps). \$R = \frac{N}{T}\$ where \$N\$ is the number of bits and \$T\$ is the transmission time in seconds.
Bandwidth (B): The range of frequencies a channel can carry. For a binary signal, the Nyquist formula gives the maximum bit rate: \$R{\max}=2B\log2 M\$ where \$M\$ is the number of discrete signal levels.
Latency (L): Time taken for a bit to travel from source to destination, often expressed in milliseconds (ms).
Jitter: Variation in latency, which can affect the quality of streamed media.
Encoding Schemes for Streaming
Encoding converts digital data into signals suitable for the transmission medium. Common schemes include:
NRZ (Non‑Return‑to‑Zero) – simple, but suffers from baseline wander.
Manchester Encoding – each bit contains a transition, providing clock recovery.
8b/10b Encoding – maps 8 data bits to 10 transmitted bits, ensuring DC balance and enough transitions.
Error Detection and Correction in Streams
Because streaming is continuous, errors must be detected and, where possible, corrected without stopping the flow.
Parity bits – simple detection, no correction.
CRC (Cyclic Redundancy Check) – appended to each frame of the stream.
Forward Error Correction (FEC) – e.g., Reed‑Solomon codes, allow reconstruction of lost bits.
Example: Calculating Required Bandwidth for \cdot ideo Streaming
Suppose a video stream has the following specifications:
After compression (e.g., using H.264) the effective bitrate might be reduced to 5 Mbps. The required channel bandwidth must therefore support at least this rate, plus overhead for error correction and protocol headers.
Practical Considerations for Real‑World Streaming
Choose an appropriate encoding scheme to balance complexity and robustness.
Implement buffering at the receiver to compensate for jitter and occasional packet loss.
Use adaptive bitrate streaming (ABR) to adjust the stream quality based on current network conditions.
Monitor latency and jitter to maintain quality of service (QoS) for interactive applications.
Suggested diagram: A timeline showing a continuous bit stream with markers for start‑of‑frame, data bits, CRC, and end‑of‑frame, illustrating how framing works in streaming protocols.
Summary
Bit streaming is the backbone of real‑time network services. Understanding the relationship between bit rate, bandwidth, latency, and encoding allows students to design and evaluate networks that can reliably deliver audio, video and interactive data. Mastery of these concepts is essential for the Cambridge A‑Level Computer Science examination.