CN104702439B - The method and apparatus for monitoring network node - Google Patents

The method and apparatus for monitoring network node Download PDF

Info

Publication number
CN104702439B
CN104702439B CN201510114651.8A CN201510114651A CN104702439B CN 104702439 B CN104702439 B CN 104702439B CN 201510114651 A CN201510114651 A CN 201510114651A CN 104702439 B CN104702439 B CN 104702439B
Authority
CN
China
Prior art keywords
node
monitoring
network node
weighted value
network
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.)
Active
Application number
CN201510114651.8A
Other languages
Chinese (zh)
Other versions
CN104702439A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510114651.8A priority Critical patent/CN104702439B/en
Publication of CN104702439A publication Critical patent/CN104702439A/en
Application granted granted Critical
Publication of CN104702439B publication Critical patent/CN104702439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of method and apparatus of monitoring network node, solve flow and miss the higher technical problem of switching probability.Specifically disclosed method includes:Obtain intermediate monitored results of each monitoring node to monitored network node;Obtain the weighted value of each monitoring node, weighted value is configured according to the relationship of each monitoring node and network node, wherein, region is monitored weighted value of the weighted value more than the different area monitoring node that region is not covered by network node of node by the same district that network node covers;And weighted value and centre monitored results according to each monitoring node, obtain the final monitored results to network node.Monitoring scheme provided by the embodiments of the present application, which realizes, reduces the probability that flow accidentally switches.

Description

