CN102148752B - Routing implementing method based on content distribution network and related equipment and system - Google Patents
Routing implementing method based on content distribution network and related equipment and system Download PDFInfo
- Publication number
- CN102148752B CN102148752B CN201010600701.0A CN201010600701A CN102148752B CN 102148752 B CN102148752 B CN 102148752B CN 201010600701 A CN201010600701 A CN 201010600701A CN 102148752 B CN102148752 B CN 102148752B
- Authority
- CN
- China
- Prior art keywords
- server
- dns
- edge server
- routing
- edge
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例涉及内容分发网络领域,公开了一种基于内容分发网络的路由实现方法及相关设备、系统。该方法包括:路由服务器接收DNS服务器发送的DNS请求消息;根据该DNS服务器的IP地址,从预先建立的动态路由表中确定出到该DNS服务器的时延最短的边缘服务器群,该动态路由表用于记录每个边缘服务器群到各个DNS服务器的时延大小;从确定的边缘服务器群中选取任意一个边缘服务器,并将选取的边缘服务器的IP地址通过DNS响应消息发送至该DNS服务器,使该DNS服务器将选取的边缘服务器的IP地址发送至用户终端。本发明实施例可以快速、准确地选择到用户时延最短的边缘服务器群来为用户提供服务,提升CDN服务质量。
The embodiment of the present invention relates to the field of content distribution network, and discloses a routing implementation method based on content distribution network and related equipment and system. The method includes: the routing server receives the DNS request message sent by the DNS server; according to the IP address of the DNS server, the edge server group with the shortest delay to the DNS server is determined from the pre-established dynamic routing table, and the dynamic routing table It is used to record the time delay from each edge server group to each DNS server; select any edge server from the determined edge server group, and send the IP address of the selected edge server to the DNS server through a DNS response message, so that The DNS server sends the selected IP address of the edge server to the user terminal. The embodiment of the present invention can quickly and accurately select the edge server group with the shortest time delay for users to provide services for users and improve the service quality of CDN.
Description
技术领域 technical field
本发明涉及内容分发网络领域,具体涉及一种基于内容分发网络的路由实现方法及相关设备、系统。The present invention relates to the field of content distribution network, in particular to a content distribution network-based routing implementation method and related equipment and systems.
背景技术 Background technique
内容分发网络(Content Delivery Network,CDN)是一种新型的网络构建方式,其特点是采用分布式缓存技术,将视频、音频、图片以及文档等网络内容发布到最接近用户的网络“边缘”,就近为用户提供服务,可以极大地提高用户访问网络的响应速度以及服务质量,而且可以节约网络带宽资源。Content Delivery Network (Content Delivery Network, CDN) is a new type of network construction method, which is characterized by the use of distributed caching technology to publish network content such as video, audio, pictures, and documents to the "edge" of the network closest to the user. Providing users with nearby services can greatly improve the response speed and service quality of users accessing the network, and can save network bandwidth resources.
在CDN中,一个重要功能就是为用户实现路由,即CDN根据用户的请求位置来选择出到用户时延最短的边缘服务器群为该用户提供服务,这一个重要功能是由CDN中的路由服务器来完成的。现有技术中,路由服务器可以采用域名管理系统(Domain Name System,DNS)路由方式为用户实现路由,即路由服务器可以根据用户所在的DNS服务器的网际协议(InternetProtocol,IP)地址,选择到该DNS服务器时延最短的边缘服务器集群来为用户提供服务。In the CDN, an important function is to implement routing for the user, that is, the CDN selects the edge server group with the shortest delay to the user according to the location of the user's request to provide services for the user. This important function is performed by the routing server in the CDN. Completed. In the prior art, the routing server can adopt the domain name management system (Domain Name System, DNS) routing method to implement routing for the user, that is, the routing server can select the DNS server according to the Internet Protocol (Internet Protocol, IP) address of the DNS server where the user is located. The edge server cluster with the shortest server latency provides services to users.
在上述DNS路由方式中,CDN采用静态配置方式预先配置好各个边缘服务器集群和DNS服务器的时延关系。其中,在静态配置方式下可能会出现以下问题:一、如果某一DNS服务器与最接近的边缘服务器集群之间的路由中断了,路由服务器是无法通过静态配置数据来获知的,路由服务器若仍然选择此边缘服务器集群为用户提供服务,会造成用户无法访问CDN;二、CDN在网络上提供内容加速时,由于各个运营商都有自己的DNS服务器,CND无法获悉所有的DNS服务器的IP地址并预先配置到CDN中;三、不同边缘服务器集群到同一DNS服务器集群的消息时延会随着网络发生变化,静态配置方式无法准确地选择出到用户时延最短的边缘服务器集群来为用户提供服务,无法保证CDN服务质量。In the above-mentioned DNS routing method, the CDN adopts a static configuration method to pre-configure the delay relationship between each edge server cluster and the DNS server. Among them, the following problems may occur in the static configuration mode: 1. If the route between a certain DNS server and the closest edge server cluster is interrupted, the routing server cannot be informed through the static configuration data. Choosing this edge server cluster to provide services to users will cause users to be unable to access the CDN; 2. When CDN provides content acceleration on the network, since each operator has its own DNS server, CND cannot learn the IP addresses of all DNS servers and Configured in the CDN; 3. The message delay from different edge server clusters to the same DNS server cluster will change with the network, and the static configuration method cannot accurately select the edge server cluster with the shortest delay to provide services for users. CDN service quality cannot be guaranteed.
发明内容 Contents of the invention
针对上述问题,本发明实施例提供了一种基于内容分发网络的路由实现方法及相关设备、系统,用于快速、准确地选择出到用户时延最短的边缘服务器群来为用户提供服务,提升CDN的服务质量。In view of the above problems, the embodiment of the present invention provides a content distribution network-based routing implementation method and related equipment and systems, which are used to quickly and accurately select the edge server group with the shortest delay to the user to provide services for the user, and improve CDN service quality.
其中,一种基于内容分发网络的路由实现方法,包括:Among them, a routing implementation method based on content distribution network, including:
路由服务器接收域名管理系统DNS服务器发送的DNS请求消息;The routing server receives the DNS request message sent by the DNS server of the domain name management system;
所述路由服务器根据所述DNS服务器的IP地址,从预先建立的动态路由表中确定出到所述DNS服务器的时延最短的边缘服务器群;所述动态路由表用于记录每个边缘服务器群到各个DNS服务器的时延大小;The routing server determines the edge server group with the shortest delay to the DNS server from the pre-established dynamic routing table according to the IP address of the DNS server; the dynamic routing table is used to record the edge server group of each edge server group The delay to each DNS server;
所述路由服务器从确定的边缘服务器群中选取任意一个边缘服务器,并将选取的边缘服务器的IP地址通过DNS响应消息发送至所述DNS服务器,以使所述DNS服务器将所述选取的边缘服务器的IP地址发送至用户终端。The routing server selects any edge server from the determined edge server group, and sends the IP address of the selected edge server to the DNS server through a DNS response message, so that the DNS server sends the selected edge server The IP address is sent to the user terminal.
相应地,一种获取时延的方法,包括:Correspondingly, a method for obtaining time delay includes:
边缘服务器接收路由服务器发送的IP探测命令,所述IP探测命令携带被探测的域名管理系统DNS服务器的IP地址;The edge server receives the IP detection command sent by the routing server, and the IP detection command carries the IP address of the detected domain name management system DNS server;
所述边缘服务器根据所述被探测的DNS服务器的IP地址,发送时延探测消息至所述被探测的DNS服务器;The edge server sends a delay detection message to the detected DNS server according to the IP address of the detected DNS server;
所述边缘服务器记录到所述被探测的DNS服务器的时延大小;The edge server records the time delay to the detected DNS server;
所述边缘服务器将所述时延大小以及所述边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至所述路由服务器。The edge server sends the delay and the group ID of the edge server group to which the edge server belongs as an IP detection result to the routing server.
相应地,一种路由服务器,应用于内容分发网络,包括:Correspondingly, a routing server, applied to a content distribution network, includes:
接收单元,用于接收域名管理系统DNS服务器发送的DNS请求消息;The receiving unit is used to receive the DNS request message sent by the DNS server of the domain name management system;
确定单元,用于根据所述DNS服务器的IP地址,从所述预先建立的动态路由表中确定出到所述DNS服务器的时延最短的边缘服务器群;所述动态路由表用于记录每个边缘服务器群到各个DNS服务器的时延大小;A determining unit, configured to determine from the pre-established dynamic routing table the edge server group with the shortest delay to the DNS server according to the IP address of the DNS server; the dynamic routing table is used to record each The delay from the edge server group to each DNS server;
选取单元,用于从所述确定单元确定出的边缘服务器群中选取任意一个边缘服务器;a selection unit, configured to select any one edge server from the group of edge servers determined by the determination unit;
发送单元,用于将所述选取单元选取出的边缘服务器的IP地址通过DNS响应消息发送至所述DNS服务器,以使所述DNS服务器将所述选取单元选取出的边缘服务器的IP地址发送至用户终端。a sending unit, configured to send the IP address of the edge server selected by the selection unit to the DNS server through a DNS response message, so that the DNS server sends the IP address of the edge server selected by the selection unit to user terminal.
相应地,一种边缘服务器,应用于内容分发网络,包括:Correspondingly, an edge server, applied to a content distribution network, includes:
接收单元,用于接收路由服务器发送的IP探测命令,所述IP探测命令携带被探测的域名管理系统DNS服务器的IP地址;The receiving unit is used to receive the IP detection command sent by the routing server, and the IP detection command carries the IP address of the detected domain name management system DNS server;
第一发送单元,用于根据所述被探测的DNS服务器的IP地址,发送时延探测消息至所述被探测的DNS服务器;A first sending unit, configured to send a delay detection message to the detected DNS server according to the IP address of the detected DNS server;
记录单元,用于记录所述边缘服务器到所述被探测的DNS服务器的时延大小;a recording unit, configured to record the time delay from the edge server to the detected DNS server;
第二发送单元,用于将所述时延大小以及所述边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至所述路由服务器。The second sending unit is configured to send the delay and the group number of the edge server group to which the edge server belongs to the routing server as an IP detection result.
相应地,一种基于内容分发网络的路由实现系统,包括:Correspondingly, a routing implementation system based on content distribution network includes:
路由服务器和域名管理系统DNS服务器;Routing server and domain name management system DNS server;
所述路由服务器,用于接收所述DNS服务器发送的DNS请求消息,根据所述DNS服务器的IP地址,从预先建立的动态路由表中确定出到所述DNS服务器的时延最短的边缘服务器群;所述动态路由表用于记录每个边缘服务器群到各个DNS服务器的时延大小;以及从确定的边缘服务器群中选取任意一个边缘服务器,并将选取的边缘服务器的IP地址通过DNS响应消息发送至所述DNS服务器;The routing server is configured to receive the DNS request message sent by the DNS server, and determine the edge server group with the shortest delay to the DNS server from a pre-established dynamic routing table according to the IP address of the DNS server ; The dynamic routing table is used to record the delay size of each edge server group to each DNS server; and select any edge server from the determined edge server group, and pass the IP address of the selected edge server through the DNS response message sent to the DNS server;
所述DNS服务器,用于发送DNS请求消息至所述路由服务器,以及接收所述路由服务器通过DNS响应消息发送的所述路由服务器选取出的边缘服务器的IP地址,将所述边缘服务器的IP地址发送至用户终端。The DNS server is configured to send a DNS request message to the routing server, and receive the IP address of the edge server selected by the routing server sent by the routing server through a DNS response message, and set the IP address of the edge server to sent to the user terminal.
本发明实施例中,路由服务器预先建立用于记录每个边缘服务器群到各个DNS服务器的时延大小的动态路由表,在接收到任一个DNS服务器发送的DNS请求消息后,可以根据该DNS服务器的IP地址从预先建立的动态路由表中确定出到该DNS服务器的时延最短的边缘服务器群,并从确定的边缘服务器群中选取任意一个的边缘服务器,并将选取的边缘服务器的IP地址通过DNS响应消息发送至该DNS服务器,使该DNS服务器将路由服务器选取的边缘服务器的IP地址发送至用户终端,从而实现用户终端到该边缘服务器的路由。本发明实施例中,动态路由表可以准确地记录每个边缘服务器群到各个DNS服务器的时延大小,与现有技术中采用静态配置方式相比,可以快速、准确地选择出到用户时延最短(即到DNS服务器时延最短)的边缘服务器群来为用户提供服务,提升CDN的服务质量。In the embodiment of the present invention, the routing server pre-establishes a dynamic routing table for recording the time delay from each edge server group to each DNS server. After receiving the DNS request message sent by any DNS server, it can Determine the edge server group with the shortest delay to the DNS server from the pre-established dynamic routing table, and select any edge server from the determined edge server group, and send the IP address of the selected edge server By sending the DNS response message to the DNS server, the DNS server sends the IP address of the edge server selected by the routing server to the user terminal, thereby implementing routing from the user terminal to the edge server. In the embodiment of the present invention, the dynamic routing table can accurately record the time delay from each edge server group to each DNS server. Compared with the static configuration method in the prior art, the time delay to the user can be quickly and accurately selected. The shortest (that is, the shortest time delay to the DNS server) edge server group provides services for users and improves the service quality of CDN.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1为现有的一种基于DNS路由方式的路由实现方法的流程示意图;Fig. 1 is a schematic flow diagram of an existing routing implementation method based on DNS routing;
图2为本发明实施例提供的一种基于内容分发网络的路由实现方法的流程示意图;FIG. 2 is a schematic flowchart of a routing implementation method based on a content distribution network provided by an embodiment of the present invention;
图3为本发明实施例提供的一种路由服务器建立动态路由表的方法流程示意图;FIG. 3 is a schematic flowchart of a method for establishing a dynamic routing table by a routing server according to an embodiment of the present invention;
图4为本发明实施例提供的另一种基于内容分发网络的路由实现方法的流程示意图;FIG. 4 is a schematic flowchart of another method for implementing routing based on a content distribution network provided by an embodiment of the present invention;
图5为本发明实施例提供的一种获取时延的方法的流程示意图;FIG. 5 is a schematic flowchart of a method for obtaining time delay provided by an embodiment of the present invention;
图6为本发明实施例提供的一种路由服务器的结构示意图;FIG. 6 is a schematic structural diagram of a routing server provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种路由服务器的结构示意图;FIG. 7 is a schematic structural diagram of another routing server provided by an embodiment of the present invention;
图8为本发明实施例提供的一种边缘服务器的结构示意图;FIG. 8 is a schematic structural diagram of an edge server provided by an embodiment of the present invention;
图9是本发明实施例提供的一种基于内容分发网络的路由实现系统的结构示意图。FIG. 9 is a schematic structural diagram of a content distribution network-based routing implementation system provided by an embodiment of the present invention.
具体实施方式 Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
为了便于理解本发明实施例提供的基于内容分发网络的路由实现方法及相关设备、系统,本发明实施例首先对现有的一种基于DNS路由方式的路由实现方法进行介绍。请参阅图1,图1为现有的一种基于DNS路由方式的路由实现方法的流程示意图。其中,图1所示的路由实现方法可以包括以下步骤:In order to facilitate the understanding of the content distribution network-based routing implementation method and related equipment and systems provided by the embodiments of the present invention, the embodiments of the present invention first introduce an existing routing implementation method based on DNS routing. Please refer to FIG. 1 . FIG. 1 is a schematic flow diagram of an existing routing implementation method based on DNS routing. Wherein, the routing implementation method shown in Figure 1 may include the following steps:
101、用户终端发起对某一个统一资源定位符(Uniform ResourceLocation,URL)指向的内容的访问时,用户终端的桌面系统将发送DNS请求消息到用户终端所在的本地DNS服务器;101. When the user terminal initiates access to content pointed to by a certain Uniform Resource Locator (Uniform ResourceLocation, URL), the desktop system of the user terminal will send a DNS request message to the local DNS server where the user terminal is located;
102、本地DNS服务器查询上述DNS请求消息中携带的域名的授权DNS服务器,并向授权DNS服务器发送DNS请求消息;102. The local DNS server queries the authorized DNS server of the domain name carried in the DNS request message, and sends the DNS request message to the authorized DNS server;
其中,如果本地DNS服务器无法查询到上述DNS请求消息中携带的域名的授权DNS服务器,则本地DNS服务器采用递归的方式,将上述DNS请求消息发送至其上级DNS服务器,由上级DNS服务器查询到上述DNS请求消息中携带的域名的授权DNS服务器后返回授权DNS服务器的IP地址,本地DNS服务器根据授权DNS服务器的IP地址,向该域名的授权DNS服务器发送DNS请求消息。Wherein, if the local DNS server cannot query the authorized DNS server of the domain name carried in the above-mentioned DNS request message, the local DNS server uses a recursive method to send the above-mentioned DNS request message to its upper-level DNS server, and the upper-level DNS server queries the above-mentioned DNS server. The authorized DNS server of the domain name carried in the DNS request message returns the IP address of the authorized DNS server, and the local DNS server sends a DNS request message to the authorized DNS server of the domain name according to the IP address of the authorized DNS server.
103、授权DNS服务器通过DNS响应消息将CDN的路由服务器的IP地址发送给本地DNS服务器,由本地DNS服务器进行地址解析,获得CDN的路由服务器的IP地址;103. The authorized DNS server sends the IP address of the routing server of the CDN to the local DNS server through the DNS response message, and the local DNS server performs address resolution to obtain the IP address of the routing server of the CDN;
104、本地DNS服务器根据路由服务器的IP地址,向路由服务器发送DNS请求消息,其中,该DNS请求消息中携带本地DNS服务器的IP地址;104. The local DNS server sends a DNS request message to the routing server according to the IP address of the routing server, wherein the DNS request message carries the IP address of the local DNS server;
105、路由服务器根据本地DNS服务器的IP地址,确定出到本地DNS服务器最近的边缘服务器群-1,并基于负载均衡策略从边缘服务器群-1中选择一个负载最小的边缘服务器,并将负载最小的边缘服务器的IP地址通过DNS响应消息返回给本地DNS服务器;105. The routing server determines the edge server group-1 closest to the local DNS server according to the IP address of the local DNS server, and selects an edge server with the least load from the edge server group-1 based on the load balancing strategy, and loads the least The IP address of the edge server is returned to the local DNS server through the DNS response message;
106、本地DNS服务器通过DNS响应消息将上述的负载最小边缘服务器的IP地址返回给用户终端;106. The local DNS server returns the IP address of the aforementioned edge server with the least load to the user terminal through a DNS response message;
107、用户终端根据得到的IP地址向边缘服务器群-1中的负载最小的边缘服务器发起媒体访问请求。107. The user terminal initiates a media access request to the edge server with the smallest load in the edge server group-1 according to the obtained IP address.
上述的路由实现方法中,CDN中预先配置好各个边缘服务器群和本地DNS服务器的IP地址的距离关系,这属于静态配置方法,其不包括如下几个方面:In the above routing implementation method, the distance relationship between each edge server group and the IP address of the local DNS server is pre-configured in the CDN. This is a static configuration method, which does not include the following aspects:
一、如果某一个DNS服务器与到该DNS服务器最近的边缘服务器群的IP路径中断了,路由服务器是无法通过静态配置数据来获悉的,路由服务器可能仍然选择此边缘服务器群为用户提供服务,造成用户无法访问CDN内容的情况。1. If the IP path between a certain DNS server and the edge server group closest to the DNS server is interrupted, the routing server cannot learn about it through static configuration data, and the routing server may still choose this edge server group to provide services for users, resulting in Situations where users cannot access CDN content.
二、CDN在网络上提供内容加速时,由于各个运营商都有自己的DNS服务器,无法把所有DNS服务器地址都获取和预先配置到CDN中。比如,中国电信部署了一套CDN网络,但中国联通、中国移动或者国外的用户访问中国电信的CDN网络时,是通过这些运营商自己的DNS服务器发来DNS请求消息,这些DNS服务器的IP地址就无法获取和配置。2. When the CDN provides content acceleration on the network, since each operator has its own DNS server, it is impossible to obtain and pre-configure all DNS server addresses into the CDN. For example, China Telecom has deployed a CDN network, but when China Unicom, China Mobile or foreign users access China Telecom's CDN network, they send DNS request messages through the DNS servers of these operators. The IP addresses of these DNS servers It cannot be obtained and configured.
三、CDN服务质量无法保证。不同边缘服务器群到同一个DNS服务器的时延大小会随着网络发生变化的,静态配置无法准确地选择出时延最短的边缘服务器群来为用户提供服务。3. CDN service quality cannot be guaranteed. The delay between different edge server groups and the same DNS server will vary with the network, and static configuration cannot accurately select the edge server group with the shortest delay to provide services for users.
针对上述问题,本发明实施例中提供了一种基于内容分发网络的路由实现方法及路由服务器、系统,用于快速、准确地选择出到用户时延最短的边缘服务器群来为用户提供服务,提升CDN的服务质量。以下分别进行详细说明。In view of the above problems, the embodiment of the present invention provides a content distribution network-based routing implementation method, routing server, and system, which are used to quickly and accurately select the edge server group with the shortest delay to the user to provide services for the user. Improve the service quality of CDN. Each will be described in detail below.
实施例一:Embodiment one:
请参阅图2,图2为本发明实施例提供一种基于内容分发网络的路由实现方法的流程示意图。其中,图2所示的路由实现方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a method for implementing routing based on a content distribution network according to an embodiment of the present invention. Wherein, the routing implementation method shown in Figure 2 may include the following steps:
201、路由服务器接收DNS服务器发送的DNS请求消息;201. The routing server receives the DNS request message sent by the DNS server;
202、路由服务器根据上述DNS服务器的IP地址,从预先建立的动态路由表中确定出到上述DNS服务器的时延最短的边缘服务器群,该动态路由表用于记录每个边缘服务器群到各个DNS服务器的时延大小;202. According to the IP address of the above-mentioned DNS server, the routing server determines the edge server group with the shortest delay to the above-mentioned DNS server from the pre-established dynamic routing table, and the dynamic routing table is used to record each edge server group to each DNS The delay of the server;
203、路由服务器从确定的边缘服务器群中选取任意一个边缘服务器,并将选取的边缘服务器的IP地址通过DNS响应消息发送至上述DNS服务器,以使上述DNS服务器将路由服务器选取的边缘服务器的IP地址发送至用户终端。203. The routing server selects any edge server from the determined edge server group, and sends the IP address of the selected edge server to the above-mentioned DNS server through a DNS response message, so that the above-mentioned DNS server sends the IP address of the edge server selected by the routing server to The address is sent to the user terminal.
本发明实施例中,路由服务器需要预先建立动态路由表,用于记录每个边缘服务器群到各个DNS服务器的时延大小,或者需要更新用于记录每个边缘服务器群到各个DNS服务器的时延大小的动态路由表。In the embodiment of the present invention, the routing server needs to establish a dynamic routing table in advance, which is used to record the time delay from each edge server group to each DNS server, or needs to be updated to record the time delay from each edge server group to each DNS server The size of the dynamic routing table.
作为一个可选的实施方式,路由服务器预先建立或更新动态路由表的方法可以如图3所示,包括以下步骤:As an optional implementation, the method for the routing server to pre-establish or update the dynamic routing table may be as shown in Figure 3, including the following steps:
301、路由服务器发送IP探测命令给至少一个边缘服务器群。301. The routing server sends an IP detection command to at least one edge server group.
本发明实施例中,路由服务器可以发送IP探测命令给至少一个边缘服务器群中的任一个边缘服务器。In the embodiment of the present invention, the routing server may send an IP detection command to any edge server in at least one edge server group.
其中,一个边缘服务器群是放在一个机房的一个机框中的,因此,路由服务器的IP探测命令可以发送给每一个边缘服务器群中的任一个边缘服务器。Wherein, an edge server group is placed in a machine frame of a computer room, therefore, the IP detection command of the routing server can be sent to any edge server in each edge server group.
可选地,路由服务器可以发送IP探测命令给每一个边缘服务器群中的负载最小的边缘服务器,由每一个边缘服务器群中负载最小的边缘服务器来执行路由器发送的IP探测命令。Optionally, the routing server may send the IP detection command to the edge server with the smallest load in each edge server group, and the edge server with the smallest load in each edge server group executes the IP detection command sent by the router.
302、路由服务器接收上述边缘服务器群中任意一个边缘服务器发送的IP探测结果,其中,该IP探测结果可以包括上述边缘服务器群的群编号以及上述边缘服务器群到被探测的DNS服务器的时延大小。302. The routing server receives the IP detection result sent by any edge server in the above-mentioned edge server group, where the IP detection result may include the group number of the above-mentioned edge server group and the time delay from the above-mentioned edge server group to the detected DNS server .
作为一个可选的实施方式,上述边缘服务器群中的任一个边缘服务器接收到路由服务器发送的IP探测命令之后,可以根据该IP探测命令中携带的被探测的DNS服务器的IP地址,发送DNS消息至被探测的DNS服务器;同时,该边缘服务器(即每一个边缘服务器群中的任一个边缘服务器)还记录从发送DNS消息到接收到被探测的DNS服务器返回响应消息的时延大小;该边缘服务器在记录到时延大小之后,可以将该边缘服务器记录的时延大小以及该边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器。As an optional implementation, after any edge server in the above-mentioned edge server group receives the IP detection command sent by the routing server, it can send a DNS message according to the IP address of the detected DNS server carried in the IP detection command to the detected DNS server; at the same time, the edge server (that is, any edge server in each edge server group) also records the time delay from sending the DNS message to receiving the response message returned by the detected DNS server; the edge After recording the delay, the server may send the delay recorded by the edge server and the group ID of the edge server group to which the edge server belongs to the routing server as an IP detection result.
其中,上述的被探测的DNS服务器是路由服务器确定出的DNS服务器,路由服务器需要获悉每一个边缘服务器群到该DNS服务器的时延大小。换句话说,路由服务器需要每一个边缘服务器测量到该DNS服务器的时延大小,因此,该DNS服务器称为被探测的DNS服务器。Wherein, the detected DNS server is the DNS server determined by the routing server, and the routing server needs to know the time delay from each edge server group to the DNS server. In other words, the routing server requires each edge server to measure the delay to the DNS server, so the DNS server is called a probed DNS server.
作为另一个可选的实施方式,上述边缘服务器群中的任一个边缘服务器接收到路由服务器发送的IP探测命令之后,可以根据该IP探测命令中携带的被探测的DNS服务器的IP地址,发送至少二个PING消息至被探测的DNS服务器;同时,该边缘服务器(即每一个边缘服务器群中的任一个边缘服务器)还记录从发送每一个PING消息到接收到被探测的DNS服务器返回响应消息的时延大小,即获得每一个PING消息对应的时延大小;该边缘服务器在获取每一个PING消息对应的时延大小之后,可以将上述至少二个PING消息对应的时延大小进行平均处理,获得时延大小平均值;该边缘服务器可以将该时延大小平均值以及该边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器。其中,边缘服务器发送至少二个PING消息并计算至少二个PING消息对应的时延大小平均值作为该边缘服务器所属的边缘服务器群到被探测的DNS服务器的时延大小,可以获得比较准确的时延大小。As another optional implementation, after any edge server in the above-mentioned edge server group receives the IP detection command sent by the routing server, it can send at least Two PING messages are sent to the detected DNS server; at the same time, the edge server (that is, any edge server in each edge server group) also records the time from sending each PING message to receiving the response message returned by the detected DNS server Delay size, that is, to obtain the delay size corresponding to each PING message; after obtaining the delay size corresponding to each PING message, the edge server can average the delay size corresponding to the above-mentioned at least two PING messages to obtain The average value of delay; the edge server may send the average value of delay and the group ID of the edge server group to which the edge server belongs to the routing server as an IP detection result. Wherein, the edge server sends at least two PING messages and calculates the average value of the time delay corresponding to the at least two PING messages as the time delay from the edge server group to which the edge server belongs to the detected DNS server, so that a more accurate time delay can be obtained. extension size.
本发明实施例中,同一个边缘服务器群是放在一个机房的一个机框中的,因此,同一个边缘服务器群中的每一个边缘服务器到同一个被探测的DNS服务器的时延大小的差别很小(一般微妙),可以忽略不计。所以,每一个边缘服务器群中的任一个边缘服务器到被探测的DNS服务器的时延大小可以认为是该边缘服务器所属的边缘服务器群到被探测的DNS服务器的时延大小。In the embodiment of the present invention, the same edge server group is placed in a machine frame in a computer room, therefore, the difference in the delay between each edge server in the same edge server group and the same detected DNS server Small (generally subtle) and negligible. Therefore, the delay from any edge server in each edge server group to the detected DNS server can be regarded as the delay from the edge server group to which the edge server belongs to the detected DNS server.
303、路由服务器存储上述边缘服务器群到被探测的DNS服务器的时延大小与被探测的DNS服务器的IP地址的对应关系,实现动态路由表的建立或更新。303. The routing server stores the correspondence between the time delay from the edge server group to the detected DNS server and the IP address of the detected DNS server, so as to realize the establishment or update of a dynamic routing table.
其中,路由服务器存储的上述边缘服务器群到被探测的DNS服务器的时延大小与被探测的DNS服务器的IP地址的对应关系可以看作是上述边缘服务器群到被探测的DNS服务器的路由记录。Wherein, the correspondence between the time delay from the edge server group to the detected DNS server and the IP address of the detected DNS server stored in the routing server can be regarded as the routing record from the edge server group to the detected DNS server.
其中,路由服务器在接收到每一个边缘服务器群中的任一个边缘服务器(如负载最小的边缘服务器)发送的IP探测结果之后,可以存储每一个边缘服务器群到被探测的DNS服务器的时延大小与被探测的DNS服务器的IP地址的对应关系(即路由记录);其中,多个对应关系(即多个路由记录)可以构成如表1所示的动态路由列表。Wherein, after the routing server receives the IP detection result sent by any edge server (such as the edge server with the least load) in each edge server group, it can store the time delay from each edge server group to the detected DNS server The corresponding relationship (ie routing record) with the IP address of the detected DNS server; where multiple corresponding relationships (ie multiple routing records) can constitute a dynamic routing list as shown in Table 1.
表1路由服务器上的动态路由表Table 1 Dynamic routing table on routing server
在表1所示的动态路由表中,边缘服务器群-6、边缘服务器群-3以及边缘服务器群-7到IP地址为10.80.158.2的被探测的DNS服务器的时延大小分别为12ms、33ms以及21ms。如表1所示的动态路由表,还相应地记录每一条对应关系(即路由记录)的产生时间,例如,边缘服务器群-12到IP地址为10.80.155.18的被探测的DNS服务器的时延大小为11ms的路由记录的产生时间为2010年10月27日08点10分。In the dynamic routing table shown in Table 1, the delays from edge server group-6, edge server group-3, and edge server group-7 to the detected DNS server with IP address 10.80.158.2 are 12ms and 33ms respectively and 21ms. The dynamic routing table shown in Table 1 also correspondingly records the generation time of each corresponding relationship (ie routing record), for example, the time delay from the edge server group-12 to the detected DNS server whose IP address is 10.80.155.18 The routing record with a size of 11 ms was generated at 08:10 on October 27, 2010.
作为一个可选的实施方式,在执行上述的步骤301之前,路由服务器还可以执行以下步骤:As an optional implementation manner, before performing the
路由服务器从热度统计表中选取发送DNS请求次数达到预设次数值的DNS服务器作为被探测的DNS服务器;和/或,The routing server selects from the heat statistics table the DNS server whose number of sending DNS requests reaches the preset value as the detected DNS server; and/or,
路由服务器从热度统计表中选取发送DNS请求次数占所有DNS请求次数的百分比达到预设百分比值的DNS服务器作为被探测的DNS服务器。The routing server selects the DNS server whose percentage of sending DNS requests to all DNS requests reaches a preset percentage value from the heat statistics table as the detected DNS server.
本发明实施例中,路由服务器在初始化时,上述表1所示的动态路由表中是没有内容的。路由服务器在接收到某一个DNS服务器发送的DNS请求之后,路由服务器查询动态路由表会失败,路由服务器可以将该DNS发送DNS请求的次数,以及该DNS发送的DNS请求次数占所有的DNS请求次数的百分比记录到如表2所示的热度统计表中。In the embodiment of the present invention, when the routing server is initialized, there is no content in the dynamic routing table shown in Table 1 above. After the routing server receives a DNS request sent by a certain DNS server, the routing server will fail to query the dynamic routing table. The number of times the routing server can send DNS requests to the DNS, and the number of DNS requests sent by the DNS accounts for all DNS requests The percentage of is recorded in the heat statistics table shown in Table 2.
表2路由服务器上维护的热度统计表Table 2 The popularity statistics table maintained on the routing server
如表2所示的热度统计表中,产生时间用于记录每一个DNS服务器对应的DNS请求次数或DNS请求次数所占的百分比最后更新的时间。In the popularity statistics table shown in Table 2, the generation time is used to record the time when the number of DNS requests corresponding to each DNS server or the percentage of the number of DNS requests is last updated.
作为一个可选的实施方式,路由服务器可以定时扫描上述表2所示的热度统计表,当路由服务器扫描发现某一DNS服务器(如IP为10.80.134.3的DNS服务器)发送的DNS请求次数达到预设次数值,和/或发送的DNS请求次数占所有DNS请求次数的百分比达到预设百分比值之后,路由服务器可以选取该DNS服务器(如IP为10.80.134.3的DNS服务器)作为被探测的DNS服务器,并执行上述的步骤301,启动对被探测的DNS服务器的IP探测过程。As an optional implementation, the routing server can regularly scan the heat statistics table shown in Table 2 above. When the routing server scans and finds that the number of DNS requests sent by a certain DNS server (such as a DNS server with an IP of 10.80.134.3) reaches the predetermined After the number is set, and/or the percentage of the number of DNS requests sent to all DNS requests reaches the preset percentage value, the routing server can select the DNS server (such as the DNS server with an IP of 10.80.134.3) as the DNS server to be detected , and execute the
作为另一个可选的实施方式,在执行上述的步骤301之前,路由服务器还可以执行以下步骤:As another optional implementation manner, before performing the
路由服务器判断出上述表1中的某一条对应关系(即路由记录)的存储时间达到预设时间,路由服务器将该条对应关系(即路由记录)中的DSN服务器作为再次被探测的DNS服务器,并执行上述的步骤301,启动对被探测的DNS服务器的IP探测过程。The routing server judges that the storage time of a certain corresponding relationship (i.e. routing record) in the above table 1 reaches the preset time, and the routing server regards the DSN server in the corresponding relationship (i.e. routing record) as the DNS server to be detected again, And execute the
其中,上述步骤201中DNS服务器发送的DNS请求消息是通过IP协议来发送的,因此,路由服务器在接收到DNS服务器发送的DNS请求消息之后,可以从IP消息头中源IP字段中解析出DNS服务器的IP地址。Wherein, the DNS request message sent by the DNS server in the
举例来说,若上述步骤201中发送DNS请求消息的DNS服务器的IP地址为10.80.158.2,则相应地在步骤202中路由服务器根据该IP地址可以从表1所示的动态路由表中确定出到IP地址为10.80.158.2的DNS服务器的时延最短的边缘服务器群为边缘服务器群-3。For example, if the IP address of the DNS server sending the DNS request message in
上述步骤203中,路由服务器可以根据负载均衡策略,从确定的边缘服务器群中选取负载最小的边缘服务器,并将负载最小的边缘服务器的IP地址通过DNS请求响应消息发送至该DNS服务器。例如,如果上述步骤202中确定出的边缘服务器群为边缘服务器群-3,则路由服务器可以将边缘服务器群-3中负载最小的边缘服务器的IP地址通过DNS请求响应消息发送至DNS服务器。In the
本发明实施例中,路由服务器可以识别出与其连接的每一个边缘服务器群中的负载最小的边缘服务器。例如,路由服务器可以通过每一个边缘服务器群对应的负载监测表实时监测每一个边缘服务器群中的每一个边缘服务器的负载大小,这是本领域技术人员公知的常识,本发明实施例此处不作赘述。In the embodiment of the present invention, the routing server can identify the edge server with the least load in each edge server group connected to it. For example, the routing server can monitor the load of each edge server in each edge server group in real time through the load monitoring table corresponding to each edge server group. repeat.
本发明实施例中,网络环境的变化可能会导致边缘服务器群到某一DNS服务器的时延大小也会发生变化,因此,表1所示的动态路由表中的对应关系(即路由记录)需要定时更新。即当表1所示的动态路由表中的某一条对应关系(即路由记录)的存储时间超过预设时间后,路由服务器可以根据该对应关系(即路由记录)中的DNS服务器的IP地址,重新发起对该DNS服务器的时延探测,探测过程同图3所示。In the embodiment of the present invention, changes in the network environment may cause the time delay from the edge server group to a certain DNS server to also change. Therefore, the corresponding relationship (ie, routing records) in the dynamic routing table shown in Table 1 needs to be Update regularly. That is, when the storage time of a certain corresponding relationship (i.e. routing record) in the dynamic routing table shown in Table 1 exceeds the preset time, the routing server can, according to the IP address of the DNS server in the corresponding relationship (i.e. routing record), Re-initiate the delay detection of the DNS server, the detection process is the same as shown in Figure 3.
可选地,路由服务器在陆续收到多个边缘服务器群发来的IP探测结果后,路由服务器每收到一条IP探测结果,可以判断是否需要更新到当前存储的N条对应关系(即路由记录)中。例如,当路由服务器收到某一IP探测结果后,可以将该IP探测结果与动态路由表中已经存储的N条对应关系(即路由记录)进行比较,如果该IP探测结果中的时延大于或等于上述N条对应关系(即路由记录)中的最大时延,则上述N条对应关系(即路由记录)作为更新后的结果;如果该IP探测结果中的时延小于上述N条对应关系(即路由记录)的最大时延,则删除上述N条对应关系(即路由记录)中最大时延对应的对应关系(即路由记录),将剩余的N-1条对应关系(即路由记录)以及该IP探测结果作为更新后的结果。Optionally, after the routing server successively receives IP detection results sent by multiple edge servers, each time the routing server receives an IP detection result, it can determine whether to update the currently stored N corresponding relationships (ie routing records) middle. For example, after the routing server receives a certain IP detection result, it can compare the IP detection result with the N correspondences (ie routing records) stored in the dynamic routing table, if the delay in the IP detection result is greater than or equal to the maximum delay in the above N correspondences (ie routing records), then the above N correspondences (ie routing records) are used as the updated result; if the delay in the IP detection result is less than the above N correspondences (i.e. routing records), then delete the correspondence (i.e. routing records) corresponding to the maximum delay in the above N correspondences (i.e. routing records), and use the remaining N-1 correspondences (i.e. routing records) And the IP detection result is used as the updated result.
本发明实施例中,路由服务器预先建立用于记录每个边缘服务器群到各个DNS服务器的时延大小的动态路由表,在接收到任一个DNS服务器发送的DNS请求消息之后,从上述动态路由表中确定出到该DNS服务器的时延最短的边缘服务器群,并从确定的边缘服务器群中选取任意一个边缘服务器(如负载最小的边缘服务器),并将选取的边缘服务器的IP地址通过DNS请求响应消息发送至该DNS服务器,使该DNS服务器将选取的边缘服务器的IP地址发送至用户终端,从而实现用户终端到边缘服务器的路由。本发明实施例中,动态路由表可以准确地记录每个边缘服务器群到各个DNS服务器的时延大小,与现有技术中采用静态配置方式相比,可以快速、准确地选择出到用户时延最短(即到DNS服务器时延最短)的边缘服务器群来为用户提供服务,提升CDN的服务质量。In the embodiment of the present invention, the routing server pre-establishes a dynamic routing table for recording the time delay from each edge server group to each DNS server. After receiving the DNS request message sent by any DNS server, the dynamic routing table Determine the edge server group with the shortest delay to the DNS server, and select any edge server (such as the edge server with the smallest load) from the determined edge server group, and send the IP address of the selected edge server through DNS request The response message is sent to the DNS server, so that the DNS server sends the selected IP address of the edge server to the user terminal, thereby realizing the routing from the user terminal to the edge server. In the embodiment of the present invention, the dynamic routing table can accurately record the time delay from each edge server group to each DNS server. Compared with the static configuration method in the prior art, the time delay to the user can be quickly and accurately selected. The shortest (that is, the shortest time delay to the DNS server) edge server group provides services for users and improves the service quality of CDN.
实施例二:Embodiment two:
请参阅图4,图4为本发明实施例提供另一种基于内容分发网络的路由实现方法的流程示意图。其中,图4所示的路由实现方法可以包括以下步骤:Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of another method for implementing routing based on content delivery networks according to an embodiment of the present invention. Wherein, the routing implementation method shown in Figure 4 may include the following steps:
401、路由服务器从表2所示热度统计表中选取出发送DNS请求次数达到预设次数值,和/或发送DNS请求次数所占的百分比达到预设百分比值的DNS服务器作为被探测的DNS服务器,并发送IP探测命令给每一个边缘服务器群中的负载最小的边缘服务器,其中,该IP探测命令携带被探测的DNS服务器的IP地址。401. The routing server selects from the heat statistics table shown in Table 2, the DNS server whose number of times of sending DNS requests reaches the preset number of times, and/or the percentage of times of sending DNS requests reaches the preset percentage value, as the DNS server to be detected , and send an IP detection command to the edge server with the least load in each edge server group, where the IP detection command carries the IP address of the DNS server to be detected.
402、路由服务器接收每一个边缘服务器群中的负载最小的边缘服务器发送的IP探测结果,其中,该IP探测结果包括负载最小的边缘服务器所属的边缘服务器群的群编号以及负载最小的边缘服务器所属的边缘服务器群到被探测的DNS服务器的时延大小,路由服务器预先建立如表1所示的动态路由表。402. The routing server receives the IP detection result sent by the edge server with the lightest load in each edge server group, where the IP detection result includes the group number of the edge server group to which the edge server with the lightest load belongs and the edge server to which the edge server with the lightest load belongs. The time delay from the edge server group to the detected DNS server, the routing server pre-establishes the dynamic routing table shown in Table 1.
其中,每一个边缘服务器群中的负载最小的边缘服务器上在接收到路由服务器发送的IP探测命令之后,可以根据该IP探测命令中携带的被探测的DNS服务器的IP地址,发送DNS消息或PING消息至被探测的DNS服务器,获得对应的时延大小后可以将该时延大小以及所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器。Wherein, after receiving the IP detection command sent by the routing server, the edge server with the smallest load in each edge server group can send a DNS message or PING according to the IP address of the detected DNS server carried in the IP detection command. The message is sent to the detected DNS server, and after obtaining the corresponding time delay, the time delay and the group number of the edge server group to which it belongs can be sent to the routing server as the IP detection result.
403、用户终端发起对某一个URL指向的内容的访问时,用户终端的桌面系统将发送DNS请求消息到用户终端所在的本地DNS服务器;403. When the user terminal initiates access to content pointed to by a certain URL, the desktop system of the user terminal will send a DNS request message to the local DNS server where the user terminal is located;
404、本地DNS服务器查询上述DNS请求消息中携带的域名的授权DNS服务器,并向授权DNS服务器发送DNS请求消息;404. The local DNS server queries the authorized DNS server of the domain name carried in the DNS request message, and sends the DNS request message to the authorized DNS server;
其中,如果本地DNS服务器无法查询到上述DNS请求消息中携带的域名的授权DNS服务器,则本地DNS服务器采用递归的方式,将上述DNS请求消息发送至其上级DNS服务器,由上级DNS服务器查询到上述DNS请求消息中携带的域名的授权DNS服务器后返回授权DNS服务器的IP地址,本地DNS服务器根据授权DNS服务器的IP地址,向该域名的授权DNS服务器发送DNS请求消息;Wherein, if the local DNS server cannot query the authorized DNS server of the domain name carried in the above-mentioned DNS request message, the local DNS server uses a recursive method to send the above-mentioned DNS request message to its upper-level DNS server, and the upper-level DNS server queries the above-mentioned DNS server. The authorized DNS server of the domain name carried in the DNS request message returns the IP address of the authorized DNS server, and the local DNS server sends a DNS request message to the authorized DNS server of the domain name according to the IP address of the authorized DNS server;
405、授权DNS服务器通过DNS响应消息将CDN的路由服务器的IP地址发送给本地DNS服务器,由本地DNS服务器进行地址解析,获得CDN的路由服务器的IP地址;405. The authorized DNS server sends the IP address of the routing server of the CDN to the local DNS server through the DNS response message, and the local DNS server performs address resolution to obtain the IP address of the routing server of the CDN;
406、本地DNS服务器根据路由服务器的IP地址,向路由服务器发送DNS请求消息;406. The local DNS server sends a DNS request message to the routing server according to the IP address of the routing server;
407、路由服务器根据本地DNS服务器的IP地址,从预先建立的如表1所示的动态路由表中确定出到本地DNS服务器的时延最短的边缘服务器群-N,并基于负载均衡策略从边缘服务器群-N中选择一个负载最小的边缘服务器的IP地址通过DNS响应消息返回给本地DNS服务器;407. According to the IP address of the local DNS server, the routing server determines from the pre-established dynamic routing table shown in Table 1 the edge server group-N with the shortest delay to the local DNS server, and based on the load balancing strategy, from the edge server Select the IP address of an edge server with the least load in the server group-N and return it to the local DNS server through the DNS response message;
408、本地DNS服务器通过DNS响应消息将上述的负载最小边缘服务器的IP地址返回给用户终端;408. The local DNS server returns the IP address of the aforementioned edge server with the least load to the user terminal through a DNS response message;
409、用户终端根据得到的IP地址向边缘服务器群-N中的负载最小的边缘服务器发起媒体访问请求。409. The user terminal initiates a media access request to the edge server with the smallest load in the edge server group-N according to the obtained IP address.
本发明实施例中,路由服务器预先建立的动态路由表可以准确地记录每个边缘服务器群到各个DNS服务器的时延大小,与现有技术中采用静态配置方式相比,可以快速、准确地选择出到用户时延最短(即到DNS服务器时延最短)的边缘服务器群来为用户提供服务,提升CDN的服务质量。In the embodiment of the present invention, the dynamic routing table established in advance by the routing server can accurately record the time delay from each edge server group to each DNS server. Compared with the static configuration method in the prior art, it can quickly and accurately select The edge server group with the shortest delay to the user (that is, the shortest delay to the DNS server) provides services for users and improves the service quality of the CDN.
实施例三:Embodiment three:
请参阅图5,图5为本发明实施例提供的一种获取时延的方法的流程示意图。其中,该方法可以包括以下步骤:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a method for obtaining time delay provided by an embodiment of the present invention. Wherein, the method may include the following steps:
501、边缘服务器接收路由服务器发送的IP探测命令,其中,该IP探测命令携带被探测的DNS服务器的IP地址;501. The edge server receives the IP detection command sent by the routing server, where the IP detection command carries the IP address of the DNS server to be detected;
本发明实施例中,上述边缘服务器可以位于某一个边缘服务器群中。In the embodiment of the present invention, the above-mentioned edge server may be located in a certain edge server group.
502、边缘服务器根据上述被探测的DNS服务器的IP地址,发送时延探测消息至被探测的DNS服务器;502. The edge server sends a delay detection message to the detected DNS server according to the IP address of the detected DNS server;
503、边缘服务器记录到被探测的DNS服务器的时延大小;503. The edge server records the time delay to the detected DNS server;
504、边缘服务器将上述时延大小以及边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器。504. The edge server sends the above delay and the group ID of the edge server group to which the edge server belongs as an IP detection result to the routing server.
作为一个可选的实施方式,上述步骤502中边缘服务器可以根据上述被探测的DNS服务器的IP地址,发送DNS消息至被探测的DNS服务器;As an optional implementation, the edge server in
相应地,上述步骤503中边缘服务器可以记录从发送DNS消息到接收到被探测的DNS服务器返回响应消息的时延大小。Correspondingly, in
作为另一个可选的实施方式,上述步骤502中边缘服务器可以根据上述被探测的DNS服务器的IP地址,发送至少二个PING消息至被探测的DNS服务器;As another optional implementation manner, the edge server in
相应地,上述步骤503中边缘服务器可以记录从发送每一个PING消息到接收到被探测的DNS服务器返回响应消息的时延大小,获得每一个PING消息对应的时延大;以及边缘服务器可以将至少二个PING消息对应的时延大小进行平均处理,获得时延大小平均值;Correspondingly, in the above-mentioned
相应地,上述步骤504中边缘服务器可以将上述时延大小平均值以及边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器。Correspondingly, in the
本发明实施例中,边缘服务器可以根据路由服务器发送的IP探测命令,对被探测的DNS服务器进行时延探测,并将时延大小以及边缘服务器所属的边缘服务器群的群编号,或者将时延平均值以及边缘服务器所属的边缘服务器群的群编号发送至路由服务器,使得路由服务器可以建立如表1所示的动态路由表,可以准确地记录每个边缘服务器群到各个DNS服务器的时延大小,与现有技术中采用静态配置方式相比,可以快速、准确地选择出到用户时延最短(即到DNS服务器时延最短)的边缘服务器群来为用户提供服务,提升CDN的服务质量。In the embodiment of the present invention, the edge server can detect the time delay of the detected DNS server according to the IP detection command sent by the routing server, and the time delay and the group number of the edge server group to which the edge server belongs, or the time delay equal to The mean value and the group number of the edge server group to which the edge server belongs are sent to the routing server, so that the routing server can establish a dynamic routing table as shown in Table 1, which can accurately record the time delay from each edge server group to each DNS server, Compared with the static configuration method in the prior art, the edge server group with the shortest time delay to the user (that is, the shortest time delay to the DNS server) can be quickly and accurately selected to provide services for users and improve the service quality of the CDN.
实施例四:Embodiment four:
请参阅图6,图6为本发明实施例提供一种路由服务器的结构示意图,该服务器应用于CDN。其中,图6所示的路由服务器可以包括:Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a routing server according to an embodiment of the present invention, and the server is applied to a CDN. Wherein, the routing server shown in Figure 6 may include:
接收单元601,用于接收DNS服务器发送的DNS请求消息;a receiving
确定单元602,用于根据该DNS服务器的IP地址,从预先建立的动态路由表中确定出到该DNS服务器的时延最短的边缘服务器群,该动态路由表用于记录每个边缘服务器群到各个DNS服务器的时延大小;The
选取单元603,用于从确定单元602确定出的边缘服务器群中选取任意一个边缘服务器;A selecting
发送单元604,用于将选取单元603选取出的边缘服务器的IP地址通过DNS响应消息发送给该DNS服务器,以使该DNS服务器将选取单元603选取出的边缘服务器的IP地址发送至用户终端。The sending
请一并参阅图7,图7为本发明实施例提供另一种路由服务器的结构示意图,该服务器应用于CDN。图7所示的路由服务器给由图6所示的路由服务器进行优化得到,其中,在图7所示的路由服务器中,还包括:Please also refer to FIG. 7 . FIG. 7 is a schematic structural diagram of another routing server according to an embodiment of the present invention, which is applied to a CDN. The routing server shown in Figure 7 is obtained by optimizing the routing server shown in Figure 6, wherein, in the routing server shown in Figure 7, it also includes:
路由表单元605,用于建立或更新动态路由表。
本发明实施例中,路由表单元605建立的动态路由表可以和表1类似,本发明实施例此处不作复述。In the embodiment of the present invention, the dynamic routing table established by the
其中,路由表单元605可以包括:Wherein, the
收发子单元6051,用于发送IP探测命令给至少一个边缘服务器群,该IP探测命令携带被探测的DNS服务器的IP地址;以及接收上述边缘服务器群中的任意一个边缘服务器发送的IP探测结果,该IP探测结果包括上述边缘服务器群的群编号以及上述边缘服务器群到被探测的DNS服务器的时延大小;The
存储子单元6052,用于存储上述边缘服务器群到被探测的DNS服务器的时延大小与被探测的DNS服务器的IP地址的对应关系,实现动态路由表的建立或更新。The
如图7所示的路由服务器中,还可以包括:In the route server shown in Figure 7, may also include:
第一获取单元606,用于从热度统计表中选取出发送DNS请求的次数达到预设次数值的DNS服务器作为被探测的DNS服务器;和/或,从热度统计表中选取出发送DNS请求的次数占所有DNS请求次数的百分比达到预设百分比值的DNS服务器作为被探测的DNS服务器;并将被探测的DNS服务器的IP地址通知收发子单元6051,使收发子单元6051可以根据被探测的DNS服务器的IP地址对被探测的DNS服务器进行时延探测。The
本发明实施例中,热度统计表可以和表2类似,本发明实施例此处不作复述。In the embodiment of the present invention, the heat statistics table may be similar to Table 2, which will not be repeated here in the embodiment of the present invention.
如图7所示的路由服务器中,还可以包括:In the route server shown in Figure 7, may also include:
第二获取单元607,用于从存储子单元6052存储的动态路由表中选取出存储时间达到预设时间的对应关系,将选取出的对应关系中的DNS服务器作为被探测的DNS服务器,并将被探测的DNS服务器的IP地址通知收发子单元6051,使收发子单元6051可以根据被探测的DNS服务器的IP地址对被探测的DNS服务器进行时延探测,实现对路由表单元605建立的动态路由表的更新。The second obtaining
本发明实施例中,路由服务器中的路由表单元605预先建立或更新用于记录每个边缘服务器群到各个DNS服务器的时延大小的动态路由表,接收单元601在接收到DNS服务器发送的DNS请求消息之后,确定单元602从上述动态路由表中确定出到该DNS服务器的时延最短的边缘服务器群,选取单元603从确定的边缘服务器群中选取任意一个的边缘服务器(如负载最小的边缘服务器),发送单元604将选取出的边缘服务器的IP地址通过DNS请求响应消息发送至该DNS服务器,使该DNS服务器将选取出的边缘服务器的IP地址发送至用户终端,从而实现用户终端到负载最小的边缘服务器的路由。本发明实施例中,路由服务器中的路由表单元605预先建立的动态路由表可以准确地记录每个边缘服务器群到各个DNS服务器的时延大小,与现有技术中采用静态配置方式相比,可以快速、准确地选择出到用户时延最短(即到DNS服务器时延最短)的边缘服务器群来为用户提供服务,提升CDN的服务质量。In the embodiment of the present invention, the
实施例五:Embodiment five:
请参阅图8,图8为本发明实施例提供的一种边缘服务器的结构示意图,该边缘服务器位于任意一个边缘服务器群中。其中,图8所示的边缘服务器可以包括:Please refer to FIG. 8 . FIG. 8 is a schematic structural diagram of an edge server provided by an embodiment of the present invention, and the edge server is located in any edge server group. Wherein, the edge server shown in Figure 8 may include:
接收单元801,用于接收路由服务器发送的IP探测命令,其中,该IP探测命令携带被探测的DNS服务器的IP地址;The receiving
第一发送单元802,用于根据被探测的DNS服务器的IP地址,发送时延探测消息至被探测的DNS服务器;The
记录单元803,用于记录本边缘服务器到被探测的DNS服务器的时延大小;A
第二发送单元804,用于将上述时延大小以及本边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至所述路由服务器。The
作为一个可选的实施方式,第一发送单元802用于根据被探测的DNS服务器的IP地址,发送DNS消息至被探测的DNS服务器;As an optional implementation manner, the first sending
相应地,记录单元803用于记录从第一发送单元802发送DNS消息到接收单元801接收到被探测的DNS服务器返回响应消息的时延大小。Correspondingly, the
作为另一个可选的实施方式,第一发送单元802用于根据被探测的DNS服务器的IP地址,发送至少二个PING消息至被探测的DNS服务器;As another optional implementation manner, the first sending
相应地,记录单元803用于记录从第一发送单元802发送每一个PING消息到接收单元801接收到被探测的DNS服务器返回响应消息的时延大小,获得每一个PING消息对应的时延大小;以及将上述至少二个PING消息对应的时延大小进行平均处理,获得时延大小平均值;Correspondingly, the
相应地,第二发送单元804用于将上述时延大小平均值以及本边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器。Correspondingly, the
本发明实施例中,边缘服务器可以根据路由服务器发送的IP探测命令,对被探测的DNS服务器进行时延探测,并将时延大小以及边缘服务器所属的边缘服务器群的群编号,或者将时延平均值以及边缘服务器所属的边缘服务器群的群编号发送至路由服务器,使得路由服务器可以建立如表1所示的动态路由表,可以准确地记录每个边缘服务器群到各个DNS服务器的时延大小,与现有技术中采用静态配置方式相比,可以快速、准确地选择出到用户时延最短(即到DNS服务器时延最短)的边缘服务器群来为用户提供服务,提升CDN的服务质量。In the embodiment of the present invention, the edge server can detect the time delay of the detected DNS server according to the IP detection command sent by the routing server, and the time delay and the group number of the edge server group to which the edge server belongs, or the time delay equal to The mean value and the group number of the edge server group to which the edge server belongs are sent to the routing server, so that the routing server can establish a dynamic routing table as shown in Table 1, which can accurately record the time delay from each edge server group to each DNS server, Compared with the static configuration method in the prior art, the edge server group with the shortest time delay to the user (that is, the shortest time delay to the DNS server) can be quickly and accurately selected to provide services for users and improve the service quality of the CDN.
实施例六:Embodiment six:
请参阅图9,图9为本发明实施例提供一种基于内容分发网络的路由实现系统的结构示意图,其中,图9所示的路由实现系统可以包括:Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of a content distribution network-based routing implementation system according to an embodiment of the present invention, wherein the routing implementation system shown in FIG. 9 may include:
路由服务器901和DNS服务器902;
其中,路由服务器901的结构与图6所示的路由服务器相同,或者与图7所示的路由服务器相同,本发明实施例此处不作复述。Wherein, the structure of the
路由服务器901,用于接收DNS服务器902发送的DNS请求消息,根据DNS服务器902的IP地址,从预先建立的动态路由表中确定出到DNS服务器902的时延最短的边缘服务器群;动态路由表用于记录每个边缘服务器群到各个DNS服务器的时延大小;以及从确定的边缘服务器群中选取任意一个边缘服务器,并将选取的边缘服务器的IP地址通过DNS响应消息发送至DNS服务器902;The
DNS服务器902,用于发送DNS请求消息至路由服务器901,以及接收路由服务器901通过DNS响应消息发送的路由服务器901选取出的边缘服务器的IP地址,将边缘服务器的IP地址发送至用户终端。The
如图9所示,本发明实施例提供的基于内容分发网络的路由实现系统还可以包括至少一个边缘服务器群903;As shown in FIG. 9 , the content distribution network-based routing implementation system provided by the embodiment of the present invention may also include at least one
其中,边缘服务器群903中的任意一个边缘服务器,用于接收路由服务器901发送的IP探测命令,该IP探测命令携带被探测的DNS服务器的IP地址;根据被探测的DNS服务器的IP地址,发送时延探测消息至被探测的DNS服务器;记录到被探测的DNS服务器的时延大小,以及将该时延大小以及该边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器901;Wherein, any edge server in the
相应地,路由服务器901还用于发送IP探测命令给边缘服务器群903,该IP探测命令携带被探测的DNS服务器的IP地址;接收边缘服务器群903中任意一个边缘服务器发送的IP探测结果,该IP探测结果包括边缘服务器群903的群编号以及边缘服务器群903到被探测的DNS服务器的时延大小;存储边缘服务器群903到被探测的DNS服务器的时延大小与被探测的DNS服务器的IP地址的对应关系。Correspondingly, the
其中,上述的边缘服务器群903中的任意一个边缘服务器的结构与图8所示的边缘服务器的结构相同,本发明实施例此处不作复述。Wherein, the structure of any one edge server in the above-mentioned
作为一个可选的实施方式,边缘服务器群903中的任意一个边缘服务器可以用于接收路由服务器901发送的IP探测命令,根据被探测的DNS服务器的IP地址,发送DNS消息至被探测的DNS服务器;记录从发送DNS消息到接收到被探测的DNS服务器返回响应消息的时延大小;以及将该时延大小以及该边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器901。As an optional implementation, any edge server in the
作为一个可选的实施方式,每一个边缘服务器群903中的任意一个边缘服务器,还可以用于接收路由服务器901发送的IP探测命令,该IP探测命令携带被探测的DNS服务器的IP地址;该边缘服务器可以根据被探测的DNS服务器的IP地址,发送至少二个PING消息至被探测的DNS服务器;记录从发送每一个PING消息到接收到被探测的DNS服务器返回响应消息的时延大小,获得每一个PING消息对应的时延大小;将至少二个PING消息对应的时延大小进行平均处理,获得时延大小平均值;将时延大小平均值以及该边缘服务器所属的边缘服务器群的群编号作为IP探测结果发送至路由服务器901。As an optional implementation, any edge server in each
本发明实施例中,路由服务器901预先建立用于记录每个边缘服务器群903到各个DNS服务器的时延大小的动态路由表,在接收到DNS服务器902发送的DNS请求消息后,从上述动态路由表中确定出到DNS服务器902的时延最短的边缘服务器群,并从确定的边缘服务器群中选取出任意一个边缘服务器(如负载最小的边缘服务器),并将选取出的边缘服务器的IP地址通过DNS响应消息发送至DNS服务器902,使DNS服务器902将选取出的边缘服务器的IP地址发送至用户终端,从而实现用户终端到负载最小的边缘服务器的路由。本发明实施例中,动态路由表可以准确地记录每个边缘服务器群到各个DNS服务器的时延大小,与现有技术中采用静态配置方式相比,可以快速、准确地选择出到用户时延最短(即到DNS服务器时延最短)的边缘服务器群来为用户提供服务,提升CDN的服务质量。In the embodiment of the present invention, the
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-OnlyMemory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Flash disk, read-only memory (Read-OnlyMemory, ROM), random access device (Random Access Memory, RAM), magnetic disk or optical disk, etc.
以上对本发明实施例所提供的基于内容分发网络的路由方法及相关设备、系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The content distribution network-based routing method and related equipment and systems provided by the embodiments of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, this specification The content should not be construed as a limitation of the invention.
Claims (17)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010600701.0A CN102148752B (en) | 2010-12-22 | 2010-12-22 | Routing implementing method based on content distribution network and related equipment and system |
PCT/CN2011/083841 WO2012083800A1 (en) | 2010-12-22 | 2011-12-12 | Routing method based on content delivery network and device and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010600701.0A CN102148752B (en) | 2010-12-22 | 2010-12-22 | Routing implementing method based on content distribution network and related equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102148752A CN102148752A (en) | 2011-08-10 |
CN102148752B true CN102148752B (en) | 2014-03-12 |
Family
ID=44422764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010600701.0A Active CN102148752B (en) | 2010-12-22 | 2010-12-22 | Routing implementing method based on content distribution network and related equipment and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102148752B (en) |
WO (1) | WO2012083800A1 (en) |
Families Citing this family (44)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148752B (en) * | 2010-12-22 | 2014-03-12 | 华为技术有限公司 | Routing implementing method based on content distribution network and related equipment and system |
CN103166985B (en) * | 2011-12-09 | 2018-02-27 | 上海盛大网络发展有限公司 | A kind of GSLB dispatching method, data transmission method, apparatus and system |
CN102438278B (en) * | 2011-12-21 | 2014-07-16 | 优视科技有限公司 | Load allocation method and device for mobile communication network |
CN102546774A (en) * | 2011-12-27 | 2012-07-04 | 厦门市美亚柏科信息股份有限公司 | CDN (content distribution network) routing method for secondary redirection and system |
CN102595207B (en) * | 2012-01-10 | 2015-09-23 | 深圳市同洲电子股份有限公司 | A kind of content delivering system, content distribution method and content delivering apparatus |
EP2847954A4 (en) * | 2012-05-11 | 2015-12-30 | Hewlett Packard Development Co | Server selection |
CN102868630B (en) * | 2012-09-07 | 2015-08-05 | 北京邮电大学 | A kind of parallel adaptive data transmission method for uplink based on many IP address and device |
CN103873497B (en) * | 2012-12-11 | 2017-08-15 | 中国电信股份有限公司 | Methods, devices and systems for schedule information |
US9998354B2 (en) * | 2013-09-24 | 2018-06-12 | Netflix, Inc. | Server selection for content distribution |
CN103701619B (en) * | 2013-10-22 | 2016-09-07 | 上海交通大学 | The internet content distribution method dynamically selected based on CDN and data center |
CN104734869A (en) * | 2013-12-19 | 2015-06-24 | 华耀(中国)科技有限公司 | Intelligent DNS domain name system and method based on dynamic detection |
CN104767684B (en) * | 2014-01-03 | 2018-12-11 | 腾讯科技(深圳)有限公司 | Data transmission method and relevant apparatus and communication system |
WO2015161499A1 (en) * | 2014-04-25 | 2015-10-29 | Telefonaktiebolaget L M Ericsson (Publ) | Method and apparatus for performing post-delivery process |
CN103973835A (en) * | 2014-05-16 | 2014-08-06 | 北京金山网络科技有限公司 | Domain name system server selection method and device |
KR101569857B1 (en) * | 2014-06-20 | 2015-11-27 | 서정환 | Method and system for detecting client causing network problem using client route control system |
CN104158732B (en) * | 2014-08-22 | 2017-11-28 | 成都致云科技有限公司 | A kind of intelligent cloud service dynamic routing strategy |
CN104320487B (en) | 2014-11-11 | 2018-03-20 | 网宿科技股份有限公司 | The HTTP scheduling system and method for content distributing network |
CN105991365B (en) * | 2015-02-28 | 2019-07-16 | 网宿科技股份有限公司 | Method, apparatus and system for path detection |
CN104702619A (en) * | 2015-03-25 | 2015-06-10 | 广东睿江科技有限公司 | Method and device for intelligently determining service node in CDN (Content Distribution Network) |
CN105897822B (en) * | 2015-11-11 | 2019-07-26 | 法法汽车(中国)有限公司 | A kind of content distributing network CDN node selection method and its device |
CN107277927B (en) * | 2016-04-08 | 2023-04-25 | 中兴通讯股份有限公司 | Processing method of user text perception service and network equipment |
CN105704032B (en) * | 2016-04-13 | 2019-03-01 | 北京邮电大学 | A kind of interest package transmitting method and device |
CN106487684B (en) * | 2016-11-08 | 2019-05-10 | 中国电子科技集团公司第二十研究所 | A Routing Method Based on Link Quality and Queuing Delay |
CN108124020B (en) * | 2016-11-28 | 2021-03-09 | 中国电信股份有限公司 | Domain name resolution method, system and equipment |
CN106992938B (en) * | 2017-05-15 | 2020-03-31 | 网宿科技股份有限公司 | Network flow dynamic scheduling and distributing method and system |
CN107071091B (en) * | 2017-05-26 | 2019-03-12 | 无锡华云数据技术服务有限公司 | A kind of implementation method optimizing DNS name resolution |
CN109962790B (en) * | 2017-12-14 | 2020-05-29 | 北京金山云网络技术有限公司 | A network quality monitoring method, device, electronic device and storage medium |
CN108111623A (en) * | 2017-12-29 | 2018-06-01 | 北京奇虎科技有限公司 | A kind of communication means and device based on content distributing network CDN |
CN110768852A (en) * | 2018-07-25 | 2020-02-07 | 贵州白山云科技股份有限公司 | Method and device for testing cloud network nodes |
CN110839006A (en) * | 2018-08-17 | 2020-02-25 | 阿里巴巴集团控股有限公司 | Network scheduling method and device and electronic equipment |
CN109379774B (en) * | 2018-11-08 | 2021-04-16 | 网宿科技股份有限公司 | Intelligent scheduling method, terminal equipment, edge node cluster and intelligent scheduling system |
CN109547286B (en) * | 2018-11-21 | 2020-06-19 | 中国联合网络通信集团有限公司 | CDN node selection method, device and storage medium |
CN109379453B (en) * | 2018-12-27 | 2021-11-23 | 网宿科技股份有限公司 | Method and system for detecting IP address of DNS (Domain name Server) outlet server |
CN112104680B (en) * | 2019-06-17 | 2023-03-31 | 中国移动通信有限公司研究院 | Method, device and equipment for determining edge application and storage medium |
CN111836319B (en) | 2019-08-23 | 2023-04-07 | 维沃移动通信有限公司 | Method and device for acquiring domain name address |
CN110581890B (en) * | 2019-09-10 | 2022-02-22 | 中国建设银行股份有限公司 | Routing method and device for service request |
CN112532674B (en) * | 2019-09-19 | 2023-07-28 | 贵州白山云科技股份有限公司 | Creation method, device and medium of network edge computing system |
CN112532758B (en) * | 2019-09-19 | 2023-04-18 | 贵州白山云科技股份有限公司 | Method, device and medium for establishing network edge computing system |
CN112527493A (en) * | 2019-09-19 | 2021-03-19 | 贵州白山云科技股份有限公司 | Method, device, system and medium for creating edge computing service |
CN112787833B (en) * | 2019-11-07 | 2022-08-12 | 中国电信股份有限公司 | Method and device for deploying CDN (content delivery network) server |
CN110995827B (en) * | 2019-11-29 | 2022-01-07 | 腾讯科技(深圳)有限公司 | Communication processing method and device, computer readable medium and electronic equipment |
CN115244910B (en) * | 2021-02-01 | 2024-01-23 | 北京小米移动软件有限公司 | Network path determination method, device, communication equipment and storage medium |
CN113364873A (en) * | 2021-06-08 | 2021-09-07 | 中国联合网络通信集团有限公司 | Traffic scheduling method and equipment |
CN113572863A (en) * | 2021-07-21 | 2021-10-29 | 江南信安(北京)科技有限公司 | Application acceleration method and system based on dynamic routing protocol |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540543A (en) * | 2003-10-31 | 2004-10-27 | 浙江大学 | A content server system and its processing procedure |
CN101640684A (en) * | 2009-08-21 | 2010-02-03 | 中国电信股份有限公司 | Content delivering method, network system, GSLB device and domain name server |
CN101710905A (en) * | 2009-12-17 | 2010-05-19 | 中国联合网络通信集团有限公司 | Address resolution control method and system based on tactics |
CN101764747A (en) * | 2009-12-24 | 2010-06-30 | 北京世纪互联宽带数据中心有限公司 | Intelligent dispatching method, device and system of content delivery network flow |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1235157C (en) * | 2002-10-10 | 2006-01-04 | 华为技术有限公司 | Content-oriented load equalizing method and apparatus |
US7154901B2 (en) * | 2003-02-07 | 2006-12-26 | Mobile 365, Inc. | Intermediary network system and method for facilitating message exchange between wireless networks |
GB0319251D0 (en) * | 2003-08-15 | 2003-09-17 | British Telecomm | System and method for selecting data providers |
CN1791053A (en) * | 2004-12-13 | 2006-06-21 | 杭州华为三康技术有限公司 | Method for implementing optimization selection for multi server |
US7991910B2 (en) * | 2008-11-17 | 2011-08-02 | Amazon Technologies, Inc. | Updating routing information based on client location |
CN102148752B (en) * | 2010-12-22 | 2014-03-12 | 华为技术有限公司 | Routing implementing method based on content distribution network and related equipment and system |
-
2010
- 2010-12-22 CN CN201010600701.0A patent/CN102148752B/en active Active
-
2011
- 2011-12-12 WO PCT/CN2011/083841 patent/WO2012083800A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1540543A (en) * | 2003-10-31 | 2004-10-27 | 浙江大学 | A content server system and its processing procedure |
CN101640684A (en) * | 2009-08-21 | 2010-02-03 | 中国电信股份有限公司 | Content delivering method, network system, GSLB device and domain name server |
CN101710905A (en) * | 2009-12-17 | 2010-05-19 | 中国联合网络通信集团有限公司 | Address resolution control method and system based on tactics |
CN101764747A (en) * | 2009-12-24 | 2010-06-30 | 北京世纪互联宽带数据中心有限公司 | Intelligent dispatching method, device and system of content delivery network flow |
Also Published As
Publication number | Publication date |
---|---|
WO2012083800A1 (en) | 2012-06-28 |
CN102148752A (en) | 2011-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102148752B (en) | Routing implementing method based on content distribution network and related equipment and system | |
CN103780714B (en) | The detection method of a kind of dns server and device | |
US8756296B2 (en) | Method, device and system for distributing file data | |
US8266316B2 (en) | Client apparatus and method of streaming content, and computer readable recording medium storing program for performing the method | |
WO2018209734A1 (en) | Dynamic scheduling and allocation method and system for network traffic | |
CN103841045B (en) | A kind of internet method for caching and processing, content detection subsystem and Cache systems | |
CN102136969B (en) | Method, device and system for probing link quality | |
WO2022151643A1 (en) | Domain name resolution method and system | |
CN108737515A (en) | Route Selection is asked in networked environment | |
WO2015027743A1 (en) | Domain name resolution method, domain name cache server, and final domain name server | |
CN101616169A (en) | Method, system, service selection entity, service management entity for selecting service providing entity | |
CN108124020B (en) | Domain name resolution method, system and equipment | |
CN102035815A (en) | Data acquisition method, access node and data acquisition system | |
WO2021144041A1 (en) | A method of and a session management function for provisioning a user plane function, a method of and a user plane function for processing user traffic and a method of and charging function for charging user traffic | |
CN107979592A (en) | A kind of method and device for sending business request information | |
CN101662508B (en) | Method for data transmission based on point-to-point protocol, device and system thereof | |
CN102082837A (en) | Method and device for distributing public network address for IP (Internet protocol) terminal | |
CN112866413A (en) | Data transmission method and device, electronic equipment and computer readable storage medium | |
US9166884B2 (en) | Network location service | |
CN111953806B (en) | Link selection method, device, computer equipment and computer storage medium | |
CN101808107A (en) | Storage device and user communication method, device and system | |
JP7697930B2 (en) | Method, system and computer readable medium for actively discovering and tracking addresses associated with 4G service endpoints - Patents.com | |
CN103416027A (en) | Cache optimization method, cache and cache optimization system | |
KR101243071B1 (en) | Source switching method, system and device | |
CN112543150A (en) | Dynamic load balancing method based on server control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |