摘要
针对多用户使用UDP协议实现大数据量的可靠传输需求,采用事件与多线程技术,提出了一种简单实用的分包与重组方法。根据UDP协议通信的性能和特点,分析了传输数据的分包与重组原理,对分包与重组的程序设计进行了研究。利用在应用层对报文进行重新封装技术,讨论了传输数据合理分包的原则,以及接收方对一系列无序到达的报文正确重组的方法。
This paper proposes a simple and practical method of reliable high capacity communication in UDP protocol for multi-user,analyzes the programs for Data Packet Division and Reassembly,and presents the software architecture which uses both events and multithreads.Based on the capability and performance of UDP Protocol communication,this paper introduces the theory Data Packet Division and Reassembly.A reasonable Data Packet Division principle is discussed for the Packet Reassembly in the Application Layer,and a method for proper reassembly is developed for a series of packets which have arrived out-of-order at the receiver.
出处
《无线电通信技术》
2010年第5期20-22,28,共4页
Radio Communications Technology
关键词
UDP协议
应用层
分包
重组
UDP protocol
application Layer
packet
reassembly