Study based on JXTA P2P application
- Author
- PengFaZuo
- Advisor
- WuYeFu
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.02 Computer network architecture and design
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 309
- Citations
- 1
Abstract
Peer network technology (P2P) as an emerging technology, rapid development in recent years. Each node in the P2P is a provider of resources, but also access to those resources. Compared with the traditional model, with unparalleled decentralization, scalability, robustness, high performance / price ratio, high security. Meanwhile P2P technology has broad application prospects, has been applied to instant messaging, file sharing, peer to peer computing, precision search, enterprise applications, e-commerce and electronic games and other fields. However, many P2P systems are fragmented, forming one of P2P island. Such distributed and P2P design departure from the original intention. In the summer of 2000, Sun has proposed a \Platform-JXTA platform. JXTA is not just a peer to peer network computing platform, the key is that it implements a network, the programming language and platform-independent support for multiple P2P applications platform. JXTA platform interoperability, platform independence, universality and other characteristics. Based on JXTA platform, these features make it ideal for a P2P application development platform. Paper first analyzes the characteristics of P2P technology, summed up the three modes of P2P and various fields of application and analysis of the existing P2P applications defects and deficiencies, proposed the introduction of the P2P JXTA platform application development vision; and research the JXTA platform design objectives, basic elements and six agreements; propose a framework based on JXTA P2P application model, summed up the characteristics of P2P applications should have proposed this model four-tier structure (including network connectivity layer, JXTA core layer, the data model and the control logic layer and P2P application layer), analyzed several important agreements of the specific implementation process; then introduced an implementation of the model-PPChat instant messaging system design, given the framework of this system map and describes the system to achieve some functionality; final functional modules of the system according to the specific implementation are described in detail, the main modules including service applications, user identity authentication, the peer group, creating publications and join notices create the publication and discovery , the establishment of input and output channels, the message encoding format, send and receive messages, message encryption and decryption, friends search, object serialization, log generation and system interface design. Through this research, we propose a framework based on JXTA P2P application model, and use this model successfully developed an instant messaging system to verify the model. Further development of the system using this model has a non-centralized, robustness, high performance / price ratio, high security. The study not only analyzes the issues of P2P technologies and applications, and in the use of JXTA P2P application development platform has made some exploration.
Table of contents
Chapter 1 Introduction 10-14
1.1 Background 10
1.2 topics sources 10-11
1.3 research purpose and meaning 11-12
1.4 research situation analysis 12-13
1.4.1 foreign Research 12
1.4.2 domestic research 12-13
1.5 papers architecture 13-14
Chapter 2 P2P technology 14-23
2.1 P2P concepts 14 < br /> 2.2 P2P and C / S, B / S mode contrast 14-15
2.3 P2P mode 15-19
2.3.1 centralized P2P 16-17
2.3.2 distributed P2P 17-18
2.3.3 hybrid P2P 18-19
2.4 P2P applications 19-22
2.4.1 instant Messaging 19-20
2.4.2 file Sharing exchange 20
2.4.3 peer computing 20 -21
2.4.4 precision and depth retrieval 21
2.4.5 enterprise Application 21-22
2.4.6 e 22
2.5 JXTA platform to introduce 22-23
Chapter 3 JXTA platform 23-28
3.1 JXTA Introduction 23
3.2 JXTA design goals 23
3.3 JXTA platform key elements 23-25 ??
3.3.1 peer 23-24
3.3.2 peer groups 24
3.3.3 rendezvous 24
3.3.4 pipeline 24-25
3.3.5 notice 25
3.3 .6 news 25
3.3.7 identifier 25
3.4 JXTA platform six agreements 25-28
3.4.1 peer discovery Protocol 25-26
3.4.2 peer information protocol 26
3.4.3 pipe Binding Protocol 26
3.4.4 endpoint routing Protocol 26-27
3.4.5 peer resolution Protocol 27
3.4.6 rendezvous Protocol 27-28
Chapter 4 based on JXTA P2P application framework model 28-37
4.1 based on JXTA P2P application features 28-29
4.2 framework model hierarchy 29 - 30
4.3 basic elements 30-32
4.3.1 notice 30-31
4.3.2 message 31
4.3.3 identifier 31-32
4.4 protocol implementation 32-37
4.4.1 peer Discovery protocol 32-33
4.4.2 peer information protocol 33
4.4.3 pipe Binding Protocol 33-34
4.4.4 endpoint routing Protocol 34-35
4.4 .5 peer resolution Protocol 35-37
Chapter 5 model based on JXTA P2P application practical application 37-41
5.1 PPChat system structure 37-38
5.2 PPChat system's main function 38-41
5.2.1 friends management 38-39
5.2.2 chat 39
5.2.3 View History information Function 39
5.2.4 personal Information management 39-40
5.2.5 user authentication, secure transmission function 40
5.2.6 system Configuration function 40-41
Chapter 6 PPChat main module implementation 41-67
6.1 system is the main target 41-43
6.1.1 user 41-42
6.1.2 Buddy List 42-43
6.1.3 chats 43 <br / > 6.2 service application 43-46
6.2.1 service interface and management classes 43-44
6.2.2 service instance 44 - 45
6.2.3 service use 45-46
6.3 user authentication 46-48
6.4 peer groups to create, publish and join 48-50
6.4.1 peer group creation 48-49
6.4.2 release of the peer group, 49
6.4.3 peer groups join 49-50
6.5 Notices to create, publish and discover 50-52
6.6 input and output pipes to establish 52-53
6.7 encoding the message format and the message transmission and 53-56
6.8 to encrypt and decrypt messages 56-57
6.8.1 message encryption 56 <br / > 6.8.2 decrypt messages 56-57
6.9 Friends Search 57-60
6.9.1 JXTA discovery model features advantages 57-58 < br /> 6.9.2 indexing 58-60
6.10 object Serialization 60-62
6.10.1 object serialization class 60-62 < br /> 6.10.2 object serialization using 62
6.11 log generation 62-64
6.12 system interface Design 64-67
6.12 .1 system mainly interface classes 64
6.12.2 system interface capture 64-67
Chapter 7 summarizes 67-69
7.1 papers job Summary 67-68
7.2 further research directions 68-69
References 69-73
Thanks 73-74
participate during the master 's research projects and published papers 74
Related dissertations
- The Design and Implementation of Campus Network Resource Sharing and Interaction System Based on JXTA
- Design and Implementation of P2P Based on Full Text Retrieval System
- Document Resources Sharing System of Campus Network
- Design and Implement of P2P Chat Room Software-based
- University Office of Instant Messaging System Design and Implementation
- Design and Implementation of the Embedded Digital STB Instant Messaging System Based on XMPP and P2P Protocol
- The Research and Application of Distribution Storage System Deared to Experimental Teaching of Computer
- Design and Implementation of University Search Engine Based on P2P
- The Research and Implementation of JXTA-based P2P Distance Teaching System
- A Study and Implementation of P2P-based Cooperative Office System in WuShi College of Adult Education
- The Research and Design of Trust Model and Incentive Mechanism of P2P Network Based on JXTA
- The Integrated Research of P2P Network and Web Service
- A Study on P2P Application Based on CMS of JXTA
- Architecture based on JXTA P2P application and research
- Design and Implementation of a Java - based instant messaging software
- Research and Application of the Reciprocal Network Communication on the Basis of JXTA
- The Research and Implementation of Instant Communication System Based on JXTA
- Design and Implementation of Instant Messaging Application Based on JXTA
- Analysis and Research of P2P Apply System Based on JXTA
- The Research and Implementation of Campus Network Mutual Learning System Based on JXTA