📚 IGCSE Computer Science: Data Transmission Types and Methods Explained | IGCSE计算机:数据传输类型与方法详解
Data transmission is the process of sending data from one device to another. In the CIE IGCSE Computer Science syllabus, understanding how data moves — whether in parallel or serial form, synchronously or asynchronously, and how errors are detected — is essential for exam success.
数据传输是将数据从一个设备发送到另一个设备的过程。在 CIE IGCSE 计算机科学考纲中,理解数据如何移动——无论是并行还是串行、同步还是异步,以及如何检测错误——是考试取得好成绩的关键。
1. Parallel Data Transmission | 并行数据传输
Parallel transmission sends multiple bits simultaneously over multiple separate wires or channels. Each bit travels along its own dedicated line, which means that an 8-bit unit of data can be transmitted in a single clock cycle using 8 separate wires.
并行传输通过多条独立的导线或通道同时发送多个比特。每个比特沿着自己专用的线路传输,这意味着一个 8 位的数据单元可以在一个时钟周期内通过 8 条独立的导线完成传输。
-
Each wire carries one bit at a time.
每条导线在同一时刻承载一个比特。
-
All bits are transmitted simultaneously.
所有比特同时发送。
-
Used for short distances, such as inside a computer (system bus) or connecting a printer.
适用于短距离传输,例如计算机内部(系统总线)或连接打印机。
8 bits transmitted at the same time = 1 byte per clock cycle
8 个比特同时传输 = 每个时钟周期 1 个字节
2. Serial Data Transmission | 串行数据传输
Serial transmission sends data one bit at a time over a single communication channel. The bits are sent sequentially, one after another, along a single wire or optical fibre.
串行传输通过单一通信信道逐比特发送数据。比特按照顺序,一个接一个地沿单条导线或光纤传输。
-
Only one bit is sent at a time.
一次只发送一个比特。
-
Requires only one data channel (plus a ground line).
只需要一条数据通道(外加一条接地线)。
-
Used for long-distance communication, such as USB, Ethernet, and Wi-Fi.
用于远距离通信,例如 USB、以太网和 Wi-Fi。
Despite being slower in theory, serial transmission is preferred for long distances because it avoids the problems of signal skew and crosstalk that affect parallel transmission over extended cables.
尽管理论上速度较慢,但串行传输在长距离下更受青睐,因为它避免了信号偏移和串扰——这些正是并行传输在长电缆上遇到的典型问题。
3. Synchronous Transmission | 同步传输
Synchronous transmission sends data as a continuous stream of bits, synchronised by a shared clock signal. The sender and receiver operate at the same clock rate, so no start or stop bits are needed.
同步传输以连续的比特流发送数据,通过共享的时钟信号进行同步。发送方和接收方以相同的时钟速率工作,因此无需起始位或停止位。
-
Data is transmitted in blocks (frames).
数据以块(帧)为单位传输。
-
Time gaps between bytes are not present.
字节之间没有时间间隔。
-
Efficient for high-speed, large-volume transfers.
适合高速、大容量传输,效率高。
Clock signal → sender and receiver stay perfectly in phase
时钟信号 → 发送方与接收方保持完全同步
Synchronous transmission is commonly used in applications where timing accuracy matters, such as streaming video or connecting a computer to a fast local network.
同步传输常用于时序精度要求高的应用,例如视频流媒体或计算机连接高速局域网。
4. Asynchronous Transmission | 异步传输
Asynchronous transmission sends data byte by byte, with each byte wrapped inside control bits. A start bit marks the beginning of a byte, and one or two stop bits mark the end.
异步传输逐字节发送数据,每个字节被包裹在控制位中。一个起始位标记字节的开始,一个或两个停止位标记字节的结束。
-
No shared clock signal is required.
不需要共享时钟信号。
-
Each byte is self-contained and independently transmitted.
每个字节是独立的,可单独传输。
-
Used for low-speed, irregular data transfer, such as keyboard input.
适用于低速、不规则的数据传输,例如键盘输入。
A parity bit may also be included for error checking. The main disadvantage is that the overhead of start/stop bits reduces the useful data rate.
还可以包含一个奇偶校验位用于错误检测。其主要缺点是起始位/停止位的开销降低了有效数据传输速率。
5. Parallel vs Serial — Key Comparisons | 并行与串行——关键对比
Students must be able to compare these two transmission methods and justify which one to use in different scenarios.
学生必须能够比较这两种传输方式,并说明在不同场景下应选择哪一种。
| Feature / 特征 | Parallel / 并行 | Serial / 串行 |
| Bits sent at once / 一次发送比特数 | Multiple (e.g. 8, 16) / 多个(例如 8、16) | One / 一个 |
| Number of wires / 导线数量 | Many (one per bit) / 多条(每比特一条) | One single data line / 一条数据线 |
| Speed over distance / 远距离速度 | Limited by skew and crosstalk / 受偏移与串扰限制 | Faster and more reliable / 更快、更可靠 |
| Typical use / 典型用途 | Internal computer bus / 计算机内部总线 | USB, Ethernet, Wi-Fi / USB、以太网、Wi-Fi |
6. Data Packets and Packet Switching | 数据包与分组交换
Data packets are small chunks of data that travel independently across a network. Each packet contains the destination address, the source address, a sequence number, and the actual data payload.
数据包是独立在网络中传输的小块数据。每个数据包包含目的地址、源地址、序号和实际的数据负载。
-
Packet header: control information such as addresses and sequence numbers.
数据包头:包含地址和序号等控制信息。
-
Payload: the actual data to be carried.
负载:要传输的实际数据。
-
Packets may take different routes to the destination.
数据包可能沿着不同路径到达目的地。
Header (destination + source + sequence) + Payload = Packet
包头(目的地址 + 源地址 + 序号)+ 负载 = 数据包
At the receiving end, packets are reordered based on their sequence numbers, and any missing packets can be requested again. This method is called packet switching and is the foundation of the Internet.
在接收端,数据包根据序号重新排序,缺失的数据包可被请求重发。这种方法称为分组交换(包交换),是互联网的基础。
7. USB — Universal Serial Bus | USB——通用串行总线
The Universal Serial Bus (USB) is a standard interface used to connect peripheral devices to a computer. Despite the word “Serial” in its name, USB supports both serial transmission and other advanced features.
通用串行总线(USB)是用于将外围设备连接到计算机的标准接口。尽管名称中含有“Serial(串行)”,USB 不仅仅支持串行传输,还具备许多高级特性。
-
USB 2.0 → data rate up to 480 Mbps.
USB 2.0 → 数据传输速率最高 480 Mbps。
-
USB 3.0 → data rate up to 5 Gbps.
USB 3.0 → 数据传输速率最高 5 Gbps。
-
USB uses four wires: power, ground, and two data lines (D+ and D-).
USB 使用四根导线:电源、地线,以及两条数据线(D+ 和 D-)。
USB supports hot-swapping (plugging and unplugging without turning off the computer) and provides power to connected devices.
USB 支持热插拔(无需关机即可插拔设备),并能向连接的设备供电。
8. Error Detection Methods | 错误检测方法
Errors can occur during transmission due to noise, interference, or signal degradation. Several methods exist to detect these errors.
在传输过程中,由于噪声、干扰或信号衰减,可能会产生错误。有多种方法可以检测这些错误。
Parity Check / 奇偶校验
-
Even parity: the number of 1s in the data (including the parity bit) must be even.
偶校验:数据中 1 的个数(含校验位)必须为偶数。
-
Odd parity: the number of 1s must be odd.
奇校验:1 的个数必须为奇数。
Checksum / 校验和
-
A calculated value is sent with the data; the receiver recalculates and compares.
发送方随数据发送一个计算值;接收方重新计算并比较。
CRC (Cyclic Redundancy Check) / 循环冗余校验
-
Uses polynomial division to generate a remainder (check value) appended to data.
使用多项式除法生成余数(校验值)附加在数据后面。
CRC is far more reliable than parity checking and is widely used in network protocols.
CRC 比奇偶校验可靠得多,广泛应用于网络协议中。
9. Automatic Repeat reQuest (ARQ) | 自动重传请求(ARQ)
ARQ is an error control protocol that combines error detection with retransmission. If the receiver detects an error, it discards the corrupted packet and sends a request to the sender to retransmit the data.
ARQ 是一种将错误检测与重传结合的错误控制协议。如果接收方检测到错误,它会丢弃损坏的数据包,并向发送方发出重传请求。
-
ACK (acknowledgement): receiver confirms that data was received correctly.
ACK(确认):接收方确认数据接收正确。
-
NAK (negative acknowledgement): receiver requests retransmission.
NAK(否定确认):接收方请求重发。
Timeout is also used: if the sender does not receive an ACK within a set time, it automatically retransmits the data.
同时使用超时机制:如果发送方在设定时间内未收到 ACK,它会自动重传数据。
10. Data Compression for Transmission | 传输中的数据压缩
Compression reduces the amount of data that must be transmitted, saving bandwidth and time. Two main types exist.
压缩减少了必须传输的数据量,节省带宽和时间。主要有两种类型。
Lossless Compression / 无损压缩
-
No data is lost; the original can be perfectly reconstructed.
不丢失任何数据;原始数据可以被完美重建。
-
Example: Run-Length Encoding (RLE) — replacing repeated characters with a count.
例如:游程编码(RLE)——用计数值替代重复字符。
Lossy Compression / 有损压缩
-
Some data is permanently removed to achieve higher compression ratios.
永久移除部分数据以获得更高的压缩比。
-
Example: MP3 audio, JPEG images.
例如:MP3 音频、JPEG 图像。
Lossy compression is suitable for multimedia files where small quality loss is acceptable; lossless compression is required for text or program files where accuracy is critical.
有损压缩适用于质量损失可接受的多媒体文件;无损压缩则用于对准确性要求极高的文本或程序文件。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导