基于Android平台的聊天系统设计与实现仿QQ聊天系统毕业论文

  • 格式:doc
  • 大小:1.17 MB
  • 文档页数:70

基于Android平台的聊天系统设计与实现

基于Android平台的聊天系统设计与实现 基于Android平台的聊天系统设计与实现

摘要

本课题主要研究基于Android的移动聊天系统,以更好的用户体验性为目的开发出界面简洁,用户易操作的移动即时通信聊天工具。该聊天工具的主要功能:用户注册,登录,好友一对一聊天,群组聊天。在该即时通信工具中的数据传输是通过Socket编程实现。客户端之间通过服务器对数据的转发实现相互通信。

本文首先概述了IM聊天工具的背景,其次是课题的目的及意义,然后介绍了软件开发的环境和开发工具及其技术,给出了软件的系统架构,各个模块的流程图及用例,然后详细介绍了改即时通信的工具的设计与实现,最后对系统进行简单的测试。

关键词:Android,即时通信,多线程,注册,登录,聊天

基于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

基于Android平台的聊天系统设计与实现

目录

第一章 绪论................................................................................................................ 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