即时通讯系统设计说明书.doc
上传人:天马****23 上传时间:2024-09-13 格式:DOC 页数:51 大小:1.3MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

即时通讯系统设计说明书.doc

即时通讯系统设计说明书.doc

预览

免费试读已结束,剩余 41 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

PAGE\*MERGEFORMATIIPAGE\*MERGEFORMATI本科毕业设计(论文)说明书即时通讯系统的设计与实现学院计算机工程学院专业班级09软件工程1班摘要即时通讯软件是目前计算机用户进行交流最普遍的方式之一,各种各样的聊天软件也层出不穷;服务提供商也提供了越来越丰富的通讯服务功能。即时通信中最基本的功能就是通过计算机之间的文本数据的互换的形式实现思想的交流和沟通,它的优点是方便快捷,为人们之间创建了一种新型的、廉价的、快速的、简便的沟通方式。本文分析了即时通讯系统的原理及其实现过程,探讨了Socket技术与多线程技术在C/S模式下的局域网即时通讯系统的应用。本毕业设计就是模拟QQ聊天软件,开发一个包括文字聊天、文件传输等功能的聊天软件。系统主要采用C/S架构、C#编程语言、.NET开发平台、UDP通信协议以及Socket等技术来完成。主要实现的功能有注册、登录、聊天、发送表情以及文件传输等功能。系统采用客户机/服务器(C/S)的模式设计,是一个三层C/S结构,数据库服务器、应用程序服务器端、应用程序客户端,按照此设计思想,可以将任务合理分配到客户机端和服务器端,从而降低了系统的通信开销。此系统共分为两个模块:客户端模块和服务器端模块。通过运行、测试与分析,该多功能聊天软件运行稳定、可靠,具有一定的实用价值。关键词:即时通讯;Socket;UDP;C#PAGE\*MERGEFORMATIIPAGE\*MERGEFORMATIIIAbstractInstantmessagingsoftwareiscurrentlyoneofthemostcommoncomputeruserstocommunicatetheway,avarietyofchatsoftwarealsoemergeinanendlessstream;theserviceprovideroffersmoreandmorecommunicationservices.Instantcommunicationisthemostbasicfunctionisthetextdatabycomputerarerealizedintheformoftheexchangeofideasandcommunication,ithastheadvantageofconvenience,asanew,cheap,fast,convenientwaytocommunicatetocreateamongthepeople.Thispaperanalyzestheprincipleofinstantcommunicationsystemanditsrealizingprocess,discussestheapplicationofSocketnetworktechnologyandmultithreadingtechnologyinC\/Smodeofinstantmessagingsystem.ThisgraduationdesignistosimulatetheQQchatsoftware,thedevelopmentofatextchat,filetransferandotherfunctionsofthechatsoftware.ThesystemmainlyusesC/Sarchitecture,C#programminglanguage,.NETdevelopmentplatform,UDPprotocolandSockettechnologytocomplete.Themainfunctionofregistration,login,chat,sendexpressionandfiletransferfunctions.Thesystemusesaclient/server(C/S)modedesign,isathreelayerC/Sstructure,databaseserver,applicationserver,clientapplicationprogram,accordingtothedesignidea,thesystemusestheC/Sstructure,therationalallocationoftaskstotheclientsideandserver,whichreducesthecommunicationoverheadsystem.Thissystemconsistsoftwomodules:theclientandserverendmodule.Throughtestingandanalysis,operation,thismulti-functionchat