网络视频服务系统中服务机制及算法研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
近年来,随着高速计算机网络、数字压缩技术以及大容量存储技术的快速发展,基于网络的视频服务逐渐成为现实,基于网络的视频服务在娱乐、教育、广告、信息获取等各个方面都有广泛的应用。然而,这些系统中普遍存在的问题是,服务质量和服务水平受到网络带宽瓶颈和视频服务器瓶颈的限制,表现为网络拥堵,服务延迟、中断,甚至由于服务器负担过重而拒绝服务。
     为解决上述问题,一些视频点播(Video-on-Demand,简称VoD)系统通过提高硬件和服务器配置的方式来提高系统性能;有些VoD则通过调整系统结构,如采用了分布式或P2P体系结构把工作负载分配到多台服务器(或对等点Peer)上,以集群协同工作的方式来提高系统性能;有些系统则通过采用流调度技术,如扩展指数广播(Extended Exponential Broadcasting,简称EEB)、控制多播(Controlled Multicast,简称CM)等,在不增加硬件系统性能情况下,通过广播或信道共享等机制来突破网络带宽瓶颈的限制,从而提高系统的服务用户数量。然而,无论采用何种方式,都有其各自的优缺点和适用范围。
     本文在分布式体系结构的基础上采用单播、CM和EEB等多种流调度方案,实现了一个可扩展的分布式VoD系统。对实时流协议(Real-Time Streaming Protocol,简称RTSP)进行了扩展,使其能传输服务器的负载等信息。并针对该系统采用多种流调度方案的特点,提出一种对基于Linux虚拟服务器(Linux Virtual Server,简称LVS)系统的传统动态反馈负载平衡算法的改进算法,使任务负载的分配更加合理。在节目存储策略方面,本文提出了以调整节目的流调度方案来代替节目存储调整的观点,并给出了一种节目流调度方案可自动调整的实现方法。另外,本文还介绍了如何提高客户端播放器解码能力,以及非线性编辑技术在节目制作中的应用等方面的研究内容。
     最后,本文给出了一种系统仿真测试方法及其实现过程。测试结果表明,该系统能有效缓解传统VoD系统中服务器I/O或网络带宽的瓶颈问题,具有良好的可扩展性;改进算法比传统负载平衡算法能减少10%~30%系统并发信道占用数,提高了系统支持的用户点播数量。
Network video service systems came true in resent years, along with the fast developing of the fast computing network, digital compressed technology and the large capability storage technology,. Video services based network are widely applied to recreation, education, advertisement, information acquisition and other domains, like Video-on-Demand (VOD), distant education, online trading and initiative news etc.
     But, there is one ubiquitous problem in these systems, that is these systems' quality of service are restricted by the bottleneck of network bandwith and video server, so that it causes network huddle, service delay and interruption, or worse that service requests would be refused because the servers are overload.
     In order to solve the problem above, first, some VoD systems are improved by enhancing the systems' hardware. Second, some are improved by adjusting the systems' architecture, like adopting the distributed or P2P architecture, so that the work load can be distributed to multi servers or peers, which cooperate with each other and work as a cluster. Third, some VoD systems adopting new channel scheduling schemes, like Extended Exponential Broadcasting (EEB), Controlled Multicast (CM) etc., these technologies can break through the bottleneck of network and increase the amount of the users, by using broadcasting and steam sharing mechanisms. However, whatever mode they used to improve VoD system, in which there are advantages and disadvantages, and they applied to different fields.
     An extensible distributed system would be present in this paper, which employs some Streaming scheduling schemes including unicast, CM and EEB. We extended the Real-Time Streaming Protocol (RTSP) and used it to transfer the load informations of server, so the servers can connect with each other and form as a distributed system. Aimed at this system had different Streaming scheduling schemes, we present an improved algorithm to traditional dynamic load balancing algorithm based on Linux Virtual Server (LVS), and it made the workload distribute more reasonable. In the programs storage aspect, we present a policy that the adjusting of programs storage can be substituted by the adjusting of programs Streaming scheduling schemes, and then we present an auto-adjusting implementation of the programs channel scheduling schemes. In addition, we introduce how to enhance the decode capability of VoD client player, as well as how to use DirectShow Editing Services (DES) to make a video clip.
     Finally, we introduce the technology about implementation of simulation for VoD. We proceeded to test our VoD system with simulation program. The Result showed that the system could lighten the bottleneck problem in traditional systems, can reduce 10%~30% system's concurrent streams and serve more users, with the help of improved algorithm compared with traditional algorithm, this system can satisfy large scale of VoD requests.
