1、 毕业论文毕业论文 聊天系统聊天系统的设计与开发的设计与开发 摘摘 要要 从实际工程应用角度出发,以计算机网络原理为指导,结合当前网络中的一些 常用技术开发了本聊天室工具.该工具具有聊天室聊天、二人私聊、表情的应用以及 请离用户的功能.论文主要对当今聊天软件的发展情况、与该聊天软件相关的各种技 术以及该聊天工具的实现做了一个详细的阐述. 本聊天室设计初衷是为软件开发人员在局域网中方便交流,减少成本,消除由 于交流不同带来的开发成本上升.作为计算机网络的应用之一聊天工具,受到了用 户的普遍爱好,它把人们带进了一个虚拟的网络世界,大大的加深了人们之间的联 系.它将会作为未来人们通过因特网相互联系和
2、娱乐的主要平台.聊天工具的开发主 要用到了网络通信技术、语音的采集、压缩、传输、解压缩以及回放等技术, 文件传 输技术、windows 的多线程技术以及视频的采集、压缩解压缩技术等.本软件基于 Socket 通信,在此基础上,实现点对点聊天、广播聊天、一对多聊天、悄悄话以及表 情,可以运行于任何支持 TCP/IP 协议的机器上.用到了多线程的设计,因此线程之间 的同步是一大关键之处.由于系统采用 C/S(Client/Server)结构,客户端与客户端以 及客户端与服务器端需要传送一些控制消息,因此系统需要自定义一些消息类型,这 是该聊天工具的又一大关键之处. 关键词 : :网络通信;Thre
3、ad;Socket;GUI Abstract From actual project application angle embarking, take the computer network principle as the instruction, in the union current network some commonly used technology development this chat room. This software has the chat room to chat, two people private to chat, the expression a
4、pplication as well as kick out users function.The present paper mainly to current chats softwares state of play, with to chat the software related each kind of technology as well as how does this chat room to realize has made a detailed elaboration. The original design intention of this chat room is facilitates the exchange for the software developers in the local area network, reduces the cost, eliminates, because exchanges the development cost rise which brings differently. Chat room is o