文档详情

基于VC的网络即时通信软件的设计与实现.docx

发布:2018-02-01约4.15万字共56页下载文档
文本预览下载声明
摘 要随着互联网技术的飞速发展基于网络的即时通信软件给我们带来诸多便利,也成为当今网络应用的主流。聊天工具作为当今使用最为广泛的即时通信工具之一,可以方便人们随时随地进行在线交流。本文就是模拟QQ聊天软件,开发一个包括文字聊天、文件传输等功能的聊天软件。本文首先针对网络即时通信系统的功能需求进行了分析,然后按照系统的功能需求对系统的体系结构进行了设计,并针对各个功能模块的执行流程进行了详细的分析。系统采用功能强大的VC++作为开发平台,以C/S模式作为开发模式,客户端实现了用户注册、用户登录、用户信息查询、个人信息修改、查看在线人员、消息传送以及文件传输等功能,服务器端实现了服务启动停止、用户信息管理和数据消息处理等功能。在系统实现过程中,将客户端与服务器端的功能分别实现,着重研究如何运用Socket编程技术和TCP/IP协议来实现通信交流,并采用多线程实现不同的并行任务。本系统最终能够应用于网络环境,应用数据库对通信用户及通信消息等进行管理。关键词:网络即时通信系统;VC++;C/S模式;Socket编程AbstractWith the rapid development of Internet technology, the Chat Software of the instant messenger based on network brings many conveniences to us, also becomes the focus of network application in present. Chat is one of the most widespread instant messengers, may facilitate the people to carry on the online information exchange at anytime and anywhere. This project develops chat software, which includes the writing and file transfer and so on.Firstly, analysis of functional requirements for instant network messaging system, and then follow the systems functional requirements, system architecture design, and carried out a detailed analysis of the implementation process for each functional module. System uses a powerful VC + + as a development platform, C / S model as a development model, the client achieve the user registration, user login, user information to view, personal information changes, messaging and file transfer and other functions, the server side to achieve the service start and stop the line to view the user information management and data messaging functions.In the process of system implementation, the client and server side function respectively, this paper studies how to use the Socket programming technology and TCP/IP protocol to realize communication, using multi-threaded implementation different parallel tasks. This system eventually is used in a network environment, the application database to manage communications users and communication messages.Keywords:Instant network messaging system; V
显示全部
相似文档