CN111371826A - CDN node performance detection method, device and system - Google Patents

CDN node performance detection method, device and system Download PDF

Info

Publication number
CN111371826A
CN111371826A CN201811603689.1A CN201811603689A CN111371826A CN 111371826 A CN111371826 A CN 111371826A CN 201811603689 A CN201811603689 A CN 201811603689A CN 111371826 A CN111371826 A CN 111371826A
Authority
CN
China
Prior art keywords
node
target network
cdn
network device
cdn 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
CN201811603689.1A
Other languages
Chinese (zh)
Other versions
CN111371826B (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.)
3600 Technology Group Co ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811603689.1A priority Critical patent/CN111371826B/en
Publication of CN111371826A publication Critical patent/CN111371826A/en
Application granted granted Critical
Publication of CN111371826B publication Critical patent/CN111371826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1029Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer

Abstract

The invention discloses a method, a device and a system for detecting the performance of CDN nodes. Wherein, the method comprises the following steps: respectively sending a pre-acquired device identifier set containing a plurality of target network device identifiers to a plurality of CDN nodes; receiving node equipment monitoring values between the local node returned by each CDN node and each target network equipment corresponding to each target network equipment identification contained in the equipment identification set; and determining a performance detection result corresponding to each CDN node and each target network device according to each node device monitoring value returned by each CDN node. Therefore, in the method disclosed by the invention, the performance detection result corresponding to each CDN node and each target network device can be determined. The performance detection result can reflect the performance effect of the CDN node when the CDN node covers a certain target network device, so that the performance condition of each CDN node when the CDN node covers a certain area is predicted in advance, the CDN node with the optimal performance is selected for covering, and the user experience is improved.

Description

