节点文献

基于JXTA的校园网资源共享互动系统的设计与实现

The Design and Implementation of Campus Network Resource Sharing and Interaction System Based on JXTA

【作者】 刘江

【导师】 鹿凯宁;

【作者基本信息】 天津大学 , 信息与通信工程, 2012, 硕士

【摘要】 近年来,P2P技术在资源共享和即时通信等众多领域都得到了广泛的发展,国内外涌现出众多基于P2P的应用,很大程度的满足了人们对数据交互的需要。但是这些应用具有一些缺陷,并不能完全适应天津大学校园网的现状。校园网对P2P应用提出了如下需求:内网流量保护;能跨平台工作;具有较强的互动性。本文设计和实现了一款基于JXTA的资源共享互动系统(MyShare系统),该系统满足了以上的需求,具有文件共享、资源预约和即时通信三大功能。本文首先分析了P2P技术和JXTA平台,为MyShare系统的开发提供了理论基础。随后针对天津大学校园网的现状对系统进行了需求分析,提出了系统要实现的具体功能。论文分析和设计了MyShare系统的总体构架,并结合JXTA平台给出了系统在NAT穿越和内网流量保护等关键技术上的实现方式。通过JXTA平台提供的API,采用Java语言完成对MyShare系统的各个功能模块的流程设计和具体的编程实现。对系统工程进行打包部署,并通过四台主机模拟校园网环境,测试系统的各项功能。测试结果表明:MyShare系统可以在Linux和Windows主机上正常工作,具有很好的跨平台特性。系统不仅可以实现文件共享、资源预约和即时通信等各项基本功能,而且成功的穿越了NAT设备,并对外网主机实现了访问隔离,很好的保护了内网的流量安全。总之,MyShare系统可以满足天津大学校园网的各项需求,具有很好的应用前景。

【Abstract】 In recent years, P2P technology has been widely developed and applied in resource sharing, instant messaging and many other fields. Many P2P-based applications have been developed, which lagely meet the needs of data interaction. However, the existing applications have some flaws, so that they can not fully adapt the situation of the campus network of Tianjin University. The campus network requires that P2P-based applications have some characteristics, such as protecting the internal network traffic, working on different platform and having good interaction between users. To meet the above needs, the thesis designs and implements a JXTA-based resource sharing and interaction system (MyShare system). The system is divided into three major functional blocks which are file-sharing, resource booking and instant messaging.Firstly, the thesis analyzes the P2P technology and JXTA platform to provide a theoretical basis for the design of MyShare system. Secondly, demand analysis is carried out for the status of campus network, and the major functions are proposed. Finally, the implementation of internal network traffic protection and working through the NAT is analyzed.By calling API of JXTA platform, the thesis completes the design of flow chart and specific programming of the system using Java language. At last, the project is packaged and deployed in a simulation environment of campus network, which is formed by four hosts, and a test is carried out.The test result shows that MyShare system works well on both Linux and Windows hosts, so that it has a good cross-platform feature. The system not only achieves the basic functions including file sharing, resource booking and instant messaging, but also successfully works through the NAT device and can protect the internal network traffic. In short, MyShare system meets the needs of the campus network of Tianjin University and has high practical value.

【关键词】 P2PJXTA文件共享即时通信校园网
【Key words】 P2PJXTAfile sharinginstant messagingcampus network
  • 【网络出版投稿人】 天津大学
  • 【网络出版年期】2012年 08期
节点文献中: 

本文链接的文献网络图示:

本文的引文网络