[go: up one dir, main page]

CN110581801A - network adjusting method and device for content distribution network - Google Patents

network adjusting method and device for content distribution network Download PDF

Info

Publication number
CN110581801A
CN110581801A CN201810585713.7A CN201810585713A CN110581801A CN 110581801 A CN110581801 A CN 110581801A CN 201810585713 A CN201810585713 A CN 201810585713A CN 110581801 A CN110581801 A CN 110581801A
Authority
CN
China
Prior art keywords
node
network
target
data
target node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810585713.7A
Other languages
Chinese (zh)
Other versions
CN110581801B (en
Inventor
周岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810585713.7A priority Critical patent/CN110581801B/en
Publication of CN110581801A publication Critical patent/CN110581801A/en
Application granted granted Critical
Publication of CN110581801B publication Critical patent/CN110581801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a network adjusting method and a device of a content distribution network, wherein the method comprises the following steps: collecting service data of network nodes in a content distribution network; acquiring respective target link data of target nodes corresponding to a plurality of target addresses accessed by the network node and node link data of the network node; and judging whether the service quality from the network node to the target node in the service data is less than a service quality threshold, if so, determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data. The method has stronger timeliness, avoids the influence of network waves on the data service effect, enables the data transmission of the content distribution network to be more stable, and enables the data service provided based on the content distribution network to be more stable.

Description

Network adjusting method and device for content distribution network
Technical Field
the present application relates to the field of network technologies, and in particular, to a network adjustment method for a content delivery network. The application also relates to a network adjusting device of the content distribution network and an electronic device.
background
a Content Delivery Network (CDN) is a distributed Network established and covered over a bearer Network and composed of edge node Server clusters distributed in different areas, and the working principle of the CDN is to cache resources of a source station on edge node servers (CDN nodes) in various areas, and when a user requests access to and acquires resources, to call the resources cached on the CDN nodes nearby, instead of a conventional data transmission mode centered on a Server. The CDN is involved in data transmission among nodes and data transmission between CDN nodes and a source station in a service process. As data transmission is through the internet, the influence of network fluctuation on service effect is very serious, and especially in Live broadcast service, for example, in an hls (http Live streaming) Live broadcast scene, once network abnormality occurs, as shown in fig. 1, abnormality such as playing card pause, playing skip and the like can be caused.
at present, a method for solving a network problem in a data transmission process mainly adopts a master-slave mode, as shown in fig. 2, in the master-slave mode, if a main link is abnormal, which causes TCP connection failure, service application in this case will automatically switch to a backup source station for service, and after the backup link is serviced for a fixed time, try to use the main source station to perform the service. Or, as shown in fig. 3, if the data transmission speed of the main link is reduced, in this case, the peripheral monitoring system needs to monitor the reduced data transmission speed, and then notify the operation and maintenance personnel to perform the link switching manually. However, the two methods have long service influence time and poor timeliness.
disclosure of Invention
The application provides a network adjusting method of a content distribution network, which aims to overcome the defects in the prior art. The application also relates to a network adjusting device of the content distribution network and an electronic device.
the application provides a network adjusting method of a content distribution network, which comprises the following steps:
Collecting service data of network nodes in a content distribution network;
Acquiring respective target link data of target nodes corresponding to a plurality of target addresses accessed by the network node and node link data of the network node;
And judging whether the service quality from the network node to the target node in the service data is less than a service quality threshold, if so, determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data.
Optionally, the network node in the content distribution network includes: edge nodes and central nodes in the content distribution network;
accordingly, the target node accessed by the network node comprises: a central node in the content distribution network accessed by the edge node, and a network node where a source station corresponding to the target address accessed by the central node is located.
optionally, the target link data of the target node includes a ratio of an actually used bandwidth of the target node to a total capacity; node link data for the network node, including a ratio of an actual utilized bandwidth to a total capacity of the network node.
Optionally, the determining whether the quality of service from the network node to the target node in the service data is less than a quality of service threshold includes:
judging whether at least one target node with the service quality smaller than the service quality threshold value exists in the target nodes, if so, executing the following operations:
Taking the target node with the service quality smaller than the service quality threshold value as a first target node, and taking the target nodes except the first target node as second target nodes;
and judging whether at least one target node with the service quality higher than that of the first target node exists in the second target node, if so, executing a link adjustment scheme step of determining that the network node accesses the target node based on at least one of the service data, the target link data and the node link data.
optionally, after determining that the link adjustment scheme for the network node to access the target node is executed based on at least one of the service data, the target link data, and the node link data, the following operations are executed:
And adjusting the data stream corresponding to the data link of the network node accessing the target node according to the link adjustment scheme.
optionally, the adjusting the data stream corresponding to the data link, where the network node accesses the target node, according to the link adjustment scheme is implemented in the following manner:
switching the data stream of the network node accessing the first target node to the second target node step by step according to the link adjustment scheme;
and judging whether the adjusted service quality of the network node accessing the first target node is smaller than the service quality of the network node accessing the second target node, if so, returning to execute the substep of switching the data stream of the network node accessing the first target node to the second target node step by step according to the link adjustment scheme.
optionally, after the step of adjusting the data stream corresponding to the data link, where the network node accesses the target node, according to the link adjustment scheme is executed, the following operations are executed:
And detecting whether the service quality of the network node accessing the first target node is greater than or equal to the service quality threshold, if so, switching the data stream of the network node accessing the second target node to the first target node step by step according to the link adjustment scheme.
Optionally, before the step of detecting whether the service quality of the network node accessing the first target node is greater than or equal to the service quality threshold is executed, and the step of gradually switching the data stream of the network node accessing the second target node to the first target node according to the link adjustment scheme is executed, the following operations are executed:
Judging whether the ratio of the predicted bandwidth to the total bandwidth of the first target node is smaller than the link data information of the first target node or not according to the predicted bandwidth of the first target node after the network node is switched to the first target node, if so, executing the step of switching the data stream of the second target node accessed by the network node to the first target node step by step according to the link adjustment scheme;
Wherein the predicted bandwidth of the first target node is equal to the sum of the actual used bandwidth of the first target node and the predicted increased bandwidth.
Optionally, the quality of service includes a download speed from the network node to the target node.
optionally, the destination address and the destination node have a one-to-one correspondence.
The present application also provides a network adjusting apparatus for a content distribution network, including:
The service data acquisition unit is used for acquiring service data of network nodes in the content distribution network;
a link data acquiring unit, configured to acquire target link data of each of target nodes corresponding to a plurality of target addresses accessed by the network node, and node link data of the network node;
a service quality judging unit, configured to judge whether a service quality from the network node to the target node in the service data is smaller than a service quality threshold, and if so, run a link adjustment scheme determining unit;
The link adjustment scheme determining unit is configured to determine a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data, and the node link data.
Optionally, the network node in the content distribution network includes: edge nodes and central nodes in the content distribution network;
Accordingly, the target node accessed by the network node comprises: a central node in the content distribution network accessed by the edge node, and a network node where a source station corresponding to the target address accessed by the central node is located.
Optionally, the target link data of the target node includes a ratio of an actually used bandwidth of the target node to a total capacity; node link data for the network node, including a ratio of an actual utilized bandwidth to a total capacity of the network node.
Optionally, the service quality determining unit is specifically configured to determine whether there is at least one target node in the target nodes, where the service quality of the target node accessed by the network node is smaller than the service quality threshold, and if so, operate the target node to determine the subunit and the target node determining subunit;
The target node determining subunit is configured to use the target node with the quality of service smaller than the quality of service threshold as a first target node, and use a target node other than the first target node as a second target node;
The target node determining unit is configured to determine whether at least one target node with a quality of service greater than that of the first target node exists in the second target node, and if so, operate the link adjustment scheme determining unit.
Optionally, the network adjusting apparatus of the content distribution network includes:
And the adjusting unit is used for adjusting the data stream corresponding to the data link of the target node accessed by the network node according to the link adjusting scheme.
optionally, the adjusting unit includes:
a data stream step-by-step switching subunit, configured to switch, according to the link adjustment scheme, the data stream of the first target node accessed by the network node to the second target node step-by-step;
and the service quality judging subunit is used for judging whether the service quality of the network node accessing the first target node is smaller than the service quality of the network node accessing the second target node after the adjustment, and if so, the data stream step-by-step switching subunit is operated.
the present application further provides an electronic device, comprising:
A memory and a processor;
The memory is to store computer-executable instructions, the processor is to execute the computer-executable instructions to implement:
collecting service data of network nodes in a content distribution network;
acquiring respective target link data of target nodes corresponding to a plurality of target addresses accessed by the network node and node link data of the network node;
And judging whether the service quality from the network node to the target node in the service data is less than a service quality threshold, if so, determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data.
the network adjusting method for the content distribution network comprises the following steps: collecting service data of network nodes in a content distribution network; acquiring respective target link data of target nodes corresponding to a plurality of target addresses accessed by the network node and node link data of the network node; and judging whether the service quality from the network node to the target node in the service data is less than a service quality threshold, if so, determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data.
according to the network adjusting method of the content distribution network, in the process of adjusting a plurality of target nodes accessed by network nodes in the content distribution network, whether adjustment is performed or not is judged by collecting the service quality of the network nodes in the content distribution network, if the adjustment is required based on the service quality judgment of the network nodes, a link adjusting scheme is determined according to node link data of the network nodes and respective target link data of the target nodes, the link adjusting scheme is used as a basis for adjusting the target nodes accessed by the network nodes, the timeliness is higher, meanwhile, the influence of the service effect of network fluctuation data is avoided, the data transmission of the content distribution network is more stable, and the data service provided based on the content distribution network is more stable.
drawings
fig. 1 is a schematic diagram of a content distribution network provided by the prior art;
Fig. 2 is a schematic diagram of an automatic network switching provided by the prior art;
fig. 3 is a schematic diagram of a network manual switching provided by the prior art;
FIG. 4 is a process flow diagram of an embodiment of a method for network tuning of a content distribution network provided herein;
FIG. 5 is a schematic diagram of a content distribution network provided herein;
fig. 6 is a schematic diagram of a network tuning process of a content distribution network provided by the present application;
Fig. 7 is a schematic diagram of an embodiment of a network adjusting apparatus of a content distribution network provided in the present application;
fig. 8 is a schematic diagram of an electronic device provided by the present application.
Detailed Description
in the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
the application provides a network adjusting method of a content distribution network, and also provides a network adjusting device of the content distribution network and an electronic device. The following detailed description and the description of the steps of the method are individually made with reference to the drawings of the embodiments provided in the present application.
The embodiment of the network adjusting method for the content distribution network provided by the application is as follows:
Referring to fig. 4, which shows a processing flow chart of an embodiment of a network adjustment method of a content distribution network provided by the present application, referring to fig. 5, which shows a schematic diagram of a content distribution network provided by the present application, referring to fig. 6, which shows a schematic diagram of a network adjustment process of a content distribution network provided by the present application.
step S401, collecting service data of a network node in the content distribution network.
In practice, a Content Delivery Network (CDN) inevitably affects the service effect thereof due to network fluctuation, and particularly shows more significantly under weak network conditions such as severe network jitter, high network packet loss, and slow download speed, and in an hls (http Live streaming) Live broadcast scenario, once a weak network condition occurs, it may cause abnormalities such as playing card pause and playing skip, and thus greatly affect the service. In order to ensure the stability of data transmission of the content distribution network, the network adjustment method for the content distribution network provided by the application specifically detects the relevant data of the data link of the target node accessed by the service application and the relevant data of the network node where the service application is located, determines the optimal data link of the target node accessed by the network node by combining the relevant data of the network node and the relevant data of the target node, and then correspondingly adjusts the target node accessed by the network node according to the optimal data link, so that the influence of weak network conditions such as network fluctuation on the data service effect is avoided, the data transmission of the content distribution network is more stable, and the data service provided based on the content distribution network is more stable.
In a preferred implementation manner provided by the embodiment of the present application, the network node in the content distribution network includes an edge node in the content distribution network, and correspondingly, the target node accessed by the edge node includes a central node in the content distribution network. In addition, the network node in the content distribution network may further include a central node in the content distribution network, and accordingly, the target node accessed by the central node includes a network node where a source station corresponding to the target address is located.
The embodiment of the present application takes a scenario in which an edge node in a content distribution network accesses a central node as an example, so that a network node in the content distribution network includes the edge node in the content distribution network, and a target node in the content distribution network includes the central node in the content distribution network. It should be noted that, a scenario in which a central node in the content distribution network accesses a network node where a source station corresponding to a destination address is located is similar to an implementation manner in which an edge node in the content distribution network accesses the central node, and reference is made to the above-mentioned embodiment of the scenario in which the edge node in the content distribution network accesses the central node, which is not described herein again.
As shown in fig. 5, a network node in a content distribution network accesses a target node, and a service management module, a service application module, and a detection module are arranged on the network node. As shown in fig. 6, in practical application, a configuration center issues configuration information to a service management module, where the configuration information includes a target address that needs to be network-adjusted and a configuration for network adjustment of the target address, and after receiving the target address and the configuration for network adjustment of the target address, the service management module will regularly detect the target address through a detection module, and adjust a data link between a network node corresponding to the target address in a content distribution network and a target node corresponding to the target address through the network adjustment method of the content distribution network according to the embodiment of the present application.
In this step, service data of a network node in the content distribution network is collected, specifically, the service management module collects, from the service application module, service quality of a network node where the service application module is currently located, preferably, the service quality includes a download speed from the network node to the target node, such as a download speed from an edge node to a central node in the content distribution network, and further such as a download speed from the central node to a network node where a source station corresponding to a target address of the content distribution network is located.
in a specific implementation, if there are multiple target addresses accessed by network nodes in the content distribution network, and the target addresses correspond to different target nodes, it is preferable that, in this case, the target addresses correspond to the target nodes, and a one-to-one correspondence relationship between the target addresses and the target nodes is established.
Step S402, obtaining respective target link data of target nodes corresponding to a plurality of target addresses accessed by the network node, and node link data of the network node.
In this step, target link data of each of target nodes corresponding to a plurality of target addresses accessed by the network node in the content distribution network and node link data of the network node itself in the content distribution network are acquired. The target link data of the target node in the embodiment of the present application includes a ratio of an actually used bandwidth of the target node to a total capacity, and the ratio of the actually used bandwidth of the target node to the total capacity may be understood as "water level" information of the target node. Similarly, the node link data of the network node includes the ratio of the actual usage bandwidth of the network node to the total capacity, which can be understood as "water level" information of the network node.
In practical applications, the "water level" information of the target node and the network node is provided by the water level center shown in fig. 5, and the service management module may periodically obtain the "water level" information of the relevant node from the water level center, as shown in fig. 6, so as to obtain target link data of each of the target nodes corresponding to a plurality of target addresses accessed by the network node in the content distribution network, and obtain node link data of the network node itself in the content distribution network.
It should be noted that, in the step S401, the operation of acquiring the service quality of the network node where the service application module is currently located from the service application module through the service management module, and the operation of acquiring the target link data corresponding to each target node and the node link data of the network node itself in the step S402 are performed, and the execution sequence of the two operations is not limited in actual execution, and the operation of acquiring the target link data corresponding to each target node and the node link data of the network node itself may be performed after the operation of acquiring the service quality of the network node, or the operation of acquiring the target link data corresponding to each target node and the node link data of the network node itself may be performed before the operation of acquiring the service quality of the network node.
Step S403, determining whether the service quality from the network node to the target node in the service data is less than a service quality threshold.
the step S401 acquires the service quality of the network node where the service application module is currently located from the service application module through the service management module, and the step S402 obtains the target link data corresponding to each target node and the node link data of the network node itself, this step determines whether the service quality from the network node to the target node is less than the service quality threshold, the purpose is to check whether the quality of service from the network node to the target node is below a minimum limit for which network adjustments are required, if so, it indicates that the current stability of the network node to the target node is poor, possibly in a weak network condition, performing a step S404 of determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data; if not, the network node is relatively stable to the target node, and the data link of the network node accessing the target node does not need to be adjusted and processed.
It should be noted that the qos threshold may be set according to an actual service type or a service requirement, for example, different qos thresholds are set for different services.
In a preferred embodiment provided in the embodiment of the present application, determining whether the service quality from the network node to the target node in the service data is less than a service quality threshold is implemented by:
judging whether at least one target node with the service quality smaller than the service quality threshold value exists in the target nodes, wherein the service quality of the target node accessed by the network node is smaller than the service quality threshold value, if so, taking the target node with the service quality smaller than the service quality threshold value as a first target node, and taking target nodes except the first target node as second target nodes; and judging whether at least one target node with the service quality higher than that of the first target node exists in the second target node, if so, executing a step S404, and determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data.
for example, as shown in fig. 5, in a network node, a target node 1 and a target node 2 in a content distribution network, a data flow (traffic) of a current service management module accessing the target node 1 accounts for 90% of all data flows of the service management module, and a data flow accessing the target node 2 accounts for 10% of all data flows of the service management module. By judging whether the download speed from the network node to the target node 1 and the download speed from the network node to the target node 2 are less than the service quality threshold, the judgment result shows that the download speed from the network node to the target node 1 is less than the service quality threshold, and the download speed of the target node 2 is greater than the service quality threshold. It can be seen that the data link of the service management module accessing the target node 1 has lower stability than the data link of the service management module accessing the target node 1, and therefore, the data stream of the service management module accessing the target node 1 needs to be switched to the target node 2.
step S404, determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data.
In the embodiment of the present application, a link adjustment scheme for the network node to access the target node is determined according to the service data, the target link data, and the node link data. It should be noted that, in a specific implementation, a link adjustment scheme for the network node to access the target node may be determined according to any one or both of the service data, the target link data, and the node link data, and for specific implementation, the implementation manner of the link adjustment scheme for the network node to access the target node is determined according to the service data, the target link data, and the node link data, which is not described in detail herein.
in the embodiment of the present application, the link adjustment scheme includes that the network node accesses a target node with an optimal data link (with the highest quality of service) among target nodes, and a data flow ratio allocated to each target node by the network node.
In a preferred implementation manner provided by the embodiment of the present application, after determining a link adjustment scheme for the network node to access the target node, a data stream corresponding to a data link for the network node to access the target node is adjusted according to the link adjustment scheme.
Preferably, the data flow corresponding to the data link of the network node accessing the target node is adjusted in the following manner: switching the data stream of the network node accessing the first target node to the second target node step by step according to the link adjustment scheme; judging whether the adjusted service quality of the network node for accessing the first target node is smaller than the service quality of the network node for accessing the second target node; if so, indicating that the adjusted service quality of the network node accessing the first target node is still less than the service quality of the network node accessing the second target node, returning to execute the substep of switching the data stream of the network node accessing the first target node to the second target node step by step according to the link adjustment scheme, and repeating the adjustment process until the service quality of the network node accessing the first target node is greater than or equal to the service quality of the network node accessing the second target node, or until the service quality of the network node accessing the first target node is greater than or equal to the service quality threshold, or until all the data streams of the network node accessing the first target node are switched to the second target node. If not, the service quality of the network node accessing the first target node after adjustment is larger than or equal to the service quality of the network node accessing the second target node, so that the data stream of the network node accessing the first target node does not need to be switched to the second target node.
Along the above example, as shown in fig. 5, the data flow rate of the service management module on the network node currently accessing the target node 1 is 90%, that is, 90% of the service provided by the service management module is realized by accessing the target node 1; the data flow rate of the service management module currently accessing the target node 2 is 10%, that is, 10% of the service provided by the service management module is realized by accessing the target node 1. The download speed from the network node to the target node 1 is less than the service quality threshold, the download speed of the target node 2 is greater than the service quality threshold, and on the basis, the determined link adjustment scheme comprises the following steps: the target node 2 is a target node with an optimal data link, a data stream of the network node accessing the target node 1 needs to be switched to the target node 2, and the data stream is switched according to a rule of 10% - > 30% - > 50% - > 100%, specifically, the data stream of the network node accessing the target node 2 is switched from 10% to 30% for the first time, and if the downloading speed from the network node to the target node 1 after switching is still less than the service quality threshold value and the downloading speed of the target node 2 is greater than the service quality threshold value, the second switching is performed; switching the data stream of the network node accessing the target node 2 from 30% to 50% for the second time, and if the download speed from the network node to the target node 1 after the second switching is still less than the service quality threshold value and the download speed of the target node 2 is greater than the service quality threshold value, performing the third switching; and thirdly, switching the data flow of the network node accessing the target node 2 from 50% to 100%.
in practical application, in the process of switching the data flow of the network node accessing the first target node to the second target node, or after switching the data flow of the network node accessing the first target node to the second target node, the quality of service of a data link, of which the network node accesses the first target node, is likely to improve, reverts to a level above the quality of service threshold, or the quality of service of the data link of the network node accessing the first target node begins to degrade below the quality of service threshold, in the face of this, the data stream of the network node accessing the second target node needs to be switched back to the first target node, and the specific switching process is similar to the switching process from the first target node to the second target node.
in an embodiment of the present application, in a process of switching a data stream of the network node accessing the first target node to the second target node, or after switching the data stream of the network node accessing the first target node to the second target node, the following qos detection operation is performed, specifically, the qos detection operation is performed by detecting whether the qos of the network node accessing the first target node is greater than or equal to the qos threshold, and if so, the data stream of the network node accessing the second target node is switched to the first target node step by step according to the link adjustment scheme.
Preferably, if it is detected that the quality of service of the network node accessing the first target node is greater than or equal to the quality of service threshold, before the data stream of the network node accessing the second target node is switched to the first target node step by step according to the link adjustment scheme, the following operations are performed: switching the data stream of the network node accessing the second target node to the first target node must satisfy the preconditions contained in the following operations: judging whether the ratio of the predicted bandwidth to the total bandwidth of the first target node is smaller than the link data information of the first target node or not according to the predicted bandwidth of the first target node after the network node is switched to the first target node, wherein the predicted bandwidth of the first target node is equal to the sum of the actual used bandwidth and the predicted increased bandwidth of the first target node; if so, switching the data stream of the network node accessing the second target node to the first target node step by step according to the link adjustment scheme; if not, the data flow does not meet the precondition of switching the data flow of the network node accessing the second target node to the first target node, and no processing is required.
to sum up, in the network adjustment method for the content distribution network provided by the application, in the process of adjusting a plurality of target nodes accessed by network nodes in the content distribution network, whether adjustment is performed or not is judged by collecting the service quality of the network nodes in the content distribution network, if the adjustment is required based on the service quality judgment of the network nodes, a link adjustment scheme is determined according to node link data of the network nodes and respective target link data of the plurality of target nodes, and the link adjustment scheme is used as a basis for adjusting the plurality of target nodes accessed by the network nodes, so that the timeliness is higher, meanwhile, the influence of a network fluctuation data service effect is avoided, the data transmission of the content distribution network is more stable, and the data service provided based on the content distribution network is also more stable.
the embodiment of the network adjusting device of the content distribution network provided by the application is as follows:
In the foregoing embodiment, a network adjusting method for a content distribution network is provided, and correspondingly, a network adjusting apparatus for a content distribution network is also provided in the present application, which is described below with reference to the accompanying drawings.
Referring to fig. 7, a schematic diagram of an embodiment of a network adjusting apparatus of a content distribution network provided in the present application is shown.
since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to the corresponding description of the method embodiments provided above for relevant portions. The device embodiments described below are merely illustrative.
The application provides a network adjusting device of a content distribution network, comprising:
A service data acquisition unit 701 configured to acquire service data of a network node in a content distribution network;
a link data obtaining unit 702, configured to obtain respective target link data of target nodes corresponding to multiple target addresses accessed by the network node, and node link data of the network node;
a service quality determining unit 703, configured to determine whether the service quality from the network node to the target node in the service data is less than a service quality threshold, and if so, run a link adjustment scheme determining unit 704;
the link adjustment scheme determining unit 704 is configured to determine a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data, and the node link data.
Optionally, the network node in the content distribution network includes: edge nodes and central nodes in the content distribution network;
accordingly, the target node accessed by the network node comprises: a central node in the content distribution network accessed by the edge node, and a network node where a source station corresponding to the target address accessed by the central node is located.
optionally, the target link data of the target node includes a ratio of an actually used bandwidth of the target node to a total capacity; node link data for the network node, including a ratio of an actual utilized bandwidth to a total capacity of the network node.
Optionally, the service quality determining unit 703 is specifically configured to determine whether there is at least one target node in the target nodes, where the service quality of the target node accessed by the network node is smaller than the service quality threshold, and if so, operate the target node to determine a subunit and a target node determining subunit;
The target node determining subunit is configured to use the target node with the quality of service smaller than the quality of service threshold as a first target node, and use a target node other than the first target node as a second target node;
The target node determining unit is configured to determine whether at least one target node with a quality of service greater than that of the first target node exists in the second target node, and if so, operate the link adjustment scheme determining unit.
optionally, the network adjusting apparatus of the content distribution network includes:
And the adjusting unit is used for adjusting the data stream corresponding to the data link of the target node accessed by the network node according to the link adjusting scheme.
Optionally, the adjusting unit includes:
A data stream step-by-step switching subunit, configured to switch, according to the link adjustment scheme, the data stream of the first target node accessed by the network node to the second target node step-by-step;
and the service quality judging subunit is used for judging whether the service quality of the network node accessing the first target node is smaller than the service quality of the network node accessing the second target node after the adjustment, and if so, the data stream step-by-step switching subunit is operated.
Optionally, the network adjusting apparatus of the content distribution network includes:
And the service quality detection unit is used for detecting whether the service quality of the network node accessing the first target node is greater than or equal to the service quality threshold value, if so, operating a second data stream step-by-step switching subunit, and is used for switching the data stream of the network node accessing the second target node to the first target node step by step according to the link adjustment scheme.
optionally, if the detection result output by the qos detection unit is negative, the link data information determination subunit is operated;
the link data information judging subunit is configured to judge, according to the predicted bandwidth of the first target node after the network node is switched to the first target node, whether a ratio of the predicted bandwidth to a total bandwidth of the first target node is smaller than link data information of the first target node, and if so, operate the second data stream switching stage-by-stage subunit; wherein the predicted bandwidth of the first target node is equal to the sum of the actual used bandwidth of the first target node and the predicted increased bandwidth.
Optionally, the quality of service includes a download speed from the network node to the target node.
Optionally, the destination address and the destination node have a one-to-one correspondence.
The embodiment of the electronic equipment provided by the application is as follows:
In the foregoing embodiment, a network adjusting method for a content distribution network is provided, and in addition, an electronic device for implementing the network adjusting method for the content distribution network is provided, which is described below with reference to the accompanying drawings.
referring to fig. 8, a schematic diagram of an electronic device provided in this embodiment is shown.
the embodiments of the electronic device provided in the present application are described more simply, and for related parts, reference may be made to the corresponding descriptions of the embodiments of the network adjustment method for a content distribution network provided above. The embodiments described below are merely illustrative.
The application provides an electronic device, including:
A memory 801 and a processor 802;
The memory 801 is configured to store computer-executable instructions, and the processor 802 is configured to execute the following computer-executable instructions to implement:
collecting service data of network nodes in a content distribution network;
acquiring respective target link data of target nodes corresponding to a plurality of target addresses accessed by the network node and node link data of the network node;
and judging whether the service quality from the network node to the target node in the service data is less than a service quality threshold, if so, determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data.
Optionally, the network node in the content distribution network includes: edge nodes and central nodes in the content distribution network;
accordingly, the target node accessed by the network node comprises: a central node in the content distribution network accessed by the edge node, and a network node where a source station corresponding to the target address accessed by the central node is located.
Optionally, the target link data of the target node includes a ratio of an actually used bandwidth of the target node to a total capacity; node link data for the network node, including a ratio of an actual utilized bandwidth to a total capacity of the network node.
optionally, the determining whether the quality of service from the network node to the target node in the service data is less than a quality of service threshold includes:
judging whether at least one target node with the service quality smaller than the service quality threshold value exists in the target nodes, if so, executing the following operations:
taking the target node with the service quality smaller than the service quality threshold value as a first target node, and taking the target nodes except the first target node as second target nodes;
And judging whether at least one target node with the service quality higher than that of the first target node exists in the second target node, if so, executing a link adjustment scheme instruction for determining that the network node accesses the target node based on at least one of the service data, the target link data and the node link data.
Optionally, after determining that the network node accesses the link adjustment scheme instruction of the target node based on at least one of the service data, the target link data, and the node link data, the processor 802 is further configured to execute the following computer-executable instructions:
And adjusting the data stream corresponding to the data link of the network node accessing the target node according to the link adjustment scheme.
optionally, the adjusting the data stream corresponding to the data link, where the network node accesses the target node, according to the link adjustment scheme is implemented in the following manner:
Switching the data stream of the network node accessing the first target node to the second target node step by step according to the link adjustment scheme;
and judging whether the adjusted service quality of the network node accessing the first target node is smaller than the service quality of the network node accessing the second target node, if so, returning to execute the instruction of switching the data stream of the network node accessing the first target node to the second target node step by step according to the link adjustment scheme.
Optionally, after the adjustment instruction is executed for the data stream corresponding to the data link, where the network node accesses the target node, according to the link adjustment scheme, the processor 802 is further configured to execute the following computer-executable instructions:
and detecting whether the service quality of the network node accessing the first target node is greater than or equal to the service quality threshold, if so, switching the data stream of the network node accessing the second target node to the first target node step by step according to the link adjustment scheme.
optionally, the processor 802 is further configured to execute the following computer-executable instructions, before the execution result of the instruction for detecting whether the quality of service of the network node accessing the first target node is greater than or equal to the quality of service threshold is yes and the data stream of the network node accessing the second target node is switched to the first target node step by step according to the link adjustment scheme for execution, and before the execution result of the instruction for detecting whether the quality of service of the network node accessing the first target node is greater than or equal to the quality of service threshold is yes:
judging whether the ratio of the predicted bandwidth to the total bandwidth of the first target node is smaller than the link data information of the first target node or not according to the predicted bandwidth of the first target node after the network node is switched to the first target node, if so, executing a command of switching the data stream of the network node accessing the second target node to the first target node step by step according to the link adjustment scheme; wherein the predicted bandwidth of the first target node is equal to the sum of the actual used bandwidth of the first target node and the predicted increased bandwidth.
Optionally, the quality of service includes a download speed from the network node to the target node.
Optionally, the destination address and the destination node have a one-to-one correspondence.
Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present application, therefore, the scope of the present application should be determined by the claims that follow.
In a typical configuration, a computing device includes one or more processors, input/output interfaces, network interfaces, and memory.
the memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
as will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

Claims (17)

1. a network adjustment method for a content distribution network, comprising:
collecting service data of network nodes in a content distribution network;
Acquiring respective target link data of target nodes corresponding to a plurality of target addresses accessed by the network node and node link data of the network node;
And judging whether the service quality from the network node to the target node in the service data is less than a service quality threshold, if so, determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data.
2. the network tuning method of the content distribution network according to claim 1, wherein the network node in the content distribution network comprises: edge nodes and central nodes in the content distribution network;
Accordingly, the target node accessed by the network node comprises: a central node in the content distribution network accessed by the edge node, and a network node where a source station corresponding to the target address accessed by the central node is located.
3. the network adjustment method of the content distribution network according to claim 2, wherein the target link data of the target node comprises a ratio of an actual used bandwidth of the target node to a total capacity;
node link data for the network node, including a ratio of an actual utilized bandwidth to a total capacity of the network node.
4. The method of claim 3, wherein the determining whether the quality of service from the network node to the target node in the service data is less than a quality of service threshold comprises:
judging whether at least one target node with the service quality smaller than the service quality threshold value exists in the target nodes, if so, executing the following operations:
Taking the target node with the service quality smaller than the service quality threshold value as a first target node, and taking the target nodes except the first target node as second target nodes;
And judging whether at least one target node with the service quality higher than that of the first target node exists in the second target node, if so, executing a link adjustment scheme step of determining that the network node accesses the target node based on at least one of the service data, the target link data and the node link data.
5. The network adjustment method of the content distribution network according to claim 4, wherein after the step of determining the link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data is performed, the following operations are performed:
and adjusting the data stream corresponding to the data link of the network node accessing the target node according to the link adjustment scheme.
6. The network adjusting method of the content distribution network according to claim 5, wherein the adjusting the data flow corresponding to the data link of the network node accessing the target node according to the link adjustment scheme comprises:
Switching the data stream of the network node accessing the first target node to the second target node step by step according to the link adjustment scheme;
And judging whether the adjusted service quality of the network node accessing the first target node is smaller than the service quality of the network node accessing the second target node, if so, returning to execute the substep of switching the data stream of the network node accessing the first target node to the second target node step by step according to the link adjustment scheme.
7. The network adjusting method of the content distribution network according to claim 6, wherein after the step of adjusting the data stream corresponding to the data link of the target node accessed by the network node according to the link adjustment scheme is executed, the following operations are executed:
and detecting whether the service quality of the network node accessing the first target node is greater than or equal to the service quality threshold, if so, switching the data stream of the network node accessing the second target node to the first target node step by step according to the link adjustment scheme.
8. The network adjusting method of the content distribution network according to claim 7, wherein the step of detecting whether the quality of service of the network node accessing the first target node is greater than or equal to the quality of service threshold is yes, and before the step of gradually switching the data stream of the network node accessing the second target node to the first target node according to the link adjustment scheme is executed, the following operations are executed:
Judging whether the ratio of the predicted bandwidth to the total bandwidth of the first target node is smaller than the link data information of the first target node or not according to the predicted bandwidth of the first target node after the network node is switched to the first target node, if so, executing the step of switching the data stream of the second target node accessed by the network node to the first target node step by step according to the link adjustment scheme;
wherein the predicted bandwidth of the first target node is equal to the sum of the actual used bandwidth of the first target node and the predicted increased bandwidth.
9. The network adjustment method of the content distribution network according to any one of claims 1 to 8, wherein the quality of service includes a download speed of the network node to the target node.
10. The network adjustment method of the content distribution network according to claim 9, wherein the destination address has a one-to-one correspondence with the destination node.
11. A network adjusting apparatus of a content distribution network, comprising:
The service data acquisition unit is used for acquiring service data of network nodes in the content distribution network;
a link data acquiring unit, configured to acquire target link data of each of target nodes corresponding to a plurality of target addresses accessed by the network node, and node link data of the network node;
A service quality judging unit, configured to judge whether a service quality from the network node to the target node in the service data is smaller than a service quality threshold, and if so, run a link adjustment scheme determining unit;
the link adjustment scheme determining unit is configured to determine a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data, and the node link data.
12. the network adjusting apparatus of the content distribution network according to claim 11, wherein the network node in the content distribution network comprises: edge nodes and central nodes in the content distribution network;
Accordingly, the target node accessed by the network node comprises: a central node in the content distribution network accessed by the edge node, and a network node where a source station corresponding to the target address accessed by the central node is located.
13. the network adjusting apparatus of the content distribution network according to claim 12, wherein the target link data of the target node comprises a ratio of an actual used bandwidth of the target node to a total capacity; node link data for the network node, including a ratio of an actual utilized bandwidth to a total capacity of the network node.
14. The network adjusting apparatus of the content distribution network according to claim 13, wherein the qos determining unit is specifically configured to determine whether there is at least one target node in the target nodes, where the qos of the target node accessed by the network node is lower than the qos threshold, and if so, run a target node determining subunit and a target node determining subunit;
The target node determining subunit is configured to use the target node with the quality of service smaller than the quality of service threshold as a first target node, and use a target node other than the first target node as a second target node;
the target node determining unit is configured to determine whether at least one target node with a quality of service greater than that of the first target node exists in the second target node, and if so, operate the link adjustment scheme determining unit.
15. The network adjusting apparatus of the content distribution network according to claim 14, comprising:
and the adjusting unit is used for adjusting the data stream corresponding to the data link of the target node accessed by the network node according to the link adjusting scheme.
16. The network adjusting apparatus of the content distribution network according to claim 15, wherein the adjusting unit includes:
a data stream step-by-step switching subunit, configured to switch, according to the link adjustment scheme, the data stream of the first target node accessed by the network node to the second target node step-by-step;
And the service quality judging subunit is used for judging whether the service quality of the network node accessing the first target node is smaller than the service quality of the network node accessing the second target node after the adjustment, and if so, the data stream step-by-step switching subunit is operated.
17. An electronic device, comprising:
A memory and a processor;
the memory is to store computer-executable instructions, the processor is to execute the computer-executable instructions to implement:
Collecting service data of network nodes in a content distribution network;
Acquiring respective target link data of target nodes corresponding to a plurality of target addresses accessed by the network node and node link data of the network node;
and judging whether the service quality from the network node to the target node in the service data is less than a service quality threshold, if so, determining a link adjustment scheme for the network node to access the target node based on at least one of the service data, the target link data and the node link data.
CN201810585713.7A 2018-06-08 2018-06-08 Network adjustment method and device for content distribution network Active CN110581801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810585713.7A CN110581801B (en) 2018-06-08 2018-06-08 Network adjustment method and device for content distribution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810585713.7A CN110581801B (en) 2018-06-08 2018-06-08 Network adjustment method and device for content distribution network

Publications (2)

Publication Number Publication Date
CN110581801A true CN110581801A (en) 2019-12-17
CN110581801B CN110581801B (en) 2022-06-28

Family

ID=68809505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810585713.7A Active CN110581801B (en) 2018-06-08 2018-06-08 Network adjustment method and device for content distribution network

Country Status (1)

Country Link
CN (1) CN110581801B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111478792A (en) * 2020-03-05 2020-07-31 网宿科技股份有限公司 Cutover information processing method, system and device
CN111479137A (en) * 2020-04-16 2020-07-31 广州酷狗计算机科技有限公司 Method and device for providing line address, server and storage medium
CN111885670A (en) * 2020-07-27 2020-11-03 中国联合网络通信集团有限公司 Routing reselection method, device and system for Content Delivery Network (CDN)
CN112615791A (en) * 2020-12-30 2021-04-06 北京达佳互联信息技术有限公司 Method and device for scheduling traffic of content delivery network
CN113301079A (en) * 2020-06-03 2021-08-24 阿里巴巴集团控股有限公司 Data acquisition method, system, computing device and storage medium
CN114338705A (en) * 2021-11-24 2022-04-12 阿里巴巴(中国)有限公司 Resource water level control method, device and medium for content delivery network CDN node

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN104348647A (en) * 2013-07-31 2015-02-11 腾讯科技(深圳)有限公司 Multisource bandwidth scheduling method, device, and system
CN105897615A (en) * 2015-09-14 2016-08-24 乐视云计算有限公司 Data transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN104348647A (en) * 2013-07-31 2015-02-11 腾讯科技(深圳)有限公司 Multisource bandwidth scheduling method, device, and system
CN105897615A (en) * 2015-09-14 2016-08-24 乐视云计算有限公司 Data transmission method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111478792A (en) * 2020-03-05 2020-07-31 网宿科技股份有限公司 Cutover information processing method, system and device
CN111478792B (en) * 2020-03-05 2021-11-02 网宿科技股份有限公司 A method, system and device for processing cutover information
CN111479137A (en) * 2020-04-16 2020-07-31 广州酷狗计算机科技有限公司 Method and device for providing line address, server and storage medium
CN111479137B (en) * 2020-04-16 2022-02-18 广州酷狗计算机科技有限公司 Method and device for providing line address, server and storage medium
CN113301079A (en) * 2020-06-03 2021-08-24 阿里巴巴集团控股有限公司 Data acquisition method, system, computing device and storage medium
CN113301079B (en) * 2020-06-03 2022-11-18 阿里巴巴集团控股有限公司 Data acquisition method, system, computing device and storage medium
CN111885670A (en) * 2020-07-27 2020-11-03 中国联合网络通信集团有限公司 Routing reselection method, device and system for Content Delivery Network (CDN)
CN112615791A (en) * 2020-12-30 2021-04-06 北京达佳互联信息技术有限公司 Method and device for scheduling traffic of content delivery network
CN112615791B (en) * 2020-12-30 2023-05-09 北京达佳互联信息技术有限公司 Method and device for scheduling traffic of content distribution network
CN114338705A (en) * 2021-11-24 2022-04-12 阿里巴巴(中国)有限公司 Resource water level control method, device and medium for content delivery network CDN node
CN114338705B (en) * 2021-11-24 2023-12-01 阿里巴巴(中国)有限公司 Resource water level control method, equipment and medium for CDN node of content delivery network

Also Published As

Publication number Publication date
CN110581801B (en) 2022-06-28

Similar Documents

Publication Publication Date Title
CN110581801B (en) Network adjustment method and device for content distribution network
JP6228141B2 (en) Method and apparatus for managing network resources used by multimedia streams in a virtual pipe
US12137351B2 (en) Dynamic adjustment of deployment location of software within a network
CN112333108B (en) Service scheduling method and device
CN108337699B (en) Internet surfing method and device, mobile terminal and storage medium
US20220386225A1 (en) Methods, systems, and computer readable media for determining time related parameter values for a communications network
CN110858808A (en) Method, system and device for realizing speed limit
US11070445B2 (en) System and method for optimization of an over-the-top (OTT) platform
CN105450536A (en) Data distribution method and data distribution device
CN108989368B (en) Link quality control method and monitoring equipment
JP2016046575A (en) Traffic management device and wireless network system
EP3075114A1 (en) Method for distributing available bandwidth of a network amongst ongoing traffic sessions run by devices of the network, corresponding device
CN112532665A (en) Server load balancing method and device and CDN node
US20180183658A1 (en) Method for dynamically managing a network service in a communication network
US9806946B2 (en) Dynamic middlebox redirection based on client characteristics
CN108235059A (en) A kind of method and system for distributing transcoding task
KR20190049111A (en) Method and apparatus for providing streaming services
CN113727382A (en) Network quality determination method and device, network equipment and computer storage medium
KR101920433B1 (en) Contents Delivery System and method
JP2016149619A (en) Wireless communication system, policy control apparatus, and communication control method
CN114375039B (en) Uplink resource allocation method, device and base station
CN111338917B (en) Dynamic control method and device for determining server service capability
CN108040261B (en) Network live broadcast management method and device and storage medium
RU2020125250A (en) SESSION PROCESSING METHOD AND DEVICE
CN119450095A (en) Offline method and device for streaming node

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant