cs架构的即时聊天系统的设计与实现毕业设计.doc

cs架构的即时聊天系统的设计与实现毕业设计.doc

  1. 1、本文档共49页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
cs架构的即时聊天系统的设计与实现毕业设计

C/S架构的即时聊天系统的设计与实现 摘要:随着信息时代的飞速发展,尤其是互联网技术的兴起,使人们愈来愈倾向于通过网络来交流、传递消息。网络即时系统正是这样一个被广泛应用的媒介。借助它,人们可以方便地进行实时对话,文件传送等。本文以一个“即时通讯系统”的设计和开发为背景,详细介绍了以Java语言和MySql数据库为平台开发软件系统的过程。系统的实现是基于TCP/IP通信协议,使用的是客户端/服务器模式,用到了Java里面的Swing、多线程、JDBC、Socket等高级编程技术。通过直接使用Java提供的ServerSocket和ObjectInputStream等类将客户端和服务器端发送的各类消息封装成统一的数据流以实现消息的交换。本系统的开发过程遵循了基本的软件工程学的方法,实现了即时通讯、群组聊天、文件传送等功能。 关键词:Java;数据库;Socket编程;即时通讯系统;TCP/IP协议 The Instant Messaging System based on C/S Structure Abstract: With the rapid development of the information age, especially the rise of internet technology, more and more people tend to communicate and deliver the messages through the internet.Instant messaging system is such a widely used medium. With it,the real-time dialogue and file transfer can be easily carried out. Taking the design and development of the instant messaging system as the background , this article describes in detail the process of developing software systems with Java and MySql. The realization of the system is based on the TCP / IP communication protocol, and uses a client / server mode .Many advanced java technologies such as Swing ,java multi-threading, JDBC, socket programming and so on are used. By directly using the ServerSocket ,ObjectInputStream and other classes supported in Java API, messages sented by the client and server side are packaged into a uified data stream in order to achieve the exchange of messages. The whole development process of this system follows software engineering methods,and instant messaging, group chatting, file transferring and other functions are realized. Keywords: Java; database; Socket programming; instant messaging system; TCP/IP protocol 目 录 第一章 引言 1 1.1选题背景和意义 1 1.2本文的主要工作 2 第二章 基于C/S架构的即时通讯系统概述 3 2.1系统的可行性分析 3 2.2系统的实现目标和基本功能 4 2.3系统开发环境和关键技术介绍 4 第三章 基于C/S架构的即时通讯系统设计 9 3.1系统详细设计 9 3.1.1 系统总体流程图 9 3.1.2 系统总体功能模块划分 10 3.1.3 系统用例图 11 3.1.4 系统数据流图 13 3.2 数据库设计 14 3.3 系统关键类结构设计 19 第四章 基于C/S架构的即时通讯系功能实现 24 4.1注册模块功能实现 24 4.2登录模块功能实现 26 4.3聊天模块功能实现 28 4.4文件传送

文档评论(0)

海纳百川 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档