CDN node performance detection method, device and system
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device and a system for detecting performance of CDN nodes.
Background
A Content Delivery Network (CDN) node enables a user to access a required resource nearby, thereby improving the resource access speed. In the prior art, a plurality of different CDN nodes are often set in a plurality of different regions, and each CDN node is responsible for providing services for users in an adjacent area.
However, the inventor finds that the above mode in the prior art has at least the following defects in the process of implementing the invention: because the distribution number of the CDN nodes is limited, some areas that are not directly covered by the CDN nodes need to be indirectly covered by CDN nodes in neighboring areas. In general, the number of CDN nodes in an adjacent area is often more than one, and since the performance condition of each CDN node covering a certain area cannot be predicted in the prior art, a CDN node with the optimal performance cannot be selected for covering, so that user experience is affected.
Therefore, a way to accurately predict the performance effect of each CDN node when covering a specific area is needed in the prior art, so as to provide help for scheduling of CDN nodes.
Disclosure of Invention
In view of the above problems, the present invention is proposed to provide a method, apparatus and system for detecting the performance of CDN nodes, which overcome the above problems or at least partially solve the above problems.
According to an aspect of the present invention, a method for detecting performance of a CDN node is provided, including:
respectively sending a pre-acquired device identifier set containing a plurality of target network device identifiers to a plurality of CDN nodes;
receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set;
and determining a performance detection result corresponding to each CDN node and each target network device according to each node device monitoring value returned by each CDN node.
According to another aspect of the present invention, a performance detection apparatus for a CDN node is provided, including:
the device identifier set sending module is suitable for respectively sending a device identifier set which is obtained in advance and contains a plurality of target network device identifiers to a plurality of CDN nodes;
the node device monitoring value receiving module is suitable for receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set;
and the performance detection result determining module is suitable for determining the performance detection results corresponding to each CDN node and each target network device according to the monitoring values of each node device returned by each CDN node.
According to another aspect of the present invention, there is provided a performance detection system for CDN nodes, including:
the performance detection device of the CDN node is configured to detect a performance of the CDN node, and a plurality of CDN nodes are connected to the performance detection device respectively.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the performance detection method of the CDN node.
According to another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform an operation corresponding to the performance detection method for the CDN node.
In the method, the device and the system for detecting the performance of the CDN node, which are disclosed by the invention, a device identifier set which is obtained in advance and contains a plurality of target network device identifiers can be respectively sent to a plurality of CDN nodes, and a performance detection result corresponding to each CDN node and each target network device is determined according to a node device monitoring value which is returned by each CDN node and is between the node and each target network device corresponding to each target network device identifier contained in the device identifier set. The performance detection result can reflect the performance effect of the CDN node when covering a certain target network device, so that the performance condition of each CDN node when covering a certain area is predicted in advance, the CDN node with the optimal performance is selected for covering, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a performance detection method for CDN nodes according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a performance detection method for CDN nodes according to another embodiment of the present invention;
fig. 3 is a device structure diagram of a performance detection device of a CDN node according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 5 is a schematic structural diagram illustrating a performance detection system for CDN nodes according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart illustrating a performance detection method for CDN nodes according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S110: and respectively sending a pre-acquired device identifier set containing a plurality of target network device identifiers to a plurality of CDN nodes.
The device identifier set is used for storing a plurality of target network device identifiers in the whole network range, and each target network device identifier corresponds to one target network device to be monitored. In order to realize effective monitoring in the whole network range, the target network devices corresponding to the target network device identifiers stored in the device identifier set are distributed in various regions.
And respectively sending the device identifier set to each CDN node in a plurality of CDN nodes so that each CDN node can monitor the target network device corresponding to each target network device identifier in the device identifier set.
Step S120: and receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set.
After receiving the device identifier set, each CDN node needs to monitor a target network device corresponding to each target network device identifier in the device identifier set to determine a node device monitoring value between the node and each target network device. Therefore, each CDN node respectively generates a plurality of node equipment monitoring values, and each CDN node reports each node equipment monitoring value generated by the node to the execution main body in the invention. Each node device monitoring value corresponds to a CDN node and a target network device, and is used to reflect a performance situation when the CDN node accesses the target network device.
Step S130: and determining a performance detection result corresponding to each CDN node and each target network device according to each node device monitoring value returned by each CDN node.
In this step, performance detection results corresponding to each target network device and each CDN node can be determined by collecting and summarizing each node device monitoring value returned by each CDN node. The performance detection result is used for reflecting the performance of the communication between the CDN node and the target network device. In an actual situation, one CDN node may generate a plurality of node device monitoring values corresponding to different monitoring periods for the same target network device, and accordingly, when determining a performance detection result between the CDN node and the same target network device, the node device monitoring values of the different monitoring periods need to be integrated for processing. Therefore, the performance detection result is determined according to the monitoring value of the node device, the specific determination mode depends on the actual application scenario, and the invention is not limited to this.
Therefore, in the performance detection method of the CDN node disclosed by the invention, the device identifier set containing a plurality of target network device identifiers, which is obtained in advance, can be sent to the plurality of CDN nodes, and the performance detection result corresponding to each CDN node and each target network device is determined according to the node device monitoring value between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set. The performance detection result can reflect the performance effect of the CDN node when covering a certain target network device, so that the performance condition of each CDN node when covering a certain area is predicted in advance, the CDN node with the optimal performance is selected for covering, and the user experience is improved.
Fig. 2 is a flowchart illustrating a performance detection method for CDN nodes according to another embodiment of the present invention. In this embodiment, an execution subject of the method is a network device such as a central control server capable of implementing a control function, and the central control server is respectively connected to a plurality of CDN nodes so as to implement mutual communication with each CDN node. The CDN nodes are distributed over a plurality of different regions to reflect information over the entire network. In addition, in this embodiment, the target network device identifier is an IP address of the target network device, but in other embodiments of the present invention, the target network device identifier may also be other information capable of uniquely identifying one network device, such as a device name. As shown in fig. 2, the method includes:
step S200: and filtering candidate equipment IP addresses meeting preset filtering rules in the plurality of pre-collected candidate equipment IP addresses to obtain an equipment identifier set containing a plurality of target network equipment identifiers.
Wherein, the candidate device IP address refers to: and before the filtering operation is executed, the collected IP addresses of the target network devices. The target network device identifier (i.e. the target network device IP address) may be determined in a variety of ways:
for example, in one approach, multiple target network device identifications are determined from the IP address of a preset machine room. The preset IP address of the machine room mainly refers to an IP address of a machine room of a preset company (for example, a company with a scale exceeding a preset rule), or an IP address of a machine room of a website with a large portal volume. The stability of the IP address of the target network equipment determined by the method is better. In other ways, the IP addresses of individual users' client devices may also be collected, but the stability of such IP addresses is poor.
As another example, in yet another approach, the plurality of target network device identifications are determined from domain name query records received by the authoritative DNS server from the local DNS server. The authorized DNS servers continuously receive domain name query requests from local DNS servers in various places and return corresponding domain name query results. The domain name query record corresponding to the query process is recorded through a log file of an authorized DNS server. Correspondingly, the IP address of the network equipment with higher query frequency can be extracted as the identification of the target network equipment by analyzing the log file of the authorized DNS server. The method extracts according to the query frequency of the network equipment, and the network equipment with high stability is easy to extract. Of course, the embodiment may also obtain the network device corresponding to the monitoring point through a third party, where the network device is provided by the third party and has higher stability.
The invention does not limit the collection mode of the target network equipment identification, and only needs to collect the network equipment with comprehensive coverage area and abundant quantity. In order to ensure the quality of the collected network target device identifier, in this embodiment, a preset filtering rule is further set for filtering out a target network device identifier with poor quality. The preset filtering rule can filter the device identification of the target network device with poor quality from the aspects of transmission delay, online time and the like of the network device so as to improve the accuracy of subsequent performance detection.
It can be seen that, each target network device identifier included in the device identifier set in this embodiment is a network device with high quality that has been screened, and can be monitored as a sample point, so as to estimate the communication condition of the network device near the sample point according to the monitoring result of the sample point (i.e., the target network device).
In addition, in order to further improve the accuracy of the subsequent monitoring result, in this step, a weight is further set for each target network device corresponding to each target network device identifier included in the device identifier set according to factors such as the stability of each target network device corresponding to each target network device identifier included in the device identifier set, the device online time, and/or link information corresponding to the device. For example, the higher the stability, the longer the device online duration, and/or the better the link status corresponding to the device, the higher the weight of the target network device; conversely, the lower the weight. By setting the weight, the sample points with good quality can be monitored in a key mode, and the reliability of the result is improved.
Step S210: and respectively sending a pre-acquired device identifier set containing a plurality of target network device identifiers to a plurality of CDN nodes.
The device identifier set is used for storing a plurality of target network device identifiers in the whole network range, and each target network device identifier corresponds to one target network device to be monitored. In order to realize effective monitoring in the whole network range, the target network devices corresponding to the target network device identifiers stored in the device identifier set are distributed in various regions. For example, it includes: Beijing-Unicom network equipment, Shanghai-Unicom network equipment, Tianjin-telecom network equipment, Shenzhen-mobile network equipment and the like.
The central control server sends the device identifier set to each CDN node in the plurality of CDN nodes, so that each CDN node can monitor a target network device corresponding to each target network device identifier in the device identifier set. And each CDN node connected with the central control server extends over each region of the whole country. For example, it includes: the CDN node comprises a CDN node communicated with Beijing, a CDN node moved by Nanjing, a CDN node communicated with Hangzhou and the like.
Step S220: and receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set.
After receiving the device identifier set, each CDN node needs to monitor a target network device corresponding to each target network device identifier in the device identifier set to determine a node device monitoring value between the node and each target network device. Specifically, each CDN node calculates a monitoring value of each node device between the node and each target network device according to a packet loss rate and/or a transmission delay between the node and each target network device.
For example, assume that the first CDN node is a CDN node in beijing unicom, and the device identifier set at least includes the following three target network device IP addresses: IP1 is a Beijing-Unicom network device, IP2 is a Shanghai-Unicom network device, and IP3 is an Tianjin telecommunication network device. The first CDN node needs to send PING (Packet Internet Groper) instructions to the IP addresses of the three target network devices, respectively, to determine Packet loss rates and/or transmission delays between the first CDN node and each target network device, and calculate each node device monitoring value between the first CDN node and each target network device according to the Packet loss rates and/or the transmission delays. For example, since the IP1 is communicated with the first CDN node belonging to beijing, the transmission delay between the IP1 and the first CDN node is 10 ms; the difference between the IP2 and the first CDN node is relatively large, so that the transmission delay between the IP2 and the first CDN node is 200 ms; the transmission delay between IP3 and the first CDN node is 20 ms. Correspondingly, the first CDN node determines a node device monitoring value between the node and each IP according to the monitoring result. In the above example, the packet loss rate is not described, and actually, the packet loss rate may be converted into the transmission delay according to a certain conversion rule, and a specific value of the monitoring value of the node device may be calculated according to the value of the transmission delay. For example, a packet loss rate can be converted into a transmission delay of 10 ms. Or, respectively giving certain weights to the packet loss rate and the transmission delay, and then performing weighting operation on the packet loss rate value and the transmission delay value, thereby determining the monitoring value of the node device. In actual situations, of course, the monitoring value of the node device may be determined by combining other factors besides the packet loss rate and the transmission delay, which is not limited in the present invention. In general, the higher the packet loss rate and/or the longer the transmission delay, the lower the monitoring value of the node device; the lower the packet loss rate and/or the shorter the transmission delay, the higher the monitoring value of the node device. Correspondingly, in the above example, the node device monitoring value between the first CDN node and the IP1 is greater than the node device monitoring value between the first CDN node and the IP3, and the node device monitoring value between the first CDN node and the IP3 is greater than the node device monitoring value between the first CDN node and the IP 2.
Each node device monitoring value corresponds to a CDN node and a target network device, and is used to reflect a performance situation when the CDN node accesses the target network device. Accordingly, each node device monitoring value includes at least one of the following items of information: a node identifier of the CDN node that generates the node device monitoring value (used to identify the CDN node corresponding to the node device monitoring value), a network device identifier of a target network device that corresponds to the node device monitoring value (used to identify the target network device that corresponds to the node device monitoring value), and a monitoring value (which may be represented by a specific score, for example) that corresponds to the CDN node that generates the node device monitoring value and the target network device that corresponds to the node device monitoring value. In this embodiment, each node device monitoring value should include the above three items of information, and each item of information may be respectively included in different fields of a communication message for transmitting the node device monitoring value, so that the central control server obtains, through parsing message data, a node identifier of a CDN node that generates the node device monitoring value, a network device identifier of a target network device corresponding to the node device monitoring value, and a monitoring value that are included in the message.
Therefore, each CDN node respectively generates a plurality of node equipment monitoring values, and each CDN node reports each node equipment monitoring value generated by the node to the central control server. When the number of the target network device identifiers included in the device identifier set is M, each CDN node generates M node device monitoring values corresponding to each target network device identifier. When the number of the CDN nodes is N, the central control server receives N × M node device monitoring values in total. N, M are all natural numbers.
In addition, in order to avoid the influence caused by network jitter and other factors and improve the stability of the monitoring value, in this embodiment, each CDN node may generate a plurality of node device monitoring values respectively corresponding to different monitoring periods for each target network device. In one case, each CDN node reports a plurality of node device monitoring values, which are generated for each target network device and respectively correspond to different monitoring periods, to the central control server, where each node device monitoring value has corresponding monitoring time information, so that the central control server performs summarization processing according to the plurality of node device monitoring values corresponding to the same CDN node and the same target network device. In another case, each CDN node converts, through a preset operation rule, a plurality of node device monitoring values, which are generated for each target network device and respectively correspond to different monitoring periods, into one node device monitoring value, and reports the node device monitoring value to the central control server. For example, the conversion is performed by calculating an average value between the monitoring values of the plurality of node apparatuses; or, the monitoring values of the plurality of node devices are given different weights and are converted in a weighting mode. Wherein, the later node equipment monitoring value of the monitoring time is weighted to be higher, so that the latest data occupies a higher proportion. In practical applications, the two cases can be used alone or in combination. When the two are used in combination, each CDN node generates a first number of node device monitoring values corresponding to different monitoring periods respectively for each target network device, converts the first number of node device monitoring values into a second number of node device monitoring values through a certain algorithm, and sends the second number of node device monitoring values to the central control server, so that the central control server can determine the monitoring condition between the CDN node and the target network device according to the second number of node device monitoring values. Wherein the first number is greater than the second number. For example, each CDN node generates 10 node device monitoring values corresponding to different monitoring periods for each target network device, converts the 10 node device monitoring values into 5 node device monitoring values through a certain algorithm (for example, calculates a weighted average of every two adjacent node device monitoring values), and sends the 5 node device monitoring values to the central control server, so that the central control server determines a monitoring condition between the CDN node and the target network device according to the 5 node device monitoring values. By the method, errors caused by network fluctuation can be avoided to the greatest extent.
In addition, when each CDN node generates, for each target network device, a plurality of node device monitoring values respectively corresponding to different monitoring periods, a specific number of the plurality of node device monitoring values generated for the target network device may be determined according to the weight of the target network device. In other words, the number of cycles for monitoring the target network device may be determined according to the weight according to the target network device. For example, more cycles of monitoring are performed on target network devices with higher weights and greater reference meanings to obtain more node device monitoring values, so as to ensure the accuracy of the monitoring results of the target network devices.
Step S230: and determining a performance detection result corresponding to each CDN node and each target network device according to each node device monitoring value returned by each CDN node.
In this step, the central control server can determine the performance detection result corresponding to each target network device by collecting and summarizing the monitoring value of each node device returned by each CDN node. The performance detection result is used for reflecting the performance of the communication between the CDN node and the target network device. Specifically, for each node device monitoring value returned by each CDN node, a performance detection result corresponding to the CDN node and a target network device corresponding to the node device monitoring value is determined according to a node identifier of the CDN node that generates the node device monitoring value and a network device identifier of the target network device corresponding to the node device monitoring value, which are included in the node device monitoring value returned by the CDN node.
In this embodiment, a CDN node generates a plurality of node device monitoring values corresponding to different monitoring periods, respectively, for a same target network device, and each node device monitoring value uniquely corresponds to a CDN node and a target network device. Correspondingly, the central control server needs to extract the node identifiers of the CDN nodes and the network device identifier of the target network device included in the monitoring values of the node devices, then collects a plurality of node device monitoring values including the same node identifier of the CDN node and the same network device identifier into a group, calculates a calculation result corresponding to a group of node device monitoring values obtained by the collection according to a preset operation rule, and determines the calculation result as a performance detection result corresponding to the CDN node and the target network device. The preset operation rule may be an averaging rule, a median rule, or a weighted average rule. In the weighted average rule, different weights can be given according to the monitoring time of the monitoring value of each node device: the later the monitoring time the higher the weight. By the method, it is assumed that the CDN node generates 5 node device monitoring values for the same target network device, the 5 node device monitoring values are summarized into a group, and a performance detection result of the CDN node corresponding to the same target network device is calculated accordingly. Specifically, the performance detection result may also be represented by a score value, or the like.
Step S240: and respectively determining the node characteristics of each CDN node according to the node identifier of the CDN node and the equipment characteristics of the target network equipment according to the target network equipment identifier of the target network equipment aiming at the performance detection result corresponding to each CDN node and each target network equipment.
The performance probe is specific to a CDN node and a specific target network device. For example, a performance probe result is provided between the first CDN node and the IP1 in beijing communication, and is used to indicate a communication status between the first CDN node and the IP1 in beijing communication. However, in practical situations, there may be multiple network devices with identical device characteristics, and the multiple network devices may be clustered based on the device characteristics to analyze the communication status between the network devices and the CDN nodes. Similarly, there may be multiple CDN nodes having the same node characteristics, and the multiple CDN nodes may be clustered based on the node characteristics to analyze the communication status between the CDN node and the network device.
Correspondingly, in this step, for the performance detection result corresponding to each CDN node and each target network device, the node characteristics of the CDN node are determined according to the node identifier of the CDN node, and the device characteristics of the target network device are determined according to the target network device identifier of the target network device. When the node characteristics of the CDN node are determined according to the node identifier of the CDN node, node characteristics such as a node region and/or a node operator may be extracted, for example, the first CDN node and the second CDN node may both be nodes in beijing communication, and thus may be grouped into one type. When determining the device characteristics of the target network device according to the target network device identifier of the target network device, device characteristics such as a device region and/or a device operator may be extracted, for example, if both IP1 and IP5 are network devices in shanghai link, they may be grouped into one.
Step S250: clustering the performance detection results corresponding to each CDN node and each target network device according to the node characteristics and/or the device characteristics; and determining a performance summarizing result corresponding to each node characteristic and/or equipment characteristic according to the clustering processing result.
Specifically, in the clustering, the performance detection results corresponding to CDN nodes with the same node characteristics are mainly clustered, and the performance detection results corresponding to target network devices with the same device characteristics are clustered. Preferably, the performance detection results with the same node characteristics and the same device characteristics can be grouped into one type.
In one case, performance detection results corresponding to CDN nodes with the same node characteristics are grouped into one class, so that a performance summary result corresponding to the node characteristics of the class can be determined according to a clustering result. For example, assuming that there are three CDN nodes in the entire network, the three CDN nodes are grouped into one type, and by analyzing the performance detection results corresponding to the three CDN nodes, a performance summary result corresponding to the type of CDN node in beijing connectivity can be determined. Specifically, when determining, a weighted average value may be calculated for all performance detection results (or some performance detection results after screening) of the same type of CDN node, so as to determine a performance summary result of the type of CDN node. The performance summarizing result is used for reflecting the service capacity of the CDN node.
In another case, the performance detection results corresponding to the target network devices with the same device characteristics are grouped into one type, so that the performance summary result corresponding to the device characteristics of the type can be determined according to the clustering result. For example, assuming that there are 10 target network devices in the same type as the target network device in the shanghai link in the whole network range, the 10 target network devices are grouped into one type, and a performance summary result corresponding to the target network device in the shanghai link type can be determined by analyzing performance detection results corresponding to the 10 target network devices. When the specific determination is made, a weighted average value may be calculated for all performance detection results (or some performance detection results after screening) of the same type of target network device, so as to determine a performance summary result of the type of target network device. The performance summarizing result is used for reflecting the service capability of the target network equipment.
In another case, performance detection results corresponding to target network devices with the same device characteristics and CDN nodes with the same node characteristics are grouped into one class, so that a performance summary result corresponding to the CDN node and the network device can be determined according to a clustering result. For example, assuming that there are 3 CDN nodes in beijing connectivity and 10 target network devices in shanghai connectivity are in total in the entire network range, performance detection results corresponding to the 3 CDN nodes and the 10 target network devices are grouped into one type, and a performance summary result corresponding to the target network devices in beijing connectivity and the shanghai connectivity can be determined by analyzing the performance detection results corresponding to the 3 CDN nodes and the 10 target network devices. When the specific determination is made, the corresponding performance summary result can be determined in a manner of calculating a weighted average. The performance summarizing result is used for reflecting the service capacity of the CDN node corresponding to the target network equipment.
In addition, when the performance summarizing result corresponding to each node feature and/or device feature is determined according to the clustering processing result, the performance summarizing result corresponding to each node feature and/or device feature may be determined in combination with the weight of each target network device. For example, when there are a plurality of target network devices of the same type, the proportion of the performance detection result corresponding to each target network device in the final performance summary result may be determined according to the weight of each target network device: the performance detection results corresponding to the target network devices with larger weights have higher weight proportion in weighted average, so that the accuracy of the performance summarizing result is improved.
Step S260: displaying the performance summarizing result corresponding to each node characteristic and/or equipment characteristic; and/or implementing DNS scheduling based on performance summary results corresponding to individual node characteristics and/or device characteristics.
In one implementation of this step, the performance summary results corresponding to the respective node features and/or device features are presented. During specific display, the display can be performed according to at least one of the following three ways:
one way is as follows: and displaying the performance summary result corresponding to each node characteristic from the dimension of the node characteristic. For example, the service condition of the Beijing-Unicom CDN node at the current stage and the service condition of the Shanghai-Unicom CDN node at the current stage are shown, so that the service difference of the nodes can be conveniently compared from the node dimension.
The other mode is as follows: and displaying the performance summarizing result corresponding to each equipment characteristic from the dimension of the equipment characteristic. For example, the service condition of the target network device in beijing unicom at the current stage and the service condition of the target network device in tianjin telecom at the current stage are shown, so that the communication difference of the devices can be conveniently compared from the device dimension.
The other mode is as follows: and displaying performance summary results corresponding to various CDN nodes and various target network devices from the dual dimensions of the node characteristics and the device characteristics. For example, for such a CDN node in beijing unicom, a service condition of a target network device in the current stage where the CDN node is in communication with beijing, a service condition of the target network device in the current stage where the CDN node is in communication with tianjin telecom, and the like are displayed, so that the advantages and disadvantages of communication conditions are compared from node dimensions and device dimensions.
In another implementation of this step, DNS scheduling is implemented based on performance summary results corresponding to individual node characteristics and/or device characteristics. Specifically, it is necessary to provide a performance summary result corresponding to each node feature and/or device feature to the DNS scheduling device, so that when receiving a domain name query request sent by a device such as a local DNS, an IP address corresponding to a network device with better service performance is returned as a domain name query result according to the performance summary result. For example, the performance summary result corresponding to the class of CDN nodes and the class of target network devices can reflect that the coverage effect of the class of CDN nodes on which target network devices are covered is better, or that the coverage effect of the class of CDN nodes is better when which target network devices cover the class of CDN nodes. Correspondingly, according to the performance summarizing result, the IP address of the network equipment with better coverage effect can be selected and provided for the requesting party.
For example, assume that a first CDN node is geographically close to a second CDN node, both of which can be used to cover the area of the north river corridor. Correspondingly, when a domain name resolution request is received, information such as regional characteristics and operator characteristics corresponding to the domain name resolution request is firstly obtained, the domain name resolution request is supposed to be sent from a region of Hebei gallery and is sent through Beijing-connected network equipment, correspondingly, the performance summarizing result between the first CDN node and the Beijing-connected network equipment is better than the performance summarizing result between the second CDN node and the Beijing-connected network equipment through inquiring the performance summarizing result, and the IP address of the first CDN node can be used as the domain name resolution result and provided for a requester, so that a better service effect is realized.
In specific implementation, the performance summary result corresponding to each node feature and/or device feature may be dynamically updated every preset period and provided to a preset dynamic configuration center module in real time, and the dynamic configuration center module may be shared by each authorized DNS server, so that the resolution result provided by each authorized DNS server is more reliable.
In addition, the performance summarizing result can also estimate the performance of the newly-built node before the CDN node is newly built, so that reference is provided for the deployment of the CDN node. In a word, the performance summarizing result can reflect the communication states between various CDN nodes and various network devices, and therefore, the performance summarizing method can be widely applied to various fields such as CDN scheduling.
To sum up, in the performance detection method for the CDN nodes disclosed in the present invention, the device identifier set that includes a plurality of target network device identifiers and is obtained in advance can be sent to the plurality of CDN nodes, and the performance detection result corresponding to each target network device and each CDN node is determined according to the node device monitoring value between the local node returned by each CDN node and each target network device corresponding to each target network device identifier included in the device identifier set. The performance detection result can reflect the performance effect of the CDN node when covering a certain target network device, so that the performance condition of each CDN node when covering a certain area is predicted in advance, the CDN node with the optimal performance is selected for covering, and the user experience is improved. In addition, the method can also summarize the communication conditions between various CDN nodes and various network devices and provide the summarized communication conditions for the DNS scheduling system so as to realize better scheduling effect and ensure that the device IP contained in the domain name resolution result has optimal communication quality.
Fig. 3 is a device structure diagram of a performance detection device of a CDN node according to another embodiment of the present invention. As shown in fig. 3, the present apparatus includes:
the device identifier set sending module 31 is adapted to send a device identifier set containing a plurality of target network device identifiers, which is obtained in advance, to the plurality of CDN nodes, respectively;
a node device monitoring value receiving module 32, adapted to receive a node device monitoring value between the local node returned by each CDN node and each target network device corresponding to each target network device identifier included in the device identifier set;
the performance detection result determining module 33 is adapted to determine, according to the monitoring value of each node device returned by each CDN node, a performance detection result corresponding to each target network device for each CDN node.
Optionally, the node device monitoring value receiving module is specifically adapted to:
and receiving monitoring values of each node device between each CDN node and each target network device, which are calculated by each CDN node according to the packet loss rate and/or the transmission delay between the node and each target network device.
Optionally, the monitoring value of each node device includes at least one of the following information items:
the monitoring value of the node device is obtained by the monitoring value of the node device, the node identifier of the CDN node generating the monitoring value of the node device, the network device identifier of the target network device corresponding to the monitoring value of the node device, and the monitoring value corresponding to the CDN node generating the monitoring value of the node device and the target network device corresponding to the monitoring value of the node device.
Optionally, the performance detection result determining module is specifically adapted to:
and respectively determining a performance detection result corresponding to the CDN node and the target network equipment corresponding to the node equipment monitoring value according to the node identification of the CDN node generating the node equipment monitoring value and the network equipment identification of the target network equipment corresponding to the node equipment monitoring value, which are contained in the node equipment monitoring value returned by the CDN node, aiming at each node equipment monitoring value returned by each CDN node.
Optionally, the performance detection result determination module is further adapted to:
respectively determining the node characteristics of each CDN node according to the node identifier of the CDN node and the equipment characteristics of the target network equipment according to the target network equipment identifier of the target network equipment aiming at the performance detection result corresponding to each CDN node and each target network equipment;
clustering the performance detection results corresponding to each CDN node and each target network device according to the node characteristics and/or the device characteristics;
and determining a performance summarizing result corresponding to each node characteristic and/or equipment characteristic according to the clustering processing result.
Optionally, the apparatus further comprises:
the target network device weight setting module is suitable for setting weights for each target network device corresponding to each target network device identifier contained in the device identifier set according to the stability of each target network device corresponding to each target network device identifier contained in the device identifier set, the device online time and/or the link information corresponding to the device;
the performance detection result determination module is specifically adapted to:
and determining a performance summary result corresponding to each node characteristic and/or equipment characteristic by combining the weight of each target network equipment.
Optionally, the performance detection result determination module is further adapted to:
displaying the performance summarizing result corresponding to each node characteristic and/or equipment characteristic; and/or the presence of a gas in the gas,
and according to the performance summarizing result corresponding to each node characteristic and/or equipment characteristic, realizing DNS scheduling.
Optionally, the node characteristics include: a node territory, and/or a node operator, the device characteristics including: a device territory, and/or a device operator.
Optionally, the target network device identifier is a target network device IP address, and a plurality of target network device identifiers included in the device identifier set are determined by:
determining the multiple target network equipment identifications according to the IP address of a preset machine room; and/or determining the plurality of target network equipment identifications according to the domain name query records received by the authorized DNS server from the local DNS server.
Optionally, the apparatus further comprises:
and the candidate device IP address filtering module is suitable for filtering candidate device IP addresses which accord with a preset filtering rule in a plurality of pre-collected candidate device IP addresses so as to obtain the device identification set containing a plurality of target network device identifications.
The specific structure and the working principle of each module may refer to the description of the corresponding step in the method embodiment, and are not described herein again.
Fig. 5 is a schematic structural diagram of a performance detection system for CDN nodes according to another embodiment of the present invention, and as shown in fig. 5, the system includes: a performance detection device 51, such as the CDN node in fig. 3, and a plurality of CDN nodes 52 (only one CDN node is shown in fig. 5, and in practice, a plurality of CDN nodes should be used) respectively connected to the performance detection device 51.
The specific working principle of each device in the system may refer to the description of the corresponding part in the method embodiment, and is not described herein again.
The embodiment of the application provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the performance detection method of the CDN node in any method embodiment.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 4, the electronic device may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein:
the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically execute relevant steps in the performance detection method embodiment of the CDN node.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU, or an application specific Integrated circuit asic, or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may be specifically configured to cause the processor 402 to perform the operations in the above-described method embodiments.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the performance detection apparatus of a CDN node according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention also discloses A1. a method for detecting the performance of the CDN node, which comprises the following steps:
respectively sending a pre-acquired device identifier set containing a plurality of target network device identifiers to a plurality of CDN nodes;
receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set;
and determining a performance detection result corresponding to each CDN node and each target network device according to each node device monitoring value returned by each CDN node.
A2. The method of claim a1, wherein the receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier included in the device identifier set includes:
and receiving monitoring values of each node device between each CDN node and each target network device, which are calculated by each CDN node according to the packet loss rate and/or the transmission delay between the node and each target network device.
A3. The method of claim a1 or 2, wherein the each node device monitored value includes at least one of the following items of information:
the monitoring value of the node device is obtained by the monitoring value of the node device, the node identifier of the CDN node generating the monitoring value of the node device, the network device identifier of the target network device corresponding to the monitoring value of the node device, and the monitoring value corresponding to the CDN node generating the monitoring value of the node device and the target network device corresponding to the monitoring value of the node device.
A4. The method of claim a3, wherein the determining, according to the node device monitoring value returned by each CDN node, a performance detection result corresponding to each target network device by each CDN node includes:
and respectively determining a performance detection result corresponding to the CDN node and the target network equipment corresponding to the node equipment monitoring value according to the node identification of the CDN node generating the node equipment monitoring value and the network equipment identification of the target network equipment corresponding to the node equipment monitoring value, which are contained in the node equipment monitoring value returned by the CDN node, aiming at each node equipment monitoring value returned by each CDN node.
A5. The method of claim a4, wherein the determining, for each node device monitoring value returned by each CDN node, a performance detection result corresponding to the target network device corresponding to the node device monitoring value by the CDN node according to the node identifier of the CDN node that generates the node device monitoring value and the network device identifier of the target network device corresponding to the node device monitoring value included in the node device monitoring value returned by the CDN node device, further comprises:
respectively determining the node characteristics of each CDN node according to the node identifier of the CDN node and the equipment characteristics of the target network equipment according to the target network equipment identifier of the target network equipment aiming at the performance detection result corresponding to each CDN node and each target network equipment;
clustering the performance detection results corresponding to each CDN node and each target network device according to the node characteristics and/or the device characteristics;
and determining a performance summarizing result corresponding to each node characteristic and/or equipment characteristic according to the clustering processing result.
A6. The method of claim a5, wherein, prior to performing the method, further comprising:
setting weights for each target network device corresponding to each target network device identifier contained in the device identifier set according to the stability of each target network device corresponding to each target network device identifier contained in the device identifier set, the device online time and/or the link information corresponding to the device;
then, the determining, according to the clustering result, a performance summarizing result corresponding to each node feature and/or device feature includes:
and determining a performance summary result corresponding to each node characteristic and/or equipment characteristic by combining the weight of each target network equipment.
A7. The method of any of claims a5-6, wherein, after determining the performance summary corresponding to each node feature and/or device feature, further comprising:
displaying the performance summarizing result corresponding to each node characteristic and/or equipment characteristic; and/or the presence of a gas in the gas,
and according to the performance summarizing result corresponding to each node characteristic and/or equipment characteristic, realizing DNS scheduling.
A8. The method of any of claims a5-7, wherein the node characteristics include: a node territory, and/or a node operator, the device characteristics including: a device territory, and/or a device operator.
A9. The method according to any of claims a1-8, wherein the target network device identity is a target network device IP address, and the plurality of target network device identities contained in the device identity set is determined by:
determining the multiple target network equipment identifications according to the IP address of a preset machine room; and/or determining the plurality of target network equipment identifications according to the domain name query records received by the authorized DNS server from the local DNS server.
A10. The method of claim a9, wherein, and prior to execution, further comprising:
and filtering candidate equipment IP addresses meeting preset filtering rules in the plurality of pre-collected candidate equipment IP addresses to obtain the equipment identifier set containing the plurality of target network equipment identifiers.
B11. A performance detection device of a CDN node comprises:
the device identifier set sending module is suitable for respectively sending a device identifier set which is obtained in advance and contains a plurality of target network device identifiers to a plurality of CDN nodes;
the node device monitoring value receiving module is suitable for receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set;
and the performance detection result determining module is suitable for determining the performance detection results corresponding to each CDN node and each target network device according to the monitoring values of each node device returned by each CDN node.
B12. The apparatus according to claim B11, wherein the node device monitoring value receiving module is specifically adapted to:
and receiving monitoring values of each node device between each CDN node and each target network device, which are calculated by each CDN node according to the packet loss rate and/or the transmission delay between the node and each target network device.
B13. The apparatus of claim B11 or 12, wherein the per-node device monitored value includes at least one of the following items of information:
the monitoring value of the node device is obtained by the monitoring value of the node device, the node identifier of the CDN node generating the monitoring value of the node device, the network device identifier of the target network device corresponding to the monitoring value of the node device, and the monitoring value corresponding to the CDN node generating the monitoring value of the node device and the target network device corresponding to the monitoring value of the node device.
B14. The apparatus of claim B13, wherein the performance probe determination module is specifically adapted to:
and respectively determining a performance detection result corresponding to the CDN node and the target network equipment corresponding to the node equipment monitoring value according to the node identification of the CDN node generating the node equipment monitoring value and the network equipment identification of the target network equipment corresponding to the node equipment monitoring value, which are contained in the node equipment monitoring value returned by the CDN node, aiming at each node equipment monitoring value returned by each CDN node.
B15. The apparatus of claim B14, wherein the performance probe determination module is further adapted to:
respectively determining the node characteristics of each CDN node according to the node identifier of the CDN node and the equipment characteristics of the target network equipment according to the target network equipment identifier of the target network equipment aiming at the performance detection result corresponding to each CDN node and each target network equipment;
clustering the performance detection results corresponding to each CDN node and each target network device according to the node characteristics and/or the device characteristics;
and determining a performance summarizing result corresponding to each node characteristic and/or equipment characteristic according to the clustering processing result.
B16. The apparatus of claim B15, wherein the apparatus further comprises:
the target network device weight setting module is suitable for setting weights for each target network device corresponding to each target network device identifier contained in the device identifier set according to the stability of each target network device corresponding to each target network device identifier contained in the device identifier set, the device online time and/or the link information corresponding to the device;
the performance detection result determination module is specifically adapted to:
and determining a performance summary result corresponding to each node characteristic and/or equipment characteristic by combining the weight of each target network equipment.
B17. The apparatus of any of claims B15-16, wherein the performance probe determination module is further adapted to:
displaying the performance summarizing result corresponding to each node characteristic and/or equipment characteristic; and/or the presence of a gas in the gas,
and according to the performance summarizing result corresponding to each node characteristic and/or equipment characteristic, realizing DNS scheduling.
B18. The apparatus of any of claims B15-17, wherein the node characteristics include: a node territory, and/or a node operator, the device characteristics including: a device territory, and/or a device operator.
B19. The apparatus of any of claims B11-18, wherein the target network device identifier is a target network device IP address, and the plurality of target network device identifiers included in the device identifier set are determined by:
determining the multiple target network equipment identifications according to the IP address of a preset machine room; and/or determining the plurality of target network equipment identifications according to the domain name query records received by the authorized DNS server from the local DNS server.
B20. The apparatus of claim B19, wherein the apparatus further comprises:
and the candidate device IP address filtering module is suitable for filtering candidate device IP addresses which accord with a preset filtering rule in a plurality of pre-collected candidate device IP addresses so as to obtain the device identification set containing a plurality of target network device identifications.
C21. A performance detection system for CDN nodes, comprising: performance detection means for a CDN node as recited in any of claims B11-20, and a plurality of CDN nodes each coupled to the performance detection means.
D22. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction, and the executable instruction causes the processor to perform operations corresponding to the performance detection method for the CDN node recited in any one of claims a 1-10.
E23. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the performance detection method for CDN nodes recited in any one of claims a 1-10.