The method and apparatus for monitoring network node
Technical field
This application involves fields of communication technology, and in particular to the method and apparatus for monitoring network node.
Background technology
Currently in order to ensure the stability of business, multiple monitoring nodes is set, each network node is monitored, it e.g., can be with To IDC (Internet Data Center, Internet data center) nodes or CDN (Content Delivery Network, Content distributing network) node etc. is monitored.If it exceeds the monitoring monitoring nodes of predetermined ratio to network node there are failure, Such as, it accesses quality to decline or can not be accessed, it is determined that there are failures for network node, and then the flow that network node is carried It is switched in other network nodes.
But in above process, the accuracy of monitored results is relatively low, and then the probability for causing flow accidentally to switch is higher.
Invention content
In view of the above-mentioned problems, the application provides a kind of method and apparatus of monitoring network node, which solve flows accidentally to cut Change the higher technical problem of probability.
In a first aspect, a kind of method of monitoring network node is provided, including:
Obtain intermediate monitored results of each monitoring node to monitored network node;
The weighted value of each monitoring node is obtained, the weighted value is the relationship according to each monitoring node and the network node Configuration, wherein the same district that region is covered by the network node monitor node weighted value be more than region not by The weighted value of the different area monitoring node of the network node covering;And
According to the weighted value of each monitoring node and the intermediate monitored results, the final monitoring to the network node is obtained As a result.
Second aspect provides a kind of device of monitoring network node, including:
Acquiring unit, the intermediate monitored results for obtaining each monitoring node to monitored network node;Obtain each prison The weighted value of node is controlled, the weighted value is configured according to the relationship of each monitoring node and the network node, wherein place The weighted value that region is monitored node by the same district that the network node covers is not covered by the network node more than region Different area monitoring node weighted value;And it according to each weighted value for monitoring node and the intermediate monitored results, obtains to institute State the final monitored results of network node.
Applicant have observed that the monitoring node that the access quality for typically detecting network node declines or can not be accessed is big The different area monitoring node for the network node covering that part is not monitored by region, and the network that region is monitored The same district monitoring node of coverage may and be not detected network node and there are problems that accessing quality declines, and reduces as a result, The accuracys of final monitored results, and then unnecessary flow switching is produced, reduce the stability of business.
In consideration of it, in embodiments herein, when being monitored to monitored network node, each monitoring node is obtained The weighted value of intermediate monitored results and each monitoring node to network node, obtains according to the weighted value of configuration and each monitoring node Intermediate monitored results, obtain the final monitored results of network node.Wherein, respectively the weighted value of monitoring node is according to each monitoring The configuration of the relationship of node and network node, the weighted value that same district monitors node is more than the weighted value that different area monitors node.With it is existing Have and do not differentiate between same district and different area monitoring node in technology the contribution of monitored results is compared, reduces different area and monitor node to final The influence of monitored results, increases the accuracy of final monitored results, and then reduces unnecessary flow switching times, that is, drops The probability of low flow accidentally switching, increases the stability of business.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 shows the exemplary system architecture schematic diagram that can be applied to the embodiment of the present application;
Fig. 2 shows a kind of flow charts of embodiment of the method for monitoring network node provided by the present application;
Fig. 3 shows the flow chart of another embodiment of the method for monitoring network node provided by the present application;
Fig. 4 show each monitoring node region of detection provided by the present application whether a kind of reality covered by network node Apply the flow chart of example;
Fig. 5 shows the structural schematic diagram of a kind of monitoring node and network node provided by the present application;
Fig. 6 shows a kind of structural schematic diagram of embodiment of the device of monitoring network node provided by the present application;And
Fig. 7 shows a kind of structural schematic diagram of embodiment of monitoring device provided by the present application.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
The application provides the embodiment of the method for monitoring network node.The embodiment can be applied in monitoring device, e.g., Server, terminal etc..
Referring to FIG. 1, it illustrates the schematic diagrames for the exemplary system architecture that can be applied to the embodiment of the present application.
As shown in Figure 1, system architecture 100 may include:Same district monitors node 110, different area monitoring node 120, network section Point 130 and network 140.Same district monitors node 110 and different area monitoring node 120 is monitored network node 130.Network 140 provide communication link medium to be monitored in same district between node 110 and network node 130.Network 140 may include various Connection type, such as wired, wireless communication link or fiber optic cables etc..
The service that same district monitoring node 110 monitors is provided by network node 130 by network 140, i.e. network node 130 can be that same district monitoring node 110 provides service by network 140, and same district monitoring node 110 can be visited by network 140 Ask network node 130.Optionally, same district monitoring node 110 and different area monitoring node 120 can be server etc., network node 130 can be computer room etc..
In the present embodiment, monitoring device can monitor node 110 for any same district or different area monitors node 120, alternatively, It can be the equipment for monitoring node 110 and different area monitoring node 120 different from same district, can specifically be set according to actual needs It is fixed.
The application provides a kind of embodiment of the method for monitoring network node.Prison provided by the present application has been shown in particular in Fig. 2 Control a kind of flow chart of embodiment of the method for network node.As shown in Fig. 2, the method comprising the steps of 210 to step 230.
Specifically, in step 210, obtaining intermediate monitored results of each monitoring node to monitored network node.
In the present embodiment, monitoring node can with network node carry out data interaction by way of to network node into Row monitoring.For example, monitoring node can send monitoring request message to monitored network node, network node returns to monitoring and rings Answer message, monitoring node e.g. can determine network according to the current state of the monitoring response message analysis network node received The current access quality etc. of node, and then obtain the intermediate monitored results of each monitoring node.
Optionally, network node may include at least one of following:CDN node, IDC nodes.
The present embodiment is not construed as limiting monitoring node and the method for monitoring monitoring nodes network node, is people in the art Technology known to member, is not limited to the above-mentioned content enumerated, therefore not to repeat here.
In a step 220, the weighted value of each monitoring node is obtained, each weighted value for monitoring node is according to each monitoring node It is configured with the relationship of network node.
Due to the different monitoring node of the relationship between network node, the influence to the accuracy of final monitored results Difference, e.g., there may be the secondary monitoring nodes for causing final monitored results accuracy to reduce in monitoring node, it is also possible to exist Make the final increased main monitoring node of monitored results accuracy, therefore, it is necessary between network node relationship it is different Monitoring node configures different weighted values, so that reducing influence degree of the secondary monitoring node to final monitored results, increases Influence degree of the main monitoring node to final monitored results.
In the present embodiment, since same district monitoring node can increase the accuracy of final monitored results, and different area monitors Node may cause the accuracy of final monitored results to reduce, and can be that same district monitors node and different area monitors node and matches therefore Different weighted values is set, and the weighted value of same district monitoring node is more than the weighted value of different area monitoring node.
In the present embodiment, each monitoring can be configured according to the relationship of each monitoring node and network node by monitoring device to save The weighted value of point, alternatively, the weighted value of itself can also be configured by each monitoring node according to the relationship with network node, monitoring is set The standby weighted value for directly acquiring each monitoring node.The present embodiment obtains monitoring device the method for the weighted value of each monitoring node not It is construed as limiting, can specifically be set according to actual needs, therefore not to repeat here.
In step 230, it according to the weighted value of each monitoring node and intermediate monitored results, obtains to the final of network node Monitored results.
In the present embodiment, respectively monitoring node can respectively be monitored network node, obtain corresponding intermediate monitoring As a result.Intermediate monitored results can be, but not limited to for characterizing whether network node breaks down, such as, if can not be accessed, Access whether quality declines.If the monitoring monitoring nodes of predetermined ratio break down to network node, monitoring device is true Determine network node to break down, and obtains corresponding final monitored results.Wherein, the ratio for monitoring node can be according to each monitoring The weighted value of node is calculated.
For example, being monitored to network node by monitoring node 1, monitoring node 2 and monitoring node 3, when 2/3rds Or more than 2/3rds monitoring monitoring nodes to network node access quality decline, it is determined that the network matter of network node Amount declines.Wherein, monitoring node 1 and monitoring node 2 are that different area monitors node, and monitoring node 3 is that same district monitors node.Monitoring section Point 1, monitoring node 2 and monitor node 3 weighted value be respectively:1、1、2.According to above-mentioned weighted value it is found that monitoring node 3 accounts for According to the half of all weights, monitoring node 1 occupies a quarter of all weights with node 2 is monitored respectively.If monitoring The access quality that node 1 and monitoring node 2 monitor network node declines, and monitors the visit that node 3 does not monitor network node Ask that quality declines, then there are the access quality declines of the monitoring monitoring nodes of half to network node for explanation.Due to ratio Not up to 2/3rds, accordingly, it is determined that the access quality of network node does not decline, i.e., the final monitored results that monitoring device obtains The access quality of characterization network node does not decline.
The present embodiment is not construed as limiting monitoring device, can specifically be set according to actual needs, therefore not to repeat here.
In the present embodiment, when being monitored to monitored network node, each monitoring node is obtained to network node The weighted value of intermediate monitored results and each monitoring node, the intermediate monitoring knot obtained according to the weighted value of configuration and each monitoring node Fruit obtains the final monitored results of network node.Wherein, respectively the weighted value of monitoring node is according to each monitoring node and network section The relationship configuration of point, the weighted value that same district monitors node is more than the weighted value that different area monitors node.With not area in the prior art The contribution of monitored results is compared with different area monitoring node in point same district, reduces shadow of the different area's monitoring node to final monitored results It rings, increases the accuracy of final monitored results, and then reduce unnecessary flow switching times, that is, reduce flow and accidentally cut The probability changed increases the stability of business.
The application provides another embodiment of the method for monitoring network node.The embodiment is to implementation shown in Fig. 2 Example further expands and optimizes.In this embodiment, the weighted value for each monitoring node that step 220 in Fig. 2 obtains be by Monitoring device is configured according to the relationship of each monitoring node and network node.
The flow chart of another embodiment of the method for monitoring network node provided by the present application has been shown in particular in Fig. 3.It can Selection of land, as shown in figure 3, in Fig. 2 step 220 " obtain it is each monitoring node weighted value " can further include step 310 and Step 320.
Specifically, in the step 310, detecting whether each monitoring node region is covered by network node.
Optionally, monitoring device specifically can be, but not limited to the IP of the monitoring service domain name according to monitoring node (Internet Protocol, Internet protocol) address, detects whether each monitoring node region is covered by network node. Fig. 3 have been shown in particular each monitoring node region of detection provided by the present application whether a kind of embodiment covered by network node Flow chart.As shown in figure 4, step 310 " whether each monitoring node region of detection is covered by network node ", further may be used To include step 410 and step 420,
Specifically, in step 410, the IP address of monitoring service domain name is obtained on each monitoring node.
Optionally, monitoring device can be by carrying out DNS (Domain Name System, domain name on each monitoring node System) parsing, to obtain IP address.Alternatively, dns resolution can also voluntarily be carried out by monitoring node to obtain monitoring service domain name IP address, and the IP address parsed is sent to monitoring device.
The present embodiment voluntarily carries out the method for dns resolution not to carrying out dns resolution and monitoring node on each monitoring node It is construed as limiting, is technology well known to those skilled in the art, therefore not to repeat here.
At step 420, according to the IP address of the monitoring service domain name of each monitoring node, each monitoring node location is detected Whether domain is covered by network node.
Optionally, monitoring device can respectively monitor the IP of the IP address and network node of the monitoring service domain name of node Whether address is identical;If identical, it is determined that monitoring node region is covered by network node, which is network The same district network node of node;If it is different, then determine that monitoring node region is not covered by network node, the monitoring node As different area's network node of network node.
For example, Fig. 5 shows the structural schematic diagram of a kind of monitoring node and network node provided by the present application.Such as Fig. 5 institutes Show, node is monitored positioned at Pekinese Beijing and monitors node to being located at the network node progress of Pekinese Beijing positioned at the Nanjing in Nanjing Monitoring.Before obtaining final monitored results, monitoring device need to detect Beijing monitoring node and Nanjing monitoring node whether by Beijing network node covering.Specifically, carrying out dns resolution on Beijing monitoring node, obtained on Beijing monitoring node with realizing Take the IP address 1 of monitoring service domain name;Dns resolution is carried out on Nanjing monitoring node, is obtained on Nanjing monitoring node with realizing Take the IP address 2 of monitoring service domain name;Monitoring device compares the IP address of IP address 1 and Beijing network node, and comparison result refers to Show that IP address 1 is identical as the IP address of Beijing network node;Monitoring device also compares IP address 2 with the IP of Beijing network node Location, comparison result indicate that IP address 2 is different from the IP address of Beijing network node.Beijing monitoring node location is determined as a result, Domain is covered by Beijing network node, i.e., monitoring node in Beijing is that the same district of Beijing network node monitors node, and Nanjing monitoring saves Point region is not covered by Beijing network node, i.e., monitoring node in Nanjing is that the different area of Beijing network node monitors node.
Fig. 3 is returned, in step 320, the weighted value of each monitoring node is configured according to the result of detection.
In the present embodiment, the result of detection can characterize whether monitoring node region is covered by network node, i.e., Judge that monitoring node is same district monitoring node or different area monitoring node.Monitoring device can be according to monitoring node region It is no by network node covering come configure it is each monitoring node weighted value.As same district monitoring node and different area monitoring node configures not Same weighted value.Wherein, the weighted value of monitoring device configuration same district monitoring node is more than the weighted value of different area monitoring node.Such as, The weighted value that can configure the weighted value of same district monitoring node to the areas 2, Er Jiangyi monitoring node is configured to 1.
It is worth noting that for the same monitoring node, monitored for same district relative to a portion network node Node, and may be different area's network node relative to another part network node.The same monitoring node is for different nets as a result, Network node may have different weighted values, different monitoring node that may also have different weighted values for the same network node.
For example, monitoring node 1 and monitoring node 2 monitor network node A.Since 1 region of monitoring node is by network section Point A coverings, 2 region of monitoring node are not covered by network node A, and accordingly, for network node A, monitoring node 1 is same district Node is monitored, monitoring node 2 is that different area monitors node.For network node A, monitoring node 1 and the weighted value point for monitoring node 2 It not can be configured as:2、1.In addition, monitoring node 1 and monitoring node 2 also monitor network node B.Due to 1 institute of monitoring node It not being covered by network node B in region, monitoring node 2 region is covered by network node B, accordingly, for network node B, It is that different area monitors node to monitor node 1, and monitoring node 2 is that same district monitors node.For network node B, node 1 and monitoring are monitored The weighted value of node 2 can be configured as respectively:1、2.
The present embodiment does not make the method for configuring the weighted value of itself according to the relationship with network node by each monitoring node It limits, it is similar to obtain each monitoring method of weighted value of node with the monitoring device described in step 310 and step 320.Specifically May include:Whether monitoring nodal test itself region is covered by network node, to judge itself the being network node Same district monitors node or different area monitors node;The weighted value of itself is configured according to testing result.For example, if being detected as same district Node is monitored, then 2 can be configured to by the weighted value of itself by monitoring node, if being detected as different area's monitoring node, monitor section The weighted value of itself can be configured to 1 by point.
Optionally, the weighted value that respectively monitoring node can be configured automatically is sent to network node, alternatively, can also be Response to network node obtains the request of weighted value, and the weighted value configured is sent to network node.The sending method of weighted value It can specifically be set according to actual needs.
Optionally, with further reference to Fig. 3, step 230 shown in Fig. 2 is " according to the weighted value of each monitoring node and centre Monitored results obtain the final monitored results to network node " after, can also include further step 330 and step 340.
Specifically, in a step 330, it is predetermined to determine whether final monitored results indicate that the access quality of network node meets Condition.In step 340, meet predetermined condition in response to the final monitored results instruction of determination, the flow that network node is carried It is switched on other network nodes.
In the present embodiment, predetermined condition can characterize network node access it is second-rate or can not be accessed, that is, work as When the access of final monitored results instruction network node is second-rate or can not be accessed, the flow of network node carrying is switched Onto other network nodes.
The method that the present embodiment switches above-mentioned flow is not construed as limiting, and is technology well known to those skilled in the art, herein It does not repeat.
The application also provides a kind of embodiment of the device of the monitoring network node for implementing above method embodiment.Figure 6 have been shown in particular a kind of structural schematic diagram of embodiment of the device of monitoring network node provided by the present application.
Specifically, as shown in fig. 6, the device 600 of monitoring network node may include:Acquiring unit 610.
Wherein, acquiring unit 610, the intermediate monitored results for obtaining each monitoring node to monitored network node; The weighted value of each monitoring node is obtained, weighted value is configured according to the relationship of each monitoring node and network node, wherein place The weighted value that region is monitored node by the same district that network node covers is more than the different area prison that region is not covered by network node Control the weighted value of node;And weighted value and centre monitored results according to each monitoring node, it obtains to the final of network node Monitored results.
Optionally, acquiring unit 610 may include:
Detection module 611, for detecting whether each monitoring node region is covered by network node;Configuration module 612, Result for detecting obtained detection according to detection module 611 configures the weighted value of each monitoring node.
Optionally, detection module 611 may include:
Acquisition submodule 6111, the IP address for obtaining monitoring service domain name on each monitoring node;Detection sub-module 6112, whether the IP address for being obtained according to acquisition submodule 6111 detects each monitoring node region by network node Covering.
Optionally, whether detection sub-module 6112, the IP address for comparing IP address and network node are identical;If phase Together, it is determined that monitoring node region is covered by network node;If it is different, then determining monitoring node region not by net Network coverage.
Optionally, acquisition submodule 6111, for by carrying out dns resolution on each monitoring node, to obtain IP address.
Optionally, monitoring the device 600 of network node can also include:
Determination unit 620, for determining whether final monitored results indicate that the access quality of network node meets predetermined item Part;Switch unit 630, for determining that final monitored results instruction meets predetermined condition in response to determination unit 620, by network section The flow of point carrying is switched on other network nodes.
Optionally, network node may include at least one of following:CDN node, IDC nodes.
In the present embodiment, when being monitored to monitored network node, acquiring unit obtains each monitoring node to net The weighted value of the intermediate monitored results of network node and each monitoring node, in being obtained according to the weighted value of configuration and each monitoring node Between monitored results, obtain the final monitored results of network node.Wherein, respectively the weighted value of monitoring node is according to each monitoring node It is configured with the relationship of network node, the weighted value that same district monitors node is more than the weighted value that different area monitors node.With existing skill Same district is not differentiated between in art to compare the contribution of monitored results with different area monitoring node, is reduced different area and is monitored node to finally monitoring As a result influence, increases the accuracy of final monitored results, and then reduces unnecessary flow switching times, that is, reduces The probability that flow accidentally switches, increases the stability of business.
The application also provides a kind of embodiment of the monitoring device for implementing above method embodiment.Fig. 7 is specifically illustrated The structural schematic diagram of embodiment of monitoring device provided by the present application a kind of.
As shown in fig. 7, monitoring device 700 includes:At least one processor 710, such as CPU (Central Processing Unit, central processing unit), at least one output interface 720 or other users interface 730, memory 740, At least one communication bus 750.Communication bus 750 is for realizing the connection communication between said modules.Monitoring device 700 is optional Include other users interface 730, including display, keyboard or pointing device are (for example, mouse, trace ball (trackball), touch-sensitive plate or touch sensitive display screen).Memory 740 may include high-speed RAM (Random Access Memory, random access memory), it is also possible to further include nonvolatile memory (non-volatile memory), such as extremely A few magnetic disk storage.Memory 740 can include optionally at least one storage dress for being located remotely from aforementioned processor 710 It sets.
In some embodiments, memory 740 stores following element, executable modules or data structures, or Their subset of person or their superset:
Operating system 741, including various system programs, for realizing various basic businesses and hardware based of processing Business.
Application program 742, including various application programs, for realizing various applied business.
Specifically, can be, but not limited in application program 742 include:
Acquiring unit, the intermediate monitored results for obtaining each monitoring node to monitored network node;Obtain each prison The weighted value of node is controlled, weighted value is configured according to the relationship of each monitoring node and network node, wherein region is by net The weighted value of the same district monitoring node of network coverage is more than different area of the region not by network node covering and monitors node Weighted value;And the weighted value and centre monitored results of each monitoring node according to configuration of described dispensing unit, it obtains to network node Final monitored results.
Optionally, acquiring unit, including:
Detection module, for detecting whether each monitoring node region is covered by network node;Configuration module is used for root The result of the detection detected according to detection module configures the weighted value of each monitoring node.
Optionally, detection module, including:
Acquisition submodule, the IP address for obtaining monitoring service domain name on each monitoring node;Detection sub-module is used for According to the IP address that acquisition submodule obtains, detect whether each monitoring node region is covered by network node.
Optionally, whether detection sub-module, the IP address for comparing IP address and network node are identical;If identical, Then determine that monitoring node region is covered by network node;If it is different, then determining monitoring node region not by network Coverage.
Optionally, acquisition submodule, for by carrying out dns resolution on each monitoring node, to obtain IP address.
Optionally, application program 742 further includes:
Determination unit, for determining whether final monitored results indicate that the access quality of network node meets predetermined condition; Switch unit, for determining that final monitored results instruction meets predetermined condition in response to determination unit, by network node carrying Flow is switched on other network nodes.
Optionally, network node includes at least one of following:CDN node, IDC nodes.
In the present embodiment, processor 710 is by calling the program stored in memory 740 or instruction execution accordingly to walk Suddenly, processor 710 are used for:
Obtain intermediate monitored results of each monitoring node to monitored network node;
The weighted value of each monitoring node is obtained, weighted value is configured according to the relationship of each monitoring node and network node, Wherein, region is not covered by network node by the weighted value for the same district monitoring node that network node covers more than region Different area monitoring node weighted value;And
According to the weighted value of each monitoring node and intermediate monitored results, the final monitored results to network node are obtained.
Optionally, processor 710, for detecting whether each monitoring node region is covered by network node;According to inspection The result of survey configures the weighted value of each monitoring node.
Optionally, processor 710, the IP address for obtaining monitoring service domain name on each monitoring node;According to IP Location, detects whether each monitoring node region is covered by network node.
Optionally, whether processor 710, the IP address for comparing IP address and network node are identical;If identical, Determine that monitoring node region is covered by network node;If it is different, then determining monitoring node region not by network section Point covering.
Optionally, processor 710, for by carrying out dns resolution on each monitoring node, to obtain IP address.
Optionally, processor 710 are additionally operable to determine whether final monitored results indicate that the access quality of network node meets Predetermined condition;Meet predetermined condition in response to the final monitored results instruction of determination, the flow that network node carries is switched to it On his network node.
Optionally, network node may include at least one of following:CDN node, IDC nodes.
In the present embodiment, when being monitored to monitored network node, each monitoring node is obtained to network node The weighted value of intermediate monitored results and each monitoring node, the intermediate monitoring knot obtained according to the weighted value of configuration and each monitoring node Fruit obtains the final monitored results of network node.Wherein, respectively the weighted value of monitoring node is according to each monitoring node and network section The relationship configuration of point, the weighted value that same district monitors node is more than the weighted value that different area monitors node.With not area in the prior art The contribution of monitored results is compared with different area monitoring node in point same district, reduces shadow of the different area's monitoring node to final monitored results It rings, increases the accuracy of final monitored results, and then reduce unnecessary flow switching times, that is, reduce flow and accidentally cut The probability changed increases the stability of business.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (14)

1. a kind of method of monitoring network node, which is characterized in that including:
Obtain intermediate monitored results of each monitoring node to monitored network node, wherein the monitoring node by with institute It states network node and carries out the mode of data interaction to network node monitoring;
The weighted value of each monitoring node is obtained, the weighted value is configured according to the relationship of each monitoring node and the network node , wherein the weighted value that the same district that region is covered by the network node monitors node is not described more than region The weighted value of the different area monitoring node of network node covering;And
According to the weighted value of each monitoring node and the intermediate monitored results, obtains the final monitoring to the network node and tie Fruit.
2. according to the method described in claim 1, it is characterized in that, it is described obtain it is each monitoring node weighted value, including:
Detect whether each monitoring node region is covered by the network node;
The weighted value of each monitoring node is configured according to the result of the detection.
3. according to the method described in claim 2, it is characterized in that, the detection includes:
The internet protocol address of monitoring service domain name is obtained on each monitoring node;
According to the IP address, detect whether each monitoring node region is covered by the network node.
4. according to the method described in claim 3, it is characterized in that, described according to the IP address, each monitoring node of detection institute Whether covered by the network node in region, including:
It is whether identical as the IP address of the network node to compare the IP address;
If identical, it is determined that monitoring node region is covered by the network node;
If it is different, then determining that monitoring node region is not covered by the network node.
5. according to the method described in claim 3, it is characterized in that, described obtain monitoring service domain name on each monitoring node IP address, including:
By carrying out domain name system DNS parsing on each monitoring node, to obtain the IP address.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
Determine whether the final monitored results indicate that the access quality of the network node meets predetermined condition;
Meet the predetermined condition in response to the determination final monitored results instruction, the flow that the network node carries is cut It changes on other network nodes.
7. method according to any one of claim 1 to 6, which is characterized in that the network node include it is following at least One:Content distributing network CDN node, Internet data center's IDC nodes.
8. a kind of device of monitoring network node, which is characterized in that including:
Acquiring unit, the intermediate monitored results for obtaining each monitoring node to monitored network node, wherein the monitoring Node monitors network node by way of carrying out data interaction with the network node;Obtain the weight of each monitoring node Value, the weighted value are configured according to the relationship of each monitoring node and the network node, wherein region is by the net The weighted value of the same district monitoring node of network coverage is more than the different area that region is not covered by the network node and monitors section The weighted value of point;And it according to each weighted value for monitoring node and the intermediate monitored results, obtains to the network node Final monitored results.
9. device according to claim 8, which is characterized in that the acquiring unit, including:
Detection module, for detecting whether each monitoring node region is covered by the network node;
Configuration module, the result of the detection for being detected according to the detection module configure the weight of each monitoring node Value.
10. device according to claim 9, which is characterized in that the detection module, including:
Acquisition submodule, the IP address for obtaining monitoring service domain name on each monitoring node;
Detection sub-module, the IP address for being obtained according to the acquisition submodule detect each monitoring node region Whether covered by the network node.
11. device according to claim 10, which is characterized in that the detection sub-module is used for the IP address It is whether identical as the IP address of the network node;If identical, it is determined that monitoring node region is by the network node Covering;If it is different, then determining that monitoring node region is not covered by the network node.
12. device according to claim 10, which is characterized in that the acquisition submodule, for by being saved in each monitoring Dns resolution is carried out on point, to obtain the IP address.
13. device according to claim 8, which is characterized in that described device further includes:
Determination unit, for determining whether the final monitored results indicate that the access quality of the network node meets predetermined item Part;
Switch unit, for determining that the final monitored results instruction meets the predetermined condition in response to the determination unit, The flow that the network node carries is switched on other network nodes.
14. the device according to any one of claim 8 to 13, which is characterized in that the network node include with down toward One item missing:CDN node, IDC nodes.
CN201510114651.8A 2015-03-16 2015-03-16 The method and apparatus for monitoring network node Active CN104702439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510114651.8A CN104702439B (en) 2015-03-16 2015-03-16 The method and apparatus for monitoring network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510114651.8A CN104702439B (en) 2015-03-16 2015-03-16 The method and apparatus for monitoring network node

