基于Java时聊天系统的设计与实现.docVIP

  • 3
  • 0
  • 约28.99万字
  • 约 124页
  • 2017-06-11 发布于河南
  • 举报
基于Java时聊天系统的设计与实现

本科毕业设计(论文) 基于Java即时聊天系统的设计与实现 学 号:05 学生姓名:何晶 指导教师:范忠诚 所在学院:计算机科学技术学院 所学专业:计算机科学与技术专业 2016年 6月 摘 要 伴随着互联网的高速发展,产生了一系列与互联网相关的新鲜事物,即时聊天系统就是其中最具代表性的产物。即时聊天系统经过不断地发展,凭借其迅速、便捷、即时的特点,逐渐成为一种重要的信息交流工具,受到越来越多的网民的青睐。即时聊天系统开发主要包括两个方面:即时聊天系统服务器端设计、即时聊天系统客户端设计。即时聊天系统服务器端设计主要通过Socket套接字建立服务器,服务器能够读取和转发从客户端发来的信息,并且能够刷新用户列表。即时聊天系统客户端设计主要通过与服务器建立连接,从而使服务器端与客户端的信息进行交流。在这里,网络通信机制原理得到了运用,通过直接继承Thread类来建立多线程。同时,开发中利用了计算机网络编程的基本理论知识,如TCP/IP协议、客户端/服务器端模式(Client/Server模式)、网络编程的设计方法等。在网络编程中利用流来实现信息的交换,从而读取和发送信息。即时聊天系统采用myeclipse为基本开发环境和java语言进行编写,通过不断修正和改进初始原型系统,直至此系统完全可行为止。 关键词:即时聊天系统;套接字;Java Abstract Along with the high-speed development of Internet, produced a series of new things related to the Internet, instant messaging system is the product of one of the most representative. Instant messaging system through constant development, with its fast, convenient, real-time characteristics, becoming an important communication tool, get the favour of a growing number of Internet users. Instant messaging system development mainly includes two aspects: instant messaging system server client, instant messaging system design. Instant messaging system design mainly through the Socket server Socket server, the server can read and forward from the clients information, and be able to refresh the user list. Instant messaging system design mainly by the client and the server connection is established, which makes the server to communicate with the clients information. Here, the principle has been using network communication mechanism, through direct inheritance for building a multithreaded Thread class. At the same time, the use of computer network programming in the development of the basic theory of knowledge, such as TCP/IP protocol, Client/Server mode (Client/Server mode), network programming design method, etc. Using flow in network programming to achieve the exchange of information, so as to read and send information. Instant messaging sys

文档评论(0)

1亿VIP精品文档

相关文档