节点文献
集群流媒体缓存中流会话共享与流协议研究
Research of Streaming Session Sharing and Streaming Protocol in Cluster Streaming Media Caching
【作者】 储杰;
【导师】 金海;
【作者基本信息】 华中科技大学 , 计算机系统结构, 2004, 硕士
【摘要】 随着流媒体服务的爆炸式增长,传统的流服务模式—客户端/流媒体服务器呈现出新的问题:首先,随着客户的大量增长,流媒体服务器的负载越来越大,服务器响应越来越慢,导致流服务的实时性得不到保证;其次,客户端的播放延迟增大,严重影响了流媒体服务的“流”特性;其三,传统的一点(流媒体服务器)对多点(客户端)无法实现流服务的共享,无形间增加了广域网络的带宽消耗和流媒体服务器的负载;其四,在带宽波动大、网络延迟大的广域网环境下难以实现稳定、实时的流服务。为了解决上述问题,同时与传统的服务器/客户端流服务模式相兼容,本文采用缓存代理服务器技术实现了集群流媒体缓存代理服务器系统。该系统引入集群架构以提供全局的、可扩展的缓存代理服务机制;实现了缓存代理端的流媒体传输协议;采用动态共享运行缓冲区算法实现了分层缓存机制(全局磁盘缓存和内存缓存)以支持更多稳定、实时的并发流;利用流会话共享机制实现了客户请求聚集,从而减少磁盘I/O同时能服务更多的客户;提出了单一流映像,以支持预取流和缓存流的统一,从而保证代理端服务流对客户的完全透明;设计并实现了基于包反馈信息的流数据预取机制,从而减少了客户端的“rebuffering”次数;提出了适合于缓存代理服务器的流缓存准入控制策略,保证了流服务的QoS。目前国内还没有实际可用的流媒体缓存代理系统。与国外同类流媒体缓存代理系统相比,本系统有明显的优势:(1) 引入的流会话共享机制可以提供更多稳定的并发流;(2) 提出的动态共享运行内存缓存机制能支持客户请求聚集和流会话共享;(3) 前缀缓存技术和段机制的缓存技术的有机融合实现了缓存数据的高效存取管理;(4) 网络流预取策略和缓存准入控制机制提高了缓存结构的智能性。系统采用C/C++语言实现了基于Linux平台的集群流媒体缓存代理系统。实验测试表明,该系统具有良好的可扩展性,减少了客户端播放过程中的网络延迟和抖动以及服务器端的网络负载,同时提高了流服务质量。
【Abstract】 With the explosive growth of the multimedia streaming service in the past few years, the traditional client/server topology architecture has the following problems: Firstly, with the increase of client, the load of streaming server is heavier and heavier, which causes the slow response for streaming server and can not guarantee the real-time of streaming service; Secondly, the increase of playback delay seriously affects the characteristics of streaming service; Thirdly, traditional modes such as one point(streaming server) vs multiple point(client) cannot share the different sessions, which consumes more bandwidths and heavies the load of streaming server; Lastly, under the poor WAN environment, this architecture can not provide stable and real-time streaming service.To address the problems mentioned above, not modifying the mode of client/server at all, this paper implements cluster-based streaming caching proxy server system with the technique of caching proxy server. In this system, we introduces cluster architecture to provide global and scalable streaming caching proxy service mechanism; We implement streaming media transfer protocol on caching proxy end; We implement layered caching mechanism (global disk caching and memory caching) using dynamic sharing running memory buffer algorithm to support more stable and real-time parallel streams; We implement client request aggregation by means of streaming session sharing to reduce disk I/O and serve more user; We propose single streaming image to support the unify of pre-fetching streaming and caching streaming, which guarantees the proxy streaming of transparency for client; We design and implement streaming pre-fetching mechanism based on packet feedback information to reduce the number of “rebuffering” on client end; We bring forward streaming caching admission control policy fit for streaming caching proxy server to guarantee the QoS of streaming service.Currently, there is not available streaming caching proxy server in China. Contrast to foreign streaming caching proxy server, our system has the following prominent advantages: (1) Introduced streaming session sharing mechanism supports more stable, real-time parallel streams; (2) Proposed dynamic shared running memory caching <WP=6>mechanism can provide the support for client request aggregation and streaming session sharing; (3) The Combination of prefix caching and segment-based caching techniques implement efficient streaming caching data accessing and management; Network pre-fetching policy and caching admission control mechanism improve the intelligence of streaming caching.We implement proxy system on the Linux platform with C/C++ language. The performance test presents that our system has excellent scalability, reduces the network delay and jitter during client playback and workload of streaming server. Additional our system improves the QoS of streaming service apparently.
【Key words】 Cluster; Streaming Media; Cache; Streaming Protocol; Streaming Session Sharing; Pre-fetching;
- 【网络出版投稿人】 华中科技大学 【网络出版年期】2005年 02期
- 【分类号】TN919.8
- 【下载频次】153