- 1、本文档共39页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Android聊天室
本科毕业设计(论文)
简易手机网络聊天室(客户端)
学 院 信息工程学院
专 业 信息工程
(电子信息工程方向)
年级班别
学 号
学生姓名
指导教师
2014年 5 月30日
摘要
本系统设计的是一个简易的Android手机网络聊天室,该聊天室采用Socket套接字进行网络通讯,用户可以及时互通信息,交流思想。本系统主要是采用了C/S(Client/Server,客户机/服务器)模式所开发的。手机作为客户端,能够实现注册,登陆,聊天(包括文字聊天以及表情聊天)等功能。而电脑作为服务端,链接MySQL小型数据库,储存用户的基本信息,接收来自客户端的不同指令,从而实现数据的传递。
本文首先对设计一个聊天室的背景进行了分析,另外再对国内外比较流行的几款即时聊天软件进行了简单的介绍,确定了毕业设计的主要工作,开发一个在局域网内可以聊天的简易手机聊天室。
为了实现聊天室的功能,首先介绍了该项目涉及到的一些技术背景,包括TCP/IP协议,Socket“套接字”的基本机制以及需要使用的一个Serializable接口,来实现序列化与反序列化。之后对实现该系统的可行性与该系统的总体架构进行了分析,在此基础上,对整个系统进行模块划分以及对每个模块功能的实现进行了具体的设计。
Android,SocketC/S模式,MySQL,Serializable
注:本设计(论文)题目来源于自选题目。
Abstract
This system is designed as a simple android mobile network chat room, which uses the socket to achieve network communication, users can achieve information share and communicating in time. This system mainly adopted C/S (Client/Server) mode. Mobile as client, can implement its functionality like registration, log in and chat with other clients. While computer as server, it will link MySQL mini database, keep users’ information in its memory, receive different orders from client thus realize the delivery of data.
This text firstly introduced the background to design a chat room, then make summary of current international and demotic instant messaging service, in this case confirmed my main task of my graduation project: to create a simple chat roon which can achieve communicating under local area network.
To achieve chat room’s function, firstly introduced referring technical background, including TCP/IP agreement, Socket’s basic system and the Serializable connector which is necessary to Socket, in order to implement serialization and deserialization. After I made a analysis of this system’s feasibility and overall structure. Based on this comes out the module division of the whole system and detailed design to achieve every module’s f
文档评论(0)