WO2016141820A1 - Cdn network system and speed limit control method thereof, and cdn node and server - Google Patents

Cdn network system and speed limit control method thereof, and cdn node and server Download PDF

Info

Publication number
WO2016141820A1
WO2016141820A1 PCT/CN2016/075375 CN2016075375W WO2016141820A1 WO 2016141820 A1 WO2016141820 A1 WO 2016141820A1 CN 2016075375 W CN2016075375 W CN 2016075375W WO 2016141820 A1 WO2016141820 A1 WO 2016141820A1
Authority
WO
WIPO (PCT)
Prior art keywords
domain name
cdn
server
node
bandwidth
Prior art date
Application number
PCT/CN2016/075375
Other languages
French (fr)
Chinese (zh)
Inventor
袁茁
Original Assignee
阿里巴巴集团控股有限公司
袁茁
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 阿里巴巴集团控股有限公司, 袁茁 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016141820A1 publication Critical patent/WO2016141820A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present invention relates to the field of content distribution network technologies, and in particular, to a CDN (Content Delivery Network) network system and a rate limiting control method thereof, a CDN node, and a server.
  • CDN Content Delivery Network
  • the CDN network system includes multiple CDN edge nodes.
  • a user requests a resource file of a CDN (such as a Web service or video)
  • the user's request is connected to a CDN edge node.
  • the web server speeds the download of the user for the request.
  • the target of the speed limit is always for the user who requests to download the resource file.
  • the speed limit download is only for the resource file requested by the user, and the domain name cannot be resolved on the CDN.
  • the problem that the total bandwidth exceeds the configured threshold That is to say, if more users access a domain name, the bandwidth of the CDN occupied by the domain name will be larger, which affects the bandwidth provided by the Web server on the CDN for other domain names.
  • the present application aims to solve at least one of the technical problems in the related art to some extent.
  • the first object of the present application is to propose a method for controlling the rate limit of a CDN network system, which implements controllable bandwidth values for domain names served on CDN nodes, and avoids domain names due to certain unpredictable
  • the problem occupies excessive bandwidth resources of the CDN node and affects the bandwidth resources of the CDN nodes of other domain names served on the CDN node.
  • a second object of the present application is to propose a speed limit control method for a CDN network system.
  • a third object of the present application is to propose a CDN network system.
  • a fourth object of the present application is to propose a CDN node.
  • a fifth object of the present application is to propose a global center summary server.
  • the first aspect of the present application provides a method for controlling a rate limit of a CDN network system, where the CDN network system includes a plurality of CDN nodes and a global center summary server that communicates with the plurality of CDN nodes.
  • Each of the CDN nodes includes at least one WEB server and an intra-node central control server in communication with the at least one WEB server and the global hub summary server, the method comprising the steps of: an intra-node center in each CDN node
  • the control server sends the traffic information and the domain name information of each CDN node to the global center summary server, so that the global center summary server generates a speed limit command according to the traffic information and the domain name information of each CDN node, where
  • the speed limit command includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name;
  • the intra-node central control server sends a bandwidth value provided by each WEB server in the CDN node for the supported domain name to each WEB server, so that each WEB server according to its
  • the speed limit control method of the CDN network system in the embodiment of the present application summarizes and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and is globally
  • the central summary server sends a rate limiting policy to the WEB server, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold.
  • the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • the second aspect of the present application provides a method for controlling a rate limit of a CDN network system, where the CDN network system includes a plurality of CDN nodes and a global center summary server that communicates with the plurality of CDN nodes.
  • Each of the CDN nodes includes at least one WEB server and an intra-node central control server in communication with the at least one WEB server and the global hub summary server, the method comprising the steps of: the global hub summary server receiving each The traffic information and the domain name information of the CDN node, and generate a speed limit command according to the traffic information and the domain name information of each CDN node, where the speed limit command includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name; Transmitting, by the global center summary server, the speed limit instruction to an intra-node central control server in the CDN node, so that the central control server in the node calculates the bandwidth value according to the actual provided bandwidth value for the supported domain name.
  • the bandwidth value provided by each WEB server within the CDN node for the supported domain name and Sending, to each of the WEB servers, a bandwidth value provided by each WEB server in the CDN node for the supported domain name, so that each WEB server provides according to its own corresponding domain name for the supported domain name.
  • the bandwidth value is controlled.
  • the speed limit control method of the CDN network system in the embodiment of the present application summarizes and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and is globally
  • the central summary server sends a rate limiting policy to the WEB server, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold.
  • the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • the third aspect of the present application provides a CDN network system, and the CDN network system A plurality of CDN nodes and a global hub summary server in communication with the plurality of CDN nodes, each of the CDN nodes including at least one WEB server and a node in communication with the at least one WEB server and the global hub summary server a central control server, wherein the global center summary server is configured to generate a speed limit command according to the traffic information and the domain name information of each CDN node, where the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name
  • the in-node central control server in each CDN node is configured to send the traffic information and domain name information of each CDN node to the global center summary server, and receive the speed limit instruction, and support according to the target Actually providing a bandwidth value of the domain name, calculating a bandwidth value provided by each WEB server in the CDN node for the supported domain name, and providing each WEB server in the CDN node for the supported domain
  • the CDN network system in the embodiment of the present application aggregates and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and the global center summary server sends the WEB.
  • the server sends a rate limiting policy, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold.
  • the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • the fourth aspect of the present application proposes a CDN node, the CDN node including at least one WEB server and an intra-node central control server in communication with the at least one WEB server and the global central summary server, wherein
  • the in-node central control server includes: a first sending module, configured to send the traffic information and domain name information of each CDN node to the global center summary server; and the first receiving module is configured to receive the global center a speed limit instruction generated by the summary server according to the traffic information and the domain name information of each CDN node, where the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name; and a calculation module, configured to Calculating, according to an actual bandwidth value of the supported domain name, a bandwidth value provided by each WEB server in the CDN node for the supported domain name; and a second sending module, configured to: each WEB in the CDN node Sending, by the server, the bandwidth value provided by the supported domain name to the WEB server; and the
  • the CDN node in the embodiment of the present application aggregates and collects the real-time bandwidth information of the domain name served by the CDN node through data communication with the global center summary server, and the global center summary server sends a rate limit policy to the WEB server in the CDN node.
  • the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold.
  • the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • the fifth aspect of the present application provides a global center summary server that communicates with a plurality of CDN nodes, each of the CDN nodes including at least one WEB server and the at least one An in-node central control server that communicates with the global central summary server, the global central summary server includes: a receiving module, configured to receive traffic information and domain name information of each of the CDN nodes; and a generating module, configured to: Generating a rate limit instruction according to the traffic information and the domain name information of each CDN node, where the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name; and a sending module, configured to each The in-node central control server in the CDN node transmits the speed limit command.
  • the global central summary server of the embodiment of the present invention aggregates and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication with the WEB server and the central control server in the node, and sends a speed limit to the WEB server.
  • the policy enables the WEB server to perform feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • FIG. 1 is a schematic diagram of a CDN network system in the related art
  • FIG. 2 is a flowchart of a method for controlling a rate limit of a CDN network system according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a CDN network system according to an embodiment of the present application.
  • FIG. 4 is a flowchart of a method for controlling a rate limit of a CDN network system according to an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of a CDN network system according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a CDN node according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a global center summary server according to an embodiment of the present application.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” and “second” may include one or more of the features either explicitly or implicitly.
  • the meaning of "a plurality” is two or more unless specifically and specifically defined otherwise.
  • FIG. 2 is a flowchart of a method for controlling a rate limit of a CDN network system according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a CDN network system according to an embodiment of the present application.
  • the speed limit control method of the CDN network system includes:
  • the intra-node central control server in each CDN node sends the traffic information and the domain name information of each CDN node to the global central summary server, so that the global central summary server generates a speed limit according to the traffic information and the domain name information of each CDN node.
  • the instructions, wherein the rate limit command includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name.
  • the CDN network system includes a plurality of CDN nodes and a global center summary server that communicates with a plurality of CDN nodes.
  • each CDN node includes at least one WEB server and an intra-node central control server that communicates with at least one WEB server and a global center summary server.
  • the user's access request is sent to the WEB server of a specific CDN node, and the WEB server returns the resource file required by the user to access the domain name. That is, when the user downloads the resource file from a certain WEB server, the WEB server counts the number of bytes sent by the WEB server every second to record the downlink traffic of the domain name at the current time.
  • the WEB server summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server in the CDN node.
  • the intra-node central control server in each CDN node receives the traffic increment reported by the WEB server in the CDN node for the supported domain name, and generates a CDN node corresponding according to the traffic increment and the supported domain name. Traffic information and domain name information. Specifically, the in-node central control server from the CDN section Each WEB server in the point collects the bandwidth of each domain name, and calculates the bandwidth value of each domain name in the CDN node. That is to say, after receiving the increment of the domain name and the domain name downlink traffic sent by the WEB server, the central control server in the node summarizes the increment of the domain name and the domain name downlink traffic supported by each WEB server according to the second preset period.
  • the domain name information and the corresponding traffic information under the CDN node are generated. Then, the central control server in the node sends the generated domain name information and the corresponding traffic information to the global center summary server, so that the global center summary server can query the current bandwidth of any domain name according to the domain name information and the corresponding traffic information at any time. Information, or query bandwidth information on any CDN node to any domain name.
  • the global center summary server aggregates the traffic information and the domain name information sent by each CDN node, and determines whether the current bandwidth of the domain name is greater than the bandwidth threshold. If the current bandwidth of the domain name is greater than the bandwidth threshold, According to the traffic information and domain name information sent by each CDN node, each CDN node provides a speed limit value for the domain name, and a speed limit command according to the actual bandwidth value provided by each CDN node for the domain name. Specifically, the global center summary server calculates the bandwidth information of each domain name on each CDN node according to the domain name information and the traffic information summarized by the CDN node, and then determines whether the bandwidth information of each domain name exceeds the configured bandwidth threshold.
  • the bandwidth information of the domain name that is queried by the global center summary server is used to estimate the bandwidth threshold that each CDN node should actually serve, according to the bandwidth information served by each CDN node.
  • the speed limit threshold of each CDN node is calculated, and a speed limit command is generated at the same time.
  • the global center summary server delivers the speed limit command of the domain name to the central control server in the node of the CDN node, and notifies the central control server of the bandwidth value that the domain name server should serve under the CDN node.
  • the bandwidth of each CDN node supporting the domain name is kept unchanged. Specifically, if the global center summary server determines that the bandwidth information of a domain name does not exceed the configured bandwidth threshold, the global center summary server only collects the bandwidth information of the domain name, and does not issue a speed limit command.
  • the intra-node central control server receives the speed limit command, and calculates a bandwidth value provided by each WEB server in the CDN node for the supported domain name according to the actual bandwidth value provided for the supported domain name.
  • the central control server in the node determines the number of WEB servers serving the domain name in the CDN node, and calculates that each WEB server should provide the domain name. Bandwidth value.
  • the intra-node central control server sends the bandwidth value provided by each WEB server in the CDN node to the WEB server for the supported domain name, so that each WEB server according to its own corresponding bandwidth provided for the supported domain name. The value is controlled.
  • the intra-node central control server sends the bandwidth value that each WEB server should provide to the corresponding WEB server.
  • the WEB server can be configured with a bandwidth threshold, and the bandwidth value of the domain name is limited to Between wide thresholds.
  • the WEB server adjusts the bandwidth value of the domain name served within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
  • the global center summary server generates a speed limit instruction according to a preset period.
  • the WEB server performs speed limit. Specifically, in the process of limiting the download speed of the user by the web server in the CDN node, the global center summary server determines that the current bandwidth value of the domain name does not exceed the bandwidth threshold, as the current bandwidth value of the domain name decreases.
  • the global center summary server no longer issues a speed limit command to each CDN node.
  • the CDN node no longer issues a speed limit command to each WEB server in the CDN node, and the WEB server no longer controls the provided bandwidth value, thereby restoring the user's download speed.
  • the speed limit control method of the CDN network system in the embodiment of the present application summarizes and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and is globally
  • the central summary server sends a rate limiting policy to the WEB server, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold.
  • the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • the present application also proposes a speed limit control method for a CDN network system.
  • a method for controlling a rate limit of a CDN network system includes:
  • the global center summary server receives the traffic information and the domain name information of each CDN node, and generates a speed limit command according to the traffic information and the domain name information of each CDN node, where the speed limit command includes the actual CDN node for the supported domain name. Provide a bandwidth value.
  • the CDN network system includes a plurality of CDN nodes and a global center summary server that communicates with a plurality of CDN nodes.
  • each CDN node includes at least one WEB server and an intra-node central control server that communicates with at least one WEB server and a global center summary server.
  • the user's access request is sent to the WEB server of a specific CDN node, and the WEB server returns the resource file required by the user to access the domain name. That is, when the user downloads the resource file from a certain WEB server, the WEB server counts the number of bytes sent by the WEB server every second to record the downlink traffic of the domain name at the current time.
  • the WEB server summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server in the CDN node.
  • the intra-node central control server in each CDN node receives the CDN section
  • the traffic increment reported by the WEB server for the supported domain name is generated, and the traffic information and domain name information corresponding to the CDN node are generated according to the traffic increment and the supported domain name.
  • the intra-node central control server collects the bandwidth of each domain name from each WEB server in the CDN node, and calculates the bandwidth value of each domain name in the CDN node. That is to say, after receiving the increment of the domain name and the domain name downlink traffic sent by the WEB server, the central control server in the node summarizes the increment of the domain name and the domain name downlink traffic supported by each WEB server according to the second preset period.
  • the domain name information and the corresponding traffic information under the CDN node are generated. Then, the central control server in the node sends the generated domain name information and the corresponding traffic information to the global center summary server, so that the global center summary server can query the current bandwidth of any domain name according to the domain name information and the corresponding traffic information at any time. Information, or query bandwidth information on any CDN node to any domain name.
  • the global center summary server aggregates the traffic information and the domain name information sent by each CDN node, and determines whether the current bandwidth of the domain name is greater than the bandwidth threshold. If the current bandwidth of the domain name is greater than the bandwidth threshold, According to the traffic information and domain name information sent by each CDN node, each CDN node provides a speed limit value for the domain name, and a speed limit command according to the actual bandwidth value provided by each CDN node for the domain name. Specifically, the global center summary server calculates the bandwidth information of each domain name on each CDN node according to the domain name information and the traffic information summarized by the CDN node, and then determines whether the bandwidth information of each domain name exceeds the configured bandwidth threshold.
  • the bandwidth information of the domain name that is queried by the global center summary server is used to estimate the bandwidth threshold that each CDN node should actually serve, according to the bandwidth information served by each CDN node.
  • the speed limit threshold of each CDN node is calculated, and a speed limit command is generated at the same time.
  • the global center summary server sends a speed limit command to the central control server in the node in the CDN node, so that the central control server in the node calculates each WEB server in the CDN node according to the actual bandwidth value provided for the supported domain name. Supporting the bandwidth value provided by the domain name, and sending each WEB server in the CDN node to each WEB server for the bandwidth value provided by the supported domain name, so that each WEB server provides according to its corresponding domain name for the supported domain name. The bandwidth value is controlled.
  • the global center summary server delivers the speed limit command of the domain name to the central control server in the node of the CDN node, and notifies the central control server of the node that the domain name should be served under the CDN node.
  • the bandwidth of each CDN node supporting the domain name is kept unchanged. Specifically, if the global center summary server determines that the bandwidth information of a domain name does not exceed the configured bandwidth threshold, the global center summary server only collects the bandwidth information of the domain name, and does not issue a speed limit command.
  • the central control server in the node After receiving the bandwidth value that the domain name should serve under the CDN node, the central control server in the node determines the number of WEB servers serving the domain name in the CDN node, and calculates that each WEB server should be the domain. The bandwidth value provided by the name.
  • the intra-node central control server sends the bandwidth value that each WEB server should provide to the corresponding WEB server.
  • the WEB server can be configured with a bandwidth threshold, and the bandwidth value of the domain name is limited to a bandwidth threshold.
  • the WEB server adjusts the bandwidth value of the domain name served within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
  • the global center summary server generates a speed limit instruction according to a preset period.
  • the WEB server performs speed limit. Specifically, in the process of limiting the download speed of the user by the web server in the CDN node, the global center summary server determines that the current bandwidth value of the domain name does not exceed the bandwidth threshold, as the current bandwidth value of the domain name decreases.
  • the global center summary server no longer issues a speed limit command to each CDN node.
  • the CDN node no longer issues a speed limit command to each WEB server in the CDN node, and the WEB server no longer controls the provided bandwidth value, thereby restoring the user's download speed.
  • the speed limit control method of the CDN network system in the embodiment of the present application summarizes and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and is globally
  • the central summary server sends a rate limiting policy to the WEB server, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold.
  • the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • the present application also proposes a CDN network system.
  • FIG. 5 is a schematic structural diagram of a CDN network system according to an embodiment of the present application.
  • the CDN network system includes: a plurality of CDN nodes 100 and a global center summary server 200 that communicates with a plurality of CDN nodes.
  • Each CDN node 100 includes at least one WEB server 110 and an intra-node central control server 120 in communication with at least one WEB server 110 and global central summary server 200.
  • the intra-node central control server 120 in each CDN node 100 is configured to transmit the traffic information and domain name information of each CDN node 100 to the global center summary server 200.
  • the WEB server 110 when a user accesses a certain domain name, the user's access request is sent to the WEB server 110 of a specific CDN node 100, and the WEB server 110 returns the resource file required for the user to access the domain name. That is, when the user downloads the resource file from a certain WEB server 110, the WEB server 10 counts the number of bytes sent by the WEB server 110 per second to record the downlink traffic of the domain name at the current time.
  • the WEB server 110 summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server 120 in the CDN node 100.
  • the intra-node central control server 120 in each CDN node 100 also And receiving the traffic increment for the supported domain name reported by the WEB server 110 in the CDN node 100, and generating traffic information and domain name information corresponding to the CDN node 100 according to the traffic increment and the supported domain name. Specifically, the intra-node central control server 120 collects the bandwidth status of each domain name from each WEB server 110 in the CDN node 100, and calculates the bandwidth value of each domain name in the CDN node 100.
  • the intra-node central control server 120 increases the downlink traffic of the domain name and the domain name supported by each WEB server 110 according to the second preset period. The amount is aggregated to generate domain name information and corresponding traffic information under the CDN node 100. Then, the in-node central control server 120 transmits the generated domain name information and the corresponding traffic information to the global center summary server 200. Therefore, the global center summary server 200 can query the current bandwidth information of any domain name according to the domain name information and the corresponding traffic information at any time, or query the bandwidth information of any domain name at any CDN node 100.
  • the global center summary server 200 is configured to generate a speed limit command according to the traffic information and the domain name information of each CDN node 100, wherein the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node 100 for the supported domain name.
  • the global center summary server 200 is further configured to summarize the traffic information and the domain name information sent by each CDN node 100, and determine whether the current bandwidth of the domain name is greater than the bandwidth threshold, and the current bandwidth of the domain name.
  • the rate information and domain name information transmitted by each CDN node 100 is generated by each CDN node 100 for the actual bandwidth value of the domain name, and the speed limit command is generated based on the actual bandwidth value provided by each CDN node 100 for the domain name.
  • the global center summary server 200 calculates the bandwidth information of each domain name on each CDN node 100 according to the domain name information and the traffic information summarized by the CDN node 100, and then determines whether the bandwidth information of each domain name exceeds the configured bandwidth. Threshold. If the current bandwidth of a certain domain name exceeds the bandwidth threshold, the bandwidth information of the domain name queried by the global center summary server 200 is used to estimate the bandwidth threshold that each CDN node 100 should actually serve, according to each CDN node 100. The bandwidth information calculates a speed limit threshold for each CDN node 100 and generates a speed limit command. The global center summary server 200 delivers the speed limit command of the domain name to the intra-node central control server 120 in the CDN node 100, and notifies the central control server 120 of the bandwidth value that the domain name should serve under the CDN node 100.
  • the global center summary server 200 is further configured to keep the bandwidth of each CDN node 100 supporting the domain name unchanged when the current bandwidth of the domain name is less than the bandwidth threshold. Specifically, if the global center summary server 200 determines that the bandwidth information of a domain name does not exceed the configured bandwidth threshold, the global center summary server 200 only collects the bandwidth information of the domain name, and does not issue a speed limit command.
  • the intra-node central control server 120 in each CDN node 100 receives the rate limit command and calculates the bandwidth value provided by each WEB server 110 within the CDN node 100 for the supported domain name based on the actual provided bandwidth value for the supported domain name. And transmitting, to each WEB server 110, the bandwidth value provided by each WEB server 110 within the CDN node 100 for the supported domain name.
  • the intra-node central control server 120 After receiving the bandwidth value that the domain name should serve under the CDN node 100, the number of the WEB servers 110 serving the domain name in the CDN node 100 is determined, and the bandwidth value that each WEB server 110 should provide for the domain name is calculated.
  • the intra-node central control server 120 transmits the bandwidth value that each WEB server 110 should provide to the corresponding WEB server 110.
  • Each WEB server 110 is configured to control according to its own corresponding bandwidth value provided for the supported domain name. Specifically, the WEB server 110 can configure a bandwidth threshold to limit the bandwidth value of the domain name between the bandwidth thresholds. The WEB server 110 adjusts the bandwidth value serving the domain name within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
  • the global center summary server 200 generates a speed limit instruction according to a preset period, and the in-node center control server 120 in the CDN node 100 is further configured to not receive the speed limit instruction of the global center summary server 200.
  • the speed limit of the WEB server 110 in the CDN node 100 is stopped.
  • the global center summary server 200 determines that the current bandwidth value of the domain name no longer exceeds the bandwidth as the current bandwidth value of the domain name decreases. The threshold, the global center summary server 200 no longer issues a speed limit command to each CDN node 100.
  • the CDN node 100 no longer issues a speed limit command to each WEB server 110 in the CDN node 100, and the WEB server 110 no longer controls the provided bandwidth value, thereby restoring the user's download speed.
  • the CDN network system in the embodiment of the present application aggregates and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and the global center summary server sends the WEB.
  • the server sends a rate limiting policy, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold.
  • the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • the present application also proposes a CDN node.
  • the CDN node 100 includes: at least one WEB server 110 and intra-node central control in communication with at least one WEB server 110 and global central summary server 200.
  • the server 120 wherein the intra-node central control server 120 includes a first sending module 121, a first receiving module 122, a calculating module 123, a second sending module 124, a second receiving module 125, and a generating module 126.
  • the first sending module 121 is configured to send the traffic information and the domain name information of each CDN node 100 to the global center summary server 200.
  • the user's access request is sent to the WEB server 110 of a specific CDN node 100, and the WEB server 110 returns the user to the user.
  • the resource file required for the domain name That is, when the user downloads the resource file from a certain WEB server 110, the WEB server 110 counts the number of bytes sent by the WEB server 110 per second to record the downlink traffic of the domain name at the current time.
  • the WEB server 110 summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server 120 in the CDN node.
  • the intra-node central control server 120 further includes a second receiving module 125 and a generating module 126.
  • the second receiving module 125 is configured to receive the traffic increment reported by the WEB server 100 for the supported domain name.
  • the generating module 126 is configured to generate traffic information and domain name information corresponding to the CDN node 100 according to the traffic increment and the supported domain name.
  • the second receiving module 125 collects the bandwidth of each domain name from each WEB server 110 in the CDN node 100, and calculates the bandwidth value of each domain name in the CDN node 100.
  • the second receiving module 125 After receiving the increment of the domain name and the domain name downlink traffic sent by the WEB server, the second receiving module 125 generates the domain name and the domain name downlink traffic supported by each WEB server 110 according to the second preset period. The aggregation is performed in increments to generate domain name information and corresponding traffic information under the CDN node 100. Then, the first sending module 121 sends the generated domain name information and the corresponding traffic information to the global center summary server 200, whereby the global center summary server 200 can query any domain name according to the domain name information and the corresponding traffic information at any time. Current bandwidth information, or query bandwidth information of any domain name at any CDN node 100.
  • the global center summary server 200 summarizes the traffic information and the domain name information sent by the first sending module 121 of each CDN node, and determines whether the current bandwidth of the domain name is greater than the bandwidth threshold, if the domain name is If the current bandwidth is greater than the bandwidth threshold, the traffic information and domain name information sent by the first sending module 121 of each CDN node 100, the actual bandwidth value provided by each CDN node 100 for the domain name, and the actual domain name according to each CDN node 100. Provide a bandwidth value to generate a speed limit command.
  • the global center summary server 200 calculates the bandwidth information of each domain name on each CDN node 100 according to the domain name information and the traffic information summarized by the CDN node 100, and then determines whether the bandwidth information of each domain name exceeds the configured bandwidth. Threshold. If the current bandwidth of a certain domain name exceeds the bandwidth threshold, the bandwidth information of the domain name queried by the global center summary server 200 is used to estimate the bandwidth threshold that each CDN node 100 should actually serve, according to each CDN node 100. The bandwidth information calculates a speed limit threshold for each CDN node 100 and generates a speed limit command. The global center summary server 200 delivers the speed limit command of the domain name to the first receiving module 122 in the CDN node 100, and notifies the first receiving module 122 of the bandwidth value that the domain name should serve under the CDN node 100.
  • the bandwidth of each CDN node 100 that supports the domain name remains unchanged. Specifically, if the global center summary server 200 determines that the bandwidth information of a certain domain name does not exceed the configured bandwidth threshold, the global center summary server 200 only takes the domain name band. The wide information is used for statistics, and the speed limit command is not issued.
  • the first receiving module 122 is configured to receive a speed limit command generated by the global center summary server 200 according to the traffic information and the domain name information of each CDN node 100, where the speed limit command includes the actual provided bandwidth value of the corresponding CDN node 100 for the supported domain name. .
  • the calculation module 123 is configured to calculate a bandwidth value provided by each WEB server 110 within the CDN node 100 for the supported domain name according to the actual provided bandwidth value for the supported domain name. Specifically, after the first receiving module 122 receives the bandwidth value that the domain name should serve under the CDN node 100, the calculating module 123 determines the number of the WEB server 110 serving the domain name in the CDN node 100, and calculates each WEB. The bandwidth value that the server 110 should provide for the domain name.
  • the second sending module 124 is configured to send the bandwidth value provided by each WEB server 110 in the CDN node 100 to the WEB server 110 for the supported domain name. Specifically, the second sending module 124 sends the bandwidth value that each WEB server 110 should provide to the corresponding WEB server 110.
  • the WEB server 110 is configured to control according to its own corresponding bandwidth value provided for the supported domain name. Specifically, the WEB server 110 can configure a bandwidth threshold to limit the bandwidth value of the domain name between the bandwidth thresholds. The WEB server 110 adjusts the bandwidth value serving the domain name within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
  • the global center summary server 200 generates a speed limit command according to a preset period.
  • the network limit of the WEB server 110 is stopped. speed.
  • the global center summary server 200 determines that the current bandwidth value of the domain name no longer exceeds the bandwidth as the current bandwidth value of the domain name decreases. The threshold, the global center summary server 200 no longer issues a speed limit command to the first receiving module 122 of each CDN node 100.
  • the second sending module 124 of the CDN node 100 no longer issues a speed limit command to each WEB server 110 in the CDN node 100, and the WEB server 100 no longer controls the provided bandwidth value, thereby restoring the download speed of the user.
  • the CDN node in the embodiment of the present application aggregates and collects the real-time bandwidth information of the domain name served by the CDN node through data communication with the global center summary server, and the global center summary server sends a rate limit policy to the WEB server in the CDN node.
  • the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
  • the present application also proposes a global center summary server.
  • FIG. 7 is a schematic structural diagram of a global center summary server according to an embodiment of the present application.
  • the global center summary server 200 includes a receiving module 210, a generating module 220, and a sending module 230.
  • the generating module 220 includes a summary unit 221, a determining unit 222, a sending unit 223, and a generating unit 224.
  • the receiving module 210 is configured to receive traffic information and domain name information of each CDN node 100. Specifically, when a user accesses a certain domain name, the user's access request is sent to the WEB server 110 of a specific CDN node 100, and the WEB server 110 returns the resource file required for the user to access the domain name. That is, when the user downloads the resource file from a certain WEB server 110, the WEB server 110 counts the number of bytes sent by the WEB server 110 per second to record the downlink traffic of the domain name at the current time. The WEB server 110 summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server 120 in the CDN node 110.
  • the intra-node central control server 120 in each CDN node 100 receives the traffic increment reported by the WEB server 110 in the CDN node 100 for the supported domain name, and according to the traffic increment and the supported domain name.
  • the traffic information and the domain name information corresponding to the CDN node 100 are generated.
  • the intra-node central control server 120 collects the bandwidth status of each domain name from each WEB server 110 in the CDN node 100, and calculates the bandwidth value of each domain name in the CDN node 100.
  • the intra-node central control server 120 increases the downlink traffic of the domain name and the domain name supported by each WEB server 110 according to the second preset period. The amount is aggregated to generate domain name information and corresponding traffic information under the CDN node 100. Then, the in-node central control server 120 sends the generated domain name information and the corresponding traffic information to the receiving module 210 of the global center summary server 200, whereby the global center summary server 200 can use the domain name information and the corresponding traffic information at any time. Query the current bandwidth information of any domain name, or query the bandwidth information of any domain name at any CDN node 100.
  • the generating module 220 is configured to generate a speed limit command according to the traffic information and the domain name information of each CDN node 100, wherein the speed limit command includes an actual provided bandwidth value of the corresponding CDN node 100 for the supported domain name.
  • the generating module 220 includes a summary unit 221, a determining unit 222, a transmitting unit 223, and a generating unit 224.
  • the summary unit 221 is configured to summarize the traffic information and the domain name information of each CDN node 100.
  • the determining unit 222 is configured to determine whether the current bandwidth of the domain name is greater than the bandwidth threshold.
  • the sending unit 223 is configured to: when the current bandwidth of the domain name is greater than the bandwidth threshold, send the actual provided bandwidth value of each CDN node 100 for the domain name according to the traffic information and the domain name information sent by each CDN node 100.
  • the generating unit 224 is configured to generate a speed limit instruction according to an actual provided bandwidth value of each domain name of each CDN node.
  • the summary unit 221 calculates the bandwidth information of each domain name on each CDN node 100 according to the domain name information and the traffic information summarized by the CDN node 100, and then the determining unit 222 determines whether the bandwidth information of each domain name exceeds the configured Bandwidth threshold. If the determining unit 222 determines that the current bandwidth of a certain domain name exceeds the bandwidth threshold, the receiving module The bandwidth information of the domain name received by the network 210 is used to estimate the bandwidth threshold that each CDN node 100 should actually serve. The rate limit threshold of each CDN node 100 is calculated according to the bandwidth information served by each CDN node 100, and the generating unit 224 is generated. Generate a speed limit command.
  • the sending module 230 is configured to send a speed limit instruction to the intra-node central control server in each CDN node 100. Specifically, the sending module 230 sends a speed limit command of the domain name to the intra-node central control server 120 in the CDN node 100, and the sending unit 223 sends the domain name to the intra-node central control server 120 that the domain name should be served under the CDN node 100. Bandwidth value.
  • the determining unit 222 determines that the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node holding the domain name is unchanged. Specifically, if the determining unit 222 determines that the bandwidth information of a certain domain name does not exceed the configured bandwidth threshold, the generating unit 224 only collects the bandwidth information of the domain name, and the sending module 230 does not send the speed limit command.
  • the intra-node central control server 120 determines the number of the WEB servers 110 serving the domain name in the CDN node 100, and calculates each The bandwidth value that the WEB server 110 should provide for the domain name.
  • the intra-node central control server 120 transmits the bandwidth value that each WEB server 110 should provide to the corresponding WEB server 110.
  • the WEB server 110 can be configured with a bandwidth threshold, and the bandwidth value of the domain name is limited to a bandwidth threshold.
  • the WEB server 110 adjusts the bandwidth value serving the domain name within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
  • the generating module 220 generates a speed limit command according to a preset period, and when the node center control server 120 in the CDN node 100 does not receive the speed limit command sent by the sending module 230, stops the CDN node.
  • the WEB server 110 in 100 performs speed limit. Specifically, in the process of limiting the download speed of the user by the WEB server 110 in the CDN node 100, the determination unit 222 determines that the current bandwidth value of the domain name does not exceed the bandwidth threshold, as the current bandwidth value of the domain name decreases. Then, the sending module 230 does not issue a speed limit command to the in-node central control server 120 of each CDN node 100.
  • the intra-node central control server 120 also no longer issues a speed limit command to each WEB server 110 in the CDN node 100, and the WEB server 100 no longer controls the provided bandwidth value, thereby restoring the user's download speed.
  • the global central summary server of the embodiment of the present invention aggregates and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication with the WEB server and the central control server in the node, and sends a speed limit to the WEB server.
  • the policy enables the WEB server to perform feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name is prevented from occupying excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domains of the service on the CDN node. The bandwidth resource on the CDN node.
  • portions of the application can be implemented in hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • the terms “installation”, “connected”, “connected”, and the like are to be understood broadly, and may be either a fixed connection or a detachable connection, or Integral; may be mechanically connected or electrically connected; may be directly connected, or may be indirectly connected through an intermediate medium, and may be internal communication of two elements or an interaction relationship of two elements unless explicitly defined otherwise.
  • the specific meanings of the above terms in the present application can be understood on a case-by-case basis.

