摘要
在P2P领域中,文件共享和即时通信的应用程序使用最为广泛,最流行的包括Napster,KaZaA,MSN Message,ICQ和QQ。基于JXTA协议,实现全分布式的P2P即时通信系统。为了使系统更加便于扩展和减少各功能模块的耦合度,将系统划分为JXTA网络层、信息服务层和应用层。JXTA网络层构建一个全分布式的P2P网络,实现对等体的搜索和XML消息的发送和接收;信息服务层实现XML消息的解封装和封装;应用层实现信息的输入和显示。各个层向下调用服务并向上隐藏具体实现的细节。
In P2P field, file shared and instant rues.sage applications are used widely, including Napster, KaZaA, MSN Message, ICQ and QQ.Use JXTA protocol to implenaent P2P instant message system "based on decentralized struetured model. To make the system more easy to spread the system and reduce the coupling among all function modules, here divided it to three layers which are JXTA net layer, information servlee layer and application layer. JXTA net layer constnaet a P2P net,which implements the .searching of peers and sending and receiving XML information. The information serviee layer implements the encapsulation and releases of XML information. The last layer is application layer which implements inputing and displaying information. Each layer will call service to its down - layer and hide the details of implementation to its up - layer.
出处
《计算机技术与发展》
2008年第3期96-98,101,共4页
Computer Technology and Development
基金
云南省自然基金(2005F0016Q)
云南省教育厅科学研究基金(5Y0674D)
昆明理工大学基金项目(校引2005-6)