WO2005022825A1 - A system of layered content delivery network and a method of layered delivering content - Google Patents

A system of layered content delivery network and a method of layered delivering content Download PDF

Info

Publication number
WO2005022825A1
WO2005022825A1 PCT/CN2004/000514 CN2004000514W WO2005022825A1 WO 2005022825 A1 WO2005022825 A1 WO 2005022825A1 CN 2004000514 W CN2004000514 W CN 2004000514W WO 2005022825 A1 WO2005022825 A1 WO 2005022825A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
distribution
layer
node
user
Prior art date
Application number
PCT/CN2004/000514
Other languages
French (fr)
Chinese (zh)
Inventor
Anyuan Xiong
Daiyi He
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2005022825A1 publication Critical patent/WO2005022825A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems

Definitions

  • the present invention relates to a hierarchical content distribution network and a method for hierarchical content distribution.
  • the present invention relates to a content distribution network technology, and in particular, to a layered content distribution network and a method for layered content distribution. Background of the invention
  • ICPs Internet Content Providers
  • CDN Internet-Content Delivery Network
  • CDN Content Delivery Network
  • the technical principle of the CDN is to push the content of the website from the backbone of the network to the "edge" of the network closest to the user in the existing Internet network, in order to reduce the factors affecting the effect such as transmission delay and network jitter, thereby providing orderly And high-quality services allow users to get the information they need from the place closest to the user as quickly as possible. Because this technology has greatly eased the congestion of the Internet, the website has the ability to provide more content services with huge data traffic such as video programs, song on demand, etc. At the same time, the reliability of various services such as online transactions and online banking is also available. Get effective Protection. In short, the CDN can publish the information of the ICP site to the edge devices of the network in advance, so that users can get a quick response on the nearest edge device when visiting the site, thereby improving the quality of service to users and reducing the center. Node load.
  • the current CDN networking structure is relatively simple. Whether it is enterprise-wide, metropolitan-wide, or nationwide, a single-level structure is used.
  • the network structure is shown in Figure 1.
  • the main components of a CDN are devices such as a global load balancer, a central server (CS), and an edge server (ES).
  • the network architecture can be divided into two parts: the center and the edge.
  • the central part is generally composed of devices such as the global load balancer and the central server.
  • the edge part is generally composed of many edge servers as the edge device part that provides users with access information.
  • the information of the ICP site is pre-published to each edge server through the central server, and each user's access request to the ICP site is scheduled by the global load balancer. From the CDN network structure shown in Figure 1, it can be seen that although the CDN's edge servers are distributed at the edge of the network, the global load balancer as a scheduler is still concentrated in the center of the network.
  • the general user access scheduling process is shown in Figure 2, and includes the following steps:
  • Step 201 The user accesses a WEB website through a browser, and clicks content in the website.
  • Step 202 The browser of the user terminal requests a local domain name server (DNS, Domain
  • Step 203 The local DNS requests resolution of the authorized DNS of the website.
  • Step 204 The authorized DNS of the website notifies the local DNS, and the authorized DNS of the subdomain name of the website domain name is a global load balancer, and returns the IP address of the global load balancer.
  • Step 205 The local DNS sends a resolution request to the global load balancer.
  • Step 206 The global load balancer selects an optimal ES based on a certain preset policy, usually in a round-robin manner, and returns the IP address of the ES to the local DNS.
  • Step 207 The local DNS returns the IP address of the ES to the browser of the user terminal.
  • Step 208 The user accesses the ES according to the returned IP address, and sends a request to the ES.
  • Step 210 The ES provides the required content according to the request of the user.
  • the CDN adopting the above scheme improves the user's access quality to some extent, there are still some problems, which make the CDN far from being perfect in terms of service quality and network use efficiency.
  • 1 It is difficult to perform large-scale CDN Networking; 2 Because the unified centralized scheduling method is adopted, no matter how wide the coverage area is, the global load balancer as the scheduler is centralized, resulting in heavy load on the scheduler, slow response, and concurrent load on the scheduler The ability requirements are also very high; 3 Cannot detect the user's proximity based on the user's IP address and accurately schedule the nearest location; 4 In content release management, only pull-down (PULL) is supported, PUSH is not supported, and the ability to actively push is weak; 5 When the edge server is selected, the content is not detected, resulting in a low access hit rate, and the network busy status is not detected, and a network with small traffic cannot be selected to provide services.
  • PULL pull-down
  • L4 switch has the function of the global load balancer in the above solution.
  • the general user access scheduling process for this solution is shown in Figure 3 and includes the following steps:
  • Step 301 A user accesses a WEB website through a browser, and clicks content in the website.
  • Step 303 The local DNS forwards the resolution request to the L4 switch.
  • Step 304 The L4 switch requests resolution of the authorized DNS request from the website.
  • Step 305 The authorized DNS of the website resolves the IP addresses of multiple ESs according to the request. These IP addresses are returned to the L4 switch.
  • Step 306 The L4 switch selects an optimal ES among multiple ESs according to a certain preset policy, such as a round-robin manner, and returns the IP address of the ES to the local DNS.
  • a certain preset policy such as a round-robin manner
  • Step 307 The local DNS returns the IP address of the ES to the browser.
  • Step 308 The user accesses the ES according to the IP address returned by the local DNS and sends a request to the ES.
  • Step 309 If the content required by the user does not exist on the ES, the ES obtains the content required by the user from the central server, and then execute step 310; otherwise, directly perform step 310.
  • Step 310 The ES provides the required content according to the request of the user.
  • the main object of the present invention is to provide a layered content distribution network and a method for content layered distribution, so that the CDN networking method is more flexible, the traditional CDN scheduling method is optimized, and the CDN service quality is improved, It can achieve distributed services and regional balance of business load, and can improve the hit rate of access.
  • a hierarchical content distribution network includes a content distribution layer, a content distribution layer including at least one level distribution sublayer, and an edge service layer; the content distribution layer includes at least one ICP node, the content distribution layer and content The first-level distribution sub-layer in the distribution layer is directly connected; Each level distribution sublayer of the content distribution layer is composed of at least one distribution node, and the lowest level distribution sublayer in the content distribution layer is directly connected to the edge service layer; the edge service layer is composed of at least one edge service area; The content that the content publishing layer needs to publish is distributed to the edge service layer level by level through the distribution nodes in the first-level distribution sublayer directly connected to it.
  • Each of the ICP nodes includes at least one ICP operation terminal and at least one ICP.
  • Each said distribution node includes at least one media manager (MM) and one central server (CS).
  • Each edge service area includes at least one CS, one MM, one media request scheduler (MRB), and at least one edge server (ES).
  • the MRBs in all edge service areas are distributed in the local center of each edge service area.
  • the ICP node in the content publishing layer is a node above the distribution node in the first-level distribution sub-layer directly connected to it, and the edge service area in the edge service layer is the lowest-level distribution sub-layer directly connected to it The next-level node of the distribution node in.
  • a method for hierarchical distribution of a content distribution network includes the following steps:
  • the ICP node distributes the content to be published to at least one distribution node in a content distribution layer directly connected to the ICP node;
  • the distribution node that currently receives the content distribution command determines whether it is the distribution node in the lowest-level distribution sub-layer, and if so, performs step c; if not, then directly connects to it Read the required publishing content in the upper node, store it on the CS in this node, and distribute the content to one or more lower-level distribution nodes directly connected to it, and return to step b;
  • the current distribution node receives the content to be published from the node directly above it, stores it on the CS in this node, and distributes the content to one or one directly connected to it. Above edge service area.
  • the method further includes: the user's access to the ICP is scheduled by the MRB in the edge service area where the user is located, and the CS or ES in the edge service area where the user is located provides the service required by the user.
  • the scheduling includes at least analyzing the domain name of the ICP accessed by the user, detecting the ES in the edge service area, or selecting the best ES.
  • the detection of the ES includes at least detecting the proximity of the ES to the user, the presence or absence of content required by the user, or the network busy status.
  • the selection is to determine the best ES based on the proximity of the ES to the user, the presence or absence of user-required content, or the availability of the network.
  • networks of various sizes can be constructed by applying the present invention, including metropolitan area networks, provincial networks, or national networks. It also supports step-by-step capacity expansion from the metropolitan area to the whole province, and even nationwide, making the CDN networking more flexible.
  • the invention optimizes the traditional CDN scheduling method, adopts distributed scheduling, reduces the service scope of the scheduler, reduces the load, shortens the response time, and can further improve the service quality of the CDN network. Since the present invention adopts a hierarchical and hierarchical content distribution management, thereby ensuring that ICP requires only a little access, it can realize the entire network release and the entire network services, thereby achieving distributed services and achieving regional balance of business load.
  • the present invention can perform scheduling based on the busy status of the edge server and the proximity of the user, select a relatively free edge server to provide services, and improve service quality; it can also perform scheduling based on content to improve the hit rate of access.
  • FIG. 1 is a schematic diagram of a network structure of a prior art solution
  • FIG. 2 is a schematic diagram of a user access scheduling process in the first solution of the prior art
  • FIG. 3 is a schematic diagram of a user access process in the second solution of the prior art
  • 4 is a schematic diagram of a network structure according to an embodiment of the present invention
  • 5 is a schematic diagram of a content publishing process according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a user access scheduling process according to an embodiment of the present invention. Mode of Carrying Out the Invention
  • the main idea of the present invention is: Use distributed scheduling and hierarchical distribution to form a network.
  • the scheduler is not concentrated in the center of the network, but is deployed in the local center of each service area and is responsible for access scheduling in this area.
  • Contents are distributed and managed in a hierarchical manner, ensuring that ICP requires only one point of access to publish across the entire network and provide services across the entire network.
  • the hierarchical CDN is composed of a content publishing layer, a content distribution layer including at least one level distribution sublayer, and an edge service layer.
  • a content distribution layer including at least one level distribution sublayer
  • an edge service layer Taking the network structure in which the content distribution layer is composed of two level distribution sublayers as an example, The network structure is shown in FIG. 4:
  • the main components of the CDN are ICP, ICP operation terminal, central server (CS), media manager (MM), media request scheduler (MRB), ES and other equipment.
  • the MM is responsible for processing signaling, and its main function is to accept a release command on content release issued by the ICP operator, and issue a content distribution command to the ES, the next-level MM, or the CS at all levels according to the release command, and receive the ES And feedback information from MMs or CSs at all levels; CSs at all levels are responsible for the content storage, distribution, and service provision of the center; MRBs in all edge service areas in the edge service layer are distributed in parts of each edge service area
  • the center is mainly responsible for access scheduling within the local network to achieve load balancing.
  • the solid line in FIG. 4 indicates the process of content distribution and distribution; the dashed line indicates the content distribution command.
  • each ICP node includes at least one ICP operator, one or more ICPs; each distribution node includes at least one MM, one CS; each edge service area includes at least one CS, one MM, one MRB, and one or Multiple ES;
  • the content publishing layer is composed of one or more ICP nodes, the content distribution layer is composed of one or more levels of distribution sublayers, each level of distribution sublayers is composed of at least one distribution node, and the edge service layer is composed of one or more edge service areas .
  • the content distribution layer is directly connected to the content distribution layer, the content distribution layer is directly connected to the edge service layer, and the content to be distributed by the content distribution layer is distributed to the edge service layer through the content distribution layer.
  • Distribution nodes are divided into different levels: The distribution nodes that are directly connected to the content distribution layer are regarded as the first-level distribution nodes. The collection of all first-level distribution nodes is called the first-level distribution sublayer, and the ICP nodes in the content distribution layer are directly connected to it.
  • the upper-level node of the first-level distribution node; the distribution node that has the same role as the first-level distribution node directly is called the second-level distribution node, and the set of all second-level distribution nodes is called the second-level distribution sub-layer, and the first-level distribution The node is the upper-level node of the second-level distribution node directly connected to it; and so on, the edge service area of the edge service layer is directly connected to the lowest-level distribution node, and the collection of all the lowest-level distribution nodes is called the lowest The first-level distribution sub-layer, and the lowest-level distribution node is the upper-level node of the edge service area directly connected to it. There is at least one primary distribution node in the content distribution layer.
  • the content required to be published by the content publishing layer is first distributed to one or more first-level distribution nodes that are directly connected to the first-level distribution node. Multiple second-level distribution nodes, and then the second-level distribution node distributes the received published content to one or more third-level distribution nodes that are directly connected to the second-level distribution node; and so on, until the required The published content is distributed down to the edge service layer level by level, so as to realize the hierarchical distribution of content.
  • Step 501 The ICP operation end of an ICP node in the content release layer issues a content release command to the MM in one or more first-level distribution nodes directly connected to it.
  • Step 502 The MM in the first-level distribution node issues a content distribution command to the CS in the distribution node where the MM is based on the received content distribution command.
  • Step 503 The CS in the first-level distribution node reads the content that the ICP needs to publish from the ICP content storage device of the ICP node according to the received content release command, and stores the content to the first-level distribution node. CS on.
  • the CS in the first-level distribution node notifies the MM in the distribution node where it is located, and the content that the ICP node needs to publish has been stored on the CS in the first-level distribution node.
  • Step 505 The MM in the first-level distribution node issues a content distribution command to the MM in the second-level distribution node directly connected to the node.
  • Step 506 The MM in the secondary distribution node sends a content publishing command to the CS in the node where the MM is located according to the received content publishing command.
  • Step 507 According to the received content distribution command, the CS in the second-level distribution node reads the content to be published from the upper-level CS, that is, the CS in the first-level distribution node, and stores the content in the second-level distribution node. CS.
  • Step 508 The CS in the secondary distribution node notifies the MM in the node where the CS is located, and the content to be published has been stored in the CS in the secondary distribution node.
  • Step 509 The MM in the secondary distribution node sends a content release command to the MM in the edge service area directly connected to the node.
  • Step 510 The MM in the edge service area issues a content release command to the CS in the edge service area where the MM is located according to the received content release command.
  • Step 511 According to the received content distribution command, the CS in the above-mentioned edge service area reads the content to be published from the upper-level CS, that is, the CS in the second-level distribution node directly connected to the CS, and stores the content in the local CS, that is, Above the CS in the edge service area.
  • Step 512 The CS in the edge service area notifies the MM in the node in which it is located that the content to be published has been stored on the CS in the edge service area.
  • Step 513 The MM in the edge service area issues a content distribution command to the ES in the edge service area where the MM is located.
  • Step 514 The ES in the edge service area reads the content to be published from the CS in the edge service area where the ES is located according to the received content distribution command, and stores the content on the ES.
  • the content that ICP needs to publish is pushed to the edge of the network, that is, the ES in the edge network, through the above-mentioned hierarchical CDN.
  • the above content publishing process applies not only to national CDNs, but also to metropolitan CDNs and national CDNs.
  • FIG. 6 a general user access scheduling process is shown in FIG. 6 and includes the following steps:
  • Step 601 The user accesses a WEB page and clicks on the content of the website.
  • Step 602 The browser of the user terminal requests the local DNS to resolve the domain name of the website by the user.
  • Step 603 The local DNS requests resolution of the authorized DNS of the website.
  • Step 604 The authorized DNS of the website notifies the local DNS, the authorized DNS of the corresponding content of the website is the MRB deployed locally, and returns the IP address of the MRB.
  • Step 605 The local DNS returns the MRB IP address to the browser.
  • Step 606 The browser of the user terminal accesses the MRB.
  • the MRB detects all ESs in the area, selects the best ES based on the proximity and content, and returns the IP address of the ES to the browser.
  • Step 608 The user accesses the ES and makes a request to the ES.
  • Step 609 If the content required by the user does not exist on the ES, the ES obtains the content required by the user from the local CS, and then execute step 610; otherwise, directly perform step 610.
  • Step 610 The ES provides the required content according to the request of the user.
  • the present invention adopts distributed scheduling and hierarchical distribution for networking, compared with the traditional CDN, the present invention has the advantage of supporting hierarchical hierarchical networking, which can be used to build a small-scale CDN or a large-scale CDN.
  • CDN The content distribution management of the present invention adopts a hierarchical structure, so as to ensure that the ICP can be released across the entire network and serve the entire network with only a little access; Because the present invention divides the service area, each edge service area is distributed locally. Scheduling, thereby effectively reducing the load on the scheduler, and can also illustrate the status of the network.
  • the present invention is also applicable to a network structure in which the content distribution layer is composed of one or more sub-layers.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a layered content delivery network, the network comprises content provider layer, content delivery layer including at least one delivery sublayer and edge server layer; content provider layer comprises at least one ICP node, the content provider layer is connected straightly to the first delivery sublayer in the content delivery layer; each delivery sublayer in the content delivery layer comprises at least one delivery node, the last delivery sublayer in the content delivery layer is connected straightly to edge server layer; edge server layer comprises at least one edge server region; the content provided by content provider layer is delivered down to edge server layer step by step through the delivery node in the first delivery sublayer connected straightly to content provider layer. At the same time, the invention also discloses a method of layered delivering content. Application of the invention makes CDN makeup network method more flexible, optimizes traditional CDN attemper method, advances CDN server quality, and can realize distributed server and realize region equipoise of server load, and can advance the visit shoot rate.

Description

一种分层的内容分发网络及内容分层分发的方法 技术领域  TECHNICAL FIELD The present invention relates to a hierarchical content distribution network and a method for hierarchical content distribution.
本发明涉及内容分发网络技术, 特别是指一种分层的内容分发网络 及内容分层分发的方法。 发明背景  The present invention relates to a content distribution network technology, and in particular, to a layered content distribution network and a method for layered content distribution. Background of the invention
随着互联网用户的迅速增长和用户对提高互联网服务质量的需求不 断增强, 传统的由互联网内容提供端 (ICP, Internet Content Provider ) 直接提供信息服务的模式正面临严重的挑战。 ICP应用站点一般是在一 个或少数几个地方建立物理站点, 面向全国乃至全球互联网用户提供信 息服务。 互联网的自身结构特点和网络带宽瓶颈等问题使得人们访问全 球站点时延迟长, 效率低。  With the rapid growth of Internet users and the increasing demand from users for improving the quality of Internet services, the traditional model of directly providing information services by Internet Content Providers (ICPs) is facing serious challenges. ICP application sites generally establish physical sites in one or a few places to provide information services to Internet users nationwide and even globally. The Internet's own structural characteristics and network bandwidth bottlenecks make people visit global sites with long delays and low efficiency.
信息分布是解决这些问题的有效办法, 即通过在现有的互联网基础 之上建立一层全新的网络——内容分发网络 ( CDN, Content Delivery Network ), 专门用于通过互联网高效地传递丰富的多媒体内容。 CDN通 过实现用户对网站的就近访问及网络流量的智能分流, 大大提高了网络 的响应速度, 从技术上全面地解决了由于网络带宽小、 用户访问量大、 网点分布不均等原因而使用户的访问效果受到影响的问题。 CDN的技术 原理是在现有的互联网络中, 将网站的内容从网络的骨干部分推送到最 接近用户的网络"边缘",以减少传输延迟、网络抖动等影响效果的因素, 从而提供有序且高质量的服务, 使用户能以最快的速度、 从最接近用户 的地方获得所需的信息。由于这种技术极大地緩解了互联网的拥塞情况, 所以网站有能力提供更多类似视频节目、 歌曲点播等数据流量巨大的内 容服务, 同时, 在线交易、 网上银行等多种业务的可靠性也可得到有效 保障。总之, CDN能够将 ICP站点的信息预先发布到网络的边缘设备上, 使得用户在访问站点时可以在就近的边缘设备上得到快速的响应 , 从而 提高了对用户的服务质量, 同时也减轻了中心节点的负荷。 Information distribution is an effective way to solve these problems, that is, by establishing a new layer of network on the basis of the existing Internet-Content Delivery Network (CDN, Content Delivery Network), which is specifically used to efficiently deliver rich multimedia through the Internet content. CDN greatly improves the response speed of the network by realizing the user's near access to the website and the intelligent distribution of network traffic, and technically comprehensively solves the problems caused by the user due to small network bandwidth, large user access, and uneven distribution of outlets. Issues affecting access performance. The technical principle of the CDN is to push the content of the website from the backbone of the network to the "edge" of the network closest to the user in the existing Internet network, in order to reduce the factors affecting the effect such as transmission delay and network jitter, thereby providing orderly And high-quality services allow users to get the information they need from the place closest to the user as quickly as possible. Because this technology has greatly eased the congestion of the Internet, the website has the ability to provide more content services with huge data traffic such as video programs, song on demand, etc. At the same time, the reliability of various services such as online transactions and online banking is also available. Get effective Protection. In short, the CDN can publish the information of the ICP site to the edge devices of the network in advance, so that users can get a quick response on the nearest edge device when visiting the site, thereby improving the quality of service to users and reducing the center. Node load.
目前的 CDN组网结构都比较简单,无论是企业范围、城域范围还是 全国范围, 采用的都是单级结构, 其网络结构如图 1所示。 CDN的主要 组成部件有全局负载均衡器、 中心服务器 (CS )、 边缘服务器 (ES )等 设备, 其网络架构主要可分为中心和边缘两大部分。 中心部分一般由全 局负载均衡器、 中心服务器等设备組成, 边缘部分一般由众多的边缘服 务器组成, 作为给用户提供访问信息的边缘设备部分。 ICP站点的信息 通过中心服务器被预先发布到各边缘服务器上, 各用户对 ICP站点的访 问请求由全局负载均衡器来调度。从图 1所示 CDN的组网结构可以看出 , 虽然 CDN的边缘服务器分布在网絡的边缘,但作为调度器的全局负载均 衡器却仍集中在网络中心。  The current CDN networking structure is relatively simple. Whether it is enterprise-wide, metropolitan-wide, or nationwide, a single-level structure is used. The network structure is shown in Figure 1. The main components of a CDN are devices such as a global load balancer, a central server (CS), and an edge server (ES). The network architecture can be divided into two parts: the center and the edge. The central part is generally composed of devices such as the global load balancer and the central server. The edge part is generally composed of many edge servers as the edge device part that provides users with access information. The information of the ICP site is pre-published to each edge server through the central server, and each user's access request to the ICP site is scheduled by the global load balancer. From the CDN network structure shown in Figure 1, it can be seen that although the CDN's edge servers are distributed at the edge of the network, the global load balancer as a scheduler is still concentrated in the center of the network.
在上述的 CDN网络结构中, 一般的用户访问调度流程如图 2所示, 包括以下步骤:  In the above-mentioned CDN network structure, the general user access scheduling process is shown in Figure 2, and includes the following steps:
步骤 201 , 用户通过浏览器访问环球网 ( WEB ) 网站, 点击该网站 中的内容。  Step 201: The user accesses a WEB website through a browser, and clicks content in the website.
步骤 202, 用户终端的浏览器请求本地域名服务器(DNS, Domain Step 202: The browser of the user terminal requests a local domain name server (DNS, Domain
Name Server )对该网站的域名进行解析。 Name Server) to resolve the domain name of the website.
步驟 203, 本地 DNS向该网站的授权 DNS请求解析。  Step 203: The local DNS requests resolution of the authorized DNS of the website.
步骤 204, 该网站的授权 DNS通知本地 DNS, 该网站域名的子域名 的授权 DNS为全局负载均衡器, 并返回全局负载均衡器的 IP地址。  Step 204: The authorized DNS of the website notifies the local DNS, and the authorized DNS of the subdomain name of the website domain name is a global load balancer, and returns the IP address of the global load balancer.
步骤 205 , 本地 DNS向全局负载均衡器发出解析请求。  Step 205: The local DNS sends a resolution request to the global load balancer.
步骤 206, 全局负载均衡器基于一定的预设策略, 一般是以轮循方 式, 选择一个最佳的 ES, 并向本地 DNS返回该 ES的 IP地址。 步骤 207, 本地 DNS向上述用户终端的浏览器返回上述 ES的 IP地 址。 Step 206: The global load balancer selects an optimal ES based on a certain preset policy, usually in a round-robin manner, and returns the IP address of the ES to the local DNS. Step 207: The local DNS returns the IP address of the ES to the browser of the user terminal.
步骤 208, 用户根据返回的 IP地址访问上述 ES, 向其发出请求。 步骤 209, 如果该 ES上没有该用户所需的内容, 则 ES从中心服务 器上获取用户所需内容, 再执行步骤 210; 否则, 直接执行步骤 210。  Step 208: The user accesses the ES according to the returned IP address, and sends a request to the ES. Step 209: If the content required by the user does not exist on the ES, the ES obtains the content required by the user from the central server, and then execute step 210; otherwise, directly perform step 210.
步骤 210, 该 ES根据上述用户的请求提供其所需的内容。  Step 210: The ES provides the required content according to the request of the user.
采用上述方案的 CDN虽然在一定程度提高了用户的访问质量,但仍 然存在一些问题,使该 CDN在服务质量和网络使用效率方面还远未达到 完美的程度, 例如: ①难以进行大规模的 CDN组网; ②由于采用统一集 中的调度方式, 所以不论覆盖范围有多广, 作为调度器的全局负载均衡 器都是集中在一起, 导致调度器的负载重, 响应慢, 对调度器的并发负 载能力要求也很高; ③不能根据用户 IP地址检测用户的临近度, 精确地 进行就近调度; ④在内容发布管理方面, 只支持下拉(PULL ), 不支持 推送(PUSH ), 主动推送能力弱; ⑤选择边缘服务器时没有对内容进行 检测, 导致访问命中率低, 而且没有对网络的忙闲状况进行检测, 不能 选择流量小的网络提供服务等。  Although the CDN adopting the above scheme improves the user's access quality to some extent, there are still some problems, which make the CDN far from being perfect in terms of service quality and network use efficiency. For example: ① It is difficult to perform large-scale CDN Networking; ② Because the unified centralized scheduling method is adopted, no matter how wide the coverage area is, the global load balancer as the scheduler is centralized, resulting in heavy load on the scheduler, slow response, and concurrent load on the scheduler The ability requirements are also very high; ③ Cannot detect the user's proximity based on the user's IP address and accurately schedule the nearest location; ④ In content release management, only pull-down (PULL) is supported, PUSH is not supported, and the ability to actively push is weak; ⑤ When the edge server is selected, the content is not detected, resulting in a low access hit rate, and the network busy status is not detected, and a network with small traffic cannot be selected to provide services.
目前, 还有一种采用了四层(L4 ) 交换机的方案, 在此方案中, L4 交换机具有上述方案中全局负载均衡器的功能。 此方案的一般用户访问 调度流程如图 3所示, 包括以下步骤:  At present, there is another solution using a Layer 4 (L4) switch. In this solution, the L4 switch has the function of the global load balancer in the above solution. The general user access scheduling process for this solution is shown in Figure 3 and includes the following steps:
步骤 301 , 用户通过浏览器访问 WEB网站, 点击该网站中的内容。 步骤 302, 用户终端的浏览器请求本地 DNS对该网站的域名进行解 析。  Step 301: A user accesses a WEB website through a browser, and clicks content in the website. Step 302: The browser of the user terminal requests the local DNS to resolve the domain name of the website.
步骤 303, 本地 DNS将解析请求转发到 L4交换机。  Step 303: The local DNS forwards the resolution request to the L4 switch.
步骤 304, L4交换机向该网站的授权 DNS请求解析。  Step 304: The L4 switch requests resolution of the authorized DNS request from the website.
步骤 305, 该网站的授权 DNS根据请求解析出多个 ES的 IP地址, 并将这些 IP地址返回给 L4交换机。 Step 305: The authorized DNS of the website resolves the IP addresses of multiple ESs according to the request. These IP addresses are returned to the L4 switch.
步骤 306, L4交换机根据一定的预设策略, 如轮循方式, 在多个 ES 中选择一个最佳的 ES, 并把该 ES的 IP地址返回给本地 DNS。  Step 306: The L4 switch selects an optimal ES among multiple ESs according to a certain preset policy, such as a round-robin manner, and returns the IP address of the ES to the local DNS.
步骤 307, 本地 DNS向上述浏览器返回该 ES的 IP地址。  Step 307: The local DNS returns the IP address of the ES to the browser.
步骤 308, 用户根据本地 DNS返回的 IP地址访问该 ES, 向其发出 请求。  Step 308: The user accesses the ES according to the IP address returned by the local DNS and sends a request to the ES.
步驟 309, 如果该 ES上没有该用户所需的内容, 则 ES从中心服务 器上获取用户所需内容, 再执行步骤 310; 否则, 直接执行步骤 310。  Step 309: If the content required by the user does not exist on the ES, the ES obtains the content required by the user from the central server, and then execute step 310; otherwise, directly perform step 310.
步骤 310, 该 ES根据上述用户的请求提供其所需的内容。  Step 310: The ES provides the required content according to the request of the user.
采用上述方案的 CDN仍然存在一些问题,例如: 所有访问都集中到 L4 交换机, 其负载太重; 对于用户的请求, L4 交换机只能处理网络协 议第四层的信息, 而不能处理第七层的信息, 即不能对内容进行检测等。  There are still some problems with the CDN adopting the above solution, for example: all accesses are concentrated to the L4 switch, and its load is too heavy; for user requests, the L4 switch can only process the information of the fourth layer of the network protocol, but not the seventh Information, that is, the content cannot be detected.
从上述两个方案可以看出, 随着用户的增加, 目前广泛采用的单级 CDN已不能适应大范围、 高密度的应用环境, 不能实现分布式服务及实 现业务负载的地域均衡。 发明内容  From the above two solutions, it can be seen that with the increase of users, the currently widely used single-level CDNs are no longer able to adapt to large-scale and high-density application environments, and cannot achieve distributed services and achieve geographical balance of business loads. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种分层的内容分发网络及 内容分层分发的方法, 使得 CDN的组网方式更加灵活, 优化传统 CDN 的调度方式,进而提高 CDN服务质量,且能实现分布式服务及实现业务 负载的地域均衡, 并能提高访问的命中率。  In view of this, the main object of the present invention is to provide a layered content distribution network and a method for content layered distribution, so that the CDN networking method is more flexible, the traditional CDN scheduling method is optimized, and the CDN service quality is improved, It can achieve distributed services and regional balance of business load, and can improve the hit rate of access.
为达到上述目的, 本发明的技术方案是这样实现的:  To achieve the above object, the technical solution of the present invention is implemented as follows:
一种分层的内容分发网络, 该网络由内容发布层、 包含至少一级分 发子层的内容分发层以及边缘服务层组成; 所述内容发布层包括至少一 个 ICP节点, 该内容发布层与内容分发层中的一级分发子层直接连接; 所述内容分发层的每级分发子层由至少一个分发节点组成, 内容分发层 中的最下一级分发子层与边缘服务层直接连接; 所述边缘服务层由至少 一个边缘服务区组成; 内容发布层所需发布的内容通过与其直接相连的 一级分发子层中的分发节点逐级向下分发到边缘服务层。 A hierarchical content distribution network includes a content distribution layer, a content distribution layer including at least one level distribution sublayer, and an edge service layer; the content distribution layer includes at least one ICP node, the content distribution layer and content The first-level distribution sub-layer in the distribution layer is directly connected; Each level distribution sublayer of the content distribution layer is composed of at least one distribution node, and the lowest level distribution sublayer in the content distribution layer is directly connected to the edge service layer; the edge service layer is composed of at least one edge service area; The content that the content publishing layer needs to publish is distributed to the edge service layer level by level through the distribution nodes in the first-level distribution sublayer directly connected to it.
所述的每个 ICP节点至少包括一个 ICP操作端和至少一个 ICP。 所述的每个分发节点至少包括一个媒体管理器(MM ), —个中心服 务器 (CS )。  Each of the ICP nodes includes at least one ICP operation terminal and at least one ICP. Each said distribution node includes at least one media manager (MM) and one central server (CS).
所述的每个边缘服务区至少包括一个 CS、一个 MM、一个媒体请求 调度器(MRB ) 以及至少一个边缘服务器(ES )。  Each edge service area includes at least one CS, one MM, one media request scheduler (MRB), and at least one edge server (ES).
所有边缘服务区中的 MRB 均分布式部署在每个边缘服务区的局部 中心。  The MRBs in all edge service areas are distributed in the local center of each edge service area.
所述内容发布层中的 ICP节点为与其直接连接的一级分发子层中的 分发节点的上一级节点, 所述边缘服务层中的边缘服务区为与其直接连 接的最下一級分发子层中的分发节点的下一级节点。  The ICP node in the content publishing layer is a node above the distribution node in the first-level distribution sub-layer directly connected to it, and the edge service area in the edge service layer is the lowest-level distribution sub-layer directly connected to it The next-level node of the distribution node in.
一种内容分发网络分层分发的方法, 该方法包括以下步骤:  A method for hierarchical distribution of a content distribution network includes the following steps:
a、 ICP节点将所需发布的内容分发到与其直接连接的内容分发层中 的至少一个分发节点;  a. The ICP node distributes the content to be published to at least one distribution node in a content distribution layer directly connected to the ICP node;
b、在内容分发层内, 当前收到内容分发命令的分发节点判断自身是 否为最下一级分发子层中的分发节点, 如果是, 则执行步骤 c; 如果不 是, 则从与其直接连接的上一级节点中读取所需发布的内容, 存储在本 节点中的 CS 上, 并将该内容分发到与其直接连接的一个或一个以上下 一级分发节点, 返回步骤 b;  b. In the content distribution layer, the distribution node that currently receives the content distribution command determines whether it is the distribution node in the lowest-level distribution sub-layer, and if so, performs step c; if not, then directly connects to it Read the required publishing content in the upper node, store it on the CS in this node, and distribute the content to one or more lower-level distribution nodes directly connected to it, and return to step b;
c、 当前分发节点根据收到的内容分发命令从与其直接连接的上一级 节点接收所需发布的内容, 存储在本节点中的 CS 上, 并将该内容分发 到与其直接连接的一个或一个以上边缘服务区。 该方法进一步包括: 用户对 ICP的访问, 由该用户所在地的边缘服 务区内的 MRB进行调度, 并由该用户所在地的边缘服务区内的 CS或 ES提供该用户所需的服务。 c. According to the received content distribution command, the current distribution node receives the content to be published from the node directly above it, stores it on the CS in this node, and distributes the content to one or one directly connected to it. Above edge service area. The method further includes: the user's access to the ICP is scheduled by the MRB in the edge service area where the user is located, and the CS or ES in the edge service area where the user is located provides the service required by the user.
所述调度至少包括对用户所访问的 ICP的域名进行解析、 对边缘服 务区内的 ES进行探测或选择最佳 ES。  The scheduling includes at least analyzing the domain name of the ICP accessed by the user, detecting the ES in the edge service area, or selecting the best ES.
所述对 ES的探测至少包括对 ES相对用户的临近度、 用户所需内容 的有无或网络忙闲状况进行探测。  The detection of the ES includes at least detecting the proximity of the ES to the user, the presence or absence of content required by the user, or the network busy status.
所述选择是根据 ES相对用户的临近度、 用户所需内容的有无或网 络忙闲状况来确定最佳 ES。  The selection is to determine the best ES based on the proximity of the ES to the user, the presence or absence of user-required content, or the availability of the network.
与现有技术相比, 应用本发明可以组建各种规模的网络, 包括城域 网、 省级网或者全国网。 也支持逐级扩容, 由城域范围扩展到全省范围, 乃至全国范围, 使得 CDN的组网方式更加灵活。 本发明对传统 CDN的 调度方式进行了优化, 采用分布式调度, 缩小调度器服务范围, 减轻负 载, 缩短响应时间, 能进一步提高 CDN网络的服务质量。 由于本发明采 用了分层分级式的内容分发管理, 从而保证 ICP只需一点接入, 就可实 现全网发布, 全网服务,从而实现了分布式服务及实现业务负载的地域 均衡。 同时, 本发明可以基于边缘服务器的忙闲状态及用户临近度进行 调度, 选择相对闲的边缘服务器提供服务, 提高服务质量; 还可以基于 内容进行调度, 提高访问的命中率。 附图简要说明  Compared with the prior art, networks of various sizes can be constructed by applying the present invention, including metropolitan area networks, provincial networks, or national networks. It also supports step-by-step capacity expansion from the metropolitan area to the whole province, and even nationwide, making the CDN networking more flexible. The invention optimizes the traditional CDN scheduling method, adopts distributed scheduling, reduces the service scope of the scheduler, reduces the load, shortens the response time, and can further improve the service quality of the CDN network. Since the present invention adopts a hierarchical and hierarchical content distribution management, thereby ensuring that ICP requires only a little access, it can realize the entire network release and the entire network services, thereby achieving distributed services and achieving regional balance of business load. At the same time, the present invention can perform scheduling based on the busy status of the edge server and the proximity of the user, select a relatively free edge server to provide services, and improve service quality; it can also perform scheduling based on content to improve the hit rate of access. Brief description of the drawings
图 1为现有技术方案的网絡结构示意图;  FIG. 1 is a schematic diagram of a network structure of a prior art solution;
图 2为现有技术方案一中用户访问调度流程示意图;  2 is a schematic diagram of a user access scheduling process in the first solution of the prior art;
图 3为现有技术方案二中用户访问流程示意图;  FIG. 3 is a schematic diagram of a user access process in the second solution of the prior art;
图 4为本发明一实施例的网络结构示意图; 图 5为本发明一实施例的内容发布流程示意图; 4 is a schematic diagram of a network structure according to an embodiment of the present invention; 5 is a schematic diagram of a content publishing process according to an embodiment of the present invention;
图 6为本发明一实施例的用户访问调度流程示意图。 实施本发明的方式  FIG. 6 is a schematic diagram of a user access scheduling process according to an embodiment of the present invention. Mode of Carrying Out the Invention
为使本发明的目的、 技术方案和优点表达得更加清楚明白, 下面结 合附图及具体实施例对本发明再作进一步详细的说明。  In order to make the objectives, technical solutions, and advantages of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明的主要思想是: 采用分布式调度、分层分发的方式进行组网, 调度器不是集中在网络的中心, 而是分布式部署在各服务区域的局部中 心, 负责本区域的访问调度; 内容的分发管理采用分层分级方式, 保证 ICP只需一点接入, 即可全网发布, 全网服务。  The main idea of the present invention is: Use distributed scheduling and hierarchical distribution to form a network. The scheduler is not concentrated in the center of the network, but is deployed in the local center of each service area and is responsible for access scheduling in this area. Contents are distributed and managed in a hierarchical manner, ensuring that ICP requires only one point of access to publish across the entire network and provide services across the entire network.
本发明所述的分层 CDN由内容发布层、包含至少一级分发子层的内 容分发层以及边缘服务层组成, 以内容分发层由两级分发子层构成的网 络结构为例,本发明的网络结构如图 4所示: 组建 CDN的主要组成部件 有 ICP、 ICP操作端、 中心服务器(CS )、 媒体管理器(MM )、 媒体请求 调度器(MRB )、 ES等设备。 其中, MM负责处理信令, 其主要功能是 接受 ICP操作端发出的关于内容发布的发布命令, 并根据该发布命令向 ES、 下一级的 MM或各级 CS发出内容分发命令, 并接收 ES、 下一级的 MM或各级 CS的反馈信息; 各级 CS负责中心的内容存储、分发及服务 提供; 边缘服务层中所有边缘服务区中的 MRB 均分布式部署于各边缘 服务区的局部中心, 主要负责本区域网络内的访问调度, 实现负载均衡。 图 4中的实线表示内容的发布和分发的过程;虚线表示内容的发布命令。  The hierarchical CDN according to the present invention is composed of a content publishing layer, a content distribution layer including at least one level distribution sublayer, and an edge service layer. Taking the network structure in which the content distribution layer is composed of two level distribution sublayers as an example, The network structure is shown in FIG. 4: The main components of the CDN are ICP, ICP operation terminal, central server (CS), media manager (MM), media request scheduler (MRB), ES and other equipment. Among them, the MM is responsible for processing signaling, and its main function is to accept a release command on content release issued by the ICP operator, and issue a content distribution command to the ES, the next-level MM, or the CS at all levels according to the release command, and receive the ES And feedback information from MMs or CSs at all levels; CSs at all levels are responsible for the content storage, distribution, and service provision of the center; MRBs in all edge service areas in the edge service layer are distributed in parts of each edge service area The center is mainly responsible for access scheduling within the local network to achieve load balancing. The solid line in FIG. 4 indicates the process of content distribution and distribution; the dashed line indicates the content distribution command.
上述 CDN中的各种组成部件可组合成: ICP节点、 分发节点、 边缘 服务区。其中,每个 ICP节点至少包括一个 ICP操作端、一个或多个 ICP; 每个分发节点至少包括一个 MM, —个 CS; 每个边缘服务区至少包括一 个 CS、 一个 MM、 一个 MRB以及一个或多个 ES; 内容发布层由一个或多个 ICP节点组成, 内容分发层由一级或多级 分发子层组成, 每级分发子层由至少一个分发节点组成, 边缘服务层由 一个或多个边缘服务区组成。'内容发布层与内容分发层直接连接, 内容 分发层与边缘服务层直接连接, 内容发布层所需分发的内容通过内容分 发层分发到边缘服务层。 分发节点划分为不同的等级: 将与内容发布层直接连接的分发节点作为 一级分发节点, 所有一级分发节点的集合称为一级分发子层, 内容发布 层中的 ICP节点为与其直接连接的一级分发节点的上一级节点; 将与一 级分发节点直接连接的作用相同的分发节点称为二级分发节点, 所有二 级分发节点的集合称为二级分发子层, 一级分发节点为与其直接连接的 二级分发节点的上一级节点; 依此类推, 边缘服务层的边缘服务区与最 下一级分发节点直接连接, 所有最下一级分发节点的集合称为最下一级 分发子层, 最下一级分发节点为与其直接连接的边缘服务区的上一级节 点。 内容分发层中至少有一个一级分发节点。 The various components in the above CDN can be combined into: an ICP node, a distribution node, and an edge service area. Among them, each ICP node includes at least one ICP operator, one or more ICPs; each distribution node includes at least one MM, one CS; each edge service area includes at least one CS, one MM, one MRB, and one or Multiple ES; The content publishing layer is composed of one or more ICP nodes, the content distribution layer is composed of one or more levels of distribution sublayers, each level of distribution sublayers is composed of at least one distribution node, and the edge service layer is composed of one or more edge service areas . 'The content distribution layer is directly connected to the content distribution layer, the content distribution layer is directly connected to the edge service layer, and the content to be distributed by the content distribution layer is distributed to the edge service layer through the content distribution layer. Distribution nodes are divided into different levels: The distribution nodes that are directly connected to the content distribution layer are regarded as the first-level distribution nodes. The collection of all first-level distribution nodes is called the first-level distribution sublayer, and the ICP nodes in the content distribution layer are directly connected to it. The upper-level node of the first-level distribution node; the distribution node that has the same role as the first-level distribution node directly is called the second-level distribution node, and the set of all second-level distribution nodes is called the second-level distribution sub-layer, and the first-level distribution The node is the upper-level node of the second-level distribution node directly connected to it; and so on, the edge service area of the edge service layer is directly connected to the lowest-level distribution node, and the collection of all the lowest-level distribution nodes is called the lowest The first-level distribution sub-layer, and the lowest-level distribution node is the upper-level node of the edge service area directly connected to it. There is at least one primary distribution node in the content distribution layer.
内容发布层所需发布的内容先分发到与其直接连接的一个或多个一 级分发节点, 上述一级分发节点将接收的所需发布的内容分发到与该一 级分发节点直接连接的一个或多个二级分发节点, 接着该二级分发节点 将接收的所需发布的内容分发到与该二级分发节点直接连接相连的一个 或多个三级分发节点; 依此类推, 直至将所需发布的内容逐级向下分发 到边缘服务层, 从而实现内容的分层分发。  The content required to be published by the content publishing layer is first distributed to one or more first-level distribution nodes that are directly connected to the first-level distribution node. Multiple second-level distribution nodes, and then the second-level distribution node distributes the received published content to one or more third-level distribution nodes that are directly connected to the second-level distribution node; and so on, until the required The published content is distributed down to the edge service layer level by level, so as to realize the hierarchical distribution of content.
基于图 4所示的 CDN网络结构, 一般的内容发布流程如图 5所示, 包括以下步骤:  Based on the CDN network structure shown in Figure 4, the general content publishing process is shown in Figure 5, and includes the following steps:
步骤 501 , 内容发布层中某个 ICP节点的 ICP操作端向与其直接连 接的一个或多个一级分发节点中的 MM发出内容发布命令。 步骤 502,上述一级分发节点中的 MM根据接收到的内容发布命令, 向其所在分发节点中的 CS发出内容发布命令。 Step 501: The ICP operation end of an ICP node in the content release layer issues a content release command to the MM in one or more first-level distribution nodes directly connected to it. Step 502: The MM in the first-level distribution node issues a content distribution command to the CS in the distribution node where the MM is based on the received content distribution command.
步骤 503 , 上述一级分发节点中的 CS根据收接到的内容发布命令, 从上述 ICP节点的 ICP内容存储设备中读取该 ICP所需发布的内容, 并 存储到上述一级分发节点中的 CS上。  Step 503: The CS in the first-level distribution node reads the content that the ICP needs to publish from the ICP content storage device of the ICP node according to the received content release command, and stores the content to the first-level distribution node. CS on.
'步骤 504,上述一级分发节点中的 CS通知其所在分发节点中的 MM, 上述 ICP节点所需发布的内容已经存储到上述一级分发节点中的 CS上。  'Step 504, the CS in the first-level distribution node notifies the MM in the distribution node where it is located, and the content that the ICP node needs to publish has been stored on the CS in the first-level distribution node.
步骤 505, 上述一级分发节点中的 MM向与该节点直接连接的二级 分发节点中的 MM发出内容分发命令。  Step 505: The MM in the first-level distribution node issues a content distribution command to the MM in the second-level distribution node directly connected to the node.
步驟 506,上述二级分发节点中的 MM根据接收到的内容发布命令, 向其所在节点中的 CS发出内容发布命令。  Step 506: The MM in the secondary distribution node sends a content publishing command to the CS in the node where the MM is located according to the received content publishing command.
步骤 507, 上述二级分发节点中的 CS根据接收到的内容分发命令, 从上一级 CS, 即上述一级分发节点中的 CS读取需发布的内容, 并存储 在该二级分发节点中的 CS上。  Step 507: According to the received content distribution command, the CS in the second-level distribution node reads the content to be published from the upper-level CS, that is, the CS in the first-level distribution node, and stores the content in the second-level distribution node. CS.
步骤 508, 上述二级分发节点中的 CS通知其所在节点中的 MM, 所 需发布的内容已经存储到上述二级分发节点中的 CS上。  Step 508: The CS in the secondary distribution node notifies the MM in the node where the CS is located, and the content to be published has been stored in the CS in the secondary distribution node.
步骤 509, 上述二级分发节点中的 MM向与该节点直接连接的边缘 服务区中的 MM发出内容发布命令。  Step 509: The MM in the secondary distribution node sends a content release command to the MM in the edge service area directly connected to the node.
步骤 510, 上述边缘服务区中的 MM根据接收到的内容发布命令, 向其所在边缘服务区中的 CS发出内容发布命令。  Step 510: The MM in the edge service area issues a content release command to the CS in the edge service area where the MM is located according to the received content release command.
步骤 511 , 上述边缘服务区中的 CS根据接收到的内容分发命令 , 从 上一级 CS,即与其直接连接的二级分发节点中的 CS读取需发布的内容, 并存储在本地 CS, 即上述边缘服务区中的 CS上。  Step 511: According to the received content distribution command, the CS in the above-mentioned edge service area reads the content to be published from the upper-level CS, that is, the CS in the second-level distribution node directly connected to the CS, and stores the content in the local CS, that is, Above the CS in the edge service area.
步骤 512, 该上述边缘服务区中的 CS通知其所在节点中的 MM, 所 需发布的内容已经存储到上述边缘服务区中的 CS上。 步骤 513 , 上述边缘服务区中的 MM向其所在边缘服务区中的 ES 发出内容分发命令。 Step 512: The CS in the edge service area notifies the MM in the node in which it is located that the content to be published has been stored on the CS in the edge service area. Step 513: The MM in the edge service area issues a content distribution command to the ES in the edge service area where the MM is located.
步骤 514, 上述边缘服务区中的 ES根据接收到的内容分发命令, 从 其所在边缘服务区中的 CS读取需发布的内容, 并存储在该 ES上。  Step 514: The ES in the edge service area reads the content to be published from the CS in the edge service area where the ES is located according to the received content distribution command, and stores the content on the ES.
经过上述内容发布流程, ICP 所需发布的内容就通过上述的分层 CDN被预先推送到了网络边缘, 即边缘网络中的 ES上。 上述内容发布 流程不但适用于省级 CDN, 也适用于城域级 CDN、 全国级 CDN。  After the above content publishing process, the content that ICP needs to publish is pushed to the edge of the network, that is, the ES in the edge network, through the above-mentioned hierarchical CDN. The above content publishing process applies not only to provincial CDNs, but also to metropolitan CDNs and national CDNs.
在本发明所述的 CDN网络结构中, 一般的用户访问调度流程如图 6 所示, 包括以下步骤:  In the CDN network structure according to the present invention, a general user access scheduling process is shown in FIG. 6 and includes the following steps:
步骤 601 , 用户访问 WEB网页, 点击网站内容。  Step 601: The user accesses a WEB page and clicks on the content of the website.
步骤 602, 用户终端的浏览器请求本地 DNS对用户对该网站的域名 进行解析。  Step 602: The browser of the user terminal requests the local DNS to resolve the domain name of the website by the user.
步骤 603 , 本地 DNS向该网站的授权 DNS请求解析。  Step 603: The local DNS requests resolution of the authorized DNS of the website.
步骤 604, 该网站的授权 DNS通知本地 DNS , 该网站相应内容的授 权 DNS为部署在本地的 MRB, 并返回 MRB的 IP地址。  Step 604: The authorized DNS of the website notifies the local DNS, the authorized DNS of the corresponding content of the website is the MRB deployed locally, and returns the IP address of the MRB.
步骤 605 , 本地 DNS向浏览器返回 MRB的 IP地址。  Step 605: The local DNS returns the MRB IP address to the browser.
步骤 606, 用户终端的浏览器访问 MRB。  Step 606: The browser of the user terminal accesses the MRB.
步驟 607, MRB对本区域内所有的 ES进行探测, 根据临近度和内 容有无选择最佳的 ES, 并向浏览器返回该 ES的 IP地址。  In step 607, the MRB detects all ESs in the area, selects the best ES based on the proximity and content, and returns the IP address of the ES to the browser.
步骤 608, 该用户访问该 ES, 向 ES提出请求。  Step 608: The user accesses the ES and makes a request to the ES.
步骤 609,如果该 ES上没有该用户所需的内容, 则 ES从本地的 CS 上获取用户所需内容, 再执行步驟 610; 否则, 直接执行步骤 610。  Step 609: If the content required by the user does not exist on the ES, the ES obtains the content required by the user from the local CS, and then execute step 610; otherwise, directly perform step 610.
步骤 610, 该 ES根据上述用户的请求提供其所需的内容。  Step 610: The ES provides the required content according to the request of the user.
从上述流程可以看出, 本地用户的访问通过 DNS解析后, 其访问既 由本地的 MRB进行调度, 也由本地的 ES提供服务, 很好的体现了业务 分布式实现的思想。 It can be seen from the above process that after the local user's access is resolved through DNS, its access is both scheduled by the local MRB and provided by the local ES, which reflects the business well. The idea of distributed implementation.
由于本发明采用分布式调度、 分层分发的方式进行组网, 因此相对 于传统的 CDN, 本发明具有支持分层分级组网的优点, 既可以组建小规 模的 CDN, 也可以组建大规模的 CDN; 本发明的内容分发管理采用分 层分级式, 从而保证 ICP只需一点接入, 就能全网发布, 全网服务; 本 发明由于划分了服务区域, 各边缘服务区在本地进行分布式调度, 从而 有效地减轻了调度器的负载, 对网络的状况也能实 例进行的说明,对于内容分发层由一级或多级分发子层构成的网絡结构 , 本发明也同样适用。  Because the present invention adopts distributed scheduling and hierarchical distribution for networking, compared with the traditional CDN, the present invention has the advantage of supporting hierarchical hierarchical networking, which can be used to build a small-scale CDN or a large-scale CDN. CDN; The content distribution management of the present invention adopts a hierarchical structure, so as to ensure that the ICP can be released across the entire network and serve the entire network with only a little access; Because the present invention divides the service area, each edge service area is distributed locally. Scheduling, thereby effectively reducing the load on the scheduler, and can also illustrate the status of the network. The present invention is also applicable to a network structure in which the content distribution layer is composed of one or more sub-layers.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限制本发明的 保护范围。  The above description is only the preferred embodiments of the present invention, and is not intended to limit the protection scope of the present invention.

Claims

权利要求书 Claim
1、 一种分层的内容分发网络, 其特征在于: 该网络由内容发布层、 包含至少一级分发子层的内容分发层以及边缘服务层组成; 所述内容发 布层包括至少一个 ICP节点, 该内容发布层与内容分发层中的一级分发 子层直接连接; 所述内容分发层的每级分发子层由至少一个分发节点组 成, 内容分发层中的最下一级分发子层与边缘服务层直接连接; 所述边 缘服务层由至少一个边缘服务区组成; 内容发布层所需发布的内容通过 与其直接相连的一级分发子层中的分发节点逐级向下分发到边缘服务 层。 1. A hierarchical content distribution network, characterized in that the network is composed of a content distribution layer, a content distribution layer including at least one level distribution sublayer, and an edge service layer; the content distribution layer includes at least one ICP node, The content publishing layer is directly connected to a first-level distribution sublayer in the content distribution layer; each level of the content distribution layer is composed of at least one distribution node, and the lowest-level distribution sublayer and edge in the content distribution layer The service layer is directly connected; the edge service layer is composed of at least one edge service area; the content that the content publishing layer needs to publish is distributed downward to the edge service layer through the distribution nodes in the first-level distribution sublayer directly connected to it.
2、 根据权利要求 1所述的内容分发网络, 其特征在于: 所述的每个 ICP节点至少包括一个 ICP操作端和至少一个 ICP。  2. The content distribution network according to claim 1, wherein each of said ICP nodes includes at least one ICP operation terminal and at least one ICP.
3、 根据权利要求 1所述的内容分发网络, 其特征在于: 所述的每个 分发节点至少包括一个媒体管理器(MM ), 一个中心服务器 (CS )。  3. The content distribution network according to claim 1, wherein each of said distribution nodes includes at least one media manager (MM) and one central server (CS).
4、 根据权利要求 1所述的内容分发网络, 其特征在于: 所述的每个 边缘服务区至少包括一个 CS、 一个 MM、 一个媒体请求调度器(MRB ) 以及至少一个边缘服务器(ES )。  4. The content distribution network according to claim 1, wherein each edge service area comprises at least one CS, one MM, one media request scheduler (MRB), and at least one edge server (ES).
5、 根据权利要求 4所述的内容分发网絡, 其特征在于: 所有边缘服 务区中的 MRB均分布式部署在每个边缘服务区的局部中心。  5. The content distribution network according to claim 4, characterized in that: MRBs in all edge service areas are distributed and deployed at a local center of each edge service area.
6、 根据权利要求 1所述的内容分发网络, 其特征在于: 所述内容发 布层中的 ICP节点为与其直接连接的一级分发子层中的分发节点的上一 级节点, 所述边缘服务层中的边缘服务区为与其直接连接的最下一级分 发子层中的分发节点的下一級节点。  6. The content distribution network according to claim 1, wherein: the ICP node in the content publishing layer is a node above the distribution node in the first-level distribution sub-layer directly connected to the edge service, The edge service area in the layer is the next-level node of the distribution node in the lowest-level distribution sub-layer directly connected to it.
7、一种内容分发网络分层分发的方法 , 其特征在于该方法包括以下 步骤: a、 ICP节点将所需发布的内容分发到与其直接连接的内容分发层中 的至少一个分发节点; 7. A hierarchical distribution method for a content distribution network, characterized in that the method includes the following steps: a. The ICP node distributes the content to be published to at least one distribution node in a content distribution layer directly connected to the ICP node;
b、在内容分发层内, 当前收到内容分发命令的分发节点判断自身是 否为最下一级分发子层中的分发节点, 如果是, 则执行步骤 c; 如果不 是, 则从与其直接连接的上一级节点中读取所需发布的内容, 存储在本 节点中的 CS上, 并将该内容分发到与其直接连接的一个或一个以上下 一级分发节点, 返回步驟 b;  b. In the content distribution layer, the distribution node that currently receives the content distribution command determines whether it is the distribution node in the lowest-level distribution sub-layer, and if so, performs step c; if not, then directly connects to it Read the required publishing content in the upper node, store it on the CS in this node, and distribute the content to one or more lower distribution nodes directly connected to it, and return to step b;
c、当前分发节点根据收到的内容分发命令从与其直接连接的上一级 节点接收所需发布的内容, 存储在本节点中的 CS上, 并将该内容分发 到与其直接连接的一个或一个以上边缘服务区。  c. According to the received content distribution command, the current distribution node receives the content to be published from the node directly above it, stores it on the CS in this node, and distributes the content to one or one directly connected to it. Above edge service area.
8、根据权利要求 7所述的方法, 其特征在于该方法进一步包括: 用 户对 ICP的访问, 由该用户所在地的边缘服务区内的 MRB进行调度, 并由该用户所在地的边缘服务区内的 CS或 ES提供该用户所需的服务。  8. The method according to claim 7, further comprising: the user's access to the ICP is scheduled by the MRB in the edge service area where the user is located, and is performed by the user in the edge service area where the user is located. CS or ES provides the services required by the user.
9、根据权利要求 8所述的方法, 其特征在于: 所述调度至少包括对 用户所访问的 ICP 的域名进行解析、 对边缘服务区内的 ES进行探测或 选择最佳 ES。  9. The method according to claim 8, characterized in that: the scheduling comprises at least resolving the domain name of the ICP accessed by the user, detecting the ES in the edge service area or selecting the best ES.
10、 根据权利要求 9所述的方法, 其特征在于: 所述对 ES的探测 至少包括对 ES相对用户的临近度、 用户所需内容的有无或网络忙闲状 况进行探测。  10. The method according to claim 9, characterized in that: said detecting the ES comprises at least detecting the proximity of the ES to the user, the presence or absence of content required by the user, or the status of network busyness.
11、 根据权利要求 9所述的方法, 其特征在于: 所述选择是根据 ES 相对用户的临近度、 用户所需内容的有无或网络忙闲状况来确定最佳 ES。  11. The method according to claim 9, wherein the selection is to determine the best ES based on the proximity of the ES to the user, the presence or absence of content required by the user, or the network busy status.
PCT/CN2004/000514 2003-08-29 2004-05-21 A system of layered content delivery network and a method of layered delivering content WO2005022825A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB031561047A CN100349431C (en) 2003-08-29 2003-08-29 Layered content distributing network and method thereof
CN03156104.7 2003-08-29

Publications (1)

Publication Number Publication Date
WO2005022825A1 true WO2005022825A1 (en) 2005-03-10

Family

ID=34240826

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2004/000514 WO2005022825A1 (en) 2003-08-29 2004-05-21 A system of layered content delivery network and a method of layered delivering content

Country Status (4)

Country Link
CN (1) CN100349431C (en)
HK (1) HK1074937A1 (en)
RU (1) RU2321956C2 (en)
WO (1) WO2005022825A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7149797B1 (en) * 2001-04-02 2006-12-12 Akamai Technologies, Inc. Content delivery network service provider (CDNSP)-managed content delivery network (CDN) for network service provider (NSP)
CN102215247A (en) * 2010-05-06 2011-10-12 华为技术有限公司 Network proximity load balancing method and device

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100438407C (en) * 2006-02-09 2008-11-26 华为技术有限公司 Service content distributing method
CN100405773C (en) * 2006-07-14 2008-07-23 北京时越网络技术有限公司 Method for point-to-point content redistributing method based on content distributing network system
CN101146022B (en) * 2006-09-11 2011-08-17 上海思华科技股份有限公司 Node overlapping content distribution network
CN101150421B (en) * 2006-09-22 2011-05-04 华为技术有限公司 A distributed content distribution method, edge server and content distribution network
CN101136932B (en) * 2006-10-20 2011-03-02 中兴通讯股份有限公司 Cluster type stream media networking system and its content issue and service method
CN101262488B (en) * 2007-03-09 2012-05-09 中兴通讯股份有限公司 A content distribution network system and method
CN101282281B (en) * 2007-04-03 2011-03-30 华为技术有限公司 Medium distributing system and apparatus as well as flow medium play method
CN101083604B (en) * 2007-07-18 2011-05-25 中兴通讯股份有限公司 Method for selecting and switching stream media server in content distributed network
CN101447910B (en) * 2007-11-26 2012-04-25 华为技术有限公司 Distributed network storage control method, device and distribution system
CN101179494B (en) * 2007-12-03 2010-09-01 浙江大学 Resource distribution method facing to network multimedia transmission service
CN101198016A (en) * 2007-12-05 2008-06-11 中兴通讯股份有限公司 Contents issuance and storage method for interactive individual television media paying system
CN101217391B (en) * 2008-01-18 2010-12-08 中兴通讯股份有限公司 A content distribution network hybrid networking system and content distribution method
CN101237418B (en) * 2008-02-28 2012-03-28 蓝汛网络科技(北京)有限公司 Stream media acceleration system, method and device based on content distribution network
US8161099B2 (en) * 2008-12-17 2012-04-17 Microsoft Corporation Techniques to automatically syndicate content over a network
CN101640688B (en) * 2009-08-20 2014-03-12 中兴通讯股份有限公司 Content delivery network (CDN)-based switching method for main node controller and spare controller and CDN
CN101697548A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Implementation method and management system of node cooperation
CN102170454B (en) * 2011-06-02 2014-02-26 上海高清数字科技产业有限公司 Information distribution system
JP5857451B2 (en) * 2011-06-03 2016-02-10 富士通株式会社 Distribution method and distribution system
CN102891869B (en) * 2011-07-20 2015-07-15 郑州威科姆科技股份有限公司 CDN (Content Delivery Network) and content distribution and scheduling method
CN102231749B (en) * 2011-08-12 2013-12-11 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)
CN102833592B (en) * 2012-08-06 2019-01-04 中兴通讯股份有限公司 A kind of media content dispatching method, system and equipment
CN102780710A (en) * 2012-08-24 2012-11-14 乐视网信息技术(北京)股份有限公司 Node scheduling method based on content distribution network
CN103250382B (en) 2012-12-28 2017-04-26 华为技术有限公司 Distribution method, apparatus and system
CN103596066B (en) * 2013-11-28 2017-02-15 中国联合网络通信集团有限公司 Method and device for data processing
WO2015103738A1 (en) * 2014-01-08 2015-07-16 华为技术有限公司 Content distribution method, apparatus and system
CN103929491B (en) * 2014-04-28 2016-02-03 努比亚技术有限公司 Method of data synchronization and system and mobile terminal
CN104980416A (en) * 2014-07-31 2015-10-14 腾讯科技(深圳)有限公司 Data access method, device and system in content distribution network
CN105187518B (en) * 2015-08-24 2018-11-20 湖南快乐阳光互动娱乐传媒有限公司 A kind of CDN content distribution method and system
CN107277092A (en) * 2016-04-08 2017-10-20 北京优朋普乐科技有限公司 Content distributing network and its data download method
CN109218362B (en) * 2017-07-03 2021-01-15 中国移动通信有限公司研究院 Internet content distribution method, device and system
CN107395346B (en) * 2017-07-31 2020-09-11 东南大学 Layered quantum information distribution method
CN109005224B (en) * 2018-07-26 2021-10-22 中国建设银行股份有限公司 Data distribution method and device
CN109379426B (en) * 2018-10-19 2021-08-31 中国联合网络通信集团有限公司 X-CDN scheduling method, device and system based on X-DNS

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002071242A1 (en) * 2001-03-01 2002-09-12 Akamai Technologies, Inc. Optimal route selection in a content delivery network
WO2002099679A1 (en) * 2001-06-06 2002-12-12 Akamai Technologies, Inc. Targeted delivery of media-promoted content to selected network service providers in a content delivery network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002071242A1 (en) * 2001-03-01 2002-09-12 Akamai Technologies, Inc. Optimal route selection in a content delivery network
WO2002099679A1 (en) * 2001-06-06 2002-12-12 Akamai Technologies, Inc. Targeted delivery of media-promoted content to selected network service providers in a content delivery network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7149797B1 (en) * 2001-04-02 2006-12-12 Akamai Technologies, Inc. Content delivery network service provider (CDNSP)-managed content delivery network (CDN) for network service provider (NSP)
US7840667B2 (en) * 2001-04-02 2010-11-23 Akamai Technologies, Inc. Content delivery network service provider (CDNSP)-managed content delivery network (CDN) for network service provider (NSP)
CN102215247A (en) * 2010-05-06 2011-10-12 华为技术有限公司 Network proximity load balancing method and device
CN102215247B (en) * 2010-05-06 2014-12-03 华为技术有限公司 Network proximity load balancing method and device

