基于移动设备的聊天系统设计与实现

 2022-11-21 10:11

论文总字数:21779字

摘 要

近十年来,互联网高速发展,人们对于通信的需求大大增长,不再满足于e-mail那种老式的通信,实时通讯(Instant messaging)已经成为互联网上中最流行的通讯方式。在现在的中国,QQ、微信等聊天工具已成为我们生活中一部分,不论生活工作我们都离不开IM工具。

本文介绍了本次系统的开发背景,依次对开发需要的技术和环境、系统用户的需求分析、系统的总体设计、系统的详细设计以及系统实现进行叙述,最后对本次开发遇到的困难和系统的前景进行总结。

本次毕业设计,涉及领域为即时通讯,采用混合开发(Hybrid App)模式,套用移动终端Web壳,前端使用了Android Studio作为开发工具,使用Java语言,html和css,借鉴Google官方推荐的Material Desgin设计模式去设计页面,后端采用PHP语言编写,服务器端采用SpringBoot框架搭建,保证界面的整洁美观,模拟用户使用习惯,注重用户体验。

关键词:即时通讯;跨平台;混合开发;material design;html5


Design and implementation of chat system based on mobile devices

Abstract

In the past decade, with the rapid development of the Internet,people's demand for communication has greatly increased, and they are no longer satisfied with the old-fashioned e-mail communication. Instant messaging has become the most popular communication mode on the Internet. In today's China, QQ, wechat and other chat tools have become a part of our lives. We can't live or work without IM tools.

This paper introduces the background of the development of the system, describes the technology and environment needed for the development, the demand analysis of system users, the overall design of the system, the detailed design of the system and the realization of the system, and finally summarizes the difficulties encountered in the development and the prospect of the system.

The graduation project involves instant messaging, hybrid app mode, mobile terminal web shell, Android studio as development tool, Java language, HTML and CSS as well as material recommended by Google Desin design mode is used to design the page, the back end is written in PHP language, and the server end is built with spring boot framework to ensure the clean and beautiful interface, simulate the user's usage habits, and pay attention to the user experience.

Key Words:IM;Cross platform;Hybrid App;material design;html5

目录

摘要 I

Abstract II

第一章 引言 1

1.1 研究背景 1

1.2 研究现状 1

1.3 论文组织结构 2

第二章 相关技术基础 3

2.1 B/S架构 3

2.2 MySQL 3

2.3 PHP 3

2.4 HTML、CSS和JavaScript 4

2.5 spring boot框架 5

2.6 本章小结 5

第三章 需求分析 6

3.1 功能需求分析 6

3.2 非功能需求分析 7

3.2.1性能分析 7

第四章 系统设计 9

4.1 总体设计 9

4.1.1 分层结构设计 9

4.1.2 功能模块结构设计 10

4.1.3 数据库设计 11

4.2 详细设计 13

4.3 核心算法设计 15

第五章 系统实现与测试 18

5.1 实现工具与环境 18

5.2主要运行界面 18

5.3 系统测试 27

5.3.1 系统测试环境与工具 27

5.3.2 功能测试 27

第六章 总结与展望 30

6.1 总结 30

6.2 展望 30

致谢 31

参考文献 32

  1. 引言
    1. 研究背景

现今,实时通讯(Instant messaging)已是互联网上中最流行的通讯方式,越来越丰富的关于通讯的功能进入人们的眼帘。1996年,三个以色列青年创造了IM,取名为ICQ,随着科技的发展,互联网在近几年俨然成为了信息传输的高速公路,即时通讯的地位也越来越高。即时通讯是一种服务,它是由一个终端连向一个即时通讯网路,它的交谈是即时的,这一点和邮件很不相同,因此深受人们欢迎。

以中国移动飞信为代表,即时通讯开始由PC向手机客户端转移,实现无缝衔接的多端信息接收,用户可以通过文字、语音、视频、文件进行信息交流与互动,很大程度上节省了沟通双方的时间与经济成本。在现在的中国,QQ、微信等聊天工具已成为我们生活中一部分,不论生活工作我们都离不开IM工具。

本系统的客户端为跨平台,不仅在占比大的Android平台适用,iOS以及PC网页都可进行使用,主要面向青少年群体,年龄范围为15-35,以即时通讯为主,用户可在登录后查找好友添加可能认识的好友,范围内扩大交际圈的同时保证用户隐私,风格模块化,符合该群体年轻快节奏等特点。

    1. 研究现状

《即时通讯与人的自由》[1]中指出,在新型方面的即时通信终端领域中,已经形成了通讯终端方面人与人之间相互沟通以及联系的主要方式,不会受到时间因素或是地域因素的影响,打破了传统沟通形式当中时间或是空间方面的局限性,使得人们在时间领域与空间领域中解放。由于信息技术发展极快,人们的沟通需求也在飞速增长,不再满足于e-mail的慢性沟通,他们需要实时的获取消息,所以IM行业的潜力非常大。因此本次毕业设计选择IM为课题。

文章《浅析即时通讯软件业的现状和发展》[2]中阐述了跨平台的重要性,跨平台模式实现了即时通讯软件在计算机与其他通讯终端的运行和对接,在最大程度上为用户的沟通需求提供了便利。随着互联网的发展和移动通讯工具的普及,跨平台模式将成为未来即时通讯的发展趋势。

剩余内容已隐藏,请支付后下载全文,论文总字数:21779字

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

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;