[go: up one dir, main page]

CN108111623A - A kind of communication means and device based on content distributing network CDN - Google Patents

A kind of communication means and device based on content distributing network CDN Download PDF

Info

Publication number
CN108111623A
CN108111623A CN201711485113.5A CN201711485113A CN108111623A CN 108111623 A CN108111623 A CN 108111623A CN 201711485113 A CN201711485113 A CN 201711485113A CN 108111623 A CN108111623 A CN 108111623A
Authority
CN
China
Prior art keywords
node
cluster
nodes
online
access request
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.)
Pending
Application number
CN201711485113.5A
Other languages
Chinese (zh)
Inventor
马长征
杨磊
黄莹
温源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201711485113.5A priority Critical patent/CN108111623A/en
Publication of CN108111623A publication Critical patent/CN108111623A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明实施例提供了一种基于内容分发网络CDN的通信方法和装置,在内容分发网络具有多个节点,部分节点组成集群,该方法包括:在当前节点中接收访问请求;在所述集群中分配处理所述访问请求的目标节点;通过预设的连接向所述目标节点发送操作指令,以对所述访问请求进行操作,并获得操作结果;通过所述连接接收所述目标节点返回的所述操作结果;依据所述操作结果返回访问结果。通过在内容分发网络中部分节点组成小范围的集群,实现了集群内节点与节点之间的通信连接,无需使用组播的方式进行通信,大大提高了通信的灵活性。

Embodiments of the present invention provide a communication method and device based on a content distribution network CDN. There are multiple nodes in the content distribution network, and some nodes form a cluster. The method includes: receiving an access request in the current node; Allocate the target node for processing the access request; send an operation instruction to the target node through a preset connection to operate on the access request and obtain an operation result; receive the returned information from the target node through the connection The result of the above operation; return the access result according to the result of the operation. By forming a small-scale cluster of some nodes in the content distribution network, the communication connection between nodes in the cluster is realized, and there is no need to use multicast for communication, which greatly improves the flexibility of communication.

Description

一种基于内容分发网络CDN的通信方法和装置A communication method and device based on content distribution network CDN

技术领域technical field

本发明涉及通信技术领域,特别是涉及一种基于内容分发网络CDN的通信方法和一种基于内容分发网络CDN的通信装置。The present invention relates to the technical field of communication, in particular to a CDN-based communication method and a CDN-based communication device.

背景技术Background technique

在网站中经常使用CDN(Content Delivery Network,内容分发网络)对数据进行传输,CDN是通过在现有的网络中增加一层新的网络结构,部署有多个节点,用于缓存数据,使用户可以将数据传输到就近的节点上或从就近的节点获取所需的数据,提供相应的服务。CDN (Content Delivery Network, content distribution network) is often used in websites to transmit data. CDN adds a new network structure to the existing network and deploys multiple nodes for caching data so that users Data can be transmitted to or obtained from nearby nodes to provide corresponding services.

目前,在CDN的各节点之间使用组播,广播数据包实现集群内部的通信,通信灵活性较低。At present, multicast is used between each node of the CDN to broadcast data packets to realize communication within the cluster, and the communication flexibility is low.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种基于内容分发网络CDN的通信方法和相应的一种基于内容分发网络CDN的通信装置。In view of the above problems, the present invention is proposed to provide a CDN-based communication method and a corresponding CDN-based communication device that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种基于内容分发网络CDN的通信方法,在内容分发网络具有多个节点,部分节点组成集群,包括:According to one aspect of the present invention, a communication method based on a content distribution network CDN is provided. There are multiple nodes in the content distribution network, and some nodes form a cluster, including:

在当前节点中接收访问请求;Receive an access request in the current node;

在所述集群中分配处理所述访问请求的目标节点;Allocating a target node for processing the access request in the cluster;

通过预设的连接向所述目标节点发送操作指令,以对所述访问请求进行操作,并获得操作结果;sending an operation instruction to the target node through a preset connection to operate on the access request and obtain an operation result;

通过所述连接接收所述目标节点返回的所述操作结果;receiving the operation result returned by the target node through the connection;

依据所述操作结果返回访问结果。The access result is returned according to the operation result.

可选地,还包括:Optionally, also include:

查找预设的配置文件,所述配置文件记载在所述集群中节点的节点标识;Find a preset configuration file, the configuration file records the node identifier of the node in the cluster;

将所述节点标识加载至内存中。Load the node ID into memory.

可选地,还包括:Optionally, also include:

在当前节点中通过传输控制协议TCP与所述节点标识对应的节点建立连接。In the current node, a connection is established with the node corresponding to the node identifier through the transmission control protocol TCP.

可选地,还包括:Optionally, also include:

在当前节点中通过所述连接向所述集群中的其他节点发送心跳信息;sending heartbeat information to other nodes in the cluster through the connection in the current node;

通过所述心跳信息确定所述集群中的其他节点的状态;Determine the status of other nodes in the cluster through the heartbeat information;

当所述状态为在线时,保持所述集群中的其他节点在所述内存中的节点标识;When the state is online, keep the node identifiers of other nodes in the cluster in the memory;

当所述状态为离线时,删除所述集群中的其他节点在所述内存中的节点标识。When the state is offline, delete the node identifiers of other nodes in the cluster in the memory.

可选地,还包括:Optionally, also include:

在所述集群中增加新的节点时,在所述配置文件中增加所述新的节点的节点标识;When adding a new node in the cluster, add the node identifier of the new node in the configuration file;

在所述集群中删除原有的节点时,在所述配置文件中删除所述原有的节点的节点标识。When deleting an original node in the cluster, delete the node identifier of the original node in the configuration file.

可选地,所述在所述集群中分配处理所述访问请求的目标节点,包括:Optionally, the allocating the target node for processing the access request in the cluster includes:

从所述访问请求中提取访问地址;Extracting an access address from the access request;

确定所述集群中在线的节点;determining the online nodes in the cluster;

按照所述访问地址将从所述在线的节点中分配目标节点。A target node is assigned from among the online nodes according to the access address.

可选地,所述确定所述集群中在线的节点,包括:Optionally, the determining online nodes in the cluster includes:

在内存中查找节点标识;Look up the node ID in memory;

确定所述节点标识对应的节点为在线的节点。It is determined that the node corresponding to the node identifier is an online node.

可选地,所述按照所述访问地址将从所述在线的节点中分配目标节点,包括:Optionally, the allocating the target node from the online nodes according to the access address includes:

统计所述集群中在线的节点的数量;Count the number of online nodes in the cluster;

对所述访问地址计算哈希值,并对所述数量取余数;calculating a hash value for the access address, and taking the remainder of the quantity;

确定所述余数对应的节点为目标节点。The node corresponding to the remainder is determined as the target node.

可选地,所述内容分发网络CDN包括中心节点、父层节点、边缘节点;Optionally, the content distribution network CDN includes a central node, a parent layer node, and an edge node;

所述中心节点与源网站进行通信;The central node communicates with the source website;

所述父层节点之间相互通信,与所述中心节点或者源网站进行通信,以及,与所述边缘节点进行通信;The parent layer nodes communicate with each other, communicate with the central node or the source website, and communicate with the edge node;

所述边缘节点用于与客户端进行通信;The edge node is used to communicate with the client;

其中,部分所述父层节点组成集群,和/或,部分所述边缘节点组成集群。Wherein, some of the parent layer nodes form a cluster, and/or, some of the edge nodes form a cluster.

根据本发明的另一方面,提供了一种基于内容分发网络CDN的通信装置,在内容分发网络具有多个节点,部分节点组成集群,包括:According to another aspect of the present invention, a communication device based on a content distribution network CDN is provided. There are multiple nodes in the content distribution network, and some nodes form a cluster, including:

访问请求接收模块,用于在当前节点中接收访问请求;An access request receiving module, configured to receive an access request in the current node;

目标节点分配模块,用于在所述集群中分配处理所述访问请求的目标节点;a target node allocation module, configured to allocate a target node for processing the access request in the cluster;

