局域网的语音通信(VC)毕业论文.doc
-I-摘要本论文讨论了Windows环境下局域网语音聊天程序的设计思路和设计方法。其中网络通信部分采用流行的TCP/IP协议。程序采用典型的C/S(服务器/客户端)构架,用socket编程设计网络通讯。界面设计部分采用WindowsMFC框架。分析了服务器端应用系统软件的结构和功能,阐述了系统的实现方法和实现思路。硬件上只需要一块双DMA通道的声卡(目前的声卡大多支持双DMA通道)和一支耳麦,其余全部由软件编程实现。论文主要介绍了本课题的开发背景,所要完成的功能和开发的过程。重点的说明了语音通信的设计思路、难点技术和解决方案。关键字:局域网;语音通信;socket;C/S构架-II-AbstractThisarticlediscusseshowtodesignanddevelopaLANchattingprograminWindowsenvironment.NetcorrespondencepartusespopularTCP/IPagreement.TheprocedureusesthemodelC/S(server/Clientside)skeleton,programsthedesignnetworkcommunicationwithsocket.ThecontactsurfacedesignpartusesWindowstheMFCframe.Hasanalyzedtheserverendapplicationsystemsoftwarestructureandthefunction,Elaboratedthesystemrealizationmethodandtherealizationmentality.OnthehardwareonlyneedsthedoubleDMAchannelsoundcard(thepresentsoundcardmostlytosupportthedoubleDMAchannel)togetherandjournalwheat,othercompletelyprogramtherealizationbythesoftware.Thepapermainlyintroducedthistopicdevelopmentbackground,mustcompletefunctionanddevelopmentprocess.Keyexplanationpronunciationcorrespondencedesignmentality,difficulttechnologyandsolution.Keywords:thelocalarea;networkpronunciationcorresponds;socketC/Sskeleton-III-目录第1章概述11.1开发环境简介.11.2VisualC+程序设计.31.3低层波形音频.4第2章WINDOWSSOCKET网络编程的研究82.1计算机网络的体系结构.82.2TCP/IP的体系结构.92.3客户机/服务器模式.102.4Winsock介绍.112.4.1Winsock的基本概念.112.4.2Winsock的编程特点.122.4.3Winsock基本的API.132.4.4异步选择机制.182.4.5winsock编程原理.182.5系统实现的功能及设计要求.212.5.1系统实现的功能.212.5.2设计要求.22第3章系统分析与设计233.1设计思想.233.2界面设计.253.3软件设计要点.263.3.1客户端.263.3.2音频数据处理的CSound类.273.3.3主框架程序.27第4章系统的实现29-IV-4.1连接服务器.294.2语音处理的实现.30第5章系统运行效果及改进意见335.1系统运行结果.335.2存在不足.335.3未来形势.33第6章总结35致谢36参考文献37