CN102158518B - Data transmission method in content distribution network (CDN), network node and system - Google Patents
Data transmission method in content distribution network (CDN), network node and system Download PDFInfo
- Publication number
- CN102158518B CN102158518B CN201010579563.2A CN201010579563A CN102158518B CN 102158518 B CN102158518 B CN 102158518B CN 201010579563 A CN201010579563 A CN 201010579563A CN 102158518 B CN102158518 B CN 102158518B
- Authority
- CN
- China
- Prior art keywords
- http request
- tcp
- index
- data
- network node
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- 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/61—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 taking into account QoS or priority requirements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例涉及一种CDN网络中的数据传输方法、网络节点及系统,其中,CDN网络中的数据传输方法,包括:接收多个HTTP超文本传输协议请求消息;获取多个所述HTTP请求消息所请求的数据;通过响应消息发送多个所述HTTP请求消息所请求的数据,其中,发送多个所述HTTP请求消息所请求的数据的先后顺序对应于获取到多个所述HTTP请求消息所请求的数据的先后顺序。通过发送多个HTTP请求消息所请求的数据的先后顺序对应于获取到多个HTTP请求消息所请求的数据的先后顺序,实现先获取到的HTTP请求的数据优先传输,可以提高数据的传输效率。
The embodiment of the present invention relates to a data transmission method, a network node, and a system in a CDN network, wherein, the data transmission method in the CDN network includes: receiving multiple HTTP hypertext transfer protocol request messages; obtaining multiple HTTP requests The data requested by the message; sending the data requested by multiple HTTP request messages through a response message, wherein the order of sending the data requested by multiple HTTP request messages corresponds to obtaining multiple HTTP request messages The sequence of the requested data. The sequence of data requested by sending multiple HTTP request messages corresponds to the sequence of data requested by multiple HTTP request messages obtained, so that the data of the HTTP request obtained earlier is transmitted first, and the data transmission efficiency can be improved.
Description
技术领域 technical field
本发明涉及通信技术领域,尤其涉及一种CDN(Content DeliveryNetwork,内容分发网络)中的数据传输方法、网络节点及系统。The present invention relates to the field of communication technology, in particular to a data transmission method, network node and system in a CDN (Content Delivery Network, content distribution network).
背景技术 Background technique
CDN是通过在现有的IP传输网络中增加一层新的网络架构,将网站的内容发布到最接近用户的网络″边缘″,使用户可以就近取得所需的内容,解决网络拥挤的状况,提高用户访问网络的响应速度。CDN is to add a new layer of network architecture to the existing IP transmission network, and publish the content of the website to the "edge" of the network closest to the user, so that the user can obtain the required content nearby and solve the network congestion situation. Improve the response speed of users accessing the network.
CDN中,当用户点击网站上某个内容的连接后,对应的HTTP(HyperText Transfer Protocol,超文本传输协议)请求被路由到边缘服务器上;边缘服务器检查自身没有缓存终端所请求的内容时,向CDN路由设备查询有保存所请求的内容的区域节点或者中心节点的地址信息;CDN路由设备返回保存有所请求的内容的区域节点或者中心节点的地址信息;边缘服务器通过HTTP协议向保存有所请求的内容的区域节点或者中心节点请求内容;区域节点或者中心节点向边缘服务器返回所请求的内容。In the CDN, when a user clicks a link to a certain content on the website, the corresponding HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol) request is routed to the edge server; when the edge server checks that it does not cache the content requested by the terminal, it sends The CDN routing device queries the address information of the regional node or central node that stores the requested content; the CDN routing device returns the address information of the regional node or central node that stores the requested content; the edge server sends the request to the storage through the HTTP protocol The regional nodes or central nodes of the content request content; the regional nodes or central nodes return the requested content to the edge server.
现有技术中,当发起多个HTTP请求时,发送请求和接收响应之间需要严格按照顺序进行,如果前一个HTTP请求的数据没有响应则后续HTTP请求也不会收到响应,因此,不利于数据的传输和带宽的充分利用。In the prior art, when multiple HTTP requests are initiated, the sending of the request and the receiving of the response must be performed in strict order. If the data of the previous HTTP request does not respond, the subsequent HTTP request will not receive a response. Therefore, it is not conducive to Data transmission and full utilization of bandwidth.
发明内容 Contents of the invention
本发明的实施例提供了一种CDN网络中的数据传输方法、网络节点及系统,其提高数据的传输效率。Embodiments of the present invention provide a data transmission method, network node and system in a CDN network, which improve data transmission efficiency.
一方面,本发明的实施例提供了一种CDN网络中的数据传输方法,包括:On the one hand, the embodiments of the present invention provide a data transmission method in a CDN network, including:
接收多个HTTP超文本传输协议请求消息;receiving multiple HTTP hypertext transfer protocol request messages;
获取多个所述HTTP请求消息所请求的数据;Obtain data requested by multiple HTTP request messages;
通过响应消息发送多个所述HTTP请求消息所请求的数据,其中,发送多个所述HTTP请求消息所请求的数据的先后顺序对应于获取到多个所述HTTP请求消息所请求的数据的先后顺序,所述多个为至少两个。Sending the data requested by multiple HTTP request messages through a response message, wherein the order of sending the data requested by the multiple HTTP request messages corresponds to the order of obtaining the data requested by the multiple HTTP request messages Sequentially, the plurality is at least two.
对应的,本发明的实施例提供了一种网络节点,包括:Correspondingly, an embodiment of the present invention provides a network node, including:
请求接收单元,用于接收多个HTTP超文本传输协议请求消息;A request receiving unit, configured to receive multiple HTTP hypertext transfer protocol request messages;
获取单元,用于获取多个所述HTTP请求消息所请求的数据;An acquisition unit, configured to acquire data requested by multiple HTTP request messages;
传输单元,通过响应消息发送所述HTTP请求消息所请求的数据,其中,发送多个所述HTTP请求消息所请求的数据的先后顺序对应于获取到多个所述HTTP请求消息所请求的数据的先后顺序,所述多个为至少两个。The transmission unit sends the data requested by the HTTP request message through a response message, wherein the order of sending the data requested by the multiple HTTP request messages corresponds to the sequence of obtaining the data requested by the multiple HTTP request messages In sequence, the plurality is at least two.
另一方面,本发明的实施例提供了一种数据传输系统,包括第一网络节点和第二网络节点:On the other hand, an embodiment of the present invention provides a data transmission system, including a first network node and a second network node:
所述第一网络节点,用于接收多个HTTP请求消息,获取所述HTTP请求消息所请求的数据,通过响应消息发送所述HTTP请求消息所请求的数据,其中,发送多个所述HTTP请求消息所请求的数据的先后顺序对应于获取到多个所述HTTP请求消息所请求的数据的先后顺序;The first network node is configured to receive multiple HTTP request messages, obtain data requested by the HTTP request messages, and send the data requested by the HTTP request messages through a response message, wherein multiple HTTP requests are sent The sequence of data requested by the message corresponds to the sequence of data requested by multiple HTTP request messages;
所述第二网络节点,用于向所述第一网络节点发送所述多个HTTP请求消息,以及接收所述第一网络节点发送的所述HTTP请求消息所请求的数据,所述多个为至少两个。The second network node is configured to send the multiple HTTP request messages to the first network node, and receive data requested by the HTTP request messages sent by the first network node, the multiple being at least two.
由上述本发明的实施例提供的技术方案可以看出,通过发送多个HTTP请求消息所请求的数据的先后顺序对应于获取到多个HTTP请求消息所请求的数据的先后顺序,实现先获取到的HTTP请求的数据优先传输,可以提高数据的传输效率。It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the sequence of data requested by sending multiple HTTP request messages corresponds to the sequence of data requested by multiple HTTP request messages, so that the sequence of data requested by multiple HTTP request messages can be obtained first. The data of the HTTP request is transmitted first, which can improve the efficiency of data transmission.
附图说明 Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明一实施例CDN网络中的数据传输方法的流程示意图;1 is a schematic flow diagram of a data transmission method in a CDN network according to an embodiment of the present invention;
图2为本发明实施例网络节点的构成示意图一;FIG. 2 is a first schematic diagram of the composition of a network node according to an embodiment of the present invention;
图3为本发明实施例网络节点的构成示意图二;FIG. 3 is a second schematic diagram of the composition of a network node according to an embodiment of the present invention;
图4为本发明另一实施例CDN网络中的数据传输方法的流程示意图;4 is a schematic flow diagram of a data transmission method in a CDN network according to another embodiment of the present invention;
图5为本发明实施例边缘节点的构成示意图一;FIG. 5 is a first schematic diagram of the composition of an edge node according to an embodiment of the present invention;
图6为本发明实施例边缘节点的构成示意图二;FIG. 6 is a second schematic diagram of the composition of an edge node according to an embodiment of the present invention;
图7为本发明实施例数据传输系统的构成示意图;7 is a schematic diagram of the composition of a data transmission system according to an embodiment of the present invention;
图8为本发明另一实施例CDN网络中的数据传输方法应用场景示意图一;FIG. 8 is a first schematic diagram of an application scenario of a data transmission method in a CDN network according to another embodiment of the present invention;
图9为本发明另一实施例CDN网络中的数据传输方法应用场景示意图二。FIG. 9 is a second schematic diagram of an application scenario of a data transmission method in a CDN network according to another 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.
如图1所示,本发明实施例提供一种CDN网络中的数据传输方法,包括:As shown in Figure 1, an embodiment of the present invention provides a data transmission method in a CDN network, including:
步骤11、接收多个HTTP请求消息。
步骤12、获取多个HTTP请求消息所请求的数据。
步骤13、通过响应消息发送多个HTTP请求消息所请求的数据,其中,发送多个HTTP请求消息所请求的数据的先后顺序对应于获取到多个HTTP请求消息所请求的数据的先后顺序。Step 13: Send the data requested by the multiple HTTP request messages through the response message, wherein the sequence of the data requested by sending the multiple HTTP request messages corresponds to the sequence of the data requested by the multiple HTTP request messages obtained.
本发明实施例CDN网络中的数据传输方法的执行主体可以是CDN网络中的网络节点,所述网络节点可以包括:区域节点或者中心节点。区域节点、中心节点用于存储网络数据。中心节点作为区域节点的上层节点,一个中心节点可以连接多个区域节点。可选的,在边缘节点(可以是边缘服务器)和中心节点之间可以存在多级区域节点,从而满足的业务需要。The execution subject of the data transmission method in the CDN network in the embodiment of the present invention may be a network node in the CDN network, and the network node may include: a regional node or a central node. Regional nodes and central nodes are used to store network data. The central node is the upper layer node of the regional nodes, and one central node can connect multiple regional nodes. Optionally, there may be multi-level regional nodes between the edge node (which may be an edge server) and the central node, so as to meet the business needs.
其中,在本发明的实施例中,如果接收到多个HTTP请求消息,那么在步骤13发送多个HTTP请求消息所请求的数据时,可以是获取到了多个HTTP请求消息的数据,也可以是获取到了其中几个(这里可以是1个,也可以是其中几个)HTTP请求消息所请求的数据。然后,在发送已获取到的数据时,同时获取其他HTTP请求消息所请求的数据。比如:共接收到了5个HTTP请求消息,那么可以在获取到5个HTTP请求消息所请求的数据后发送数据,也可以是在获取在1个(这里也可以是2个、3个或4个)HTTP请求消息所请求的数据后就发送数据。Wherein, in the embodiment of the present invention, if multiple HTTP request messages are received, when the data requested by multiple HTTP request messages is sent in
下面,简单说明本发明实施例CDN网络中的数据传输方法:Below, the data transmission method in the CDN network of the embodiment of the present invention is briefly described:
当终端用户点击网站上某个内容的连接后,对应的HTTP请求被路由到边缘服务器上,边缘服务器检查自身没有缓存终端所请求的内容时,向CDN路由设备查询有保存所请求的数据的区域节点或者中心节点的地址信息,CDN路由设备返回保存有所请求的数据的区域节点或者中心节点的地址信息,如IP地址或者域名。其中,区域节点或者中心节点的地址信息包括域名或者IP地址。当地址信息是域名时,边缘服务器通过DNS(Domain NameSystem,域名系统)解析获取对应的IP地址,在此不作赘述。When a terminal user clicks a link to a certain content on the website, the corresponding HTTP request is routed to the edge server. When the edge server checks that it has not cached the content requested by the terminal, it queries the CDN routing device for the area where the requested data is stored. The address information of the node or central node, the CDN routing device returns the address information of the regional node or central node storing the requested data, such as IP address or domain name. Wherein, the address information of the regional node or the central node includes a domain name or an IP address. When the address information is a domain name, the edge server obtains the corresponding IP address through DNS (Domain Name System, Domain Name System) resolution, which will not be described here.
之后,边缘服务器通过HTTP请求向保存有所请求的内容的区域节点或者中心节点请求数据,从而,进入步骤11区域节点或者中心节点接收边缘服务器发送的多个HTTP请求消息,再进入步骤12区域节点或者中心节点获取多个HTTP请求消息所请求的数据,再进入步骤13区域节点或者中心节点通过响应消息发送HTTP请求消息所请求的数据。Afterwards, the edge server requests data from the regional node or central node storing the requested content through an HTTP request, thereby entering
由上述本发明的实施例提供的技术方案可以看出,通过发送多个HTTP请求消息所请求的数据的先后顺序对应于获取到多个HTTP请求消息所请求的数据的先后顺序,实现先获取到的HTTP请求的数据优先传输,可以提高数据的传输效率。It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the sequence of data requested by sending multiple HTTP request messages corresponds to the sequence of data requested by multiple HTTP request messages, so that the sequence of data requested by multiple HTTP request messages can be obtained first. The data of the HTTP request is transmitted first, which can improve the efficiency of data transmission.
本发明实施例CDN网络中的数据传输方法,还适用于区域节点和中心节点之间的数据传输,边缘服务器和其他边缘服务器之间数据传输,区域节点和其他区域节点之间数据传输。The data transmission method in the CDN network of the embodiment of the present invention is also applicable to data transmission between regional nodes and central nodes, data transmission between edge servers and other edge servers, and data transmission between regional nodes and other regional nodes.
以下仅仅以边缘服务器与网络节点为例,说明本发明实施例CDN网络中的数据传输方法。The data transmission method in the CDN network according to the embodiment of the present invention is described below only by taking the edge server and the network node as examples.
本发明实施例CDN网络中的数据传输方法,在步骤11和步骤13中,网络节点可以通过TCP(Transmission Control Protocol,传输控制协议)连接接收边缘服务器发送的HTTP请求消息,以及发送响应消息给边缘服务器。In the data transmission method in the CDN network of the embodiment of the present invention, in
具体的,网络节点可以响应边缘服务器的1条或多条TCP连接请求,与边缘服务器之间建立1条或多条TCP连接。其中,多条TCP连接可以理解为至少两条TCP连接,多个HTTP请求消息可以理解为至少两个HTTP请求消息。Specifically, the network node may respond to one or more TCP connection requests from the edge server, and establish one or more TCP connections with the edge server. Wherein, multiple TCP connections may be understood as at least two TCP connections, and multiple HTTP request messages may be understood as at least two HTTP request messages.
示例性的,在CDN路由设备向边缘服务器返回保存有所请求的数据的网络节点的地址信息后,边缘服务器检查是否已经存在到对应网络节点的地址信息的TCP连接,如果不存在,边缘服务器可以请求与网络节点之间建立多条TCP连接。这样,网络节点响应边缘服务器的多条TCP连接请求,与边缘服务器之间建立多条TCP连接。Exemplarily, after the CDN routing device returns the address information of the network node storing the requested data to the edge server, the edge server checks whether there is already a TCP connection to the address information of the corresponding network node, if not, the edge server can Request to establish multiple TCP connections with network nodes. In this way, the network node responds to multiple TCP connection requests from the edge server, and establishes multiple TCP connections with the edge server.
其中,网络节点与边缘服务器之间的TCP连接的个数,可以根据需要而确定。Wherein, the number of TCP connections between the network node and the edge server can be determined according to requirements.
当边缘服务器与网络节点之间的TCP连接为一条时,HTTP请求消息中携带流索引指示X-Flow-Index,HTTP请求消息对应的响应消息中携带流索引指示X-Flow-Index,其中,流索引指示X-Flow-Index用于标识HTTP请求消息的请求内容。When there is one TCP connection between the edge server and the network node, the HTTP request message carries the flow index indication X-Flow-Index, and the response message corresponding to the HTTP request message carries the flow index indication X-Flow-Index, where the flow Index indicates that X-Flow-Index is used to identify the request content of the HTTP request message.
可见,网络节点的响应消息中流索引指示X-Flow-Index的取值,对应的与边缘服务器的HTTP请求消息中的中流索引指示X-Flow-Index的取值一致,HTTP请求消息和响应消息不需要严格保序。而且,边缘服务器收到网络节点的响应消息后,根据流索引指示X-Flow-Index可以关联到HTTP请求消息,从而关联到终端用户上,最终边缘服务器将从网络节点返回的数据交付给终端用户。It can be seen that the value of the flow index indication X-Flow-Index in the response message of the network node is consistent with the value of the flow index indication X-Flow-Index in the HTTP request message of the edge server, and the HTTP request message and response message are different. Strict order is required. Moreover, after the edge server receives the response message from the network node, it indicates that the X-Flow-Index can be associated with the HTTP request message according to the flow index, so as to be associated with the end user, and finally the edge server delivers the data returned from the network node to the end user .
当边缘服务器与网络节点之间的TCP连接为多条时,HTTP请求消息中携带流索引指示X-Flow-Index和连接索引指示X-Connection-Index,HTTP请求消息对应的响应消息中携带流索引指示X-Flow-Index和连接索引指示X-Connection-Index,其中,流索引指示X-Flow-Index用于标识HTTP请求消息的请求内容,连接索引指示X-Connection-Index用于标识HTTP请求消息使用的TCP连接。When there are multiple TCP connections between the edge server and the network node, the HTTP request message carries the flow index indication X-Flow-Index and the connection index indication X-Connection-Index, and the response message corresponding to the HTTP request message carries the flow index Indicates X-Flow-Index and connection index indicates X-Connection-Index, where the flow index indicates X-Flow-Index is used to identify the request content of the HTTP request message, and the connection index indicates X-Connection-Index is used to identify the HTTP request message The TCP connection to use.
可见,在同一条TCP连接上先后发起的各个HTTP请求在连接索引指示X-Connection-Index的取值上是一致的。因此,HTTP请求消息和响应消息不需要严格保序,HTTP请求消息和响应消息可以不在同一条TCP连接上,实现并行数据的传输,充分利用TCP带宽。It can be seen that the values of the connection index indication X-Connection-Index of the HTTP requests initiated successively on the same TCP connection are consistent. Therefore, the HTTP request message and the response message do not need to be strictly ordered, and the HTTP request message and the response message may not be on the same TCP connection to realize parallel data transmission and make full use of the TCP bandwidth.
还要说明的是,步骤12中,网络节点获取各个HTTP请求所对应的数据的时延是不一样,例如,网络节点先接收到的HTTP请求,可能晚于后接收到的HTTP请求获取到数据。It should also be noted that in
因此,当边缘服务器与网络节点之间的TCP连接为多条时,本发明实施例CDN网络中的数据传输方法还可以包括:Therefore, when there are multiple TCP connections between the edge server and the network node, the data transmission method in the CDN network of the embodiment of the present invention may also include:
网络节点根据多条TCP连接的当前传输时延,选择传输时延最小的TCP连接发送HTTP请求消息所请求的数据。According to the current transmission delays of multiple TCP connections, the network node selects the TCP connection with the smallest transmission delay to send the data requested by the HTTP request message.
其中,网络节点确定TCP连接的传输时延的方式,可以包括:Wherein, the manner in which the network node determines the transmission delay of the TCP connection may include:
传输时延即指需要等待TCP连接空闲来发送数据的等待时延,网络节点可以根据TCP连接待传输的数据量和TCP连接带宽确定TCP连接的传输时延。具体的,确定TCP连接的传输时延的具体方式可以参照目前通用的现有技术得以理解,在此不作赘述。The transmission delay refers to the waiting delay for waiting for the TCP connection to be idle to send data. The network node can determine the transmission delay of the TCP connection according to the amount of data to be transmitted by the TCP connection and the bandwidth of the TCP connection. Specifically, the specific manner of determining the transmission delay of the TCP connection can be understood with reference to the current common prior art, and details are not described here.
可见,基于在边缘服务器和网络节点之间存在多条TCP连接,网络节点按照获取各个HTTP请求所对应的数据的先后顺序来响应HTTP请求,且选择当前传输时延最小的TCP连接传输HTTP请求消息所请求的数据,而且,HTTP请求消息和响应消息均扩展了流索引指示X-Flow-Index和连接索引指示X-Connection-Index,HTTP请求消息和响应消息不需要严格保序,HTTP请求消息和响应消息可以不在同一条TCP连接上。例如,同时有2个终端用户向同一个边缘服务器请求内容,则边缘服务器可以按照Pipeline(管道)方式,无需等待网络节点的响应数据,边缘服务器直接在多个TCP连接上连续发起请求,然后从多个TCP上异步的接收响应数据,可以实现并行数据的传输,充分利用TCP带宽。It can be seen that based on the existence of multiple TCP connections between the edge server and the network node, the network node responds to the HTTP request in the order in which the data corresponding to each HTTP request is obtained, and selects the TCP connection with the smallest current transmission delay to transmit the HTTP request message The requested data, and the HTTP request message and response message both extend the flow index indication X-Flow-Index and the connection index indication X-Connection-Index, the HTTP request message and response message do not need to be strictly ordered, the HTTP request message and Response messages may not be on the same TCP connection. For example, if two end users request content from the same edge server at the same time, the edge server can follow the Pipeline (pipeline) method without waiting for the response data from the network node. Receiving response data asynchronously on multiple TCPs can realize parallel data transmission and make full use of TCP bandwidth.
本发明实施例CDN网络中的数据传输方法,还可以包括:The data transmission method in the CDN network of the embodiment of the present invention may also include:
当TCP连接为多条时,若多条TCP连接的当前传输时延中最小传输时延大于建立新TCP连接的时延,则网络节点建立新的TCP连接;When there are multiple TCP connections, if the minimum transmission delay among the current transmission delays of multiple TCP connections is greater than the delay of establishing a new TCP connection, the network node establishes a new TCP connection;
或者,当TCP连接为一条时,若TCP连接的当前传输时延大于建立新TCP连接的时延,则网络节点建立新的TCP连接。Or, when there is one TCP connection, if the current transmission delay of the TCP connection is greater than the delay of establishing a new TCP connection, the network node establishes a new TCP connection.
具体的,网络节点可以实时检测每条TCP连接的带宽,如果已经获取到了某个HTTP请求所对应的数据,但是,需要等待之前建立的TCP连接空闲来发送数据时,网络节点根据当前的传输带宽和传输数据预测每条TCP的传输时延,确定出最小传输时延的TCP连接,并根据到边缘服务器RTT(Round-Trip Time,往返时延)预测新建立TCP连接的时延:Specifically, the network node can detect the bandwidth of each TCP connection in real time. If the data corresponding to an HTTP request has been obtained, but when it is necessary to wait for the previously established TCP connection to be idle to send data, the network node will Predict the transmission delay of each TCP with the transmission data, determine the TCP connection with the minimum transmission delay, and predict the delay of the newly established TCP connection according to the RTT (Round-Trip Time, round-trip delay) to the edge server:
如果最小传输时延小于新建立TCP连接的时延,则维持当前TCP连接个数的稳定,仍然等待使用之前建立的TCP连接来传输数据。If the minimum transmission delay is less than the delay of a newly established TCP connection, the current number of TCP connections is kept stable, and the previously established TCP connection is still waiting to transmit data.
如果最小传输时延大于新建立TCP连接的时延,则网络节点主动向边缘服务器建立TCP连接。If the minimum transmission delay is greater than the delay of newly establishing a TCP connection, the network node actively establishes a TCP connection to the edge server.
因此,网络节点可以主动建立到边缘服务器的TCP连接,提高了CDN对终端用户请求的响应速度,提升了QoE(Quality of Experience,体验质量)。Therefore, network nodes can actively establish a TCP connection to the edge server, which improves the CDN's response speed to end user requests and improves QoE (Quality of Experience).
其中,网络节点可以通过响应HTTP请求的响应消息主动建立到边缘服务器的TCP连接,或者通过HTTP POST方式主动建立到边缘服务器的TCP连接。而且,POST消息中携带X-Flow-Index和X-Connection-Index头域,用于与之前的HTTP请求消息相关联。Among them, the network node can actively establish a TCP connection to the edge server through a response message in response to an HTTP request, or actively establish a TCP connection to the edge server through HTTP POST. Moreover, the X-Flow-Index and X-Connection-Index header fields are carried in the POST message for associating with the previous HTTP request message.
其中,可以设置网络节点到每个边缘服务器最多可以动态建立的TCP连接数量,从而限制每个网络节点和边缘服务器需要维护的TCP连接数量。Among them, the maximum number of TCP connections that can be dynamically established between the network node and each edge server can be set, thereby limiting the number of TCP connections that each network node and edge server need to maintain.
本发明实施例CDN网络中的数据传输方法,还可以包括:The data transmission method in the CDN network of the embodiment of the present invention may also include:
当多条TCP连接的当前传输时延相同时,根据TCP连接建立的先后顺序,选择先建立的TCP连接发送HTTP请求消息所请求的数据。When the current transmission delays of multiple TCP connections are the same, according to the order in which the TCP connections are established, the first established TCP connection is selected to send the data requested by the HTTP request message.
因此,网络节点优先选择最先建立的TCP连接传输请求的数据,则新建立的TCP连接可以被逐渐回收,从而减少需要维护的TCP连接数目,降低了边缘服务器、网络节点需要同时维护大量TCP连接的开销。Therefore, the network node preferentially selects the first established TCP connection to transmit the requested data, and the newly established TCP connection can be gradually recycled, thereby reducing the number of TCP connections that need to be maintained, and reducing the need for edge servers and network nodes to maintain a large number of TCP connections at the same time. s expenses.
本发明实施例CDN网络中的数据传输方法,还可以包括:The data transmission method in the CDN network of the embodiment of the present invention may also include:
监测多条TCP连接发送响应消息的数量,当发送响应消息的数量小于预定阈值或没有发送响应消息时,则删除对应的TCP连接。The number of response messages sent by multiple TCP connections is monitored, and when the number of sent response messages is less than a predetermined threshold or no response message is sent, the corresponding TCP connection is deleted.
可见,网络节点可以根据TCP连接的实际使用来监测各条TCP连接上的响应消息数量。如果某条TCP连接上的响应消息数小于指定的阈值,或者某条TCP连接上的响应消息数相对于其它的TCP连接上的响应消息数小于指定的阈值,则说明该条TCP连接所经过的网络路径传输状况不好,网络节点可以动态删除该条TCP连接,重新建立新的TCP连接。It can be seen that the network node can monitor the number of response messages on each TCP connection according to the actual usage of the TCP connection. If the number of response messages on a certain TCP connection is less than the specified threshold, or the number of response messages on a certain TCP connection is less than the specified threshold relative to the number of response messages on other TCP connections, it means that the number of response messages passed by this TCP connection If the transmission condition of the network path is not good, the network node can dynamically delete the TCP connection and re-establish a new TCP connection.
另外,边缘服务器可能与之前已经建立连接的某个区域节点之间不再有流量,因此,网络节点可以监测已经建立的各条TCP连接上的流量。如果持续指定的时长后到某个IP地址的各条TCP连接上都没有流量,则边缘服务器删除到该IP地址的所有连接,减少需要维护的TCP连接数量。In addition, there may no longer be traffic between the edge server and a certain area node that has established a connection before, so the network node can monitor the traffic on each TCP connection that has been established. If there is no traffic on each TCP connection to a certain IP address for a specified period of time, the edge server deletes all connections to the IP address, reducing the number of TCP connections that need to be maintained.
还要说明的是,本发明实施例CDN网络中的数据传输方法,对于网络节点而言,如果所要请求的内容已经保存在内存或者硬盘等存储介质中,则网络节点可以从本地直接获取,否则网络节点可以采用和边缘服务器获取内容相似的方式从上层的网络节点获取所请求的内容,在此不作赘述。It should also be noted that, for the data transmission method in the CDN network of the embodiment of the present invention, for a network node, if the content to be requested has been stored in a storage medium such as a memory or a hard disk, the network node can directly obtain it locally, otherwise The network node may obtain the requested content from the upper layer network node in a manner similar to that obtained by the edge server, which will not be repeated here.
如图2所示,对应于上述实施例的CDN网络中的数据传输方法,本发明实施例提供一种网络节点,包括:As shown in FIG. 2, corresponding to the data transmission method in the CDN network of the above-mentioned embodiment, an embodiment of the present invention provides a network node, including:
请求接收单元21,用于接收多个HTTP超文本传输协议请求消息。The
获取单元22,用于获取多个HTTP请求消息所请求的数据。The obtaining
传输单元23,用于获取到HTTP请求消息所请求的数据,则通过响应消息发送HTTP请求消息所请求的数据,其中,发送多个HTTP请求消息所请求的数据的先后顺序对应于获取到多个HTTP请求消息所请求的数据的先后顺序。The
其中,多条TCP连接可以理解为至少两条TCP连接,多个HTTP请求消息可以理解为至少两个HTTP请求消息。Wherein, multiple TCP connections may be understood as at least two TCP connections, and multiple HTTP request messages may be understood as at least two HTTP request messages.
上述网络节点可以包括:区域节点或者中心节点。区域节点、中心节点用于存储网络数据。可选的,在边缘服务器和中心节点之间可以存在多级区域节点,从而满足的业务需要。The foregoing network nodes may include: regional nodes or central nodes. Regional nodes and central nodes are used to store network data. Optionally, there may be multi-level regional nodes between the edge server and the central node, so as to meet business needs.
由上述本发明的实施例提供的技术方案可以看出,通过发送多个HTTP请求消息所请求的数据的先后顺序对应于获取到多个HTTP请求消息所请求的数据的先后顺序,实现先获取到的HTTP请求的数据优先传输,可以提高数据的传输效率。It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the sequence of data requested by sending multiple HTTP request messages corresponds to the sequence of data requested by multiple HTTP request messages, so that the sequence of data requested by multiple HTTP request messages can be obtained first. The data of the HTTP request is transmitted first, which can improve the efficiency of data transmission.
如图3所示,本发明实施例网络节点,还可以包括:As shown in Figure 3, the network node in the embodiment of the present invention may also include:
标识单元31,用于通过TCP传输控制协议连接接收HTTP请求消息以及发送响应消息时,当TCP连接为一条时,HTTP请求消息中携带流索引指示X-Flow-Index,HTTP请求消息对应的响应消息中携带流索引指示X-Flow-Index,其中,流索引指示X-Flow-Index用于标识HTTP请求消息的请求内容;The identification unit 31 is configured to receive the HTTP request message and send the response message through the TCP transmission control protocol connection. When there is one TCP connection, the HTTP request message carries the flow index indication X-Flow-Index, and the response message corresponding to the HTTP request message carries the flow index indication X-Flow-Index, where the flow index indication X-Flow-Index is used to identify the request content of the HTTP request message;
当TCP连接为多条时,HTTP请求消息中携带流索引指示X-Flow-Index和连接索引指示X-Connection-Index,HTTP请求消息对应的响应消息中携带流索引指示X-Flow-Index和连接索引指示X-Connection-Index,其中,流索引指示X-Flow-Index用于标识HTTP请求消息的请求内容,连接索引指示X-Connection-Index用于标识HTTP请求消息使用的TCP连接。When there are multiple TCP connections, the HTTP request message carries the flow index indication X-Flow-Index and the connection index indication X-Connection-Index, and the response message corresponding to the HTTP request message carries the flow index indication X-Flow-Index and connection index The index indicates X-Connection-Index, where the flow index indicating X-Flow-Index is used to identify the request content of the HTTP request message, and the connection index indicating X-Connection-Index is used to identify the TCP connection used by the HTTP request message.
因此,在同一条TCP连接上先后发起的各个HTTP请求在连接索引指示X-Connection-Index的取值上是一致的。边缘服务器收到网络节点的响应消息后,根据流索引指示X-Flow-Index和连接索引指示X-Connection-Index可以关联到HTTP请求消息,从而关联到终端用户上,最终边缘服务器将从网络节点返回的数据交付给终端用户。Therefore, the HTTP requests initiated successively on the same TCP connection are consistent in the value of the connection index indication X-Connection-Index. After receiving the response message from the network node, the edge server indicates that the X-Flow-Index and the connection index can be associated with the HTTP request message according to the flow index and the X-Connection-Index, so that it can be associated with the end user. Finally, the edge server will receive from the network node The returned data is delivered to the end user.
本发明实施例网络节点,还可以包括:The network node in the embodiment of the present invention may also include:
第一选择单元32,用于当TCP连接为多条时,根据多条TCP连接的当前传输时延,选择传输时延最小的TCP连接发送HTTP请求消息所请求的数据。The first selection unit 32 is configured to select the TCP connection with the smallest transmission delay to send the data requested by the HTTP request message according to the current transmission delays of the multiple TCP connections when there are multiple TCP connections.
综上,由于HTTP请求消息和响应消息均扩展了流索引指示X-Flow-Index和连接索引指示X-Connection-Index,HTTP请求消息和响应消息不需要严格保序。例如,同时有2个终端用户向同一个边缘服务器请求内容,则边缘服务器可以按照Pipeline方式无需等待网络节点的响应数据,无需等待网络节点的响应数据,边缘服务器直接在多个TCP连接上连续发起请求,然后从多个TCP上异步的接收响应数据,可以实现并行数据的传输,充分利用TCP带宽。In summary, since both the HTTP request message and the response message extend the flow index indication X-Flow-Index and the connection index indication X-Connection-Index, the HTTP request message and response message do not need to be strictly ordered. For example, if two end users request content from the same edge server at the same time, the edge server can follow the Pipeline method without waiting for the response data of the network node, and without waiting for the response data of the network node, the edge server directly initiates continuously on multiple TCP connections Request, and then asynchronously receive response data from multiple TCPs, which can realize parallel data transmission and make full use of TCP bandwidth.
本发明实施例网络节点,还可以包括:The network node in the embodiment of the present invention may also include:
第一建立单元33,用于当TCP连接为多条时,多条TCP连接的当前传输时延中最小传输时延大于建立新TCP连接的时延,则建立新的TCP连接;或者,当TCP连接为一条时,TCP连接的当前传输时延大于建立新TCP连接的时延,则建立新的TCP连接。The first establishment unit 33 is used for when there are multiple TCP connections, and the minimum transmission delay in the current transmission delays of multiple TCP connections is greater than the delay of establishing a new TCP connection, then a new TCP connection is established; or, when TCP When there is one connection, and the current transmission delay of the TCP connection is greater than the delay of establishing a new TCP connection, a new TCP connection is established.
因此,网络节点可以主动建立到边缘服务器的TCP连接,提高数据的传输速度。网络节点可以通过响应HTTP请求的响应消息主动建立到边缘服务器的TCP连接,或者通过HTTP POST方式主动建立到边缘服务器的TCP连接。而且,POST消息中携带X-Flow-Index和X-Connection-Index头域,用于与之前的HTTP请求消息相关联。Therefore, the network nodes can actively establish a TCP connection to the edge server to increase the data transmission speed. The network node can actively establish a TCP connection to the edge server by responding to the response message of the HTTP request, or actively establish a TCP connection to the edge server through HTTP POST. Moreover, the X-Flow-Index and X-Connection-Index header fields are carried in the POST message for associating with the previous HTTP request message.
而且,可以设置网络节点到每个边缘服务器最多可以动态建立的TCP连接数量,从而限制每个网络节点和边缘服务器需要维护的TCP连接数量。Moreover, the maximum number of TCP connections that can be dynamically established between network nodes and each edge server can be set, thereby limiting the number of TCP connections that need to be maintained by each network node and edge server.
本发明实施例网络节点,还可以包括:The network node in the embodiment of the present invention may also include:
第二选择单元34,用于当多条TCP连接的当前传输时延相同时,根据TCP连接建立的先后顺序,选择先建立的TCP连接发送HTTP请求消息所请求的数据。The second selection unit 34 is configured to select the first established TCP connection to send the data requested by the HTTP request message according to the order in which the TCP connections are established when the current transmission delays of the multiple TCP connections are the same.
因此,网络节点优先选择最先建立的TCP连接传输请求的数据,则第一建立单元的TCP连接可以被逐渐回收,从而减少需要维护的TCP连接数目。Therefore, the network node preferentially selects the first established TCP connection to transmit the requested data, and the TCP connection of the first establishment unit can be gradually recycled, thereby reducing the number of TCP connections that need to be maintained.
本发明实施例网络节点,还可以包括:The network node in the embodiment of the present invention may also include:
监测单元35,用于监测多条TCP连接发送响应消息的数量,当发送响应消息的数量小于预定阈值或没有发送响应消息时,则删除对应的TCP连接。The monitoring unit 35 is configured to monitor the number of response messages sent by multiple TCP connections, and delete the corresponding TCP connection when the number of response messages sent is less than a predetermined threshold or no response message is sent.
可见,边缘服务器可能与之前已经建立连接的某个区域节点之间不再有流量,因此,网络节点可以监测已经建立的各条TCP连接上的流量。如果持续指定的时长后到某个IP地址的各条TCP连接上都没有流量,则边缘服务器删除到该IP地址的所有连接,减少需要维护的TCP连接数量。It can be seen that there may be no more traffic between the edge server and a certain area node that has established a connection before, so the network node can monitor the traffic on each established TCP connection. If there is no traffic on each TCP connection to a certain IP address for a specified period of time, the edge server deletes all connections to the IP address, reducing the number of TCP connections that need to be maintained.
由上述本发明的实施例提供的技术方案可以看出,在边缘服务器和网络节点之间维护多条TCP连接,网络节点收到边缘服务器发送的多个HTTP请求消息后,先获取到哪个HTTP请求的数据就先在时延最小的TCP连接上传输该HTTP请求的数据,实现并行数据的传输,以及充分利用TCP带宽。It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that multiple TCP connections are maintained between the edge server and the network node, and after the network node receives multiple HTTP request messages sent by the edge server, which HTTP request message is obtained first The data of the HTTP request is first transmitted on the TCP connection with the smallest delay, so as to realize parallel data transmission and make full use of the TCP bandwidth.
如图4所示,本发明实施例提供一种CDN网络中的数据传输方法,包括:As shown in Figure 4, an embodiment of the present invention provides a data transmission method in a CDN network, including:
步骤41、确定与网络节点之间是否建立有TCP连接。
步骤42、确定与网络节点之间没有建立有TCP连接,建立与网络节点之间的多条TCP连接,通过多条TCP连接发送多个HTTP请求消息。Step 42: Determine that no TCP connection has been established with the network node, establish multiple TCP connections with the network node, and send multiple HTTP request messages through the multiple TCP connections.
步骤43、通过多条TCP连接接收网络节点发送的响应消息,获取HTTP请求消息的响应数据。Step 43: Receive the response message sent by the network node through multiple TCP connections, and obtain the response data of the HTTP request message.
其中,本发明实施例CDN网络中的数据传输方法的执行主体可以为边缘节点,边缘节点可以为边缘服务器,多条TCP连接可以理解为至少两条TCP连接,多个HTTP请求消息可以理解为至少两个HTTP请求消息。Wherein, the execution subject of the data transmission method in the CDN network in the embodiment of the present invention can be an edge node, and the edge node can be an edge server, multiple TCP connections can be understood as at least two TCP connections, and multiple HTTP request messages can be understood as at least Two HTTP request messages.
上述网络节点可以包括:区域节点或者中心节点。区域节点、中心节点用于存储网络数据。可选的,在边缘节点和中心节点之间可以存在多级区域节点,从而满足的业务需要。The foregoing network nodes may include: regional nodes or central nodes. Regional nodes and central nodes are used to store network data. Optionally, there may be multi-level regional nodes between the edge node and the central node, so as to meet the business needs.
由上述本发明的实施例提供的技术方案可以看出,在边缘节点和网络节点之间维护多条TCP连接,网络节点收到边缘节点发送的多个HTTP请求消息后,实现并行数据的传输,充分利用TCP带宽。As can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention, multiple TCP connections are maintained between the edge node and the network node, and after the network node receives multiple HTTP request messages sent by the edge node, parallel data transmission is realized. Make full use of TCP bandwidth.
具体而言,本发明实施例CDN网络中的数据传输方法:Specifically, the data transmission method in the CDN network of the embodiment of the present invention:
在CDN路由设备向边缘节点返回保存有所请求的数据的区域节点或者中心节点的地址信息(地址信息可以包括域名或者IP地址)后,则进入步骤41。After the CDN routing device returns the address information (the address information may include domain name or IP address) of the regional node or central node storing the requested data to the edge node, it goes to step 41 .
具体而言,步骤41,可以包括:Specifically, step 41 may include:
边缘节点检查是否已经存在到对应IP地址的TCP连接。The edge node checks whether there is already a TCP connection to the corresponding IP address.
如果和对应IP地址之间已经存在TCP连接,则边缘节点直接通过TCP连接发送HTTP请求消息。If there is already a TCP connection with the corresponding IP address, the edge node directly sends the HTTP request message through the TCP connection.
如果和对应IP地址之间没有存在TCP连接,进入步骤42。If there is no TCP connection with the corresponding IP address, go to step 42.
具体而言,步骤42,可以包括:Specifically, step 42 may include:
边缘节点和对应IP地址之间不存在TCP连接,则边缘节点按照配置要求建立对应的TCP连接数。例如默认配置需要建立2条TCP连接,则边缘节点主动建立到对应IP地址的2条TCP连接。If there is no TCP connection between the edge node and the corresponding IP address, the edge node establishes the corresponding number of TCP connections according to the configuration requirements. For example, the default configuration requires the establishment of two TCP connections, and the edge node actively establishes two TCP connections to the corresponding IP addresses.
边缘节点可以轮选一条TCP连接,在该TCP连接上向区域节点层或者中心节点提交HTTP请求消息。同时,该HTTP请求消息中携带流索引指示X-Flow-Index和连接索引指示X-Connection-Index。流索引指示X-Flow-Index,用于标识HTTP请求消息的请求内容,连接索引指示X-Connection-Index,用于标识HTTP请求消息使用的TCP连接。The edge node can round-select a TCP connection, and submit an HTTP request message to the regional node layer or the central node on the TCP connection. Meanwhile, the HTTP request message carries a flow index indication X-Flow-Index and a connection index indication X-Connection-Index. The flow index indicates X-Flow-Index, which is used to identify the request content of the HTTP request message, and the connection index indicates X-Connection-Index, which is used to identify the TCP connection used by the HTTP request message.
从而,网络节点可以通过多条TCP选择传输HTTP请求消息所请求的数据。进入步骤43,边缘节点通过多条TCP连接接收网络节点发送的响应消息,获取HTTP请求消息的响应数据。同时,该响应消息中携带流索引指示X-Flow-Index和连接索引指示X-Connection-Index。Therefore, the network node can select and transmit the data requested by the HTTP request message through multiple TCPs. Entering
如果网络节点选择传输时延最小的TCP连接传输HTTP请求消息所请求的数据,则步骤43中,边缘节点通过多条TCP连接中的传输时延最小的TCP连接接收网络节点发送的响应消息,获取HTTP请求消息的响应数据。If the network node selects the TCP connection with the smallest transmission delay to transmit the data requested by the HTTP request message, then in
最后,边缘节点收到网络节点发送的响应消息,根据响应消息的流索引指示X-Flow-Index和连接索引指示X-Connection-Index可以关联到HTTP请求消息,从而最终关联到终端用户,将从网络节点返回的数据交付给终端用户。Finally, the edge node receives the response message sent by the network node, and according to the flow index indication X-Flow-Index and connection index indication X-Connection-Index of the response message, it can be associated with the HTTP request message, and finally associated with the end user. Data returned by network nodes is delivered to end users.
由于HTTP请求消息和响应消息均扩展了流索引指示X-Flow-Index和连接索引指示X-Connection-Index,HTTP请求消息和响应消息不需要严格保序。例如,同时有2个终端用户向同一个区域节点请求内容,则边缘节点可以按照Pipeline方式无需等待区域节点的响应数据,无需等待网络节点的响应数据,边缘节点直接在多个TCP连接上连续发起请求,然后从多个TCP上异步的接收响应数据,可以实现并行数据的传输,充分利用TCP带宽。Since the HTTP request message and the response message both extend the flow index indication X-Flow-Index and the connection index indication X-Connection-Index, the HTTP request message and the response message do not need to be strictly ordered. For example, if two end users request content from the same regional node at the same time, the edge node can follow the Pipeline method without waiting for the response data of the regional node or the response data of the network node, and the edge node directly initiates continuously on multiple TCP connections Request, and then asynchronously receive response data from multiple TCPs, which can realize parallel data transmission and make full use of TCP bandwidth.
可选的,边缘节点还可以根据热度替换算法决定是否将交付给终端用户的数据缓存在本地,从而边缘节点为后续其他终端用户的相同的业务请求服务。热度替换算法,如LRU(Least Recently Used,最近最少使用)算法,等等。Optionally, the edge node can also decide whether to cache the data delivered to the end user locally according to the heat replacement algorithm, so that the edge node can serve the same service request of other end users. Heat replacement algorithm, such as LRU (Least Recently Used, least recently used) algorithm, and so on.
本发明实施例的CDN网络中的数据传输方法,还可以包括:The data transmission method in the CDN network of the embodiment of the present invention may also include:
监测多条TCP连接所接收到的响应消息的数量,当TCP连接的响应消息的数量小于预定阈值时,则删除对应的TCP连接。The number of response messages received by multiple TCP connections is monitored, and when the number of response messages of the TCP connections is less than a predetermined threshold, the corresponding TCP connection is deleted.
或者,监测多条TCP连接,当TCP连接上没有流量,则删除对应的TCP连接。Or, monitor multiple TCP connections, and delete the corresponding TCP connection when there is no traffic on the TCP connection.
具体的,边缘节点根据TCP连接的实际使用来监测从各条TCP连接上所接收到的响应消息数量。如果某条TCP连接上收到的响应消息数小于指定的阈值,或者某条TCP连接上收到的响应消息数相对于其它的TCP连接上收到的响应消息数小于指定的阈值,则说明该条TCP连接所经过的网络路径传输状况不好,边缘节点可以动态删除该条TCP连接,重新建立新的TCP连接。Specifically, the edge node monitors the number of response messages received from each TCP connection according to the actual usage of the TCP connection. If the number of response messages received on a certain TCP connection is less than the specified threshold, or the number of response messages received on a certain TCP connection is smaller than the specified threshold relative to the number of response messages received on other TCP connections, it indicates that the If the transmission condition of the network path passed by a TCP connection is not good, the edge node can dynamically delete the TCP connection and re-establish a new TCP connection.
而且,可能在CDN路由服务器调整路由策略后,边缘节点与之前已经建立连接的某个区域节点之间不再有流量,因此边缘节点需要监测已经建立的各条TCP连接上的流量。如果持续指定的时长后到某个IP地址的各条TCP连接上都没有流量,则边缘节点删除到该IP地址的所有连接,减少需要维护的TCP连接数量。Moreover, after the CDN routing server adjusts the routing policy, there will no longer be traffic between the edge node and a certain area node that has established a connection before, so the edge node needs to monitor the traffic on each established TCP connection. If there is no traffic on each TCP connection to a certain IP address after a specified period of time, the edge node deletes all connections to the IP address, reducing the number of TCP connections that need to be maintained.
如图5所示,对应上述实施例的CDN网络中的数据传输方法,本发明实施例提供一种边缘节点,包括:As shown in FIG. 5, corresponding to the data transmission method in the CDN network of the above-mentioned embodiment, the embodiment of the present invention provides an edge node, including:
确定单元51,用于确定与网络节点之间是否建立有TCP连接。The determining
第二建立单元52,用于确定与网络节点之间没有建立有TCP连接,建立与网络节点之间的多条TCP连接,通过多条TCP连接发送多个HTTP请求消息。The
响应接收单元53,用于通过多条TCP连接接收网络节点发送的响应消息,获取HTTP请求消息的响应数据。The
本发明实施例边缘节点可以为边缘服务器,多条TCP连接可以理解为至少两条TCP连接,多个HTTP请求消息可以理解为至少两个HTTP请求消息。In the embodiment of the present invention, the edge node may be an edge server, multiple TCP connections may be understood as at least two TCP connections, and multiple HTTP request messages may be understood as at least two HTTP request messages.
上述网络节点可以包括:区域节点或者中心节点。区域节点、中心节点用于存储网络数据。可选的,在边缘节点和中心节点之间可以存在多级区域节点,从而满足的业务需要。The foregoing network nodes may include: regional nodes or central nodes. Regional nodes and central nodes are used to store network data. Optionally, there may be multi-level regional nodes between the edge node and the central node, so as to meet the business needs.
由上述本发明的实施例提供的技术方案可以看出,在边缘节点和网络节点之间维护多条TCP连接,实现并行数据的传输,以及充分利用TCP带宽。It can be seen from the technical solution provided by the above embodiments of the present invention that multiple TCP connections are maintained between the edge node and the network node to realize parallel data transmission and make full use of the TCP bandwidth.
具体而言,响应接收单元53,还可以用于通过多条TCP连接中的传输时延最小的TCP连接接收网络节点发送的响应消息,获取HTTP请求消息的响应数据。Specifically, the
第二建立单元52发送的HTTP请求消息中携带流索引指示X-Flow-Index和连接索引指示X-Connection-Index。The HTTP request message sent by the
响应接收单元53接收到的响应消息携带所述流索引指示X-Flow-Index和连接索引指示X-Connection-Index。The response message received by the
其中,所述流索引指示X-Flow-Index,用于标识HTTP请求消息的请求内容,所述连接索引指示X-Connection-Index,用于标识HTTP请求消息使用的TCP连接。Wherein, the flow index indicates X-Flow-Index, which is used to identify the request content of the HTTP request message, and the connection index indicates X-Connection-Index, which is used to identify the TCP connection used by the HTTP request message.
由于HTTP请求消息和响应消息均扩展了流索引指示X-Flow-Index和连接索引指示X-Connection-Index,HTTP请求消息和响应消息不需要严格保序。例如,同时有2个终端用户向同一个区域节点请求内容,则边缘节点可以按照Pipeline方式无需等待区域节点的响应数据,无需等待网络节点的响应数据,边缘节点直接在多个TCP连接上连续发起请求,然后从多个TCP上异步的接收响应数据,可以实现并行数据的传输,充分利用TCP带宽。Since the HTTP request message and the response message both extend the flow index indication X-Flow-Index and the connection index indication X-Connection-Index, the HTTP request message and the response message do not need to be strictly ordered. For example, if two end users request content from the same regional node at the same time, the edge node can follow the Pipeline method without waiting for the response data of the regional node or the response data of the network node, and the edge node directly initiates continuously on multiple TCP connections Request, and then asynchronously receive response data from multiple TCPs, which can realize parallel data transmission and make full use of TCP bandwidth.
如图6所示,本发明实施例边缘节点,还可以包括:As shown in Figure 6, the edge node in the embodiment of the present invention may further include:
第一监测单元61,用于监测多条TCP连接所接收到的响应消息的数量,当TCP连接的响应消息的数量小于预定阈值时,则删除对应的TCP连接。The
可见,该条TCP连接所经过的网络路径传输状况不好,边缘节点可以动态删除该条TCP连接,重新建立新的TCP连接。It can be seen that the transmission condition of the network path passed by the TCP connection is not good, and the edge node can dynamically delete the TCP connection and re-establish a new TCP connection.
或者,本发明实施例边缘节点,还可以包括:Alternatively, the edge node in this embodiment of the present invention may also include:
第二监测单元62,用于监测多条TCP连接,当TCP连接上没有流量,则删除对应的TCP连接。The
可见,边缘节点删除到该IP地址的所有连接,减少需要维护的TCP连接数量。It can be seen that the edge node deletes all connections to the IP address, reducing the number of TCP connections that need to be maintained.
如图7所示,本发明实施例提供一种数据传输系统,包括第一网络节点71和第二网络节点72:As shown in FIG. 7, an embodiment of the present invention provides a data transmission system, including a
第一网络节点71,用于接收多个HTTP请求消息,获取HTTP请求消息所请求的数据,通过响应消息发送HTTP请求消息所请求的数据,其中,发送多个HTTP请求消息所请求的数据的先后顺序对应于获取到多个HTTP请求消息所请求的数据的先后顺序;The
第二网络节点72,用于向第一网络节点71发送多个HTTP请求消息,以及接收第一网络节点71发送的HTTP请求消息所请求的数据。The
本发明实施例CDN系统中,第一网络节点71可以参照上述实施例网络节点得以理解。第二网络节点72如边缘服务器,可以参照上述实施例边缘服务器得以理解。多条TCP连接可以理解为至少两条TCP连接,多个HTTP请求消息可以理解为至少两个HTTP请求消息。In the CDN system in this embodiment of the present invention, the
由上述本发明的实施例提供的技术方案可以看出,通过发送多个HTTP请求消息所请求的数据的先后顺序对应于获取到多个HTTP请求消息所请求的数据的先后顺序,实现先获取到的HTTP请求的数据优先传输,可以提高数据的传输效率。It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the sequence of data requested by sending multiple HTTP request messages corresponds to the sequence of data requested by multiple HTTP request messages, so that the sequence of data requested by multiple HTTP request messages can be obtained first. The data of the HTTP request is transmitted first, which can improve the efficiency of data transmission.
如图8所示,边缘服务器81作为媒体交付节点,负责多个终端82的媒体交付任务,边缘服务器81和区域节点83之间维护多条TCP连接。而且,在区域节点83之外还可以存在多级区域节点,从而满足的业务需要。As shown in FIG. 8 , the edge server 81 serves as a media delivery node and is responsible for media delivery tasks of
如图9所示,以边缘服务器和区域节点为例,具体说明CDN网络中的数据传输方法,包括:As shown in Figure 9, taking edge servers and regional nodes as examples, the data transmission method in the CDN network is specifically described, including:
91、当终端用户点击网站上某个内容的连接后,对应的HTTP请求被路由到边缘服务器上。91. When an end user clicks a link to a certain content on the website, the corresponding HTTP request is routed to the edge server.
92、边缘服务器根据终端用户请求的URI(Uniform ResourceIdentifier,通用资源标志符)信息确认本地没有缓存所请求的内容,边缘服务器向CDN路由设备查询有保存所请求的内容的区域节点或者中心节点的地址信息。92. The edge server confirms that the requested content is not cached locally according to the URI (Uniform Resource Identifier) information requested by the end user, and the edge server queries the CDN routing device for the address of the regional node or central node that stores the requested content information.
93、CDN路由服务器向边缘服务器返回保存有所请求内容的区域节点的位置信息,包括域名或者IP地址。如果返回的是域名,则边缘服务器通过DNS解析也可以获取到对应的IP地址。93. The CDN routing server returns to the edge server the location information of the regional node storing the requested content, including the domain name or IP address. If the domain name is returned, the edge server can also obtain the corresponding IP address through DNS resolution.
94、边缘服务器检查是否已经存在到对应IP地址的TCP连接是否存在:如果不存在,则按照配置要求建立对应的多条TCP连接;如果和对应的IP地址之间已经存在了配置要求的TCP连接数,则不用再单独建立新的TCP连接。94. The edge server checks whether there is already a TCP connection to the corresponding IP address: if it does not exist, establish multiple corresponding TCP connections according to the configuration requirements; if there is already a configuration-required TCP connection with the corresponding IP address number, there is no need to establish a new TCP connection separately.
95、边缘服务器选择一条TCP连接,在该TCP连接上向区域节点提交HTTP请求,HTTP请求消息中指示了要请求的内容的URI信息,并且在HTTP请求消息头扩展一个X-Flow-Index头域如下:95. The edge server selects a TCP connection, and submits an HTTP request to the regional node on the TCP connection. The HTTP request message indicates the URI information of the content to be requested, and extends an X-Flow-Index header field in the HTTP request message header as follows:
X-Flow-Index=″X-Flow-Index″″:″1*DIGITX-Flow-Index="X-Flow-Index"":"1*DIGIT
在HTTP请求消息头还扩展一个X-Connection-Index头域如下:An X-Connection-Index header field is also extended in the HTTP request header as follows:
X-Connection-Index=″X-Connection-Index″″:″1*DIGITX-Connection-Index="X-Connection-Index"":"1*DIGIT
示例性的,边缘服务器与区域节点之间的HTTP请求消息如下:。Exemplarily, the HTTP request message between the edge server and the regional node is as follows: .
GET/HTTP/1.1GET/HTTP/1.1
Accept:*/*Accept:*/*
Accept-Language:zh-cnAccept-Language:zh-cn
Accept-Encoding:gzip,deflateAccept-Encoding: gzip, deflate
User-Agent:Mozilla/4.0(compatible;MSIE 6.0;Windows NT 5.1;SV1)User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host:www.ABC.comHost:www.ABC.com
X-Flow-Index=1234X-Flow-Index=1234
X-Connection-Index=1X-Connection-Index=1
96、区域节点收到边缘服务器的HTTP请求消息后,根据HTTP请求消息中的URI定位所要请求的内容。区域节点获取到边缘服务器HTTP请求需要的内容后,选择给边缘服务器发送响应数据需要使用的TCP连接。96. After receiving the HTTP request message from the edge server, the regional node locates the requested content according to the URI in the HTTP request message. After the regional node obtains the content required by the HTTP request of the edge server, it selects the TCP connection that needs to be used to send response data to the edge server.
区域节点检查当前到边缘服务器的各条TCP连接的传输带宽和每条TCP连接上目前还需要传输的数据量,根据待传输的数据量和传输带宽可以计算TCP连接的传输时延,即指需要等待TCP连接空闲来发送数据的等待时延,区域节点选择传输时延最小的TCP连接来传输响应数据。The regional node checks the current transmission bandwidth of each TCP connection to the edge server and the amount of data that needs to be transmitted on each TCP connection. According to the amount of data to be transmitted and the transmission bandwidth, the transmission delay of the TCP connection can be calculated, that is, the required Waiting for the TCP connection to be idle to send data, the regional node selects the TCP connection with the smallest transmission delay to transmit the response data.
区域节点按照先获取到哪个HTTP请求的数据则先传输对应的数据,以及哪条TCP连接上的传输时延小则在该TCP连接上传输,实现数据的灵活高效传输,体现数据优先、时延优先。The regional nodes transmit the corresponding data first according to which HTTP request data is obtained first, and which TCP connection has the smallest transmission delay, then transmits on the TCP connection, realizing flexible and efficient data transmission, reflecting data priority and delay priority.
区域节点在响应消息中同样携带X-Flow-Index和X-Connection-Index头域,这两个头域的取值和HTTP请求消息中头域的取值一致。The regional node also carries the X-Flow-Index and X-Connection-Index header fields in the response message, and the values of these two header fields are consistent with the values of the header fields in the HTTP request message.
示例性的,响应消息如下:Exemplarily, the response message is as follows:
HTTP/1.1200 OKHTTP/1.1200 OK
Date:Mon,19 Jul 201007:10:06 GMTDate: Mon, 19 Jul 2010 07:10:06 GMT
Expires:-1Expires: -1
Cache-Control:private,max-age=0Cache-Control: private, max-age=0
Content-Type:text/html;charset=UTF-8Content-Type: text/html; charset=UTF-8
Content-Encoding:gzipContent-Encoding: gzip
Server:gwsServer: gws
X-Flow-Index=1234X-Flow-Index=1234
X-Connection-Index=1X-Connection-Index=1
Content-Length:4125Content-Length: 4125
Message BodyMessage Body
另外,如果所要请求的内容之前已经保存在区域节点内存或者硬盘等存储介质中则区域节点可以从本地直接获取,否则区域节点可以采用和边缘服务器获取内容相似的方式从更上层的区域节点获取所请求的内容。In addition, if the content to be requested has been stored in the memory of the regional node or a storage medium such as a hard disk, the regional node can directly obtain it from the local area; The content of the request.
97、边缘服务器收到区域节点的响应消息后,根据X-Flow-Index和X-Connection-Index头域可以关联到HTTP请求消息,从而最终关联到终端用户请求上。最终边缘服务器将从区域节点返回的内容交付给终端用户。97. After receiving the response message from the regional node, the edge server can associate it with the HTTP request message according to the X-Flow-Index and X-Connection-Index header fields, and finally associate it with the end user request. The final edge server delivers the content returned from the regional nodes to the end user.
可选的,上述步骤96中,区域节点检查当前到边缘服务器的各条TCP连接的传输带宽和每条TCP连接上目前还需要传输的数据量,网络节点根据待传输的数据量和传输带宽计算每条TCP连接的传输时延,确定出最小传输时延的TCP连接,根据到边缘服务器RTT预测新建立TCP连接的时延:Optionally, in the above step 96, the regional node checks the current transmission bandwidth of each TCP connection to the edge server and the amount of data that still needs to be transmitted on each TCP connection, and the network node calculates according to the amount of data to be transmitted and the transmission bandwidth The transmission delay of each TCP connection, determine the TCP connection with the minimum transmission delay, and predict the delay of the newly established TCP connection according to the RTT to the edge server:
如果最小传输时延小于新建立TCP连接的时延,则维持当前TCP连接个数的稳定,仍然等待使用之前建立的TCP连接来传输数据。If the minimum transmission delay is less than the delay of a newly established TCP connection, the current number of TCP connections is kept stable, and the previously established TCP connection is still waiting to transmit data.
如果最小传输时延大于新建立TCP连接的时延,则网络节点主动向边缘服务器建立TCP连接。If the minimum transmission delay is greater than the delay of newly establishing a TCP connection, the network node actively establishes a TCP connection to the edge server.
区域节点可以通过HTTP POST方法传输数据,在POST消息中携带X-Flow-Index和X-Connection-Index头域,用于与之前的HTTP请求消息相关联,POST消息示例如下:Regional nodes can transmit data through the HTTP POST method. The X-Flow-Index and X-Connection-Index header fields are carried in the POST message to associate with the previous HTTP request message. The example of the POST message is as follows:
POST/HTTP/1.1POST/HTTP/1.1
Accept:*/*Accept:*/*
Accept-Language:zh-cnAccept-Language:zh-cn
Accept-Encoding:gzip,deflateAccept-Encoding: gzip, deflate
User-Agent:Mozilla/4.0(compatible;MSIE 6.0;Windows NT 5.1;SV1)User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host:www.ABC.comHost: www.ABC.com
X-Flow-Index=1234X-Flow-Index=1234
X-Connection-Index=1X-Connection-Index=1
Content-Length:4125Content-Length: 4125
Message BodyMessage Body
由上述本发明的实施例提供的技术方案可以看出,按照先获取到哪个业务请求的数据则先传输对应的数据和那条TCP连接上的传输时延小则在该TCP连接上传输的原则来实现数据的灵活高效传输,体现数据优先、时延优先,实现减少动态删建TCP连接的开销,避免TCP慢启对传输速率的影响,减少需要维护的TCP连接数,提升每条TCP连接上的复用、并发效率。It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that according to the principle of which service request data is first obtained, the corresponding data is transmitted first and the transmission delay on that TCP connection is small, then the transmission is carried out on the TCP connection To achieve flexible and efficient data transmission, reflecting data priority and delay priority, reducing the overhead of dynamically deleting and establishing TCP connections, avoiding the impact of TCP slow start on transmission rate, reducing the number of TCP connections that need to be maintained, and improving the speed of each TCP connection Multiplexing and concurrency efficiency.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders 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 and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random AccessMemory, RAM), etc.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (12)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010579563.2A CN102158518B (en) | 2010-12-03 | 2010-12-03 | Data transmission method in content distribution network (CDN), network node and system |
PCT/CN2011/083448 WO2012072045A1 (en) | 2010-12-03 | 2011-12-05 | Method, network node and system for data transmission in cdn network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010579563.2A CN102158518B (en) | 2010-12-03 | 2010-12-03 | Data transmission method in content distribution network (CDN), network node and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102158518A CN102158518A (en) | 2011-08-17 |
CN102158518B true CN102158518B (en) | 2014-04-30 |
Family
ID=44439698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010579563.2A Expired - Fee Related CN102158518B (en) | 2010-12-03 | 2010-12-03 | Data transmission method in content distribution network (CDN), network node and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102158518B (en) |
WO (1) | WO2012072045A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102158518B (en) * | 2010-12-03 | 2014-04-30 | 华为技术有限公司 | Data transmission method in content distribution network (CDN), network node and system |
CN103731398A (en) * | 2012-10-11 | 2014-04-16 | 北京百度网讯科技有限公司 | Data access method, system and device based on CDN |
CN108600165A (en) * | 2018-03-15 | 2018-09-28 | 北京大米科技有限公司 | Communication means, client, Centroid based on TCP and communication system |
CN109286624B (en) * | 2018-09-27 | 2021-05-18 | 北京锐安科技有限公司 | Communication method, device, terminal and storage medium |
CN111212126B (en) * | 2019-12-27 | 2023-05-26 | 百度在线网络技术(北京)有限公司 | Data transmission method, device, equipment and medium of block chain network |
CN113556411B (en) * | 2021-06-28 | 2023-05-26 | 深圳市高德信通信股份有限公司 | CDN video scheduling device and method |
CN113992543A (en) * | 2021-10-29 | 2022-01-28 | 建信金融科技有限责任公司 | Response message sending method, device, equipment and readable storage medium |
CN114338553B (en) * | 2021-12-03 | 2023-11-28 | 深圳市欧瑞博科技股份有限公司 | Message sending method, device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674583A (en) * | 2005-03-24 | 2005-09-28 | 北京北方烽火科技有限公司 | Method for realizing high-speed Le interface based on asynchronous multi-thread |
CN101115050A (en) * | 2006-07-24 | 2008-01-30 | 中兴通讯股份有限公司 | Network service request processing system and method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2313524A (en) * | 1996-05-24 | 1997-11-26 | Ibm | Providing communications links in a computer network |
US7475129B2 (en) * | 2003-12-12 | 2009-01-06 | International Business Machines Corporation | Estimating bandwidth of client-ISP link |
JP5150459B2 (en) * | 2008-01-08 | 2013-02-20 | 株式会社日立製作所 | Content distribution method and receiving apparatus |
CN101500016A (en) * | 2008-01-31 | 2009-08-05 | 华为技术有限公司 | Service control method, system and equipment |
CN102158518B (en) * | 2010-12-03 | 2014-04-30 | 华为技术有限公司 | Data transmission method in content distribution network (CDN), network node and system |
-
2010
- 2010-12-03 CN CN201010579563.2A patent/CN102158518B/en not_active Expired - Fee Related
-
2011
- 2011-12-05 WO PCT/CN2011/083448 patent/WO2012072045A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1674583A (en) * | 2005-03-24 | 2005-09-28 | 北京北方烽火科技有限公司 | Method for realizing high-speed Le interface based on asynchronous multi-thread |
CN101115050A (en) * | 2006-07-24 | 2008-01-30 | 中兴通讯股份有限公司 | Network service request processing system and method |
Also Published As
Publication number | Publication date |
---|---|
WO2012072045A1 (en) | 2012-06-07 |
CN102158518A (en) | 2011-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102158518B (en) | Data transmission method in content distribution network (CDN), network node and system | |
US11336614B2 (en) | Content node network address selection for content delivery | |
CN102932352B (en) | The method that communicates and server is carried out with client | |
CN110430274A (en) | A kind of document down loading method and system based on cloud storage | |
US20150215400A1 (en) | File Upload Method And System | |
CN1897588B (en) | A mixed-mode network file transfer method and system | |
CN102904903B (en) | Communication system and communication means | |
JP2004171572A (en) | Method, system and server for distributing load among servers, and program | |
CN102726031A (en) | Content processing method, device and system | |
CN103475654B (en) | Network path optimization method, equipment and network system | |
CN101540775A (en) | Method and device for distributing contents and network system for distributing contents | |
WO2012075970A1 (en) | Method, device and system for obtaining media content | |
WO2017107463A1 (en) | Method and apparatus for delivering cdn addresses | |
US20150127837A1 (en) | Relay apparatus and data transfer method | |
CN101854287B (en) | Method and device for optimizing P2P traffic | |
CN105681413A (en) | Method and device for cooperative processing of data between CDN (Content Delivery Network) and ISP (Internet Service Provider) | |
JP2009163698A (en) | Streaming service system and method | |
RU2664480C2 (en) | Method, device and system for content delivery | |
US20150006622A1 (en) | Web contents transmission method and apparatus | |
WO2016180284A1 (en) | Service node allocation method, device, cdn management server and system | |
CN105897853A (en) | Peer-to-peer network connection method and device | |
WO2024138821A1 (en) | Method and apparatus for refreshing cdn cache | |
CN103188323B (en) | The system and method for Web service is provided based on subscriber's main station buffer memory device | |
US20140161125A1 (en) | Method, duplication point device, and system for data flow reuse transmission | |
CN106533760B (en) | Method and device for constructing CDN system in CM network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
ASS | Succession or assignment of patent right |
Owner name: NANTONG TIANYUAN ELECTRICAL APPLIANCE CO., LTD. Free format text: FORMER OWNER: HUIZHOU ZHITAI ENTERPRISE MANAGEMENT CO., LTD. Effective date: 20141128 Owner name: HUIZHOU ZHITAI ENTERPRISE MANAGEMENT CO., LTD. Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO., LTD. Effective date: 20141128 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 518129 SHENZHEN, GUANGDONG PROVINCE TO: 516003 HUIZHOU, GUANGDONG PROVINCE Free format text: CORRECT: ADDRESS; FROM: 516003 HUIZHOU, GUANGDONG PROVINCE TO: 226000 NANTONG, JIANGSU PROVINCE |
|
TR01 | Transfer of patent right |
Effective date of registration: 20141128 Address after: Chen Qiao street Gangzha District 226000 Jiangsu city of Nantong Province Rong Sheng Lu No. 99 Patentee after: Nantong Tianyuan Electrical Appliance Co.,Ltd. Address before: Mountain road 516003 Guangdong city in Huizhou Province, Huizhou City, No. 4 Dweh 12 storey building No. 06 A District Patentee before: HUIZHOU ZHITAI ENTERPRISE MANAGEMENT CO.,LTD. Effective date of registration: 20141128 Address after: Mountain road 516003 Guangdong city in Huizhou Province, Huizhou City, No. 4 Dweh 12 storey building No. 06 A District Patentee after: HUIZHOU ZHITAI ENTERPRISE MANAGEMENT CO.,LTD. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
ASS | Succession or assignment of patent right |
Owner name: NANTONG TIANYUAN GAS CO., LTD. Free format text: FORMER OWNER: HUIZHOU ZHITAI ENTERPRISE MANAGEMENT CO., LTD. Effective date: 20150113 Owner name: HUIZHOU ZHITAI ENTERPRISE MANAGEMENT CO., LTD. Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO., LTD. Effective date: 20150113 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 518000 SHENZHEN, GUANGDONG PROVINCE TO: HUIZHOU, GUANGDONG PROVINCE Free format text: CORRECT: ADDRESS; FROM: HUIZHOU, GUANGDONG PROVINCE TO: 226000 NANTONG, JIANGSU PROVINCE |
|
TR01 | Transfer of patent right |
Effective date of registration: 20150113 Address after: Chen Qiao street Gangzha District 226000 Jiangsu city of Nantong Province Rong Sheng Lu No. 99 Patentee after: NANTONG TIANYUAN GAS Co.,Ltd. Address before: Guangdong province Huizhou City Mountain Road No. 4 Building 12 layer Dweh No. 06 A District Patentee before: HUIZHOU ZHITAI ENTERPRISE MANAGEMENT CO.,LTD. Effective date of registration: 20150113 Address after: Guangdong province Huizhou City Mountain Road No. 4 Building 12 layer Dweh No. 06 A District Patentee after: HUIZHOU ZHITAI ENTERPRISE MANAGEMENT CO.,LTD. Address before: 518000 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140430 Termination date: 20181203 |