操作指令发送模块,用于通过预设的连接向所述目标节点发送操作指令,以对所述访问请求进行操作,并获得操作结果;An operation instruction sending module, configured to send an operation instruction to the target node through a preset connection, so as to operate the access request and obtain an operation result;

操作结果接收模块,用于通过所述连接接收所述目标节点返回的所述操作结果;An operation result receiving module, configured to receive the operation result returned by the target node through the connection;

访问结果返回模块,用于依据所述操作结果返回访问结果。An access result returning module, configured to return an access result according to the operation result.

可选地,还包括:Optionally, also include:

配置文件查找模块,用于查找预设的配置文件,所述配置文件记载在所述集群中节点的节点标识;The configuration file search module is used to search for a preset configuration file, and the configuration file records the node identifier of the node in the cluster;

节点标识加载模块,用于将所述节点标识加载至内存中。The node identification loading module is configured to load the node identification into memory.

可选地,还包括:Optionally, also include:

连接建立模块,用于在当前节点中通过传输控制协议TCP与所述节点标识对应的节点建立连接。A connection establishment module, configured to establish a connection with the node corresponding to the node identifier through the transmission control protocol TCP in the current node.

可选地,还包括:Optionally, also include:

心跳信息发送模块,用于在当前节点中通过所述连接向所述集群中的其他节点发送心跳信息;A heartbeat information sending module, configured to send heartbeat information to other nodes in the cluster through the connection in the current node;

状态确定模块,用于通过所述心跳信息确定所述集群中的其他节点的状态;A status determination module, configured to determine the status of other nodes in the cluster through the heartbeat information;

节点标识保持模块,用于当所述状态为在线时,保持所述集群中的其他节点在所述内存中的节点标识;A node identification keeping module, configured to keep the node identifications of other nodes in the cluster in the memory when the status is online;

节点标识删除模块,用于当所述状态为离线时,删除所述集群中的其他节点在所述内存中的节点标识。The node identifier deletion module is configured to delete the node identifiers of other nodes in the cluster in the memory when the status is offline.

可选地,还包括:Optionally, also include:

配置文件增加模块,用于在所述集群中增加新的节点时,在所述配置文件中增加所述新的节点的节点标识;A configuration file adding module, configured to add a node identifier of the new node in the configuration file when adding a new node in the cluster;

配置文件删除模块,用于在所述集群中删除原有的节点时,在所述配置文件中删除所述原有的节点的节点标识。The configuration file deletion module is configured to delete the node identifier of the original node in the configuration file when the original node is deleted in the cluster.

可选地,所述目标节点分配模块包括:Optionally, the target node assignment module includes:

访问地址提取子模块,用于从所述访问请求中提取访问地址;An access address extraction submodule, configured to extract an access address from the access request;

在线节点确定子模块,用于确定所述集群中在线的节点;An online node determining submodule, configured to determine online nodes in the cluster;

在线节点分配子模块,用于按照所述访问地址将从所述在线的节点中分配目标节点。The online node allocation submodule is configured to allocate a target node from the online nodes according to the access address.

可选地,所述在线节点确定子模块包括:Optionally, the online node determination submodule includes:

内存查找单元,用于在内存中查找节点标识;A memory search unit, configured to search for a node identifier in memory;

节点标识确定单元,用于确定所述节点标识对应的节点为在线的节点。The node identifier determining unit is configured to determine that the node corresponding to the node identifier is an online node.

可选地,所述在线节点分配子模块包括:Optionally, the online node allocation submodule includes:

数量统计单元,用于统计所述集群中在线的节点的数量;A quantity statistics unit, used to count the number of online nodes in the cluster;

哈希取余单元,用于对所述访问地址计算哈希值,并对所述数量取余数;a hash remainder unit, configured to calculate a hash value for the access address, and take a remainder for the quantity;

目标节点确定单元,用于确定所述余数对应的节点为目标节点。A target node determining unit, configured to determine the node corresponding to the remainder as the target node.

可选地,所述内容分发网络CDN包括中心节点、父层节点、边缘节点;Optionally, the content distribution network CDN includes a central node, a parent layer node, and an edge node;

所述中心节点与源网站进行通信;The central node communicates with the source website;

所述父层节点之间相互通信,与所述中心节点或者源网站进行通信,以及,与所述边缘节点进行通信;The parent layer nodes communicate with each other, communicate with the central node or the source website, and communicate with the edge node;

所述边缘节点用于与客户端进行通信;The edge node is used to communicate with the client;

其中,部分所述父层节点组成集群,和/或,部分所述边缘节点组成集群。Wherein, some of the parent layer nodes form a cluster, and/or, some of the edge nodes form a cluster.

在本发明实施例中,内容分发网络具有多个节点,部分节点组成集群,在集群的当前节点中接收访问请求,在该集群中分配处理访问请求的目标节点,通过预设的连接向目标节点发送操作指令,以对访问请求进行操作,并获得操作结果,通过连接接收目标节点返回的操作结果,依据操作结果返回访问结果,通过在内容分发网络中部分节点组成小范围的集群,实现了集群内节点与节点之间的通信连接,无需使用组播的方式进行通信,大大提高了通信的灵活性。In the embodiment of the present invention, the content distribution network has a plurality of nodes, and some nodes form a cluster, and the current node of the cluster receives the access request, assigns the target node for processing the access request in the cluster, and sends the target node to the target node through the preset connection. Send operation instructions to operate the access request and obtain the operation result, receive the operation result returned by the target node through the connection, and return the access result according to the operation result, and realize the cluster by forming a small-scale cluster of some nodes in the content distribution network The communication connection between internal nodes does not need to use multicast to communicate, which greatly improves the flexibility of communication.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1示出了根据本发明一个实施例的一种基于内容分发网络CDN的通信方法实施例的步骤示意流程图;FIG. 1 shows a schematic flow chart of the steps of an embodiment of a communication method based on a content distribution network CDN according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的一种内容分发网络CDN的结构示意图;Fig. 2 shows a schematic structural diagram of a content distribution network CDN according to an embodiment of the present invention;

图3示出了根据本发明一个实施例的另一种基于内容分发网络CDN的通信方法实施例的步骤示意流程图;以及FIG. 3 shows a schematic flow chart of the steps of another embodiment of a communication method based on a content distribution network CDN according to an embodiment of the present invention; and

图4示出了根据本发明一个实施例的一种基于内容分发网络CDN的通信装置实施例的结构示意框图。Fig. 4 shows a schematic block diagram of a communication device embodiment based on a CDN according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

参照图1,示出了根据本发明一个实施例的一种基于内容分发网络CDN的通信方法实施例的步骤示意流程图,具体可以包括如下步骤:Referring to FIG. 1 , it shows a schematic flowchart of the steps of an embodiment of a communication method based on a content distribution network CDN according to an embodiment of the present invention, which may specifically include the following steps:

步骤101,在当前节点中接收访问请求。Step 101, receiving an access request in the current node.

在内容分发网络CDN中,通常具有多个用于传输、缓存数据(如直播流、缓存数据等)的节点,在某个节点接收到客户端、源网站的数据(如直播流、缓存数据等)之后,可以推送至其他节点,在用户访问数据(如直播流、缓存数据等)的时候,通过调度将用户的请求路由或者引导到离用户接入网络最近或者访问效果最佳的节点上,由该节点为用户提供数据(如直播流、缓存数据等);相对于直接访问源网站,这种方式缩短了用户和数据(如直播流、缓存数据等)之间的网络距离,从而达到加速的效果。In the content distribution network CDN, there are usually multiple nodes for transmitting and caching data (such as live streams, cached data, etc.), and the data of the client and the source website (such as live streams, cached data, etc.) ), it can be pushed to other nodes, and when the user accesses data (such as live streaming, cached data, etc.), the user's request is routed or directed to the node closest to the user's access network or with the best access effect through scheduling. The node provides users with data (such as live streaming, cached data, etc.); compared with directly accessing the source website, this method shortens the network distance between the user and the data (such as live streaming, cached data, etc.), thereby achieving acceleration Effect.

