计算机应用 ›› 2021, Vol. 41 ›› Issue (3): 825-832.DOI: 10.11772/j.issn.1001-9081.2020060948

所属专题: 网络与通信

• 网络与通信 • 上一篇    下一篇

基于前向纠错的自适应网络传输机制

祝永晋1, 尹飞1, 豆龙龙1, 吴昆2, 张志伟3, 钱柱中2   

  1. 1. 江苏方天电力技术有限公司, 南京 211102;
    2. 南京大学 计算机科学与技术系, 南京 210023;
    3. 南京大学金陵学院 信息科学与工程学院, 南京 210089
  • 收稿日期:2020-07-03 修回日期:2020-11-03 出版日期:2021-03-10 发布日期:2021-01-15
  • 通讯作者: 钱柱中
  • 作者简介:祝永晋(1981-),男,江苏南京人,高级工程师,主要研究方向:网络通信、电力信息化;尹飞(1978-),男,安徽马鞍山人,高级工程师,主要研究方向:网络通信;豆龙龙(1988-),男,河南永城人,工程师,主要研究方向:信息化系统;吴昆(1997-),男,安徽六安人,硕士研究生,主要研究方向:数据中心网络;张志伟(1988-),男,江苏靖江人,工程师,硕士,主要研究方向:流媒体、无线网络、计算机视觉;钱柱中(1980-),男,江苏常熟人,副教授,博士,主要研究方向:数据中心网络、分布式系统。
  • 基金资助:
    国家自然科学基金重点项目(61832005)。

Adaptive network transmission mechanism based on forward error correction

ZHU Yongjin1, YIN Fei1, DOU Longlong1, WU Kun2, ZHANG Zhiwei3, QIAN Zhuzhong2   

  1. 1. Jiangsu Fangtian Electric Power Technology Company Limited, Nanjing Jiangsu 211102, China;
    2. Department of Computer Science and Technology, Nanjing University, Nanjing Jiangsu 210023, China;
    3. School of Information Science and Engineering, Nanjing University Jinling College, Nanjing Jiangsu 210089, China
  • Received:2020-07-03 Revised:2020-11-03 Online:2021-03-10 Published:2021-01-15
  • Supported by:
    This work is partially supported by the Key Project of National Natural Science Foundation of China (61832005).

摘要: 针对无线网络中的传输控制协议(TCP)因为丢包触发丢包重传机制而导致传输性能大幅下降的问题,提出了一种基于前向纠错的自适应传输机制(AdaptiveFEC)。该机制通过前向纠错来减少数据段的丢失,以避免触发TCP的丢包重传机制,从而达到提升TCP传输性能的目的。首先,根据当前的网络状况以及当前连接的数据传输特征确定当前时间段中的最优冗余段比例;然后,利用TCP数据段中的数据段序号信息实时进行网络状况的估计,从而根据网络波动来动态更新冗余段比例。大量实验结果说明,在20 ms的往返时延以及5%丢包率的传输环境中,相较于静态的前向纠错机制,AdaptiveFEC能够使得TCP连接的传输速率平均提升42%,当运用在文件下载的应用中时,所提机制能够使得下载速度提升至原来的两倍。

关键词: 纠删码, 前向纠错, 传输控制协议, 机制设计, 网络状况估计

Abstract: Aiming at the performance degradation of transmission performance of Transmission Control Protocol (TCP) in wireless network caused by the loss packet retransmission mechanism triggered by packet loss, an Adaptive transmission mechanism based on Forward Error Correction (AdaptiveFEC) was proposed. In the mechanism, the transmission performance of TCP was improved by the avoidance of triggering TCP loss packet retransmission mechanism, which realized by reducing data segment loss with forward error correction. Firstly, the optimal redundant segment ratio in current time was selected according to the current network status and the data transmission characteristics of the current connection. Then, the network status was estimated by analyzing the data segment sequence number in the TCP data segment, so that the redundant segment ratio was dynamically updated according to the network. Large number of experiment results show that, in the transmission environment with a round-trip delay of 20 ms and a packet loss rate of 5%, AdaptiveFEC can increase the transmission rate of TCP connection by 42% averagely compared to static forward error correction mechanism, and the download speed can be twice as much as the original speed with the proposed mechanism applied to file download applications.

Key words: erasure code, forward error correction, Transmission Control Protocol (TCP), mechanism design, network status estimation

中图分类号: