【Asp.net精品源码栏目提醒】:本文主要为网学会员提供“【精品】多人聊天系统论文 - 其它资料”,希望对需要【精品】多人聊天系统论文 - 其它资料网友有所帮助,学习一下!
本科生毕业设计 摘 要 在网络越来越发达的今天,人们对网络的依赖越来越多,越来越离不开网络,由此而产生的聊天工具越来越多,例如,国外的 ICQ、国内腾讯公司 基开发的 OICQ。
于 Java 网络编程的强大功能,本次毕业设计使用 Java 编写一个聊天系统。
一般来说,聊天工具大多数由客户端程序和服务器程序外加服务器端用于存放客户数据的数据库组成,本系统采用客户机/服务器架构模式通过Java 提供的 Soket 类来连接客户机和服务器并使客户机和服务器之间相互通信,由于聊天是多点对多点的而 Java 提供的多线程功能用多线程可完成多 点 对 多 点 的 聊 天 , 数 据 库 管 理 系 统 用 SQL Server2000 完 成 并 通 过JDBC-ODBC 桥访问数据库。
本系统建立在 JAVA 平台上,系统的设计使用了面向对象技术和面向对象的设计原则。
系统采用 C/S 结构,客户端与客户端以及客户端与服务器端之间通过 Socket 传送消息。
使用 JAVA 语言编写,开发工具采用 Eclipse。
服务器端设计与实现过程中,采用了多线程技术,可以在单个程序当中同时运行多个不同的线程,执行不同的任务。
大大增强了程序对服务器资源的利用。
聊天系统完成后将可进行多人对多人的聊天,对好友进行添加、删除,对新用户的注册,发送消息、接受消息等等功能。
关键字:多线程 ;客户机/服务器 ;JAVA ; Socket ; Eclipse ; TCP/IP Abstractas the network become more and more developed people become more and morelean to the network and can not leave with out it. This caused the chat materialsbecome more numerous as the overseas ICQ system the OICQ system thatinvented by Tencent Co. and so on. So we create a network chat medium just likethe QQ. Java network programming based on the power the use of Java designedto prepare graduates a chat system.In general the majority of the chat tool for client and server program in additionto server-side storage of customer data for the database the system uses a client /server architecture model the adoption of Java provided Soket class connectclient and server and between the client and server communicate with each otheras the chat is to provide point-to-multipoint and multi-threaded Java function tobe completed by using multi-threaded chat and more point-to-multipointdatabase management system with SQL Server2000 the completion and adoptionof JDBC-ODBC Bridge access the database.The system built on the JAVA platform the system design using object-orientedtechnology and object-oriented design principles. System uses the C / S structureclient and client-side and server-side client and send messages through Socket.The use of JAVA language development tools using Eclipse. Design andImplementation of server-side process the use of multi-threading technologywhich can process in a single run at the same time a number of different threadsthe implementation of different tasks. Procedures greatly enhanced the use ofserver resources.Chat system will allow people to complete chat to more friends,and the systemcan add delete somebody,can deal with new user registration send messagesreceive messages and so on.Keywords : Multithreading Client/Server JAVA Socket Eclipse TCP/IP 目 录1 绪论 ........................................................................................................................................... 1 1.1 国内外聊天系统的研究现状 ..........................