需要说明的是,在不同的内容分发网络CDN中,拓扑结构可能有所不同。It should be noted that, in different CDNs, the topological structures may be different.

在一种实施方式中,内容分发网络CDN的多个节点包括中心节点、父层节点、边缘节点。In one embodiment, the multiple nodes of the CDN include a central node, a parent node, and an edge node.

在某些情况下,中心节点为资源的超汇聚节点,可以与源网站进行通信,汇聚了大量源网站的资源,这些资源一般为变化较少的资源,例如,视频、图片等等。In some cases, the central node is a resource super-convergence node, which can communicate with the source website and gather a large number of resources of the source website. These resources are generally less-changing resources, such as videos, pictures, and so on.

在某些情况下,中心节点仅保存文件信息,如URL(Uniform Resource Locator,统一资源定位符)、大小等,并不直接缓存文件,内容分发网络CDN中的其他节点从该中心节点中获取待缓存的文件的文件信息,在缓存完该文件之后,上报至中心节点,中心节点统计出其他节点缓存的文件。In some cases, the central node only saves file information, such as URL (Uniform Resource Locator, Uniform Resource Locator), size, etc., and does not directly cache the file. Other nodes in the content distribution network CDN obtain the pending The file information of the cached file is reported to the central node after the file is cached, and the central node counts the files cached by other nodes.

需要说明的是,在某些内容分发网络CDN中可以部署中心节点,即该部分内容分发网络CDN为中心节点-父层节点-边缘节点的三层结构,在某些内容分发网络CDN中可以不部署中心节点,即该部分内容分发网络CDN为父层节点-边缘节点的二层结构,本发明实施例对此不加以限制。It should be noted that the central node can be deployed in some content distribution network CDN, that is, this part of the content distribution network CDN is a three-layer structure of central node-parent layer node-edge node, in some content distribution network CDN may not The deployment center node, that is, the part of the content distribution network CDN is a two-layer structure of parent layer node-edge node, which is not limited in the embodiment of the present invention.

父层节点为资源的次汇聚节点,一方面,由于在内容分发网络CDN内部,各节点之间一般使用双向光纤等专有的通信线缆进行通信,中心节点与父层节点之间的通信质量有较高的保障,在获取变化较少的资源、外部源网站通信质量较差等情况下,可以与中心节点进行通信,从中心节点获取资源,另一方面,在获取新的资源、进行数据操作(如支付)等情况下,可以与源网站进行通信,从源网站获取资源。The parent layer node is the sub-convergence node of resources. On the one hand, because in the content distribution network CDN, each node generally uses proprietary communication cables such as two-way optical fiber for communication, the communication quality between the central node and the parent layer node It has a high degree of guarantee. In the case of obtaining less-changing resources and poor communication quality of external source websites, it can communicate with the central node and obtain resources from the central node. On the other hand, when obtaining new resources and performing data In the case of operations (such as payment), etc., it is possible to communicate with the source website and obtain resources from the source website.

再者,父层节点之间可以相互通信,从而组成父层节点与边缘节点之间的传输路径,即一个节点到另一个节点所经过的中间传输的节点及通信线缆所组成的路径。Furthermore, parent layer nodes can communicate with each other to form a transmission path between parent layer nodes and edge nodes, that is, a path composed of intermediate transmission nodes and communication cables from one node to another node.

具体而言,选取传输路径的方式可以有多种,可以根据实际需求选择如下至少一种方式:Specifically, there are many ways to select the transmission path, and at least one of the following ways can be selected according to actual needs:

1、选取传输性能符合设定的要求的传输路径。1. Select a transmission path whose transmission performance meets the set requirements.

传输性能是指传输流数据的传输路径的传输能力,可以根据节点间的距离、传输速度、数据丢失率、阻塞状况等确定传输路径的传输性能,通过定期更新每两个节点间的传输性能,根据节点之间的各传输路径的传输性能,选取其中传输性能符合要求或传输性能最好的传输路径。Transmission performance refers to the transmission capability of the transmission path of the transmission stream data. The transmission performance of the transmission path can be determined according to the distance between nodes, transmission speed, data loss rate, and congestion status. By regularly updating the transmission performance between every two nodes, According to the transmission performance of each transmission path between nodes, select the transmission path whose transmission performance meets the requirements or has the best transmission performance.

2、选取经过的节点数量最少的传输路径。2. Select the transmission path with the least number of passing nodes.

在多条传输路径中选取节点数量最少的传输路径,这样,就可以占用最少的传输资源完成数据从一个节点到另一个节点的传输。Select the transmission path with the least number of nodes among multiple transmission paths, so that the transmission of data from one node to another node can be completed by occupying the least transmission resources.

3、选取在一段时间内没有选择过的传输路径。3. Select a transmission path that has not been selected for a period of time.

如果历史上有流数据从一个节点传输至另一个节点,那么,当有新的数据要从这两个之间进行传输,可以在一段时间内没有选择过的各传输路径中选取一条,以避免一直选取同一条传输路径导致该传输路径上的节点负载过重。If there is streaming data transmitted from one node to another node in history, then when there is new data to be transmitted between the two, one of the transmission paths that has not been selected for a period of time can be selected to avoid Always selecting the same transmission path causes the nodes on the transmission path to be overloaded.

当然,上述传输路径的选取方式只是作为示例,在实施本发明实施例时,可以根据实际情况设置其他传输路径的选取方式,本发明实施例对此不加以限制。另外,除了上述传输路径的选取方式外,本领域技术人员还可以根据实际需要采用其它传输路径的选取方式,本发明实施例对此也不加以限制。Certainly, the above-mentioned selection method of the transmission path is only an example. When implementing the embodiment of the present invention, other selection methods of the transmission path may be set according to the actual situation, which is not limited in the embodiment of the present invention. In addition, in addition to the above method of selecting the transmission path, those skilled in the art may also use other methods of selecting the transmission path according to actual needs, which is not limited in this embodiment of the present invention.

此外,父层节点一般部署有多个运营商的机房,机房之间通过双线光线等专有的通信线缆进行连接,边缘节点一般是部署在某个运营商的网络中,同运营商之间的父层节点的机房可以与边缘节点进行通信。In addition, the parent node is generally deployed with multiple operators' computer rooms, and the computer rooms are connected by proprietary communication cables such as dual-wire optical cables. Edge nodes are generally deployed in a certain operator's network The computer room of the parent layer node can communicate with the edge node.

边缘节点之间具有相互通信的能力,但是,一般情况下,不会直接进行通信。Edge nodes have the ability to communicate with each other, but generally, they do not communicate directly.

边缘节点可以接入客户端,例如,手机、平板电脑、电视等等,用于与客户端进行通信,如获取其采集的直播流,或者,将直播流推送至该客户端。Edge nodes can access clients, such as mobile phones, tablet computers, TVs, etc., to communicate with clients, such as obtaining live streams collected by them, or pushing live streams to the client.

为使本领域技术人员更好地理解本发明实施例,以下通过具体的示例来说明本发明实施例中的内容分发网络CDN。In order for those skilled in the art to better understand the embodiment of the present invention, the content delivery network CDN in the embodiment of the present invention is described below through specific examples.

如图2所示,父层节点为A1、A2、A3、A4,可以按照地理位置进行部署,例如,A1部署在北京、A2部署在上海、A3部署在广州,A4部署在郑州,A1可以与A2进行通信,A2可以与A3进行通信,A3可以与A4进行通信,A4可以与A1进行通信,父层节点之间的循环通信,可以组成环状的父层结构。As shown in Figure 2, the parent layer nodes are A1, A2, A3, and A4, which can be deployed according to geographical locations. For example, A1 is deployed in Beijing, A2 is deployed in Shanghai, A3 is deployed in Guangzhou, A4 is deployed in Zhengzhou, and A1 can be deployed with A2 communicates, A2 can communicate with A3, A3 can communicate with A4, A4 can communicate with A1, and the circular communication between parent layer nodes can form a ring-shaped parent layer structure.

