CDN-P2P系统分发技术研究
原站著录信息
摘要
硕士学位论文 论文题目: CDN-P2P系统分发技术研究 Research on the Key Technology of CDN-P2P 目 录 目 录 I 摘 要 1 ABSTRACT 2 第1章 绪论 3 1.1 研究背景 3 1.1.1 CDN 3 1.1.2 P2P 5 1.1.3 CDN与P2P技术的融合 8 1.2 研究动机和意义 9 1.3 论文的主要工作 10 1.4 本文的组织结构 11 第2章 相关研究 12 2.1 概述 12 2.2 CDN体系结构及其关键技术 13 2.2.1 中心节点…
硕士学位论文
论文题目:
CDN-P2P系统分发技术研究
Research on the Key Technology of CDN-P2P
目 录
目 录 I
摘 要 1
ABSTRACT 2
第1章 绪论 3
1.1 研究背景 3
1.1.1 CDN 3
1.1.2 P2P 5
1.1.3 CDN与P2P技术的融合 8
1.2 研究动机和意义 9
1.3 论文的主要工作 10
1.4 本文的组织结构 11
第2章 相关研究 12
2.1 概述 12
2.2 CDN体系结构及其关键技术 13
2.2.1 中心节点与POP节点 13
2.2.2 负载均衡 14
2.2.3 内容管理 15
2.3 基于P2P的定位和分发技术 16
2.3.1 基于树状拓扑的协议 17
2.3.2 基于Gossip的协议 17
2.3.3 基于P2P的流媒体分发技术 18
2.4 CDN-P2P技术 19
第3章 CDN-P2P系统分析 21
3.1 CDN-P2P系统概述 21
3.1.1 体系结构 23
3.1.2 死锁问题分析与评价 24
3.1.3 分布式结构技术 25
3.1.4 可靠性分析 25
3.2 CDN-P2P分发模型 27
第4章 CDN-P2P系统的分发技术 29
4.1 P2P分发技术 29
4.1.1 Pull 29
4.1.2 Push 29
4.1.3 Smart-pull 30
4.1.4 信息分发需求 31
4.2 信息分发网络初始化 32
4.2.1 节点加入 32
4.2.2 节点离开或失效 33
4.2.3 HS路由策略 33
4.2.4 HS信息分发协议 35
4.2.5 信息分发组管理 35
4.2.6 信息分发成员管理 36
4.2.7 信息分发 38
4.2.8 信息分发树的维护与修复 39
4.3 安全机制 39
4.4 反馈抑制 40
第5章 信息分发系统模块的设计与实现 42
5.1 信息分发系统的体系结构 42
5.2 系统流程及主要数据结构的设计 43
5.2.1 系统交互消息的分析设计 43
5.2.2 节点数据结构描述 44
5.2.3 多播协议报文格式 45
5.3 系统部分模块的设计与实现 46
5.3.1 消息处理模块 46
5.3.2 消息处理机流程 47
5.3.3 底层协议与通信机制 48
5.3.4 HS路由功能的实现 50
5.3.5 多播服务调用接口 52
第6章 总结与展望 54
6.1 论文工作总结 54
6.2 有待进一步研究的问题 54
参考文献 56
致谢 60
摘 要
伴随着互联网的迅速发展,多媒体业务已成为网络流量新的增长点,视频点播、视频会议等新的硕士论文帮写需求不断增长;电子商务的出现使人们希望通过网络随时、随地交换各种数据、事务和应用。这给运营商带来丰厚利润的同时,也带来了新的挑战。一方面是给主干网络带来巨大数据流量;另一方面,服务器端的瓶颈问题也会影响服务质量。因此将多媒体信息有效的分发是当前面临的重要问题和挑战。
内容分发网络(Content Delivery Network, CDN)采用缓存、复制、负载均衡和客户请求重定向等技术,将信息资源推向网络边缘,使得用户可以从“最近最好”的服务器快速访问到所需的内容,从而大大提高了终端用户的访问速度。但是CDN的负载均衡和服务重定向大都由中心服务器负责,所有用户的请求都首先发送给中心服务器。伴随着用户数的增多和CDN规模的不断扩大,采用一个中心和多个POP(Provider of Point)点的两层结构的CDN,在扩展性、可靠性和服务性能上很难适应当前要求,而且昂贵的硬件部署成本使其难以普及应用。
为此,有许多科研机构借鉴P2P技术改造CDN,并取得巨大成功。CoralCDN是由广泛部署的web代理和名字服务器组成的P2P结构CDN。能够为用户提供高性能的web站点和较大的吞吐量。CobWeb则更注重资源的优化使用问题。它在缩短用户访问时间和保持带宽可用方面,保持了性能与耗费的折中。CobWeb利用结构化的方式组织系统,因此不但继承了DHT的可靠性和扩展性,还对正常拓扑下和性能过载情况下负载均衡平衡考虑。
本文首先对以上采用混合CDN-P2P结构的技术进行分析,结合ISP友好的P2P分发结构,分析CDN在ISP内部的流量定位问题。通过分析我们发现混合结构的CDN-P2P能够明显的减少内容分发成本,而且当对等共享点定位在ISP内部时,还能进一步在ISP内部优化选择。其次,重点分析前述CDN-P2P结构的中分发机制的研究工作,比较分析了Pull、Push及Smart-Pull三种信息分发策略,并在此基础上基于提出一个更加有效地信息分发策略,设计了相应的路由算法和报文格式、数据分发算法。设计和和实现一个基于论文提出的信息分发验证系统,设计了体系结构、定义了系统交互的消息格式及消息处理过程,实现了信息分发处理等应用模块,完善了底层的通信协议。并设计实现了CDN-P2P系统分发模块,详细阐述了信息分发系统模块的体系结构和流程,并描述了主要的数据结构和各分模块的功能和流程。
关键词:CDN; P2P;CDN-P2P; 负载均衡;分发技术; 内容定位
ABSTRACT
As the development of Internet, multi media service becomes a new component of network traffic. Applications such as video on demand and video conference increase rapidly, and the appearance of e-commence makes exchange all kinds of data, transaction and application through network at any moment and anywhere. This phenomenon brings large profit to ISPs, but it also brings server challenges to ISPs. For one thing, a large amount of traffic is generated to backbone networks; for the other, the bottleneck of servers also affects the quality of service. As a result, how to distribute multi media information effectively is one of the greatest challenges we face nowadays.
Content Delivery Network (CDN) uses cache, replicate, load balance and client request redirection techniques to push information resources to network edge, and makes users to get the requested content from the nearest and best server. Thus the end user’s access speed is increased dramatically. However, the load balance and service redirection are organized by a central server, and all requests are firstly sent to the central server. As the increase of user number and CDN scale, using a two tier of a central server and multi POP structure cannot satisfy the request of expansibility, reliability and performance. What’s more, the dear hardware deployment cost makes it hard to be used pervasively.
Due to the upper problems, nowadays a large number of studies pay attention to use P2P techniques to reconstruct CDN, and receive great success. CoralCDN is a CDN composed of many web proxy and name server, and can provide user high performance website and throughput.
In this thesis firstly we give a thorough analysis on techniques of hybrid CDN-P2P structure. Combined with ISP friendly P2P distribution structure, we analyze the traffic location problems of CDN in ISP network, and show that hybrid structure can decrease the content distribution cost dramatically. In addition, when the peer nodes are located in the same ISP network, a further optimization can be done. Furthermore, we research the the distribution technology and contrast of pull, push, smart-pull. The more effective distibution policy was proposed, furthermore designed the algorithm of routing and format of message.
Keywords:CDN, P2P, CDN-P2P, Distribution technology, Load balancing, Content location
第1章 绪论
1.1 研究背景
Internet的高速发展给人们的工作和生活带来了极大的便利,尤其是网络音频和视频等流媒体已成为目前Internet应用的最快增长点。视频聊天、IPTV、远程教学等都是广泛兴起的流媒体应用。流媒体应用的迅速增长在给运营商带来了丰厚利润的同时,也带来了新的挑战。主干网数据流巨大,服务器端瓶颈等都会影响服务的质量。
Internet上的传统流媒体系统是基于C/S模式的,一般包括一台或多台服务器和大量用户。这种系统所能承载的用户数目由服务器端的网络输出带宽、服务器处理能力、缓存大小和I/O速率限制。而且,由于Internet不能保证QoS,如果用户主机距离服务器比较远,则传输过程中的时延、时延抖动、丢包率等指标将更加不确定。此外,服务器为每一个用户都单独发送一次流媒体内容,消耗了大量的网络资源。
鉴于此,为提高用户访问的响应速度、优化现有Internet中信息的传输,在现有的Internet网络中建立一个完善的中间层——内容分发网络(Content Delivery Network, CDN)。CDN的目的是将网站的内容发布到最接近用户的网络"边缘",使用户可以就近取得所需的内容,解决Internet网络拥塞状况,提高用户访问网
