[go: up one dir, main page]

CN103475719A - Content distribution method for minimizing cross-domain flows in CDN-P2P fusion network - Google Patents

Content distribution method for minimizing cross-domain flows in CDN-P2P fusion network Download PDF

Info

Publication number
CN103475719A
CN103475719A CN2013104155806A CN201310415580A CN103475719A CN 103475719 A CN103475719 A CN 103475719A CN 2013104155806 A CN2013104155806 A CN 2013104155806A CN 201310415580 A CN201310415580 A CN 201310415580A CN 103475719 A CN103475719 A CN 103475719A
Authority
CN
China
Prior art keywords
loc
server
tracker
cdn
isp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013104155806A
Other languages
Chinese (zh)
Other versions
CN103475719B (en
Inventor
阳小龙
范羽飞
张敏
隆克平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Science and Technology Beijing USTB
Original Assignee
University of Science and Technology Beijing USTB
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Science and Technology Beijing USTB filed Critical University of Science and Technology Beijing USTB
Priority to CN201310415580.6A priority Critical patent/CN103475719B/en
Publication of CN103475719A publication Critical patent/CN103475719A/en
Application granted granted Critical
Publication of CN103475719B publication Critical patent/CN103475719B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明提出了一种CDN-P2P融合网络中跨域流量最小化的内容分发方法,该方法涉及的网络场景包括CDN副本服务器、CDN内容缓存服务器、由ISP设立的本地tracker服务器,即,Loc-tracker服务器、和用户节点。该方法是通过Loc-tracker服务器收集上来的拓扑信息为依据,如链路延迟、链路代价、跨运营商个数等,计算并选取传输成本最小的路径与节点,控制内容分发总成本,从而促使服务器选取传输代价较小的同ISP域内节点,达到优化节点的选取的目的。Loc-tracker服务器用来管理本ISP域内的节点和CDN内容缓存服务器。Loc-tracker服务器之间以P2P方式交换信息,形成覆盖网络。本发明能有效减少跨域流量的产生,减少网络的运营成本,缓解骨干网带宽资源的浪费,提高内容分发效率。

Figure 201310415580

The present invention proposes a content distribution method for minimizing cross-domain traffic in a CDN-P2P fusion network. The network scenarios involved in the method include a CDN replica server, a CDN content cache server, and a local tracker server set up by an ISP, namely, Loc- tracker server, and user nodes. This method is based on the topology information collected by the Loc-tracker server, such as link delay, link cost, number of cross-operators, etc., calculates and selects the path and node with the smallest transmission cost, and controls the total cost of content distribution, thereby The server is urged to select nodes in the same ISP domain with a lower transmission cost, so as to achieve the purpose of optimizing node selection. The Loc-tracker server is used to manage nodes and CDN content cache servers in the ISP domain. Loc-tracker servers exchange information in a P2P manner to form an overlay network. The invention can effectively reduce the generation of cross-domain traffic, reduce the operating cost of the network, relieve the waste of backbone network bandwidth resources, and improve the efficiency of content distribution.

Figure 201310415580

Description

一种CDN-P2P融合网络中跨域流量最小化的内容分发方法A content distribution method for minimizing cross-domain traffic in a CDN-P2P fusion network

技术领域technical field

本发明涉及领域为通信技术领域,具体涉及一种CDN-P2P融合内容分发网络中跨域流量的优化控制方法。The invention relates to the technical field of communication, and in particular to a method for optimizing and controlling cross-domain traffic in a CDN-P2P integrated content distribution network.

背景技术Background technique

CDN(Content Distribution Network)网络与P2P(peer-to-peer)网络是现在最流行的内容分发技术,但两者都存在许多缺陷,CDN的可靠性高,但扩展性差,难以从根本上提高分发效率,而P2P的扩展能力强,但稳定性差,容易引起骨干网络拥塞。因此将CDN与P2P技术进行融合,一方面可以互补自身的缺陷,对CDN或者P2P传统架构进行改造,一方面也能使P2P的扩展能力和CDN的可靠性、可管理性相互弥补完美结合。因此CDN-P2P融合内容分发网络是一个兼具可管理性、高扩展性、高可靠性的内容分发平台,他不但结合了CDN网络和P2P网络二者的优点,而且也克服了二者的不足。因此成为目前较为可行的内容分发技术,是近年来内容分发技术研究领域的热点,该技术的应用也可使内容分发网络的分发效率更上一个台阶。CDN (Content Distribution Network) network and P2P (peer-to-peer) network are currently the most popular content distribution technologies, but both have many defects. CDN has high reliability, but poor scalability, making it difficult to fundamentally improve distribution Efficiency, while P2P has strong expansion ability, but poor stability, which is easy to cause backbone network congestion. Therefore, the integration of CDN and P2P technology can complement its own defects on the one hand and transform the traditional structure of CDN or P2P. On the other hand, it can also perfectly combine the scalability of P2P with the reliability and manageability of CDN. Therefore, the CDN-P2P integrated content distribution network is a content distribution platform with manageability, high scalability and high reliability. It not only combines the advantages of both CDN network and P2P network, but also overcomes the shortcomings of both. . Therefore, it has become a more feasible content distribution technology at present, and it is a hot spot in the field of content distribution technology research in recent years. The application of this technology can also make the distribution efficiency of the content distribution network to a higher level.

图1为现有的CDN-P2P网络架构示意图,该网络架构主要由3部分组成,包括:中心服务器1,若干个边缘服务器2,若干个P2P用户域3。其中,中心服务器1和若干个边缘服务器2之间可以直接交换信息,每个边缘服务器2可以和邻近的P2P用户域3内的peer节点可以直接的交换信息,同一个用户P2P域3中的peer节点之间可以直接的交换信息。中心服务器1存储了所有的内容,并负责整个网络的内容分发及管理,边缘服务器2分布在网络的边缘,缓存了部分内容,主要负责本地的负载均衡及响应邻近用户P2P域内的用户请求。FIG. 1 is a schematic diagram of an existing CDN-P2P network architecture. The network architecture is mainly composed of three parts, including: a central server 1 , several edge servers 2 , and several P2P user domains 3 . Among them, the central server 1 and several edge servers 2 can directly exchange information, and each edge server 2 can directly exchange information with the peer nodes in the adjacent P2P user domain 3, and the peer nodes in the same user P2P domain 3 Nodes can exchange information directly. The central server 1 stores all the content and is responsible for the content distribution and management of the entire network. The edge server 2 is distributed on the edge of the network and caches some content. It is mainly responsible for local load balancing and responding to user requests in the adjacent user P2P domain.

在目前的CDN-P2P融合网络中,最优节点的选择基于随机算法,节点的选取范围非常广,没有任何区域性,而且P2P应用的peer选择建立在层叠网之上,无法考虑物理网络中连接关系与带宽等资源的利用情况。因此不合理的跨域流量充斥着整个网络,消耗了巨大的网络带宽,使网络基础设施不堪重负,ISP跨域成本不断提高。针对大量ISP跨域流量对ISP网络基础设施的耗损,运营商采取了封锁端口、流量整形、带宽管制等多种封堵措施,引起下载时间过长,用户满意度明显下降等问题,CDN-P2P融合网络用户也采取了相应措施来进行反封堵,呈现了一种用户与ISP之间的对立状态,严重影响了互联网的发展。In the current CDN-P2P fusion network, the selection of the optimal node is based on a random algorithm. The range of node selection is very wide without any regionalization, and the peer selection of P2P applications is based on the layered network, which cannot consider the connection in the physical network. Utilization of resources such as relationships and bandwidth. Therefore, unreasonable cross-domain traffic floods the entire network, consumes huge network bandwidth, overwhelms the network infrastructure, and continuously increases ISP cross-domain costs. Aiming at the consumption of ISP network infrastructure by a large amount of ISP cross-domain traffic, operators have adopted various blocking measures such as blocking ports, traffic shaping, and bandwidth control, which caused problems such as excessive download time and a significant decline in user satisfaction. CDN-P2P Converged network users have also taken corresponding measures to carry out anti-blocking, presenting a state of confrontation between users and ISPs, seriously affecting the development of the Internet.

为了更好的提高融合内容分发网络的分发效率,本发明提出了一种基于Loc-tracker服务器的融合网络内容分发方法,主要思路是通过控制传输成本来减少跨域流量的产生。In order to better improve the distribution efficiency of the converged content distribution network, the present invention proposes a converged network content distribution method based on a Loc-tracker server. The main idea is to reduce the generation of cross-domain traffic by controlling transmission costs.

发明内容Contents of the invention

针对于上述技术缺陷,本发明提供一种ISP友好的CDN-P2P融合网络内容分发方法,用于减少ISP间的跨域流量的产生,缓解骨干网络的带宽资源浪费,提高内容分发效率,减小访问延迟,减小运营成本。Aiming at the above-mentioned technical defects, the present invention provides an ISP-friendly CDN-P2P fusion network content distribution method, which is used to reduce the generation of cross-domain traffic between ISPs, alleviate the waste of bandwidth resources in the backbone network, improve the efficiency of content distribution, reduce Access delays reduce operating costs.

为了达到上述目的,本发明提供一种CDN-P2P融合网络中跨域流量最小化的内容分发方法,该方法包括以下步骤:In order to achieve the above object, the present invention provides a content distribution method for minimizing cross-domain traffic in a CDN-P2P fusion network, the method comprising the following steps:

(1)设定实现ISP友好的CDN-P2P内容分发方法的网络场景;(1) Set up a network scenario to realize the ISP-friendly CDN-P2P content distribution method;

(2)设定Loc-tracker服务器的列表结构及功能;(2) Set the list structure and functions of the Loc-tracker server;

(3)设定对候选节点选取的优化模型及选取方法;(3) Set the optimization model and selection method for candidate node selection;

(4)设定CDN内容缓存服务器与Loc-tracker服务器的协作方式;其中,(4) Set the cooperation mode between the CDN content cache server and the Loc-tracker server; among them,

步骤1中,网络场景包括CDN副本服务器、CDN内容缓存服务器、由ISP设立的本地tracker服务器,即Loc-tracker服务器、和用户节点;In step 1, the network scene includes a CDN copy server, a CDN content cache server, a local tracker server set up by an ISP, that is, a Loc-tracker server, and a user node;

步骤2中,Loc-tracker服务器以Tracker代理的方式运行、构建并维护候选列表,在每个Loc-tracker服务器中都会维护两个列表,分别用于维护本区域本ISP中的节点和其他外部节点,Loc-tracker服务器能够通过获取边界路由中的拓扑信息来感知网络拓扑的变化,Loc-tracker服务器会主动收取本地同ISP的节点信息,其他外部节点的信息由其他Loc-tracker服务器提供;In step 2, the Loc-tracker server operates as a Tracker agent, builds and maintains a candidate list. Each Loc-tracker server maintains two lists, which are used to maintain nodes in the local ISP and other external nodes. , the Loc-tracker server can perceive the change of the network topology by obtaining the topology information in the border route, the Loc-tracker server will actively collect the local node information of the same ISP, and the information of other external nodes is provided by other Loc-tracker servers;

步骤3中,优化模型需满足以下条件:In step 3, the optimized model needs to meet the following conditions:

a.跨ISP个数要小于等于网络中限制的最大值;a. The number of cross-ISPs should be less than or equal to the maximum limit in the network;

b.链路时延要小于等于网络中用户可等待时长的最大值;b. The link delay should be less than or equal to the maximum waiting time of users in the network;

c.跳数需小于等于网络协议所规定的最大值;c. The number of hops must be less than or equal to the maximum value specified by the network protocol;

选取方法如下:当某ISP域内某用户有内容数据请求时,该用户会向该ISP域内的Loc-tracker服务器发送询问请求,以询问它所请求内容数据有哪些用户节点能够提供,在收到请求后,Loc-tracker服务器会根据请求内容在两个列表中选出满足优化模型的节点,构成候选列表;当这些返回的节点不能满足用户的内容请求的时候,用户会向Loc-tracker服务器发起第二次请求,在Loc-tracker服务器接收到第二次请求之后,服务器会向其他Loc-tracker服务器进行询问在其他ISP区域内寻找节点;当需要跨ISP进行数据请求的时候,用户的请求会经由本ISP域内的Loc-tracker服务器发送给其他ISP域内的Loc-tracker服务器询问并请求数据;The selection method is as follows: when a user in a certain ISP domain has a request for content data, the user will send an inquiry request to the Loc-tracker server in the ISP domain to ask which user nodes can provide the requested content data. Finally, the Loc-tracker server will select nodes that satisfy the optimization model from the two lists according to the request content to form a candidate list; when these returned nodes cannot meet the user's content request, the user will initiate the first The second request, after the Loc-tracker server receives the second request, the server will ask other Loc-tracker servers to find nodes in other ISP areas; The Loc-tracker server in this ISP domain sends inquiries and requests data to Loc-tracker servers in other ISP domains;

步骤4中,位于各个ISP域内的CDN内容缓存服务器会作为一特殊用户节点用来存放副本文件并可供其他用户下载,和普通的用户节点一样,CDN内容缓存服务器同样会将所含内容的信息发送给同ISP或最近ISP内的Loc-tracker服务器,在用户请求到达时,Loc-tracker服务器根据当前网络状态将用户引导到CDN内容缓存服务器进行内容请求,当请求用户到CDN内容缓存服务器的路径状态为拥塞时,Loc-tracker服务器将不会引导用户到内容缓存服务器进行内容请求,将会返回给用户一些延时较短,传输总费用较低的节点,若请求用户到CDN内容缓存服务器的路径没有发生拥塞,且传输总费用与延时都满足优化模型的话,Loc-tracker服务器将会引导用户到CDN内容缓存服务器进行数据请求。In step 4, the CDN content cache server located in each ISP domain will be used as a special user node to store copy files and be available for other users to download. Like ordinary user nodes, the CDN content cache server will also store the information contained in the content Send to the same ISP or the Loc-tracker server in the nearest ISP. When the user request arrives, the Loc-tracker server will guide the user to the CDN content cache server for content request according to the current network status. When requesting the path of the user to the CDN content cache server When the state is congested, the Loc-tracker server will not guide the user to the content cache server for content request, and will return to the user some nodes with shorter delay and lower total transmission cost. If the request user goes to the CDN content cache server If the path is not congested, and the total transmission cost and delay satisfy the optimization model, the Loc-tracker server will guide the user to the CDN content cache server for data requests.

进一步地,所述CDN副本服务器与所述CDN内容缓存服务器以树形方式连接,所述Loc-tracker服务器是由所属区域的ISP设置的,所述Loc-tracker服务器管理着所属区域内的用户和CDN内容缓存服务器,不同ISP中的Loc-tracker服务器以P2P方式交换数据,构成一个由Loc-tracker服务器组成的P2P覆盖网络。Further, the CDN copy server is connected to the CDN content cache server in a tree form, the Loc-tracker server is set by the ISP of the area to which it belongs, and the Loc-tracker server manages users and CDN content cache server, Loc-tracker servers in different ISPs exchange data in P2P mode, forming a P2P overlay network composed of Loc-tracker servers.

附图说明Description of drawings

图1CDN-P2P网络架构示意图;Figure 1 Schematic diagram of CDN-P2P network architecture;

图2ISP友好的CDN-P2P融合网络内容分发方法网络场景图;Figure 2 is a network scene diagram of an ISP-friendly CDN-P2P converged network content distribution method;

图3Loc-tracker服务器列表构成示意图;Figure 3 is a schematic diagram of the composition of the Loc-tracker server list;

具体实施方式Detailed ways

为了能更好地说明本发明的工作过程,下面结合附图对其具体实施过程作详细阐述。In order to better illustrate the working process of the present invention, its specific implementation process will be described in detail below in conjunction with the accompanying drawings.

(1)设计ISP友好的CDN-P2P内容分发方法场景图:如图1所示,网络场景中主要包括CDN副本服务器、CDN内容缓存服务器、由ISP设立的本地tracker服务器(简称为Loc-tracker服务器)、和用户节点。CDN副本服务器与CDN内容缓存服务器以树形方式连接,Loc-tracker服务器是由所属区域的ISP设置的,Loc-tracker服务器管理着所属区域内的用户和CDN内容缓存服务器。不同ISP中的Loc-tracker服务器以P2P方式交换数据,构成一个由Loc-tracker服务器组成的P2P覆盖网络。(1) Design an ISP-friendly CDN-P2P content distribution method scenario diagram: as shown in Figure 1, the network scenario mainly includes a CDN replica server, a CDN content cache server, and a local tracker server (referred to as the Loc-tracker server) set up by the ISP. ), and user nodes. The CDN replica server is connected to the CDN content cache server in a tree form. The Loc-tracker server is set by the ISP in the area to which it belongs. The Loc-tracker server manages the users and the CDN content cache server in the area to which it belongs. Loc-tracker servers in different ISPs exchange data in P2P mode, forming a P2P overlay network composed of Loc-tracker servers.