Abstract

Proposed is a CDN network system and a speed limit control method thereof, and a CDN node and a server. The method comprises: an intra-node central control server in each CDN node sending to a global central summarizing server flow information and domain name information about each CDN node, and the global central summarizing server generating, according to the flow information and the domain name information, a speed limit instruction comprising a bandwidth value actually provided by the corresponding CDN node for a supported domain name; the intra-node central control server receiving the speed limit instruction and calculating, according to the actually provided bandwidth value, a bandwidth value provided by each web server in a CDN node for the supported domain name; and the intra-node central control server sending to each web server the bandwidth value provided by each web server in the CDN node for the supported domain name, so that each web server performs control according to the bandwidth value. The method of the embodiments of the present application avoids the case where a domain name occupies too many bandwidth resources of a CDN node.

Description

CDN网络系统及其限速控制方法、CDN节点和服务器CDN network system and its speed limit control method, CDN node and server 技术领域Technical field
本申请涉及内容分发网络技术领域,尤其涉及一种CDN(Content Delivery Network,内容分发网络)网络系统及其限速控制方法、CDN节点和服务器。The present invention relates to the field of content distribution network technologies, and in particular, to a CDN (Content Delivery Network) network system and a rate limiting control method thereof, a CDN node, and a server.
背景技术Background technique
如图1所示,CDN网络系统的构架中包括多个CDN边缘节点,当用户请求CDN的某一个资源文件时(例如Web服务、视频),用户的请求会连接到某个CDN边缘节点内的某一台Web服务器上。目前,Web服务器会针对请求对用户下载进行限速,然而限速的目标始终是针对请求下载资源文件的用户,仅仅是对用户请求的资源文件进行限速下载,并不能解决某个域名在CDN上总带宽超过配置阈值的问题。也就是说,如果访问某个域名的用户越多,该域名所占用CDN的带宽也就越大,从而影响了CDN上的Web服务器为其它域名所提供的带宽。As shown in FIG. 1, the CDN network system includes multiple CDN edge nodes. When a user requests a resource file of a CDN (such as a Web service or video), the user's request is connected to a CDN edge node. On a web server. Currently, the web server speeds the download of the user for the request. However, the target of the speed limit is always for the user who requests to download the resource file. The speed limit download is only for the resource file requested by the user, and the domain name cannot be resolved on the CDN. The problem that the total bandwidth exceeds the configured threshold. That is to say, if more users access a domain name, the bandwidth of the CDN occupied by the domain name will be larger, which affects the bandwidth provided by the Web server on the CDN for other domain names.
申请内容Application content
本申请旨在至少在一定程度上解决相关技术中的技术问题之一。The present application aims to solve at least one of the technical problems in the related art to some extent.
为此,本申请的第一个目的在于提出一种CDN网络系统的限速控制方法,该方法实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。To this end, the first object of the present application is to propose a method for controlling the rate limit of a CDN network system, which implements controllable bandwidth values for domain names served on CDN nodes, and avoids domain names due to certain unpredictable The problem occupies excessive bandwidth resources of the CDN node and affects the bandwidth resources of the CDN nodes of other domain names served on the CDN node.
本申请的第二个目的在于提出一种CDN网络系统的限速控制方法。A second object of the present application is to propose a speed limit control method for a CDN network system.
本申请的第三个目的在于提出一种CDN网络系统。A third object of the present application is to propose a CDN network system.
本申请的第四个目的在于提出一种CDN节点。A fourth object of the present application is to propose a CDN node.
本申请的第五个目的在于提出一种全局中心汇总服务器。A fifth object of the present application is to propose a global center summary server.
为达上述目的,本申请第一方面实施例提出了一种CDN网络系统的限速控制方法,所述CDN网络系统包括多个CDN节点和与所述多个CDN节点通信的全局中心汇总服务器,每个所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和所述全局中心汇总服务器通信的节点内中心控制服务器,所述方法包括以下步骤:每个CDN节点中的节点内中心控制服务器向所述全局中心汇总服务器发送所述每个CDN节点的流量信息和域名信息,以使所述全局中心汇总服务器根据所述每个CDN节点的流量信息和域名信息生成限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;所述节 点内中心控制服务器接收所述限速指令,并根据所述针对所支持域名的实际提供带宽值,计算所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值;以及所述节点内中心控制服务器将所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值发送至所述每个WEB服务器,以使所述每个WEB服务器根据自身对应的针对所述所支持域名所提供的带宽值进行控制。To achieve the above objective, the first aspect of the present application provides a method for controlling a rate limit of a CDN network system, where the CDN network system includes a plurality of CDN nodes and a global center summary server that communicates with the plurality of CDN nodes. Each of the CDN nodes includes at least one WEB server and an intra-node central control server in communication with the at least one WEB server and the global hub summary server, the method comprising the steps of: an intra-node center in each CDN node The control server sends the traffic information and the domain name information of each CDN node to the global center summary server, so that the global center summary server generates a speed limit command according to the traffic information and the domain name information of each CDN node, where The speed limit command includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name; Receiving, by the in-point central control server, the rate limit command, and calculating, according to the actual provided bandwidth value for the supported domain name, a bandwidth value provided by each WEB server in the CDN node for the supported domain name; The intra-node central control server sends a bandwidth value provided by each WEB server in the CDN node for the supported domain name to each WEB server, so that each WEB server according to its own corresponding Controlling the bandwidth value provided by the supported domain name.
本申请实施例的CDN网络系统的限速控制方法,通过WEB服务器、节点内中心控制服务器和全局中心汇总服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并由全局中心汇总服务器向WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The speed limit control method of the CDN network system in the embodiment of the present application summarizes and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and is globally The central summary server sends a rate limiting policy to the WEB server, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
为达上述目的,本申请第二方面实施例提出了一种CDN网络系统的限速控制方法,所述CDN网络系统包括多个CDN节点和与所述多个CDN节点通信的全局中心汇总服务器,每个所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和所述全局中心汇总服务器通信的节点内中心控制服务器,所述方法包括以下步骤:所述全局中心汇总服务器接收每个CDN节点的流量信息和域名信息,并根据所述每个CDN节点的流量信息和域名信息生成限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;以及所述全局中心汇总服务器向所述CDN节点中的节点内中心控制服务器发送所述限速指令,以使所述节点内中心控制服务器根据所述针对所支持域名的实际提供带宽值,计算所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值,并将所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值发送至所述每个WEB服务器,以使所述每个WEB服务器根据自身对应的针对所述所支持域名所提供的带宽值进行控制。To achieve the above objective, the second aspect of the present application provides a method for controlling a rate limit of a CDN network system, where the CDN network system includes a plurality of CDN nodes and a global center summary server that communicates with the plurality of CDN nodes. Each of the CDN nodes includes at least one WEB server and an intra-node central control server in communication with the at least one WEB server and the global hub summary server, the method comprising the steps of: the global hub summary server receiving each The traffic information and the domain name information of the CDN node, and generate a speed limit command according to the traffic information and the domain name information of each CDN node, where the speed limit command includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name; Transmitting, by the global center summary server, the speed limit instruction to an intra-node central control server in the CDN node, so that the central control server in the node calculates the bandwidth value according to the actual provided bandwidth value for the supported domain name. The bandwidth value provided by each WEB server within the CDN node for the supported domain name, and Sending, to each of the WEB servers, a bandwidth value provided by each WEB server in the CDN node for the supported domain name, so that each WEB server provides according to its own corresponding domain name for the supported domain name. The bandwidth value is controlled.
本申请实施例的CDN网络系统的限速控制方法,通过WEB服务器、节点内中心控制服务器和全局中心汇总服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并由全局中心汇总服务器向WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The speed limit control method of the CDN network system in the embodiment of the present application summarizes and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and is globally The central summary server sends a rate limiting policy to the WEB server, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
为达上述目的,本申请第三方面实施例提出了一种CDN网络系统,所述CDN网络系统 包括多个CDN节点和与所述多个CDN节点通信的全局中心汇总服务器,每个所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和所述全局中心汇总服务器通信的节点内中心控制服务器,其中,所述全局中心汇总服务器用于根据每个CDN节点的流量信息和域名信息生成限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;每个CDN节点中的节点内中心控制服务器用于向所述全局中心汇总服务器发送所述每个CDN节点的流量信息和域名信息,并接收所述限速指令,以及根据所述针对所支持域名的实际提供带宽值,计算所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值,并将所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值发送至每个WEB服务器;以及所述每个WEB服务器用于根据自身对应的针对所述所支持域名所提供的带宽值进行控制。To achieve the above objective, the third aspect of the present application provides a CDN network system, and the CDN network system A plurality of CDN nodes and a global hub summary server in communication with the plurality of CDN nodes, each of the CDN nodes including at least one WEB server and a node in communication with the at least one WEB server and the global hub summary server a central control server, wherein the global center summary server is configured to generate a speed limit command according to the traffic information and the domain name information of each CDN node, where the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name The in-node central control server in each CDN node is configured to send the traffic information and domain name information of each CDN node to the global center summary server, and receive the speed limit instruction, and support according to the target Actually providing a bandwidth value of the domain name, calculating a bandwidth value provided by each WEB server in the CDN node for the supported domain name, and providing each WEB server in the CDN node for the supported domain name The bandwidth value is sent to each WEB server; and each of the WEB servers is used to target according to its own Domain bandwidth value provided for controlling said supports.
本申请实施例的CDN网络系统,通过WEB服务器、节点内中心控制服务器和全局中心汇总服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并由全局中心汇总服务器向WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The CDN network system in the embodiment of the present application aggregates and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and the global center summary server sends the WEB. The server sends a rate limiting policy, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
为达上述目的,本申请第四方面实施例提出了一种CDN节点,所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和全局中心汇总服务器通信的节点内中心控制服务器,其中,所述节点内中心控制服务器包括:第一发送模块,用于向所述全局中心汇总服务器发送所述每个CDN节点的流量信息和域名信息;第一接收模块,用于接收所述全局中心汇总服务器根据所述每个CDN节点的流量信息和域名信息生成的限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;计算模块,用于根据所述针对所支持域名的实际提供带宽值,计算所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值;第二发送模块,用于将所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值发送至所述WEB服务器;以及所述WEB服务器用于根据自身对应的针对所述所支持域名所提供的带宽值进行控制。To achieve the above objective, the fourth aspect of the present application proposes a CDN node, the CDN node including at least one WEB server and an intra-node central control server in communication with the at least one WEB server and the global central summary server, wherein The in-node central control server includes: a first sending module, configured to send the traffic information and domain name information of each CDN node to the global center summary server; and the first receiving module is configured to receive the global center a speed limit instruction generated by the summary server according to the traffic information and the domain name information of each CDN node, where the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name; and a calculation module, configured to Calculating, according to an actual bandwidth value of the supported domain name, a bandwidth value provided by each WEB server in the CDN node for the supported domain name; and a second sending module, configured to: each WEB in the CDN node Sending, by the server, the bandwidth value provided by the supported domain name to the WEB server; and the WEB server In accordance with a control value for the bandwidth of the support provided by the domain name corresponding to itself.
本申请实施例的CDN节点,通过与全局中心汇总服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并由全局中心汇总服务器向CDN节点中WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽 阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The CDN node in the embodiment of the present application aggregates and collects the real-time bandwidth information of the domain name served by the CDN node through data communication with the global center summary server, and the global center summary server sends a rate limit policy to the WEB server in the CDN node. The WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
为达上述目的,本申请第五方面实施例提出了一种全局中心汇总服务器,所述全局中心汇总服务器与多个CDN节点通信,每个所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和所述全局中心汇总服务器通信的节点内中心控制服务器,所述全局中心汇总服务器包括:接收模块,用于接收每个所述CDN节点的流量信息和域名信息;生成模块,用于根据所述每个CDN节点的流量信息和域名信息生成限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;以及发送模块,用于向每个所述CDN节点中的节点内中心控制服务器发送所述限速指令。To achieve the above objective, the fifth aspect of the present application provides a global center summary server that communicates with a plurality of CDN nodes, each of the CDN nodes including at least one WEB server and the at least one An in-node central control server that communicates with the global central summary server, the global central summary server includes: a receiving module, configured to receive traffic information and domain name information of each of the CDN nodes; and a generating module, configured to: Generating a rate limit instruction according to the traffic information and the domain name information of each CDN node, where the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name; and a sending module, configured to each The in-node central control server in the CDN node transmits the speed limit command.
本申请实施例的全局中心汇总服务器,通过与CDN节点中WEB服务器和节点内中心控制服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并向WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The global central summary server of the embodiment of the present invention aggregates and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication with the WEB server and the central control server in the node, and sends a speed limit to the WEB server. The policy enables the WEB server to perform feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。The aspects and advantages of the present invention will be set forth in part in the description which follows.
附图说明DRAWINGS
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图1是相关技术中CDN网络系统的示意图;1 is a schematic diagram of a CDN network system in the related art;
图2是本申请一个实施例的CDN网络系统的限速控制方法的流程图;2 is a flowchart of a method for controlling a rate limit of a CDN network system according to an embodiment of the present application;
图3是本申请一个实施例的CDN网络系统的示意图;3 is a schematic diagram of a CDN network system according to an embodiment of the present application;
图4是本申请一个实施例的CDN网络系统的限速控制方法的流程图;4 is a flowchart of a method for controlling a rate limit of a CDN network system according to an embodiment of the present application;
图5是本申请一个实施例的CDN网络系统的结构示意图;FIG. 5 is a schematic structural diagram of a CDN network system according to an embodiment of the present application; FIG.
图6是本申请一个实施例的CDN节点的结构示意图;以及6 is a schematic structural diagram of a CDN node according to an embodiment of the present application;
图7是本申请一个实施例的全局中心汇总服务器的结构示意图。 FIG. 7 is a schematic structural diagram of a global center summary server according to an embodiment of the present application.
具体实施方式detailed description
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The embodiments of the present application are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are intended to be illustrative, and are not to be construed as limiting.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。Moreover, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining "first" and "second" may include one or more of the features either explicitly or implicitly. In the description of the present application, the meaning of "a plurality" is two or more unless specifically and specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a particular logical function or process. And the scope of the preferred embodiments of the present application includes additional implementations, in which the functions may be performed in a substantially simultaneous manner or in the reverse order depending on the functions involved, in accordance with the illustrated or discussed order. It will be understood by those skilled in the art to which the embodiments of the present application pertain.
图2是本申请一个实施例的CDN网络系统的限速控制方法的流程图,图3是本申请一个实施例的CDN网络系统的示意图。2 is a flowchart of a method for controlling a rate limit of a CDN network system according to an embodiment of the present application, and FIG. 3 is a schematic diagram of a CDN network system according to an embodiment of the present application.
如图2所示,CDN网络系统的限速控制方法包括:As shown in FIG. 2, the speed limit control method of the CDN network system includes:
S101,每个CDN节点中的节点内中心控制服务器向全局中心汇总服务器发送每个CDN节点的流量信息和域名信息,以使全局中心汇总服务器根据每个CDN节点的流量信息和域名信息生成限速指令,其中,限速指令包括对应CDN节点针对所支持域名的实际提供带宽值。S101. The intra-node central control server in each CDN node sends the traffic information and the domain name information of each CDN node to the global central summary server, so that the global central summary server generates a speed limit according to the traffic information and the domain name information of each CDN node. The instructions, wherein the rate limit command includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name.
具体地,如图3所示,CDN网络系统中包括多个CDN节点和与多个CDN节点通信的全局中心汇总服务器。其中,每个CDN节点上包括至少一个WEB服务器和与至少一个WEB服务器和全局中心汇总服务器通信的节点内中心控制服务器。Specifically, as shown in FIG. 3, the CDN network system includes a plurality of CDN nodes and a global center summary server that communicates with a plurality of CDN nodes. Wherein, each CDN node includes at least one WEB server and an intra-node central control server that communicates with at least one WEB server and a global center summary server.
当用户访问某个域名时,用户的访问请求会发送至具体的某个CDN节点的WEB服务器上,WEB服务器会返回给用户访问该域名时所需要的资源文件。也就是说,当用户从某个WEB服务器上下载资源文件时,WEB服务器会统计域名由该WEB服务器每秒钟发送出去的字节数,以记录该域名当前时间的下行流量。WEB服务器按照第一预设周期对域名和域名下行流量的增量进行汇总,并将汇总结果发送给该CDN节点中的节点内中心控制服务器。When a user accesses a domain name, the user's access request is sent to the WEB server of a specific CDN node, and the WEB server returns the resource file required by the user to access the domain name. That is, when the user downloads the resource file from a certain WEB server, the WEB server counts the number of bytes sent by the WEB server every second to record the downlink traffic of the domain name at the current time. The WEB server summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server in the CDN node.
在本申请的一个实施例中,每个CDN节点中的节点内中心控制服务器接收CDN节点中WEB服务器上报的针对所支持域名的流量增量,并根据流量增量和所支持域名生成CDN节点对应的流量信息和域名信息。具体而言,节点内中心控制服务器从CDN节 点内各个WEB服务器收集每个域名的带宽情况,计算出每个域名在CDN节点内的带宽值。也就是说,节点内中心控制服务器在接收到WEB服务器发送的域名和域名下行流量的增量之后,按照第二预设周期对每个WEB服务器所支持的域名和域名下行流量的增量进行汇总,生成该CDN节点下的域名信息和对应的流量信息。然后,节点内中心控制服务器将生成的域名信息和对应的流量信息发送给全局中心汇总服务器,由此,全局中心汇总服务器可以在任意时刻根据域名信息和对应的流量信息查询到任意域名的当前带宽信息,或者查询到任意域名在任意CDN节点的带宽信息。In an embodiment of the present application, the intra-node central control server in each CDN node receives the traffic increment reported by the WEB server in the CDN node for the supported domain name, and generates a CDN node corresponding according to the traffic increment and the supported domain name. Traffic information and domain name information. Specifically, the in-node central control server from the CDN section Each WEB server in the point collects the bandwidth of each domain name, and calculates the bandwidth value of each domain name in the CDN node. That is to say, after receiving the increment of the domain name and the domain name downlink traffic sent by the WEB server, the central control server in the node summarizes the increment of the domain name and the domain name downlink traffic supported by each WEB server according to the second preset period. The domain name information and the corresponding traffic information under the CDN node are generated. Then, the central control server in the node sends the generated domain name information and the corresponding traffic information to the global center summary server, so that the global center summary server can query the current bandwidth of any domain name according to the domain name information and the corresponding traffic information at any time. Information, or query bandwidth information on any CDN node to any domain name.
在本申请的一个实施例中,全局中心汇总服务器对每个CDN节点发送的流量信息和域名信息进行汇总,并判断是否有域名的当前带宽大于带宽阈值,如果域名的当前带宽大于带宽阈值,则根据每个CDN节点发送的流量信息和域名信息每个CDN节点针对域名的实际提供带宽值,以及根据每个CDN节点针对域名的实际提供带宽值生成限速指令。具体而言,全局中心汇总服务器根据CDN节点汇总的域名信息和流量信息计算出每个域名在每个CDN节点上的带宽信息,然后判断每个域名的带宽信息是否超过了配置的带宽阈值。如果有某个域名的当前带宽超过了带宽阈值,则通过全局中心汇总服务器查询到的该域名的带宽信息估算出每个CDN节点实际应该服务的带宽阈值,根据每个CDN节点所服务的带宽信息计算出每个CDN节点的限速阈值,同时生成限速指令。全局中心汇总服务器向CDN节点内的节点内中心控制服务器下发该域名的限速指令,并通知节点内中心控制服务器该域名在本CDN节点下应该服务的带宽值。In an embodiment of the present application, the global center summary server aggregates the traffic information and the domain name information sent by each CDN node, and determines whether the current bandwidth of the domain name is greater than the bandwidth threshold. If the current bandwidth of the domain name is greater than the bandwidth threshold, According to the traffic information and domain name information sent by each CDN node, each CDN node provides a speed limit value for the domain name, and a speed limit command according to the actual bandwidth value provided by each CDN node for the domain name. Specifically, the global center summary server calculates the bandwidth information of each domain name on each CDN node according to the domain name information and the traffic information summarized by the CDN node, and then determines whether the bandwidth information of each domain name exceeds the configured bandwidth threshold. If the current bandwidth of a domain name exceeds the bandwidth threshold, the bandwidth information of the domain name that is queried by the global center summary server is used to estimate the bandwidth threshold that each CDN node should actually serve, according to the bandwidth information served by each CDN node. The speed limit threshold of each CDN node is calculated, and a speed limit command is generated at the same time. The global center summary server delivers the speed limit command of the domain name to the central control server in the node of the CDN node, and notifies the central control server of the bandwidth value that the domain name server should serve under the CDN node.
在本申请的一个实施例中,如果域名的当前带宽小于带宽阈值,则保持支持域名的各个CDN节点的带宽不变。具体而言,如果全局中心汇总服务器判断某个域名的带宽信息未超过配置的带宽阈值,则全局中心汇总服务器只对该域名的带宽信息进行统计,不下发限速指令。In one embodiment of the present application, if the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node supporting the domain name is kept unchanged. Specifically, if the global center summary server determines that the bandwidth information of a domain name does not exceed the configured bandwidth threshold, the global center summary server only collects the bandwidth information of the domain name, and does not issue a speed limit command.
S102,节点内中心控制服务器接收限速指令,并根据针对所支持域名的实际提供带宽值,计算CDN节点内的每个WEB服务器针对所支持域名所提供的带宽值。S102. The intra-node central control server receives the speed limit command, and calculates a bandwidth value provided by each WEB server in the CDN node for the supported domain name according to the actual bandwidth value provided for the supported domain name.
具体地,节点内中心控制服务器在接收到该域名在CDN节点下应该服务的带宽值之后,判断该CDN节点内服务该域名的WEB服务器的数量,计算出每个WEB服务器应该对该域名提供的带宽值。Specifically, after receiving the bandwidth value that the domain name should serve under the CDN node, the central control server in the node determines the number of WEB servers serving the domain name in the CDN node, and calculates that each WEB server should provide the domain name. Bandwidth value.
S103,节点内中心控制服务器将CDN节点内的每个WEB服务器针对所支持域名所提供的带宽值发送至每个WEB服务器,以使每个WEB服务器根据自身对应的针对所支持域名所提供的带宽值进行控制。S103. The intra-node central control server sends the bandwidth value provided by each WEB server in the CDN node to the WEB server for the supported domain name, so that each WEB server according to its own corresponding bandwidth provided for the supported domain name. The value is controlled.
具体地,节点内中心控制服务器将每个WEB服务器应该提供的带宽值发送给对应的WEB服务器。其中,WEB服务器可以配置一个带宽阈值,将该域名的带宽值限制在带 宽阈值之间。WEB服务器在该带宽阈值内调整服务该域名的带宽值,从而达到控制用户访问该域名时下载速度的目的。Specifically, the intra-node central control server sends the bandwidth value that each WEB server should provide to the corresponding WEB server. The WEB server can be configured with a bandwidth threshold, and the bandwidth value of the domain name is limited to Between wide thresholds. The WEB server adjusts the bandwidth value of the domain name served within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
在本申请的一个实施例中,全局中心汇总服务器按照预设周期生成限速指令,当CDN节点中的节点内中心控制服务器未接收到全局中心汇总服务器的限速指令之后,停止对CDN节点中的WEB服务器进行限速。具体而言,在CDN节点内的WEB服务器对用户的下载速度进行限速的过程中,随着域名的当前带宽值下降,全局中心汇总服务器判断该域名的当前带宽值不再超出带宽阈值,则全局中心汇总服务器不再向各个CDN节点下发限速指令。CDN节点也就不再向CDN节点内的各个WEB服务器下发限速指令,WEB服务器不再对所提供的带宽值进行控制,从而恢复用户的下载速度。In an embodiment of the present application, the global center summary server generates a speed limit instruction according to a preset period. When the central control server in the node in the CDN node does not receive the speed limit instruction of the global center summary server, stopping in the CDN node. The WEB server performs speed limit. Specifically, in the process of limiting the download speed of the user by the web server in the CDN node, the global center summary server determines that the current bandwidth value of the domain name does not exceed the bandwidth threshold, as the current bandwidth value of the domain name decreases. The global center summary server no longer issues a speed limit command to each CDN node. The CDN node no longer issues a speed limit command to each WEB server in the CDN node, and the WEB server no longer controls the provided bandwidth value, thereby restoring the user's download speed.
本申请实施例的CDN网络系统的限速控制方法,通过WEB服务器、节点内中心控制服务器和全局中心汇总服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并由全局中心汇总服务器向WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The speed limit control method of the CDN network system in the embodiment of the present application summarizes and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and is globally The central summary server sends a rate limiting policy to the WEB server, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
为了实现上述实施例,本申请还提出一种CDN网络系统的限速控制方法。In order to implement the above embodiments, the present application also proposes a speed limit control method for a CDN network system.
图4是本申请一个实施例的CDN网络系统的限速控制方法的流程图,如图4所示,CDN网络系统的限速控制方法包括:4 is a flowchart of a method for controlling a rate limit of a CDN network system according to an embodiment of the present application. As shown in FIG. 4, a method for controlling a rate limit of a CDN network system includes:
S301,全局中心汇总服务器接收每个CDN节点的流量信息和域名信息,并根据每个CDN节点的流量信息和域名信息生成限速指令,其中,限速指令包括对应CDN节点针对所支持域名的实际提供带宽值。S301. The global center summary server receives the traffic information and the domain name information of each CDN node, and generates a speed limit command according to the traffic information and the domain name information of each CDN node, where the speed limit command includes the actual CDN node for the supported domain name. Provide a bandwidth value.
具体地,如图3所示,CDN网络系统中包括多个CDN节点和与多个CDN节点通信的全局中心汇总服务器。其中,每个CDN节点上包括至少一个WEB服务器和与至少一个WEB服务器和全局中心汇总服务器通信的节点内中心控制服务器。Specifically, as shown in FIG. 3, the CDN network system includes a plurality of CDN nodes and a global center summary server that communicates with a plurality of CDN nodes. Wherein, each CDN node includes at least one WEB server and an intra-node central control server that communicates with at least one WEB server and a global center summary server.
当用户访问某个域名时,用户的访问请求会发送至具体的某个CDN节点的WEB服务器上,WEB服务器会返回给用户访问该域名时所需要的资源文件。也就是说,当用户从某个WEB服务器上下载资源文件时,WEB服务器会统计域名由该WEB服务器每秒钟发送出去的字节数,以记录该域名当前时间的下行流量。WEB服务器按照第一预设周期对域名和域名下行流量的增量进行汇总,并将汇总结果发送给该CDN节点中的节点内中心控制服务器。When a user accesses a domain name, the user's access request is sent to the WEB server of a specific CDN node, and the WEB server returns the resource file required by the user to access the domain name. That is, when the user downloads the resource file from a certain WEB server, the WEB server counts the number of bytes sent by the WEB server every second to record the downlink traffic of the domain name at the current time. The WEB server summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server in the CDN node.
在本申请的一个实施例中,每个CDN节点中的节点内中心控制服务器接收CDN节 点中WEB服务器上报的针对所支持域名的流量增量,并根据流量增量和所支持域名生成CDN节点对应的流量信息和域名信息。具体而言,节点内中心控制服务器从CDN节点内各个WEB服务器收集每个域名的带宽情况,计算出每个域名在CDN节点内的带宽值。也就是说,节点内中心控制服务器在接收到WEB服务器发送的域名和域名下行流量的增量之后,按照第二预设周期对每个WEB服务器所支持的域名和域名下行流量的增量进行汇总,生成该CDN节点下的域名信息和对应的流量信息。然后,节点内中心控制服务器将生成的域名信息和对应的流量信息发送给全局中心汇总服务器,由此,全局中心汇总服务器可以在任意时刻根据域名信息和对应的流量信息查询到任意域名的当前带宽信息,或者查询到任意域名在任意CDN节点的带宽信息。In one embodiment of the present application, the intra-node central control server in each CDN node receives the CDN section The traffic increment reported by the WEB server for the supported domain name is generated, and the traffic information and domain name information corresponding to the CDN node are generated according to the traffic increment and the supported domain name. Specifically, the intra-node central control server collects the bandwidth of each domain name from each WEB server in the CDN node, and calculates the bandwidth value of each domain name in the CDN node. That is to say, after receiving the increment of the domain name and the domain name downlink traffic sent by the WEB server, the central control server in the node summarizes the increment of the domain name and the domain name downlink traffic supported by each WEB server according to the second preset period. The domain name information and the corresponding traffic information under the CDN node are generated. Then, the central control server in the node sends the generated domain name information and the corresponding traffic information to the global center summary server, so that the global center summary server can query the current bandwidth of any domain name according to the domain name information and the corresponding traffic information at any time. Information, or query bandwidth information on any CDN node to any domain name.
在本申请的一个实施例中,全局中心汇总服务器对每个CDN节点发送的流量信息和域名信息进行汇总,并判断是否有域名的当前带宽大于带宽阈值,如果域名的当前带宽大于带宽阈值,则根据每个CDN节点发送的流量信息和域名信息每个CDN节点针对域名的实际提供带宽值,以及根据每个CDN节点针对域名的实际提供带宽值生成限速指令。具体而言,全局中心汇总服务器根据CDN节点汇总的域名信息和流量信息计算出每个域名在每个CDN节点上的带宽信息,然后判断每个域名的带宽信息是否超过了配置的带宽阈值。如果有某个域名的当前带宽超过了带宽阈值,则通过全局中心汇总服务器查询到的该域名的带宽信息估算出每个CDN节点实际应该服务的带宽阈值,根据每个CDN节点所服务的带宽信息计算出每个CDN节点的限速阈值,同时生成限速指令。In an embodiment of the present application, the global center summary server aggregates the traffic information and the domain name information sent by each CDN node, and determines whether the current bandwidth of the domain name is greater than the bandwidth threshold. If the current bandwidth of the domain name is greater than the bandwidth threshold, According to the traffic information and domain name information sent by each CDN node, each CDN node provides a speed limit value for the domain name, and a speed limit command according to the actual bandwidth value provided by each CDN node for the domain name. Specifically, the global center summary server calculates the bandwidth information of each domain name on each CDN node according to the domain name information and the traffic information summarized by the CDN node, and then determines whether the bandwidth information of each domain name exceeds the configured bandwidth threshold. If the current bandwidth of a domain name exceeds the bandwidth threshold, the bandwidth information of the domain name that is queried by the global center summary server is used to estimate the bandwidth threshold that each CDN node should actually serve, according to the bandwidth information served by each CDN node. The speed limit threshold of each CDN node is calculated, and a speed limit command is generated at the same time.
S302,全局中心汇总服务器向CDN节点中的节点内中心控制服务器发送限速指令,以使节点内中心控制服务器根据针对所支持域名的实际提供带宽值,计算CDN节点内的每个WEB服务器针对所支持域名所提供的带宽值,并将CDN节点内的每个WEB服务器针对所支持域名所提供的带宽值发送至每个WEB服务器,以使每个WEB服务器根据自身对应的针对所支持域名所提供的带宽值进行控制。S302. The global center summary server sends a speed limit command to the central control server in the node in the CDN node, so that the central control server in the node calculates each WEB server in the CDN node according to the actual bandwidth value provided for the supported domain name. Supporting the bandwidth value provided by the domain name, and sending each WEB server in the CDN node to each WEB server for the bandwidth value provided by the supported domain name, so that each WEB server provides according to its corresponding domain name for the supported domain name. The bandwidth value is controlled.
具体地,全局中心汇总服务器向CDN节点内的节点内中心控制服务器下发该域名的限速指令,并通知节点内中心控制服务器该域名在本CDN节点下应该服务的带宽值。Specifically, the global center summary server delivers the speed limit command of the domain name to the central control server in the node of the CDN node, and notifies the central control server of the node that the domain name should be served under the CDN node.
在本申请的一个实施例中,如果域名的当前带宽小于带宽阈值,则保持支持域名的各个CDN节点的带宽不变。具体而言,如果全局中心汇总服务器判断某个域名的带宽信息未超过配置的带宽阈值,则全局中心汇总服务器只对该域名的带宽信息进行统计,不下发限速指令。In one embodiment of the present application, if the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node supporting the domain name is kept unchanged. Specifically, if the global center summary server determines that the bandwidth information of a domain name does not exceed the configured bandwidth threshold, the global center summary server only collects the bandwidth information of the domain name, and does not issue a speed limit command.
节点内中心控制服务器在接收到该域名在CDN节点下应该服务的带宽值之后,判断该CDN节点内服务该域名的WEB服务器的数量,计算出每个WEB服务器应该对该域 名提供的带宽值。节点内中心控制服务器将每个WEB服务器应该提供的带宽值发送给对应的WEB服务器。其中,WEB服务器可以配置一个带宽阈值,将该域名的带宽值限制在带宽阈值之间。WEB服务器在该带宽阈值内调整服务该域名的带宽值,从而达到控制用户访问该域名时下载速度的目的。After receiving the bandwidth value that the domain name should serve under the CDN node, the central control server in the node determines the number of WEB servers serving the domain name in the CDN node, and calculates that each WEB server should be the domain. The bandwidth value provided by the name. The intra-node central control server sends the bandwidth value that each WEB server should provide to the corresponding WEB server. The WEB server can be configured with a bandwidth threshold, and the bandwidth value of the domain name is limited to a bandwidth threshold. The WEB server adjusts the bandwidth value of the domain name served within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
在本申请的一个实施例中,全局中心汇总服务器按照预设周期生成限速指令,当CDN节点中的节点内中心控制服务器未接收到全局中心汇总服务器的限速指令之后,停止对CDN节点中的WEB服务器进行限速。具体而言,在CDN节点内的WEB服务器对用户的下载速度进行限速的过程中,随着域名的当前带宽值下降,全局中心汇总服务器判断该域名的当前带宽值不再超出带宽阈值,则全局中心汇总服务器不再向各个CDN节点下发限速指令。CDN节点也就不再向CDN节点内的各个WEB服务器下发限速指令,WEB服务器不再对所提供的带宽值进行控制,从而恢复用户的下载速度。In an embodiment of the present application, the global center summary server generates a speed limit instruction according to a preset period. When the central control server in the node in the CDN node does not receive the speed limit instruction of the global center summary server, stopping in the CDN node. The WEB server performs speed limit. Specifically, in the process of limiting the download speed of the user by the web server in the CDN node, the global center summary server determines that the current bandwidth value of the domain name does not exceed the bandwidth threshold, as the current bandwidth value of the domain name decreases. The global center summary server no longer issues a speed limit command to each CDN node. The CDN node no longer issues a speed limit command to each WEB server in the CDN node, and the WEB server no longer controls the provided bandwidth value, thereby restoring the user's download speed.
本申请实施例的CDN网络系统的限速控制方法,通过WEB服务器、节点内中心控制服务器和全局中心汇总服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并由全局中心汇总服务器向WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The speed limit control method of the CDN network system in the embodiment of the present application summarizes and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and is globally The central summary server sends a rate limiting policy to the WEB server, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth. Threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
为了实现上述实施例,本申请还提出一种CDN网络系统。In order to implement the above embodiments, the present application also proposes a CDN network system.
图5是本申请一个实施例的CDN网络系统的结构示意图,如图5所示,CDN网络系统包括:多个CDN节点100和与多个CDN节点通信的全局中心汇总服务器200。其中,每个CDN节点100包括至少一个WEB服务器110和与至少一个WEB服务器110和全局中心汇总服务器200通信的节点内中心控制服务器120。FIG. 5 is a schematic structural diagram of a CDN network system according to an embodiment of the present application. As shown in FIG. 5, the CDN network system includes: a plurality of CDN nodes 100 and a global center summary server 200 that communicates with a plurality of CDN nodes. Each CDN node 100 includes at least one WEB server 110 and an intra-node central control server 120 in communication with at least one WEB server 110 and global central summary server 200.
具体地,每个CDN节点100中的节点内中心控制服务器120用于向全局中心汇总服务器200发送每个CDN节点100的流量信息和域名信息。具体而言,当用户访问某个域名时,用户的访问请求会发送至具体的某个CDN节点100的WEB服务器110上,WEB服务器110会返回给用户访问该域名时所需要的资源文件。也就是说,当用户从某个WEB服务器110上下载资源文件时,WEB服务器10会统计域名由该WEB服务器110每秒钟发送出去的字节数,以记录该域名当前时间的下行流量。WEB服务器110按照第一预设周期对域名和域名下行流量的增量进行汇总,并将汇总结果发送给该CDN节点100中的节点内中心控制服务器120。Specifically, the intra-node central control server 120 in each CDN node 100 is configured to transmit the traffic information and domain name information of each CDN node 100 to the global center summary server 200. Specifically, when a user accesses a certain domain name, the user's access request is sent to the WEB server 110 of a specific CDN node 100, and the WEB server 110 returns the resource file required for the user to access the domain name. That is, when the user downloads the resource file from a certain WEB server 110, the WEB server 10 counts the number of bytes sent by the WEB server 110 per second to record the downlink traffic of the domain name at the current time. The WEB server 110 summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server 120 in the CDN node 100.
在本申请的一个实施例中,每个CDN节点100中的节点内中心控制服务器120还 用于接收CDN节点100中WEB服务器110上报的针对所支持域名的流量增量,并根据流量增量和所支持域名生成CDN节点100对应的流量信息和域名信息。具体而言,节点内中心控制服务器120从CDN节点100内各个WEB服务器110收集每个域名的带宽情况,计算出每个域名在CDN节点100内的带宽值。也就是说,节点内中心控制服务器120在接收到WEB服务器110发送的域名和域名下行流量的增量之后,按照第二预设周期对每个WEB服务器110所支持的域名和域名下行流量的增量进行汇总,生成该CDN节点100下的域名信息和对应的流量信息。然后,节点内中心控制服务器120将生成的域名信息和对应的流量信息发送给全局中心汇总服务器200。由此,全局中心汇总服务器200可以在任意时刻根据域名信息和对应的流量信息查询到任意域名的当前带宽信息,或者查询到任意域名在任意CDN节点100的带宽信息。In one embodiment of the present application, the intra-node central control server 120 in each CDN node 100 also And receiving the traffic increment for the supported domain name reported by the WEB server 110 in the CDN node 100, and generating traffic information and domain name information corresponding to the CDN node 100 according to the traffic increment and the supported domain name. Specifically, the intra-node central control server 120 collects the bandwidth status of each domain name from each WEB server 110 in the CDN node 100, and calculates the bandwidth value of each domain name in the CDN node 100. That is, after receiving the increment of the domain name and the domain name downlink traffic sent by the WEB server 110, the intra-node central control server 120 increases the downlink traffic of the domain name and the domain name supported by each WEB server 110 according to the second preset period. The amount is aggregated to generate domain name information and corresponding traffic information under the CDN node 100. Then, the in-node central control server 120 transmits the generated domain name information and the corresponding traffic information to the global center summary server 200. Therefore, the global center summary server 200 can query the current bandwidth information of any domain name according to the domain name information and the corresponding traffic information at any time, or query the bandwidth information of any domain name at any CDN node 100.
全局中心汇总服务器200用于根据每个CDN节点100的流量信息和域名信息生成限速指令,其中,限速指令包括对应CDN节点100针对所支持域名的实际提供带宽值。The global center summary server 200 is configured to generate a speed limit command according to the traffic information and the domain name information of each CDN node 100, wherein the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node 100 for the supported domain name.
在本申请的一个实施例中,全局中心汇总服务器200还用于对每个CDN节点100发送的流量信息和域名信息进行汇总,并判断是否有域名的当前带宽大于带宽阈值,当域名的当前带宽大于带宽阈值时,根据每个CDN节点100发送的流量信息和域名信息每个CDN节点100针对域名的实际提供带宽值,以及根据每个CDN节点100针对域名的实际提供带宽值生成限速指令。具体而言,全局中心汇总服务器200根据CDN节点100汇总的域名信息和流量信息计算出每个域名在每个CDN节点100上的带宽信息,然后判断每个域名的带宽信息是否超过了配置的带宽阈值。如果有某个域名的当前带宽超过了带宽阈值,则通过全局中心汇总服务器200查询到的该域名的带宽信息估算出每个CDN节点100实际应该服务的带宽阈值,根据每个CDN节点100所服务的带宽信息计算出每个CDN节点100的限速阈值,同时生成限速指令。全局中心汇总服务器200向CDN节点100内的节点内中心控制服务器120下发该域名的限速指令,并通知节点内中心控制服务器120该域名在本CDN节点100下应该服务的带宽值。In an embodiment of the present application, the global center summary server 200 is further configured to summarize the traffic information and the domain name information sent by each CDN node 100, and determine whether the current bandwidth of the domain name is greater than the bandwidth threshold, and the current bandwidth of the domain name. When greater than the bandwidth threshold, the rate information and domain name information transmitted by each CDN node 100 is generated by each CDN node 100 for the actual bandwidth value of the domain name, and the speed limit command is generated based on the actual bandwidth value provided by each CDN node 100 for the domain name. Specifically, the global center summary server 200 calculates the bandwidth information of each domain name on each CDN node 100 according to the domain name information and the traffic information summarized by the CDN node 100, and then determines whether the bandwidth information of each domain name exceeds the configured bandwidth. Threshold. If the current bandwidth of a certain domain name exceeds the bandwidth threshold, the bandwidth information of the domain name queried by the global center summary server 200 is used to estimate the bandwidth threshold that each CDN node 100 should actually serve, according to each CDN node 100. The bandwidth information calculates a speed limit threshold for each CDN node 100 and generates a speed limit command. The global center summary server 200 delivers the speed limit command of the domain name to the intra-node central control server 120 in the CDN node 100, and notifies the central control server 120 of the bandwidth value that the domain name should serve under the CDN node 100.
在本申请的一个实施例中,全局中心汇总服务器200还用于当域名的当前带宽小于带宽阈值时,保持支持域名的各个CDN节点100的带宽不变。具体而言,如果全局中心汇总服务器200判断某个域名的带宽信息未超过配置的带宽阈值,则全局中心汇总服务器200只对该域名的带宽信息进行统计,不下发限速指令。In an embodiment of the present application, the global center summary server 200 is further configured to keep the bandwidth of each CDN node 100 supporting the domain name unchanged when the current bandwidth of the domain name is less than the bandwidth threshold. Specifically, if the global center summary server 200 determines that the bandwidth information of a domain name does not exceed the configured bandwidth threshold, the global center summary server 200 only collects the bandwidth information of the domain name, and does not issue a speed limit command.
每个CDN节点100中的节点内中心控制服务器120接收限速指令,以及根据针对所支持域名的实际提供带宽值,计算CDN节点100内的每个WEB服务器110针对所支持域名所提供的带宽值,并将CDN节点100内的每个WEB服务器110针对所支持域名所提供的带宽值发送至每个WEB服务器110。具体而言,节点内中心控制服务器120 在接收到该域名在CDN节点100下应该服务的带宽值之后,判断该CDN节点100内服务该域名的WEB服务器110的数量,计算出每个WEB服务器110应该对该域名提供的带宽值。节点内中心控制服务器120将每个WEB服务器110应该提供的带宽值发送给对应的WEB服务器110。The intra-node central control server 120 in each CDN node 100 receives the rate limit command and calculates the bandwidth value provided by each WEB server 110 within the CDN node 100 for the supported domain name based on the actual provided bandwidth value for the supported domain name. And transmitting, to each WEB server 110, the bandwidth value provided by each WEB server 110 within the CDN node 100 for the supported domain name. Specifically, the intra-node central control server 120 After receiving the bandwidth value that the domain name should serve under the CDN node 100, the number of the WEB servers 110 serving the domain name in the CDN node 100 is determined, and the bandwidth value that each WEB server 110 should provide for the domain name is calculated. The intra-node central control server 120 transmits the bandwidth value that each WEB server 110 should provide to the corresponding WEB server 110.
每个WEB服务器110用于根据自身对应的针对所支持域名所提供的带宽值进行控制。具体而言,WEB服务器110可以配置一个带宽阈值,将该域名的带宽值限制在带宽阈值之间。WEB服务器110在该带宽阈值内调整服务该域名的带宽值,从而达到控制用户访问该域名时下载速度的目的。Each WEB server 110 is configured to control according to its own corresponding bandwidth value provided for the supported domain name. Specifically, the WEB server 110 can configure a bandwidth threshold to limit the bandwidth value of the domain name between the bandwidth thresholds. The WEB server 110 adjusts the bandwidth value serving the domain name within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
在本申请的一个实施例中,全局中心汇总服务器200按照预设周期生成限速指令,CDN节点100中的节点内中心控制服务器120还用于当未接收到全局中心汇总服务器200的限速指令时,停止对CDN节点100中的WEB服务器110进行限速。具体而言,在CDN节点100内的WEB服务器110对用户的下载速度进行限速的过程中,随着域名的当前带宽值下降,全局中心汇总服务器200判断该域名的当前带宽值不再超出带宽阈值,则全局中心汇总服务器200不再向各个CDN节点100下发限速指令。CDN节点100也就不再向CDN节点100内的各个WEB服务器110下发限速指令,WEB服务器110不再对所提供的带宽值进行控制,从而恢复用户的下载速度。In an embodiment of the present application, the global center summary server 200 generates a speed limit instruction according to a preset period, and the in-node center control server 120 in the CDN node 100 is further configured to not receive the speed limit instruction of the global center summary server 200. At this time, the speed limit of the WEB server 110 in the CDN node 100 is stopped. Specifically, in the process of limiting the download speed of the user by the WEB server 110 in the CDN node 100, the global center summary server 200 determines that the current bandwidth value of the domain name no longer exceeds the bandwidth as the current bandwidth value of the domain name decreases. The threshold, the global center summary server 200 no longer issues a speed limit command to each CDN node 100. The CDN node 100 no longer issues a speed limit command to each WEB server 110 in the CDN node 100, and the WEB server 110 no longer controls the provided bandwidth value, thereby restoring the user's download speed.
本申请实施例的CDN网络系统,通过WEB服务器、节点内中心控制服务器和全局中心汇总服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并由全局中心汇总服务器向WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The CDN network system in the embodiment of the present application aggregates and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication of the WEB server, the central control server in the node, and the global central summary server, and the global center summary server sends the WEB. The server sends a rate limiting policy, so that the WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
为了实现上述实施例,本申请还提出一种CDN节点。In order to implement the above embodiments, the present application also proposes a CDN node.
图6是本申请一个实施例的CDN节点的结构示意图,如图6所示,CDN节点100包括:至少一个WEB服务器110和与至少一个WEB服务器110和全局中心汇总服务器200通信的节点内中心控制服务器120,其中,节点内中心控制服务器120包括第一发送模块121、第一接收模块122、计算模块123、第二发送模块124、第二接收模块125和生成模块126。6 is a schematic structural diagram of a CDN node according to an embodiment of the present application. As shown in FIG. 6, the CDN node 100 includes: at least one WEB server 110 and intra-node central control in communication with at least one WEB server 110 and global central summary server 200. The server 120, wherein the intra-node central control server 120 includes a first sending module 121, a first receiving module 122, a calculating module 123, a second sending module 124, a second receiving module 125, and a generating module 126.
具体地,第一发送模块121用于向全局中心汇总服务器200发送每个CDN节点100的流量信息和域名信息。具体而言,当用户访问某个域名时,用户的访问请求会发送至具体的某个CDN节点100的WEB服务器110上,WEB服务器110会返回给用户访问该 域名时所需要的资源文件。也就是说,当用户从某个WEB服务器110上下载资源文件时,WEB服务器110会统计域名由该WEB服务器110每秒钟发送出去的字节数,以记录该域名当前时间的下行流量。WEB服务器110按照第一预设周期对域名和域名下行流量的增量进行汇总,并将汇总结果发送给该CDN节点中的节点内中心控制服务器120。Specifically, the first sending module 121 is configured to send the traffic information and the domain name information of each CDN node 100 to the global center summary server 200. Specifically, when a user accesses a certain domain name, the user's access request is sent to the WEB server 110 of a specific CDN node 100, and the WEB server 110 returns the user to the user. The resource file required for the domain name. That is, when the user downloads the resource file from a certain WEB server 110, the WEB server 110 counts the number of bytes sent by the WEB server 110 per second to record the downlink traffic of the domain name at the current time. The WEB server 110 summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server 120 in the CDN node.
在本申请的一个实施例中,节点内中心控制服务器120还包括第二接收模块125和生成模块126。其中,第二接收模块125用于接收WEB服务器100上报的针对所支持域名的流量增量。生成模块126用于根据流量增量和所支持域名生成CDN节点100对应的流量信息和域名信息。具体而言,第二接收模块125从CDN节点100内各个WEB服务器110收集每个域名的带宽情况,计算出每个域名在CDN节点100内的带宽值。也就是说,第二接收模块125在接收到WEB服务器发送的域名和域名下行流量的增量之后,生成模块126按照第二预设周期对每个WEB服务器110所支持的域名和域名下行流量的增量进行汇总,生成该CDN节点100下的域名信息和对应的流量信息。然后,第一发送模块121将生成的域名信息和对应的流量信息发送给全局中心汇总服务器200,由此,全局中心汇总服务器200可以在任意时刻根据域名信息和对应的流量信息查询到任意域名的当前带宽信息,或者查询到任意域名在任意CDN节点100的带宽信息。In one embodiment of the present application, the intra-node central control server 120 further includes a second receiving module 125 and a generating module 126. The second receiving module 125 is configured to receive the traffic increment reported by the WEB server 100 for the supported domain name. The generating module 126 is configured to generate traffic information and domain name information corresponding to the CDN node 100 according to the traffic increment and the supported domain name. Specifically, the second receiving module 125 collects the bandwidth of each domain name from each WEB server 110 in the CDN node 100, and calculates the bandwidth value of each domain name in the CDN node 100. That is, after receiving the increment of the domain name and the domain name downlink traffic sent by the WEB server, the second receiving module 125 generates the domain name and the domain name downlink traffic supported by each WEB server 110 according to the second preset period. The aggregation is performed in increments to generate domain name information and corresponding traffic information under the CDN node 100. Then, the first sending module 121 sends the generated domain name information and the corresponding traffic information to the global center summary server 200, whereby the global center summary server 200 can query any domain name according to the domain name information and the corresponding traffic information at any time. Current bandwidth information, or query bandwidth information of any domain name at any CDN node 100.
在本申请的一个实施例中,全局中心汇总服务器200对每个CDN节点的第一发送模块121发送的流量信息和域名信息进行汇总,并判断是否有域名的当前带宽大于带宽阈值,如果域名的当前带宽大于带宽阈值,则根据每个CDN节点100的第一发送模块121发送的流量信息和域名信息每个CDN节点100针对域名的实际提供带宽值,以及根据每个CDN节点100针对域名的实际提供带宽值生成限速指令。具体而言,全局中心汇总服务器200根据CDN节点100汇总的域名信息和流量信息计算出每个域名在每个CDN节点100上的带宽信息,然后判断每个域名的带宽信息是否超过了配置的带宽阈值。如果有某个域名的当前带宽超过了带宽阈值,则通过全局中心汇总服务器200查询到的该域名的带宽信息估算出每个CDN节点100实际应该服务的带宽阈值,根据每个CDN节点100所服务的带宽信息计算出每个CDN节点100的限速阈值,同时生成限速指令。全局中心汇总服务器200向CDN节点100内的第一接收模块122下发该域名的限速指令,并通知第一接收模块122该域名在本CDN节点100下应该服务的带宽值。In an embodiment of the present application, the global center summary server 200 summarizes the traffic information and the domain name information sent by the first sending module 121 of each CDN node, and determines whether the current bandwidth of the domain name is greater than the bandwidth threshold, if the domain name is If the current bandwidth is greater than the bandwidth threshold, the traffic information and domain name information sent by the first sending module 121 of each CDN node 100, the actual bandwidth value provided by each CDN node 100 for the domain name, and the actual domain name according to each CDN node 100. Provide a bandwidth value to generate a speed limit command. Specifically, the global center summary server 200 calculates the bandwidth information of each domain name on each CDN node 100 according to the domain name information and the traffic information summarized by the CDN node 100, and then determines whether the bandwidth information of each domain name exceeds the configured bandwidth. Threshold. If the current bandwidth of a certain domain name exceeds the bandwidth threshold, the bandwidth information of the domain name queried by the global center summary server 200 is used to estimate the bandwidth threshold that each CDN node 100 should actually serve, according to each CDN node 100. The bandwidth information calculates a speed limit threshold for each CDN node 100 and generates a speed limit command. The global center summary server 200 delivers the speed limit command of the domain name to the first receiving module 122 in the CDN node 100, and notifies the first receiving module 122 of the bandwidth value that the domain name should serve under the CDN node 100.
在本申请的一个实施例中,如果域名的当前带宽小于带宽阈值,则保持支持域名的各个CDN节点100的带宽不变。具体而言,如果全局中心汇总服务器200判断某个域名的带宽信息未超过配置的带宽阈值,则全局中心汇总服务器200只对该域名的带 宽信息进行统计,不下发限速指令。In one embodiment of the present application, if the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node 100 that supports the domain name remains unchanged. Specifically, if the global center summary server 200 determines that the bandwidth information of a certain domain name does not exceed the configured bandwidth threshold, the global center summary server 200 only takes the domain name band. The wide information is used for statistics, and the speed limit command is not issued.
第一接收模块122用于接收全局中心汇总服务器200根据每个CDN节点100的流量信息和域名信息生成的限速指令,其中,限速指令包括对应CDN节点100针对所支持域名的实际提供带宽值。The first receiving module 122 is configured to receive a speed limit command generated by the global center summary server 200 according to the traffic information and the domain name information of each CDN node 100, where the speed limit command includes the actual provided bandwidth value of the corresponding CDN node 100 for the supported domain name. .
计算模块123用于根据针对所支持域名的实际提供带宽值,计算CDN节点100内的每个WEB服务器110针对所支持域名所提供的带宽值。具体而言,第一接收模块122在接收到该域名在CDN节点100下应该服务的带宽值之后,计算模块123判断该CDN节点100内服务该域名的WEB服务器110的数量,计算出每个WEB服务器110应该对该域名提供的带宽值。The calculation module 123 is configured to calculate a bandwidth value provided by each WEB server 110 within the CDN node 100 for the supported domain name according to the actual provided bandwidth value for the supported domain name. Specifically, after the first receiving module 122 receives the bandwidth value that the domain name should serve under the CDN node 100, the calculating module 123 determines the number of the WEB server 110 serving the domain name in the CDN node 100, and calculates each WEB. The bandwidth value that the server 110 should provide for the domain name.
第二发送模块124用于将CDN节点100内的每个WEB服务器110针对所支持域名所提供的带宽值发送至WEB服务器110。具体而言,第二发送模块124将每个WEB服务器110应该提供的带宽值发送给对应的WEB服务器110。The second sending module 124 is configured to send the bandwidth value provided by each WEB server 110 in the CDN node 100 to the WEB server 110 for the supported domain name. Specifically, the second sending module 124 sends the bandwidth value that each WEB server 110 should provide to the corresponding WEB server 110.
WEB服务器110用于根据自身对应的针对所支持域名所提供的带宽值进行控制。具体而言,WEB服务器110可以配置一个带宽阈值,将该域名的带宽值限制在带宽阈值之间。WEB服务器110在该带宽阈值内调整服务该域名的带宽值,从而达到控制用户访问该域名时下载速度的目的。The WEB server 110 is configured to control according to its own corresponding bandwidth value provided for the supported domain name. Specifically, the WEB server 110 can configure a bandwidth threshold to limit the bandwidth value of the domain name between the bandwidth thresholds. The WEB server 110 adjusts the bandwidth value serving the domain name within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
在本申请的一个实施例中,全局中心汇总服务器200按照预设周期生成限速指令,当第一接收模块122未接收到全局中心汇总服务器200的限速指令时,停止对WEB服务器110进行限速。具体而言,在CDN节点100内的WEB服务器110对用户的下载速度进行限速的过程中,随着域名的当前带宽值下降,全局中心汇总服务器200判断该域名的当前带宽值不再超出带宽阈值,则全局中心汇总服务器200不再向各个CDN节点100的第一接收模块122下发限速指令。CDN节点100的第二发送模块124也就不再向CDN节点100内的各个WEB服务器110下发限速指令,WEB服务器100不再对所提供的带宽值进行控制,从而恢复用户的下载速度。In an embodiment of the present application, the global center summary server 200 generates a speed limit command according to a preset period. When the first receiving module 122 does not receive the speed limit command of the global center summary server 200, the network limit of the WEB server 110 is stopped. speed. Specifically, in the process of limiting the download speed of the user by the WEB server 110 in the CDN node 100, the global center summary server 200 determines that the current bandwidth value of the domain name no longer exceeds the bandwidth as the current bandwidth value of the domain name decreases. The threshold, the global center summary server 200 no longer issues a speed limit command to the first receiving module 122 of each CDN node 100. The second sending module 124 of the CDN node 100 no longer issues a speed limit command to each WEB server 110 in the CDN node 100, and the WEB server 100 no longer controls the provided bandwidth value, thereby restoring the download speed of the user.
本申请实施例的CDN节点,通过与全局中心汇总服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并由全局中心汇总服务器向CDN节点中WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域名的在CDN节点上的带宽资源。The CDN node in the embodiment of the present application aggregates and collects the real-time bandwidth information of the domain name served by the CDN node through data communication with the global center summary server, and the global center summary server sends a rate limit policy to the WEB server in the CDN node. The WEB server performs feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name avoids excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domain names served on the CDN node at the CDN node. Bandwidth resources on.
为了实现上述实施例,本申请还提出一种全局中心汇总服务器。 In order to implement the above embodiments, the present application also proposes a global center summary server.
图7是本申请一个实施例的全局中心汇总服务器的结构示意图,如图7所示,全局中心汇总服务器200包括:接收模块210、生成模块220和发送模块230。其中,生成模块220包括汇总单元221、判断单元222、发送单元223和生成单元224。FIG. 7 is a schematic structural diagram of a global center summary server according to an embodiment of the present application. As shown in FIG. 7, the global center summary server 200 includes a receiving module 210, a generating module 220, and a sending module 230. The generating module 220 includes a summary unit 221, a determining unit 222, a sending unit 223, and a generating unit 224.
具体地,接收模块210用于接收每个CDN节点100的流量信息和域名信息。具体而言,当用户访问某个域名时,用户的访问请求会发送至具体的某个CDN节点100的WEB服务器110上,WEB服务器110会返回给用户访问该域名时所需要的资源文件。也就是说,当用户从某个WEB服务器110上下载资源文件时,WEB服务器110会统计域名由该WEB服务器110每秒钟发送出去的字节数,以记录该域名当前时间的下行流量。WEB服务器110按照第一预设周期对域名和域名下行流量的增量进行汇总,并将汇总结果发送给该CDN节点110中的节点内中心控制服务器120。Specifically, the receiving module 210 is configured to receive traffic information and domain name information of each CDN node 100. Specifically, when a user accesses a certain domain name, the user's access request is sent to the WEB server 110 of a specific CDN node 100, and the WEB server 110 returns the resource file required for the user to access the domain name. That is, when the user downloads the resource file from a certain WEB server 110, the WEB server 110 counts the number of bytes sent by the WEB server 110 per second to record the downlink traffic of the domain name at the current time. The WEB server 110 summarizes the increments of the domain name and the domain name downlink traffic according to the first preset period, and sends the summary result to the intra-node central control server 120 in the CDN node 110.
在本申请的一个实施例中,每个CDN节点100中的节点内中心控制服务器120接收CDN节点100中WEB服务器110上报的针对所支持域名的流量增量,并根据流量增量和所支持域名生成CDN节点100对应的流量信息和域名信息。具体而言,节点内中心控制服务器120从CDN节点100内各个WEB服务器110收集每个域名的带宽情况,计算出每个域名在CDN节点100内的带宽值。也就是说,节点内中心控制服务器120在接收到WEB服务器110发送的域名和域名下行流量的增量之后,按照第二预设周期对每个WEB服务器110所支持的域名和域名下行流量的增量进行汇总,生成该CDN节点100下的域名信息和对应的流量信息。然后,节点内中心控制服务器120将生成的域名信息和对应的流量信息发送给全局中心汇总服务器200的接收模块210,由此,全局中心汇总服务器200可以在任意时刻根据域名信息和对应的流量信息查询到任意域名的当前带宽信息,或者查询到任意域名在任意CDN节点100的带宽信息。In an embodiment of the present application, the intra-node central control server 120 in each CDN node 100 receives the traffic increment reported by the WEB server 110 in the CDN node 100 for the supported domain name, and according to the traffic increment and the supported domain name. The traffic information and the domain name information corresponding to the CDN node 100 are generated. Specifically, the intra-node central control server 120 collects the bandwidth status of each domain name from each WEB server 110 in the CDN node 100, and calculates the bandwidth value of each domain name in the CDN node 100. That is, after receiving the increment of the domain name and the domain name downlink traffic sent by the WEB server 110, the intra-node central control server 120 increases the downlink traffic of the domain name and the domain name supported by each WEB server 110 according to the second preset period. The amount is aggregated to generate domain name information and corresponding traffic information under the CDN node 100. Then, the in-node central control server 120 sends the generated domain name information and the corresponding traffic information to the receiving module 210 of the global center summary server 200, whereby the global center summary server 200 can use the domain name information and the corresponding traffic information at any time. Query the current bandwidth information of any domain name, or query the bandwidth information of any domain name at any CDN node 100.
生成模块220用于根据每个CDN节点100的流量信息和域名信息生成限速指令,其中,限速指令包括对应CDN节点100针对所支持域名的实际提供带宽值。The generating module 220 is configured to generate a speed limit command according to the traffic information and the domain name information of each CDN node 100, wherein the speed limit command includes an actual provided bandwidth value of the corresponding CDN node 100 for the supported domain name.
在本申请的一个实施例中,生成模块220包括汇总单元221、判断单元222、发送单元223和生成单元224。其中,汇总单元221用于对每个CDN节点100的流量信息和域名信息进行汇总。判断单元222用于判断是否有域名的当前带宽大于带宽阈值。发送单元223用于当域名的当前带宽大于带宽阈值时,根据每个CDN节点100发送的流量信息和域名信息发送每个CDN节点100针对域名的实际提供带宽值。生成单元224用于根据每个CDN节点针对域名的实际提供带宽值生成限速指令。具体而言,汇总单元221根据CDN节点100汇总的域名信息和流量信息计算出每个域名在每个CDN节点100上的带宽信息,然后判断单元222判断每个域名的带宽信息是否超过了配置的带宽阈值。如果判断单元222判断某个域名的当前带宽超过了带宽阈值,则通过接收模块 210接收到的该域名的带宽信息估算出每个CDN节点100实际应该服务的带宽阈值,根据每个CDN节点100所服务的带宽信息计算出每个CDN节点100的限速阈值,同时生成单元224生成限速指令。In an embodiment of the present application, the generating module 220 includes a summary unit 221, a determining unit 222, a transmitting unit 223, and a generating unit 224. The summary unit 221 is configured to summarize the traffic information and the domain name information of each CDN node 100. The determining unit 222 is configured to determine whether the current bandwidth of the domain name is greater than the bandwidth threshold. The sending unit 223 is configured to: when the current bandwidth of the domain name is greater than the bandwidth threshold, send the actual provided bandwidth value of each CDN node 100 for the domain name according to the traffic information and the domain name information sent by each CDN node 100. The generating unit 224 is configured to generate a speed limit instruction according to an actual provided bandwidth value of each domain name of each CDN node. Specifically, the summary unit 221 calculates the bandwidth information of each domain name on each CDN node 100 according to the domain name information and the traffic information summarized by the CDN node 100, and then the determining unit 222 determines whether the bandwidth information of each domain name exceeds the configured Bandwidth threshold. If the determining unit 222 determines that the current bandwidth of a certain domain name exceeds the bandwidth threshold, the receiving module The bandwidth information of the domain name received by the network 210 is used to estimate the bandwidth threshold that each CDN node 100 should actually serve. The rate limit threshold of each CDN node 100 is calculated according to the bandwidth information served by each CDN node 100, and the generating unit 224 is generated. Generate a speed limit command.
发送模块230用于向每个CDN节点100中的节点内中心控制服务器发送限速指令。具体而言,发送模块230向CDN节点100内的节点内中心控制服务器120下发该域名的限速指令,发送单元223向节点内中心控制服务器120发送该域名在本CDN节点100下应该服务的带宽值。The sending module 230 is configured to send a speed limit instruction to the intra-node central control server in each CDN node 100. Specifically, the sending module 230 sends a speed limit command of the domain name to the intra-node central control server 120 in the CDN node 100, and the sending unit 223 sends the domain name to the intra-node central control server 120 that the domain name should be served under the CDN node 100. Bandwidth value.
在本申请的一个实施例中,如果判断单元222判断域名的当前带宽小于带宽阈值,则保持域名的各个CDN节点的带宽不变。具体而言,如果判断单元222判断某个域名的带宽信息未超过配置的带宽阈值,则生成单元224只对该域名的带宽信息进行统计,发送模块230不下发限速指令。In an embodiment of the present application, if the determining unit 222 determines that the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node holding the domain name is unchanged. Specifically, if the determining unit 222 determines that the bandwidth information of a certain domain name does not exceed the configured bandwidth threshold, the generating unit 224 only collects the bandwidth information of the domain name, and the sending module 230 does not send the speed limit command.
进而,节点内中心控制服务器120在接收到发送模块230发送的该域名在CDN节点100下应该服务的带宽值之后,判断该CDN节点100内服务该域名的WEB服务器110的数量,计算出每个WEB服务器110应该对该域名提供的带宽值。节点内中心控制服务器120将每个WEB服务器110应该提供的带宽值发送给对应的WEB服务器110。其中,WEB服务器110可以配置一个带宽阈值,将该域名的带宽值限制在带宽阈值之间。WEB服务器110在该带宽阈值内调整服务该域名的带宽值,从而达到控制用户访问该域名时下载速度的目的。Further, after receiving the bandwidth value that the domain name should be served by the CDN node 100 sent by the sending module 230, the intra-node central control server 120 determines the number of the WEB servers 110 serving the domain name in the CDN node 100, and calculates each The bandwidth value that the WEB server 110 should provide for the domain name. The intra-node central control server 120 transmits the bandwidth value that each WEB server 110 should provide to the corresponding WEB server 110. The WEB server 110 can be configured with a bandwidth threshold, and the bandwidth value of the domain name is limited to a bandwidth threshold. The WEB server 110 adjusts the bandwidth value serving the domain name within the bandwidth threshold, thereby achieving the purpose of controlling the download speed when the user accesses the domain name.
在本申请的一个实施例中,生成模块220按照预设周期生成限速指令,当CDN节点100中的节点内中心控制服务器120未接收到发送模块230发送的限速指令时,停止对CDN节点100中的WEB服务器110进行限速。具体而言,在CDN节点100内的WEB服务器110对用户的下载速度进行限速的过程中,随着域名的当前带宽值下降,判断单元222判断该域名的当前带宽值不再超出带宽阈值,则发送模块230不再向各个CDN节点100的节点内中心控制服务器120下发限速指令。节点内中心控制服务器120也就不再向CDN节点100内的各个WEB服务器110下发限速指令,WEB服务器100不再对所提供的带宽值进行控制,从而恢复用户的下载速度。In an embodiment of the present application, the generating module 220 generates a speed limit command according to a preset period, and when the node center control server 120 in the CDN node 100 does not receive the speed limit command sent by the sending module 230, stops the CDN node. The WEB server 110 in 100 performs speed limit. Specifically, in the process of limiting the download speed of the user by the WEB server 110 in the CDN node 100, the determination unit 222 determines that the current bandwidth value of the domain name does not exceed the bandwidth threshold, as the current bandwidth value of the domain name decreases. Then, the sending module 230 does not issue a speed limit command to the in-node central control server 120 of each CDN node 100. The intra-node central control server 120 also no longer issues a speed limit command to each WEB server 110 in the CDN node 100, and the WEB server 100 no longer controls the provided bandwidth value, thereby restoring the user's download speed.
本申请实施例的全局中心汇总服务器,通过与CDN节点中WEB服务器和节点内中心控制服务器的数据通信,对CDN节点所服务域名的实时带宽信息进行汇总和统计,并向WEB服务器下发限速策略,使得WEB服务器针对用户的下载速度进行反馈控制,从而限制了域名在CDN节点上全局的带宽值,确保CDN节点下域名的带宽值不超出配置的带宽阈值。由此,实现了对CDN节点上所服务的域名的带宽值可控,避免了域名由于某些不可预知的问题占用CDN节点过多的带宽资源,影响CDN节点上服务的其它域 名的在CDN节点上的带宽资源。The global central summary server of the embodiment of the present invention aggregates and counts the real-time bandwidth information of the domain name served by the CDN node through the data communication with the WEB server and the central control server in the node, and sends a speed limit to the WEB server. The policy enables the WEB server to perform feedback control on the download speed of the user, thereby limiting the global bandwidth value of the domain name on the CDN node, and ensuring that the bandwidth value of the domain name under the CDN node does not exceed the configured bandwidth threshold. Therefore, the bandwidth value of the domain name served on the CDN node is controllable, and the domain name is prevented from occupying excessive bandwidth resources of the CDN node due to some unpredictable problems, and affects other domains of the service on the CDN node. The bandwidth resource on the CDN node.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that portions of the application can be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
在本申请中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In the present application, the terms "installation", "connected", "connected", and the like are to be understood broadly, and may be either a fixed connection or a detachable connection, or Integral; may be mechanically connected or electrically connected; may be directly connected, or may be indirectly connected through an intermediate medium, and may be internal communication of two elements or an interaction relationship of two elements unless explicitly defined otherwise. For those skilled in the art, the specific meanings of the above terms in the present application can be understood on a case-by-case basis.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of the present specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means a specific feature described in connection with the embodiment or example. A structure, material or feature is included in at least one embodiment or example of the application. In the present specification, the schematic representation of the above terms is not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, various embodiments or examples described in the specification, as well as features of various embodiments or examples, may be combined and combined.
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。 While the embodiments of the present application have been shown and described above, it is understood that the above-described embodiments are illustrative and are not to be construed as limiting the scope of the present application. The embodiments are subject to variations, modifications, substitutions and variations.

