文档介绍:基于C\S结构的聊天室系统
摘要
计算机网络的迅速发展,对人类社会诸多领域产生了巨大的影响。尤其是,随着信息时代的来临,人们之间愈来愈趋向于通过网络来交流和传递信息。而聊天系统正是当前人们使用最多的中介。在这个平台上,许多认识或不认识的人们彼此间能够随意的相互交交流。因此,开发和架构这种平台符合时代发展的需要。
论文首先对目前国内国际方面的状况进行初步的介绍,接下来详细的介绍了本设计用到的主要技术及相关内容,以下按照软件工程的思想对系统进行调研,技术可行性分析,需求分析及总体设计与功能模块划分。接着是详细设计按照不同的模块有侧重的分析,诸如客户端与服务器的通讯,客户端与客户端的通讯,涉及到本设计主要的流程,用流程图加以说明,并有文字说明。本设计主要采用了黑盒测试与其他设计相结合的方法。主要测试系统是否能完成基本的功能,当输入错误的信息时,提示信息是否合理;发送信息、接收信息是否按预想的设计进行;界面的合理、整洁性。黑盒测试是从用户的角度出发的一种比较好的测试方法。
本设计分为四章,第一、二章是绪论与文献综述,介绍了本课题的来源背景、研究和解决的问题以及对社会发展的作用。第三、四章提出了解决问题的方案以及提出具体的方法实现该系统的功能,这两章是最重要的部分。第五章是本设计的结果与评价,对此系统在整体上进行测试,并做出客观的评价。最后是致谢和参考文献,对此设计有帮助的人表示感谢以及自己所参考的重要文献。
关键词聊天系统;TCP/IP协议;JSP
Abstract
The rapid development of works has been making a great influence in many fields of human society. In particular, along with information age approaching, people tend to municate and transmit information through work. But the chat system is precisely used by people as an intermediary. On this platform, people can chat each other at random whether they know or not. Therefore, this kind of platform developed and constructed conforms to demanding of the time.
First the papers introduce the current domestic and international situation. Next, the main technology and the connected content are introduced in detail. Following is the investigation and study according to the software engineering thought to the system, the demand analysis and the system design and the function module. Next is the design which is according to the different module the analysis, such as client and munications, client and the munications. In this part also has the design of the main flow, and flow charts to illustrate and text description .The main design mainly uses the Black-box design and bination of different methods.
The fifth chapter is this design result and the appraisal, regarding this systematically carries on the test in the whole, and makes the objective appraisal,studying and solving problem and the function of the social development. Finally is t