Also Published As

Publication number Publication date
CN1592248A (en) 2005-03-09
CN100349431C (en) 2007-11-14
RU2321956C2 (en) 2008-04-10
HK1074937A1 (en) 2005-11-25
RU2006110034A (en) 2006-08-10

Similar Documents

Publication Publication Date Title
WO2005022825A1 (en) A system of layered content delivery network and a method of layered delivering content
Cardellini et al. Redirection algorithms for load sharing in distributed Web-server systems
US10757037B2 (en) Method and system for dynamic scheduling and allocation of network traffic
CN101222424B (en) Content distribution network and scheduling method based on content in the network
US10361902B2 (en) Method and system for guaranteeing resource utilization rate of website using content distribution network
US8527635B2 (en) Contents delivery system and method, web server and contents provider DNS server thereof
US7185052B2 (en) Meta content delivery network system
CN101848137B (en) Load balancing method and system applied to three-layer network
WO2010127618A1 (en) System and method for implementing streaming media content service
Tang et al. The role of cloud computing in content-centric mobile networking
WO2011044829A1 (en) Resource buffering method, resource acquisition method, apparatus and system thereof
CN101242422A (en) Content distribution network system and method applicable to multi-service fusion
CN101540775A (en) Method and device for distributing contents and network system for distributing contents
JP2017536606A (en) Long tail content processing in content distribution networks
CN102301682A (en) Method and system for network caching, domain name system redirection sub-system thereof
WO2009155802A1 (en) Method, system, service selection entity and service management entity for selecting service provision entity
WO2009152754A1 (en) Method, system and device for providing contents based on peer to peer network
CN100391178C (en) Method for selecting server in network
CN101014046B (en) Method for integrating service location with service quality routing in service loading network
WO2005018189A1 (en) Analysis method for user request
CN105610930A (en) Data optimization method based on DNS (Domain Name Server)
CN1805355A (en) Method for implementing service orientation in multi-node network in mobile stream media system
KR100873788B1 (en) Method of configuring a multimedia content distribution network and a method of multimedia content service using the same
He et al. Internet traffic control and management architecture
Gramatikov et al. Content delivery system for optimal vod streaming

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1051/CHENP/2006

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2006110034

Country of ref document: RU

122 Ep: pct application non-entry in european phase