(2)设定Loc-tracker服务器列表结构及功能:Loc-tracker服务器以Tracker代理的方式运行、构建并维护候选列表。在每个Loc-tracker服务器中都会维护两个列表,如图2所示第一个列表用于维护本区域本ISP中的节点,第二个列表用于维护其他外部节点。Loc-tracker服务器能够通过获取边界路由中的拓扑信息来感知网络拓扑的变化。Loc-tracker服务器会主动收取本地同ISP的节点信息,记录节点之间的跨ISP个数、链路代价、链路时延和跳数等信息,其他外部节点的信息由其他Loc-tracker服务器提供。不同的Loc-tracker服务器构成覆盖网络,在覆盖网络中这些Loc-tracker服务器会定期以P2P的方式进行数据交换。当有用户发起内容数据请求时,Loc-tracker服务器会筛选出一组候选节点回馈给用户,这些候选节点需满足优化模型。(2) Set the structure and function of the Loc-tracker server list: the Loc-tracker server operates as a Tracker agent, builds and maintains the candidate list. Two lists are maintained in each Loc-tracker server. As shown in Figure 2, the first list is used to maintain nodes in the local ISP, and the second list is used to maintain other external nodes. The Loc-tracker server can sense changes in network topology by obtaining topology information in border routes. The Loc-tracker server will take the initiative to collect the local node information of the same ISP, record the number of cross-ISPs between nodes, link cost, link delay and hop count, etc. The information of other external nodes is provided by other Loc-tracker servers . Different Loc-tracker servers form an overlay network, and these Loc-tracker servers will regularly exchange data in a P2P manner in the overlay network. When a user initiates a request for content data, the Loc-tracker server will filter out a group of candidate nodes and feed back to the user, and these candidate nodes must satisfy the optimization model.

(3)设计最优节点选取的优化模型及选取方法:(3) Design the optimization model and selection method for optimal node selection:

优化模型如下:The optimization model is as follows:

假设网络中单位流量跨一个ISP产生的费用为A。节点v0到节点vh交换数据时所经历的最短路径为p=<v0,v1,…,,vh>,在路径p中跨ISP的个数为xp,路径p上的流量为Dp,跳数为hp,路径p上的最小的带宽为b(p)。Assume that the cost incurred by a unit of traffic across an ISP in the network is A. The shortest path experienced when exchanging data from node v 0 to node v h is p=<v 0 ,v 1 ,…,,v h >, the number of cross-ISPs in path p is x p , and the traffic on path p is D p , the number of hops is h p , and the minimum bandwidth on path p is b(p).

由节点v0到节点vh在路径p上所产生总成本为:The total cost generated on the path p from node v 0 to node v h is:

在传输Dp大小的数据块时所需的路径延时为:The path delay required when transmitting a data block of size Dp is:

负载大小/路径最小带宽=

Figure BDA0000381330100000042
Payload Size/Path Minimum Bandwidth =
Figure BDA0000381330100000042

在Loc-tracker服务器进行peer节点筛选的时候,需要有三个条件限制条件,被选出的节点必须满足三个条件,如下:When the Loc-tracker server performs peer node screening, three conditions are required. The selected nodes must meet the three conditions, as follows:

跨ISP个数要小于等于网络中限制的最大值Mn(此值可依据网络结构进行设定,例如可限制节点间跨ISP个数要小于等于2个);The number of cross-ISPs should be less than or equal to the maximum limit Mn in the network (this value can be set according to the network structure, for example, the number of cross-ISPs between nodes can be limited to be less than or equal to 2);

链路时延要小于等于网络中用户可等待时长的最大值Mt(例如可限制链路时延需小于等于6秒);The link delay should be less than or equal to the maximum value Mt of the user's waiting time in the network (for example, the limitable link delay must be less than or equal to 6 seconds);

跳数需小于等于网络协议所规定的最大值Mh(例如可限制跳数最大跳数小于等于15跳)。The number of hops must be less than or equal to the maximum value Mh specified by the network protocol (for example, the maximum number of hops that can be limited is less than or equal to 15 hops).

设一个共享文件K被分为N个数据块时,用户为获取全部分块最多需向N个节点发送内容请求。综合上述三个条件并将N条链路考虑进去的时候,整个内容分发过程的最小成本函数可转化为一个最优化问题的解,最优化问题(即优化模型)如下所示:Assuming that a shared file K is divided into N data blocks, the user needs to send content requests to at most N nodes in order to obtain all the blocks. When the above three conditions are combined and N links are taken into consideration, the minimum cost function of the entire content distribution process can be transformed into a solution to an optimization problem. The optimization problem (that is, the optimization model) is as follows:

minmin (( &Sigma;&Sigma; jj == 11 NN (( &Sigma;&Sigma; ii == 11 hh jj cc (( vv (( ii -- 11 )) jj ,, vv ijij )) ++ xx pjpj DD. pjpj AA )) )) sthe s .. tt .. xx pjpj &le;&le; Mnmn DD. pjpj bb (( pjpj )) &le;&le; MtMt. hh pjpj &le;&le; Mhmh ,, (( jj == 1,2,31,2,3 ,, .. .. .. ,, NN ))

所有包含文件K分块的节点中满足优化模型的节点vij,就是被Loc-tracker服务器选出的候选节点。由于在传输过程中运营商所需要支付的大部分费用是在跨ISP域是产生的,因此对总费用进行限制的方法能够提高本地同ISP内的节点命中率,从而减少跨ISP流量的产生。The node v ij that satisfies the optimization model among all the nodes containing the file K blocks is the candidate node selected by the Loc-tracker server. Since most of the fees that the operator needs to pay during the transmission process are generated across ISP domains, the method of limiting the total fee can improve the local node hit rate within the same ISP, thereby reducing the generation of cross-ISP traffic.

最优节点选取方法如下:The optimal node selection method is as follows:

如图3所示,当某ISP域内某用户有内容数据请求时,该用户首先会向该ISP域内的Loc-tracker服务器发送询问请求,以询问它所请求内容数据有哪些peer节点可提供。在收到请求后,Loc-tracker服务器会根据请求内容在列表一、列表二中选出满足优化模型的节点vij,构成候选列表。As shown in Figure 3, when a user in an ISP domain has a content data request, the user will first send an inquiry request to the Loc-tracker server in the ISP domain to inquire which peer nodes can provide the requested content data. After receiving the request, the Loc-tracker server will select the node v ij that satisfies the optimization model from list 1 and list 2 according to the content of the request to form a candidate list.

当这些返回的节点不能满足用户的内容请求的时候(如下载内容不完整等情况),用户会向Loc-tracker服务器发起第二次请求,在Loc-tracker服务器接收到第二次请求之后,服务器会将这三个条件依次放宽进行寻找。如将跨ISP个数从小于等于2,扩宽到小于等于3,以此类推。When these returned nodes cannot satisfy the user's content request (such as incomplete download content, etc.), the user will initiate a second request to the Loc-tracker server. After the Loc-tracker server receives the second request, the server These three conditions will be relaxed in order to search. For example, expand the number of cross-ISPs from less than or equal to 2 to less than or equal to 3, and so on.

当需要跨ISP进行数据请求的时候,例如当ISP1中的某一节点需要下载ISP2中内容分块,候选节点的选取过程为:首先该请求节点需向本域内的Loc-tracker服务器(记为L1)发送请求,然后由L1向ISP2的Loc-tracker服务器(记为L2)发送询问请求。L2会根据列表中的节点信息经优化模型的计算,筛选出相应节点构成候选列表返回给L1。最后该候选列表会经由L1发送给请求用户。When a data request needs to be made across ISPs, for example, when a node in ISP1 needs to download content blocks in ISP2, the selection process of candidate nodes is as follows: first, the requesting node needs to send a request to the Loc-tracker server in the domain (denoted as L1 ) to send a request, and then L1 sends an inquiry request to the Loc-tracker server of ISP2 (denoted as L2). According to the node information in the list, L2 will filter out the corresponding nodes to form a candidate list and return it to L1 through the calculation of the optimization model. Finally, the candidate list will be sent to the requesting user via L1.

(4)中设定的CDN内容缓存服务器与Loc-tracker服务器的协作方式具体包括下列内容:位于各个ISP域内的CDN内容缓存服务器会被看作是一个特殊的peer,这个特殊的peer用来存放副本文件并可供其他用户下载。与普通的peer一样,CDN内容缓存服务器同样会将所含内容的信息发送给同ISP或最近ISP内的Loc-tracker服务器,信息记录在列表一中。在用户请求到达时,Loc-tracker服务器可以根据当前网络状态将用户引导到CDN内容缓存服务器进行内容请求。当请求用户到CDN的路径状态为拥塞时,Loc-tracker服务器将不会引导用户到内容缓存服务器进行内容请求,将会返回给用户一些延时较短,传输总费用较低的节点,若请求用户到CDN内容缓存服务器的路径没有发生拥塞,且传输总费用与延时都满足优化模型的话,Loc-tracker服务器将会引导用户到CDN内容缓存服务器进行数据请求。The cooperation method between the CDN content cache server and the Loc-tracker server set in (4) specifically includes the following content: the CDN content cache server located in each ISP domain will be regarded as a special peer, and this special peer is used to store Copy files and make them available for download by other users. Like ordinary peers, the CDN content cache server will also send the content information to the Loc-tracker server in the same ISP or the nearest ISP, and the information is recorded in List 1. When a user request arrives, the Loc-tracker server can guide the user to the CDN content cache server for content request according to the current network status. When the path status of the requesting user to the CDN is congested, the Loc-tracker server will not guide the user to the content cache server for content request, and will return to the user some nodes with shorter delay and lower total transmission cost. If there is no congestion in the path from the user to the CDN content cache server, and if the total transmission cost and delay satisfy the optimization model, the Loc-tracker server will guide the user to the CDN content cache server for data requests.

本发明利用所设计的基于Loc-tracker服务器的融合内容分发方法通过控制分发成本,来加大本地本ISP内节点的命中率,以此达到减少跨域流量的生成提高分发效率的目的。在本发明通过最优化模型(选取的最优节点需满足到请求节点的路径费用最小、跨ISP少于等于Mn个、路径时延小于等于Mt秒、跳数小于等于Mh跳)实现对分发成本的控制,以此实现在保证用户需求得到满足的同时提高本ISP内节点命中率的目的,从而实现减小跨ISP流量的生成,减少运营成本以及骨干网带宽资源的浪费,缓解了基础设施的压力,提高了CDN-P2P融合内容分发网络的分发效率。The present invention uses the designed integrated content distribution method based on the Loc-tracker server to control the distribution cost to increase the hit rate of nodes in the local ISP, so as to reduce the generation of cross-domain traffic and improve the distribution efficiency. In the present invention, the distribution cost is realized through the optimization model (the selected optimal node needs to meet the minimum path cost to the requesting node, less than or equal to Mn cross-ISPs, less than or equal to Mt seconds of path delay, and less than or equal to Mh hops). In order to achieve the purpose of improving the hit rate of nodes within the ISP while ensuring that user needs are met, thereby reducing the generation of cross-ISP traffic, reducing operating costs and waste of backbone network bandwidth resources, and alleviating the impact of infrastructure The pressure improves the distribution efficiency of CDN-P2P integrated content distribution network.

以上所披露的仅为本发明的较佳实施例,不能以此限定本发明的权利范围,依照本发明申请专利范围所做的同等变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and should not limit the scope of rights of the present invention. The equivalent changes made according to the patent scope of the present invention still fall within the scope of the present invention.

Claims (2)

