欢迎来到天天文库
浏览记录
ID:18262686
大小:1.70 MB
页数:54页
时间:2018-09-16
《局域网即时聊天软件设计与实现(附详细源代码)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要即时通信在互联网领域的应用取得了巨大的成功,但在学校﹑企业内部的应用仍远未普及。鉴于即时通讯作为一项有广泛应用价值的技术框架,在逐步适应企业网络﹑教育网络的应用特点后,局域网即时通信必将取得和电子邮件一样的普及效果。该系统使用Myeclipse作为开发平台﹑MysqL数据库存储用户信息和聊天记录,用套接字连接客户端和服务器,用数据包套接字发送消息。本系统采用C/S模式构建,由客户端和服务器组成。客户端只要填写服务器的IP地址和通信端口号,并通过所分配的账号,就可以登陆和使用。服务器与MysqL数据库可部署在同一网段的任一节点上,通过接受
2、客户端不同请求而对数据库进行增加﹑删除、修改、查找的操作,这样就可以方便的进行维护并前保证了同一局域网信息的安全和网络资源的充分利用,并且最大程度的保证了数据库的安全性。使用该系统可进行一般的文字交流,添加好友等功能。关键词:Myeclipse;Socket;多线程;MysqL数据库;TCP/IP协议50ABSTRACTInstantmessagingapplicationsontheInternetwereagreatsuccess,butinschools,enterprisesarestillfarfromuniversalinapp
3、lication.Inviewofinstantmessagingapplicationsasthevalueofabroadtechnicalframework,andgraduallyadapttothecorporatenetwork,theapplicationofthecharacteristicsoftheeducationnetwork,theLANaccesstoinstantmessagingande-mailwillbethesameuniversaleffect.TheintroductionofthesystemMy
4、eclipseasadevelopmentplatform,Mysqldatabasestoringuserinformationandchatwithasocketconnectionclientandserver,andsendamessagepacketsocket.ThesystemusesC/Smodeofconstruction,fromtheclientandserver-sidecomponent.SimplyfillouttheclientserverIPaddressandcommunicationsportnumber
5、,andthroughthedistributionoftheaccount,youcanloginanduse.Mysqldatabaseserverandcanbedeployedinthesamenetworksegmentatanynode,byreceivingtherequestoftheclientdefferentadditionsanddeletionstothedatabasesearchoperation,Thiscanbeconvenientformaintenanceandtoensurethatthesamelo
6、calareanetworkinformationsecurityandmakefulluseofnetworkresourcesandensuremaximumsafetyofthedatabase.Thesystemcanbeusedforgeneralexchangoftext,addfriendfunctions.Keywords:Myeclipse;Socket;Thread;MysqlDatabasse;TCP/IP50目 录前言1第1章绪论21.1课题背景及意义21.2课题现状21.3课题目标与内容3第2章系统开发环境和关键
7、技术42.1开发环境42.2关键技术42.2.1Java42.2.2Myeclipse与MysqL62.2.3JavaSocket网络编程接口72.2.4多线程开发技术72.2.5TCP/IP﹑UDP协议82.2.6Client/Server结构(客户端/服务器模式)9第3章系统分析与设计103.1可行性分析103.1.1经济可行性103.1.2技术可行性103.1.3法律可行性113.2系统分析113.2.1系统需求113.2.2需求分析123.3系统设计173.3.1设计原则及一般要求173.3.2概要设计173.3.3功能设计183.
8、3.4工作流程21503.3.5数据库设计21第4章系统实现274.1服务器端设计实现274.1.1服务器端模块274.2客户端设计实现274.2.1客户端登陆模块274.2.2
此文档下载收益归作者所有