Claims (19)

  1. 一种CDN网络系统的限速控制方法,其特征在于,所述CDN网络系统包括多个CDN节点和与所述多个CDN节点通信的全局中心汇总服务器,每个所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和所述全局中心汇总服务器通信的节点内中心控制服务器,所述方法包括以下步骤:A speed limit control method for a CDN network system, characterized in that the CDN network system comprises a plurality of CDN nodes and a global central summary server communicating with the plurality of CDN nodes, each of the CDN nodes including at least one WEB And a server and an intra-node central control server in communication with the at least one WEB server and the global hub summary server, the method comprising the steps of:
    每个CDN节点中的节点内中心控制服务器向所述全局中心汇总服务器发送所述每个CDN节点的流量信息和域名信息,以使所述全局中心汇总服务器根据所述每个CDN节点的流量信息和域名信息生成限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;The intra-node central control server in each CDN node sends the traffic information and the domain name information of each CDN node to the global central summary server, so that the global central summary server according to the traffic information of each CDN node Generating a rate limit command with the domain name information, wherein the speed limit command includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name;
    所述节点内中心控制服务器接收所述限速指令,并根据所述针对所支持域名的实际提供带宽值,计算所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值;以及Receiving, by the central control server in the node, the speed limit command, and calculating, according to the actual bandwidth value provided for the supported domain name, a bandwidth value provided by each WEB server in the CDN node for the supported domain name ;as well as
    所述节点内中心控制服务器将所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值发送至所述每个WEB服务器,以使所述每个WEB服务器根据自身对应的针对所述所支持域名所提供的带宽值进行控制。The intra-node central control server sends a bandwidth value provided by each WEB server in the CDN node for the supported domain name to each WEB server, so that each WEB server according to its own corresponding Controlling the bandwidth value provided by the supported domain name.
  2. 如权利要求1所述的CDN网络系统的限速控制方法,其特征在于,还包括:The method for controlling a rate limit of a CDN network system according to claim 1, further comprising:
    每个所述CDN节点中的节点内中心控制服务器接收所述CDN节点中WEB服务器上报的针对所述所支持域名的流量增量,并根据所述流量增量和所述所支持域名生成所述CDN节点对应的所述流量信息和域名信息。An intra-node central control server in each of the CDN nodes receives a traffic increment reported by the WEB server in the CDN node for the supported domain name, and generates the information according to the traffic increment and the supported domain name. The traffic information and domain name information corresponding to the CDN node.
  3. 如权利要求1所述的CDN网络系统的限速控制方法,其特征在于,还包括:The method for controlling a rate limit of a CDN network system according to claim 1, further comprising:
    所述全局中心汇总服务器对每个所述CDN节点发送的流量信息和域名信息进行汇总,并判断是否有域名的当前带宽大于带宽阈值;The global center summary server summarizes the traffic information and the domain name information sent by each of the CDN nodes, and determines whether the current bandwidth of the domain name is greater than the bandwidth threshold;
    如果所述域名的当前带宽大于所述带宽阈值,则所述全局中心汇总服务器根据每个所述CDN节点发送的流量信息和域名信息每个所述CDN节点针对所述域名的实际提供带宽值;以及If the current bandwidth of the domain name is greater than the bandwidth threshold, the global center summary server provides a bandwidth value for each domain name of the CDN node according to the traffic information and domain name information sent by each of the CDN nodes; as well as
    所述全局中心汇总服务器根据每个所述CDN节点针对所述域名的实际提供带宽值生成所述限速指令。The global center summary server generates the speed limit instruction according to an actual provided bandwidth value of the domain name for each of the CDN nodes.
  4. 如权利要求3所述的CDN网络系统的限速控制方法,其特征在于,还包括:The method for controlling a rate limit of a CDN network system according to claim 3, further comprising:
    如果所述域名的当前带宽小于所述带宽阈值,则保持支持所述域名的各个CDN节点的带宽不变。If the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node supporting the domain name is kept unchanged.
  5. 如权利要求1所述的CDN网络系统的限速控制方法,其特征在于,其中,所述全局中心汇总服务器按照预设周期生成所述限速指令,所述方法还包括: The speed limit control method of the CDN network system according to claim 1, wherein the global center summary server generates the speed limit command according to a preset period, the method further comprising:
    当所述CDN节点中的节点内中心控制服务器未接收到所述全局中心汇总服务器的限速指令之后,停止对所述CDN节点中的WEB服务器进行限速。After the in-node central control server in the CDN node does not receive the speed limit command of the global center summary server, stop limiting the speed of the WEB server in the CDN node.
  6. 一种CDN网络系统的限速控制方法,其特征在于,所述CDN网络系统包括多个CDN节点和与所述多个CDN节点通信的全局中心汇总服务器,每个所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和所述全局中心汇总服务器通信的节点内中心控制服务器,所述方法包括以下步骤:A speed limit control method for a CDN network system, characterized in that the CDN network system comprises a plurality of CDN nodes and a global central summary server communicating with the plurality of CDN nodes, each of the CDN nodes including at least one WEB And a server and an intra-node central control server in communication with the at least one WEB server and the global hub summary server, the method comprising the steps of:
    所述全局中心汇总服务器接收每个CDN节点的流量信息和域名信息,并根据所述每个CDN节点的流量信息和域名信息生成限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;以及The global center summary server receives the traffic information and the domain name information of each CDN node, and generates a speed limit command according to the traffic information and the domain name information of each CDN node, where the speed limit instruction includes a corresponding CDN node for the Support the actual provided bandwidth value of the domain name;
    所述全局中心汇总服务器向所述CDN节点中的节点内中心控制服务器发送所述限速指令,以使所述节点内中心控制服务器根据所述针对所支持域名的实际提供带宽值,计算所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值,并将所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值发送至所述每个WEB服务器,以使所述每个WEB服务器根据自身对应的针对所述所支持域名所提供的带宽值进行控制。Transmitting, by the global center summary server, the speed limit instruction to an intra-node central control server in the CDN node, so that the central control server in the node calculates the bandwidth value according to the actual provided bandwidth value for the supported domain name. a bandwidth value provided by each WEB server within the CDN node for the supported domain name, and a bandwidth value provided by each WEB server in the CDN node for the supported domain name is sent to each WEB And a server, so that each of the WEB servers controls according to a bandwidth value provided by the corresponding WEB for the supported domain name.
  7. 如权利要求6所述的CDN网络系统的限速控制方法,其特征在于,还包括:The method for controlling a rate limit of a CDN network system according to claim 6, further comprising:
    所述全局中心汇总服务器对每个所述CDN节点发送的流量信息和域名信息进行汇总,并判断是否有域名的当前带宽大于带宽阈值;The global center summary server summarizes the traffic information and the domain name information sent by each of the CDN nodes, and determines whether the current bandwidth of the domain name is greater than the bandwidth threshold;
    如果所述域名的当前带宽大于所述带宽阈值,则所述全局中心汇总服务器根据每个所述CDN节点发送的流量信息和域名信息发送每个所述CDN节点针对所述域名的实际提供带宽值;以及And if the current bandwidth of the domain name is greater than the bandwidth threshold, the global center summary server sends, according to the traffic information and the domain name information sent by each of the CDN nodes, an actual provided bandwidth value of each of the CDN nodes for the domain name. ;as well as
    所述全局中心汇总服务器根据每个所述CDN节点针对所述域名的实际提供带宽值生成所述限速指令。The global center summary server generates the speed limit instruction according to an actual provided bandwidth value of the domain name for each of the CDN nodes.
  8. 如权利要求7所述的CDN网络系统的限速控制方法,其特征在于,还包括:The method for controlling a rate limit of a CDN network system according to claim 7, further comprising:
    如果所述域名的当前带宽小于所述带宽阈值,则保持支持所述域名的各个CDN节点的带宽不变。If the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node supporting the domain name is kept unchanged.
  9. 一种CDN网络系统,其特征在于,所述CDN网络系统包括多个CDN节点和与所述多个CDN节点通信的全局中心汇总服务器,每个所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和所述全局中心汇总服务器通信的节点内中心控制服务器,其中,A CDN network system, characterized in that the CDN network system comprises a plurality of CDN nodes and a global central summary server in communication with the plurality of CDN nodes, each of the CDN nodes comprising at least one WEB server and An intra-node central control server in which at least one WEB server communicates with the global central summary server, wherein
    所述全局中心汇总服务器用于根据每个CDN节点的流量信息和域名信息生成限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值; The global center summary server is configured to generate a rate limit command according to the traffic information and the domain name information of each CDN node, where the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name;
    每个CDN节点中的节点内中心控制服务器用于向所述全局中心汇总服务器发送所述每个CDN节点的流量信息和域名信息,并接收所述限速指令,以及根据所述针对所支持域名的实际提供带宽值,计算所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值,并将所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值发送至每个WEB服务器;以及An intra-node central control server in each CDN node is configured to send traffic information and domain name information of each of the CDN nodes to the global center summary server, and receive the speed limit instruction, and according to the supported domain name Actually providing a bandwidth value, calculating a bandwidth value provided by each WEB server in the CDN node for the supported domain name, and providing each WEB server in the CDN node for the supported domain name The bandwidth value is sent to each WEB server;
    所述每个WEB服务器用于根据自身对应的针对所述所支持域名所提供的带宽值进行控制。Each WEB server is configured to control according to its own corresponding bandwidth value provided for the supported domain name.
  10. 如权利要求9所述的CDN网络系统,其特征在于,每个所述CDN节点中的节点内中心控制服务器还用于接收所述CDN节点中WEB服务器上报的针对所述所支持域名的流量增量,并根据所述流量增量和所述所支持域名生成所述CDN节点对应的所述流量信息和域名信息。The CDN network system according to claim 9, wherein the in-node central control server in each of the CDN nodes is further configured to receive the traffic increase reported by the WEB server in the CDN node for the supported domain name. And generating, according to the traffic increment and the supported domain name, the traffic information and domain name information corresponding to the CDN node.
  11. 如权利要求9所述的CDN网络系统,其特征在于,所述全局中心汇总服务器还用于对每个所述CDN节点发送的流量信息和域名信息进行汇总,并判断是否有域名的当前带宽大于带宽阈值,以及当所述域名的当前带宽大于所述带宽阈值时,根据每个所述CDN节点发送的流量信息和域名信息每个所述CDN节点针对所述域名的实际提供带宽值,并根据每个所述CDN节点针对所述域名的实际提供带宽值生成所述限速指令。The CDN network system according to claim 9, wherein the global central summary server is further configured to summarize traffic information and domain name information sent by each of the CDN nodes, and determine whether a current bandwidth of the domain name is greater than a bandwidth threshold, and when the current bandwidth of the domain name is greater than the bandwidth threshold, according to traffic information and domain name information sent by each of the CDN nodes, each of the CDN nodes provides a bandwidth value for the domain name, and according to Each of the CDN nodes generates the rate limit instruction for an actual provided bandwidth value of the domain name.
  12. 如权利要求11所述的CDN网络系统,其特征在于,所述全局中心汇总服务器还用于:The CDN network system according to claim 11, wherein the global central summary server is further configured to:
    当所述域名的当前带宽小于所述带宽阈值时,保持支持所述域名的各个CDN节点的带宽不变。When the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node supporting the domain name is kept unchanged.
  13. 如权利要求9所述的CDN网络系统,其特征在于,其中,所述全局中心汇总服务器按照预设周期生成所述限速指令,所述CDN节点中的节点内中心控制服务器还用于:The CDN network system according to claim 9, wherein the global center summary server generates the speed limit command according to a preset period, and the node center control server in the CDN node is further configured to:
    当未接收到所述全局中心汇总服务器的限速指令时,停止对所述CDN节点中的WEB服务器进行限速。When the speed limit command of the global center summary server is not received, the speed limit of the WEB server in the CDN node is stopped.
  14. 一种CDN节点,其特征在于,所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和全局中心汇总服务器通信的节点内中心控制服务器,其中,所述节点内中心控制服务器包括:A CDN node, wherein the CDN node comprises at least one WEB server and an intra-node central control server in communication with the at least one WEB server and a global central summary server, wherein the intra-node central control server comprises:
    第一发送模块,用于向所述全局中心汇总服务器发送所述每个CDN节点的流量信息和域名信息;a first sending module, configured to send, to the global central summary server, traffic information and domain name information of each CDN node;
    第一接收模块,用于接收所述全局中心汇总服务器根据所述每个CDN节点的流量 信息和域名信息生成的限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;a first receiving module, configured to receive, according to the traffic of each of the CDN nodes, the global center summary server a speed limit instruction generated by the information and the domain name information, wherein the speed limit instruction includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name;
    计算模块,用于根据所述针对所支持域名的实际提供带宽值,计算所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值;a calculating module, configured to calculate, according to the actual provided bandwidth value for the supported domain name, a bandwidth value provided by each WEB server in the CDN node for the supported domain name;
    第二发送模块,用于将所述CDN节点内的每个WEB服务器针对所述所支持域名所提供的带宽值发送至所述WEB服务器;以及a second sending module, configured to send, to the WEB server, a bandwidth value provided by each WEB server in the CDN node for the supported domain name;
    所述WEB服务器用于根据自身对应的针对所述所支持域名所提供的带宽值进行控制。The WEB server is configured to control according to a bandwidth value provided by the corresponding domain name for the supported domain name.
  15. 如权利要求14所述的CDN节点,其特征在于,所述节点内中心控制服务器还包括:The CDN node according to claim 14, wherein the intra-node central control server further comprises:
    第二接收模块,用于接收所述WEB服务器上报的针对所述所支持域名的流量增量;以及a second receiving module, configured to receive a traffic increment reported by the WEB server for the supported domain name;
    生成模块,用于根据所述流量增量和所述所支持域名生成所述CDN节点对应的所述流量信息和域名信息。And a generating module, configured to generate, according to the traffic increment and the supported domain name, the traffic information and domain name information corresponding to the CDN node.
  16. 如权利要求14所述的CDN节点,其特征在于,其中,所述全局中心汇总服务器按照预设周期生成所述限速指令,当所述第一接收模块未接收到所述全局中心汇总服务器的限速指令时,停止对所述WEB服务器进行限速。The CDN node according to claim 14, wherein the global center summary server generates the speed limit instruction according to a preset period, when the first receiving module does not receive the global center summary server When the speed limit command is issued, the speed limit of the WEB server is stopped.
  17. 一种全局中心汇总服务器,其特征在于,所述全局中心汇总服务器与多个CDN节点通信,每个所述CDN节点包括至少一个WEB服务器和与所述至少一个WEB服务器和所述全局中心汇总服务器通信的节点内中心控制服务器,所述全局中心汇总服务器包括:A global center summary server, wherein the global center summary server is in communication with a plurality of CDN nodes, each of the CDN nodes including at least one WEB server and the at least one WEB server and the global center summary server The intra-node central control server of the communication, the global central summary server includes:
    接收模块,用于接收每个所述CDN节点的流量信息和域名信息;a receiving module, configured to receive traffic information and domain name information of each of the CDN nodes;
    生成模块,用于根据所述每个CDN节点的流量信息和域名信息生成限速指令,其中,所述限速指令包括对应CDN节点针对所支持域名的实际提供带宽值;以及a generating module, configured to generate a rate limit command according to the traffic information and domain name information of each CDN node, where the speed limit command includes an actual provided bandwidth value of the corresponding CDN node for the supported domain name;
    发送模块,用于向每个所述CDN节点中的节点内中心控制服务器发送所述限速指令。And a sending module, configured to send the speed limit instruction to an intra-node central control server in each of the CDN nodes.
  18. 如权利要求17所述的全局中心汇总服务器,其特征在于,所述生成模块包括:The global central summary server according to claim 17, wherein the generating module comprises:
    汇总单元,用于对所述每个CDN节点的流量信息和域名信息进行汇总;a summary unit, configured to summarize traffic information and domain name information of each of the CDN nodes;
    判断单元,用于判断是否有域名的当前带宽大于带宽阈值;a determining unit, configured to determine whether a current bandwidth of the domain name is greater than a bandwidth threshold;
    发送单元,用于当所述域名的当前带宽大于所述带宽阈值时,根据每个所述CDN节点发送的流量信息和域名信息发送每个所述CDN节点针对所述域名的实际提供带宽值;以及 a sending unit, configured to: when the current bandwidth of the domain name is greater than the bandwidth threshold, send, according to the traffic information and the domain name information sent by each of the CDN nodes, an actual provided bandwidth value of each of the CDN nodes for the domain name; as well as
    生成单元,用于根据每个所述CDN节点针对所述域名的实际提供带宽值生成所述限速指令。And a generating unit, configured to generate the speed limit instruction according to an actual provided bandwidth value of the domain name by each of the CDN nodes.
  19. 如权利要求18所述的全局中心汇总服务器,其特征在于,如果所述判断单元判断所述域名的当前带宽小于所述带宽阈值,则保持所述域名的各个CDN节点的带宽不变。 The global center summary server according to claim 18, wherein if the determining unit determines that the current bandwidth of the domain name is less than the bandwidth threshold, the bandwidth of each CDN node of the domain name is kept unchanged.
