基于JAVA局域网聊天程序设计与实现

2018-11-17 19:18

毕 业 设 计(论 文)

基于JAVA的局域网聊天程序设计与实现

学生姓名: 王若曦 学 号: 0515031110 所在系部: 信息工程系 专业班级: 05gb计算1班 指导教师: 谢芳 讲师 日 期:

二○○九年六月

i

工程技术学院毕业设计(论文)专用纸

摘 要

随着互联网的发展,网络聊天工具作为一种交流工具,已经受到网民的青睐。目前,出现了很多功能强大的聊天工具,其中应用比较广泛的有腾讯QQ、MSN-Messager等等。

即时通讯软件,是每一个上网用户都需要的工具,它除了能够让您迅速地在网上找到自己的朋友和伙伴之外,还可以实时交谈和传递信息,截止到目前,全球约有近3亿多人使用即时软件,正因为即时通讯软件拥有数以亿计的用户和增长的市场,所以各个公司都盯上了这个最大的市场,一时间,即时通讯市场硝烟四起。

对等网络(peer-to-peer,简称P2P),应用最初出现时和现在并不相同。事实上可以认为它是若干不同技术以及流行趋势相结合的产物。以下是导致P2P技术发展最重要的趋势:首先,一些新技术与软件工程的结合,形成了一种将工作分散的趋势。P2P计算正是这种分散工作趋势的结果。其次,在企业应用集成等因素的驱动下,过去十年渐渐形成从集中的单机系统转向分布式系统。然而随着互联网的发展,全面的分布式计算也就成为一种迫切需求。

关键词:局域网 聊天 P2P java

i

工程技术学院毕业设计(论文)专用纸

Abstract

With the development of the Internet,the chat tool as a communication tool, has been popularly accepted by netizens of all ages. At present, there are many powerful chat tools, of which Tencent QQ, MSN-Messager are much more prevalent.

Instant messaging software is necessary for every one who connects to the internet, which can not only provide you a prompt way to find friends and partners online, but can provide you the convenience of internet relay chat and information delivering. Up to now, there are about 300 million people using real-time software all over the world. As more and more corporations have focused on this market with growing potential, which has hundreds of millions of uses, the competitions among these corporations are extremely fierce.

The initial application of peer-to-peer network (peer-to-peer, referred to as P2P) is not the same as it is now. In fact, it can be regarded as a combination of different technologies and fashion trends. Below are the most important trends that have led the development of P2P technology: First of all, the integration of software engineering and new technologies led to a working dispersion trend. As a result, P2P computing was born. Then, in the past decade, it has turned fro m a single centralized system to distributed system due to the motivation of factors such as enterprise application integration. At last, with the development of the Internet, however, a comprehensive distributed computing has become an urgent need.

Keywords: LAN chat P2P java

ii

工程技术学院毕业设计(论文)专用纸

目 录

摘 要 ..................................................................................................................................... i Abstract .....................................................................................................................................ii 1

绪论 ..................................................................................................................................... 1 1.1 JAVA的网络功能与编程 ····························································································· 1 1.1.1 JAVA概述 .............................................................................................................. 1 1.1.2 JAVA的特点 .......................................................................................................... 3 1.1.3 JAVA语言在网络上的应用 .................................................................................. 6 1.2 JAVABEANS技术 ················································································································ 6 1.3 IP/TCP协议常识··········································································································· 6 1.4 SOCKET的简介 ················································································································· 7 1.5 对等网络························································································································ 8 1.5.1 对等网络发展历史 ............................................................................................... 8 1.5.2 对等网络的概念 ................................................................................................... 9 1.5.3 对等网络的主要系统结构 ................................................................................... 9 2 JAVAqq局域网聊天程序的需求分析 ............................................................................... 13 2.1 课题来源······················································································································ 13 2.2 需求分析······················································································································ 13 3 JAVAqq局域网聊天程序的系统分析与设计 ................................................................... 15 3.1 JAVAQQ局域网聊天程序的总体设计要点·································································· 15 3.2 JAVAQQ局域网聊天程序的设计步骤及功能模块划分·············································· 15 3.3 JAVAQQ局域网聊天程序各功能模块·········································································· 16 4 JAVAqq局域网聊天程序的设计与实现 ........................................................................... 24 4.1 开发环境工具·············································································································· 24 4.2 硬件环境······················································································································ 24

工程技术学院毕业设计(论文)专用纸

4.3 聊天系统功能模块的测试·························································································· 24 结 论 .................................................................................................................................. 28 致 谢 .................................................................................................................................. 30 参考文献 .................................................................................................................................. 31 附录 A 程序源代码 ............................................................................................................ 32

ii


基于JAVA局域网聊天程序设计与实现.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:怀山药GAP基地建设可行性研究报告

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: