基于IPv6的P2P流媒体服务体系的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
目前,以P2P为核心的流媒体技术应用已经取得了长足的发展,但是在IPv4网络环境下,由于流媒体本身的强实时性、P2P网络的动态性以及网络条件的局限,P2P流媒体体系在网络规模、服务质量、带宽占用和安全性等方面仍存在诸多问题。IPv6是下一代互联网的基础,从IPv4向IPv6过渡是互联网发展的必然趋势,IPv6相对于IPv4的改进及其特有的流特性,使得基于IPv6协议的P2P流媒体传输更加具有优越性。
     本文针对IPv4网络环境下P2P流媒体体系所存在的上述问题,提出了一种基于IPv6的分层分布式的P2P流媒体服务体系结构AMSMP(Architecture of the Streaming Media Service Based-on Multicast and P2P)。AMSMP采用基于真实IPv6地址的节点加入身份认证技术,有效地避免匿名身份登陆所带来的安全隐患,提高了系统的安全性;提出了一种利用IPv6基本报头中的流标签字段计算节点间距离-跳数的新机制,减轻了P2P逻辑覆盖网络与物理网络误匹配的矛盾。同时,通过将节目按照热度进行分类,对热门节目采用组播传输,以解决P2P节点频繁请求和传输这些数据块导致网络通信繁忙的问题,大大节约了网络带宽;通过对组播所丢失的数据分块和冷门节目采用P2P方式传输,实现了IPv6组播与P2P在流媒体数据分发上的协作,保证了数据传输的完整性和提高了数据交换的速度。
     本文最后对AMSMP的可扩展性、可靠性和端到端延迟进行了仿真实验,结果表明所设计的体系结构具有良好的整体性能和实用价值。
At present, the streaming media applications based on P2P have got considerable development, however, under IPv4 network environment, due to the hard real-time of streaming media and dynamic characteristic of P2P network as well as the limitation of network condition, there are obvious problems in P2P streaming media system in many aspects such as network scale, quality of service, bandwidth occupation, security and so on. IPv6 is the basis for next generation Internet, and the transition from IPv4 to IPv6 is an inevitable trend in the development of Internet. The improvement relative to IPv4 and specific flow characteristics of IPv6 make P2P streaming media transmission have more superiority.
     According to the above mentioned problems in P2P streaming media system under IPv4 network environment, the thesis put forwards a hierarchical distributed P2P streaming media service architecture-AMSMP(Architecture of the Streaming Media Service Based-on Multicast and P2P)based on IPv6. It uses node joining identity authentication based on authentic IPv6 address which can effectively avoid hidden danger caused by anonymous login and further enhance the system security. A new mechanism of calculating hop count between nodes based on flow label in IPv6 header has been proposed to mitigate the mismatching problem between the logic P2P overlay topology and the underlying physical network topology.
     Meanwhile, programs are classified according to prevalence degree and hot programs are transmitted by multicast. This can solve the problem of heavy network traffic caused by frequent data request and transfer of P2P nodes, and save network bandwidth greatly. The data block lost by multicast transmission and non-hot programs are transmitted by P2P mode. It realizes cooperation on streaming media data distribution between IPv6 multicast and P2P, and also guarantees the data integrity as well as improves the exchange speed.
     Finally, simulation experiment is made on the performances of AMSMP, including the system scalability, reliability and end-to-end delay, the results show that the system architecture has better whole performance and practical value.
引文
[1]吴国勇,邱学刚,万燕仔.网络视频流媒体技术与应用.北京:北京邮电大学出版社,2001.
    [2] Floyd S,Jacobson V,Liu C,et al.A reliable multicast framework for light-weight sessions and application level framing.IEEE/ACM Transaction on Networking,1997,5(4):784~803.
    [3] Dan A,Sitaram D,Shahabuddin P.Scheduling policies for an on-demand video server with batching.Proceedings of the ACM Multimedia,New York:ACM Press,1994:15~23.
    [4] Hua K,Cai Y,Sheu S.Patching:a multicast technique for true video-on-demand services.In:Proc.of ACM Multimedia,1998:191~200.
    [5] Guo Y,Gao L,Towsley D,et al.Seamless workload adaptive broadcast.In Proc.of International Packetvideo Workshop,Pittsburgh,PA,2002:24~26.
    [6] Eager D,Vemon M,Zahorjan J.Minimizing bandwidth requirements for on-demand data delivery.IEEE Trans.on Knowledge and Data Engineering,2001,13(5):742~757.
    [7] Rejaie R,Handley M,Yu H,et al.Proxy caching mechanism for multimedia playback streams in the Internet.Proceedings of the 4th International Web Caching Workshop,San Diego,CA,1999.
    [8] Gadde S,Chase J,Rabinovich M.Web caching and content distribution:a view from the interior.Proc.of the 5th International Web Caching and Content Delivery Workshop,Lisbon,Portugal,2001:222~231.
    [9] Lua E K,Crowcfoft J,Pias M,et al.A survey and comparison of peer-to-peer overlay network schemes.IEEE Communications Survey and Tutorial,2004,7(2):72~93.
    [10] Deshpande H,Bawa M,Garcia-Molina H.Streaming live media over a peer-to-peer network.In Work at CS-Stanford,Submitted for Publication,2002.
    [11] Deshpande H,Bawa M,Garcia-Molina H.Streaming live media over a peer-to-peer network.Technical Report,Stanford University,2000.
    [12] Banerjee S,Bhattacharjee B,Kommareddy C,et al.Scalable application layer multicast.In:Proc.of ACM SIGCOMM’02,Pittsburgh,PA,USA,2005:205~220.
    [13] Tran D,Hua K,Do T.Zigzag:an efficient peer-to-peer scheme for media streaming.Proc.of IEEEINFOCOM’03,SanFrancisco,CA,USA,IEEE,2003,2:1283~1292.
    [14] Padmanabhan V N,Wang H J,Chou P A,et al.Distributing streaming media content usingcooperative networking.In ACM/IEEE NOSSDAV,Miami,FL USA,2002:177~186.
    [15] Castro M,Druschel P,Kermarrec AM,et al.Splitstream:high-bandwidth multicast in cooperative environments.Proceedings of the 19th ACM Symposium on Operating Systems Principles,2003:298~313.
    [16] Ganesh A J,Kermarrec A M,Massoulie L.Peer-to-peer membership management for gossip-based protocols.In IEEE Transactions on Computers,2003,52(2):139~149.
    [17] Zhang X,Liu J,Li B.DONet/Coolstreaming:a data-driven overlay network for live media streaming.Technical Report,2004:536~543.
    [18] Mohamed H,Ahsan H,Xu DY,et al.CollectCast:a peer-to-peer service for media streaming.Mulatimedia Systems,2005,14:4~10.
    [19] Hefeeda M,Habib A,Botev B,et al.PROMISE:a peer-to-peer media streaming using CollectCast.Proceedings of the Eleventh ACM Inter-national Conference on Multimedia,2003:45~54.
    [20] Yang G,Kyoungwon S,Jim K,et al.P2Cast:peer-to-peer patching scheme for VOD service. Proceedings of the 12th International Conference on World Wide Web,2003:301~309.
    [21] Lin G,Shi R,Shao L,et al.A peer to peer true VOD system by hierarchy merge.International Workshop on Grid and Cooperative Computing,Shanghai,2002.
    [22] Rejaie R,Ortega A.PALS:peer to peer adaptive layered streaming.Proc.of NOSSDAV’03,2003:153~161.
    [23] Chao Z,Hai J,Dafu D,et al.AnySee:multicast-based peer-to-peer media streaming service system.Asia-Pacific Conference on Communications(APCC05)Pernth,Western Aystralia 03-05 2005:274~278.
    [24] Hei X,Liang C,Liang J,et al.Insights into pplive:a measurement study of a large-scale P2P IPTV system.Proc.of IPTV Workshop,International World Wide Web Conference,2006.
    [25] PPStream.PPStream能点播的网络电视.http://www.ppstream.com,2006.
    [26] QQLive.http://tv.qq.com
    [27]赵黎,杨士强.GridMedia流媒体技术瓶颈的克星.中国传媒科技,2005,2:36~37.
    [28]罗杰文.Peer-to-Peer综述.http://www.intsci.ac.cn/users/luojw/P2P/,2006.
    [29] Napster.http://www.napster.com
    [30]乐光学.基于Gnutella协议的P2P网络路由搜索算法:Light-Flooding.计算机工程,2005,31(11):112~114.
    [31] Clarke I,Sandberg O,Wiley B,et al.Freenet:a distributed anonymous information storageand retrieval system.In:Federrath H,ed.Proc.of the Workshop on Design Issues in Anonymity and Unobservability,Berlin:Springer-Verlag,2001:46~66.
    [32] Zhao BY,Huang L,Stribling J,et al.Tapestry:a resilient global-scale overlay for service deployment.IEEE Journal on Selected Areas in Communications,2004,22(1):41~53.
    [33] Stoica I,Morris R,Karger D,et al.Chord:a scalable peer-to-peer lookup service for Internet applicatons.In Proceeding of the ACM SIGCOMM Conference,San Diego,CA,2001:149~160.
    [34] Ratnasamy S,Francis P,Mark H,et al.A scalable content-addressable network.Proceeding of ACM SIGCOMM,ACM Press,New York,2001,8:161~172.
    [35] Rowstron A,Druschel P.Pastry:scalable,decentralized object location and routing for large-scale peer-to-peer systems.In:Guerraoui R,ed.Proc.of the 18th IFIP/ACM International Conference on Distributed Systems Platforms,Heidelberg:Springer-Verlag,2001:329~350.
    [36] Kazza.http://www.kazaa.com
    [37]刘涛,周兵,李笑佳.基于RTP的多媒体可靠实时传输.华中科技大学学报(自然科学版),2003,S1:44~46.
    [38]宋刚,杨显富.实时流媒体传输及协议.成都大学学报(自然科学版),2005,24(1):28~31.
    [39]郑常,王新,赵进,等.P2P VOD内容分发策略综述.软件学报,2007,18(11):2942~2954.
    [40]伍国良.基于对等网络的流媒体服务模型研究.硕士学位论文,湖南,中南大学,2007.
    [41]孙适,杨寿保,王育峰.基于新一代网络协议的IP电话技术.计算机工程与应用,2002,38(12):154~156.
    [42]李振强,赵晓宇,马严,等.IPv6技术揭秘.北京:人民邮电出版社,2006.
    [43] Conta A,Deering S.RFC2463 Internet Control Message Protocol(ICMPv6)for the Internet Protocol Version 6(IPv6)Specification,1998.
    [44] Brian H,Garry K,Hal S.Protocol Independent Multicast Routing in the Internet Protocol Version 6(IPv6),1998(8):67~72.
    [45] Asaeda H , Suzuki S . MLDv2 protocol design implementation and evaluation for source-specific multicast over IPv6.Applications and the Internet Workshops,2003:244~249.
    [46]王太永,于建军.基于P2P流媒体的在线直播系统模型研究.计算机应用与软件,2008,25(2):13~16.
    [47] Danielis P,Kubisch S,Widiger H,et al.A conceptual framework for increasing phsical proximity in unstructured peer to peer networks.Pinceton,NJ,USA:IEEE SarnoffSymposium,2008:1~5.
    [48]雷云斌.P2P实时流媒体分发技术的研究与实现.硕士学位论文,南昌,南昌大学,2006.
    [49]乔志刚.一个基于文件分段和静态缓存的P2P点播系统的设计和实现.硕士学位论文,北京,北京大学,2008.
    [50] Dan A,Sitaram D,Shahabuddin P.Scheduling policies for an on-demand video server with batching.In Proceedings of the Second ACM International Conference on Multimedia,1994:15~23.
    [51] Ludmila C,Minaxi G.Characterizing locality,evolution,and life span of accesses in enterprise media server workloads.In ACM Special Interest Group on Multimedia,2002:33~42.
    [52] Chang X.Network simulations with OPNET.In Proceedings of the 31st Conference on Winter Simulation:Simulation-A Bridge to the Future,New York:ACM Press,1999:307~314.
    [53]徐雷鸣,庞博,赵耀.NS与网络模拟.北京:人民邮电出版社,2003.
    [54]郑阿奇,曹弋,赵阳.MATLAB实用教程.北京:电子工业出版社,2004.
    [55]朱璇.移动IPv6的切换技术.硕士学位论文,北京,北京邮电大学,2007.
    [56] Calvert K,Zegura E,Bhattacharjee S,et al.How to model an Internetwork.In Proceedings of IEEE Infocomm,1996,3:594~602.
    [57] GT-ITM.http://www-static.cc.gatech.edu/projects/gtitm/
    [58]陈如明.IPv6与P2P结合的市场前景及务实发展战略思考.中国无线电,2007,5:5~11.