基于B/S方式的即时通讯软件的设计与实现 摘 要 即时通讯(Instant Messaging)是目前Internet上最为流行的通讯方式,而各种各样的即时通讯软件也层出不穷;服务提供商也提供了越来越丰富的通讯服务功能。随着互联网的发展,即时通讯的运用将日益广泛,即时通讯软件业方兴未艾。本文首先描述了即时通讯业的发展和现状,然后初步探讨了即时通讯所涉及到的一些技术,最后对现有的技术进行了对比和分析,提出了一些可能的改进方案,并且设计了一个名为web-msn的即时通讯系统。 web-msn是基于B/S的模式的即时通讯系统,通过IE等浏览器直接完成客户端的登录、数据传输,更加便捷了用户之间的通讯和交友;使用最新的Ajax技术,使其非常快,无需等待页面的刷新,实现了即时通讯的功能。 在系统设计与建模过程中,使用了UML和面向对象的分析、设计方法,本系统基于.NET Framework 1.1,使用Visual Studio .NET 2003作为开发工具,将.NET中的一些新技术运用到了系统中;在开发过程中用到了时下流行的重构开发方法,优化了系统的设计。 关键词:Web-msn;即时通讯;B/S; Ajax The Design and Implementationof Instant MessageBased on B/S Abstract Instant message is currently the most popular way tocommunicate on the Internet,by the way various instant message softwarehave been continuously appearing; service provider offers more and morecommunication services nowadays. As the development of the Internet, instant messagewill be more widely used than before. This article first describes thedevelopment and the current status of the instant message. Then it discussesthe technologies of the instant message such as communication protocol, servicemode and friend-making mode. It makes a comparison and analysis with respect tothe current technology and also provides some possible solutions forimprovement. At last it designs and develops an instant message system namedweb-msn. The web-msn system is an instant message system whichbases on b/s mode. You can login and interact with it through IE. It makescommunication and finding friends more conveniently. It is designed using Ajax, which doesn’t needto wait for refreshing page, so carry out communication instantly. This system is based on .NET Framework 1.1 and usesVisual Studio .NET 2003 as the development tool. It accumulated some newtechnology in .NET into our system. During the process of development, it usedthe popular reconstruction development method, which optimizes the systemdesign. Keywords: Web-msn; Instant Message; B/S; Ajax
|