此外,每个父层节点可以连接一个或多个边缘节点,边缘节点也可以按照地理位置、运营商等因素进行部署,边缘节点之间一般不直接进行通信,而是经过父层节点进行中转,父层节点A1连接边缘节点A11、A12,父层节点A2连接缘节点A21、A22,父层节点A3连接缘节点A31、A32、A33,父层节点A4连接缘节点A41、A42、A43。In addition, each parent layer node can be connected to one or more edge nodes, and edge nodes can also be deployed according to factors such as geographic location and operators. Generally, edge nodes do not directly communicate with each other, but are transferred through parent layer nodes. Parent node A1 is connected to edge nodes A11 and A12, parent node A2 is connected to edge nodes A21 and A22, parent node A3 is connected to edge nodes A31, A32 and A33, and parent node A4 is connected to edge nodes A41, A42 and A43.

边缘节点接入客户端,如边缘节点A32接入客户端B1,用于接收客户端的数据(如直播流),或者,将数据(如直播流)发送至该客户端。The edge node accesses the client, such as the edge node A32 accesses the client B1, and is used to receive data (such as a live stream) from the client, or send data (such as a live stream) to the client.

在本发明实施例中,部分节点可以组成集群,集群内的节点可以相互之间进行连接、通信。In the embodiment of the present invention, some nodes can form a cluster, and the nodes in the cluster can connect and communicate with each other.

在上述内容分发网络CDN中,部分父层节点可以组成集群,和/或,部分边缘节点可以组成集群。In the content distribution network CDN mentioned above, some parent layer nodes may form a cluster, and/or, some edge nodes may form a cluster.

此外,若当前节点为边缘节点,则可以接收客户端的访问请求,若当前节点为父层节点,则可以接收边缘节点的访问请求。In addition, if the current node is an edge node, it can receive an access request from a client, and if the current node is a parent node, it can receive an access request from an edge node.

步骤102,在所述集群中分配处理所述访问请求的目标节点。Step 102, allocating a target node to process the access request in the cluster.

在具体实现中,当前节点可以可以按照一定的分配规则,在同一个集群的节点中选择其中一个节点作为处理该访问请求的目标节点。In a specific implementation, the current node may select one of the nodes in the same cluster as the target node for processing the access request according to certain allocation rules.

需要说明的是,该目标节点可以为当前节点,也可以为除当前节点外的其他节点,本发明实施例对此不加以限制。It should be noted that the target node may be the current node or other nodes except the current node, which is not limited in this embodiment of the present invention.

在本发明的一个实施例中,步骤102可以包括如下子步骤:In one embodiment of the present invention, step 102 may include the following sub-steps:

子步骤S11,从所述访问请求中提取访问地址。Sub-step S11, extracting the access address from the access request.

在具体实现中,可以从访问请求中提取待访问的资源的访问地址,如URL(UniformResource Locator,统一资源定位符)。In a specific implementation, the access address of the resource to be accessed may be extracted from the access request, such as a URL (Uniform Resource Locator, Uniform Resource Locator).

子步骤S12,确定所述集群中在线的节点。Sub-step S12, determining online nodes in the cluster.

由于节点发生故障、网络通信质量较差等原因,对于当前节点而言,可能存在部分节点无法联系的情况,对于这部分节点,可以称之为离线的节点,反之,其他可联系的节点可以称之为在线的节点。Due to node failure, poor network communication quality, etc., for the current node, there may be some nodes that cannot be contacted. For this part of nodes, they can be called offline nodes. On the contrary, other contactable nodes can be called offline nodes. It is an online node.

在具体实现中,当前节点可以在内存中维护在线的节点,因此,可以在内存中查找节点标识,如节点ID、主机名等,确定节点标识对应的节点为在线的节点。In a specific implementation, the current node can maintain an online node in the memory, therefore, the node identifier, such as node ID, host name, etc., can be searched in the memory, and the node corresponding to the node identifier can be determined to be an online node.

子步骤S13,按照所述访问地址将从所述在线的节点中分配目标节点。Sub-step S13, assigning a target node from the online nodes according to the access address.

筛选出集群中在线的节点,则可以按照该访问地址分配至其中一个在线的节点,作为目标节点。After filtering out the online nodes in the cluster, the access address can be assigned to one of the online nodes as the target node.

在一个示例中,可以统计集群中在线的节点的数量,对访问地址计算哈希值,并对所述数量取余数,确定余数对应的节点为目标节点。In an example, the number of online nodes in the cluster may be counted, a hash value is calculated for the access address, a remainder is taken from the number, and the node corresponding to the remainder is determined to be the target node.

在此示例中,是将一个完整的访问地址(如URL)经过哈希运算key=HASH($URL)%N(N是在线的节点的数量)得到一个key值,具有相同key值的URL也就是访问请求将会发往同一台节点,比如,key=0发往第1个在线的节点、key=1发往第2个在线的节点,等等。In this example, a complete access address (such as URL) is hashed key=HASH($URL)%N (N is the number of online nodes) to get a key value, and URLs with the same key value also That is, access requests will be sent to the same node, for example, key=0 is sent to the first online node, key=1 is sent to the second online node, and so on.

当然,上述分配目标节点的方式只是作为示例,在实施本发明实施例时,可以根据实际情况设置其他分配目标节点的方式,如随机分配,本发明实施例对此不加以限制。另外,除了上述分配目标节点的方式外,本领域技术人员还可以根据实际需要采用其它分配目标节点的方式,本发明实施例对此也不加以限制。Of course, the above method of allocating target nodes is just an example. When implementing the embodiment of the present invention, other ways of allocating target nodes can be set according to actual conditions, such as random allocation, which is not limited in the embodiment of the present invention. In addition, in addition to the foregoing manner of allocating target nodes, those skilled in the art may also adopt other manners of allocating target nodes according to actual needs, which is not limited in this embodiment of the present invention.

步骤103,通过预设的连接向所述目标节点发送操作指令,以对所述访问请求进行操作,并获得操作结果。Step 103, sending an operation instruction to the target node through the preset connection, so as to operate on the access request and obtain an operation result.

应用本发明实施例中,集群的节点与节点之间,可以预先建立TCP(TransmissionControl Protocol,传输控制协议)连接。In the application of the embodiment of the present invention, a TCP (Transmission Control Protocol, transmission control protocol) connection may be established in advance between the nodes of the cluster.

当前节点可以生成操作指令,通过该连接发送至目标节点。The current node can generate operation instructions and send them to the target node through this connection.

目标节点按照该操作指令对该访问请求进行操作,生成操作结果,如直接从目标节点本地提取缓存的数据、通过回源操作获取数据,等等。The target node operates on the access request according to the operation instruction to generate operation results, such as directly extracting cached data from the target node locally, obtaining data through back-to-source operations, and so on.

步骤104,通过所述连接接收所述目标节点返回的所述操作结果。Step 104, receiving the operation result returned by the target node through the connection.

目标节点将该操作结果通过与当前节点的连接,发送至当前节点。The target node sends the operation result to the current node through the connection with the current node.

步骤105,依据所述操作结果返回访问结果。Step 105, returning an access result according to the operation result.

当前节点在接收到目标节点的操作结果之后,则可以生成访问结果,对访问请求进行响应。After the current node receives the operation result of the target node, it can generate an access result and respond to the access request.

在上述内容分发网络CDN中,若当前节点为边缘节点,则可以将访问结果返回客户端;若当前节点为父层节点,则可以将访问结果返回边缘节点。In the above content distribution network CDN, if the current node is an edge node, the access result may be returned to the client; if the current node is a parent layer node, the access result may be returned to the edge node.