Publications (2)

Publication Number Publication Date
CN104702439A CN104702439A (en) 2015-06-10
CN104702439B true CN104702439B (en) 2018-10-19

Family

ID=53349231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510114651.8A Active CN104702439B (en) 2015-03-16 2015-03-16 The method and apparatus for monitoring network node

Country Status (1)

Country Link
CN (1) CN104702439B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411629B (en) * 2015-08-03 2020-06-30 阿里巴巴集团控股有限公司 Method and equipment for monitoring state of CDN node
CN107770242B (en) * 2017-08-25 2018-07-17 贵州白山云科技有限公司 A kind of method and device for realizing intelligent flow scheduling
CN109451047B (en) * 2018-12-13 2021-05-18 深圳前海微众银行股份有限公司 Data transmission method, device, equipment and storage medium of monitoring alarm system
CN111371826B (en) * 2018-12-26 2024-04-09 三六零科技集团有限公司 CDN node performance detection method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500015A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Method, system and apparatus for detecting signal
CN101668301A (en) * 2008-09-03 2010-03-10 中兴通讯股份有限公司 Method and device for monitoring operation state of node in short message center
CN102111310A (en) * 2010-12-31 2011-06-29 网宿科技股份有限公司 Method and system for monitoring content delivery network (CDN) equipment status
CN103607463A (en) * 2013-11-25 2014-02-26 中国电信集团系统集成有限责任公司 Positioning data storage system and method
CN103716398A (en) * 2013-12-30 2014-04-09 北京奇虎科技有限公司 Method and system for monitoring CDN server
CN103825779A (en) * 2014-02-21 2014-05-28 南京邮电大学 Method for monitoring state of cloud data center

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101500015A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Method, system and apparatus for detecting signal
CN101668301A (en) * 2008-09-03 2010-03-10 中兴通讯股份有限公司 Method and device for monitoring operation state of node in short message center
CN102111310A (en) * 2010-12-31 2011-06-29 网宿科技股份有限公司 Method and system for monitoring content delivery network (CDN) equipment status
CN103607463A (en) * 2013-11-25 2014-02-26 中国电信集团系统集成有限责任公司 Positioning data storage system and method
CN103716398A (en) * 2013-12-30 2014-04-09 北京奇虎科技有限公司 Method and system for monitoring CDN server
CN103825779A (en) * 2014-02-21 2014-05-28 南京邮电大学 Method for monitoring state of cloud data center

