arm-linux环境下udp协议的通信应用研究.doc
约5页DOC格式手机打开展开
arm-linux环境下udp协议的通信应用研究,摘要:进行udp协议通信时,发送端和接收端的状态是相对独立的,发送端不与接收端建立连接,而是不停向接收端发送,为了确保不丢失报文,上位机采取了按固定次数重发相同内容报文的机制。这种机制虽然可以有效确保报文不丢失,但大量冗余数据报被发送,网络资源利用率不高。显然重发次数越多,冗余数据报越多,效率越低。要想有效保证数据报准...
内容介绍
此文档由会员 leany168 发布
摘要:进行UDP协议通信时,发送端和接收端的状态是相对独立的,发送端不与接收端建立连接,而是不停向接收端发送,为了确保不丢失报文,上位机采取了按固定次数重发相同内容报文的机制。这种机制虽然可以有效确保报文不丢失,但大量冗余数据报被发送,网络资源利用率不高。显然重发次数越多,冗余数据报越多,效率越低。要想有效保证数据报准确发送的同时又不产生过多冗余数据报,那么重复发送的次数的确定就成为问题的关键。以下给出一种确定上位机重发次数的方法。
关键词:ARM;Linux;交叉编译环境;UDP协议;重发机制;重发次数
中图分类号:TP393文献标识码:A文章编号:1009-3044(2011)13-3001-03
The Application Research of Communicating Based on ARM-Linux Environment and UDP-Protocol
CUI Hao, SHAO Ping-fan
(Wuhan University of Science and Technology, Wuhan 430000, China)
Abstract: The sender and recEiver are relatively independent when communicating under UDP- protocol, the sender resending messages to recEIver times instead of creating a connection. A resend-mechanism that the key-messages were send by upper computer in fixed times, was used in order to ensuring not to lost key-message. Although the resend-mechanism can ensure that the key-message wouldn’t be lose anyway, but abundant of redundancy messages
关键词:ARM;Linux;交叉编译环境;UDP协议;重发机制;重发次数
中图分类号:TP393文献标识码:A文章编号:1009-3044(2011)13-3001-03
The Application Research of Communicating Based on ARM-Linux Environment and UDP-Protocol
CUI Hao, SHAO Ping-fan
(Wuhan University of Science and Technology, Wuhan 430000, China)
Abstract: The sender and recEiver are relatively independent when communicating under UDP- protocol, the sender resending messages to recEIver times instead of creating a connection. A resend-mechanism that the key-messages were send by upper computer in fixed times, was used in order to ensuring not to lost key-message. Although the resend-mechanism can ensure that the key-message wouldn’t be lose anyway, but abundant of redundancy messages