Claims (10)

1. A method for detecting the performance of CDN nodes comprises the following steps:
respectively sending a pre-acquired device identifier set containing a plurality of target network device identifiers to a plurality of CDN nodes;
receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set;
and determining a performance detection result corresponding to each CDN node and each target network device according to each node device monitoring value returned by each CDN node.
2. The method of claim 1, wherein the receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier included in the device identifier set includes:
and receiving monitoring values of each node device between each CDN node and each target network device, which are calculated by each CDN node according to the packet loss rate and/or the transmission delay between the node and each target network device.
3. The method according to claim 1 or 2, wherein the per node device monitoring value comprises at least one of the following items of information:
the monitoring value of the node device is obtained by the monitoring value of the node device, the node identifier of the CDN node generating the monitoring value of the node device, the network device identifier of the target network device corresponding to the monitoring value of the node device, and the monitoring value corresponding to the CDN node generating the monitoring value of the node device and the target network device corresponding to the monitoring value of the node device.
4. The method of claim 3, wherein the determining, according to the node device monitoring value returned by each CDN node, the performance detection result corresponding to each target network device by each CDN node comprises:
and respectively determining a performance detection result corresponding to the CDN node and the target network equipment corresponding to the node equipment monitoring value according to the node identification of the CDN node generating the node equipment monitoring value and the network equipment identification of the target network equipment corresponding to the node equipment monitoring value, which are contained in the node equipment monitoring value returned by the CDN node, aiming at each node equipment monitoring value returned by each CDN node.
5. The method according to claim 4, wherein the determining, for each node device monitoring value returned by each CDN node, a performance detection result corresponding to the CDN node and the target network device corresponding to the node device monitoring value according to the node identifier of the CDN node generating the node device monitoring value and the network device identifier of the target network device corresponding to the node device monitoring value, which are included in the node device monitoring value returned by the CDN node, further includes:
respectively determining the node characteristics of each CDN node according to the node identifier of the CDN node and the equipment characteristics of the target network equipment according to the target network equipment identifier of the target network equipment aiming at the performance detection result corresponding to each CDN node and each target network equipment;
clustering the performance detection results corresponding to each CDN node and each target network device according to the node characteristics and/or the device characteristics;
and determining a performance summarizing result corresponding to each node characteristic and/or equipment characteristic according to the clustering processing result.
6. The method of claim 5, wherein prior to performing the method, further comprising:
setting weights for each target network device corresponding to each target network device identifier contained in the device identifier set according to the stability of each target network device corresponding to each target network device identifier contained in the device identifier set, the device online time and/or the link information corresponding to the device;
then, the determining, according to the clustering result, a performance summarizing result corresponding to each node feature and/or device feature includes:
and determining a performance summary result corresponding to each node characteristic and/or equipment characteristic by combining the weight of each target network equipment.
7. A performance detection device of a CDN node comprises:
the device identifier set sending module is suitable for respectively sending a device identifier set which is obtained in advance and contains a plurality of target network device identifiers to a plurality of CDN nodes;
the node device monitoring value receiving module is suitable for receiving node device monitoring values between the local node returned by each CDN node and each target network device corresponding to each target network device identifier contained in the device identifier set;
and the performance detection result determining module is suitable for determining the performance detection results corresponding to each CDN node and each target network device according to the monitoring values of each node device returned by each CDN node.
8. A performance detection system for CDN nodes, comprising: the performance detection apparatus for CDN nodes as recited in claim 7, and a plurality of CDN nodes respectively connected to the performance detection apparatus.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the performance detection method of the CDN node as recited in any one of claims 1-6.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the performance detection method for CDN nodes recited in any one of claims 1-6.
CN201811603689.1A 2018-12-26 2018-12-26 CDN node performance detection method, device and system Active CN111371826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811603689.1A CN111371826B (en) 2018-12-26 2018-12-26 CDN node performance detection method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811603689.1A CN111371826B (en) 2018-12-26 2018-12-26 CDN node performance detection method, device and system

