The Design of Directory Service in Instant Messaging System Based on KADEMLIA Algorithm

Author
LinZuo
Advisor
XuMingKun
School
Beijing University of Posts and Telecommunications
Major
Applied Computer Technology
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2010
Downloads
20
Citations
0

Request the full text

Abstract

With the continuous development of network technology, Instant Messaging Systems become more and more popular. Nowadays, most of the main Instant Messaging Systems are base on Client/Server Model. As a result, not only the client software should be developed, but even more jobs should be done to maintain the servers and databases. The amount of the user of the Instant Messaging System is increasing all the time, which makes the maintenance of the server become the bottleneck of the IM System. So Peer-to-Peer Network Model can be imported to reduce the stress of the server, which makes IM Application have better scalability and lower cost. The idea of P2P is to build a virtual network independent of the physical network. In P2P network all the hosts are equal. In addition, users may join and leave at anytime, which will not affect the function of the P2P network. So in Peer-to-Peer network with well-designed resources management policies, Instant Messaging System can meet the requirement of a large amount of users.The purpose of this thesis is to design the Instant Messaging System in P2P network. The detailed study of Peer-to-Peer Network Algorithms and Instant Messaging Application has been introduced in the paper in order to study P2P IM Case. Firstly, the system requirement and use cases have been prestented. Then the comparison of different design solutions has been discussed and KADEMLIA algorithm has been chosen to be use for directory service in Instant Messaging System. Based on the requirement, the overall design has been stated:The system has been divided into modules and the interaction of different modules has been given. Finally the detail design of modules and the implementation of directory service in P2P IM System have been described by data structure and function interface. Besides, the existent problem between P2P network and IM application has been pointed out. After the KADEMLIA algorithm analysis, an improve solution about the KADEMLIA node ID generation with IP address prefix has been proposed. And the analysis and simulation of this improve solution have been presented.

Table of contents

Abstract 4-5 ABSTRACT 5-10 Chapter Introduction 10-13 1.1 subject background and significance 10 1.2 research status at home and abroad 10-11 1.3 research to improve the content 11-12 1.4 The structure of the paper arrangements 12-13 the second chapter of the technical background 13-24 2.1 peer network 13-18 2.1.1 Basic concept 13-14 2.1.2 routing algorithm 14-16 2.1.3 network structure 16-18 2.2 instant messaging 18-24 2.2.1 Basic concept 18-19 2.2.2 application mode 19-20 2.2.3 communication protocol 20-24 the needs analysis and outline design 24-38 3.1 needs analysis 24-28 3.1.1 Overall demand 24-25 3.1.2 Use Case Model 25-28 programs 3.2 28-32 3.2.1 design introduced 28-29 3.2.2 centralized directory server program 29-30 3.2.3 peer network directory service program 30-31 3.2.4 design 31-32 3.3 overall design 32-38 3.3.1 hierarchy 32-33 3.3.2 System Flow 33-34 3.3.3 module divided 34-35 3.3.4 modules interact 35-38 Chapter detailed design and realization 38-48 4.1 Detailed design 38-41 4.1.1 client module 38-40 4.1.2 server module 40-41 4.2 system to achieve 41-48 4.2.1 platform structures 41-42 4.2.2 Function Interface 42-46 4.2.3 data structure 46-48 the fifth chapter of algorithm analysis and improvement 48-63 5.1-peer network instant messaging application problems 48-49 5.1.1 overlay network of thinking 48 5.1.2 instant messaging application statistics phenomena 48-49 5.1.3-peer network problems 49 5.2 KADEMLIA algorithm analysis 49-52 5.2.1 KADEMLIA algorithm principle 49-50 5.2.2 KADEMLIA algorithm implementation 50-52 5.3 KADEMLIA algorithm improvement 52-63 5.3.1 location with P2P networks 52-53 5.3.2 IP address introduced 53-54 5.3.3 Improved analysis 54-59 5.3.4 Improved simulation 59-63 Chapter VI summarizes 63-64 6.1 paper summarizes 63 6.2 Future Prospects 63-64 the References 64-65 Acknowledgements 65-66 the studying for a master's degree during the academic 66

Related dissertations

  1. The Design and Realization of IM System Based on P2P-SIP
  2. Research and Implementation of Voice Instant Messaging System Based on Win32
    ChenZuo ·Xiamen University ·2007 ·Master's thesis
  3. Design of a Brand-new Peer-to-Peer File-sharing System
  4. Peer-to-Peer Instant Messaging System
  5. Research on Game Server Architecture Based on Kademlia
    ZhongZuoLong ·Donghua University ·2013 ·Master's thesis
  6. The Research of Trust Evaluation in E-Commerce and Peer-to-Peer Networks
    WangChao ·Anhui University ·2014 ·Master's thesis
  7. Research of FTP Search Engine Indexing Technology Based on Kademlia
    ShiXiaoMei ·West China University ·2013 ·Master's thesis
  8. Design and Development of Postal Marketing Support Platform Based on Android
  9. Design and implementation of mobile phone software and network instant communication software
  10. Design and Implementation of Network Office System Based on Enterprise Instant Messaging Tool MyQQ
  11. Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
  12. Dongguan City Environmental Protection Bureau analysis and design of collaborative office platform
    LiuDongMing ·Yunnan University ·2013 ·Master's thesis
  13. Design and Implementation of Enterprise Instant Messaging System
    FengYue ·Xi'an University of Petroleum ·2012 ·Master's thesis
  14. Research and Implementation of Android-based Instant Messaging Platform
    LiZuoPeng ·South China University of Technology ·2013 ·Master's thesis
  15. Design and Implementation of the Instant Messaging System Based on Java
    LiYuanJun ·Shandong University ·2013 ·Master's thesis
  16. Design and Implementation of iOS IM System Based on Openfire Server
    GuoZhuo ·Jilin University ·2013 ·Master's thesis
  17. The Design and Simulation of Peer to Peer Video on Demand Based on Network Coding
  18. Reasearch and Design of Instant P2P Voice Commuication System Based on Wi-Fi Hotspot
    YangQun ·Central China Normal University ·2014 ·Master's thesis
  19. Design and Simulation of P2P Live Streaming Protocol Based on SVC Streams
  20. Research on Voice Characteristic of Instant Messaging