1.一种CDN-P2P融合网络中跨域流量最小化的内容分发方法,其特征在于,该方法包括以下步骤: 1. A content distribution method for minimizing cross-domain traffic in a CDN-P2P fusion network, characterized in that the method comprises the following steps: (1)设定实现ISP友好的CDN-P2P内容分发方法的网络场景; (1) Set up a network scenario to realize the ISP-friendly CDN-P2P content distribution method; (2)设定Loc-tracker服务器的列表结构及功能; (2) Set the list structure and functions of the Loc-tracker server; (3)设定对候选节点选取的优化模型及选取方法; (3) Set the optimization model and selection method for candidate node selection; (4)设定CDN 内容缓存服务器与Loc-tracker服务器的协作方式;其中, (4) Set the cooperation mode between the CDN content cache server and the Loc-tracker server; among them, 步骤1中,网络场景包括CDN副本服务器、CDN内容缓存服务器、由ISP设立的本地tracker服务器,即Loc-tracker服务器、和用户节点; In step 1, the network scene includes a CDN copy server, a CDN content cache server, a local tracker server set up by an ISP, that is, a Loc-tracker server, and a user node; 步骤2中,Loc-tracker服务器以Tracker代理的方式运行、构建并维护候选列表,在每个Loc-tracker服务器中都会维护两个列表,分别用于维护本区域本ISP中的节点和其他外部节点,Loc-tracker服务器能够通过获取边界路由中的拓扑信息来感知网络拓扑的变化,Loc-tracker服务器会主动收取本地同ISP的节点信息,其他外部节点的信息由其他Loc-tracker服务器提供; In step 2, the Loc-tracker server operates as a Tracker agent, builds and maintains a candidate list. Each Loc-tracker server maintains two lists, which are used to maintain nodes in the local ISP and other external nodes. , the Loc-tracker server can perceive the change of the network topology by obtaining the topology information in the border route, the Loc-tracker server will actively collect the local node information of the same ISP, and the information of other external nodes is provided by other Loc-tracker servers; 步骤3中,优化模型需满足以下条件: In step 3, the optimized model needs to meet the following conditions: a.跨ISP个数要小于等于网络中限制的最大值; a. The number of cross-ISPs should be less than or equal to the maximum limit in the network; b. 链路时延要小于等于网络中用户可等待时长的最大值; b. The link delay should be less than or equal to the maximum waiting time of users in the network; c. 跳数需小于等于网络协议所规定的最大值; c. The number of hops must be less than or equal to the maximum value specified by the network protocol; 选取方法如下:当某ISP域内某用户有内容数据请求时,该用户会向该ISP域内的Loc-tracker服务器发送询问请求,以询问它所请求内容数据有哪些用户节点能够提供,在收到请求后,Loc-tracker服务器会根据请求内容在两个列表中选出满足优化模型的节点,构成候选列表;当这些返回的节点不能满足用户的内容请求的时候,用户会向Loc-tracker服务器发起第二次请求,在Loc-tracker服务器接收到第二次请求之后,服务器会向其他Loc-tracker服务器进行询问在其他ISP区域内寻找节点;当需要跨ISP进行数据请求的时候,用户的请求会经由本ISP域内的Loc-tracker服务器发送给其他ISP域内的Loc-tracker服务器询问并请求数据; The selection method is as follows: when a user in a certain ISP domain has a request for content data, the user will send an inquiry request to the Loc-tracker server in the ISP domain to ask which user nodes can provide the requested content data. Finally, the Loc-tracker server will select nodes that satisfy the optimization model from the two lists according to the request content to form a candidate list; when these returned nodes cannot meet the user's content request, the user will initiate the first The second request, after the Loc-tracker server receives the second request, the server will ask other Loc-tracker servers to find nodes in other ISP areas; The Loc-tracker server in this ISP domain sends inquiries and requests data to Loc-tracker servers in other ISP domains; 步骤4中,位于各个ISP域内的CDN内容缓存服务器会作为一特殊用户节点用来存放副本文件并可供其他用户下载,和普通的用户节点一样,CDN内容缓存服务器同样会将所含内容的信息发送给同ISP或最近ISP内的Loc-tracker服务器,在用户请求到达时,Loc-tracker服务器根据当前网络状态将用户引导到CDN内容缓存服务器进行内容请求,当请求用户到CDN内容缓存服务器的路径状态为拥塞时,Loc-tracker服务器将不会引导用户到内容缓存服务器进行内容请求,将会返回给用户一些延时较短,传输总费用较低的节点;若请求用户到CDN 内容缓存服务器的路径没有发生拥塞,且传输总费用与延时都满足优化模型的话,Loc-tracker服务器将会引导用户到CDN内容缓存服务器进行数据请求。 In step 4, the CDN content cache server located in each ISP domain will be used as a special user node to store copy files and be available for other users to download. Like ordinary user nodes, the CDN content cache server will also store the information contained in the content Send to the same ISP or the Loc-tracker server in the nearest ISP. When the user request arrives, the Loc-tracker server will guide the user to the CDN content cache server for content request according to the current network status. When requesting the path of the user to the CDN content cache server When the state is congested, the Loc-tracker server will not guide the user to the content cache server for content request, and will return to the user some nodes with shorter delay and lower total transmission cost; if the request user goes to the CDN content cache server If the path is not congested, and the total transmission cost and delay satisfy the optimization model, the Loc-tracker server will guide the user to the CDN content cache server for data requests. 2.根据权利要求1所述的方法,其特征在于,所述CDN 副本服务器与所述CDN内容缓存服务器以树形方式连接,所述Loc-tracker服务器是由所属区域的ISP 设置的,所述Loc-tracker服务器管理着所属区域内的用户和CDN内容缓存服务器,不同ISP中的Loc-tracker服务器以P2P方式交换数据,构成一个由Loc-tracker服务器组成的P2P覆盖网络。 2. The method according to claim 1, wherein the CDN replica server is connected in a tree form with the CDN content cache server, the Loc-tracker server is set by the ISP of the area to which it belongs, and the The Loc-tracker server manages the users and CDN content cache servers in the area to which it belongs. The Loc-tracker servers in different ISPs exchange data in P2P mode, forming a P2P overlay network composed of Loc-tracker servers.
CN201310415580.6A 2013-09-12 2013-09-12 The content distribution method that in a kind of CDN-P2P UNE, cross-domain flow rate minimizes Expired - Fee Related CN103475719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310415580.6A CN103475719B (en) 2013-09-12 2013-09-12 The content distribution method that in a kind of CDN-P2P UNE, cross-domain flow rate minimizes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310415580.6A CN103475719B (en) 2013-09-12 2013-09-12 The content distribution method that in a kind of CDN-P2P UNE, cross-domain flow rate minimizes

Publications (2)

Publication Number Publication Date
CN103475719A true CN103475719A (en) 2013-12-25
CN103475719B CN103475719B (en) 2016-08-31

Family

ID=49800412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310415580.6A Expired - Fee Related CN103475719B (en) 2013-09-12 2013-09-12 The content distribution method that in a kind of CDN-P2P UNE, cross-domain flow rate minimizes

Country Status (1)

Country Link
CN (1) CN103475719B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684877A (en) * 2013-12-30 2014-03-26 北京瑞汛世纪科技有限公司 Method and device for selecting infrastructure for network content services
CN103701915A (en) * 2013-12-30 2014-04-02 北京瑞汛世纪科技有限公司 Method and device for selecting infrastructures for network content service
CN104660677A (en) * 2015-01-16 2015-05-27 北京邮电大学 Tree CDN-P2P fusion network framework based on grid structure and method thereof
CN104717304A (en) * 2015-03-31 2015-06-17 北京科技大学 CDN-P2P (Content Distribution Network-Peer-to-Peer) content optimizing selecting system
WO2015127649A1 (en) * 2014-02-28 2015-09-03 华为技术有限公司 Global master, domain master, and method for indicating stream establishment and establishing stream
CN105515880A (en) * 2016-01-25 2016-04-20 重庆邮电大学 Token bucket traffic shaping method suitable for fusion network
CN105812255A (en) * 2016-05-06 2016-07-27 网宿科技股份有限公司 Source return line selection method and device
CN105847140A (en) * 2016-05-20 2016-08-10 乐视控股(北京)有限公司 File distribution task generation method and system
CN105871591A (en) * 2015-12-21 2016-08-17 乐视云计算有限公司 Method and device for distributing CDN (Content Delivery Network) addresses
WO2017071555A1 (en) * 2015-10-30 2017-05-04 Huawei Technologies Co., Ltd. Method and system for providing network caches
CN106790577A (en) * 2016-12-27 2017-05-31 中国建设银行股份有限公司 A kind of data transmission method and system
CN106817356A (en) * 2015-12-01 2017-06-09 北京中投视讯文化传媒股份有限公司 A kind of method and device of video playback flow Real-Time Scheduling
CN107222539A (en) * 2017-06-05 2017-09-29 西安交通大学 A kind of caching dispositions method that time delay Cost Model is competed based on node
CN107612980A (en) * 2017-08-28 2018-01-19 西安电子科技大学 It can adjust in a kind of structured P 2 P network and reliable consistency maintaining method
CN109474696A (en) * 2018-12-10 2019-03-15 北京邮电大学 A network service method, apparatus, electronic device and readable storage medium
CN110336843A (en) * 2015-02-24 2019-10-15 深圳梨享计算有限公司 A content distribution method for crowdsourcing, a central node and an edge node
CN110381129A (en) * 2019-07-12 2019-10-25 北京比利信息技术有限公司 - kind of the extension CDN system based on extension node
WO2020263198A1 (en) * 2019-06-26 2020-12-30 Medianova Internet Hizmetleri Ve Ticaret Anonim Sirketi Performance enhanced cdn service
CN113179328A (en) * 2021-05-19 2021-07-27 上海七牛信息技术有限公司 Resource distribution method and system for PCDN (Primary Contourlet distribution) network
CN113453038A (en) * 2021-06-25 2021-09-28 桂林电子科技大学 Effectiveness optimal collaborative cache management method under CDN-P2P hybrid architecture
CN114827256A (en) * 2022-05-09 2022-07-29 北京奇艺世纪科技有限公司 Data pre-pushing method, data downloading method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988449A (en) * 2005-12-20 2007-06-27 中国科学院声学研究所 Data distributing/obtaining method based on network information
CN101459614A (en) * 2008-12-24 2009-06-17 腾讯科技(深圳)有限公司 Method, system and equipment for network data transmission
CN103037018A (en) * 2012-12-31 2013-04-10 乐视网信息技术(北京)股份有限公司 P2P node selecting method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988449A (en) * 2005-12-20 2007-06-27 中国科学院声学研究所 Data distributing/obtaining method based on network information
CN101459614A (en) * 2008-12-24 2009-06-17 腾讯科技(深圳)有限公司 Method, system and equipment for network data transmission
CN103037018A (en) * 2012-12-31 2013-04-10 乐视网信息技术(北京)股份有限公司 P2P node selecting method

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701915A (en) * 2013-12-30 2014-04-02 北京瑞汛世纪科技有限公司 Method and device for selecting infrastructures for network content service
CN103684877A (en) * 2013-12-30 2014-03-26 北京瑞汛世纪科技有限公司 Method and device for selecting infrastructure for network content services
CN103701915B (en) * 2013-12-30 2017-10-24 湖南网数科技有限公司 A kind of method and apparatus that infrastructure is chosen for Web content service
CN103684877B (en) * 2013-12-30 2017-03-01 湖南网数科技有限公司 A kind of method and apparatus choosing infrastructure for Web content service
WO2015127649A1 (en) * 2014-02-28 2015-09-03 华为技术有限公司 Global master, domain master, and method for indicating stream establishment and establishing stream
CN104660677A (en) * 2015-01-16 2015-05-27 北京邮电大学 Tree CDN-P2P fusion network framework based on grid structure and method thereof
CN110417916B (en) * 2015-02-24 2021-10-08 庄奇东 Content distribution method, central node and edge node capable of repaying revenue
CN110417916A (en) * 2015-02-24 2019-11-05 深圳梨享计算有限公司 Content distribution method, central node and edge node that can give back revenue
CN110336843A (en) * 2015-02-24 2019-10-15 深圳梨享计算有限公司 A content distribution method for crowdsourcing, a central node and an edge node
CN104717304A (en) * 2015-03-31 2015-06-17 北京科技大学 CDN-P2P (Content Distribution Network-Peer-to-Peer) content optimizing selecting system
CN104717304B (en) * 2015-03-31 2018-04-03 北京科技大学 A kind of CDN P2P content optimizations select system
WO2017071555A1 (en) * 2015-10-30 2017-05-04 Huawei Technologies Co., Ltd. Method and system for providing network caches
US10320930B2 (en) 2015-10-30 2019-06-11 Huawei Technologies Co., Ltd. Method and system for providing network caches
CN106817356A (en) * 2015-12-01 2017-06-09 北京中投视讯文化传媒股份有限公司 A kind of method and device of video playback flow Real-Time Scheduling
WO2017107463A1 (en) * 2015-12-21 2017-06-29 乐视控股(北京)有限公司 Method and apparatus for delivering cdn addresses
CN105871591A (en) * 2015-12-21 2016-08-17 乐视云计算有限公司 Method and device for distributing CDN (Content Delivery Network) addresses
CN105515880B (en) * 2016-01-25 2018-10-30 重庆邮电大学 A kind of token bucket flow shaping method of suitable converged network
CN105515880A (en) * 2016-01-25 2016-04-20 重庆邮电大学 Token bucket traffic shaping method suitable for fusion network
CN105812255A (en) * 2016-05-06 2016-07-27 网宿科技股份有限公司 Source return line selection method and device
CN105847140A (en) * 2016-05-20 2016-08-10 乐视控股(北京)有限公司 File distribution task generation method and system
CN106790577A (en) * 2016-12-27 2017-05-31 中国建设银行股份有限公司 A kind of data transmission method and system
CN107222539B (en) * 2017-06-05 2020-03-13 西安交通大学 Cache deployment method based on node competition delay cost model
CN107222539A (en) * 2017-06-05 2017-09-29 西安交通大学 A kind of caching dispositions method that time delay Cost Model is competed based on node
CN107612980A (en) * 2017-08-28 2018-01-19 西安电子科技大学 It can adjust in a kind of structured P 2 P network and reliable consistency maintaining method
CN107612980B (en) * 2017-08-28 2020-07-17 西安电子科技大学 Adjustable and reliable consistency maintenance method in structured P2P network
CN109474696A (en) * 2018-12-10 2019-03-15 北京邮电大学 A network service method, apparatus, electronic device and readable storage medium
WO2020263198A1 (en) * 2019-06-26 2020-12-30 Medianova Internet Hizmetleri Ve Ticaret Anonim Sirketi Performance enhanced cdn service
CN110381129A (en) * 2019-07-12 2019-10-25 北京比利信息技术有限公司 - kind of the extension CDN system based on extension node
CN113179328A (en) * 2021-05-19 2021-07-27 上海七牛信息技术有限公司 Resource distribution method and system for PCDN (Primary Contourlet distribution) network
CN113453038A (en) * 2021-06-25 2021-09-28 桂林电子科技大学 Effectiveness optimal collaborative cache management method under CDN-P2P hybrid architecture
CN114827256A (en) * 2022-05-09 2022-07-29 北京奇艺世纪科技有限公司 Data pre-pushing method, data downloading method and system
CN114827256B (en) * 2022-05-09 2023-12-15 北京奇艺世纪科技有限公司 Data pre-pushing method, data downloading method and system