Publications (2)

Publication Number Publication Date
CN111371826A true CN111371826A (en) 2020-07-03
CN111371826B CN111371826B (en) 2024-04-09

Family

ID=71212316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811603689.1A Active CN111371826B (en) 2018-12-26 2018-12-26 CDN node performance detection method, device and system

Country Status (1)

Country Link
CN (1) CN111371826B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769643A (en) * 2020-12-28 2021-05-07 北京达佳互联信息技术有限公司 Resource scheduling method and device, electronic equipment and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296053A1 (en) * 2010-05-28 2011-12-01 Juniper Networks, Inc. Application-layer traffic optimization service spanning multiple networks
US20130013764A1 (en) * 2011-07-08 2013-01-10 Ming Li Content delivery network aggregation
CN104618506A (en) * 2015-02-24 2015-05-13 庄奇东 Crowd-sourced content delivery network system, method and device
CN104702439A (en) * 2015-03-16 2015-06-10 北京百度网讯科技有限公司 Network node monitoring method and device
CN104836732A (en) * 2015-03-31 2015-08-12 清华大学 Network connection automatic selection method and system
US20150264412A1 (en) * 2012-10-18 2015-09-17 Zte Corporation Fusion device, system and method for implementing internet protocol television service
CN106533722A (en) * 2015-09-11 2017-03-22 北京国双科技有限公司 Network monitoring method and network monitoring device
CN106888106A (en) * 2015-12-16 2017-06-23 国家电网公司 The extensive detecting system of IT assets in intelligent grid
CN106992938A (en) * 2017-05-15 2017-07-28 网宿科技股份有限公司 A kind of network traffics dynamic dispatching distribution method and system
WO2017181587A1 (en) * 2016-04-20 2017-10-26 乐视控股(北京)有限公司 Method and electronic equipment for managing nodes in cdn
US20180026938A1 (en) * 2016-07-21 2018-01-25 Alibaba Group Holding Limited Detection and scheduling method, device, and node of content delivery network
CN107707378A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of CDN covering scheme generation methods and device
CN107896241A (en) * 2017-10-23 2018-04-10 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment of network access speed
CN108173952A (en) * 2017-12-29 2018-06-15 北京奇虎科技有限公司 A kind of data access method and device of content distributing network CDN
US20180309632A1 (en) * 2017-04-20 2018-10-25 Cisco Technology, Inc. Policy assurance for service chaining

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296053A1 (en) * 2010-05-28 2011-12-01 Juniper Networks, Inc. Application-layer traffic optimization service spanning multiple networks
US20130013764A1 (en) * 2011-07-08 2013-01-10 Ming Li Content delivery network aggregation
US20150264412A1 (en) * 2012-10-18 2015-09-17 Zte Corporation Fusion device, system and method for implementing internet protocol television service
CN104618506A (en) * 2015-02-24 2015-05-13 庄奇东 Crowd-sourced content delivery network system, method and device
CN104702439A (en) * 2015-03-16 2015-06-10 北京百度网讯科技有限公司 Network node monitoring method and device
CN104836732A (en) * 2015-03-31 2015-08-12 清华大学 Network connection automatic selection method and system
CN106533722A (en) * 2015-09-11 2017-03-22 北京国双科技有限公司 Network monitoring method and network monitoring device
CN106888106A (en) * 2015-12-16 2017-06-23 国家电网公司 The extensive detecting system of IT assets in intelligent grid
WO2017181587A1 (en) * 2016-04-20 2017-10-26 乐视控股(北京)有限公司 Method and electronic equipment for managing nodes in cdn
US20180026938A1 (en) * 2016-07-21 2018-01-25 Alibaba Group Holding Limited Detection and scheduling method, device, and node of content delivery network
CN107645525A (en) * 2016-07-21 2018-01-30 阿里巴巴集团控股有限公司 Detection processing, dispatching method and related device, the node of content distributing network
US20180309632A1 (en) * 2017-04-20 2018-10-25 Cisco Technology, Inc. Policy assurance for service chaining
CN106992938A (en) * 2017-05-15 2017-07-28 网宿科技股份有限公司 A kind of network traffics dynamic dispatching distribution method and system
CN107707378A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of CDN covering scheme generation methods and device
CN107896241A (en) * 2017-10-23 2018-04-10 东软集团股份有限公司 Detection method, device, storage medium and the electronic equipment of network access speed
CN108173952A (en) * 2017-12-29 2018-06-15 北京奇虎科技有限公司 A kind of data access method and device of content distributing network CDN

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LICHUN LI ET.AL: "SFDHT: A DHT Designed for Server Farm", GLOBECOM 2009 - 2009 IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, 4 March 2010 (2010-03-04) *
郭嵩: "信息中心网络中内容处理相关技术研究", 中国优秀硕士学位论文全文数据库, 15 February 2018 (2018-02-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769643A (en) * 2020-12-28 2021-05-07 北京达佳互联信息技术有限公司 Resource scheduling method and device, electronic equipment and storage medium
CN112769643B (en) * 2020-12-28 2023-12-29 北京达佳互联信息技术有限公司 Resource scheduling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111371826B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN107395683B (en) Method for selecting return path and server
US7251688B2 (en) Method for generating a network map
CN107071089B (en) Scheduling control method, device and system
US7028083B2 (en) Method for extending a network map
US20100250742A1 (en) Global load balancing across mirrored data centers
CN107342913B (en) Detection method and device for CDN node
US20020124080A1 (en) Method for predicting file download time from mirrored data centers in a global computer netwrok
US20020129134A1 (en) Global load balancing across mirrored data centers
CN108924005B (en) Network detection method, network detection apparatus, medium, and device
CN112769976B (en) Domain name resolution method and system
Rula et al. Behind the curtain: Cellular dns and content replica selection
US11121939B2 (en) Method and device for generating CDN coverage scheme, and computer-readable storage medium and computer device thereof
CN108259426B (en) DDoS attack detection method and device
CN104092791A (en) Internet content resource scheduling method and system taking quality and cost into consideration
CN108270778A (en) A kind of DNS domain name abnormal access detection method and device
CN108809769A (en) A kind of method and electronic equipment of detection IPv6 liveness
CN110768852A (en) Method and device for testing cloud network nodes
CN113037680A (en) Application server access method and device based on domain name resolution result
CN114745356B (en) Domain name resolution method, device, equipment and readable storage medium
CN112118151A (en) Network speed measuring method, device, system, electronic equipment and storage medium
CN111371826B (en) CDN node performance detection method, device and system
CN111628878A (en) Fault positioning method, device and system based on multi-stage network nodes
Hillmann et al. On the path to high precise ip geolocation: A self-optimizing model
CN109818821B (en) Detection method and device for CDN (content delivery network) architecture of website
CN110113446B (en) Client addressing method, device and system

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
TA01 Transfer of patent application right

Effective date of registration: 20240308

Address after: Room 03, 2nd Floor, Building A, No. 20 Haitai Avenue, Huayuan Industrial Zone (Huanwai), Binhai New Area, Tianjin, 300450

Applicant after: 3600 Technology Group Co.,Ltd.

Country or region after: China

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right
GR01 Patent grant