基于P2P的嵌入式環(huán)境資源共享技術(shù)研究
本文關(guān)鍵詞: P2P 資源共享 Chord 智能設(shè)備 Android 出處:《北京郵電大學(xué)》2012年碩士論文 論文類型:學(xué)位論文
【摘要】:當(dāng)前P2P技術(shù)己在很多領(lǐng)域獲得應(yīng)用,而其在資源共享和網(wǎng)絡(luò)傳輸?shù)阮I(lǐng)域的應(yīng)用是P2P技術(shù)最早也是研究相對(duì)最為成熟的一個(gè)應(yīng)用,且仍舊是當(dāng)前一個(gè)重要的研究方向。 本文根據(jù)智能終端設(shè)備的應(yīng)用特性,提出了基于P2P的嵌入式環(huán)境資源共享技術(shù)的研究。本文通過對(duì)集中式、分布式和混合式三種P2P網(wǎng)絡(luò)模型進(jìn)行深入研究和學(xué)習(xí),對(duì)比其性能優(yōu)勢(shì)與不足,并依據(jù)實(shí)際應(yīng)用需求,選擇了混合式P2P網(wǎng)絡(luò)架構(gòu)。在設(shè)計(jì)資源查找定位算法時(shí),研究了經(jīng)典Chord算法的相關(guān)原理和技術(shù),提出了針對(duì)本系統(tǒng)網(wǎng)絡(luò)的混合分層Chord算法,該算法將網(wǎng)絡(luò)中的超級(jí)節(jié)點(diǎn)按照經(jīng)典Chord算法組織成Chord環(huán),而普通節(jié)點(diǎn)需要依附于超級(jí)節(jié)點(diǎn),普通節(jié)點(diǎn)在加入網(wǎng)絡(luò)時(shí),其首先按照一定的規(guī)則獲得一個(gè)其能夠依附的超級(jí)節(jié)點(diǎn),由這個(gè)超級(jí)節(jié)點(diǎn)來管理普通節(jié)點(diǎn)在網(wǎng)絡(luò)中的行為,超級(jí)節(jié)點(diǎn)就是普通節(jié)點(diǎn)在Chord網(wǎng)絡(luò)中的一個(gè)代理,一個(gè)超級(jí)節(jié)點(diǎn)可以管理多個(gè)普通節(jié)點(diǎn),但一個(gè)普通節(jié)點(diǎn)只能對(duì)應(yīng)于一個(gè)超級(jí)節(jié)點(diǎn),一個(gè)超級(jí)節(jié)點(diǎn)及其管理的普通節(jié)點(diǎn)共同組成一個(gè)“簇”型結(jié)構(gòu)。超級(jí)節(jié)點(diǎn)可以按照Chord算法進(jìn)行資源的發(fā)布、查找和定位,而普通節(jié)點(diǎn)只能通過其依附的超級(jí)節(jié)點(diǎn)來實(shí)現(xiàn)這些需求。通過這樣設(shè)計(jì)不僅可以獲得較好的網(wǎng)絡(luò)穩(wěn)定性,也可以擴(kuò)大了資源共享的應(yīng)用范圍。 根據(jù)前期的理論研究,使用Java語言開發(fā)了基于Android和Windows XP平臺(tái)的資源共享系統(tǒng),在該系統(tǒng)中,選擇安裝有Windows XP系統(tǒng)的計(jì)算機(jī)作為超級(jí)節(jié)點(diǎn)構(gòu)建起Chord環(huán),而把Android智能手機(jī)等設(shè)備作為普通節(jié)點(diǎn)參與到資源共享系統(tǒng)中來,通過多次仿真和測(cè)試不僅證明了前期理論研究的科學(xué)性同時(shí)也驗(yàn)證了基于該原理所開發(fā)的系統(tǒng)的應(yīng)用可行性,實(shí)現(xiàn)了資源的共享和傳輸功能。
[Abstract]:At present, P2P technology has been applied in many fields, and its application in the fields of resource sharing and network transmission is the earliest and most mature application of P2P technology. And still an important research direction. According to the application characteristics of intelligent terminal equipment, this paper puts forward the research of embedded environment resource sharing technology based on P2P. The distributed and hybrid P2P network models are studied and studied in depth, and their performance advantages and disadvantages are compared, and according to the actual application requirements. The hybrid P2P network architecture is chosen. The principle and technology of classical Chord algorithm are studied in the design of resource lookup and location algorithm. This paper presents a hybrid hierarchical Chord algorithm for the network of the system. The algorithm organizes the super nodes in the network into a Chord ring according to the classical Chord algorithm. The ordinary node needs to be attached to the super node. When the ordinary node joins the network, it first obtains a super node that it can adhere to according to certain rules. This super node manages the behavior of the ordinary node in the network. The super node is an agent of the ordinary node in the Chord network. A super node can manage multiple ordinary nodes. But a common node can only correspond to a super node, and a super node and the ordinary node managed together form a "cluster" structure. The super node can publish resources according to Chord algorithm. The common nodes can only meet these requirements through the supernodes they depend on, and the design can not only obtain better network stability, but also expand the scope of application of resource sharing. According to the previous theoretical research, the resource sharing system based on Android and Windows XP platform is developed by using Java language in this system. Choose a computer that has a Windows XP system installed as a supernode to build the Chord ring. Android smart phone and other devices as common nodes to participate in the resource sharing system. Through many simulations and tests, it not only proves the scientific nature of the previous theoretical research, but also verifies the feasibility of the application of the system developed on the basis of this principle, and realizes the sharing and transferring functions of resources.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP393.02;TP368.1
【參考文獻(xiàn)】
相關(guān)期刊論文 前6條
1 夏昊;王洋;狄增如;樊瑛;;對(duì)北大Maze網(wǎng)基于復(fù)雜網(wǎng)絡(luò)理論的實(shí)證研究[J];北京師范大學(xué)學(xué)報(bào)(自然科學(xué)版);2010年05期
2 李偉章;;P2P技術(shù)與應(yīng)用[J];電信技術(shù);2006年04期
3 李振宇;謝高崗;;基于DHT的P2P系統(tǒng)的負(fù)載均衡算法[J];計(jì)算機(jī)研究與發(fā)展;2006年09期
4 董芳,費(fèi)新元,肖敏;對(duì)等網(wǎng)絡(luò)Chord分布式查找服務(wù)的研究[J];計(jì)算機(jī)應(yīng)用;2003年11期
5 趙森;;基于DHT的Chord算法研究[J];網(wǎng)絡(luò)安全技術(shù)與應(yīng)用;2007年11期
6 金海;廖小飛;;P2P技術(shù)原理及應(yīng)用[J];中興通訊技術(shù);2007年06期
相關(guān)碩士學(xué)位論文 前2條
1 梁達(dá)明;P2P網(wǎng)絡(luò)資源定位模型研究[D];浙江大學(xué);2006年
2 王海艷;基于P2P的文件共享系統(tǒng)[D];吉林大學(xué);2007年
,本文編號(hào):1457629
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1457629.html