在本发明实施例中,内容分发网络具有多个节点,部分节点组成集群,在集群的当前节点中接收访问请求,在该集群中分配处理访问请求的目标节点,通过预设的连接向目标节点发送操作指令,以对访问请求进行操作,并获得操作结果,通过连接接收目标节点返回的操作结果,依据操作结果返回访问结果,通过在内容分发网络中部分节点组成小范围的集群,实现了集群内节点与节点之间的通信连接,无需使用组播的方式进行通信,大大提高了通信的灵活性。In the embodiment of the present invention, the content distribution network has a plurality of nodes, and some nodes form a cluster, and the current node of the cluster receives the access request, assigns the target node for processing the access request in the cluster, and sends the target node to the target node through the preset connection. Send operation instructions to operate the access request and obtain the operation result, receive the operation result returned by the target node through the connection, and return the access result according to the operation result, and realize the cluster by forming a small-scale cluster of some nodes in the content distribution network The communication connection between internal nodes does not need to use multicast to communicate, which greatly improves the flexibility of communication.

参照图3,示出了根据本发明一个实施例的另一种基于内容分发网络CDN的通信方法实施例的步骤示意流程图,具体可以包括如下步骤:Referring to FIG. 3 , it shows a schematic flowchart of the steps of another embodiment of a communication method based on a content distribution network CDN according to an embodiment of the present invention, which may specifically include the following steps:

步骤301,查找预设的配置文件。Step 301, searching for a preset configuration file.

在具体实现中,配置文件记载了在同一个集群中节点的节点标识。In a specific implementation, the configuration file records the node identifiers of the nodes in the same cluster.

在集群中增加新的节点时,在该配置文件中增加新的节点的节点标识。When adding a new node in the cluster, add the node ID of the new node in the configuration file.

在集群中删除原有的节点时,在该配置文件中删除原有的节点的节点标识。When deleting the original node in the cluster, delete the node ID of the original node in the configuration file.

步骤302,将所述节点标识加载至内存中。Step 302, loading the node identifier into memory.

当前节点将配置文件中的节点标识加载至内存中,方便后续对集群中的节点进行维护。The current node loads the node identifier in the configuration file into the memory to facilitate subsequent maintenance of the nodes in the cluster.

步骤303,在当前节点中通过传输控制协议TCP与所述节点标识对应的节点建立连接。In step 303, the current node establishes a connection with the node corresponding to the node identifier through the transmission control protocol TCP.

为实现数据的可靠传输,TCP要在应用进程间建立传输连接,它是在两个传输用户之间建立一种逻辑联系,使得通信双方都确认对方为自己的传输连接端点。In order to achieve reliable data transmission, TCP needs to establish a transmission connection between application processes. It establishes a logical connection between two transmission users, so that both communication parties can confirm that the other party is their own transmission connection endpoint.

建立连接前,作为服务器端的节点首先被动打开其熟知的端口,对端口进行侦听。作为客户端的节点要和作为服务器端的节点建立连接时,发起一个主动打开端口的请求(该端口一般为临时端口),然后进入三次握手的过程。Before establishing a connection, the node as the server first passively opens its well-known port and listens to the port. When a node as a client wants to establish a connection with a node as a server, it initiates a request to actively open a port (the port is generally a temporary port), and then enters a three-way handshake process.

三次握手的过程:The three-way handshake process:

1、A的TCP向B发出连接请求报文段,其首部中的同步比特SYN应置为1,并选择序号x,表明传送数据时的第一个数据字节的序号是x(设置初始段序号SEQ=x,例如SEQ=26500)。1. The TCP of A sends a connection request message segment to B, the synchronization bit SYN in the header should be set to 1, and the sequence number x is selected, indicating that the sequence number of the first data byte when transmitting data is x (setting the initial segment Sequence number SEQ=x, eg SEQ=26500).

2、B的TCP收到连接请求报文段后,如同意,则发回确认。2. After B's TCP receives the connection request segment, if it agrees, it will send back an acknowledgment.

B在确认报文段中应将SYN置为1,其确认号ACK应为x+1(ACK26 501),同时也给出自己的选择序号y(设置初始段序号SEQ=y,例如SEQ=29 010)。B should set SYN to 1 in the confirmation message segment, and its confirmation number ACK should be x+1 (ACK26 501), and also provide own selection sequence number y (setting initial segment sequence number SEQ=y, such as SEQ=29 010).

3、A收到此报文段后,向B给出确认,其确认号应为y+1(ACK=29011)。3. After receiving the message segment, A gives an acknowledgment to B, and the acknowledgment number should be y+1 (ACK=29011).

A的TCP通知上层应用进程,连接已经建立。A's TCP notifies the upper layer application process that the connection has been established.

当运行服务器进程的主机B的TCP收到主机A的确认后,也通知其上层应用进程,连接已经建立。When the TCP of host B running the server process receives the confirmation from host A, it also notifies its upper layer application process that the connection has been established.

由于客户对报文段进行了编号,它知道哪些序号是期待的,哪些序号是过时的。当客户发现报文段的序号是一个过时的序号时,就会拒绝该报文段,这样就不会造成重复连接。Since the client numbers segments, it knows which sequence numbers are expected and which are obsolete. When the client finds that the sequence number of the message segment is an outdated sequence number, it will reject the message segment, so as not to cause repeated connections.

数据传输结束后,通信双方都可以释放连接。After the data transmission is over, both communicating parties can release the connection.

步骤304,在当前节点中通过所述连接向所述集群中的其他节点发送心跳信息。Step 304, the current node sends heartbeat information to other nodes in the cluster through the connection.

步骤305,通过所述心跳信息确定所述集群中的其他节点的状态。Step 305, determine the status of other nodes in the cluster through the heartbeat information.

步骤306,当所述状态为在线时,保持所述集群中的其他节点在所述内存中的节点标识。Step 306, when the status is online, keep the node identifiers of other nodes in the cluster in the memory.

步骤307,当所述状态为离线时,删除所述集群中的其他节点在所述内存中的节点标识。Step 307, when the status is offline, delete the node IDs of other nodes in the cluster in the memory.

在本发明实施例中,集群中的节点与节点之间可以通过TCP连接维持心跳,当前节点可以通过心跳主动对集群中的其他节点进行探活。In the embodiment of the present invention, a heartbeat can be maintained between nodes in the cluster through a TCP connection, and the current node can actively detect other nodes in the cluster through the heartbeat.

如果可以持续接收到其他节点的心跳信息,则可以认为该节点在线,在内存中保持该节点的节点标识。If the heartbeat information of other nodes can be continuously received, the node can be considered to be online, and the node identity of the node is kept in memory.

如果经过一段时间未接收到其他节点的心跳信息,则可以认为该节点离线,在内存中删除该节点的节点标识。If the heartbeat information of other nodes is not received after a period of time, the node can be considered offline, and the node ID of the node is deleted in memory.

对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action order, because according to the embodiment of the present invention , certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

参照图4,示出了根据本发明一个实施例的一种基于内容分发网络CDN的通信装置实施例的结构示意框图,在内容分发网络具有多个节点,部分节点组成集群,具体可以包括如下模块:Referring to FIG. 4 , it shows a schematic block diagram of a communication device embodiment based on a content distribution network CDN according to an embodiment of the present invention. There are multiple nodes in the content distribution network, and some nodes form a cluster, which may specifically include the following modules :

访问请求接收模块401,用于在当前节点中接收访问请求;An access request receiving module 401, configured to receive an access request in the current node;

目标节点分配模块402,用于在所述集群中分配处理所述访问请求的目标节点;A target node allocation module 402, configured to allocate a target node for processing the access request in the cluster;

操作指令发送模块403,用于通过预设的连接向所述目标节点发送操作指令,以对所述访问请求进行操作,并获得操作结果;An operation instruction sending module 403, configured to send an operation instruction to the target node through a preset connection, so as to operate on the access request and obtain an operation result;

操作结果接收模块404,用于通过所述连接接收所述目标节点返回的所述操作结果;An operation result receiving module 404, configured to receive the operation result returned by the target node through the connection;

访问结果返回模块405,用于依据所述操作结果返回访问结果。An access result returning module 405, configured to return an access result according to the operation result.

在本发明的一个实施例中,还包括:In one embodiment of the present invention, also include:

