基于AJAX的即时聊天系统毕业论文

 2021-04-10 11:04

摘 要

近年来计算机技术的快速发展,特别是计算机网络的发展,越来越深刻的改变了人们生活的方方面面。使得人们能以更低廉的价格,开发出更方便、更实用的网络工具。各种在线服务系统,更是深刻的影响了人们的联系方式,使得人们可以在远隔千里之遥随时通讯。

即时通信是一个即时通信网络的服务。即时通信不同于e_mail在于它的交谈是实时的。以信息安全为基础,以数据整合为核心,开发无须专门客户端软件,维护和升级方便,可跨平台操作,任何一台机器只要装有浏览器软件,均可作为客户机来访问,具有良好的开放性和可扩充性,可采用防火墙技术来保护系统的安全性,有效地满足当前用户的新需求。

本系统是利用J2EE与数据库技术结合开发的一个异步聊天系统。主要包括用户登录、用户注册、添加好友、删除好友、管理黑名单、广播消息、单播消息、管理群等模块,可以按照用户ID号精确查找、按照用户名模糊查找、按性别查找、按照用户所属省市查找用户好友并添加其为好友,也可以将好友拉入黑名单。

关键字:即时聊天系统,AJAX,Servlet,Jsp

abstract

Rapid development of computer technology in recent years, especially in the development of computer networks, more and more profound change in people’s lives. Makes it more affordable price to develop a more convenient and useful network tools. A variety of online services system, it is a profound impact on people’s contact information, so people can communicate at any time while miles away.

IM is an instant communication network services. IM is different from the e_mail is that it is real-time conversation. Based on information security, data integration as the core, no special client software development, maintenance and upgrades easy to be cross-platform operation, how long a machine equipped with browser software, can be used as client to access, with good The openness and scalability, firewall technology can be used to protect the security of the system, to effectively meet the new demands of the current user.

This system is the use of J2EE and database technologies developed an asynchronous chat system. Including user login, user registration, add friends, remove friends, manage blacklist, broadcast messages, unicast messages, management group and other modules, you can find exactly according to the user ID number, in accordance with the user name fuzzy search, sex search, respective provinces and cities according to the user to find friends and add the user as a friend, you can be friends pull into the blacklist.

KeyWords: Real-time chat,AJAX,Servlet,Jsp

目录

第一章 前言 5

第二章 系统分析 7

2.1 可行性分析 7

2.2 需求分析 7

第三章 系统概要设计 10

3.1 项目规划 10

3.2 系统的逻辑架构 10

3.3 系统功能结构图 11

第四章 系统详细设计 13

4.1 设计目标 13

4.2 开发环境 13

4.3 系统类设计 14

4.4 数据库设计 15

第五章 关键模块及代码 21

5.1 程序运行时与数据库的连接 21

5.2 进入聊天系统界面设计 22

5.3 注册聊天系统界面设计 22

5.4 登录聊天系统界面设计 23

5.5 成功登录聊天系统界面设计 24

5.6 搜索好友界面设计 26

5.7 创建群界面设计 29

5.8 搜索群界面设计 30

5.9 聊天界面设计 31

5.10 用户之间聊天界面设计 32

第六章 结论 34

致 谢 36

参考文献 37

第一章 前言

聊天室是当今广泛应用的一种网络服务, 它为广大网民提供了一种方便快捷的沟通方式, 在线聊天是上网的重要活动之一。

第十六次CNNIC 调查结果显示: 在网络用户经常使用的网络服务/功能调查中, 网上聊天( 聊天室、QQ、ICQ 等)占被调查人群的42.6%, 处于第四位, 作为操作简便也是出现最早的网上聊天方式, 聊天室聊天又是其中最普及的一种。

在网站由窄带向宽带发展的今天, 新一代的聊天室充分利用富媒体技术, 以崭新的形象吸引受众视听。

文本方式聊天室: 基于Web 的聊天室有其独特的优势。它不需要安装专门的软件,Web 浏览器就可以使用聊天服务;它集成在Web 服务器中,不需额外的硬件支持,便于广大中小型客户建设和使用。所以, 基于Web 的聊天室仍然被广泛采用。但是单纯聊天的一般内容比较单一,主要局限于角色认知过程中职业、地域、性别等方面的扩展,难以实现“失去他人注视的真实自我的展现”。

视频聊天室、语音聊天室、动画聊天室: 随着富媒体技术的广泛应用, 一种结合文本、语音和人脸动画或视频的三维语音视频聊天室在互联网上出现。比如碧聊、E 聊视频聊天室等。

复合聊天室: 典型代表是UC 聊天室, 它打破了传统IM软件主要用于文字通讯的单一模式, 将有声有色、图文并茂的场景融入聊天模式, 加之视频电话、可断点续传的文件传输、消息群发功能和在线游戏功能以及同学录( 团体) 等有机结合, 形成一个完整的网上即时通讯娱乐平台, 带来聊天新感觉。

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

课题毕业论文、开题报告、任务书、外文翻译、程序设计、图纸设计等资料可联系客服协助查找,优先添加企业微信。