xx化工大学学士学位论文
xxx化工大学
本科毕业论文
题 目: 通讯系统
院 系:计算机科学与技术学院 专 业:软件工程 班 级:软件1101班 学生姓名:xxx 指导教师:xxx
论文提交日期: 2009年6月 10日 论文答辩日期: 2009年6月 29日
―I―
xx化工大学学士学位论文
内容摘要
在网络飞速发展的今天,互联网成为人们快速获取、发布和传递信息的重要渠道,它在人们政治、经济、生活等各个方面发挥着重要的作用。互联网上存在大量的信息所以信息交换也显得尤为重要。人们一直在寻找一种方便、低廉的交流信息的工具,因此网上聊天便成为人们的首选。本论文通过JAVA的Socket实现了一个局域网的聊天室——基于JAVA的聊天室的设计与实现。本聊天室服务器包括显示在线用户、日志管理、聊天信息管理、发送系统信息等功能。客户端包括登录、注册、公聊、私聊传送文本文件等功能。
本论文使用的是JAVA语言, JAVA丰富的类库提供了大量的类来满足网络化、多线程、面向对象系统的需要。语言包提供的支持包括字符串处理、多线程处理、数学函数处理等,可以用它简单地实现JAVA程序的运行平台。实用程序包提供的支持包括哈希表、堆栈、可变数组、时间和日期等。输入输出包用统一的流模型来实现所有格式的I/O,包括文件系统、网络、输入低级网络包用于实现Socket编程。抽象图形用户接口包实现了不同平台的计算机的图形用户接口部件,包括窗口、菜单、滚动条、对话框等,使得JAVA可以移植到不同平台的机器,并且简化了用户/服务器模型的程序设计。
本论文提出一个局域网聊天软件的解决方案。该聊天软件包括服务器端和客户端两个模块,客户端通过服务器端进行通信。服务器端模块主要实现了服务器的配置和数据的传递以及日志的保存;客户端模块主要实现了用户注册、登录、文字聊天、.txt文件的传送与接收功能。
该软件能够帮助企业在局域网内搭建起自己的聊天系统,避免企业内部员工使用类似QQ等软件泄露内部信息,同时为了提高员工的工作效率本系统舍弃与以往聊天软件相比下的娱乐功能,虽然乏味但却适用。该软件只实现了聊天的基本功能,还有很多不足之处需要改进。
【关键词】因特网 聊天室 JAVA 套接字
―II―
xx化工大学学士学位论文
ABSTRACT
In network rapid development today, the Internet become the important channel for people to quickly get, publish and transfer information, it in people politics, economy, life and others aspects plays an important role. There is a lot of information on the Internet so the exchange of information is particularly important. People have been looking for a convenient, inexpensive communication of information tools, so online chat will become a priority t choice for most people. This paper, by JAVA Socket realizes a LAN chat room - design and realization of chat room based on JAVA. This chat room server includes the functions of showing the online users, log management, chat information management, sending system information and so on.. The client includes login,registration,male chat,private chat transmit text files, and other functions. This article uses JAVA language, that owns various class to meet different needs of the network, multithreading, object-oriented system. Language packs provide string processing, multithreading processing and mathematical processing. We can use it to simply realize the operation platform for Java program. Utility package provides support which includes hash table, stack, variable array, the time and date, etc. Input and output package are both bases on ‘flow’ model to realize all formats of I/O, including the file system, network, input low-level network packet which used to implement the Socket programming. Abstract graphic user interface package implements graphical user interface components of computers in different plantform, including windows, menus, scroll bar, dialogs, etc., which enables Java to transplant to machines in different plantforms and simplifies the progarmming design of user/server model.
In this article I present a solution to LAN chat software. This software is made up of two modules: server and client. The serve implements communicate by client. Serve module mainly realizes the server\'s configuration, transmission of the data and the save of the log. The client module mainly realizes user register, login, text chat and the send and the receive of TXT files.
This software can help companies build up their own chat system within the local area network, avoiding internal staff leak internal information by using software like QQ and MSN. Meanwhile, compared with traditional chatting software, this software abandons entertainment function in order to improve the work efficiency of employees. Boring but applied. This software only implements some basic functions of chatting, there are still many deficiencies need to improve.
Key words:Internet chat rooms java socket
―III―
xx化工大学学士学位论文
目 录
第一章 绪论 ................................................................................................................................................ 6
1.1 开发背景 ............................................................................................................................................. 6 1.2 国内外发展状况 ................................................................................................................................. 6 1.3 系统设计目标 ..................................................................................................................................... 6 1.4 研究的意义 ......................................................................................................................................... 7 第二章 系统开发所采用的技术 ................................................................................................................ 8
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新高等教育通讯系统软件工程本科论文全文阅读和word下载服务。
相关推荐: