登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 信息与计算科学 > 正文

基于Android的即时通信系统数据传输模块设计与实现毕业论文

 2021-12-19 10:12  

论文总字数:13467字

摘 要

基于Android 的即时通讯,在大众的视线里已经越来越普遍了,它寄托于因特网中,也以其他有线网络或者无线网络为基础,活跃在我们的身边每时每处。我们这个即时通讯系统Android客户端上进行使用,使得用户使用时在Android客户端和服务器之间连接,让人们能够更加方便地即时发送和接收消息。本即时通讯系统采用的是C-S模式进行构造,即客户端—服务器体系结构。其中,客户端基于Android studio平台进行开发,服务器使用MVC框架进行开发,系统内部使用服务器对不同的Android用户之间进行即时通讯。

本文主要负责安卓客户端和服务器之间的数据传输。首先概述了即时通讯软件的研究背景,点明开发意义和主要工作,然后介绍了Android开发所需要的工具与环境,进行需求分析,给出系统的功能设计与数据库设计,然后对数据传输系统进行实现,包括添加好友,即时文字消息的传输,即时语音或图片消息的传输等等。

关键词:Android 即时通讯 MVC框架 客户端 服务端 数据传输

DESIGN AND IMPLEMENTATION OF

DATA TRANSMISSION MODULE OF INSTANT

MESSAGING SYSTEM BASED ON ANDROID

ABSTRACT

Instant messaging based on Android has become more and more popular in the eyes of the public. It is pinned on the Internet, and is also based on other wired or wireless networks. Our instant messaging system is used on the Android client, so that users can connect between the Android client and the server when they use it, so that people can send and receive messages more conveniently. The instant messaging system adopts the C-S mode for construction, that is, the client-server architecture. Among them, the client is developed based on the Android studio platform, the server is developed using the MVC framework, and the system uses the server to communicate instantaneously between different Android users.

This article is mainly responsible for the transmission of data between the Android client and the server. First, it outlines the research background of instant messaging software, points out the development significance and main work, then introduces the tools and environment required for Android development, conducts demand analysis, gives the system's functional design and database design, and then conducts data transmission system Implementation, including adding friends, instant text message transmission, instant voice or picture message transmission, etc.

Keywords: Android instant messaging SSM framework client

目 录

摘 要 II

ABSTRACT III

第一章 综述 1

1.1 研究意义 1

1.2 即时通讯软件的发展 1

1.2.1 即时通讯软件的发展过程 1

1.2.2 阻碍即时通信软件发展的因素 2

1.3 即时通讯软件的发展趋势 2

1.3.1 即时通信软件的功能需要完善 2

1.3.2 互通即将成常态 2

1.3.3 跨平台即时通讯软件前景广阔 3

1.4 课题的主要工作 3

第二章 相关技术分析 5

2.1 可行性分析 5

2.1.1 技术可行性 5

2.1.2 经济可行性 5

2.1.3 社会可行性 5

2.2 关键技术简介 5

2.2.1 java介绍 5

2.2.2 MVC框架 6

2.2.3移动终端界面设计 6

2.3 开发工具概论 6

2.3.1 IntelliJ IDEA简介 6

2.3.2 Android Studio简介 6

第三章 需求分析 8

3.1 功能需求分析 8

3.1.1 功能需求: 8

3.1.2 具体要求 8

3.2 设计约束 9

3.2.1 标准约束 9

3.2.2 硬件约束 9

3.2.3 软件质量属性 9

第四章 系统设计 11

4.1 系统功能设计 11

4.1.1 注册界面 11

4.1.2 登录界面 12

4.1.3 添加好友 13

4.1.4 即时通讯聊天 14

4.2 数据库设计 15

4.3 E-R图 17

第五章 数据传输系统实现 18

5.1 什么是数据传输 18

5.1.1安卓数据传输技术 18

5.2 后端向安卓前端传输 18

5.2.1 头像处理 18

5.2.2 注册功能 19

5.2.3 登录功能 20

5.2.5 添加好友 22

5.2.6 处理文本消息 23

5.2.7 处理语音图片消息 25

5.2.8 处理离线消息 27

5.3 前端向后端传输 30

5.3.1 客户端向服务器发送请求 30

5.3.2 注册 31

5.3.4 客户端接收响应 33

5.3.5 添加好友 36

5.3.6 处理文本消息 37

5.3.7 处理语音图片消息 38

第六章 总结 41

参考文献 42

致谢 43

第一章 综述

1.1 研究意义

为了更好地与别人交流,从古至今一直是人们致力发展的目标。在如今科技日益发达,更方便、更即时的与别人交流也逐渐被人们越来越在意。随着聊天系统技术的不断发展,功能也越来越强大,以致于不单单是一个聊天工具,发展成为办公软件。电子邮件发展为人类的交流发展树立了里程碑,而聊天系统也成为互联网应用实现的又一成功案例。

聊天系统成功发展的原因依赖于它相比于电子邮件显现出来的优点。相较于电子邮件,聊天系统会更方便、更即时,可以随时实现用户间的信息传输,可以广泛运用于各个领域。聊天系统的方便、即时、高效的优点也更适用于日常的信息交流。聊天系统将会持续有更好的发展前景与发展方向。

1.2 即时通讯软件的发展

1.2.1 即时通讯软件的发展过程

请支付后下载全文,论文总字数:13467字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图