学 号 分类号 2009222413 TP311
本科生毕业论文(设计)
题目: 基于java的即时通信软件设计与实现
院 (系) 电子与信息工程系 专 业 电子信息工程 班 级 2009级2班 学 生 姓 名 李 毅 指导教师(职称) 王克刚(副教授) 提 交 时 间 二〇一三年五月
版权声明
任何收存和保管本论文各种版本的单位和个人,未经本论文作者同意,不得将本论文转借他人,亦不得随意复制、抄录、拍照或以任何方式传播。否则,引起有碍作者著作权之问题,将可能承担法律责任。
原创性声明
本人郑重声明:所呈交的学位论文,是本人在导师的指导下,独立进行研究工作所取得的成果。除文中已经注明引用的内容外,本论文不含任何其他个人或集体已经发表或撰写过的作品或成果。对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明,本声明的法律结果由本人承担。
论文作者签名: 日期: 年 月 日
安康学院本科生毕业论文(设计)
基于java的即时通信软件设计与实现
李 毅
(安康学院电子与信息工程系,陕西安康,725000)
摘 要 计算机网络技术高速发展的今天,即时通讯越来越方
便,使得通信软件也变得越来越重要,所以本文做了一个即时通信软件,该软件主要是基于Java平台,采用C/S结构客户端和服务器端通过Socket发送和接收消息,并遵循java的面向对象的设计原则。该软件使用MyEclipse开发工具,服务器端的设计和实施过程中,使用多线程技术,它可以在一个程序中同时运行多个不同的线程,执行不同的任务,大大提高服务器资源的利用率。数据库管理系统用Oracle完成,并通过JDBC桥访问数据库。聊天系统将完成好友登陆、验证登陆、多人互相聊天、新用户注册、添加好友、删除好友、修改个人资料等功能。
关键词 即时聊天;系统;Java;C/S
安康学院本科生毕业论文(设计)
Instant communication software Design and Plementation
Based on Java
LI YI
(Department of Electronic and Information Engineering, Ankang
University, Ankang, 725000)
Abstract With the rapid development of computer network technology
nowadays, instant communication becomes more and more convenient. So software for communication is more and more important at the same time. This paper is about a instant communication software. The software is mainly based on Java platform. using C/S structure, and its client and server receive messages through the Socket to send, objecting the principles of Java. What’s more, My Eclipse is used in the software as the development tools, and in the process of design and implementation, the server uses the multi-threading technology, which can be a number of different threads running simultaneously in a program, making it perform different tasks, and greatly improving the server resource utilization. Database management systems, completes with Oracle, and make an access to the database through the JDBC bridges. Chat system has the function of friends logining. Verifying logining, multi-chat with each other, and the new user registration, add friends, delete friends, modify personal information and other functions.
Key Words Instant Messager; System; JAVA; C/S
安康学院本科生毕业论文(设计)
目 录
第一章 绪 论 .............................................................................................. 1
1.1 引言 .................................................................................................................1 1.2 课题研究背景 ..................................................................................................1 1.3 系统实现的关键技术 .......................................................................................2 1.4 本文工作及内容安排 .......................................................................................3
第二章 系统的需求分析 ............................................................................. 5
2.1 项目设计的需求描述 .......................................................................................5 2.2 服务器端需求 ..................................................................................................5 2.3客户端需求 .......................................................................................................5 2.4 对于发送的消息的一些协议需求 .....................................................................5
第三章 系统设计 ........................................................................................ 7
3.1 软件设计流程 ..................................................................................................7 3.2 即时聊天系统的实施原理 ................................................................................7 3.2.1 工作方式和技术原理.....................................................................................7 3.2.2 通讯方式 .......................................................................................................8 3.3 功能模块划分 ..................................................................................................9 3.3.1 服务器端 ....................................................................................................9 3.3.2 客户端 .......................................................................................................9
第四章 数据库概要设计 ........................................................................... 11
4.1 系统实体及实体关系图 .................................................................................. 11 4.2 用户表 ............................................................................................................ 12 4.3 好友表(friends) .............................................................................................. 12 4.4 在线状态表(logtype) ...................................................................................... 13 4.5 登陆表 ............................................................................................................ 13 4.6 离线信息表 .................................................................................................... 13
第五章 详细设计 ...................................................................................... 15
5.1 服务器端的设计与实现 .................................................................................. 15 5.2 用户注册模块 ................................................................................................ 16 5.3 登陆模块 ........................................................................................................ 17 5.3.1登录模型图 ............................................................................................... 17 5.3.2登录验证 ................................................................................................... 17
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新教学研究毕业论文终稿1-09级-电子信息程(2)班-李毅113 全文阅读和word下载服务。
相关推荐: