background image

lives, learning and work. Among them, the Internet chat tool becomes an important 
tool  for  daily  communication,  because  of  it’s  low  cost,  fast  communication  and 
facilitate  information  exchange  and  data  transmission.  Currently  used  widely  in  the 
chat tool are Tencent QQ, Net meeting, MSN, etc.

In the paper, firstly I discuss the background of the development of the system 

and  simply  introduce  the  development  tools  and  key  technologies  used.  Secondly  I 
analyze the research and design objectives to the significance of the system. Through 
the system requirements and feasibility analysis, I determine the functional modules 
of  the  system  and  draw  the  corresponding  function  block  diagram,  block  diagram. 
Then according to the results of the overall system design, I design the structural of 
the system.

 

The  development  of  the  Internet  chat  system  is  designed  based  on  open  Java 

application. It can be dynamic, real-time information transfer and efficient interaction 
so  that  it  can  deal  more  effectively  with  customer  requests,  easy  to  maintain  and 
update. The system will use the client / server architecture model, which includes the 
client program and server programs plus server-side database used to store customer 
data.  By  using  the  socket  class  provided  by  java  and  java  multi-threading 
capability , we  can  deploy  various  services  on  a  different  port  and  a  number  of 
different  processes  can  be  run  simultaneously  in  a  single  program.  Clients  send 
information  to  the  server  through  the  socket  in  order  to  achieve  multi-point-to-
multipoint chat.

Key words

:  Java, interactivity, the Socket class, multi-threaded

目录

本次开发的网络聊天系统是基于开放的

JAVA 应用程序设计的,能动态、实时地完成信息

的传递,且具有高效的交互性,能更有效地处理客户请求,易于维护和更新。系统采用
客户机

/服务器的架构模式,由客户端程序和服务器程序外加服务器端用于存放客户数据

II