# 网络编码协作

**网络编码协作**是一种无线通信技术，中继节点在转发之前将多个用户的数据合并——例如对数据包进行按位异或——从而使一次中继传输同时服务于多个接收方，而非仅一个。它融合了两条研究路线：其一是网络编码，于2000年提出，允许中间节点在转发前将多个接收到的数据包编码为一个编码包；其二是协作中继，即中间节点协助无法直接互通的端点之间的通信。<sup>[1](https://www.jstage.jst.go.jp/article/transcom/E94.B/3/E94.B_3_698/_article/-char/en)</sup><sup> • </sup><sup>[2](https://www.sciencedirect.com/science/article/pii/S1084804512002652)</sup>

| 关键事实 | 详情 |
|---|---|
| 基础 | 网络编码，2000年提出，通过允许中间节点在转发前将多个接收到的数据包编码为一个编码包，对存储转发路由进行了推广<sup>[1](https://www.jstage.jst.go.jp/article/transcom/E94.B/3/E94.B_3_698/_article/-char/en)</sup> |
| 典型场景 | 双向中继信道（TWRC），两个节点通过一个中继交换消息；物理层网络编码（PNC）于2006年首次针对该信道提出<sup>[2](https://www.sciencedirect.com/science/article/pii/S1084804512002652)</sup> |
| 时隙节省 | 在中继器处使用网络编码，交换两个数据包需要三个时隙而非四个；每个端点通过与自身数据包异或来恢复对方的数据包<sup>[3](https://www.itu.int/rec/dologin_pub.asp?id=T-REC-Q.5032-202406-I%21%21PDF-E&lang=f&type=items)</sup> |
| 物理层形式 | PNC利用电磁波的叠加，将中继处接收到的合并信号直接映射为网络编码消息<sup>[4](https://www.nature.com/nature-index/topics/l4/physical-layer-network-coding-strategies-in-wireless-systems)</sup> |
| 实际测试平台 | COPE，在20节点无线网状网络上评估，根据流量模式、拥塞程度和传输协议的不同，吞吐量增益从百分之几到数倍不等<sup>[5](https://ieeexplore.ieee.org/document/4512941/)</sup> |
| 标准化 | ITU-T建议书Q.5032（2024年6月）定义了NCRP，一种面向网络中继器的传输层网络编码协议<sup>[3](https://www.itu.int/rec/dologin_pub.asp?id=T-REC-Q.5032-202406-I%21%21PDF-E&lang=f&type=items)</sup> |

## 中继处的网络编码工作原理

最简单的网络编码是按位异或。中继器从节点N1接收数据包P1，从节点N2接收数据包P2，计算编码包P<sub>NC</sub> = P1 ⊕ P2，并将其广播给两个端点。由于异或运算可逆，节点N1通过P1 ⊕ P<sub>NC</sub>恢复P2，节点N2通过P2 ⊕ P<sub>NC</sub>恢复P1；每个端点已经知道自己发送的数据包，因此一次广播替代了两次单独的重传。<sup>[3](https://www.itu.int/rec/dologin_pub.asp?id=T-REC-Q.5032-202406-I%21%21PDF-E&lang=f&type=items)</sup> 在半双工中继系统中，这将两个数据包的交换从四个时隙缩减为三个时隙，降低了网络负载和传递延迟；中继器和终端节点需要内存缓冲区来保存数据包，直到它们被用于编码或解码。<sup>[3](https://www.itu.int/rec/dologin_pub.asp?id=T-REC-Q.5032-202406-I%21%21PDF-E&lang=f&type=items)</sup>

除异或之外，线性网络编码允许节点在有限域上用系数对数据包进行组合，其研究围绕一个设计问题以及在吞吐量与容量增强、鲁棒性增强、网络层析成像和安全性方面的应用展开。<sup>[1](https://www.jstage.jst.go.jp/article/transcom/E94.B/3/E94.B_3_698/_article/-char/en)</sup>

## 双向中继信道

双向中继信道是网络编码协作研究最为集中的场景。两个终端节点n1和n2无法直接通信，通过中继nR交换信息。在两阶段方案中，两个节点在多址阶段同时向中继发送信号；中继将叠加信号解调为异或结果B<sub>R</sub> = B<sub>1</sub> ⊕ B<sub>2</sub>，并在广播阶段将其广播，随后每个节点通过与自身比特异或来恢复对方的比特。<sup>[6](https://link.springer.com/10.1186/1687-1499-2013-166)</sup>

**中继策略。** 奥尔堡大学通信学教授佩塔尔·波波夫斯基（Petar Popovski）与立命馆大学的四方博之（Hiroyuki Yomo）在2007年的一篇论文中将现有的物理网络编码方案归纳为通用的三步方案和两步方案：三步的解码转发（DF），以及三种两步方案——放大转发（AF）、联合解码转发（JDF）和去噪转发（DNF）。他们发现DNF有潜力提供最佳双向速率，并且对于源-中继链路的某些信噪比配置，JDF可达到与DNF上界相同的最大双向速率。<sup>[7](https://arxiv.org/abs/0707.0459)</sup>

**权衡。** 时隙数量至关重要。对双向中继信道实用PNC方案的比较发现，在若干实际场景中，两时隙PNC方案提供了更高的最大和速率，但和误比特率性能低于四时隙传输方案。<sup>[8](https://www.researchgate.net/publication/224110648_Practical_physical_layer_network_coding_for_two-way_relay_channels_performance_analysis_and_comparison)</sup> 能量比较使选择更加困难：一项对衰落双向中继网络的研究发现，数字网络编码的叠加变体（DNC-Sup）——即在发送前将网络编码消息叠加在较长源消息的其余部分之上——比数字网络编码的时间共享和码字叠加使用的总平均能量都少，且在低要求速率下优于PNC，但在较高速率下则落后。<sup>[9](https://arxiv.org/abs/1406.1140)</sup>

## 物理层网络编码

数字网络编码在中继分别解码每个数据包之后应用异或。物理层网络编码则更进一步：它将并发传输本身视为有用的，利用无线信号的加性特性，使接收机将叠加信号直接映射为用户消息的组合。<sup>[4](https://www.nature.com/nature-index/topics/l4/physical-layer-network-coding-strategies-in-wireless-systems)</sup><sup> • </sup><sup>[10](https://arxiv.org/abs/1907.08983)</sup> 核心策略包括去噪转发——中继将含噪符号组合映射回网络编码消息——和[计算转发](https://www.edgepedia.org/zh/compute-and-forward)——中继解码传输码字的整数组合而非单个消息。<sup>[4](https://www.nature.com/nature-index/topics/l4/physical-layer-network-coding-strategies-in-wireless-systems)</sup>

信道编码与网络编码相互作用。在逐链路信道编码PNC中，中继必须将叠加的信道编码数据包加噪声Y<sub>3</sub> = X<sub>1</sub> + X<sub>2</sub> + W<sub>3</sub>变换为源数据包的网络编码组合S<sub>1</sub> XOR S<sub>2</sub>。<sup>[11](https://arxiv.org/abs/0807.4770)</sup> 联合设计将两者直接结合：在两个源节点使用相同LDPC码的情况下，中继可以从BPSK调制的多址信道上接收到的叠加信号中解码出网络编码码字。<sup>[12](https://www.sciencedirect.com/science/article/abs/pii/S1874490713000037)</sup> 对级联XOR网络码与信道码的迭代解码已被证明在三角拓扑中即使两个源到目的地的距离不同也能实现可靠通信。<sup>[13](https://cir.nii.ac.jp/crid/1363107369129414528)</sup>

**实际障碍。** 同时接收带来了同步问题。中继必须处理从两个终端节点接收到的信号的符号和载波相位不同步，并在检测前进行信道估计。<sup>[14](https://arxiv.org/abs/1105.3416)</sup> 非对称链路是另一个问题：在实际双向中继信道中，两条链路的质量不同，这将容量限制在较弱链路上，而带有PNC的非对称调制方案已被设计用于改善该场景下的传输可靠性。<sup>[6](https://link.springer.com/10.1186/1687-1499-2013-166)</sup>

## 实现与应用

首个基于PNC的双向中继网络实现采用了频域方法FPNC，构建于OFDM之上：XOR映射在每个子载波的OFDM采样上执行而非在时域进行，循环前缀处理符号不同步和多径衰落。在通用软件无线电外设（USRP）平台上实现，仅对802.11a/g OFDM前导码做了适度修改，结果表明符号同步和符号异步FPNC在信道编码和非信道编码操作下具有基本相同的误比特率性能。<sup>[14](https://arxiv.org/abs/1105.3416)</sup>

在网络层，无线网状网络的COPE架构让路由器混合来自不同源的数据包，以增加每次传输的信息含量。它针对单播流量和动态突发流，在20节点测试平台上的评估——无线网络编码的首次测试平台部署——显示吞吐量增益从百分之几到数倍不等，取决于流量模式、拥塞程度和传输协议，且无需修改路由或更高层。<sup>[5](https://ieeexplore.ieee.org/document/4512941/)</sup>

网络编码协作已扩展到整个协议栈和各类网络。MAC协议协调PNC机会：一种基于CSMA的分布式协议使用RTS/CTS帧来检测PNC机会并在多跳无线网络中调度同时传输，因为在此类网络中无法假定集中式完美同步。<sup>[15](https://www.sciencedirect.com/science/article/abs/pii/S1570870523002640)</sup> 在协作自动重传请求（ARQ）网络中，网络编码辅助的MAC协议协调辅助中继并在不损害服务质量的前提下提高能量效率。<sup>[16](https://www.sciencedirect.com/science/article/abs/pii/S1570870512000893)</sup> 已研究的应用包括无线传感器网络——其中中继排序结合有限域网络编码在传输可靠性与能耗和网络寿命之间进行权衡<sup>[17](https://journals.sagepub.com/doi/10.1177/1550147717705550)</sup>——以及蜂窝系统——其中PNC已被应用于多天线基站和中继为单天线移动终端服务时的上行与下行传输联合设计。<sup>[18](https://www.research.ed.ac.uk/en/publications/physical-layer-network-coding-and-precoding-for-the-two-way-relay/)</sup> 综述还将PNC置于5G非正交多址和随机接入网络的背景下。<sup>[10](https://arxiv.org/abs/1907.08983)</sup>

## 标准化

ITU-T建议书Q.5032于2024年6月批准，定义了网络中继器网络编码协议（NCRP），这是一种可运行于传输层、网络层或链路层技术之上的传输层协议。它规定了双向中继配置中中继器的编码和解码过程、数据包格式和信令，并给出了基于LoRa低功耗广域技术的用例，其既定目标是在带有中继器的网络中降低网络负载和数据包传递延迟。<sup>[3](https://www.itu.int/rec/dologin_pub.asp?id=T-REC-Q.5032-202406-I%21%21PDF-E&lang=f&type=items)</sup>

## References

1. [Takahiro Matsuda, Taku Noguchi, Tetsuya Takine (2011). Survey of Network Coding and Its Applications. IEICE Transactions on Communications E94.B(3):698–717.](https://www.jstage.jst.go.jp/article/transcom/E94.B/3/E94.B_3_698/_article/-char/en)
2. [A survey and tutorial of wireless relay network protocols based on network coding, Journal of Network and Computer Applications 36(2):593–610 (2013).](https://www.sciencedirect.com/science/article/pii/S1084804512002652)
3. [Recommendation ITU-T Q.5032 (06/2024) – Network coding protocol for network repeaters, International Telecommunication Union.](https://www.itu.int/rec/dologin_pub.asp?id=T-REC-Q.5032-202406-I%21%21PDF-E&lang=f&type=items)
4. [Physical-Layer Network Coding Strategies in Wireless Systems, Nature Index topic summary.](https://www.nature.com/nature-index/topics/l4/physical-layer-network-coding-strategies-in-wireless-systems)
5. [XORs in the Air: Practical Wireless Network Coding, IEEE/ACM Transactions on Networking 16(3):497–510 (2008).](https://ieeexplore.ieee.org/document/4512941/)
6. [Hao Wei, Baoyu Zheng, Xiaodong Ji (2013). A novel design of physical layer network coding in strong asymmetric two-way relay channels. EURASIP Journal on Wireless Communications and Networking 2013:166.](https://link.springer.com/10.1186/1687-1499-2013-166)
7. [Petar Popovski, Hiroyuki Yomo (2007). Physical Network Coding in Two-Way Wireless Relay Channels. Proc. IEEE ICC 2007; arXiv:0707.0459.](https://arxiv.org/abs/0707.0459)
8. [Raymond H. Y. Louie, Yonghui Li, Branka Vucetic (2010). Practical physical layer network coding for two-way relay channels: performance analysis and comparison. IEEE Transactions on Wireless Communications 9(2):764–777.](https://www.researchgate.net/publication/224110648_Practical_physical_layer_network_coding_for_two-way_relay_channels_performance_analysis_and_comparison)
9. [Zhi Chen, Tengjoon Lim, Mehul Motani (2014). Fading Two-Way Relay Channels: Physical-Layer Versus Digital Network Coding. arXiv:1406.1140.](https://arxiv.org/abs/1406.1140)
10. [Pingping Chen and colleagues (2019). Physical-Layer Network Coding: An Efficient Technique for Wireless Communications. arXiv:1907.08983.](https://arxiv.org/abs/1907.08983)
11. [Channel Coding and Decoding in a Relay System Operated with Physical layer Network Coding. arXiv:0807.4770.](https://arxiv.org/abs/0807.4770)
12. [Kui Xu and colleagues (2013). Joint physical network coding and LDPC decoding for two way wireless relaying. Physical Communication 6:43–47.](https://www.sciencedirect.com/science/article/abs/pii/S1874490713000037)
13. [A study on a cooperative relay using joint network and channel coding in simple triangular network topology, CiNii Research record.](https://cir.nii.ac.jp/crid/1363107369129414528)
14. [Lu Lu, Taotao Wang, Soung Chang Liew, Shengli Zhang (2011). Implementation of Physical-layer Network Coding. arXiv:1105.3416.](https://arxiv.org/abs/1105.3416)
15. [Distributed Physical-layer Network Coding MAC protocol, Ad Hoc Networks 153:103344 (2024).](https://www.sciencedirect.com/science/article/abs/pii/S1570870523002640)
16. [Angelos Antonopoulos and colleagues (2013). Energy efficient network coding-based MAC for cooperative ARQ wireless networks. Ad Hoc Networks 11(1):190–200.](https://www.sciencedirect.com/science/article/abs/pii/S1570870512000893)
17. [Yulun Cheng, Longxiang Yang, Hongbo Zhu (2017). A residual-energy-activated forwarding protocol using relay ordering and finite field network coding for multiple-source multiple-relay wireless sensor networks.](https://journals.sagepub.com/doi/10.1177/1550147717705550)
18. [Physical Layer Network Coding and Precoding for the Two-Way Relay Channel in Cellular Systems, University of Edinburgh Research Explorer.](https://www.research.ed.ac.uk/en/publications/physical-layer-network-coding-and-precoding-for-the-two-way-relay/)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 无线信号处理技术 › Cooperative and relay communications

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/network-coded-cooperation

English original: https://www.edgepedia.org/network-coded-cooperation
