节点文献

基于RTP的Linux实时语音传输系统设计

RTP-Based Implementation of Real-time Speech Transmission System on Linux

【作者】 李东禄

【导师】 邱智亮; 周代琪;

【作者基本信息】 西安电子科技大学 , 通信与信息系统, 2006, 硕士

【摘要】 VoIP是一种新的快速发展的语音传输技术,其最大优势是能够利用分布广泛的IP互联网作为信息传送平台,并具有价格低、应用形式多样等优点,打破了电信对语音业务的长期垄断,进一步证明IP分组数据网不仅可以传送数据业务,也可以传送语音和视频等实时业务。然而由于IP分组网络设计的初衷主要是用于传输文字、图形等数据型业务,而在传送语音、视频等实时媒体时则显得力不从心,如何在因特网上高质量地传输实时语音业务,已成为VoIP的关键问题之一。语音信号若要实现在IP网络中的传输,首先需要以固定的间隔对其采样,将模拟语音数字化,组装成IP语音分组,将其通过IP网络发送到目的方,并在接收方将口分组还原成模拟信号。为了保证语音传输质量,需要将传输时延控制在一定范围内,一般需要小于200ms;传输时延的变化或抖动需要通过缓存机制进行消除;一般语音传输容许一定的分组丢失率或误码率。本文结合所参与的课题“基于Linux的IP智能终端的开发”,从实时语音传输所涉及到的时延、抖动、丢包等问题出发,提出了改进语音质量的措施与算法,并在此基础上设计实现了基于Linux和RTP协议的实时语音多方通信系统。文章首先说明了实时语音通信的背景与现状,针对实时语音传输的特点以及TCP/UDP协议在传输语音业务方面存在的不足,指出引入RTP协议的必要性;接着详细地介绍了实时传输协议RTP/RTCP运行机制;之后介绍了Linux平台下基于RTP协议的实时语音传输系统的软件实现,对涉及的协议、语音数据处理以及缓存管理等内容进行了详细的分析与设计,并采用多线程技术、抖动缓存技术以及UDP传输技术实现语音通信系统;通过实际测试,证明此VoIP软件系统设计正确,性能良好。最后,论文探讨了RTP协议的QoS保障机制及其在大规模应用下的可扩展性等问题。

【Abstract】 VoIP is a new fast-growing technology to transfer real-time voice over IP networks. It has the greatest advantage in fully merging into the global IP interconnect environment to supply various kinds of service in low cost. This technology is one of the great supplements for the traditional telephone service which further prove that not only data service like text, picture, but also audio and video service can be transferred through internet.As the IP network is initially designed to transfer data like text and picture, it seems inefficient to transfer media like audio and video data real-timely. It has turned to be a critical point on how to transport real-time media data in high QoS through internet.The speech signal is transmitted by digitising tiny pieces of it at regular intervals and sending these to the destination where an analogue signal is reconstructed. For good quality communication, the overall delay should be below 200 ms. Delay variance or jitter should be eliminated through buffering. Speech communication is fairly tolerant to lost or corrupted packets.As part of the research work—Implementation of Intellectual IP Telephone Terminal on Linux, the author has deeply analyzed the related aspects like delay, jitter, and packet lost in the real-time transfer of voice on IP networks, brought forward some measures to improve on each aspects and also realized a real-time multiple voice system based on Linux.The article first introduced some background knowledge of real-time voice transfer, then point out the necessity of RTP/RTCP protocol for transferring voice due to the inefficiency of the TCP counterparts. Then it gave an exhaustive description on RTP/RTCP protocol. Afterward it provided the software impletementation of the voice transmission system through RTP/RTCP protocols upon Linux. The system is implemented through the technology of multi-thread, multiple ring-buffer and UDP Socket transport technique. Finally the author provided the test results, which demonstrates that the system is rightly designed and runs well for transferring real-time voice in high quality. At the last of the article, the author gave some perspective views tailor to problems which exists on large-scale RTP/RTCP application scenery.

【关键词】 VoIPRTP实时传输抖动缓存
【Key words】 VoIPRTPReal-time TransmissionJitter-Buffer
  • 【分类号】TN912.3
  • 【被引频次】13
  • 【下载频次】596
节点文献中: 

本文链接的文献网络图示:

本文的引文网络