计算机应用 ›› 2013, Vol. 33 ›› Issue (04): 943-946.DOI: 10.3724/SP.J.1087.2013.00943

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

基于UDP的终端性能自适应协议的设计与实现

王斌1,2,陈红梅2,张保平1   

  1. 1. 南京大学 电子科学与工程学院,南京 210093
    2. 南京金晓电子信息有限公司,南京 210093
  • 收稿日期:2012-11-05 修回日期:2012-12-07 出版日期:2013-04-01 发布日期:2013-04-23
  • 通讯作者: 王斌
  • 作者简介:王斌(1987-),男,河南开封人,硕士研究生,主要研究方向:电路与系统;陈红梅(1968-),女,安徽宿州人,工程师,硕士,主要研究方向:大型情报板系统的设计;张保平(1951-),男,江苏镇江人,副教授,主要研究方向:电路与系统。

Design and implementation of UDP-based terminal adaptive protocol

WANG Bin1,2,3,CHEN Hongmei2,3,ZHANG Baoping4   

  1. 1. School of Electronic Science and Engineering, Nanjing University, Nanjing Jiangsu 210093, China
    2. Nanjing Jinxiao Electronic Information Company Limited, Nanjing Jiangsu 210093, China
    3. Nanjing Jinxiao Electronic Information Company Limited, Nanjing Jiangsu 210093, China
    4. School of Electronic Science and Engineering, Nanjing University, Nanjing Jiangsu 210093, China;
  • Received:2012-11-05 Revised:2012-12-07 Online:2013-04-01 Published:2013-04-23
  • Contact: WANG Bin

摘要: 针对目前数据传输当中接收端性能瓶颈问题,提出一种基于UDP的终端自适应协议设计方法。通过对影响终端性能的若干因素的分析与比较,协议采用前后两次丢包率作为拥塞检测参数,结合有限循环计数器以及进程调度函数等多种速率适配方法,实时有效地平衡收发双方性能差异,并确保数据可靠快速地传输。与传统的空闲ARQ方式相比,平均延迟降低了25%以上。实验结果证实:该协议实时性强,反应迅速,支持大量数据传输,且更适于数据量不大的工程应用。

关键词: UDP协议, 终端性能, 自适应协议, 情报板, 包间延迟

Abstract: Aiming at terminal performance bottleneck among current data transfer process, a UDP-based terminal adaptive protocol was proposed. After the analysis and the comparison of many factors which affected terminal performance, this protocol viewed both the previous packet loss ratio and the current one as congestion detection parameters. It employed various rate adaption methods such as finite loop counter and process scheduling function in order to balance performance differences in real-time and ensured reliable and fast data transfer. Compared with traditional idle Automatic Repeat reQuest (ARQ) method, the average delay is reduced by more than 25%. The experimental results show that the proposed algorithm has the features of strong real-time, quick response, and it is compatible with large amount of data transmission, especially suitable for small amount of data transmission in engineering applications.

Key words: UDP-based protocol, terminal performance, adaptive protocol, intelligence panel, inter-packet delay