配置文件查找模块,用于查找预设的配置文件,所述配置文件记载在所述集群中节点的节点标识;The configuration file search module is used to search for a preset configuration file, and the configuration file records the node identifier of the node in the cluster;

节点标识加载模块,用于将所述节点标识加载至内存中。The node identification loading module is configured to load the node identification into memory.

在本发明的一个实施例中,还包括:In one embodiment of the present invention, also include:

连接建立模块,用于在当前节点中通过传输控制协议TCP与所述节点标识对应的节点建立连接。A connection establishment module, configured to establish a connection with the node corresponding to the node identifier through the transmission control protocol TCP in the current node.

在本发明的一个实施例中,还包括:In one embodiment of the present invention, also include:

心跳信息发送模块,用于在当前节点中通过所述连接向所述集群中的其他节点发送心跳信息;A heartbeat information sending module, configured to send heartbeat information to other nodes in the cluster through the connection in the current node;

状态确定模块,用于通过所述心跳信息确定所述集群中的其他节点的状态;A status determination module, configured to determine the status of other nodes in the cluster through the heartbeat information;

节点标识保持模块,用于当所述状态为在线时,保持所述集群中的其他节点在所述内存中的节点标识;A node identification keeping module, configured to keep the node identifications of other nodes in the cluster in the memory when the status is online;

节点标识删除模块,用于当所述状态为离线时,删除所述集群中的其他节点在所述内存中的节点标识。The node identifier deletion module is configured to delete the node identifiers of other nodes in the cluster in the memory when the status is offline.

在本发明的一个实施例中,还包括:In one embodiment of the present invention, also include:

配置文件增加模块,用于在所述集群中增加新的节点时,在所述配置文件中增加所述新的节点的节点标识;A configuration file adding module, configured to add a node identifier of the new node in the configuration file when adding a new node in the cluster;

配置文件删除模块,用于在所述集群中删除原有的节点时,在所述配置文件中删除所述原有的节点的节点标识。The configuration file deletion module is configured to delete the node identifier of the original node in the configuration file when the original node is deleted in the cluster.

在本发明的一个实施例中,所述目标节点分配模块402包括:In one embodiment of the present invention, the target node allocation module 402 includes:

访问地址提取子模块,用于从所述访问请求中提取访问地址;An access address extraction submodule, configured to extract an access address from the access request;

在线节点确定子模块,用于确定所述集群中在线的节点;An online node determining submodule, configured to determine online nodes in the cluster;

在线节点分配子模块,用于按照所述访问地址将从所述在线的节点中分配目标节点。The online node allocation submodule is configured to allocate a target node from the online nodes according to the access address.

在本发明的一个实施例中,所述在线节点确定子模块包括:In one embodiment of the present invention, the online node determination submodule includes:

内存查找单元,用于在内存中查找节点标识;A memory search unit, configured to search for a node identifier in memory;

节点标识确定单元,用于确定所述节点标识对应的节点为在线的节点。The node identifier determining unit is configured to determine that the node corresponding to the node identifier is an online node.

在本发明的一个实施例中,所述在线节点分配子模块包括:In one embodiment of the present invention, the online node allocation submodule includes:

数量统计单元,用于统计所述集群中在线的节点的数量;A quantity statistics unit, used to count the number of online nodes in the cluster;

哈希取余单元,用于对所述访问地址计算哈希值,并对所述数量取余数;a hash remainder unit, configured to calculate a hash value for the access address, and take a remainder for the quantity;

目标节点确定单元,用于确定所述余数对应的节点为目标节点。A target node determining unit, configured to determine the node corresponding to the remainder as the target node.

在本发明的一个实施例中,所述内容分发网络CDN包括中心节点、父层节点、边缘节点;In one embodiment of the present invention, the content distribution network CDN includes a central node, a parent layer node, and an edge node;

所述中心节点与源网站进行通信;The central node communicates with the source website;

所述父层节点之间相互通信,与所述中心节点或者源网站进行通信,以及,与所述边缘节点进行通信;The parent layer nodes communicate with each other, communicate with the central node or the source website, and communicate with the edge node;

所述边缘节点用于与客户端进行通信;The edge node is used to communicate with the client;

其中,部分所述父层节点组成集群,和/或,部分所述边缘节点组成集群。Wherein, some of the parent layer nodes form a cluster, and/or, some of the edge nodes form a cluster.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的基于内容分发网络CDN的通信设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of some or all of the components in the communication device based on the content distribution network CDN according to the embodiment of the present invention Function. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明实施例公开了A1、一种基于内容分发网络CDN的通信方法,在内容分发网络具有多个节点,部分节点组成集群,包括:The embodiment of the present invention discloses A1, a communication method based on a content distribution network CDN. There are multiple nodes in the content distribution network, and some nodes form a cluster, including:

在当前节点中接收访问请求;Receive an access request in the current node;

在所述集群中分配处理所述访问请求的目标节点;Allocating a target node for processing the access request in the cluster;

通过预设的连接向所述目标节点发送操作指令,以对所述访问请求进行操作,并获得操作结果;sending an operation instruction to the target node through a preset connection to operate on the access request and obtain an operation result;

通过所述连接接收所述目标节点返回的所述操作结果;receiving the operation result returned by the target node through the connection;

依据所述操作结果返回访问结果。The access result is returned according to the operation result.

A2、如A1所述的方法,还包括:A2, the method as described in A1, also includes:

查找预设的配置文件,所述配置文件记载在所述集群中节点的节点标识;Find a preset configuration file, the configuration file records the node identifier of the node in the cluster;

将所述节点标识加载至内存中。Load the node ID into memory.

A3、如A2所述的方法,还包括:A3, the method as described in A2, also includes:

在当前节点中通过传输控制协议TCP与所述节点标识对应的节点建立连接。In the current node, a connection is established with the node corresponding to the node identifier through the transmission control protocol TCP.

A4、如A3所述的方法,还包括:A4, the method as described in A3, also includes:

在当前节点中通过所述连接向所述集群中的其他节点发送心跳信息;sending heartbeat information to other nodes in the cluster through the connection in the current node;

通过所述心跳信息确定所述集群中的其他节点的状态;Determine the status of other nodes in the cluster through the heartbeat information;

当所述状态为在线时,保持所述集群中的其他节点在所述内存中的节点标识;When the state is online, keep the node identifiers of other nodes in the cluster in the memory;

当所述状态为离线时,删除所述集群中的其他节点在所述内存中的节点标识。When the state is offline, delete the node identifiers of other nodes in the cluster in the memory.

A5、如A2所述的方法,还包括:A5, the method as described in A2, also includes:

在所述集群中增加新的节点时,在所述配置文件中增加所述新的节点的节点标识;When adding a new node in the cluster, add the node identifier of the new node in the configuration file;

在所述集群中删除原有的节点时,在所述配置文件中删除所述原有的节点的节点标识。When deleting an original node in the cluster, delete the node identifier of the original node in the configuration file.

A6、如A1-A5任一项所述的方法,所述在所述集群中分配处理所述访问请求的目标节点,包括:A6. The method according to any one of A1-A5, the allocating the target node for processing the access request in the cluster includes:

从所述访问请求中提取访问地址;Extracting an access address from the access request;

确定所述集群中在线的节点;determining the online nodes in the cluster;

按照所述访问地址将从所述在线的节点中分配目标节点。A target node is assigned from among the online nodes according to the access address.

A7、如A6所述的方法,所述确定所述集群中在线的节点,包括:A7. The method as described in A6, the determination of online nodes in the cluster includes:

在内存中查找节点标识;Look up the node ID in memory;

确定所述节点标识对应的节点为在线的节点。It is determined that the node corresponding to the node identifier is an online node.

A8、如A6所述的方法,所述按照所述访问地址将从所述在线的节点中分配目标节点,包括:A8. The method as described in A6, the allocation of the target node from the online nodes according to the access address, including:

统计所述集群中在线的节点的数量;Count the number of online nodes in the cluster;

对所述访问地址计算哈希值,并对所述数量取余数;calculating a hash value for the access address, and taking the remainder of the quantity;

