A Research into Key Problems in Designing eMule System Client

Author
ZhangWenBo
Advisor
WangShuRong , XieJunPing
School
Xi'an Technological University
Major
Computer technology
Classification
TP393.02 Computer network architecture and design
Degree
Master's thesis
Year
2011
Downloads
23
Citations
1

Request the full text

Abstract

eMule is a P2P sharing file system, which supports two kinds of overlay networksystems, ED2K and Kademlia, and has a large number of users. However, it was developed in the open source way. Therefore, for a long time, it lacks effective designing documents, which hinders relevant application developments based on the system platform. This paper did researches into the designing method and implementation technology of ED2K network in eMule system client software, briefly introduced the systematic structure of eMule system, and systematically analyzed the basic mechanisms and the main clue of eMule system client. Based on the static analysis of eMule source code and combined with dynamic debugging means, the paper made an in-depth analysis of infrastructure framework of eMule client network communications. On this basis, according to the protocol packet bearing way and the node types of interaction, and four aspects in sub client and server TCP communications, the client and server UDP communication, the client and the client TCP communications, the client and the client UDP communication, the paper focuses on the eMule client’s processing of protocol packets, centering on the protocol interactive sequence of eMule client and other protocol nodes.Centering on the interaction of eMule network protocol nodes, this paper puts forward the analysis framework. It models reversely on the source code of eMule client. According to the main implementation clues and roles in implementing, the paper identifies the main class abstract in designing, analyzes the structure design and implementing method of eMule client network communication infrastructure framework, obtains a complete protocol interaction sequence between protocol nodes in eMule network, outlines the main flow in processing protocol packets by eMule client, and presents the implementing methods of related key steps. The work as part of "A Research into Key Problems of P2P technology" which is a hospital-level research project of Baoji University of Arts and Sciences, solved the problem of lack of effective designing documents in eMule to some extent, and can be used to guide the relevant application developments based on eMule platform and improvements of eMule itself; solved the problem that students can not be effectively trained to obtain engineering capabilities because of lack of a real system, and completed the basic work of the establishment of the teaching and experimental platform which is based on the eMule system.

Table of contents

Summary 3-4 Abstract 4-8 1 Introduction 8-13 1.1 Background 8-9 <br / > 1.2 Current Situation in the field of domestic and 9-11 1.2.1 the first generation of file sharing peer to peer systems 9-10 1.2.2 DHT-based peer to peer file sharing systems meaning 10-11 1.3 research topic contents 11-12 1.4 research topic 12-13 2 eMule system architecture 13-19 2.1 Overview 13-14 2.2 The basic mechanism 14-15 2.2.1 client identity 14 2.2.2 file block 14 2.2.3 communication 14-15 2.2.4 credit system 15 <br / > 2.3 source code structure 15-16 2.4 overall process 16-19 2.4.1 typical application scenarios 16 2.4.2 main global object 16-18 2.4.3 initialization process 18-19 3 eMule network infrastructure analysis 19-29 3.1 network communication Framework class hierarchy 19-20 3.2 CAsyncSocketEx class 20-25 3.2.1 basic communications services 20-21 3.2.2 distribution network events framework 21-24 3.2.3 socket hierarchy 24-25 3.3 CEMSocket class 25-26 3.4 actual use The main communication class 26-28 3.5 global governor UploadBandwidthThrottler class 28-29 4 ED2K protocol process analysis 29-51 4.1 client client - server TCP communication 29-35 4.1.1 establish a session 29-31 4.1.2 information Exchange 31-32 4.1. 3 file search 32-33 4.1.4 file source Search 33-34 4.1.5 Accessibility 34-35 4.2 client - server UDP communication 35-39 4.2.1 authentication server status 36-37 4.2.2 enhanced file search 37-38 4.2 .3 enhanced file source search 38-39 4.3 client - the client TCP communication 39-50 4.3.1 establish a session 39-43 <br / > 4.3.2 request file 43-45 4.3.3 file Transfer 45-50 4.4 client - client UDP communication 50-51 5 Conclusion 51-52 References published during 52-54 master's degree thesis 54-55 Thanks 55-57

Related dissertations

  1. The Research of Trust Evaluation in E-Commerce and Peer-to-Peer Networks
    WangChao ·Anhui University ·2014 ·Master's thesis
  2. The Design and Simulation of Peer to Peer Video on Demand Based on Network Coding
  3. Design and Simulation of P2P Live Streaming Protocol Based on SVC Streams
  4. Study on the selection of improved particle swarm optimization algorithm of Web services based on P2P environment
    ShenPing ·Jiangxi University of Technology ·2012 ·Master's thesis
  5. Research of the Peer-to-Peer Adaptive Routing Protocol Based on Ant Colony Algorithm
  6. Research on Bittorrent-based Peer to Peer Media Streamin Scheduling Mechanism
    DaiYe ·Yanshan University ·2012 ·Master's thesis
  7. Research on the Search Mechanism in Structured P2p Network Based on Interest
    LeiShen ·Shandong Normal University ·2012 ·Master's thesis
  8. Research on Data Scheduling Algorithm and Peer Selection Strategy of P2P Streaming System
    WeiJianZuo ·Zhengzhou University ·2012 ·Master's thesis
  9. Design and Large-scale Simulation of P2P Live Streaming Localization
  10. Research on Resources Locating Strategy of Peer to Peer Network
    ChengLan ·Huaqiao University ·2012 ·Master's thesis
  11. Design and Implementation of P2P Video System
    ChenMinShen ·Shanghai Jiaotong University ·2012 ·Master's thesis
  12. Studying on P2P Super Node Selecting Mechanism Based on Trust Model
    WuJunFeng ·Hubei University of Technology ·2012 ·Master's thesis
  13. Research on Resource Discovery Mechanism in Peer-to-Peer Network
    LiGuoRong ·Shandong Normal University ·2013 ·Master's thesis
  14. Research on Incentive Mechanism for Nodes Cooperation in Peer-to-Peer Networks
    WangChunZhi ·Wuhan University of Technology ·2013 ·Doctoral dissertation
  15. Reseach on Trust Model and Incentive Mechanism in Peer-to-Peer Networks
    OuYangJingCheng ·Hunan University ·2012 ·Doctoral dissertation
  16. Research on File-Sharing Service Optimization Technology of P2P Network
  17. Research of User Behavior and System Capability of P2P Application
    ZhengYi ·Beijing Jiaotong University ·2012 ·Doctoral dissertation
  18. Research on Resource Discovery for Peer-to-Peer Resource Sharing System
  19. Mobile Social Networks Platform Design and Prototype Implementation Based on Wi-Fi Direct Peer-to-peer Technology
  20. Design and Large Scale Simulation of Scheduling Algorithm Based on P2P Live Streaming System