Research of an Improved Inquiry Aleorithrm for P2P Based on Gnutella
- Author
- SunHang
- Advisor
- WangChunZhi , ChenHongWei
- School
- Hubei University of Technology
- Major
- Applied Computer Technology
- Classification
- TP391.3 Retrieval machine
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 25
- Citations
- 0
Abstract
In recent years, P2P has become a very popular technology in the internet field. Itnot only can effectively alleviate the problems such as excessive pressure on thetraditional central server, single-point failure, but also can take full advantage of eachterminal in the network. Therefore, P2P has been widely applied in various areas ofcomputer internet. Gnutella network model, a typical representative of the P2P network,is a pure distributed network. It adopts the completely random flooding search mode,and random transmitting mechanism to spread inquired message. Along with theexpansion of network, these messages will consume much of the treating time of nodes,engulf the network broadband. Processing ability of each node in the network isdifferent, which could result in the overload and congestion of network, and even of thenetwork instability. Considering the feature of the Gnutella network, the creative ideasof this paper are as follows:①Gnutella is small-world model P2P network. For the small-world model network,the resource searching and message transmitting tends to local aggregation. Consideringthe feature, the paper put forward the flooding search algorithm which is based on theidea of LRU. The algorithm takes advantage of the LRU which is frequently used in thepage replacement algorithm, to achieve the network optimization.②Gnutella network is not only a small-world network, but also specially has somefeatures of BA scale-free network. In the BA scale-free network, the node degree andthe average degree of the internet is the important index to measure the Networkrobustness. Therefore, this paper sets up the related data structure and modifies theparameters of simulation experiment, then analyze the Trace document generated by thesimulation. By counting up and analyzing the change of degree and relative indexes inthe internet, it gets the change of the network feature after improving LRU.This paper introduces that install the NS-2(Network Similator, version2)simulation platform in the Linux Redhat9.0operation system, and perform simulationand improve it in the experimental environment integrated Gnutellasim protocol. Afterthe simulation,through the experimental datas generated realizes the statistics andanalysis relative parameters in the network. In theory and simulation experiment, thepaper proves that the algorithm can improve the searching speed and reduce themessage transmitting and redundancy, with certain success rate. In the condition ofreducing the network overhead, it can adopt to the larger network scale, and complexnetwork environment.
Table of contents
Summary 4-5
Abstract 5-9
Chapter 1 Introduction 9-18
Source 1.1 Background and topics thesis 9-10
1.1.1 research background 9-10
1.1.2 topics sources 10
1.2 domestic and foreign research status 10 -15
1.2.1 centralized directory-based P2P network model 10-11
1.2.2 pure P2P network model 11-13
1.2.3 hierarchical P2P network model 13-15
1.3 of this research method contents 15-16
1.4 of this paper arrangements 16-18
Chapter 2 simulation Research Network architecture 18-28
2.1 GNUTELLA protocol architecture 18-22
2.1.1 Gnutella message mechanism 18-19
2.1 .2 Gnutella routing mechanism performance 19-20
2.1.3 Gnutella network 20-21
2.1.4 Gnutella improved architecture 21-22
2.2 NS-2 simulation system 22-25
2.2.1 TclCL mechanism 23-24
2.2.2 NS-2 network components 24 - 25
2.2.3 event scheduler 25
2.3 test environment to build 25-27
2.4 Summary 27-28
improved Chapter 3 Gnutella query algorithm 28-43
3.1 flooding query algorithm and lack of improvement principle 28-31
3.1.1 flooding query 28-29
3.1.2 flooding query algorithm insufficient 29-30
3.1.3 improved flood query the current thinking 30-31
3.2 improved LRU algorithm based on ideas and content 31-35
3.2.1 small world network model 31-32
3.2.2 LRU page replacement algorithm 32 - 33
3.2.3 LRU query algorithm based on the idea of 33-34
3.2.4 LRU -based query algorithm described 34-35
3.3 LRU -based query and flood Pan query contrast 35-38
3.3.1 flooding query model 35-36
3.3.2 improved LRU query model 36-38 <br / > 3.4 simulation Results and Analysis 38-41
3.4.1 simulation process 38-39
3.4.2 experimental Analysis 39-41 <br / > 3.5 Summary 41-43
Chapter 4 of the Gnutella network characterization characteristics 43-53
4.1 BA scale-free networks 43-45
4.1.1 degree and degree distribution 43
4.1.2 BA network topology 43-44
4.1.3 BA scale-free model 44 -45
4.1.4 BA degree distribution model 45
4.2 topology of the network to establish 45-46
4.3 degrees based on statistical process 46-49
4.3.1 Statistics of the data structure algorithm described in 46-48
4.3.2 statistical degrees 48-49
4.3.3 average degree calculation 49
4.4 comparison of experimental data and 49-52
robustness nbsp 4.4.1 network ; 49-50
4.4.2 based Compare the number of interactive 50-51
4.4.3 comparison based on dynamic topology 51-52
4.5 Summary 52-53
5th Chapter summary and Outlook 53-55
5.1 This article summarizes 53-54
5.2 Prospects 54-55
References 55 - 59
Thanks published 59-60
master's degree during the academic 60-61
studying for a master's degree to participate in research projects during 61
Related dissertations
- Research on Impact of Ownership Structure on Debt Maturity Structure
- Topology Construction for P2P Streaming System Based on Complex Network
- Research on Privacy Preservation in Social Network
- The Cognitive Study of Modern Chinese Individual Quantifiers
- Form Characteristic Studies of Urban Rail Transit Network
- Structural Characteristic Studies of Urban Rail Transit Network
- Topology and Task-effect of fMRI-based Brain Functional Networks
- Signless Laplacian Eigenvalue of Graphs
- Deterministic Networks and Synchronizability Optimization in Complex Network
- κ-Restricted Edge Connectivity of Graphs
- Construction and Analysis of Brain Connectivity Based on Graph Theory
- Study on the interaction of enterprise network location, absorptive capacity and innovation performance.
- Knowledge-based Project Team’s Knowledge Creation Process Study
- Research on Tibetan Incense Industry Based on Theory of Labor Division
- The Research on the Relationship of the Evolution of the Financial Structure and Upgrade the Industrial Structure
- The Degree of Urban Land Marketization and Its Influencing Factors in Hubei Province
- Research on Resources Locating Strategy of Peer to Peer Network
- Research of Camera Calibration and3D Reconstruction
- Design and Realization for Parking Management System
- Research on Ecolution Charateristics Wireless Sensor Networks