本科毕业设计(论文)
基于Android平台的聊天系统设计与实现
名称 计算机科学与技术 专业名称 信息安全 学生 指导教师
二〇一三年六月
摘要
本课题主要研究基于Android的移动聊天系统,以更好的用户体验性为目的开发出界面简洁,用户易操作的移动即时通信聊天工具。该聊天工具的主要功能:用户注册,登录,好友一对一聊天,群组聊天。在该即时通信工具中的数据传输是通过Socket编程实现。客户端之间通过服务器对数据的转发实现相互通信。
本文首先概述了IM聊天工具的背景,其次是课题的目的及意义,然后介绍了软件开发的环境和开发工具及其技术,给出了软件的系统架构,各个模块的流程图及用例,然后详细介绍了改即时通信的工具,最后对系统进行简单的测试。
关键词:Android,即时通信,多线程,注册,登录,聊天
Abstract
The main research topics of the graduation Android-based mobile chat system, according to its architecture and design principles developed interface is simple and easy to operate mobile instant messaging chat tools. The main function of the chat tool: user registration, login, friends one-on-one chat, group chat. Data transmission in the real-time communication tools Socket Programming. Communicate with each other on the data forwarding between the client through the server.
The paper first outlines the background of the IM chat tool, followed by the purpose and significance of the issues, and then describes the software development environment and the development of tools and technology, the software system architecture, the flow chart of each module and use cases, and then detailed change instant messaging tool design and implementation, and finally a simple test system.
Keywords: Android, instant messaging, multi-threaded, socket, client / server
目录
第一章 绪论 1
1.1 聊天软件背景 1
1.2 课题目的及意义 2
1.4 设计思想 4
1.5 工作方法 4
第二章 Android聊天系统需求分析 5
2.1任务概述 5
2.1.1 目标 5
2.1.2 用户特点 5
2.1.3 定义 5
2.1.4假定与约束 6
2.2 需求规定 6
2.2.1 系统功能需求 6
2.2.2用户注册 9
2.2.3 用户登录 11
2.2.4 用户主面板 12
2.2.5用户聊天 13
2.2.6 好友上下线提示 15
2.2.7增加好友 15
2.3对性能的规定 15
2.3.1精度 15
2.3.2时间特性要求 16
2.3.3灵活性 16
2.4输人输出要求: 16
2.5数据管理能力要求 16
2.6其他专门要求 16
2.7运行环境规定 16
2.8支持软件 17
第三章 基于Android平台的聊天系统设计 18
3.1 定义 18
3.1.1专业术语 18
3.2 总体设计 18
3.2.1运行环境 18
3.3基本设计概念和处理流程 19
3.3.1 系统逻辑构架图(图3.1) 19
3.3.2系统物理架构图 (图3.2) 20
3.3.4顶层系统包图(图3.3) 20
3.3.5 具体处理流程 21
3.4子系统设计 24
3.4.1用户信息: 24
3.4.1.2功能概要: 24
3.4.2用户登录 27
3.4.3 聊天管理 28
3.5接口设计 31
3.5.1 用户接口 31
3.5.2 外部接口 32
3.5.3内部接口 32
3.6运行设计 32
3.6.1运行模块组合 32
3.6.2运行控制 33
3.6.3运行时间 33
3.7系统数据结构设计 33
3.7.1逻辑结构设计 33
3.7.2物理结构设计(图3.14) 35
3.7.3数据结构与程序的关系(图3.15) 36
3.8.系统出错处理 36
3.8.1出错信息 36
3.8.2补救措施 37
第四章 基于Android平台的聊天系统实现 39
4.1 服务端模块 39
4.2 客户端模块 41
4.2.1 客户端启动界面 41
4.2.2 登录模块 43
4.2.3 注册界面 48
4.2.4 登录成功 51
第五章 基于Android平台的聊天系统系统测试 58
"结论" 60
"致谢" 61
参考文献 62
第一章 绪论
随着现代技术的不断输入和信息化的广泛普及,移动网络作为一种新兴事物,在近些年得到了前所未有的普及和深入,移动网络上的各种应用层出不穷,给各个阶层
上一篇:
Android流量网络监控设计(超级实用版)
下一篇:
猪疥癣病的防治