当前位置:首页 > (完整版)基于Java的网络聊天工具的开发与实现毕业论文设计
优秀论文 审核通过 未经允许 切勿外传
中文摘要
当前是信息网络得到飞速发展的时代,尤其是计算机和通信技术的发展和结合,深深的影响着我们的生活、学习和工作方式。其中,网络聊天工具成为人们日常交流的一种重要工具,它成本低,通信速度快,方便信息交流和资料的传递。目前应用比较广泛的聊天工具有腾讯QQ、Net meeting、MSN等,这些软件简单易用,深受大众喜欢。
在论文中,首先论述了系统的开发背景,并对所用到的开发工具与关键技术做了简单的介绍。接着对系统的研究意义,研究现状及设计目标进行分析,通过对系统需求和可行性进行分析,确定了系统的功能模块,并画出相应的功能结构图、模块图。其次按系统总体设计的结果,对系统进行结构设计。
本次开发的网络聊天系统是基于开放的Java应用程序设计的,能动态、实时地完成信息的传递,且具有高效的交互性,能更有效地处理客户请求,易于维护和更新。系统采用客户机服务器的架构模式,由客户端程序和服务器程序外加服务器端用于存放客户数据的数据库组成,使用Java提供的Socket类以及Java的多线程功能,在不同的端口上部署各类服务,可以在单个程序中同时运行多个不同进程,而客户端通过Socket发送信息给服务器,从而实现多点对多点的聊天。
关键词:Java,交互性,Socket类,多线程
ABSTRACT
The rapid development of the information networks, especially the development and integration of computer and communication technologies, important tool for daily communication, because of it’s low cost, fast communication and facilitate information exchange and data transmission. Currently used widely in the chat tool are Tencent QQ, Net meeting, MSN, etc.
In the paper, firstly I discuss the background of the development of the system and simply introduce the development tools and key technologies used. Secondly I analyze the research and design objectives to the significance of the system. Through the system requirements and feasibility analysis, I determine the functional modules of the system and
draw the corresponding function block diagram, block diagram. Then according to the results of the overall system design, I design the structural of the system.
The development of the Internet chat system is designed based on
open Java application. It can be dynamic, real-time information transfer and efficient interaction so that it can deal more effectively with customer requests, easy to maintain and update. The system will use the client server architecture model, which includes the client program and server programs plus server-side database used to store customer data. By using the socket class provided by java and java multi-threading capability,we can deploy various services on a different port and a number of different processes can be run simultaneously in a single program. Clients send information to the server through the socket in order to achieve multi-point-to-multipoint chat.
Key words: Java, interactivity, the Socket class, multi-threaded
目录
第1章 绪论 .......................................................................................................................................... 1 1.1 课题背景 ..................................................................................................................................... 1 1.2 开发技术 ....................................................................................................................................... 1
1.2.1 Java ......................................................................................................................................
1.2.2 TCPIP ...............................................................................................................................
1.2.3 Socket ...............................................................................................................................
1.3开发工具 ....................................................................................................................................... 5
1.3.1 Eclipse .............................................................................................................................
1.3.2 StarUML .............................................................................................................................
第2章 系统需求分析 ............................................................................................................................ 7 2.1 基本功能需求 .............................................................................................................................. 7 2.2 性能需求 ...................................................................................................................................... 7 2.3 界面需求 ...................................................................................................................................... 7 第3章 系统设计 .................................................................................................................................... 8 3.1 系统功能设计 .............................................................................................................................. 8 3.2 系统总体设计 .............................................................................................................................. 9
3.2.1 系统方案设计 ...................................................................................................................
3.2.2 系统功能模块图 ...............................................................................................................
3.2.3 系统类图 ...........................................................................................................................
3.2.4 系统用例图 .......................................................................................................................
3.2.5 时序图 ...............................................................................................................................
共分享92篇相关文档