PIS流媒体服务及播放控制技术研究与应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
我国正处于城市轨道交通建设和应用的繁荣时期,传统的轨道交通乘客信息系统(PIS)在控制中心将多媒体信息和运营信息合成并发送给车站、车载终端设备本地播放,这给信息更新维护和紧急事故处理带来了很多不便,同时,乘客对轨道交通的信息服务能力也不断提出更高要求。因此如何实时地、快捷地将信息发布出去成为轨道交通领域急需解决的课题之一。
     本文提出了一种基于流媒体技术的乘客信息系统的实现方案,重点研究了PIS中流媒体服务、流媒体服务负载均衡和乘客信息播放控制子系统。通过研究与完善开源流媒体服务器VLC,给出了创建PIS流媒体服务的方法;在流媒体集群系统中,设计了一种能支持多种负载均衡算法框架的负载均衡器;对于乘客信息的控制与播放,设计了一种包含若干业务逻辑处理能力的浏览器的客户端播放器,解决了乘客信息的交互、信息控制调度和信息播放等问题。其主要研究内容包括:
     1.PIS流媒体服务。由于典型的商用流媒体服务器存在成本、可移植性、可定制性等方面不足,本文采用了完全开源的VLC流媒体服务器。通过分析其源码及相关资料,总结VLC体系结构和创建流媒体服务的方式,完善VLC流媒体服器的功能,提出了创建PIS流媒体服务的机制。采用哈希函数、XML文件和TCP/IP网络传输,分别解决了流媒体服务中流媒体节目的命令数据、命令管理和命令交互等问题。
     2.流媒体服务负载均衡。在PIS流媒体服务中,采用多台普通流媒体服务器构成集群系统能保证可靠,优质的流媒体服务。本文提出了一种构建流媒体集群系统的体系结构,并研究了其负载均衡器。采用面向对象设计方法,设计了一种能支持多种负载均衡算法框架的负载均衡器,其负载均衡算法和流媒体服务器信息均记录在XML文件中,且信息可配置。
     3.PIS信息播放控制。通过比较C/S和B/S模式下MIS系统特点,结合轨道交通的应用,设计了一种基于浏览器且包含实时调度算法和运营信息更新等业务逻辑处理能力的客户端播放器。对于客户端播放器和Web服务器间信息交互采用XML文件为载体,通过TCP/IP协议传输;对于PIS中信息的控制采用经典的静态实时调度算法RMS;流媒体的播放通过VLC网页插件,轨道交通运营等交互信息,通过COM技术执行网页脚本实现。
     4.系统实现。论文最后设计并实现了PIS中流媒体服务、流媒体服务负载均衡和乘客信息播放控制子系统。
     本文的研究成果已经在上海地铁示范应用,该研究方案不仅适用于轨道交通PIS系统,还可应用到大型超市、商场、医院、学校等信息发布场所。
The construction of urban railway is booming in China.Traditionally, in the Passenger Information System(PIS),the multimedia and operation information are composed at control center,and then sent to platform device where the information is played.It is difficult for traditional urban railway system to update information and deal with emergency.At the same time,passengers put forward high demands for PIS services, therefore how to publicize information rapidly becomes one of the urgent problems for PIS.
     This paper presents an implemental approach of PIS based on the streaming media technology,concerning subsystems of streaming media service,load balancing of streaming media services,and controlling & playing passenger information.By researching the architecture of VLC, we addless a method to offer streaming media service in PIS.A novel load balancer supporting a lot of load balancing algorithms.is proposed in streaming media clustered system.A browser-based player,which could process service logically,is designed to control and play passenger information.Also the interaction,scheduling and playing of passenger information and other problems have been solved in this paper.The major researches are as following:
     1.Streaming media service.The commercial streaming media servers are lacking in cost,portability and customizability,so VLC which is an open source streaming media server & player is used to offer streaming media service in PIS.We propose the mechanisms of creating streaming media service in PIS by analysing the source code of VLC,summarizing the architecture of VLC,comparing the patterns of creating streaming media service and consummating the functions of VLC.Through hash functions,XML files and network transmissions,the VLC command data, management of command,interaction of command and other problems in streaming media service are also solved respectively.
     2.Load balancing of streaming media service.In order to gain high quality of streaming media service,streaming media clustered system is adopted.This paper brings forward a method to design the architecture of streaming media clustered system and studies the load balancer. Object-oriented method is used to design the load balancer which supports the framework of several kinds of load balancing algorithms, and its load balancing algorithms and streaming media servers are configured in XML files.
     3.Controlling & playing passenger information of PIS.By comparing the features between C/S and B/S and analysing the demands of urban railway,we design a browser-based player which holds the capability of processing service logically,including real-time scheduling algorithm and operation information updation.The information interacting between client player and Web server is transmitted through TCP/IP with XML files.The information of PIS is controlled by RMS which is a classic real-time scheduling algorithm.Streaming media is played in VLC plug-in.Urban railway passenger information is updated by executing javascript functions through COM.
     4.System implementation.In the end,several subsystems including streaming media service of PIS,load balancing of streaming media service,and controlling & playing passenger information are designed and realized.
     The project has gone into operation in Shanghai metro.The research approach is can be used not only in passenger information system of urban railway but also in other information diffusion fields such as hypermarket,hospital,university and so on.
引文
[1]钟玉琢,向哲,沈洪.流媒体和视频服务器[M].北京:清华大学出版社,2003.15-60.
    [2]钟玉琢.多媒体技术基础及应用[M].北京:清华大学出版社,1999.30-60.
    [3]陈忠兴,王富章,韩西安,等.浅谈轨道交通乘客资讯系统[J].铁路计算机应用,2006,15(7):48-51.
    [4]张婉霞.旅客信息指示系统在广州地铁的应用[J].都市快轨交通,2005,18(1):67-69.
    [5]张春海,黄爱华.乘客信息导乘系统的组成及发展前景[J].机电工程技术,2006,35(7):85-86,138.
    [6]徐杰,刘春煌,李平,等.城市轨道交通系统信息共享平台研究[J].城市轨道交通研究,2005,8(2):35-39.
    [7]吴国勇,邱学刚,万燕仔.网络视频流媒体技术与应用[M].北京:北京邮电大学出版社,2001.30-200.
    [8]黄铁山,吴绍春,陈怡海.流媒体技术在证券股评系统中的应用研究[J].计算机工程,2008,34(3):253-255.
    [9]RFC 2326:Real Time Streaming Protocols(RTSP)[S].IETF,1998.
    [10]M.Podgorny,G.C.Fox.Video on Demand Technologies and Demonstrations[R].Northeast Parallel Architectures Center,Syracuse,March,1997.
    [11]管国辰,邢卫鲁东明.一种模块化的流媒体系统开发框架[J].计算机工程,2007,33(3):215-217.
    [12]徐美虹.开放体系下可扩展流媒体服务器系统研究[D].重庆:重庆大学硕士论文2007.
    [13]B.enjamin Alfonsi.I Want My IPTV:Intemet Protocol Television Piedicted a Winner [J].IEEE Distributed Systems Online,2005,Vol.6,No.2.
    [14]张云川.视频服务系统中的若干关键技术问题研究[D].成都:成都理工大学硕士论文,2007.
    [15]许进虎,刘文涛.运用VLC媒体播放器增加HDTV播出频道的实践[J].中国 有线电视,2006,15(6):532-534.
    [16]ISO/IEC JTCI/SC29/WGII.Overview of the MPEG-4 Standard(N345).Geneva,May/June,2000.
    [17]ISO/IEC JTCI/SC29/WG11.Text of WD3.0 of MPEG-7 Visual(N3399).Geneva,May/June,2000.
    [18]Henri Fallon,Alexis de Lattre.VLC user guide[EB/OL].http://www.videolan.org/.
    [19]Teo Y M,Ayani R.Comparison of Load Balancing Strategies on Cluster-based Web Server[C].Proceedings of IEEE INFOCOM,2001.
    [20]曼蕾军,孙麓伶,何志均.高可用性负载均衡信息发布平台的设计[J].计算机工程,2006,32(4):125-127.
    [21]唐海涛,王树义,孙效里.一种有效Web负载均衡器的设计与实现[J].计算机工程,2006,32(20):279-281.
    [22]陈嵩.集群系统的调度策略研究[J].福建电脑,2007,13(4):59-61.
    [23]周集良,彭小宁,王正华.基于集群的负载平衡调度算法研究与实现[J].计算机工程,2005,31(6):108-110.
    [24]谢作贵,戚骁亚.无负载均衡器的Linux高可用负载均衡集群系统[J].计算机工程,2007,33(3):136-137.
    [25]Wensong Zhang.Linux Virtual Server Clusters.Build highly-scalable and highly-available network services at low cost[EB/OL].http://www.Linux VirtualServerorg /,2003.
    [26]郭全生,舒继武,毛希平,等.基于LVS系统的负载动态平衡设计与实现[J].计算机研究与发展,2004,41(16):923-929.
    [27]Kai Shen,Tao Yang,Lingkun Chu.Cluster load balancing for fine-grain network services[R].Parallel and Distributed Processing Symposium.Procedings International,IPDPS 2002 Abstracts and CD-ROM,2002.
    [28]陈宣,罗军,谭郁松,等.集群系统中自适应负载反馈平衡策略的研究[J].计算机应用与软件,2006,23(8):12-13,29.
    [29]曾东海,刘海,金士尧.集群负载调度算法性能评价[J].计算机工程,2006,32(11):78-80.
    [30]唐丹,金海,张永坤.集群动态负载平衡系统的性能评价[J].计算机学报,2004,27(6):803-811.
    [31]李德海,杨世兴,杜鸿.一种实时集群计算机系统动态负载平衡算法的研究[J].计算机工程与应用,2003,39(25):80-82.
    [32]曾碧卿,陈志刚.服务器集群系统研究[J].计算机应用研究,2004,23(3):186-188.
    [33]Colin Parris.An Authentication Scheme for Use in Dynamic Load B alancing.TechniealReport,Computer Science Division(EECS),University of C ailfornia at Berkeley,1987.
    [34]Mishra J,Mohanty A.现代信息系统设计方法[M].北京:电子工业出版社,2002.10-50.
    [35]袁静,胡昌华,龙勇,等.基于C/S+B/S双模式的分布式远程诊断专家系统[J].计算机工程,2006,32(6):196-198.
    [36]徐建卯,贺国,明廷锋.C/S和B/S在舰船技术保障中的应用研究[J].微计算机信息,2007,23(3):25-26,14.
    [37]邢朝华.基于B/S和C/S结构的七号信令网监测管理软件的设计方案[J].微计算机信息,2005,21(9):87-89.
    [38]张丽平,张洪波.XML规范化研究[J]齐齐哈尔大学学报,2005,21(4):45-47.
    [39]李丽蓉.基于XML语言的产品数据模型[J]福建电脑,2008,14(6):128-129.
    [40]宋青霞.基于XML的多媒体资源管理系统的研究与实现[D]北京:北京科技大学,2006.
    [41]栗松涛.XML程序设计[M].北京:清华大学出版社,2001.70-150.
    [42]卢啸龙.XML完全实例教程[M].北京:电子工业出版社,2001.100-160.
    [43]Neil Matthew,Richard Stones.Linux程序设计[M1.北京:人民邮电出版社,2007.100-600.
    [44]Douglas E.Comer,David L.Stevens.用TCP/lP进行网际互联(第三版)[M].北京:电子工业出版社,2001.100-190.
    [45]陈积明,宋叶琼,孙优贤.弱硬实时系统约束规范[J].软件学报,2006,17(12):2601-2608.
    [46]Liu C L,Layland J W.Scheduling Algorithm for Multi-programming in a Hard real-time Enviroment[J].1973,20(1):40-61.
    [47]Briand L,Roy D.Meeting deadlines in hard real-time systems:the rate monotonic approach[M].USA:IEEE Computer Society,1999.90-150.
    [48]邢群科,郝红卫,温天江.两种经典实时调度算法的研究与实现[J].计算机工程与设计,2006,27(1):117-119,123.
    [49]John A Stankovic,Marco Spuri,Krithi Ramamrithaml.Deadline scheduling for real-time systems:EDF and related algorithms[M].Boston,Mass:Kluwer Academic Publishers,1998.50-90.
    [50]Scott A Brandt,Scott Banachowski,Caixue Lin.Dynamic integrated scheduling of hard real-time,soft real-time and non-real-time Processes[R].2003.
    [51]He D Z,Wang Z X,Li W.A scheduling algorithm for ASOS and its application to traffic control[C].In:Proceedings of IEEE International Confemnce on Intelligent Transportation Systems,2003.861-866.
    [52]王随平,谈敏,陈勇,等.深海集矿机多任务调度控制系统设计[J]自动化与仪表,2007,22(5):5-8.
    [53]王志平,熊光泽.实时调度算法研究[J]电子科技大学学报,2000,29(4):205-208.
    [54]赵明一,赵海,张文波.针对弱硬实时系统的DRM调度算法[J]电子学报,2008,36(1):70-75.
    [55]Briand L,Roy D.Meeting deadlines in hard real-time systems:the rate monotonic approach[M].USA:IEEE Computer Society,1999,50-78.
    [56]Kurt Wall.GNU/Linux编程指南[M].北京:清华大学出版社,2002.229-244.
    [57]Craig Larman.UML和模式应用[M].北京:机械工业出版社,2006.180-195.
    [58]Erich Gamma,Richard Helm,Ralph Johnson.设计模式[M].北京:机械工业出版社,2000.208-224.

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

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

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