arm-linux環(huán)境下udp協(xié)議的通信應用研究.doc
約5頁DOC格式手機打開展開
arm-linux環(huán)境下udp協(xié)議的通信應用研究,摘要:進行udp協(xié)議通信時,發(fā)送端和接收端的狀態(tài)是相對獨立的,發(fā)送端不與接收端建立連接,而是不停向接收端發(fā)送,為了確保不丟失報文,上位機采取了按固定次數(shù)重發(fā)相同內(nèi)容報文的機制。這種機制雖然可以有效確保報文不丟失,但大量冗余數(shù)據(jù)報被發(fā)送,網(wǎng)絡資源利用率不高。顯然重發(fā)次數(shù)越多,冗余數(shù)據(jù)報越多,效率越低。要想有效保證數(shù)據(jù)報準...
內(nèi)容介紹
此文檔由會員 leany168 發(fā)布
摘要:進行UDP協(xié)議通信時,發(fā)送端和接收端的狀態(tài)是相對獨立的,發(fā)送端不與接收端建立連接,而是不停向接收端發(fā)送,為了確保不丟失報文,上位機采取了按固定次數(shù)重發(fā)相同內(nèi)容報文的機制。這種機制雖然可以有效確保報文不丟失,但大量冗余數(shù)據(jù)報被發(fā)送,網(wǎng)絡資源利用率不高。顯然重發(fā)次數(shù)越多,冗余數(shù)據(jù)報越多,效率越低。要想有效保證數(shù)據(jù)報準確發(fā)送的同時又不產(chǎn)生過多冗余數(shù)據(jù)報,那么重復發(fā)送的次數(shù)的確定就成為問題的關鍵。以下給出一種確定上位機重發(fā)次數(shù)的方法。
關鍵詞:ARM;Linux;交叉編譯環(huán)境;UDP協(xié)議;重發(fā)機制;重發(fā)次數(shù)
中圖分類號: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;交叉編譯環(huán)境;UDP協(xié)議;重發(fā)機制;重發(fā)次數(shù)
中圖分類號: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