← Back to Hub ← 返回主页

Week 3: Business Information 第 3 周:商业信息

Core Concepts 核心概念

1. Media Types and Transmission Requirements (2.1 - 2.3)

  • Audio (Voice): Highly sensitive to delay and jitter, but can tolerate minor packet loss (causes minor audio distortion, but conversation flow is preserved). Uses UDP.
  • Data (Text/Files): High sensitivity to data loss and transmission errors. Requires 100% integrity (1 corrupted bit ruins a file). However, it is tolerant to delays. Uses TCP.
  • Video (Streaming): High bandwidth requirement, sensitive to jitter, but can tolerate small packet losses.

2. Transmission Channels: Simplex, Half-Duplex, and Full-Duplex

  • Simplex Channel: Data transmission is unidirectional (one-way only). Example: Commercial FM radio broadcast, television transmission, traditional monitor displays.
  • Half-Duplex Channel: Bidirectional transmission, but only one direction at a time (alternating). Example: Walkie-talkies.
  • Full-Duplex Channel: Simultaneous bidirectional data transmission. Example: Cell phone voice calls, interactive networking sessions.

3. Performance Measures (2.4)

  • Delay (Latency): Total transit time for data to travel from sender to receiver.
  • Jitter: The variation in packet arrival times (critical for voice/video).
  • Throughput: Total raw bits transmitted per second over a channel.
  • Goodput: The net rate of useful application-level payload delivered (excluding headers and retransmissions).

1. 媒体类型和传输要求 (2.1 - 2.3)

  • 音频(语音):对延迟和抖动高度敏感,但可以容忍少量丢包(导致轻微失真,但能继续对话)。使用 UDP 协议。
  • 数据(文本/文件):对数据丢失和传输错误高度敏感。要求 100% 的完整性(1 个错位比特就会破坏文件),但对延迟有较高的耐受度。使用 TCP 协议。
  • 视频(流媒体):高带宽要求,对抖动敏感,但可以容忍少量的数据包丢失。

2. 传输信道:单工、半双工和全双工

  • 单工信道 (Simplex):数据只能单向传输(单向流动)。示例:商业调频广播、电视发射、传统电脑显示器。
  • 半双工信道 (Half-Duplex):双向传输,但同一时刻只能进行一个方向的传输(交替进行)。示例:对讲机。
  • 全双工信道 (Full-Duplex):同时进行双向数据传输。示例:手机通话、网络交互会话。

3. 性能指标 (2.4)

  • 延迟 (Latency):数据从发送方传输到接收方所需的总时间。
  • 抖动 (Jitter):数据包到达时间的变异性(对于语音和视频至关重要)。
  • 吞吐量 (Throughput):信道上每秒传输的原始总比特数。
  • 有效吞吐量 (Goodput):交付的有用应用层有效载荷的净速率(不包括协议头和重传)。

Concept Visualization: Throughput vs Goodput 概念可视化:吞吐量与有效吞吐量

This animated diagram shows how data flows through a network pipe. The total data is the Throughput, but after subtracting packet headers and retransmission overhead, only the useful payload emerges as Goodput.

此动画图显示了数据如何流经网络管道。总数据量是吞吐量,但在扣除数据包标头和重传开销后,只有有用的有效载荷作为有效吞吐量输出。

Total Input Throughput (Total) Goodput Overhead/Header

Tips 提示

  • Voice Jitter Mitigation: Networks use a jitter buffer at the receiving end to store incoming voice packets briefly before playing them, ensuring a steady, smooth audio stream.
  • Ping Diagnostics: When testing network performance, a high average latency is problematic, but a high standard deviation (jitter) can render interactive voice applications completely unusable.
  • 语音抖动缓解:网络在接收端使用抖动缓冲区短暂存储传入的语音数据包,然后再进行播放,以确保稳定、平滑的音频流。
  • Ping 诊断:测试网络性能时,高平均延迟是一个问题,但高标准差(抖动)可能会导致交互式语音应用完全无法使用。

Practical Exercises & Step-by-Step Guide 实践练习与分步指南

Exercise 1: Ping & Traceroute Latency Analysis 练习 1:Ping 和 Traceroute 延迟分析

Steps to complete:

  1. Open your Command Prompt (cmd) on Windows.
  2. Run the command: ping google.com -n 10. This sends 10 echo request packets.
  3. Examine the summary statistics. Record the Minimum round-trip time, Maximum round-trip time, and Average round-trip time.
  4. Calculate Jitter: Approximate the jitter by subtracting the Minimum latency from the Maximum latency (e.g. Jitter = Max - Min).

完成步骤:

  1. 在 Windows 上打开命令提示符 (cmd)。
  2. 运行命令:ping google.com -n 10。这将发送 10 个回显请求数据包。
  3. 检查汇总统计数据。记录 Minimum(最小)、Maximum(最大)和 Average(平均)往返时间。
  4. 计算抖动:通过从最大延迟中减去最小延迟来估算抖动值(例如 抖动 = 最大值 - 最小值)。

Exercise 2: Throughput vs Goodput Calculation Practice 练习 2:吞吐量与有效吞吐量计算练习

Task: A system transfers a 100 Megabyte (MB) file in 20 seconds. The protocol overhead (headers and error correction retransmissions) accounts for 8% of the total bandwidth used. Calculate:
1. The Goodput (actual useful file speed) in Mbps.
2. The Throughput (total bandwidth utilized) in Mbps.

任务:系统在 20 秒内传输一个 100 兆字节 (MB) 的文件。协议开销(包头和纠错重传)占所用总带宽的 8%。计算:
1. 以 Mbps 为单位的有效吞吐量(实际有用文件传输速度)。
2. 以 Mbps 为单位的吞吐量(利用的总带宽)。

Self-Check Practice Questions 自测练习题

1. Which traffic type is highly sensitive to delay/jitter but tolerates packet loss? 哪种流量类型对延迟/抖动高度敏感,但允许数据包丢失?

2. What is Goodput? 什么是有效吞吐量 (Goodput)?

3. Explain which transmission mode allows simultaneous two-way traffic. 解释哪种传输模式允许同时进行双向通信流量。

4. Explain which mode permits transmission in both directions, but one at a time. 解释哪种模式允许双向传输,但一次只能进行一个方向的传输。

Vocabulary Matching Game 词汇配对游戏

Match the term on the left with its definition on the right. (Click a term, then click its matching definition). 将左侧的术语与右侧的定义进行配对。(点击术语,然后点击匹配的定义)。

Latency
Jitter
Simplex
Half-Duplex
Full-Duplex
Unidirectional data transmission (e.g., radio broadcast, monitor) 单向数据传输(例如:调频广播、电脑显示器)
Variation in packet arrival times, critical for real-time voice 数据包到达时间的变异度,对于实时语音至关重要
Simultaneous bidirectional transmission (e.g., cell phone calls) 同时进行的双向数据传输(例如:手机通话)
Total transit time from sender to receiver 数据从发送方传输到接收方的总时间
Bidirectional transmission but only one direction at a time (e.g. walkie-talkie) 双向传输,但在同一时刻只能单向流动(例如对讲机)