基于Socket网络聊天系统的设计与实现本科毕业设计.doc

基于Socket网络聊天系统的设计与实现本科毕业设计.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于Socket网络聊天系统的设计与实现 摘 要 随着Internet的飞速发展,网络聊天以其操作简单、方便快捷、私密性好等优点已经迅速发展成为最普遍的网络交流方式之一,越来越受到人们的青睐,丰富了人们的网上生活。开发并实现具有自身特色的网络聊天系统具有实际应用价值。 本网络聊天系统基于Java应用程序设计,以Client/Server为开发模式,以Eclipse为开发环境,以MySQL为后台数据库,利用JDBC连接数据库。系统主要包括服务器模块和客户端模块,服务器模块能够对客户端发来的用户信息进行匹配、读取和转发;客户端模块能够进行注册、登录、聊天和文件传输。系统不但实现了点到点的聊天,还利用Java提供的Socket类和多线程功能,在单个程序中同时运行多个不同进程,从而实现多点对多点的聊天。 总之,该聊天系统具有开放性,实时性,多话题交错等特点,方便了人们网上交流。 【关键词】网络聊天 服务器模块 客户端模块 Socket ABSTRACT With the rapid development of Internet, network chat with its simple operation, convenient and gond privacy has quickly become the most popular way of communication networks, more and more people like it, enrich peoples online lives. Development and Realization of the network chat system with its own characteristics and has practical application value. The Internet chat system is based on Java application, designed by Client / Server as the development of models, as Eclipse development environment, MySQL as the backend database, and using JDBC to connect database. The system includes server modules and client modules, server module can match users data, read and forward the information which is sent by client; client module to regist, login, chat and file transfer. The system not only achieves peer-to-peer chat, but also use the Java provids Socket class and multi-threading capabilities, in a single program run different processes at the same time, in order to achieve multipoint chat. In short, the chat system is open, real-time and multi-topic staggered features, easy for people to communicate online. 【Key words】Network Chat Client Module Server Module Socket 目 录 前 言 1 第一章 系统开发工具简介 2 第一节 客户机/服务器模型 2 第二节 JAVA简介 3 第三节 Socket简介 4 第四节 Eclipse简介 7 第五节 MySQL简介 8 本章小结 9 第二章 系统分析 10 第一节 可行性分析 10 第二节 业务流分析 11 第三节 需求分析 11 一、系统设计目标 11 二、系统功能需求 12 本章小结 13 第三章 系统概要设计 14 第一节 系统总体描述 14 第二节 模块设计 15 第三节 数据库设计 16 一、 设计原则 16 二、 具体步骤 17 本章小结 18 第四章 系统实现 20 第一节 数据库模块实现 20 一、 数据流图 20 二、数据库的连接 20 第二节 注册模块实现 21 第三节 登录模块实现 23 第四节 聊天模块实现 24 第五节 文件传输

文档评论(0)

追风少年 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档