基于Java即时聊天系统的设计与实现-毕业论文

  • 格式:pdf
  • 大小:161.85 KB
  • 文档页数:6

精选范本,供参考!毕业设计设计题目:学生姓名:学院名称:专业名称:班级名称:学号:指导教师:教师职称:学历:精选范本,供参考!目录1前言 ..................................................................................................................................... 5 1.1课题选题背景 ........................................................................................................... 51.2需求分析 .................................................................................................................... 51.3系统设计的要点 ........................................................................................................ 62涉及的相关技术及协议 ..................................................................................................... 6 2.1 Java语言 .................................................................................................................... 62.2 C/S模式介绍 ............................................................................................................. 73系统需求分析 ..................................................................................................................... 8 3.1可行性分析 ................................................................................................................ 83.2系统功能需求 ........................................................................................................... 83.3系统性能需求 ........................................................................................................... 93.4即时信息加密和鉴别 ............................................................................................... 93.5即时通讯系统需求 ................................................................................................... 94系统设计 ........................................................................................................................... 10 4.1即时聊天系统的实施原理 ...................................................................................... 104.2软件设计流程 .......................................................................................................... 11 4.3功能模块划分 .......................................................................................................... 124.4数据库概要设计 ..................................................................................................... 135详细设计 ........................................................................................................................... 13 5.1服务器端的设计与实现 ......................................................................................... 135.1.2主服务器类的设计 ....................................................................................... 135.1.2登录验证模块 ............................................................................................... 155.1.3注册处理模块 ...................................................................................................... 165.2客户端的设计与实现 ............................................................................................. 165.2.1用户注册模块 ............................................................................................... 165.2.2用户登录 ....................................................................................................... 185.2.3在线用户显示设计 ....................................................................................... 195.2.4聊天信息发送与接收 .......................................................................................... 205.3数据库设计 ............................................................................................................. 216结论 ................................................................................................................................... 22 致谢 ....................................................................................................................................... 22 精选范本,供参考!参考文献 ............................................................................................................................... 24 附录 ....................................................................................................................................... 25 精选范本,供参考!基于Java即时聊天系统的设计与实现摘要:网络络聊天工具已经作为一种重要的信息交流工具,受到越来越多的网民的青睐。目前,出现了很多非常不错的聊天工具,其中应用比较广泛的有Netmeeting、腾讯QQ、MSN-Messager等等。该系统开发主要包括一个网络聊天服务器程序和一个网络聊天客户程序两个方面。前者通过Socket套接字建立服务器,服务器能读取、转发客户端发来信息,并能刷新用户列表。后者通过与服务器建立连接,来进行客户端与客户端的信息交流。其中用到了局域网通信机制的原理,通过直接继承Thread类来建立多线程。开发中利用了计算机网络编程的基本理论知识,如TCP/IP协议、客户端/服务器端模式(Client/Server模式)、网络编程的设计方法等。在网络编程中对信息的读取、发送,是利用流来实现信息的交换,其中介绍了对实现一个系统的信息流的分析,包含了一些基本的软件工程的方法。经过分析这些情况,该聊天工具采用Eclipse为基本开发环境和java语言进行编写,首先可在短时间内建立系统应用原型,然后,对初始原型系统进行不断修正和改进,直到形成可行系统关键词:即时通讯系统B/SC/SMySQLSocketSwingAbstract: The rapid development of computer network technology today, more immediate meansofcommunicationbypeopleofallages.Real-timechattoolinachievingthetransmissionofvideoandaudioinformation,sothatmemberscancollaborateremotelyintuitive,realaudioandvisualcommunicationatthesametime,useofmultimediatechnology, it can also help users to work in all kinds of information processing. Study of this issue is to support the exchange of internal network systems - network instant messaging system. The system uses Java programming language. System uses the C / S structure mode, support for LAN and Internet. The system uses the waterfall model of software development projects were discussed system requirements analysis, outline design, detailed design and coding, and run and test the whole system. Finally, the paper concluded. Keywords:Instant Messager; System; B/S C/S MYSQL Socket Swing