随着网络通信和计算机技术的发展,人们越来越希望能够即时发送和接收互联网消息。与此同时随着互联网的发展在HTML5中提出了websocket协议,能更好的节省服务器资源和带宽并且服务器和浏览器能够双向实时通讯。为了能让用户体验传统客户端和web带来的即时通信结合的超爽体验,本次毕业设计将完成web端和客户端之间的即时通信系统,并利用在大学所学的知识打造高性能,高并发,高可拓展性服务器。同时更是为了方便人们之间的信息交流,让用户随时的接入即时通信,提升人们生活的效率。
该按照软件工程思想采用面向对象和模块化设计方法设计。其中采用了网络通信技术、数据库技术,多线程技术和信息安全技术的基础上设计并实现新型即时通信系统。该系统为用户提供点对点私聊,群聊,离线消息,消息提示于一体的即时通信平台。
关键字:即时通信;高性能;高并发;TCP/IP;Websocket
With the development of network communication and computer technology, more and more people want to be able to send and receive instant messages on the Internet. At the same time with the development of the Internet in HTML5 websocket Protocol is proposed, to better conserve server resources and bandwidth and the server and the browser is capable of two-way communication in real time. In order to make the user experience of traditional Web and client of instant messaging with super-cool experience, this design will complete instant communications between the Web server and client systems, and use the knowledge learnt at University to create a high performance, high concurrency, highly scalable server. But in order to facilitate the exchange of information between people, allowing users to access instant messaging at any time, make people's lives more efficient.
According to the software engineering design method of object-oriented and modular design. Which uses the network communications, database technology, multi-thread technology and information security technology designed and implemented on the basis of a new instant messaging system. The system provides a point-to-point private chat, group chat, offline messages, a message in one of the instant messaging platform.
Keywords: Instant Messaging; high-performance, high concurrency; TCP/IP;Websocket
目录