java语言与系统设计_基于Java语言的在线聊天系统的设计与开发.doc

基于Java语言的在线聊天通讯系统的设计与实现

摘 要

随着网络的逐渐普及,网络即时通讯(IM)技术也随之迅速发展。网络即时通讯系统是为了满足异地用户之间必要的网络通讯而设计的一套系统,人们最为熟悉的QQ和ICQ就是这类系统的典范,其通讯机制是在通讯双方认可的条件下进行即时的信息传输和交流。本文立足于用Java语言来实现这一系统,Java的与平台无关特性为该系统的跨平运行提供支持,同时其超强的网络编程能力和丰富的API系列的类和接口,使其能够在网络中处理复杂数据,较容易实现多种网络应用功能。本文从即时通讯系统的服务器与客户端的角度出发,分析了系统的应用需求、功能模块、数据库、通讯机制等,重点讨论了基于Java语言Socket通信方法、及其应用于C/S即时通讯系统中的工作原理和实现过程,并以Java语言实现了一个在线的聊天室系统。

关键词 网络;即时通讯;Java;Socket;C/S;在线聊天

Design and Realization of Online Chat Communication System Based on Java

Abstract

With the increasing popularity of network,the technology of Instant messaging is also rapid developmented. Instant communication system of network is a set of system to satisfy customers’ the necessary network communication which from different places, The most familiar ICQ and QQ is just an example of such systems,which can carry on instant communication and transmission information under the condition of approvement from two parties. This text, based on the Java programming language to realize the system,one of the characteristics which has nothing to do with the OS could support the system performance everywhere.At the same time ,it’s Super network programming capacity , a series of rich API classes and interfaces could deal with many complex data in the Internet,and also could easily achieve a variety of network application functions. This paper analyzes the structure of the application need、function mold piece, the system database,mechanic design of the communication and so on. In particular discussed the Socket Communication based on Java language and the work Principle and the realization process in C/S Internet Synchronous Communication System。Finally, we realized a online chat system which based on the Java programme.

Kyewords network;Instant messaging;Java;Socket;C/S;chat-online

目 录

TOC \o "1-3" \h \z \u HYPERLINK \l "_Toc305951717" 摘 要 PAGEREF _Toc305951717 \h 1

HYPERLINK \l "_Toc305951718" Abstract PAGEREF _Toc305951718 \h 2

HYPERLINK \l "_Toc305951719" 1 前言 PAGER

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值