确定所述余数对应的节点为目标节点。The node corresponding to the remainder is determined as the target node.

A9、如A1-A5任一项所述的方法,所述内容分发网络CDN包括中心节点、父层节点、边缘节点;A9. The method according to any one of A1-A5, wherein the content distribution network CDN includes a central node, a parent layer node, and an edge node;

所述中心节点与源网站进行通信;The central node communicates with the source website;

所述父层节点之间相互通信,与所述中心节点或者源网站进行通信,以及,与所述边缘节点进行通信;The parent layer nodes communicate with each other, communicate with the central node or the source website, and communicate with the edge node;

所述边缘节点用于与客户端进行通信;The edge node is used to communicate with the client;

其中,部分所述父层节点组成集群,和/或,部分所述边缘节点组成集群。Wherein, some of the parent layer nodes form a cluster, and/or, some of the edge nodes form a cluster.

本发明实施例还公开了B10、一种基于内容分发网络CDN的通信装置,在内容分发网络具有多个节点,部分节点组成集群,包括:The embodiment of the present invention also discloses B10, a communication device based on content distribution network CDN, which has multiple nodes in the content distribution network, and some nodes form a cluster, including:

访问请求接收模块,用于在当前节点中接收访问请求;An access request receiving module, configured to receive an access request in the current node;

目标节点分配模块,用于在所述集群中分配处理所述访问请求的目标节点;a target node allocation module, configured to allocate a target node for processing the access request in the cluster;

操作指令发送模块,用于通过预设的连接向所述目标节点发送操作指令,以对所述访问请求进行操作,并获得操作结果;An operation instruction sending module, configured to send an operation instruction to the target node through a preset connection, so as to operate on the access request and obtain an operation result;

操作结果接收模块,用于通过所述连接接收所述目标节点返回的所述操作结果;An operation result receiving module, configured to receive the operation result returned by the target node through the connection;

访问结果返回模块,用于依据所述操作结果返回访问结果。An access result returning module, configured to return an access result according to the operation result.

B11、如B10所述的装置,还包括:B11. The device as described in B10, further comprising:

配置文件查找模块,用于查找预设的配置文件,所述配置文件记载在所述集群中节点的节点标识;The configuration file search module is used to search for a preset configuration file, and the configuration file records the node identifier of the node in the cluster;

节点标识加载模块,用于将所述节点标识加载至内存中。The node identification loading module is configured to load the node identification into memory.

B12、如B11所述的装置,还包括:B12. The device as described in B11, further comprising:

连接建立模块,用于在当前节点中通过传输控制协议TCP与所述节点标识对应的节点建立连接。A connection establishment module, configured to establish a connection with the node corresponding to the node identifier through the transmission control protocol TCP in the current node.

B13、如B12所述的装置,还包括:B13. The device as described in B12, further comprising:

心跳信息发送模块,用于在当前节点中通过所述连接向所述集群中的其他节点发送心跳信息;A heartbeat information sending module, configured to send heartbeat information to other nodes in the cluster through the connection in the current node;

状态确定模块,用于通过所述心跳信息确定所述集群中的其他节点的状态;A status determination module, configured to determine the status of other nodes in the cluster through the heartbeat information;

节点标识保持模块,用于当所述状态为在线时,保持所述集群中的其他节点在所述内存中的节点标识;A node identification keeping module, configured to keep the node identifications of other nodes in the cluster in the memory when the status is online;

节点标识删除模块,用于当所述状态为离线时,删除所述集群中的其他节点在所述内存中的节点标识。The node identifier deletion module is configured to delete the node identifiers of other nodes in the cluster in the memory when the status is offline.

B14、如B11所述的装置,还包括:B14. The device as described in B11, further comprising:

配置文件增加模块,用于在所述集群中增加新的节点时,在所述配置文件中增加所述新的节点的节点标识;A configuration file adding module, configured to add a node identifier of the new node in the configuration file when adding a new node in the cluster;

配置文件删除模块,用于在所述集群中删除原有的节点时,在所述配置文件中删除所述原有的节点的节点标识。The configuration file deletion module is configured to delete the node identifier of the original node in the configuration file when the original node is deleted in the cluster.

B15、如B10-B14任一项所述的装置,所述目标节点分配模块包括:B15. The device according to any one of B10-B14, the target node allocation module includes:

访问地址提取子模块,用于从所述访问请求中提取访问地址;An access address extraction submodule, configured to extract an access address from the access request;

在线节点确定子模块,用于确定所述集群中在线的节点;An online node determining submodule, configured to determine online nodes in the cluster;

在线节点分配子模块,用于按照所述访问地址将从所述在线的节点中分配目标节点。The online node allocation submodule is configured to allocate a target node from the online nodes according to the access address.

B16、如B15所述的装置,所述在线节点确定子模块包括:B16, the device as described in B15, the online node determination submodule includes:

内存查找单元,用于在内存中查找节点标识;A memory search unit, configured to search for a node identifier in memory;

节点标识确定单元,用于确定所述节点标识对应的节点为在线的节点。The node identifier determining unit is configured to determine that the node corresponding to the node identifier is an online node.

B17、如B15所述的装置,所述在线节点分配子模块包括:B17. The device as described in B15, the online node allocation submodule includes:

数量统计单元,用于统计所述集群中在线的节点的数量;A quantity statistics unit, used to count the number of online nodes in the cluster;

哈希取余单元,用于对所述访问地址计算哈希值,并对所述数量取余数;a hash remainder unit, configured to calculate a hash value for the access address, and take a remainder for the quantity;

目标节点确定单元,用于确定所述余数对应的节点为目标节点。A target node determining unit, configured to determine the node corresponding to the remainder as the target node.

B18、如B10-B14任一项所述的装置,所述内容分发网络CDN包括中心节点、父层节点、边缘节点;B18. The device according to any one of B10-B14, wherein the content distribution network CDN includes a central node, a parent layer node, and an edge node;

所述中心节点与源网站进行通信;The central node communicates with the source website;

所述父层节点之间相互通信,与所述中心节点或者源网站进行通信,以及,与所述边缘节点进行通信;The parent layer nodes communicate with each other, communicate with the central node or the source website, and communicate with the edge node;

所述边缘节点用于与客户端进行通信;The edge node is used to communicate with the client;

其中,部分所述父层节点组成集群,和/或,部分所述边缘节点组成集群。Wherein, some of the parent layer nodes form a cluster, and/or, some of the edge nodes form a cluster.

Claims (10)