引文
[1] Kien A. Hua and S. Sheu. Skyscraper Broadcasting: A New Broadcasting Schemefor Metropolitan Video-on-Demand Systems. ACM SIGCOMM'97 Conference Proceedings,pp.89-100, 1997.
    [2] Y.B. Lee. "Parallel Video Servers: A Tutorial". IEEE Multimedia, pp. 20-18, April-June 1998.
    [3] 谢四莲,彭宇行,刘永逸.并行VOD系统的可靠性研究与实现.计算机工程与应用[J].2004,7,227-229.
    [4] D. Meliksetian, F.F. Yu, C.Y. Roger. "Methologies for designing video servers". IEEE Transactions on Multimedia, pp. 62-69, March 2000.
    [5] D. Sitaram and Asit Dan. Multimedia servers, Applications, environments, and design. Morgan Kaufmann Publishers, January 2000.
    [6] 万元元.一种基于推的并行视频服务器方案及其算法分析.电子工程师[J].2001,27(5).
    [7] M. Reisslein, K. W. Ross, S. Shesthra. Striping for Interactive Video: Is it Worth It?. Proc. IEEE Int. Conference on Multimedia Computing and Systems (ICMCS'99), pp Ⅱ-635-640, June 1999.
    [8] S. chan and F. Tobagi. Distributed servers' architecture for networked video services. IEEE Transactions on Networking, 9(2):125-136, April 2001.
    [9] 陶阳,彭宇行等.并行视频服务器中的DLB策略.计算机工程[J].2003,7:39-41.
    [10] 顾铁成,陈道蓄.分布式视频服务系统中接入控制问题的研究.计算机工程[J].2002,12:27-29.
    [11] A. Papagiannis, D. Lioupis, S. Egglezos. Design & Implementation of a low-cost Clustered Video Server using a network of personal computers. IEEE 4th Int. Symp. on Multimedia Software Engineering (MSE 2002), Newport beach Califomia, USA, Dec 2002.
    [12] A. Papagiannis, D. Lioupis, S. Egglezos. A Scalable, low-cost VoD server with Multicast Support. IEEE Int. Conf.. on Information Technology: Research & Education (ITRE 2003), Newark New Jersey, USA, Aug.10-13 2003.
    [13] 张谢华,夏士雄,张欢.基于P2P分布式VOD系统的研究.计算机应用与软件[J].2005,11,137-139.
    [14] 刘亚杰,窦文华.一种P2P环境下的VoD流媒体服务体系.软件学报[J].2006,4,876-884.
    [15] S.Viswanathan. Pyramid broadcasting for vod service. In proceedings of the SPIE Multimedia Computing and Networking Conference. Frebruary 1995,66-77.
    [16] 鄢仁祥,高远.一种新的视频点播方案——扩展幂级方案.计算机研究与发展[J].2002,(7):869-875.
    [17] L.Juhn, L.Tseng. Harmonic broadcasting fro video-on-demand service.IEEE Transactions on Broadcasting, September 1997, 268-271.
    [18] S.W.Carter and Darrel D.E.Long. Improving video-on-demand server efficiency through stream tapping. In:Porc.ICCCN97,Las Vegas, NV, Septempber 1997.IEEE Computer Society Press, 200-207.
    [19] L.Gao and D. Towsley. Supplying instantaneous video-on-demand services usingcontrolled multicast. In Proc. IEEE Int. Conf. Multimedia Computing and Systems, vol. 2, Florence, Italy, June 1999.117-121.
    [20] K Hua, Y Cai. Patching: A multicast technique for truevideo-on-demand services. The ACM Multimedia, Bristol, UK, 1998.
    [21] Ying Cai, Kien A. Hua and Khanh Vu. Optimizing Patching Performance. In Proc.of ACM/SPIE Multimedia Computing and Networking, Jan. 1999, pages 204-215.
    [22] 吕春,刘娟,赵会群.大型体育赛会VoD系统关键技术的研究与实现.北方工业大学学报[J].2004,9,22-26.
    [23] H Schulzrinne, A Rao, R Lanphier. Real time streaming protocol (RTSP) [M]. RFC 2326, 1998.
    [24] 唐丹,金海,张永坤.集群动态负载平衡系统的性能评价.计算机学报[J].2004,6:803-811.
    [25] Kayama K., Shimizu K., Ashihara H., Zhang Y., Kameda H.. Performance evaluation of adaptive load balancing policies in distributed systems. In: Proceeding of Singapore International Conference on Networks/International Conference on Information Engineering'93, Singapore, 1993, 606-611.
    [26] Katz E D, Buffer M, McGrath R. A Scalable HTTP Server: The NCSA Prototype [J]. Computer Networks and ISDN Systems, 1994,8(5): 155-163.
    [27] Dahlin A, Froberg M, Walerud J, et al.EDDIE: A Robust and Scalable Internet Server [J]. http://www.eddieware.org/, 1998-05.
    [28] Dias D, Kish W, Mukherjee R, et al. A Scalable and Highly Available Server [J]. In Proceeding of COMPCON 1996, IEEE-CS Press, Santa Clara, CA, USA, 1996,11(3):85-92.
    [29] Zhang W, Jin S, Wu Quanyuan. Linux Virtual Server: Server Clustering for Scalable Network Services [J]. Beijing: Proceeding of World Congress Conference 2000, 2000, 9(7):21-25.
    [30] 陆其明,金邦飞.DirectShow开发指南.清华大学出版社[M].2003,12.
    [31] 吕春.大型体育赛会VOD系统关键技术的研究与实现[D].硕士,北方工业大学,2005.
    [32] The Linux virtual server project [EB/OL]. http://www.LinuxVirtualServer.org, 2002.
    [33] G Zipf. Human Behavior and the Principle of Least Effort [M]. New York: AddisonWesley, 1949.
    [34] 王永亮,刘峰,张春.VoD系统的负载均衡存储策略及调度算法研究.电视技术[J].2004(11).
    [35] 夏绍春,易波,刘威.一种视频服务器的负载均衡方法.计算机应用[J].2004,3.
    [36] 胡玉琦,鄢仁祥,高远.VODStar视频点播系统的设计、实现及性能测试.计算机研究与发展[J].2003,11,1643-1649.
    [37] Xvid org: Home of the Xvid codec[EB/OL], http://www.xvid.org/, 2006.
    [38] 王荣生.RTSP协议在视频点播系统中的应用.计算机应用与软件[J].2004,9,149-150.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700