# 自动重传请求

自动重传请求（ARQ）是一种差错控制协议，接收端检测到传输错误后，要求发送端重传丢失或损坏的数据包。利用确认和超时来实现可靠交付的一般策略称为ARQ。<sup>[1](https://book.systemsapproach.org/direct/reliable.html)</sup> 一条设计良好的ARQ链路向上层交付的数据包无差错、按序、无重复、无遗漏。<sup>[2](https://mews.sv.cmu.edu/teaching/565-w08/files/topic03notes.pdf)</sup> ARQ是两种基本差错控制方法之一：另一种是前向纠错（FEC），它增加冗余比特，使接收端无需反馈即可纠正错误。当信道误比特率较低时，ARQ优于FEC；误比特率较高时则相反，这促使了混合方案的出现。<sup>[3](https://dl.acm.org/doi/10.1145/1163698.1163701)</sup>

| 关键事实 | 详情 |
|---|---|
| 基本变体 | 停等式、回退N式和选择重传式，以重传策略相区分<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> |
| 差错检测 | 逐帧完整性校验，如强链路层CRC；非零伴随式触发重传请求<sup>[5](https://www.rfc-editor.org/rfc/rfc3366.txt)</sup><sup> • </sup><sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> |
| 吞吐量上界 | 设每帧丢失概率为\( p \)，则分组速率\( \eta \le 1 - p \)<sup>[2](https://mews.sv.cmu.edu/teaching/565-w08/files/topic03notes.pdf)</sup> |
| 混合ARQ | 将FEC与重传相结合；分为I型、II型和III型<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup><sup> • </sup><sup>[6](https://www.3gpp.org/ftp/tsg_ran/Wg1_RL1/TSGR1_02/Docs/pdfs/R1-99061.pdf)</sup> |
| 蜂窝网络应用 | LTE采用N信道停等式HARQ，最多8个进程；5G NR在PDSCH上默认最多支持16个<sup>[7](https://la.mathworks.com/help/lte/ug/dl-sch-harq-modeling.html)</sup><sup> • </sup><sup>[8](https://platform.commit.tu-berlin.de/en/book/cm/chapter/ch14/section/s05)</sup> |
| 互联网应用 | TCP重传是带累积确认的回退N式变体；QUIC丢包恢复在RFC 9002中规定<sup>[9](https://web.mit.edu/modiano/www/6.263/lec3-4.pdf)</sup><sup> • </sup><sup>[10](https://datatracker.ietf.org/doc/html/rfc9002)</sup> |

## 工作原理

ARQ系统围绕检错码构成一个闭环。在经典表述中，一个\( (n,k) \)线性分组码为每条消息附加\( n-k \)个奇偶校验比特；接收端计算伴随式，非零伴随式意味着存在错误。接收端丢弃错误码字，并通过反馈信道请求重传同一码字。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> 从链路层的角度说，ARQ依赖每帧的完整性校验（如强CRC）以及重传过程——重发丢失的帧，即缺失或损坏的帧。<sup>[5](https://www.rfc-editor.org/rfc/rfc3366.txt)</sup>

还有三个要素补全了这个闭环。序列号使接收端能区分重传与新数据，否则ACK丢失或过早超时会产生重复，接收端就会向上层交付两次。<sup>[11](https://cseweb.ucsd.edu/classes/fa23/cse123-a/lectures/123-fa23-l4.pdf)</sup> 超时用于恢复那些丢失得如此彻底、以至于没有任何反馈到达的数据包；一方在超时后重传的协议正是ARQ的典型情形。<sup>[12](https://intronetworks.cs.luc.edu/current1/ComputerNetworks/slidingwindows.html)</sup> 最后，确认（ACK）证实收到，而否定确认（NACK）可以缩短重传延迟，因为发送端不必等待超时，不过NACK无法检测完全丢失的消息。<sup>[13](https://www.ee.columbia.edu/~nick/EE6777/Chapter.03.ARQ.pdf)</sup>

## 实现方式

**停等式。** 发送端发送单帧并等待其确认；NAK触发同一帧的重传，直到ACK到达。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup><sup> • </sup><sup>[5](https://www.rfc-editor.org/rfc/rfc3366.txt)</sup> 1比特交替序列号足以让接收端检测并丢弃因ACK丢失或延迟造成的重复。<sup>[1](https://book.systemsapproach.org/direct/reliable.html)</sup> 代价是空闲：每个往返时间内发送端只能有一个未确认的数据包。<sup>[9](https://web.mit.edu/modiano/www/6.263/lec3-4.pdf)</sup>

**回退N式。** 发送端使用N个数据包的滑动窗口，在第\( i \)个包被确认之前不得发送第\( i+N \)个包。出错时，从丢失点起整个窗口全部重发。接收端不设缓冲区，对连续收到的最高序号帧进行确认（累积确认），数据包按模M编号，且M > N。<sup>[9](https://web.mit.edu/modiano/www/6.263/lec3-4.pdf)</sup><sup> • </sup><sup>[11](https://cseweb.ucsd.edu/classes/fa23/cse123-a/lectures/123-fa23-l4.pdf)</sup>

**选择重传式。** 只重传实际丢失的数据包。接收端接受乱序到达的数据包，最多缓冲W个包，序列号模数须满足\( M \ge 2W \)。<sup>[9](https://web.mit.edu/modiano/www/6.263/lec3-4.pdf)</sup> 滑动窗口是支撑多个未确认数据包、可靠交付、按序交付和流量控制的单一机制，是现代ARQ协议的核心。<sup>[11](https://cseweb.ucsd.edu/classes/fa23/cse123-a/lectures/123-fa23-l4.pdf)</sup>

## 起源

没有哪一篇论文被公认为引入了ARQ；最早有文献记载的是实现与分析。巴尼·赖芬、威廉·G·施密特和霍华德·L·尤德金于1961年在《美国电气工程师学会汇刊第一部分：通信与电子学》上描述了一种早期的电话电路无差错数据传输系统<sup>[14](https://doi.org/10.1109/tce.1961.6373106)</sup>，R. 贝尼斯和A. 弗雷于1964年在《IEEE通信技术汇刊》上发表了重传系统的分析。<sup>[15](https://doi.org/10.1109/tcom.1964.1088975)</sup> IBM二进制同步通信（BISYNC）规程是早期的停等式实现。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> 阿帕网在并发逻辑信道上运行停等式，每条地面链路8个、每条卫星链路16个。<sup>[1](https://book.systemsapproach.org/direct/reliable.html)</sup> 到20世纪70年代，ARQ已在分组交换网络中广泛使用，CCITT的标准化工作产生了HDLC和X.25，二者设想在全双工链路上使用回退N式ARQ，至今仍是分组交换网络的标准。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup>

## 变体

三种基本方案在缓冲与吞吐量之间权衡。停等式因等待每次确认而固有低效，而加长块又会提高块内含错的概率。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> 回退N式避免了接收端缓冲，但会拒绝出错之后的正确帧。选择重传式只重传失败的部分，但需要大量（理想情况下无界）的接收端缓冲。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> 混合SR与GBN重传模式的有限缓冲选择重传方案由M. 米勒和林舒于1981年在《IEEE通信汇刊》上分析<sup>[16](https://doi.org/10.1109/tcom.1981.1095141)</sup>，一种间歇式回退N协议由D. 托斯利于1979年分析。<sup>[17](https://doi.org/10.1109/tcom.1979.1094482)</sup>

**混合ARQ**在ARQ系统内部嵌入FEC子系统：FEC降低重传频率，而在检测到不可纠正错误时重传则保持可靠性。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> 3GPP按重传内容分类：I型丢弃错误块并重传相同的副本，以固定FEC码率独立译码；II型存储错误块并与增量冗余合并；III型类似II型，但每次重传都可自译码。<sup>[6](https://www.3gpp.org/ftp/tsg_ran/Wg1_RL1/TSGR1_02/Docs/pdfs/R1-99061.pdf)</sup> Chase合并——重复发送同一编码包，译码器按信噪比加权合并各副本——由D. 蔡斯在其1985年发表于《IEEE通信汇刊》的码合并论文中提出。<sup>[18](https://doi.org/10.1109/tcom.1985.1096314)</sup> 增量冗余发送渐进式奇偶校验包，使译码器实际以更低码率工作；适用于此的码率兼容凿孔卷积码由J. 哈格瑙尔于1988年在《IEEE通信汇刊》上提出。<sup>[19](https://doi.org/10.1109/26.2763)</sup> 一种改进的选择重传II型混合ARQ系统由王育民和林舒于1983年分析<sup>[20](https://doi.org/10.1109/tcom.1983.1095873)</sup>，而林氏和俞氏于1980年提出的方案——一种有效的卫星通信差错控制方案——在综述文献中被描述为分析最多的II型方案，也是许多后续方案的基础。<sup>[21](https://doi.org/10.1109/tcom.1980.1094668)</sup><sup> • </sup><sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup>

## 应用

**TCP。** TCP的重传是带累积确认的回退N式变体；3个重复ACK后的快速重传使TCP的行为更接近选择重传式ARQ。<sup>[9](https://web.mit.edu/modiano/www/6.263/lec3-4.pdf)</sup>

**蜂窝网络。** LTE采用增量冗余HARQ，使用1/3码率Turbo编码器和传输块CRC，初始编码速率为1/2或3/4，重传同一编码块的不同冗余版本，下行最多8个同时运行的HARQ进程。<sup>[7](https://la.mathworks.com/help/lte/ug/dl-sch-harq-modeling.html)</sup> LTE选择N信道停等式协议，是因为它缓冲需求低、ACK/NACK反馈开销小。<sup>[7](https://la.mathworks.com/help/lte/ug/dl-sch-harq-modeling.html)</sup> 5G NR默认每小区最多支持16个HARQ进程，或视UE能力每小区最多32个HARQ进程（第17版引入）。<sup>[8](https://platform.commit.tu-berlin.de/en/book/cm/chapter/ch14/section/s05)</sup> 第15版保留逐进程停等式、由冗余版本RV0至RV3驱动环形缓冲速率匹配的LDPC母码，以及码块组重传——只重发失败的CBG而非整个传输块。<sup>[8](https://platform.commit.tu-berlin.de/en/book/cm/chapter/ch14/section/s05)</sup>

**卫星链路。** 选择重传式ARQ对卫星信道和长地面信道有显著优势，因为其吞吐量不依赖往返延迟<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup>；A. 萨斯特里于1975年分析了高误码率条件下卫星信道上ARQ的改进。<sup>[22](https://doi.org/10.1109/tcom.1975.1092826)</sup>

## 局限与替代方案

随着信道误码率升高，ARQ吞吐量迅速恶化，因为时间浪费在重传检测出错误的码字上。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> FEC系统无需反馈信道，吞吐量恒等于码率，但不论正确与否都交付译码字，意味着高可靠性需要长而强、译码代价高的码。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> 混合方案减少了无线链路输出端的重传和缓冲时间。<sup>[3](https://dl.acm.org/doi/10.1145/1163698.1163701)</sup>

吞吐量量化了这些权衡。若每帧以概率\( p \)丢失，则分组速率上界为\( \eta \le 1 - p \)。<sup>[2](https://mews.sv.cmu.edu/teaching/565-w08/files/topic03notes.pdf)</sup> 停等式利用率为\( U = \frac{L/R}{L/R + RTT} \)，当传输延迟\( L/R \)相对往返时间很小时利用率很低。<sup>[2](https://mews.sv.cmu.edu/teaching/565-w08/files/topic03notes.pdf)</sup> 对回退N式，每个被接受码字的平均传输次数为\( T_{\mathrm{GBN}} = 1 + N \cdot \frac{1 - P_{c}}{P_{c}} \)，因此吞吐量同时取决于误码率和延迟。<sup>[4](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)</sup> 理想选择重传达到\( \eta = 1 - P_{L} \)，与N无关。<sup>[13](https://www.ee.columbia.edu/~nick/EE6777/Chapter.03.ARQ.pdf)</sup> 稳态下，滑动窗口吞吐量等于\( \mathrm{winsize}/\mathrm{RTT} \)，而\( \mathrm{bandwidth} \cdot \mathrm{RTT} \)积通常是最佳窗口大小。<sup>[12](https://intronetworks.cs.luc.edu/current1/ComputerNetworks/slidingwindows.html)</sup>

**静默失败与延迟累积。** 最具破坏性的反馈错误是NACK被译码为ACK：发送端以为成功，数据块就此丢失，只能由更高层恢复。<sup>[23](https://itecspec.com/spec/3gpp-25-319-8-harq-protocol/)</sup> 过多的链路重传会抬高路径延迟并导致TCP RTO超时；若链路ARQ的持续重传导致某个ACK被丢弃，TCP发送端可能在瞬断结束后仍等待数秒。<sup>[5](https://www.rfc-editor.org/rfc/rfc3366.txt)</sup>

**超时选择。** TCP根据平滑往返时间SRTT和往返时间变化量RTTVAR计算重传超时：\( SRTT = (1-\alpha) \cdot SRTT + \alpha \cdot R \)，\( RTTVAR = (1-\beta) \cdot RTTVAR + \beta \cdot |SRTT - R| \)，\( RTO = SRTT + \max(G, 4 \cdot RTTVAR) \)，其中\( \alpha = 1/8 \)，\( \beta = 1/4 \)，\( G \)为时钟粒度，RTO不足1秒时上调至1秒。<sup>[9](https://web.mit.edu/modiano/www/6.263/lec3-4.pdf)</sup> QUIC的探测超时实现了尾丢包探测、RTO和F-RTO的可靠性功能，其计算基于TCP的RTO周期加上对端的max_ack_delay。<sup>[10](https://datatracker.ietf.org/doc/html/rfc9002)</sup>

## References

1. [Computer Networks: A Systems Approach, 2.5 Reliable Transmission](https://book.systemsapproach.org/direct/reliable.html)
2. [Automatic Repeat reQuest (ARQ), CMU course notes](https://mews.sv.cmu.edu/teaching/565-w08/files/topic03notes.pdf)
3. [Optimal design of hybrid FEC/ARQ schemes for real-time applications in wireless networks (ACM)](https://dl.acm.org/doi/10.1145/1163698.1163701)
4. [Automatic-repeat-request error-control schemes (Lin, Costello & Miller, IEEE Communications Magazine, 1984; repository copy, excerpts merged from the NASA NTRS copy)](https://people.computing.clemson.edu/~jmarty/papers/july2024/996-2-Automatic-repeat-request_errorcontrol_schemes.pdf)
5. [RFC 3366: Advice to Link Designers on Link Layer Protocols](https://www.rfc-editor.org/rfc/rfc3366.txt)
6. [TSGR1#2(99)061: Selection of ARQ scheme for UMTS](https://www.3gpp.org/ftp/tsg_ran/Wg1_RL1/TSGR1_02/Docs/pdfs/R1-99061.pdf)
7. [DL-SCH HARQ Modeling - MATLAB & Simulink](https://la.mathworks.com/help/lte/ug/dl-sch-harq-modeling.html)
8. [Interactive Telecom Tutor: HARQ in 5G NR (ARQ-DMT chapter)](https://platform.commit.tu-berlin.de/en/book/cm/chapter/ch14/section/s05)
9. [The Data Link Layer: ARQ Protocols (MIT 6.263, Eytan Modiano)](https://web.mit.edu/modiano/www/6.263/lec3-4.pdf)
10. [RFC 9002 - QUIC Loss Detection and Congestion Control](https://datatracker.ietf.org/doc/html/rfc9002)
11. [UCSD CSE 123 Lecture 4: Reliable Transmission (Fall 2023)](https://cseweb.ucsd.edu/classes/fa23/cse123-a/lectures/123-fa23-l4.pdf)
12. [An Introduction to Computer Networks, Abstract Sliding Windows](https://intronetworks.cs.luc.edu/current1/ComputerNetworks/slidingwindows.html)
13. [Columbia EE6777 Chapter 3: ARQ Protocols](https://www.ee.columbia.edu/~nick/EE6777/Chapter.03.ARQ.pdf)
14. [Barney Reiffen, William G. Schmidt, Howard L. Yudkin (1961). The design of an error-free data transmission system for telephone circuits. Transactions of the American Institute of Electrical Engineers Part I Communication and Electronics.](https://doi.org/10.1109/tce.1961.6373106)
15. [R. Benice, A. Frey (1964). An Analysis of Retransmission Systems. IEEE Transactions on Communication Technology.](https://doi.org/10.1109/tcom.1964.1088975)
16. [M. Miller, Shu Lin (1981). The Analysis of Some Selective-Repeat ARQ Schemes with Finite Receiver Buffer. IEEE Transactions on Communications.](https://doi.org/10.1109/tcom.1981.1095141)
17. [D. Towsley (1979). The Stutter Go Back-N ARQ Protocol. IEEE Transactions on Communications.](https://doi.org/10.1109/tcom.1979.1094482)
18. [D. Chase (1985). Code Combining--A Maximum-Likelihood Decoding Approach for Combining an Arbitrary Number of Noisy Packets. IEEE Transactions on Communications.](https://doi.org/10.1109/tcom.1985.1096314)
19. [J. Hagenauer (1988). Rate-compatible punctured convolutional codes (RCPC codes) and their applications. IEEE Transactions on Communications.](https://doi.org/10.1109/26.2763)
20. [Yu-Ming Wang, Shu Lin (1983). A Modified Selective-Repeat Type-II Hybrid ARQ System and Its Performance Analysis. IEEE Transactions on Communications.](https://doi.org/10.1109/tcom.1983.1095873)
21. [Shu Lin, P. Yu (1980). An Effective Error Control Scheme for Satellite Communications. IEEE Transactions on Communications.](https://doi.org/10.1109/tcom.1980.1094668)
22. [A. Sastry (1975). Improving Automatic Repeat-Request (ARQ) Performance on Satellite Channels Under High Error Rate Conditions. IEEE Transactions on Communications.](https://doi.org/10.1109/tcom.1975.1092826)
23. [3GPP TS 25.319 §8 HARQ protocol (TechSpec)](https://itecspec.com/spec/3gpp-25-319-8-harq-protocol/)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026; Oct 25, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Networking fundamentals and architecture

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/automatic-repeat-request

English original: https://www.edgepedia.org/automatic-repeat-request