Also Published As

Publication number Publication date
CN103475719B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN103475719B (en) The content distribution method that in a kind of CDN-P2P UNE, cross-domain flow rate minimizes
USRE49943E1 (en) System and method for a context layer switch
CN112346854B (en) In-network resource scheduling method and system for hierarchical collaborative decision and storage medium
Nour et al. A distributed cache placement scheme for large-scale information-centric networking
CN104717304B (en) A kind of CDN P2P content optimizations select system
CN101222438B (en) A Data Transmission Method in Opportunistic Networks
CN105812462B (en) A kind of ICN method for routing based on SDN
Zhang et al. An SDN-based caching decision policy for video caching in information-centric networking
CN102594902B (en) A BitTorrent Node Selection Method Based on Node Performance
Lal et al. Caching methodologies in Content centric networking (CCN): A survey
CN101741750A (en) Resource downloading method and system in P2P
Saha et al. Efficient cache availability management in information-centric networks
Reshadinezhad et al. An efficient adaptive cache management scheme for named data networks
Alahmri et al. Efficient pooling and collaborative cache management for NDN/IoT networks
CN104967677A (en) File transmission method and apparatus based on NDN cache optimization
Du et al. A VDTN scheme with enhanced buffer management
Banerjee et al. Characteristic time routing in information centric networks
Wu et al. Edge-oriented collaborative caching in information-centric networking
CN103179045B (en) Support the resource node selecting method of P2P flow optimization
CN108173903A (en) Application of Autonomous System Cooperative Caching Strategy in CCN
KR101048016B1 (en) Method for forming P2P overlay network, terminal for P2P overlay network, and method and apparatus for managing P2P overlay network
Mo et al. CCPNC: a cooperative caching strategy based on content popularity and node centrality
Li et al. Simulation studies of OpenFlow-based in-network caching strategies.
CN102904933B (en) P2P (Peer-to-Peer) traffic dredging and optimizing network system
Bernardini et al. Cache management strategy for CCN based on content popularity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160831

Termination date: 20190912