1. a kind of communication means based on content distributing network CDN has multiple nodes, part of nodes group in content distributing network Into cluster, including:
Access request is received in present node;
The destination node of access request described in allocation processing in the cluster;
Operational order is sent by default connect to the destination node, to be operated to the access request, and is obtained Operating result;
The operating result of the destination node return is received by the connection;
According to the operating result backward reference result.
2. the method as described in claim 1, which is characterized in that further include:
Default configuration file is searched, the configuration file is documented in the node identification of the cluster interior joint;
The node identification is loaded onto in memory.
3. method as claimed in claim 2, which is characterized in that further include:
Connection is established by transmission control protocol TCP node corresponding with the node identification in present node.
4. method as claimed in claim 3, which is characterized in that further include:
In present node heartbeat message is sent by described other nodes connected into the cluster;
The state of other nodes in the cluster is determined by the heartbeat message;
When the state is online, node identification of other nodes in the memory in the cluster is kept;
When the state is offline, node identification of other nodes in the memory in the cluster is deleted.
5. method as claimed in claim 2, which is characterized in that further include:
When increasing new node in the cluster, increase the node identification of the new node in the configuration file;
When deleting original node in the cluster, the node mark of original node is deleted in the configuration file Know.
6. such as claim 1-5 any one of them methods, which is characterized in that the visit described in allocation processing in the cluster Ask the destination node of request, including:
Access address is extracted from the access request;
Determine node online in the cluster;
Destination node will be distributed according to the access address from the online node.
7. method as claimed in claim 6, which is characterized in that it is described to determine node online in the cluster, including:
Node identification is searched in memory;
It is online node to determine the corresponding node of the node identification.
8. method as claimed in claim 6, which is characterized in that it is described will be from the online node according to the access address Middle distribution destination node, including:
Count the quantity of node online in the cluster;
Cryptographic Hash is calculated to the access address, and the quantity is taken the remainder;
It is destination node to determine the corresponding node of the remainder.
9. such as claim 1-5 any one of them methods, which is characterized in that the content distributing network CDN includes centromere Point, father's node layer, fringe node;
The Centroid communicates with source website;
The intercommunication of father's node layer, communicate with the Centroid or source website and, with the edge Node communicates;
The fringe node is used to communicate with client;
Wherein, part father's node layer composition cluster and/or, the part fringe node composition cluster.
10. a kind of communicator based on content distributing network CDN has multiple nodes, part of nodes in content distributing network Cluster is formed, including:
Access request receiving module, for receiving access request in present node;
Destination node distribution module, for the destination node of access request described in the allocation processing in the cluster;
Operational order sending module sends operational order, with to the visit for passing through default connect to the destination node It asks that request is operated, and obtains operating result;
Operating result receiving module, for passing through the operating result that the connection receives the destination node and returns;
Result return module is accessed, for according to the operating result backward reference result.
CN201711485113.5A 2017-12-29 2017-12-29 A kind of communication means and device based on content distributing network CDN Pending CN108111623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711485113.5A CN108111623A (en) 2017-12-29 2017-12-29 A kind of communication means and device based on content distributing network CDN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711485113.5A CN108111623A (en) 2017-12-29 2017-12-29 A kind of communication means and device based on content distributing network CDN

Publications (1)

Publication Number Publication Date
CN108111623A true CN108111623A (en) 2018-06-01

Family

ID=62214980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711485113.5A Pending CN108111623A (en) 2017-12-29 2017-12-29 A kind of communication means and device based on content distributing network CDN

Country Status (1)

Country Link
CN (1) CN108111623A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067898A (en) * 2018-08-24 2018-12-21 山东浪潮商用系统有限公司 A method of being distributed by file hash, which reduces content distributing network fringe node, returns source rate
CN111565207A (en) * 2019-02-13 2020-08-21 中国移动通信有限公司研究院 Method and apparatus for controlling content distribution network, and computer-readable storage medium
CN114205260A (en) * 2021-11-08 2022-03-18 南方电网深圳数字电网研究院有限公司 TCP (Transmission control protocol) connection activity detection method and device based on GO (GO) language

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN102148752A (en) * 2010-12-22 2011-08-10 华为技术有限公司 Routing implementing method based on content distribution network and related equipment and system
CN102447712A (en) * 2012-01-20 2012-05-09 华为技术有限公司 Method and system for interconnecting nodes in content delivery network (CDN) as well as nodes
CN103036967A (en) * 2012-12-10 2013-04-10 北京奇虎科技有限公司 Data download system and device and method for download management
US20140108672A1 (en) * 2011-12-02 2014-04-17 Huawei Technologies Co., Ltd. Content Delivery Network Routing Method, System and User Terminal
US20150215334A1 (en) * 2012-09-28 2015-07-30 Level 3 Communications, Llc Systems and methods for generating network threat intelligence
CN104980478A (en) * 2014-05-28 2015-10-14 深圳市腾讯计算机系统有限公司 Cache sharing method, devices and system in content delivery network
US20160191651A1 (en) * 2014-12-29 2016-06-30 Akamai Technologies, Inc. Managing mobile device user subscription and service preferences to predictively pre-fetch content
CN106031130A (en) * 2014-02-19 2016-10-12 第三雷沃通讯有限责任公司 Content delivery network architecture with edge proxy
CN106790324A (en) * 2015-11-20 2017-05-31 华为技术有限公司 Content distribution method, virtual server management method, cloud platform and system
US20170153980A1 (en) * 2015-12-01 2017-06-01 Fastly, Inc. Anonymized network addressing in content delivery networks

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN102148752A (en) * 2010-12-22 2011-08-10 华为技术有限公司 Routing implementing method based on content distribution network and related equipment and system
US20140108672A1 (en) * 2011-12-02 2014-04-17 Huawei Technologies Co., Ltd. Content Delivery Network Routing Method, System and User Terminal
CN102447712A (en) * 2012-01-20 2012-05-09 华为技术有限公司 Method and system for interconnecting nodes in content delivery network (CDN) as well as nodes
US20150215334A1 (en) * 2012-09-28 2015-07-30 Level 3 Communications, Llc Systems and methods for generating network threat intelligence
CN103036967A (en) * 2012-12-10 2013-04-10 北京奇虎科技有限公司 Data download system and device and method for download management
CN106031130A (en) * 2014-02-19 2016-10-12 第三雷沃通讯有限责任公司 Content delivery network architecture with edge proxy
CN104980478A (en) * 2014-05-28 2015-10-14 深圳市腾讯计算机系统有限公司 Cache sharing method, devices and system in content delivery network
US20160191651A1 (en) * 2014-12-29 2016-06-30 Akamai Technologies, Inc. Managing mobile device user subscription and service preferences to predictively pre-fetch content
CN106790324A (en) * 2015-11-20 2017-05-31 华为技术有限公司 Content distribution method, virtual server management method, cloud platform and system
US20170153980A1 (en) * 2015-12-01 2017-06-01 Fastly, Inc. Anonymized network addressing in content delivery networks

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
常可沛: "基于P2P和CDN技术的分层流媒体系统及其关键问题研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
杨成,朱亚平等: "《网络电视技术》", 30 June 2017 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067898A (en) * 2018-08-24 2018-12-21 山东浪潮商用系统有限公司 A method of being distributed by file hash, which reduces content distributing network fringe node, returns source rate
CN111565207A (en) * 2019-02-13 2020-08-21 中国移动通信有限公司研究院 Method and apparatus for controlling content distribution network, and computer-readable storage medium
CN114205260A (en) * 2021-11-08 2022-03-18 南方电网深圳数字电网研究院有限公司 TCP (Transmission control protocol) connection activity detection method and device based on GO (GO) language

Similar Documents

Publication Publication Date Title
US7992201B2 (en) Dynamic network tunnel endpoint selection
EP4009593A1 (en) Data transmission method and apparatus, network card and storage medium
CN113596191A (en) Data processing method, network element equipment and readable storage medium
CN108234639A (en) A kind of data access method and device based on content distributing network CDN
CN107948324A (en) request transmission system, method, device and storage medium
US10848586B2 (en) Content delivery network (CDN) for uploading, caching and delivering user content
CN108200443A (en) The distribution method and device of a kind of live TV stream
CN103888539B (en) Bootstrap technique, device and the P2P caching systems of P2P cachings
US10250671B2 (en) P2P-based file transmission control method and P2P communication control device therefor
EP3238096A1 (en) System and method for discovering a lan synchronization candidate for a synchronized content management system
CN108173952A (en) A data access method and device for content distribution network CDN
CN103024050B (en) Distributor and the method that multiple server is distributed
US20150127837A1 (en) Relay apparatus and data transfer method
CN108234632A (en) A kind of data distributing method and device of content distributing network CDN
CN108200158A (en) request transmission system, method, device and storage medium
CN102571640A (en) Gateway system, gateway device, and load distribution method
EP2709337B1 (en) Service data processing method, device and system
CN108173953A (en) A CDN-based file distribution method and device
CN108111623A (en) A kind of communication means and device based on content distributing network CDN
US20220012110A1 (en) Networking-related system call interception and modification
WO2016180188A1 (en) Distributed link establishment method, apparatus and system
CN106375355B (en) Load balancing processing method and device
CN108234638A (en) A kind of data processing method and device based on content distributing network CDN
CN113055457A (en) Access control and data forwarding method and device, electronic equipment and storage medium
CN103024051B (en) A kind of device, method and corresponding system carrying out server distribution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180601

RJ01 Rejection of invention patent application after publication