局域网聊天系统的设计与实现论文.doc
文本预览下载声明
局域网聊天系统的设计与实现
毕业论文
目 录
1 绪论 1
1.1引言 1
1.2国内外聊天系统的研究现状 2
1.3 Java语言 3
1.3.1 Java的发展历史 3
1.3.2 Java的特点 6
1.3.3 Java与Internet 7
1.4 Socket编程 8
1.4.1 关于TCP/IP协议 8
1.4.2 服务器和客户机 9
1.5本文内容安排 9
2 需求分析 10
2.1需求 10
2.1.1 可行性分析 10
2.1.2系统功能需求 10
2.1.3 系统性能需求 11
2.1.4 系统运行需求 11
2.2 数据流图 11
2.2.1 顶层数据流图 11
2.2.2 一层数据流图 12
2.2.3 二层数据流图 12
3 概要设计 13
3.1系统实现原理 13
3.2 系统实现层次图: 14
3.3各模块详细功能 14
3.3.1服务器端结构 14
3.3.2 客户端结构 15
3.4 数据库的设计 15
3.5聊天界面设计 16
4 详细设计 18
4.1 系统流程图 18
4.1.1 系统服务器端流程图 18
4.1.2 系统客户端流程图 18
4.2 系统的实现 19
4.2.1 问题陈述 19
4.2.2 解决方案 19
参考文献 28
总结..............................................................29
致谢.............................................................. 30
局域网聊天系统的设计与实现
2007级网络工程
指导教师
【摘要】本文详细介绍了局域网聊天系统的开发和过程,由于现在网络技术发展十分迅速,聊天系统可以方便快捷的解决通讯问题,因此格外受人亲睐。本项目采用软件工程的方法,综合运用数据库技术、程序设计技术、网络技术,以java为开发语言以eclipse开发工具作为系统前台应用程序开发工具。此局域网聊天工具采用客户端/服务器(C/S)模式和TCP连接。在本设计中,用多线程实现了不同的并行任务并进行了人性化的界面设计使用起来更加方便功能合理。最终实现了单人通信,多人通信。该系统操作简单,灵活,稳定。
【关键词】多线程客户机/服务器he design and implementation of the LAN chat system
【Abstract】This paper introduces in detail the development and chat systems LAN process, because now network technology is developing very rapidly, and chat system can solve the problem, convenient communication, so extraordinarily popular kiss ignorance. The project adopts the method of software engineering, the integrated use of database technology, program design technology, network technology, eclipse development tool to Java language as a system receptionist application development tools. The LAN chat by client/server tool (C/S) mode and TCP connection. In this design will client and server in a program inside, integrated with multi-thread achieved different parallel task and human interface design use rise more convenient function is reasonable. Finally achieved LAN communications. This system operation simple, flexible and steady.
【Key words】multithreadingClient/server ;JAVA ; Socket ; Eclipse ; TCP/IP
1 绪论
1.1 引言
局域网通讯(Local Network,简称LNLNIM)是
显示全部