基于P2P的即时通信系统的研究
本文选题:P2P + 即时通信 ; 参考:《东北师范大学》2012年硕士论文
【摘要】:随着互联网技术的不断发展,即时通信系统已经成为人们日常生活不可或缺的组成部分,它以一种实时通信方式为用户提供实时有效的沟通。P2P技术已经被广泛应用到许多领域,例如文件存储,搜索引擎,对等计算等,基于P2P的即时通信系统也越来越受到人们的关注。目前最为流行的即时通信系统如MSN,ICQ,QQ等都属于P2P的应用,但这些即时通信软件客户端都没有服务,这种软件的客户端在没有信息交互时会不断的向服务器发送数据包报告自己的状态,这样就会占用大量带宽,造成资源浪费,对互联网是一种严重的污染,随着这种类型软件的不断攀升,有可能会导致Internet的崩溃。而且这些软件的资源都存在服务器上,对服务器的性能要求较高,并容易使服务器由于压力过大而瘫痪,从而使整个系统不能正常使用。 本文对P2P和即时通信系统的相关理论和技术进行了介绍,说明了研究基于P2P的即时通信系统的意义和价值。该系统将改变了C/S这一传统模式,使用P2P与C/S相结合的模式,以P2P技术为主,C/S结构为辅,基本上脱离单个中心服务器的束缚,网络中的任何节点自身即有客户端也有服务端,系统中每个节点即可以作为客户端请求服务,也可以作为服务端提供服务,用户只在登陆时访问服务器,将本地所需要的信息加载到本地服务端,登陆完成后,用户之间通信不再访问服务器,避免了在没有信息交互时客户端与服务端之间的数据传输,减少了对带宽的占用。而且该通信系统把资源都分布式的存储在网络上的各个节点中,大大的减轻了服务器的压力,有效解决了服务器的单点失效的问题。该系统还使用XML文档对数据进行外部存储,不再使用庞大的DBMS(数据库管理系统),大大减少了对系统资源的占用,降低了在数据库管理系统方面的开销,也提高了效率。同时考虑到系统安全性和稳定性,引入对等节点互评机制在一定程度上有效的避免了恶意节点的攻击,并在服务端设置了数据库备份和记录事务日志功能。本文采用面向对象的思想开发一个基于P2P的即时通信系统,并开发一个网络数据包捕捉程序对该系统进行测试和结果分析,,基本上达到了预期目标。
[Abstract]:With the continuous development of Internet technology, instant messaging system has become an indispensable part of people's daily life. It provides real-time and effective communication for users by a real-time communication mode. P2P technology has been widely used in many fields. For example, file storage, search engine, peer-to-peer computing, P2P-based instant communication system has also attracted more and more attention. The most popular instant messaging systems, such as MSN, ICQQ, QQ and so on, belong to P2P applications, but none of these instant messaging software clients have any services. The client of this kind of software will send packets to the server continuously to report its status when there is no information interaction, which will take up a lot of bandwidth and cause waste of resources, which is a serious pollution to the Internet. As this type of software continues to climb, it is possible to cause the Internet to crash. Moreover, the resources of these software all exist on the server, the performance of the server is high, and the server is easily paralyzed because of too much pressure, so the whole system can not be used normally. This paper introduces the theory and technology of P2P and instant messaging system, and explains the significance and value of the research of P2P based instant communication system. The system will change the traditional mode of C / S, using the mode of combining P2P with C / S, using P2P technology as the main auxiliary of C / S structure, basically breaking away from the shackles of a single central server, and any node in the network has its own client and server. Each node in the system can request service either as a client or as a server. The user only visits the server at the time of login, loads the information needed locally to the local server, and after the login is completed, The communication between users no longer accesses the server, avoids the data transmission between the client and the server when there is no information interaction, and reduces the bandwidth occupation. Moreover, the communication system stores the resources distributed in each node on the network, which greatly reduces the pressure of the server and effectively solves the problem of single point failure of the server. The system also uses XML documents to store the data externally, no longer using the huge DBMS (Database Management system), which greatly reduces the consumption of the system resources, reduces the cost of the database management system, and improves the efficiency. Considering the security and stability of the system, the peer peer evaluation mechanism is introduced to avoid the attack of malicious nodes to a certain extent, and the database backup and transaction log functions are set up on the server side. In this paper, an instant messaging system based on P2P is developed with the idea of object oriented, and a network packet capture program is developed to test and analyze the results of the system.
【学位授予单位】:东北师范大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP311.52
【参考文献】
相关期刊论文 前9条
1 蔡祖恋;刘克剑;甘春娇;张英英;;无结构P2P系统中一种UDP协议穿透NAT技术的研究[J];西华大学学报(自然科学版);2009年04期
2 徐向阳;韦昌法;;基于NAT穿越技术的P2P通信方案的研究与实现[J];计算机工程与设计;2007年07期
3 关峪;胡绍海;;可靠P2P文件传输算法的研究与实现[J];山西科技;2006年02期
4 聂荣;余建国;吕英华;;国内对P2P网络的相关研究[J];通信技术;2008年07期
5 孙知信;张震伟;宫婧;;P2P安全重叠网络模型研究[J];通信学报;2009年05期
6 杨晓军;尚振宏;郭琳;;全分布式P2P即时通信[J];计算机技术与发展;2008年03期
7 李含草,张宏,徐永晋;使用JXTA实现P2P通信[J];微计算机信息;2004年04期
8 董芳,田维新,戴丹;基于P2P的安全系统模型的设计[J];网络安全技术与应用;2004年12期
9 叶润国,宋成,吴迪,李文印,陈震;P2P网络中对等节点间安全通信研究[J];微电子学与计算机;2004年06期
相关博士学位论文 前1条
1 黄保华;对等系统的安全与激励机制研究[D];华中科技大学;2006年
相关硕士学位论文 前5条
1 关峪;基于P2P技术的即时通信系统研究与实现[D];北京交通大学;2007年
2 王鹏;基于.NET框架下即时通信系统的研究与实现[D];哈尔滨工程大学;2007年
3 霍成义;P2P匿名通信技术研究[D];陕西师范大学;2008年
4 周颖;基于P2P的即时通信系统的研究与实现[D];大庆石油学院;2009年
5 张义虎;基于P2P模式的即时通信系统的研究与实现[D];东北大学 ;2008年
本文编号:1855674
本文链接:https://www.wllwen.com/kejilunwen/sousuoyinqinglunwen/1855674.html