PCT/CN2016/075375 2015-03-12 2016-03-02 Cdn network system and speed limit control method thereof, and cdn node and server WO2016141820A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510109232.5 2015-03-12
CN201510109232.5A CN106034083B (en) 2015-03-12 2015-03-12 CDN network system and its speed-limiting control method, CDN node and server

Publications (1)

Publication Number Publication Date
WO2016141820A1 true WO2016141820A1 (en) 2016-09-15

Family

ID=56879898

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075375 WO2016141820A1 (en) 2015-03-12 2016-03-02 Cdn network system and speed limit control method thereof, and cdn node and server

Country Status (2)

Country Link
CN (1) CN106034083B (en)
WO (1) WO2016141820A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493046A (en) * 2018-02-27 2019-11-22 贵州白山云科技股份有限公司 A kind of dispatching method and system of CDN network interior joint server bandwidth resource
CN110690988A (en) * 2019-09-02 2020-01-14 网宿科技股份有限公司 Bandwidth control method, bandwidth control platform, server and storage medium
CN112804110A (en) * 2021-03-19 2021-05-14 上海七牛信息技术有限公司 Bandwidth accurate control method and device based on content distribution network index system
CN112995046A (en) * 2019-12-12 2021-06-18 上海云盾信息技术有限公司 Content distribution network traffic management method and equipment
EP3866419A4 (en) * 2018-10-18 2021-12-15 Wangsu Science & Technology Co., Ltd. Domain name bandwidth adjusting method and related device
CN115333982A (en) * 2021-05-11 2022-11-11 北京金山云网络技术有限公司 Flow monitoring method, device, equipment and computer readable storage medium

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257402B (en) * 2017-07-14 2021-08-17 阿里巴巴集团控股有限公司 Request quantity control method and equipment
CN109889451B (en) * 2017-12-06 2020-07-17 贵州白山云科技股份有限公司 Network speed limiting system and method and server
CN109981484B (en) * 2017-12-28 2023-01-17 阿里巴巴集团控股有限公司 Monitoring system, monitoring method and monitoring center
CN110401553B (en) * 2018-04-25 2022-06-03 阿里巴巴集团控股有限公司 Server configuration method and device
CN110838932A (en) * 2018-08-17 2020-02-25 阿里巴巴集团控股有限公司 Network current limiting method and device and electronic equipment
CN109951399A (en) * 2019-03-25 2019-06-28 网宿科技股份有限公司 Processing method, server and the interchanger of request of data
CN110048968B (en) * 2019-04-12 2021-06-22 网宿科技股份有限公司 Domain name bandwidth adjusting method and device
CN110098978B (en) * 2019-04-12 2021-02-26 网宿科技股份有限公司 DNS scheduling test method and device, network equipment and storage medium
US10958592B2 (en) 2019-04-12 2021-03-23 Wangsu Science & Technology Co., Ltd. Domain name bandwidth adjustment method and apparatus
CN110198344A (en) 2019-05-05 2019-09-03 网宿科技股份有限公司 A kind of resource regulating method and system
CN110198274A (en) * 2019-06-21 2019-09-03 苏宁云计算有限公司 A kind of control method and its system of group flow
CN113038186A (en) * 2021-02-07 2021-06-25 杭州又拍云科技有限公司 Method and configuration for flexible speed limit by automatically analyzing video code rate in content distribution network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702669A (en) * 2009-11-18 2010-05-05 上海网宿科技股份有限公司 Bandwidth allocation method and system
US20110022682A1 (en) * 2009-07-27 2011-01-27 Yoel Moshe Zanger Transferring Multimedia Content
US20110040861A1 (en) * 2009-08-17 2011-02-17 At&T Intellectual Property I, L.P. Integrated Proximity Routing for Content Distribution
CN102761572A (en) * 2011-04-28 2012-10-31 腾讯科技(深圳)有限公司 Method and system for dynamically adjusting data flow
CN103684870A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for obtaining bandwidth flow of CDN (Content Delivery Network)
US20150047043A1 (en) * 2009-08-26 2015-02-12 At&T Intellectual Property I, L.P. Using a content delivery network for security monitoring

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426024B (en) * 2008-12-15 2011-10-12 深圳市迅雷网络技术有限公司 Data flow controlling method, system and apparatus
CN101741643B (en) * 2009-12-24 2011-09-28 北京云快线软件服务有限公司 Content delivery network node detecting method and system
CN104320487B (en) * 2014-11-11 2018-03-20 网宿科技股份有限公司 The HTTP scheduling system and method for content distributing network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110022682A1 (en) * 2009-07-27 2011-01-27 Yoel Moshe Zanger Transferring Multimedia Content
US20110040861A1 (en) * 2009-08-17 2011-02-17 At&T Intellectual Property I, L.P. Integrated Proximity Routing for Content Distribution
US20150047043A1 (en) * 2009-08-26 2015-02-12 At&T Intellectual Property I, L.P. Using a content delivery network for security monitoring
CN101702669A (en) * 2009-11-18 2010-05-05 上海网宿科技股份有限公司 Bandwidth allocation method and system
CN102761572A (en) * 2011-04-28 2012-10-31 腾讯科技(深圳)有限公司 Method and system for dynamically adjusting data flow
CN103684870A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for obtaining bandwidth flow of CDN (Content Delivery Network)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493046A (en) * 2018-02-27 2019-11-22 贵州白山云科技股份有限公司 A kind of dispatching method and system of CDN network interior joint server bandwidth resource
CN110493046B (en) * 2018-02-27 2022-08-16 贵州白山云科技股份有限公司 Scheduling method and system for node server bandwidth resources in CDN (content delivery network)
EP3866419A4 (en) * 2018-10-18 2021-12-15 Wangsu Science & Technology Co., Ltd. Domain name bandwidth adjusting method and related device
US11258724B2 (en) 2018-10-18 2022-02-22 Wangsu Science & Technology Co., Ltd. Method and devices for domain name bandwidth adjustment
CN110690988A (en) * 2019-09-02 2020-01-14 网宿科技股份有限公司 Bandwidth control method, bandwidth control platform, server and storage medium
CN112995046A (en) * 2019-12-12 2021-06-18 上海云盾信息技术有限公司 Content distribution network traffic management method and equipment
CN112804110A (en) * 2021-03-19 2021-05-14 上海七牛信息技术有限公司 Bandwidth accurate control method and device based on content distribution network index system
CN115333982A (en) * 2021-05-11 2022-11-11 北京金山云网络技术有限公司 Flow monitoring method, device, equipment and computer readable storage medium
CN115333982B (en) * 2021-05-11 2024-02-09 北京金山云网络技术有限公司 Flow monitoring method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN106034083A (en) 2016-10-19
CN106034083B (en) 2019-10-08

