基于UDP的可靠文件傳輸協(xié)議的設(shè)計(jì)與實(shí)現(xiàn)
本文選題:用戶數(shù)據(jù)報(bào)文協(xié)議 + 可靠傳輸; 參考:《西安電子科技大學(xué)》2014年碩士論文
【摘要】:在計(jì)算機(jī)網(wǎng)絡(luò)中最基本的操作是信息的傳輸,在TCP/IP協(xié)議體系結(jié)構(gòu)中,用來完成這一操作的傳輸層協(xié)議有傳輸控制協(xié)議(Transmission Control Protocol, TCP)和用戶數(shù)據(jù)報(bào)文協(xié)議(User Datagram Protocol, UDP)。依據(jù)TCP和UDP其各自的特點(diǎn),它們被應(yīng)用于不同的網(wǎng)絡(luò)應(yīng)用層協(xié)議中。 UDP是一種面向無連接的非可靠網(wǎng)絡(luò)傳輸層協(xié)議,相對于TCP,UDP有著傳輸效率高、占用資源少的優(yōu)點(diǎn),同時(shí)也存在著數(shù)據(jù)包容易丟失、亂序等不足。因此,為了能在可靠傳輸領(lǐng)域充分利用UDP傳輸速率高的優(yōu)點(diǎn),有必要對丟包及亂序的問題進(jìn)行研究和改善。 本論文就基于UDP的可靠傳輸應(yīng)用層協(xié)議的設(shè)計(jì)與實(shí)現(xiàn)進(jìn)行了具體研究。論文首先對與協(xié)議設(shè)計(jì)相關(guān)的理論與技術(shù)基礎(chǔ)進(jìn)行了分析和總結(jié),為協(xié)議的設(shè)計(jì)和實(shí)現(xiàn)打下了基礎(chǔ)。然后,對基于UDP的可靠傳輸協(xié)議的基本原理和各種可靠機(jī)制(確認(rèn)機(jī)制、丟包重發(fā)機(jī)制、錯(cuò)序重排機(jī)制)進(jìn)行了總結(jié)和分析,接著提出了系統(tǒng)的實(shí)現(xiàn)方案并給出了具體細(xì)節(jié),包括數(shù)據(jù)包協(xié)議頭結(jié)構(gòu)分析,數(shù)據(jù)包的類型描述以及通信雙方消息交互過程。論文應(yīng)用本文設(shè)計(jì)的協(xié)議實(shí)現(xiàn)了文件傳輸系統(tǒng)。接著重點(diǎn)對協(xié)議可靠性和高效性進(jìn)行了驗(yàn)證,還對軟件系統(tǒng)進(jìn)行了系統(tǒng)的測試,,包括設(shè)計(jì)測試策略和測試用例,并對每個(gè)用例進(jìn)行測試并記錄測試過程及結(jié)果。最后對整個(gè)軟件系統(tǒng)做了風(fēng)險(xiǎn)評估,并對實(shí)驗(yàn)結(jié)果進(jìn)行了總結(jié)和分析。 論文完成了一個(gè)相對完整的基于UDP的可靠傳輸系統(tǒng),實(shí)驗(yàn)結(jié)果證明了所完成系統(tǒng)的功能性、有效性和健壯性,達(dá)到了論文所預(yù)設(shè)的工作目標(biāo)。
[Abstract]:The most basic operation in computer network is the transmission of information. In the TCP/IP protocol architecture, the transport layer protocols used to accomplish this operation are transmission control protocol transmission Control Protocol, TCP) and user Datagram protocol. According to the characteristics of TCP and UDP, they are applied to different network application layer protocols. UDP is a non-reliable transport layer protocol for connectionless networks, which has the advantages of high transmission efficiency and less resource consumption. Therefore, in order to take full advantage of the high transmission rate of UDP in reliable transmission field, it is necessary to study and improve the problem of packet loss and disorder. In this paper, the design and implementation of reliable transport application layer protocol based on UDP are studied in detail. Firstly, the theoretical and technical foundation related to protocol design is analyzed and summarized, which lays a foundation for the design and implementation of protocol. Then, the basic principle of reliable transmission protocol based on UDP and various reliable mechanisms (confirmation mechanism, packet loss retransmission mechanism, error sequence rearrangement mechanism) are summarized and analyzed, and then the implementation scheme of the system is put forward and the specific details are given. It includes packet protocol header structure analysis, packet type description and message interaction between two communication parties. This paper uses the protocol designed in this paper to realize the file transfer system. Then, the reliability and efficiency of the protocol are verified, and the software system is tested systematically, including the design of test strategy and test cases, and the test process and results of each use case are recorded. Finally, the risk assessment of the whole software system is done, and the experimental results are summarized and analyzed. A relatively complete reliable transmission system based on UDP is completed in this paper. The experimental results show that the system is functional, effective and robust.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.04
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 尹仲琪;彭靜英;黃凱冬;胡勇;沈世科;;時(shí)延測量方法的分析與比較[J];電訊技術(shù);2006年06期
2 王東;陳明;張大方;;一種基于多路復(fù)用的多媒體流TCP友好擁塞控制機(jī)制[J];電子學(xué)報(bào);2006年03期
3 富元;呂建新;;基于UDP的可靠傳輸協(xié)議的研究與實(shí)現(xiàn)[J];光通信研究;2009年05期
4 馬英姿;;IP網(wǎng)網(wǎng)絡(luò)時(shí)延探討[J];北華航天工業(yè)學(xué)院學(xué)報(bào);2006年05期
5 李志強(qiáng);汪晴;徐曉鐵;宋濤;;一種基于跨層設(shè)計(jì)的簡單可靠UDP協(xié)議[J];解放軍理工大學(xué)學(xué)報(bào)(自然科學(xué)版);2009年03期
6 楊媛媛,陳亞光;基于UDP的遠(yuǎn)程醫(yī)療信息傳輸[J];計(jì)算機(jī)工程與應(yīng)用;2002年09期
7 蘆東昕,張華強(qiáng),王陳;基于UDP的可靠數(shù)據(jù)傳遞技術(shù)研究[J];計(jì)算機(jī)工程;2003年22期
8 易發(fā)勝;王焱;夏夢芹;曾家智;;一種基于成組確認(rèn)的滑動窗口協(xié)議改進(jìn)算法[J];計(jì)算機(jī)工程;2006年14期
9 秦楠;鄭應(yīng)平;;基于TCP Vegas與TCP Reno的一種改進(jìn)擁塞控制算法[J];計(jì)算機(jī)工程與科學(xué);2007年11期
10 王海軍,劉彩霞,程東年;一種基于UDP的可靠傳輸協(xié)議分析與研究[J];計(jì)算機(jī)應(yīng)用研究;2005年11期
本文編號:1816240
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1816240.html