文档介绍:华中科技大学
硕士学位论文
嵌入式P2P流媒体分发客户端的设计与实现
姓名:王东
申请学位级别:硕士
专业:通信与信息系统
指导教师:黄佳庆
20080528
华中科技大学硕士学位论文
摘要
随着互联网的广泛普及和宽带网络的高速发展,流媒体的应用已经成为近几年
来研究的一个热点。目前流媒体软件大多是基于客户端/服务器模式的,然而其服务
端的瓶颈极大地限制了系统的可扩展性,越来越不能胜任大规模视频播放的需求。
一些技术被提出来用以解决这一问题,如 IP 组播,CDN 等,却因为各自自身的缺点
而无法广泛使用。只有近年来新兴的 P2P 技术越来越受到人们的关注。在 P2P 网络
中,每个对等实体既是服务的提供者,又是服务的享用者,将服务器的负载分散到
了各个对等点中,从而有效地减轻了服务器的负载和网络带宽占用,极大地提高了
系统的可扩展性。
本文首先介绍了 P2P 流媒体技术的发展背景,阐述了本课题的课题来源以及研
究目标和意义;接着重点分析了当前流媒体系统采用的相关协议和关键技术以及 P2P
的技术框架;然后详细描述了本课题所涉及的 P2P 流媒体原型系统的整体软件设计
方案,并针对此方案以及硬件基础和应用需求,给出了一种适用于嵌入式设备的 P2P
流媒体分发客户端的设计方案,随后详细介绍了客户端中媒体播放模块、通信控制
模块和媒体传输模块的主要概念与设计思路,并分别描述了其具体的实现。经过初
步的系统测试以及结果分析,该系统功能改善了网络视频传输质量,减轻了系统中
源服务器端媒体分发的压力。但由于时间所限,该 P2P 客户端功能并不全面,仍需
要作进一步的研究和开发。最后,论文对课题取得的主要成果加以总结,并对今后
进一步的研究工作进行展望。
关键词: 嵌入式,P2P,流媒体,直播
I
华中科技大学硕士学位论文
Abstract
With the widespread popularization of and rapid development of broadband
network, streaming media application has been ing a hotpot in recent years.
Currently streaming media systems are generally based on the client/server mode, in
which the server-side bottleneck limits the expansibility of systems that is very important
to meet the need of large-scale application. So other technologies such as IP multicast and
CDN are proposed to resolve this problem. But those can’t be widely used because of their
drawbacks except one emerging technology-P2P. work, in which each peer pushes
the services to others and takes advantage of the resource of others, distracts load from the
center sever to the peer at the edge of work so that pressure of server end can be
alleviated and expansibility of the systems can be improved.
This paper firstly introduces the development background of P2P media streaming
systems, and then expatiates on the important significance of the project. Secondly, the
paper discusses the relevant protocols and key technologies about existing streaming
media systems and the frameworks of P2P technology. Thirdly, the p