Similar Documents

Publication Publication Date Title
WO2016141820A1 (en) Cdn network system and speed limit control method thereof, and cdn node and server
US9794152B2 (en) Systems and methods for performing localized server-side monitoring in a content delivery network
US11153359B2 (en) User equipment and media streaming network assistance node
US11044304B2 (en) Apparatus and method for selecting a content distribution network entity to improve resource utilization
US8611327B2 (en) Method and apparatus for policing a QoS flow in a MoCA 2.0 network
US9503206B2 (en) Multi-tier polling
US9178929B2 (en) Client-side class-of-service-based bandwidth management in over-the-top video delivery
JP6468502B2 (en) Billing session management method and apparatus
WO2012001513A3 (en) System and method for generating and updating pcc rules based on service requests
WO2008148122A2 (en) Method and apparatus for computer network bandwidth control and congestion management
WO2014059828A1 (en) Method and system for adjusting control policy
BRPI0908298B1 (en) NETWORK MANAGEMENT METHOD THAT UNDERSTANDS A SET OF DEVICES FOR TRANSMITTING A TRAFFIC FLOW USING NETWORK RESOURCES, AND NETWORK MANAGEMENT DEVICE THAT UNDERSTANDS A SET OF TRANSFER TRANSFER TRANSFER SERVICE.
CN104092620A (en) Method and device for achieving adjustment of network bandwidth
WO2013017001A1 (en) Method, device and system for realizing application performance self-adaption
US20220321486A1 (en) Controlling data rate based on domain and radio usage history
WO2019042351A1 (en) Method for monitoring and controlling traffic usage during session, server and storage medium
KR102153543B1 (en) A buffer management method and apparatus for universal serial bus in a radio environment
CN104348753B (en) Data packet forwarding method and packet transfer device, packet
US20070237073A1 (en) Method and apparatus for improved isochronous data delivery over non-isochronous communication fabric
JP2017511991A5 (en)
WO2020036079A1 (en) Network control device, network control method, and program
JP2013143732A (en) Communication terminal device
WO2013097207A1 (en) Service control method, network device, content server and system
EP2624520B1 (en) Method, control device and delivery infrastructure for improving efficiency in adaptive streaming
US11272404B2 (en) Sharing of radio resources for content servers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16761047

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16761047

Country of ref document: EP

Kind code of ref document: A1