天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當前位置:主頁 > 管理論文 > 移動網絡論文 >

基于Kademlia的P2P資源定位研究

發(fā)布時間:2018-02-05 02:15

  本文關鍵詞: P2P數據集成 DHT Kademlia網絡 快表 出處:《山東大學》2014年碩士論文 論文類型:學位論文


【摘要】:P2P技術的誕生給數據集成領域帶來了強大的發(fā)展動力。傳統的集中式數據集成系統具有系統性能依賴服務器這一系統短板,結合P2P和數據集成系統兩者優(yōu)勢而誕生的P2P數據集成系統,能夠克服傳統集中式數據集成系統的這一缺陷,為用戶提供高速精確的數據查詢服務。 在眾多的基于DHT的P2P網絡中,Kademlia網絡作為一種比較成熟且比較高效的協議,得到了廣泛的應用。它的邏輯結構類似數據結構中的二叉樹,清晰而明了,每個節(jié)點根據DHT分配一個獨一無二的節(jié)點ID,對于計算節(jié)點之間的距離,Kademlia網絡采用的獨特的XOR計算方式。通過這種方式,對于資源關鍵字,它定位的時間復雜度是θ(logn)。但是Kademlia網絡并不是完美無缺的,在本文中我們著重要解決的問題包括:Kademlia網絡的邏輯拓撲和物理拓撲不匹配的問題,如何最大限度的減少熱點資源對網絡本身帶來的沖擊,如何在原有的基礎之上進一步提高資源定位的速度和精確度。對于這些問題的深入研究和解決,成為了本文的主要內容。 為了解決這些問題,在本文中,我們對網絡中的節(jié)點ID進行了一系列修改,將節(jié)點的IP地址的網絡號加入到了節(jié)點的ID之中,通過Kademlia特有的計算節(jié)點距離的方式,可以使得網絡在物理拓撲上與邏輯拓撲相匹配。針對我們改進的模型,我們提出在原有的節(jié)點基礎之上增加超級節(jié)點的概念,超級節(jié)點負責管理本局域網的節(jié)點并且擔負路由調控功能。針對熱點資源,我們在節(jié)點的結構中增加了快表來緩解對網絡的沖擊。 首先,對節(jié)點的ID結構進行了改進,將節(jié)點IP地址的網絡號作為ID的高位部分,結合Kademlia固有的XOR計算方式,使得在物理上靠近的節(jié)點在邏輯上也處于相近的位置。 其次,針對改進后網絡的邏輯拓撲結構,為了能夠進一步提高資源查詢的速度和精度,我們提出在原有的基礎上增加超級節(jié)點的概念,超級節(jié)點只在本LAN中發(fā)揮作用,負責掌握本LAN的結構和其中節(jié)點的信息,在路由轉發(fā)過程中超級節(jié)點負責本LAN的路由調控職責。超級節(jié)點機制和改進的節(jié)點ID互相配合,充分調用了網絡中的計算機資源,并且在很大程度上提高了資源定位的速度。 最后,針對P2P網絡中經常出現的熱點資源現象,我們在節(jié)點的結構中加入了新設計的快表,用快表來記錄熱點資源的信息。在快表的幫助之下,一方面提高了節(jié)點對熱點資源的查詢訪問速度,另一方面也降低了短時間內對熱點資源的海量訪問所帶來的對網絡的沖擊,可謂一舉兩得。
[Abstract]:The emergence of P2P technology has brought a powerful impetus to the data integration field. Traditional centralized data integration system has the system performance dependent server, which is a short board of the system. P2P data integration system, which combines the advantages of P2P and data integration system, can overcome the shortcoming of traditional centralized data integration system and provide users with high-speed and accurate data query service. Among many P2P networks based on DHT, Kademlia network is a mature and efficient protocol. Its logical structure is similar to the binary tree in the data structure. Each node is assigned a unique node IDD according to DHT to calculate the distance between nodes. Kademlia network uses a unique XOR computing method. In this way, for resource keywords. The time complexity of the location is 胃 gng, but the Kademlia network is not perfect. In this paper, the important problems we solve include the mismatch between the logical topology and physical topology of the: Kademlia network, and how to minimize the impact of hot resources on the network itself. How to further improve the speed and accuracy of resource location on the basis of the original is the main content of this paper. In order to solve these problems, in this paper, we made a series of changes to the node ID in the network, adding the network number of the node's IP address to the node ID. The network can match the logical topology in physical topology through the unique way of computing node distance in Kademlia. We put forward the concept of adding super nodes to the original nodes. The super nodes are responsible for managing the nodes of the local area network and the routing control function. We have added fast tables to the node structure to mitigate the impact on the network. First of all, the structure of node ID is improved. The network number of node IP address is taken as the high part of ID, and the inherent XOR calculation method of Kademlia is combined. The nodes that are physically close are logically close to each other. Secondly, in order to further improve the speed and accuracy of resource query, we propose the concept of adding super nodes to the improved logical topology of the network. Super nodes only play a role in this LAN and are responsible for mastering the structure of this LAN and the information about the nodes therein. In the process of routing forwarding, the super node is responsible for the LAN routing regulation and control. The super node mechanism and the improved node ID cooperate with each other, which make full use of the computer resources in the network. And to a large extent improve the speed of resource positioning. Finally, in view of the phenomenon of hot resource in P2P network, we add the newly designed fast table to the structure of the node and record the information of the hot resource with the help of the fast table. On the one hand, it improves the query access speed of nodes to hot resources, on the other hand, it also reduces the impact on the network caused by massive access to hot resources in a short time, so it can be said that killing two birds with one stone.
【學位授予單位】:山東大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TP393.02

【參考文獻】

相關期刊論文 前10條

1 王小鑒;;SQL參數化查詢詳解[J];電腦編程技巧與維護;2011年01期

2 郭仁東;;淺析計算機網絡的拓撲結構及其應用[J];電腦知識與技術;2012年31期

3 楊雪梅;董逸生;王永利;錢江波;錢剛;;異構數據源集成中的模式映射技術[J];計算機科學;2006年07期

4 謝瑾;倪瑾;;Kademlia的研究與實現[J];計算機時代;2009年10期

5 胡放明,李俊兵,賀貴明,丁健;對P2P網中發(fā)現機制的研究[J];計算機應用;2004年06期

6 白洛,王元珍;基于訪問模式的數據庫緩沖管理自適應研究[J];計算機應用;2005年12期

7 張昊;戴長華;張,

本文編號:1491826


資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/guanlilunwen/ydhl/1491826.html


Copyright(c)文論論文網All Rights Reserved | 網站地圖 |

版權申明:資料由用戶a270f***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com