APP下载

HAHA:基于命名数据网络的即时通信系统设计

2015-10-21刘福泉

计算机时代 2015年9期

刘福泉

摘 要: 即时通信是一类非常实用的网络应用程序,常见的即时通信软件一般采用基于IP网络的客户端-服务器设计方式,这是简单和流行的做法,但存在一些缺点,如单点失效、流量集中和安全问题。命名数据网络是一种以数据为中心的网络,本身具有很好的安全性和多播特性。设计了一款基于命名数据网络的分布式即时通信系统HAHA,避免了单点失效和流量集中的问题,改善了数据传输效率和安全性。在NS3上进行了仿真实验,证明了HAHA软件较好的网络性能。

关键词: 命名数据网络; 即时通信; 分布式; 客户-服务器

中图分类号:TP319 文献标志码:A 文章编号:1006-8228(2015)09-19-03

HAHA:instant messaging system based on NDN

Liu Fuquan

(Jiyang College of Zhejiang A&F University, Zhuji, Zhejiang 311800, China)

Abstract: Instant messaging software is a useful network application, common instant messaging software is generally client-server designed based on IP network, it is a simple and popular method, but there are some shortcomings, such as single point failure, traffic concentration and security issues. NDN (Named data networking) is an information-centric networking, itself has a very good security and multicast characteristics. In this paper, a distributed instant messaging system named HAHA is designed, which avoids the problem of single point failure and traffic concentration, and improves the efficiency and security of data transmission. The HAHA shows good network performance in the simulation experiment on NS3 simulator.

0 引言

即時通信是一种非常有用的网络应用程序,已经被广泛用于一组参与者之间进行信息交流。已有的即时通信软件一般采用基于IP网络的客户端-服务器设计方式,这是简单和流行的做法,但也有缺点,比较突出的问题是单点失效和大量访问流量都集中在少数几台服务器上。此外,客户端-服务器模型还容易成为攻击的目标,因为服务器的地址是公开的[1]。

HAHA是本文设计的一款基于命名数据网络的分布式即时通信软件,利用命名数据网络[2]天生的安全和组播优势,避免了在客户端-服务器和P2P模型中遇到的问题。HAHA系统类似于QQ,是一款即时通信系统。QQ系统采用了基于客户-服务器的实现方式,系统由服务器对所有参与者进行管理,参与者通过客户端软件登录和聊天。HAHA系统是一种去中心化系统,即没有中心服务器,每个参与者所运行的软件既是服务器也是客户端。……

登录APP查看全文