Also Published As

Publication number Publication date
CN104702439A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN110149423B (en) Domain name processing method and device, readable storage medium and electronic equipment
CN104702439B (en) The method and apparatus for monitoring network node
CN106302565B (en) Scheduling method and system of service server
CN109729131B (en) Application request processing method and device and router
AU2011352038B2 (en) Online privacy management
CN104410691B (en) A kind of website accelerated method and system based on content distributing network
US10277475B2 (en) System and method for dynamically testing networked target systems
US11121939B2 (en) Method and device for generating CDN coverage scheme, and computer-readable storage medium and computer device thereof
CN104052832B (en) Method and device for setting IP address of domain name resolution server and server
CN104301140B (en) Service request response method, device and system
US20170142196A1 (en) Method and apparatus for selecting source server
CN105610993B (en) A kind of domain name analytic method, apparatus and system
CN108476146A (en) The method and apparatus for carrying out real-time traffic guiding using active user monitoring data
WO2016150153A1 (en) Software release method and device
CN104579830B (en) service monitoring method and device
US20130173965A1 (en) Fault tracing system and method for remote maintenance
US10326859B2 (en) Internet-wide scheduling of transactions
CN106921537A (en) Website visiting quality detecting method, server and system
CN110287056A (en) Webpage error message acquisition methods and device
CN111611140A (en) Reporting verification method and device of buried point data, electronic equipment and storage medium
CN105262858B (en) Method and device for detecting safety of Domain Name System (DNS) server
CN104102673B (en) A kind of webpage method for monitoring state and device
CN109818821B (en) Detection method and device for CDN (content delivery network) architecture of website
CN108039956A (en) Using monitoring method, system and computer-readable recording medium
CN111193778B (en) Method and device for balancing WEB service load

Legal Events

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