1、 本科毕业论文(设计) 题 目 高校局域网聊天室系统的设计与实现 院(系) 计算机与信息工程学院 专 业 计算机科学与技术 学生姓名 学 号 指导教师 职称 讲 师 论文字数 完成日期: 2014 年 5 月 25 日 摘摘 要要 近年,随着全球信息化程度的加深,局域网的发展也同样迅速, 很多政府机构、企业、学校,最先都是以一个统一的局域网联结在一 起, 再接入 INTERNET。 为了越来越高效、 快捷地处理各种内部事务, 公司对于使用局域网来进行工作提出了越来越迫切的要求。 并且出于 安全考虑,机构内部也需要构建一种聊天机制,以便于内部的人员信 息交流与文件的传输。 本系统通过 Java
2、的网络编程实现了一个基于局域网的聊天室系 统。该局域网聊天室采用客户端/服务器(C/S)模式,运用了 Java 的 socket 技术,JDBC 等技术。本系统基本上具有聊天软件的大多数功 能,如注册帐号、多帐号登录、离线发消息等。 关键字:关键字:高校局域网聊天室系统;TCP/IP ;Java;Mysql Abstract In recent years, with the degree of global information, the development of local area network (LAN) is also quickly. Many government age
3、ncies, enterprises, schools, the first is based on a unified together, local area network (LAN) connection to access the INTERNET. In order to more and more efficient, fast to deal with all kinds of internal affairs, the company for the use of local area network (LAN) to work has become more and mor
4、e urgent requirements are put forward. And for security reasons, internal agency also needs to build a chat mechanism, so that the internal personnel information exchange and transmission of files. The system through the Java network programming implements a system based on LAN chat room. The LAN ch
5、at room adopts client/server (C/S) model, using the Java socket technology, such as JDBC technology. This system basically has the function of most of chat software, such as registered account, account login, offline messages, etc. Keywords:Universities LAN chat room system ;TCP/IP ;Java ; Mysql 目目
6、录录 第 1 章绪论 1 1.1 系统开发背景 . 1 1.2 系统开发目标 1 1.3 开发工具和开发环境 1 1.3.1 MyEclipse 2013 . 1 1.3.2 MySql 2 1.3.3 Navicat for MySql . 2 1.3.4 JDK(Java Development Kit) . 2 第 2 章系统分析 3 2.1 需求分析 3 2.2 可行性研究 3 2.2.1 经济可行性 3 2.2.2 技术可行性 3 2.2.3 操作可行性 4 2.3 系统功能分析 4 第 3 章系统总体设计 6 3.1 系统总体结构模型 6 3.2 数据库设计 7 3.3 界面设计 9 第 4 章系统实现 11 4.1 服务器模块 11 4.1.1 监听模块 11 4.1.2 与客户端连接的模块 . 12 4.2 客