计算机与网络
計算機與網絡
계산궤여망락
CHINA COMPUTER & NETWORK
2014年
22期
58-59,60
,共3页
UDP%重发%可靠传输
UDP%重髮%可靠傳輸
UDP%중발%가고전수
UDP%resending%reliable transmission
UDP通信简单且支持组播,在工程中得到广泛应用,但是传输是不可靠的。为了解决传输可靠性问题,经常采用多数判决机制或应答确认机制,但这些机制都或多或少地增加了程序的复杂性,带来了一些其他的问题,比如延时和不稳定等。针对这一问题,提出了对帧序号进行判决的重发机制,对接口格式及收发双方的程序逻辑进行了简要介绍。经过工程实验验证,该方法简便有效,切实可行。
UDP通信簡單且支持組播,在工程中得到廣汎應用,但是傳輸是不可靠的。為瞭解決傳輸可靠性問題,經常採用多數判決機製或應答確認機製,但這些機製都或多或少地增加瞭程序的複雜性,帶來瞭一些其他的問題,比如延時和不穩定等。針對這一問題,提齣瞭對幀序號進行判決的重髮機製,對接口格式及收髮雙方的程序邏輯進行瞭簡要介紹。經過工程實驗驗證,該方法簡便有效,切實可行。
UDP통신간단차지지조파,재공정중득도엄범응용,단시전수시불가고적。위료해결전수가고성문제,경상채용다수판결궤제혹응답학인궤제,단저사궤제도혹다혹소지증가료정서적복잡성,대래료일사기타적문제,비여연시화불은정등。침대저일문제,제출료대정서호진행판결적중발궤제,대접구격식급수발쌍방적정서라집진행료간요개소。경과공정실험험증,해방법간편유효,절실가행。
The UDP communication is widely used in engineering, it is simple and supports multicasting, but has unreliable transmission. In order to solve the transmission reliability problem, the majority judgment mechanism or the ARQ mechanism is often used, but these mechanisms more or less increase the procedure's complexity, which causes some other problems such as delay and instability. Aiming at this problem, this paper proposes a resending mechanism for judging the frame number, briefly introduces the interface format and the program logic of transmitter and receiver. The engineering experiment results show that this method is simple, effective and feasible.