1 / 40
文档名称:

毕业设计论文.doc

格式:doc   页数:40页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

毕业设计论文.doc

上传人:janny 2011/5/17 文件大小:0 KB

下载得到文件列表

毕业设计论文.doc

文档介绍

文档介绍:目录
摘要 3
Abstract 3
1. 绪论 4
课题背景 4
IP电话的发展概况 4
IP电话产生的背景 4
IP电话发展阶段 5
IP语音技术(VoIP)市场发展现状 6
2. 技术要求 8
波形音频基础知识 8
波形音频信号的采样与量化方法 8
与采样量化相关的主要技术参数 8
套接字以及Visual C++编程基础 9
套接字(Socket) 9
Visual C++编程基础 10
3. 系统分析 13
问题定义 13
VoIP的基本原理及实现方案 13
VoIP的主要功能 13
VoIP的传输过程分析 14
15
15
语音的数字化 16
语音分组 17
传输协议的选取 18
分组语音传输中的时延 18
18
技术路线 19
20
技术可行性 20
需求分析 20
系统运行环境 20
性能需求 20
功能需求 20
4. 系统设计 21
总体设计 21
总体设计思想 21
功能模块 21
按C/S模型 21
按模块功能 21
5. 详细设计 23
音频模块的实现 23
程序流程 23
相关API函数,结构,消息 23
内存分配 26
语音分组 26
通信模块的实现 26
相关函数说明 27
6. 编码与测试 28
编码 28
发送端音频模块 28
通信模块 31
程序中遇到的问题 35
测试 35
测试方案 35
测试结果 36
结束语 37
致谢 38
参考文献 39
摘要
本文主要论述了“分组语音传输系统的简单实现”的开发过程。它是基于C/S模型下的点对点的实时语音通信系统的软件。该系统主要分为波形音频的采集回放、音频数据分组及还原、语音传输三个模块。音频模块主要由windows提供的wave系列函数完成。分组后即使在传输时丢包也不会丢失一整段声音数据而只是造成声音的部分失真,从而保证了声音可以得到尽可能完整的还原,进一步保证了正常实时的语音通信。传输采用了实时性强的无连接的UDP协议。在开发时使用Microsoft Visual C++ 开发工具结合套接字来实现。本软件的界面非常简单,易于操作,用户可以轻松的和对方进行语音通信。
【关键字】分组语音;UDP ;套接字

Abstract
This article mainly describes the developing process of Easy realization of the packet voice transmission system. This system realizes the peer-peer munication function which is based on the Client/Server model,and it contains three templates,including collects and plays the wave datums、packet division and recovery of the wave datums、transmission of the template is mainly realized with the wave class functions provided by dividing the datums to packets,it can not lose the whole section voice datums even if certain data packet is lost in the process of transmission ,it can only result in part distortion of the voice,therefore this packet division way can assure the recovery of packets as enti