CN109151041B - Method and device for adjusting monitoring node - Google Patents

Method and device for adjusting monitoring node Download PDF

Info

Publication number
CN109151041B
CN109151041B CN201811037796.2A CN201811037796A CN109151041B CN 109151041 B CN109151041 B CN 109151041B CN 201811037796 A CN201811037796 A CN 201811037796A CN 109151041 B CN109151041 B CN 109151041B
Authority
CN
China
Prior art keywords
monitoring node
monitoring
monitored object
information
current period
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
CN201811037796.2A
Other languages
Chinese (zh)
Other versions
CN109151041A (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201811037796.2A priority Critical patent/CN109151041B/en
Publication of CN109151041A publication Critical patent/CN109151041A/en
Application granted granted Critical
Publication of CN109151041B publication Critical patent/CN109151041B/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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for adjusting a monitoring node. The method comprises the following steps: when it is determined that the first health degree of the first monitoring node in the current period is lower than the second health degree of the first monitoring node in the previous period of the current period, and the third health degree of the second monitoring node in the current period is higher than the first health degree, the scheduling server may replace the first monitoring node of the monitored object with the second monitoring node. Therefore, the monitoring nodes of the monitored object can be periodically adjusted, the condition that the monitoring capability is reduced because the monitoring nodes cannot be adjusted in the prior art is effectively avoided, the flexibility of the monitoring nodes is greatly improved, and the stable operation of a dispatching system can be effectively ensured.

Description

Method and device for adjusting monitoring node
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for adjusting a monitoring node.
Background
The network quality test is a method for testing and evaluating the network operation quality, and can provide basis for network load balancing, network scheduling, active-standby scheduling and the like, thereby providing good user experience service for an internet end user. The stable operation of the scheduling system (including network load balancing, network scheduling, active-standby scheduling) is the basis of the whole system, which requires that the monitoring nodes in the scheduling system operate healthily and detect valid data.
In a scheduling system in the prior art, for example, a GTM scheduling system, a user generally selects a monitoring node by himself, so as to achieve the purpose of monitoring a monitored object. Since the monitoring nodes need to monitor the monitored object for a long time, and the users cannot accurately know the operation status of each monitoring node, the quality of the monitored object may be reduced after the monitoring nodes operate for a period of time, and the monitoring tasks cannot be undertaken.
Based on this, there is a need for an adjustment method for a monitoring node, which is used to solve the problem that the prior art cannot adjust the monitoring node, so that the accuracy of data detected by the monitoring node is low, thereby affecting the stable operation of the scheduling system.
Disclosure of Invention
The embodiment of the invention provides a method and a device for adjusting a monitoring node, which aim to solve the technical problem that the stability operation of a dispatching system is influenced because the accuracy of data detected by the monitoring node is low because the monitoring node cannot be adjusted in the prior art. The embodiment of the invention provides a method for adjusting monitoring nodes, which is applied to a scheduling system, wherein the scheduling system comprises a scheduling server and a plurality of monitoring nodes; the method comprises the following steps:
when the scheduling server determines that the first health degree of a first monitoring node in the current period is lower than the second health degree of the first monitoring node in the previous period of the current period, determining a second monitoring node from candidate monitoring nodes corresponding to a monitored object;
and if the scheduling server determines that the third health degree of the second monitoring node in the current period is higher than the first health degree, replacing the first monitoring node of the monitored object with the second monitoring node.
Thus, for each monitored object, the scheduling server can adjust the monitoring node of the monitored object according to the health degree of the monitoring node in the current period and the health degree of the monitoring node in the previous period. When the health degree of the monitoring node in the current period is lower than that in the previous period, and the health degree of the monitoring node in the current period is lower than that of any one of the other candidate monitoring nodes in the current period, the monitoring node with the high health degree can be selected to monitor the monitored object. In other words, when the rank corresponding to the health degree of the monitoring node in the current period is decreased, the monitoring node with the top rank (for example, the first rank) corresponding to the health degree may be selected to monitor the monitored object. By adopting the method, the monitoring node of the monitored object can be periodically adjusted, the condition that the monitoring capability is reduced because the monitoring node cannot be adjusted in the prior art is effectively avoided, the flexibility of the monitoring node is greatly improved, and the stable operation of a dispatching system can be effectively ensured.
In one possible implementation manner, the first monitoring node is determined by:
the scheduling server receives resource demand information of the monitored object sent by a user;
the scheduling server determines at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes;
the scheduling server determines a fourth health degree of each candidate monitoring node according to the working state information of each candidate monitoring node;
and the dispatching server determines the monitoring node of the monitored object as the first monitoring node according to the fourth health degree of each candidate monitoring node.
Therefore, the scheduling server can determine the monitoring node of the monitored object according to the resource demand information of the monitored object without manually selecting the monitoring node by a user, so that on one hand, the operation steps of the user can be reduced, and the determination mode of the monitoring node is simpler and more convenient; on the other hand, the accuracy of scheduling the monitoring nodes can be improved, and the monitoring quality of the monitoring nodes is improved.
In one possible implementation, the resource requirement information includes location information and route information;
the method for determining at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes by the scheduling server comprises the following steps:
and the dispatching server determines at least one candidate monitoring node which is matched with the position information of the monitored object and is consistent with the line information of the monitored object from a plurality of monitoring nodes according to the position information of the monitored object and the line information of the monitored object.
In one possible implementation, the resource requirement information further includes information of an expected monitoring resource amount;
the method for determining at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes by the scheduling server comprises the following steps:
and the dispatching server determines at least one candidate monitoring node which is matched with the position information of the monitored object, is consistent with the line information of the monitored object and accords with the expected monitoring resource quantity information from a plurality of monitoring nodes according to the position information of the monitored object, the line information of the monitored object and the monitoring resource quantity information.
In one possible implementation, the first health level is determined by:
the scheduling server determines a first health degree of the first monitoring node in the current period according to the working state information of the first monitoring node in the current period;
the second health level is determined by:
the scheduling server determines a second health degree of the first monitoring node in the previous period of the current period according to the working state information of the first monitoring node in the previous period of the current period;
the third health level is determined by:
and the scheduling server determines a third health degree of the second monitoring node in the current period according to the working state information of the second monitoring node in the current period.
In one possible implementation, the operating state information includes at least one of: network state information, load state information and monitoring quality state information;
the method for determining the first health degree of the first monitoring node in the current period by the scheduling server according to the working state information of the first monitoring node in the current period includes:
the scheduling server determines the network credit value of the first monitoring node in the current period according to the network state information of the first monitoring node in the current period;
the scheduling server determines the load score value of the first monitoring node in the current period according to the load state information of the first monitoring node in the current period;
the scheduling server determines the monitoring quality score value of the first monitoring node in the current period according to the monitoring quality state information of the first monitoring node in the current period;
the scheduling server determines a first score value of the first monitoring node in the current period according to one or more of the network score value, the load score value and the monitoring quality score value;
and the scheduling server determines a first health degree of the first monitoring node in the current period according to the first score value.
The health degree of the monitoring nodes is reflected by adopting a score value mode, so that the method is more visual and clear and is convenient for analysis of a scheduling system.
In a possible implementation manner, when the scheduling server determines that the first health degree of the current first monitoring node is lower than the second health degree, determining the second monitoring node from candidate monitoring nodes corresponding to the monitored object includes:
and when the scheduling server determines that the first health degree is lower than the second health degree and the difference between the first health degree and the second health degree is greater than or equal to a preset threshold value, determining a second monitoring node from candidate monitoring nodes corresponding to the monitored object.
Therefore, on the basis that the first health degree is lower than the second health degree, the difference between the first health degree and the second health degree is continuously judged, and the monitoring node is adjusted only when the difference is larger than or equal to the preset threshold value, so that the condition that the monitoring node is adjusted too frequently is avoided, and the operation burden of the system is reduced.
In a possible implementation manner, before determining a second monitoring node from candidate monitoring nodes corresponding to the monitored object, the method further includes:
the scheduling server acquires a priority strategy of a user, wherein the priority strategy comprises a position priority strategy or a line priority strategy;
determining a second monitoring node from the candidate monitoring nodes corresponding to the monitored object, including:
if the scheduling server determines that the priority strategy is the position priority strategy, determining a second monitoring node with the position matching degree higher than a first threshold value from candidate monitoring nodes corresponding to the monitored object;
and if the scheduling server determines that the priority strategy is the line priority strategy, determining a second monitoring node with the line matching degree higher than a second threshold value from candidate monitoring nodes corresponding to the monitored object.
Therefore, the second monitoring node determined by the scheduling server can better meet the requirements of the user, and the monitoring quality of the monitoring node is improved.
The embodiment of the invention provides a device for adjusting a monitoring node, which comprises:
the determining unit is used for determining a second monitoring node from candidate monitoring nodes corresponding to the monitored object when the first health degree of the first monitoring node in the current period is lower than the second health degree of the first monitoring node in the previous period of the current period;
and the processing unit is used for replacing the first monitoring node of the monitored object with the second monitoring node if the third health degree of the second monitoring node in the current period is determined to be higher than the first health degree.
In one possible implementation manner, the first monitoring node is determined by:
receiving resource demand information of the monitored object sent by a user; determining at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes; determining a fourth health degree of each candidate monitoring node according to the working state information of each candidate monitoring node; and determining the monitoring node of the monitored object as the first monitoring node according to the fourth health degree of each candidate monitoring node.
In one possible implementation, the resource requirement information includes location information and route information;
the at least one candidate monitoring node is determined by:
and determining at least one candidate monitoring node which is matched with the position information of the monitored object and is consistent with the line information of the monitored object from a plurality of monitoring nodes according to the position information of the monitored object and the line information of the monitored object.
In one possible implementation, the resource requirement information further includes information of an expected monitoring resource amount;
the at least one candidate monitoring node is determined by:
and determining at least one candidate monitoring node which is matched with the position information of the monitored object, is consistent with the line information of the monitored object and accords with the expected monitoring resource quantity information from a plurality of monitoring nodes according to the position information of the monitored object, the line information of the monitored object and the monitoring resource quantity information.
In one possible implementation, the first health level is determined by:
the scheduling server determines a first health degree of the first monitoring node in the current period according to the working state information of the first monitoring node in the current period;
the second health level is determined by:
the scheduling server determines a second health degree of the first monitoring node in the previous period of the current period according to the working state information of the first monitoring node in the previous period of the current period;
the third health level is determined by:
and the scheduling server determines a third health degree of the second monitoring node in the current period according to the working state information of the second monitoring node in the current period.
In one possible implementation, the operating state information includes at least one of: network state information, load state information and monitoring quality state information;
the first health level is specifically determined by:
determining the network credit value of the first monitoring node in the current period according to the network state information of the first monitoring node in the current period; determining the load score value of the first monitoring node in the current period according to the load state information of the first monitoring node in the current period; determining a monitoring quality score value of the first monitoring node in the current period according to the monitoring quality state information of the first monitoring node in the current period; determining a first score value of the first monitoring node in the current period according to one or more of the network score value, the load score value and the monitoring quality score value; and determining the first health degree of the first monitoring node in the current period according to the first score value.
In a possible implementation manner, the determining unit is specifically configured to:
and determining a second monitoring node from candidate monitoring nodes corresponding to the monitored object when the first health degree is lower than the second health degree and the difference between the first health degree and the second health degree is greater than or equal to a preset threshold value.
In a possible implementation manner, the apparatus further includes an obtaining unit; before the determining unit determines a second monitoring node from the candidate monitoring nodes corresponding to the monitored object, the obtaining unit is configured to:
acquiring a priority strategy of a user, wherein the priority strategy comprises a position priority strategy or a line priority strategy;
the determining unit is specifically configured to:
if the priority strategy is determined to be the position priority strategy, determining a second monitoring node with the position matching degree higher than a first threshold value from candidate monitoring nodes corresponding to the monitored object;
and if the priority strategy is determined to be the line priority strategy, determining a second monitoring node with the line matching degree higher than a second threshold value from the candidate monitoring nodes corresponding to the monitored object.
The embodiment of the present application further provides an apparatus, which has a function of implementing the above-described adjustment method for a monitoring node. This function may be implemented by hardware executing corresponding software, and in one possible design, the apparatus includes: a processor, a transceiver, a memory; the memory is used for storing computer execution instructions, the transceiver is used for realizing the communication between the device and other communication entities, the processor and the memory are connected through the bus, and when the device runs, the processor executes the computer execution instructions stored in the memory so as to enable the device to execute the above-described adjusting method of the monitoring node.
An embodiment of the present invention further provides a computer storage medium, where a software program is stored in the storage medium, and when the software program is read and executed by one or more processors, the software program implements the method for adjusting a monitoring node described in the foregoing various possible implementation manners.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, enable the computer to execute the method for adjusting a monitoring node described in the foregoing various possible implementations.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that are required to be used in the description of the embodiments will be briefly described below.
FIG. 1 is a diagram illustrating a system architecture suitable for use with an embodiment of the present invention;
fig. 2 is a schematic flow chart corresponding to a method for adjusting a monitoring node according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for determining a first monitoring node according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an overall flow involved in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a dispatch server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an adjusting apparatus for a monitoring node according to an embodiment of the present invention.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings, and the specific operation methods in the method embodiments can also be applied to the apparatus embodiments.
Fig. 1 exemplarily shows a system architecture schematic diagram applicable to an embodiment of the present invention, and as shown in fig. 1, a system architecture 100 applicable to an embodiment of the present invention includes a scheduling server 101, a plurality of monitoring nodes (e.g., monitoring node 1021, monitoring node 1022, monitoring node 1023 shown in fig. 1), a plurality of monitored objects (e.g., monitored object 1031, monitored object 1032, monitored object 1033 shown in fig. 1), and a plurality of users (e.g., user a, user B, and user C shown in fig. 1). The scheduling server 101 may communicate with the monitoring node 1021, the monitoring node 1022, and the monitoring node 1023 through a network; the monitoring node may be configured to monitor one or more monitored objects, for example, the monitoring node 1021 may monitor the monitored object 1031, the monitoring node 1022 may monitor the monitored object 1032, and the monitoring node 1023 may monitor the monitored object 1033; and there may be a one-to-one correspondence between the monitored object and the user, i.e., the monitored object 1031 may be provided by user a, the monitored object 1032 may be provided by user B, and the monitored object 1033 may be provided by user C.
In this embodiment of the present invention, the monitored object may be multiple types of devices, for example, the monitored object may be an edge server in a CDN system, or may also be other network devices, which is not limited specifically. Further, the user may refer to a provider of the monitored object. Taking the example that the user a provides the monitored object 1031, if the domain name provided by the user a is "www.a.com", the edge server corresponding to the domain name may be used as the monitored object 1031 corresponding to the user a.
Based on the system architecture shown in fig. 1, fig. 2 exemplarily shows a flow diagram corresponding to a method for adjusting a monitoring node according to an embodiment of the present invention. As shown in fig. 2, the method may be executed by the scheduling server 101 shown in fig. 1, and specifically includes the following steps:
step 201, when the scheduling server determines that a first health degree of a first monitoring node in a current period is lower than a second health degree of the first monitoring node in a previous period of the current period, a second monitoring node is determined from candidate monitoring nodes corresponding to a monitored object.
Step 202, if the scheduling server determines that the third health degree of the second monitoring node in the current period is higher than the first health degree, replacing the first monitoring node of the monitored object with the second monitoring node.
Thus, for each monitored object, the scheduling server can adjust the monitoring node of the monitored object according to the health degree of the monitoring node in the current period and the health degree of the monitoring node in the previous period. When the health degree of the monitoring node in the current period is lower than that in the previous period, and the health degree of the monitoring node in the current period is lower than that of any one of the other candidate monitoring nodes in the current period, the monitoring node with the high health degree can be selected to monitor the monitored object. In other words, when the rank corresponding to the health degree of the monitoring node in the current period is decreased, the monitoring node with the top rank (for example, the first rank) corresponding to the health degree may be selected to monitor the monitored object. By adopting the method, the monitoring node of the monitored object can be periodically adjusted, the condition that the monitoring capability is reduced because the monitoring node cannot be adjusted in the prior art is effectively avoided, the flexibility of the monitoring node is greatly improved, and the stable operation of a dispatching system can be effectively ensured.
Specifically, in step 201, the first monitoring node may be a node that monitors the monitored object in the previous cycle of the current cycle.
Specifically, the scheduling system may periodically obtain the working state information of each monitoring node, so as to determine the monitoring node corresponding to the monitored object in each period. Further, for each monitored object, when the monitored object is initially accessed into the scheduling system, it can be regarded as the first cycle of the monitored object in the scheduling system. For example, as shown in fig. 3, a flowchart corresponding to the method for determining the first monitoring node in the embodiment of the present invention specifically includes the following steps:
step 301, the scheduling server receives resource demand information of the monitored object sent by the user.
In the embodiment of the present invention, the resource requirement information may include multiple types of information, such as location information and route information, or may further include the number of expected monitoring resources, and the like. Specifically, the location information may refer to a geographic location of the monitored object, such as a city, a region, and the like, in which the monitored object is located; the line information may refer to a line used by the monitored object, for example, the line used by the monitored object is telecommunication, netcom, and the like.
Step 302, the scheduling server determines at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes.
In one example, if the resource requirement information includes location information and line information, at least one candidate monitoring node that matches the location information of the monitored object and is consistent with the line information of the monitored object may be determined from the plurality of monitoring nodes. As shown in table 1, is an example of a plurality of monitoring nodes. Wherein, the position which can be monitored by the monitoring node 1 is Shanghai, and the line which can be monitored is telecommunication; the position which can be monitored by the monitoring node 2 is Shanghai, and the line which can be monitored is network communication; the position that the monitoring node 3 can monitor is Beijing, and the line that can monitor is telecommunication; the position which can be monitored by the monitoring node 4 is Beijing, and the line which can be monitored is network communication; the position which can be monitored by the monitoring node 5 is Guangzhou, and the line which can be monitored is telecommunication; the position that can be monitored by the monitoring node 6 is Guangzhou, and the line that can be monitored is Internet.
Table 1: example of multiple monitoring nodes
Numbering Position can be monitored Monitorable circuit
Monitoring node
1 Shanghai province Telecommunications
Monitoring node 2 Shanghai province Net tube
Monitoring node 3 Beijing Telecommunications
Monitoring node 4 Beijing Net tube
Monitoring node 5 Guangzhou province Telecommunications
Monitoring node 6 Guangzhou province Net tube
Taking the plurality of nodes shown in table 1 as an example, if the location information of the object to be monitored is shanghai and the line information is telecommunications, it may be determined that the candidate monitoring node is monitoring node 1 shown in table 1.
Further, if the resource demand information includes two or more types of information, a priority policy may also be included, for example, if the priority policy is a location priority policy, a node with matching location information may be preferentially selected from the multiple candidate nodes; similarly, if the priority policy is a line priority policy, the node with the matched line information may be preferentially selected from the plurality of candidate nodes.
In another example, if the resource requirement information includes location information, line information, and expected monitoring resource quantity information, at least one candidate monitoring node that matches the location information of the monitored object, is consistent with the line information of the monitored object, and meets the expected monitoring resource quantity information may be determined from the plurality of monitoring nodes.
Considering that the number of monitoring nodes is limited, and there may be a case where the number of candidate monitoring nodes completely matching the resource demand information is small (or even none), the monitoring node partially matching the resource demand information may also be used as a candidate monitoring node in the embodiment of the present invention. For example, if the number of candidate monitoring nodes completely matched with the resource demand information is smaller than a preset number threshold, the monitoring node matched with the position information of the monitored object in the plurality of monitoring nodes may also be used as a candidate monitoring node; or, a monitoring node in accordance with the line information of the monitored object in the plurality of monitoring nodes may also be used as a candidate monitoring node; or, a monitoring node that meets the information of the number of expected monitoring resources in the plurality of monitoring nodes may also be used as a candidate monitoring node, which is not limited specifically.
Further, in the process of determining the candidate monitoring node, the priority policy described above may be further considered, that is, if the priority policy is a location priority policy, a monitoring node matching the location information of the monitored object in the plurality of monitoring nodes may be preferentially used as the candidate monitoring node. Similarly, for other priority strategies, the priority can be selected accordingly, and details are not described in detail.
Step 303, the scheduling server determines a fourth health degree of each candidate monitoring node according to the working state information of each candidate monitoring node.
In the embodiment of the present invention, the operation status information may include multiple types of information, such as network status information, load status information, monitoring quality status information, network status information and load status information, network status information and monitoring quality status information, load status information and monitoring quality status information, or network status information, load status information and monitoring quality status information.
Specifically, the network state information may refer to information such as external detection packet loss rate and time delay of the monitoring node in a first preset period; the load state information may refer to information such as task execution amount, CPU load, bandwidth load, and the like of the monitoring node in the second preset period; the monitoring quality state information may refer to the task execution quality of the monitoring node in the third preset period, such as whether to return an execution result to each task, the duty ratio of a task with successful detection, consumption of a detection result, and the like.
It should be noted that the first preset period, the second preset period, and the third preset period may be determined by those skilled in the art according to experience and practical situations, and are not limited specifically. For example, the first preset period and the second preset period may be consistent with a period for the scheduling server to obtain the operating state information, and the third preset period may be a certain period (for example, the last month).
Further, there are various ways to determine the health of the monitoring node according to the operating state information. In a possible implementation manner, the score value of the monitoring node is determined according to the working state information, so that the health degree of the monitoring node can be determined according to the score value, the health degree of the monitoring node is reflected in a score value manner, and the method is more intuitive and clear and is convenient for analysis of a scheduling system. For example, taking the working state information including the network state information as an example, the network score value of the monitoring node in the current period may be determined according to the network state information of the monitoring node in the current period, and then the first score value of the monitoring node in the current period may be determined according to the network score value, so that the health degree of the monitoring node in the current period may be determined according to the first score value.
For another example, taking the working state information including the load state information as an example, the load score value of the monitoring node in the current period may be determined according to the load state information of the monitoring node in the current period, and then the first score value of the monitoring node in the current period may be determined according to the load score value, so that the health degree of the monitoring node in the current period may be determined according to the first score value.
For another example, taking the working state information including the monitoring quality state information as an example, the monitoring quality score value of the monitoring node in the current period may be determined according to the monitoring quality state information of the monitoring node in the current period, and then the first score value of the monitoring node in the current period may be determined according to the monitoring quality score value, so that the health degree of the monitoring node in the current period may be determined according to the first score value.
For another example, taking the working state information including network state information, load state information and monitoring quality state information as an example, the network rating value of the monitoring node in the current period may be determined according to the network state information of the monitoring node in the current period, the load rating value of the monitoring node in the current period may be determined according to the load state information of the monitoring node in the current period, and the monitoring quality rating value of the monitoring node in the current period may be determined according to the monitoring quality state information of the monitoring node in the current period; and then, determining a first score value of the monitoring node in the current period according to the network score value, the load score value and the monitoring quality score value, and thus, determining the health degree in the current period according to the first score value. Taking the monitoring node 1 and the monitoring node 2 shown in table 1 as an example, as shown in table 2, the monitoring node is an example of the operating state information of the monitoring node. The packet loss rate in the network state information of the monitoring node 1 is 1%, the time delay is 5ms, the task execution amount in the load state information is 50%, the CPU load is 40%, the bandwidth load is 20%, the proportion of the returned detection success task in the monitoring quality state information is 90%, and the consumption of the returned detection result is 10%; the packet loss rate in the network state information of the monitoring node 2 is 10%, the time delay is 20ms, the task execution amount in the load state information is 80%, the CPU load is 90%, the bandwidth load is 70%, the ratio of the task that successfully detects that returns in the monitoring quality state information is 60%, and the consumption of the returned detection result is 30%. According to the contents shown in table 2, the network status information, the load status information, and the monitoring quality status information are respectively scored, and a specific scoring manner may be a manner of 5 points. Taking the packet loss rate as an example, if the packet loss rate is between 0% and 20%, the score is 1; the packet loss rate is 20-40%, and the score is 2; the packet loss rate is 40-60%, and the score is 3; the packet loss rate is between 60 and 80 percent, and the score is 4; the packet loss rate is 80-100%, and the score is 5; accordingly, other information may also be scored in this manner. Thus, the network score value, the load score value and the monitoring quality score value can be obtained respectively; further, the network score value, the load score value and the monitoring quality score value are calculated, for example, in a mode of addition, weight calculation and the like, so that a first score value is obtained. Furthermore, there are various ways to determine the health degree according to the first score value, for example, the corresponding relationship between the score value and the health degree may be preset, and the method is not limited specifically.
Table 2: example of monitoring node operating state information
Figure BDA0001791317930000141
In other possible implementation manners, a person skilled in the art may also determine the score value of the monitoring node in other manners, for example, determine the quality degree of each monitoring node according to the working state information, and further determine the health degree of the monitoring node, which is not limited specifically.
And step 304, the scheduling server determines the monitoring node of the monitored object as the first monitoring node according to the fourth health degree of each candidate monitoring node.
Specifically, there are various ways to determine the monitored object according to the health degree of each candidate monitoring node, for example, the candidate monitoring node whose health degree exceeds a preset standard may be used as the monitoring node of the monitored object, or the candidate monitoring node with the highest health degree may also be used as the monitoring node of the monitored object, which is not limited specifically.
By adopting the method described in steps 301 to 304, the scheduling server can determine the monitoring node of the monitored object according to the resource demand information of the monitored object, without manually selecting the monitoring node by a user, thereby reducing the operation steps of the user and enabling the determination mode of the monitoring node to be simpler and more convenient.
In this embodiment of the present invention, the first health degree may be determined according to the working status information of the first monitoring node in the current period, and the specific determination manner may refer to the manner described in step 303, which determines the health degree of the monitoring node according to the working status information, that is, the scheduling server may determine the network rating of the first monitoring node in the current period according to the network status information of the first monitoring node in the current period, determine the load rating of the first monitoring node in the current period according to the load status information of the first monitoring node in the current period, determine the monitoring quality rating of the first monitoring node in the current period according to the monitoring quality status information of the first monitoring node in the current period, and further determine the monitoring quality rating of the first monitoring node in the current period according to one or more of the network rating, the load rating and the monitoring quality rating, and determining a first score value of the first monitoring node in the current period, so that the first health degree of the first monitoring node in the current period can be determined according to the first score value.
Accordingly, the second health degree may be determined according to the working status information of the first monitoring node in the previous cycle of the current cycle, and the specific determination manner may refer to the manner described in step 303, which is described above and is not described in detail herein.
Accordingly, the third health level may be determined according to the working state information of the second monitoring node in the current period. The specific determination manner may refer to the manner described in step 303 above for determining the health degree of the monitoring node according to the operating state information, and is not described in detail here.
Further, the scheduling server may determine whether the first health degree is lower than the second health degree, and if the first health degree is lower than the second health degree, may determine the second monitoring node from the candidate monitoring nodes corresponding to the monitored object.
Furthermore, after determining that the first health degree is lower than the second health degree, the scheduling server may further continue to determine whether a difference between the first health degree and the second health degree is greater than or equal to a preset threshold, and if the difference between the first health degree and the second health degree is greater than or equal to the preset threshold, determine a second monitoring node from candidate monitoring nodes corresponding to the monitored object; if the difference between the first health degree and the second health degree is smaller than the preset threshold, the first monitoring node can still be used as the monitoring node of the monitored object. Therefore, on the basis that the first health degree is lower than the second health degree, the difference between the first health degree and the second health degree is continuously judged, and the monitoring node is adjusted only when the difference is larger than or equal to the preset threshold value, so that the condition that the monitoring node is adjusted too frequently is avoided, and the operation burden of the system is reduced.
Furthermore, before determining the second monitoring node from the candidate monitoring nodes corresponding to the monitored object, the scheduling server may further obtain a priority policy of the user. The priority policy may include a location priority policy or a line priority policy. Furthermore, if the scheduling server determines that the priority policy is a location priority policy, a second monitoring node with a location matching degree higher than a first threshold value can be determined from candidate monitoring nodes corresponding to the monitored object; if the priority policy is determined to be a line priority policy, a second monitoring node with a line matching degree higher than a second threshold value can be determined from candidate monitoring nodes corresponding to the monitored object. Therefore, the second monitoring node determined by the scheduling server can better meet the requirements of the user, and the monitoring quality of the monitoring node is improved.
It should be noted that, the first threshold and the second threshold can be determined by those skilled in the art based on experience and practical situations, and are not limited specifically.
In step 202, if the scheduling server determines that the third health degree corresponding to the second monitoring node in the current period is higher than the first health degree, the scheduling server may replace the first monitoring node of the monitored object with the second monitoring node; if it is determined that the third health degree corresponding to the second monitoring node in the current period is lower than the first health degree, the first monitoring node may still be used as the monitoring node of the monitored object.
Based on the above description, for the scheduling server, the health degree of each monitoring node (which may be expressed by a score value, a higher score value indicates a better health degree) and the monitored object corresponding to each monitoring node may be periodically obtained. The information obtained by the scheduling server may be represented in various forms, such as a table. As shown in table 3, is an example of the health of each monitoring node. The score value of the monitoring node 1 in the nth period is 80, the score value of the (N + 1) th period is 85, and the monitored object is a monitored object A; the score value of the monitoring node 2 in the nth period is 90, the score value of the (N + 1) th period is 70, and the monitored object is a monitored object B; the score value of the monitoring node 3 in the nth period is 70, the score value of the (N + 1) th period is 75, and the monitored object is a monitored object C; the score value of the monitoring node 4 in the nth period is 80, the score value of the (N + 1) th period is 85, and the monitored object is a monitored object D; the score value of the monitoring node 5 in the nth period is 60, the score value of the (N + 1) th period is 70, and the monitored object is a monitored object E; the score value of the monitoring node 6 in the nth period is 90, the score value of the N +1 th period is 85, and the monitored object is the monitored object F.
Table 3: an example of the health of individual monitoring nodes
Numbering Period N Period N +1 Monitored object
Monitoring node
1 80 85 Monitored object A
Monitoring node 2 90 70 Monitored object B
Monitoring node 3 70 75 Monitored object C
Monitoring node 4 80 85 Monitored object D
Monitoring node 5 60 70 Monitored object E
Monitoring node 6 90 85 Monitored object F
As can be seen from the contents shown in table 3, the score values of the monitoring node 2 of the monitored object B and the monitoring node 6 of the monitored object F in the nth period are both lower than the score value corresponding to the (N + 1) th period; further, if the predetermined threshold is 10% of the score value of the nth period, it may be determined that the difference between the score value corresponding to the monitoring node 2 in the nth period and the score value corresponding to the N +1 th period is greater than 10% of the score value of the nth period (i.e., the predetermined threshold is 8), and the difference between the score value corresponding to the monitoring node 6 in the nth period and the score value corresponding to the N +1 th period is less than 10% of the score value of the nth period (i.e., the predetermined threshold is 9), so that the monitoring node of the monitored object B may be adjusted.
Further, as shown in table 4, it is an example of a candidate monitoring node of the monitored object. Wherein, the candidate monitoring nodes of the monitored object A are a monitoring node 3 and a monitoring node 5; the candidate monitoring nodes of the monitored object B are a monitoring node 1 and a monitoring node 3; the candidate monitoring node of the monitored object C is the monitoring node 5; the candidate monitoring nodes of the monitored object D are a monitoring node 3 and a monitoring node 5; the monitored object E has no candidate monitoring node; the candidate monitoring nodes of the monitored object F are the monitoring node 4 and the monitoring node 5.
Table 4: example of a candidate monitoring node for a monitored object
Monitored object Monitoring node of Nth period Candidate monitoring node
Monitored object A Monitoring node 1 Monitoring node 3, monitoring node 5
Monitored object B Monitoring node 2 Monitoring node 1 and monitoring node 3
Monitored object C Monitoring node 3 Monitoring node 5
Monitored object D Monitoring node 4 Monitoring node 3, monitoring node 5
Monitored object E Monitoring node 5
Monitored object F Monitoring node 6 Monitoring node 4, monitoring node 5
Thus, for the monitored object B, since the score value of the monitoring node 2 in the N +1 th period is 70, the score value of the monitoring node 1 in the N +1 th period is 85, and the score value of the monitoring node 3 in the N +1 th period is 75, it can be seen that the score value of the monitoring node 1 in the N +1 th period is the highest. And according to the correspondence between the score value and the health degree (for example, the higher the score value is, the better the health degree is), the monitoring node 1 may be used as a second monitoring node for monitoring the monitored object B in the current period.
In order to describe the adjustment method of the monitoring node more clearly, the flow involved in the embodiment of the present invention is generally described below with reference to fig. 4. As shown in fig. 4, the following steps may be included:
step 401, the scheduling server receives resource demand information of the monitored object sent by the user.
Step 402, the scheduling server determines at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes.
Step 403, the scheduling server determines a fourth health degree of each candidate monitoring node according to the working state information of each candidate monitoring node.
In step 404, the scheduling server determines the monitoring node of the monitored object as the first monitoring node according to the health degree of each candidate monitoring node.
Step 405, the scheduling server determines a first health degree of the first monitoring node in the nth period according to the working state information of the first monitoring node in the nth period.
Step 406, the dispatch server determines whether the first health degree is lower than the second health degree, and if the first health degree is lower than the second health degree, step 407 is executed; if the first health level is higher than the second health level, step 410 is performed.
Step 407, the scheduling server determines whether the difference between the first health degree and the second health degree is greater than or equal to a preset threshold, and if so, executes step 408; otherwise, step 410 is performed.
Step 408, the scheduling server determines whether the third health degree of the second monitoring node in the current period is higher than the first health degree, and if so, executes step 409; otherwise, step 410 is performed.
In step 409, the dispatch server replaces the first monitoring node of the monitored object with the second monitoring node, and returns to execute step 405.
In step 410, the scheduling server determines that the monitoring node of the monitored object is still the first monitoring node, and returns to execute step 405.
It should be noted that, as shown in fig. 5, a schematic structural diagram of a scheduling server provided in an embodiment of the present invention is shown. The scheduling server 500 may include a monitoring resource monitoring module 501, a monitoring resource status reporting module 502, a monitoring resource configuration module 503, a monitoring resource prefetching module 504, a monitoring resource scoring module 505, and a monitoring resource optimization decision module 506.
Specifically, the monitoring resource monitoring module 501 may be configured to select several monitoring machines on each line as a monitoring node in a scheduling system, and externally detect and acquire a state of a monitoring resource, where the detection mainly includes UDP, ping, and the like, and the monitoring resource state reporting module 502 may be configured to periodically report a health state of the monitoring node, such as task load information, CPU load information, bandwidth load information, and the like, through a monitoring probe installed in the monitoring node; that is, the monitoring resource monitoring module 501 and the monitoring resource status reporting module 502 may be configured to perform the steps 401 and 402.
The monitoring resource configuration module 503 may be configured to configure information of all monitoring nodes, a resource switching threshold, and the like, and the monitoring resource pre-fetching module 504 may be configured to generate a user monitoring resource view; that is, the monitor resource configuration module 503 and the monitor resource pre-fetching module 504 may be configured to perform the above steps 403 and 404;
the monitoring resource scoring module 505 may be configured to determine a change in health level of each monitoring node (i.e., may determine a change in score of each monitoring node); i.e. may be used to perform step 405 described above.
The monitoring resource optimization decision module 506 may be configured to update the user monitoring resource view; i.e. may be used to perform the above-mentioned steps 406 to 409.
Based on the same inventive concept, fig. 6 exemplarily shows a schematic structural diagram of an adjusting apparatus of a monitoring node according to an embodiment of the present invention, as shown in fig. 6, the apparatus may be a scheduling server, and the apparatus may include a determining unit 601, a processing unit 602, and an obtaining unit 603; wherein the content of the first and second substances,
a determining unit 601, configured to determine a second monitoring node from candidate monitoring nodes corresponding to a monitored object when it is determined that a first health degree of a first monitoring node in a current cycle is lower than a second health degree of the first monitoring node in a previous cycle of the current cycle;
a processing unit 602, configured to replace the first monitoring node of the monitored object with the second monitoring node if it is determined that the third health degree of the second monitoring node in the current period is higher than the first health degree.
In one possible implementation manner, the first monitoring node is determined by:
receiving resource demand information of the monitored object sent by a user; determining at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes; determining a fourth health degree of each candidate monitoring node according to the working state information of each candidate monitoring node; and determining the monitoring node of the monitored object as the first monitoring node according to the fourth health degree of each candidate monitoring node.
In one possible implementation, the resource requirement information includes location information and route information;
the at least one candidate monitoring node is determined by:
and determining at least one candidate monitoring node which is matched with the position information of the monitored object and is consistent with the line information of the monitored object from a plurality of monitoring nodes according to the position information of the monitored object and the line information of the monitored object.
In one possible implementation, the resource requirement information further includes information of an expected monitoring resource amount;
the at least one candidate monitoring node is determined by:
and determining at least one candidate monitoring node which is matched with the position information of the monitored object, is consistent with the line information of the monitored object and accords with the expected monitoring resource quantity information from a plurality of monitoring nodes according to the position information of the monitored object, the line information of the monitored object and the monitoring resource quantity information.
In one possible implementation, the first health level is determined by:
the scheduling server determines a first health degree of the first monitoring node in the current period according to the working state information of the first monitoring node in the current period;
the second health level is determined by:
the scheduling server determines a second health degree of the first monitoring node in the previous period of the current period according to the working state information of the first monitoring node in the previous period of the current period;
the third health level is determined by:
and the scheduling server determines a third health degree of the second monitoring node in the current period according to the working state information of the second monitoring node in the current period.
In one possible implementation, the operating state information includes at least one of: network state information, load state information and monitoring quality state information;
the first health level is specifically determined by:
determining the network credit value of the first monitoring node in the current period according to the network state information of the first monitoring node in the current period; determining the load score value of the first monitoring node in the current period according to the load state information of the first monitoring node in the current period; determining a monitoring quality score value of the first monitoring node in the current period according to the monitoring quality state information of the first monitoring node in the current period; determining a first score value of the first monitoring node in the current period according to one or more of the network score value, the load score value and the monitoring quality score value; and determining the first health degree of the first monitoring node in the current period according to the first score value.
In a possible implementation manner, the determining unit 601 is specifically configured to:
and determining a second monitoring node from candidate monitoring nodes corresponding to the monitored object when the first health degree is lower than the second health degree and the difference between the first health degree and the second health degree is greater than or equal to a preset threshold value.
In a possible implementation manner, before the determining unit 601 determines a second monitoring node from the candidate monitoring nodes corresponding to the monitored object, the obtaining unit 603 is configured to:
acquiring a priority strategy of a user, wherein the priority strategy comprises a position priority strategy or a line priority strategy;
the determining unit 601 is specifically configured to:
if the priority strategy is determined to be the position priority strategy, determining a second monitoring node with the position matching degree higher than a first threshold value from candidate monitoring nodes corresponding to the monitored object;
and if the priority strategy is determined to be the line priority strategy, determining a second monitoring node with the line matching degree higher than a second threshold value from the candidate monitoring nodes corresponding to the monitored object.
The embodiment of the present application further provides an apparatus, which has a function of implementing the above-described adjustment method for a monitoring node. This function may be implemented by hardware executing corresponding software, and in one possible design, the apparatus includes: a processor, a transceiver, a memory; the memory is used for storing computer execution instructions, the transceiver is used for realizing the communication between the device and other communication entities, the processor and the memory are connected through the bus, and when the device runs, the processor executes the computer execution instructions stored in the memory so as to enable the device to execute the above-described adjusting method of the monitoring node.
An embodiment of the present invention further provides a computer storage medium, where a software program is stored in the storage medium, and when the software program is read and executed by one or more processors, the software program implements the method for adjusting a monitoring node described in the foregoing various possible implementation manners.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, enable the computer to execute the method for adjusting a monitoring node described in the foregoing various possible implementations.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (18)

1. The method for adjusting the monitoring nodes is applied to a scheduling system, wherein the scheduling system comprises a scheduling server and a plurality of monitoring nodes, and the monitoring nodes are used for monitoring each network device in the scheduling system; the method comprises the following steps:
when the scheduling server determines that the first health degree of a first monitoring node in the current period is lower than the second health degree of the first monitoring node in the previous period of the current period, determining a second monitoring node from candidate monitoring nodes corresponding to a monitored object;
and if the scheduling server determines that the third health degree of the second monitoring node in the current period is higher than the first health degree, replacing the first monitoring node of the monitored object with the second monitoring node.
2. The method of claim 1, wherein the first monitoring node is determined by:
the scheduling server receives resource demand information of the monitored object sent by a user;
the scheduling server determines at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes;
the scheduling server determines a fourth health degree of each candidate monitoring node according to the working state information of each candidate monitoring node;
and the dispatching server determines the monitoring node of the monitored object as the first monitoring node according to the fourth health degree of each candidate monitoring node.
3. The method of claim 2, wherein the resource demand information includes location information and routing information;
the method for determining at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes by the scheduling server comprises the following steps:
and the dispatching server determines at least one candidate monitoring node which is matched with the position information of the monitored object and is consistent with the line information of the monitored object from a plurality of monitoring nodes according to the position information of the monitored object and the line information of the monitored object.
4. The method of claim 3, wherein the resource demand information further includes expected monitoring resource quantity information;
the method for determining at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes by the scheduling server comprises the following steps:
and the dispatching server determines at least one candidate monitoring node which is matched with the position information of the monitored object, is consistent with the line information of the monitored object and accords with the expected monitoring resource quantity information from a plurality of monitoring nodes according to the position information of the monitored object, the line information of the monitored object and the monitoring resource quantity information.
5. The method of claim 1, wherein the first health level is determined by:
the scheduling server determines a first health degree of the first monitoring node in the current period according to the working state information of the first monitoring node in the current period;
the second health level is determined by:
the scheduling server determines a second health degree of the first monitoring node in the previous period of the current period according to the working state information of the first monitoring node in the previous period of the current period;
the third health level is determined by:
and the scheduling server determines a third health degree of the second monitoring node in the current period according to the working state information of the second monitoring node in the current period.
6. The method of claim 5, wherein the operational status information comprises at least one of: network state information, load state information and monitoring quality state information;
the method for determining the first health degree of the first monitoring node in the current period by the scheduling server according to the working state information of the first monitoring node in the current period includes:
the scheduling server determines the network credit value of the first monitoring node in the current period according to the network state information of the first monitoring node in the current period;
the scheduling server determines the load score value of the first monitoring node in the current period according to the load state information of the first monitoring node in the current period;
the scheduling server determines the monitoring quality score value of the first monitoring node in the current period according to the monitoring quality state information of the first monitoring node in the current period;
the scheduling server determines a first score value of the first monitoring node in the current period according to one or more of the network score value, the load score value and the monitoring quality score value;
and the scheduling server determines a first health degree of the first monitoring node in the current period according to the first score value.
7. The method of claim 1, wherein when the scheduling server determines that the first health degree of the current first monitoring node is lower than the second health degree, determining the second monitoring node from candidate monitoring nodes corresponding to the monitored object comprises:
and when the scheduling server determines that the first health degree is lower than the second health degree and the difference between the first health degree and the second health degree is greater than or equal to a preset threshold value, determining a second monitoring node from candidate monitoring nodes corresponding to the monitored object.
8. The method according to claim 1, wherein before determining the second monitoring node from the candidate monitoring nodes corresponding to the monitored object, the method further comprises:
the scheduling server acquires a priority strategy of a user, wherein the priority strategy comprises a position priority strategy or a line priority strategy;
determining a second monitoring node from the candidate monitoring nodes corresponding to the monitored object, including:
if the scheduling server determines that the priority strategy is the position priority strategy, determining a second monitoring node with the position matching degree higher than a first threshold value from candidate monitoring nodes corresponding to the monitored object;
and if the scheduling server determines that the priority strategy is the line priority strategy, determining a second monitoring node with the line matching degree higher than a second threshold value from candidate monitoring nodes corresponding to the monitored object.
9. The adjusting device of the monitoring node is characterized in that the adjusting device is used for adjusting a plurality of monitoring nodes, and the monitoring nodes are used for monitoring each network device in a dispatching system; the device comprises:
the determining unit is used for determining a second monitoring node from candidate monitoring nodes corresponding to the monitored object when the first health degree of the first monitoring node in the current period is lower than the second health degree of the first monitoring node in the previous period of the current period;
and the processing unit is used for replacing the first monitoring node of the monitored object with the second monitoring node if the third health degree of the second monitoring node in the current period is determined to be higher than the first health degree.
10. The apparatus of claim 9, wherein the first monitoring node is determined by:
receiving resource demand information of the monitored object sent by a user; determining at least one candidate monitoring node matched with the resource demand information from the plurality of monitoring nodes; determining a fourth health degree of each candidate monitoring node according to the working state information of each candidate monitoring node; and determining the monitoring node of the monitored object as the first monitoring node according to the fourth health degree of each candidate monitoring node.
11. The apparatus of claim 10, wherein the resource requirement information comprises location information and routing information;
the at least one candidate monitoring node is determined by:
and determining at least one candidate monitoring node which is matched with the position information of the monitored object and is consistent with the line information of the monitored object from a plurality of monitoring nodes according to the position information of the monitored object and the line information of the monitored object.
12. The apparatus of claim 11, wherein the resource requirement information further comprises expected monitoring resource quantity information;
the at least one candidate monitoring node is determined by:
and determining at least one candidate monitoring node which is matched with the position information of the monitored object, is consistent with the line information of the monitored object and accords with the expected monitoring resource quantity information from a plurality of monitoring nodes according to the position information of the monitored object, the line information of the monitored object and the monitoring resource quantity information.
13. The apparatus of claim 9, wherein the first health level is determined by:
the scheduling server determines a first health degree of the first monitoring node in the current period according to the working state information of the first monitoring node in the current period;
the second health level is determined by:
the scheduling server determines a second health degree of the first monitoring node in the previous period of the current period according to the working state information of the first monitoring node in the previous period of the current period;
the third health level is determined by:
and the scheduling server determines a third health degree of the second monitoring node in the current period according to the working state information of the second monitoring node in the current period.
14. The apparatus of claim 13, wherein the operational status information comprises at least one of: network state information, load state information and monitoring quality state information;
the first health level is specifically determined by:
determining the network credit value of the first monitoring node in the current period according to the network state information of the first monitoring node in the current period; determining the load score value of the first monitoring node in the current period according to the load state information of the first monitoring node in the current period; determining a monitoring quality score value of the first monitoring node in the current period according to the monitoring quality state information of the first monitoring node in the current period; determining a first score value of the first monitoring node in the current period according to one or more of the network score value, the load score value and the monitoring quality score value; and determining the first health degree of the first monitoring node in the current period according to the first score value.
15. The apparatus according to claim 9, wherein the determining unit is specifically configured to:
and determining a second monitoring node from candidate monitoring nodes corresponding to the monitored object when the first health degree is lower than the second health degree and the difference between the first health degree and the second health degree is greater than or equal to a preset threshold value.
16. The apparatus of claim 9, further comprising an acquisition unit; before the determining unit determines a second monitoring node from the candidate monitoring nodes corresponding to the monitored object, the obtaining unit is configured to:
acquiring a priority strategy of a user, wherein the priority strategy comprises a position priority strategy or a line priority strategy;
the determining unit is specifically configured to:
if the priority strategy is determined to be the position priority strategy, determining a second monitoring node with the position matching degree higher than a first threshold value from candidate monitoring nodes corresponding to the monitored object;
and if the priority strategy is determined to be the line priority strategy, determining a second monitoring node with the line matching degree higher than a second threshold value from the candidate monitoring nodes corresponding to the monitored object.
17. A computer-readable storage medium, characterized in that the storage medium stores instructions that, when executed on a computer, cause the computer to carry out the method of any one of claims 1 to 8.
18. A computer device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any of claims 1 to 8 in accordance with the obtained program.
CN201811037796.2A 2018-09-06 2018-09-06 Method and device for adjusting monitoring node Active CN109151041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811037796.2A CN109151041B (en) 2018-09-06 2018-09-06 Method and device for adjusting monitoring node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811037796.2A CN109151041B (en) 2018-09-06 2018-09-06 Method and device for adjusting monitoring node

Publications (2)

Publication Number Publication Date
CN109151041A CN109151041A (en) 2019-01-04
CN109151041B true CN109151041B (en) 2021-02-26

Family

ID=64827400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811037796.2A Active CN109151041B (en) 2018-09-06 2018-09-06 Method and device for adjusting monitoring node

Country Status (1)

Country Link
CN (1) CN109151041B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN102035660A (en) * 2009-09-24 2011-04-27 中国移动通信集团公司 Internet data center (IDC) network-based service processing method, equipment and system
CN102064992A (en) * 2009-11-13 2011-05-18 中兴通讯股份有限公司 Relay node, and relay node distributed network and networking method thereof
CN102307218A (en) * 2011-03-15 2012-01-04 陈建国 Stream media data request transmission method for multimedia telephone peer-to-peer (P2P) video-on-demand
CN103200257A (en) * 2013-03-28 2013-07-10 中标软件有限公司 Node in high availability cluster system and resource switching method of node in high availability cluster system
CN103888501A (en) * 2012-12-24 2014-06-25 华为技术有限公司 Virtual machine migration method and device
CN103974138A (en) * 2014-04-15 2014-08-06 上海聚力传媒技术有限公司 Method and device for preloading videos in CDN
CN105528283A (en) * 2015-12-10 2016-04-27 北京邮电大学 Method for detecting calculated load value in load balancing algorithm by mobile application
EP3053377A1 (en) * 2013-10-04 2016-08-10 Vodafone IP Licensing Limited Radio access technology management
CN107277013A (en) * 2017-06-19 2017-10-20 网宿科技股份有限公司 Live broadcast system and node administration method in peer-to-peer network
US10055262B1 (en) * 2015-12-11 2018-08-21 Amazon Technologies, Inc. Distributed load balancing with imperfect workload information

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035660A (en) * 2009-09-24 2011-04-27 中国移动通信集团公司 Internet data center (IDC) network-based service processing method, equipment and system
CN102064992A (en) * 2009-11-13 2011-05-18 中兴通讯股份有限公司 Relay node, and relay node distributed network and networking method thereof
CN101989951A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method, system and equipment for selecting service node
CN102307218A (en) * 2011-03-15 2012-01-04 陈建国 Stream media data request transmission method for multimedia telephone peer-to-peer (P2P) video-on-demand
CN103888501A (en) * 2012-12-24 2014-06-25 华为技术有限公司 Virtual machine migration method and device
CN103200257A (en) * 2013-03-28 2013-07-10 中标软件有限公司 Node in high availability cluster system and resource switching method of node in high availability cluster system
EP3053377A1 (en) * 2013-10-04 2016-08-10 Vodafone IP Licensing Limited Radio access technology management
CN103974138A (en) * 2014-04-15 2014-08-06 上海聚力传媒技术有限公司 Method and device for preloading videos in CDN
CN105528283A (en) * 2015-12-10 2016-04-27 北京邮电大学 Method for detecting calculated load value in load balancing algorithm by mobile application
US10055262B1 (en) * 2015-12-11 2018-08-21 Amazon Technologies, Inc. Distributed load balancing with imperfect workload information
CN107277013A (en) * 2017-06-19 2017-10-20 网宿科技股份有限公司 Live broadcast system and node administration method in peer-to-peer network

Also Published As

Publication number Publication date
CN109151041A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN110333937B (en) Task distribution method, device, computer equipment and storage medium
CN110365765B (en) Bandwidth scheduling method and device of cache server
CN111181849B (en) Return source path determining method, determining device, computer equipment and storage medium
US20230093389A1 (en) Service request allocation method and apparatus, computer device, and storage medium
CN107872402B (en) Global flow scheduling method and device and electronic equipment
Chen et al. Reinforcement learning–based QoS/QoE‐aware service function chaining in software‐driven 5G slices
US20170142177A1 (en) Method and system for network dispatching
US20170171344A1 (en) Scheduling method and server for content delivery network service node
CN110352584A (en) Across the automatic priority ranking of the equipment flow of local network
CN108173698B (en) Network service management method, device, server and storage medium
US10715638B2 (en) Method and system for server assignment using predicted network metrics
US20170068747A1 (en) System and method for end-to-end application root cause recommendation
US20170078207A1 (en) Network prioritization based on node-level attributes
CN107566535B (en) Self-adaptive load balancing method based on concurrent access timing sequence rule of Web map service
CN107707612B (en) Method and device for evaluating resource utilization rate of load balancing cluster
CN112737897B (en) Link monitoring and scheduling method, device, equipment and storage medium
CN108683605A (en) A kind of current-limiting method and device of service call
CN110198267B (en) Traffic scheduling method, system and server
KR101448413B1 (en) Method and apparatus for scheduling communication traffic in atca-based equipment
Lei et al. Deploying QoS-assured service function chains with stochastic prediction models on VNF latency
CN103401799A (en) Method and device for realizing load balance
CN110311963A (en) Information push method, device, computer equipment and computer readable storage medium
CN109151041B (en) Method and device for adjusting monitoring node
CN105335376A (en) Stream processing method, device and system
CN108200185B (en) Method and device for realizing load balance

Legal Events

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