CN111371635B - Network node monitoring method, device and system - Google Patents

Network node monitoring method, device and system Download PDF

Info

Publication number
CN111371635B
CN111371635B CN201811605140.6A CN201811605140A CN111371635B CN 111371635 B CN111371635 B CN 111371635B CN 201811605140 A CN201811605140 A CN 201811605140A CN 111371635 B CN111371635 B CN 111371635B
Authority
CN
China
Prior art keywords
monitoring
node
network node
task
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
CN201811605140.6A
Other languages
Chinese (zh)
Other versions
CN111371635A (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811605140.6A priority Critical patent/CN111371635B/en
Publication of CN111371635A publication Critical patent/CN111371635A/en
Application granted granted Critical
Publication of CN111371635B publication Critical patent/CN111371635B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/067Generation of reports using time frame reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a device and a system for monitoring network nodes. Wherein the method comprises the following steps: respectively sending the monitoring tasks corresponding to the network nodes to a plurality of monitoring nodes respectively connected with the network nodes so that each monitoring node can respectively send the monitoring tasks to the network nodes; respectively acquiring node monitoring values, corresponding to monitoring tasks, of the network nodes reported by the monitoring nodes; and determining the monitoring result of the network node corresponding to the monitoring task according to the node monitoring value of the network node corresponding to the monitoring task, which is reported by each monitoring node. Therefore, on the one hand, the invention monitors the plurality of monitoring nodes in parallel, and synthesizes the monitoring data of the plurality of monitoring nodes to determine the final result, thereby improving the monitoring accuracy. On the other hand, each monitoring node can acquire a plurality of periodic monitoring values of the network node, and the node monitoring values are determined by integrating the plurality of periodic monitoring values, so that inaccurate results caused by network jitter and the like are prevented.

Description

Network node monitoring method, device and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for monitoring a network node.
Background
In order to ensure that the network node can normally provide services, monitoring is required for performance situations of the network node. In the prior art, a monitoring person accesses the network node through a test node, and determines whether the performance of the network node is normal according to the access condition of the test node. The test node may be a network node dedicated to implementing the test function, or may be a conventional client device.
However, the inventors have found that the above-described manner in the prior art has at least the following drawbacks in the implementation of the present invention: the mode of determining whether the performance of the network node is normal or not only through one access behavior of a single test node is easy to be interfered by external factors such as network jitter and the like, so that the result is inaccurate.
Disclosure of Invention
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a method, an apparatus and a system for monitoring a network node which overcomes or at least partially solves the above problems.
According to one aspect of the present invention, there is provided a method of monitoring a network node, comprising:
respectively sending monitoring tasks corresponding to the network nodes to a plurality of monitoring nodes respectively connected with the network nodes so that each monitoring node can respectively send the monitoring tasks to the network nodes; wherein, the monitoring task comprises monitoring period information;
Respectively acquiring node monitoring values, corresponding to the monitoring tasks, of the network nodes reported by the monitoring nodes; the node monitoring value of the network node corresponding to the monitoring task reported by each monitoring node is determined according to a plurality of periodic monitoring values corresponding to monitoring period information contained in the monitoring task and returned by the network node;
and determining the monitoring result of the network node corresponding to the monitoring task according to the node monitoring value of the network node corresponding to the monitoring task, which is reported by each monitoring node.
According to another aspect of the present invention, there is provided a monitoring apparatus of a network node, comprising:
the task sending module is suitable for respectively sending the monitoring tasks corresponding to the network nodes to a plurality of monitoring nodes respectively connected with the network nodes so that each monitoring node can respectively send the monitoring tasks to the network nodes; wherein, the monitoring task comprises monitoring period information;
the acquisition module is suitable for respectively acquiring node monitoring values, corresponding to the monitoring tasks, of the network nodes reported by the monitoring nodes; the node monitoring value of the network node corresponding to the monitoring task reported by each monitoring node is determined according to a plurality of periodic monitoring values corresponding to monitoring period information contained in the monitoring task and returned by the network node;
And the result determining module is suitable for determining the monitoring result of the network node corresponding to the monitoring task according to the node monitoring value of the network node corresponding to the monitoring task, which is reported by each monitoring node.
According to a further aspect of the present invention, there is provided a monitoring system for a network node, comprising: the monitoring device of the network node and a plurality of monitoring nodes respectively connected with the monitoring device.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the monitoring method of the network node.
According to still another aspect of the present invention, there is provided a computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method for monitoring a network node as described above.
In the method, the device and the system for monitoring the network node disclosed by the invention, on one hand, the same monitoring task aiming at the same network node can be respectively sent to a plurality of monitoring nodes, the plurality of monitoring nodes monitor in parallel, and the monitoring data of the plurality of monitoring nodes are synthesized to determine the final result, so that the monitoring accuracy is improved. On the other hand, each monitoring node can acquire a plurality of periodic monitoring values corresponding to a plurality of periods of the network node respectively, and the node monitoring values corresponding to the monitoring node of the network node are determined by integrating the plurality of periodic monitoring values, so that inaccurate results caused by abnormal factors such as network jitter and the like are prevented. Therefore, the accuracy of the monitoring result can be greatly improved, and the interference of external factors can be prevented.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart of a method of monitoring a network node according to an embodiment of the present invention;
fig. 2 is a flow chart of a method for monitoring a network node according to another embodiment of the present invention;
fig. 3 is a device configuration diagram of a monitoring device of a network node according to still another embodiment of the present invention;
fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a monitoring system of a network node according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a flow diagram of a method of monitoring a network node according to an embodiment of the invention. As shown in fig. 1, the method includes:
step S110: respectively sending the monitoring tasks corresponding to the network nodes to a plurality of monitoring nodes respectively connected with the network nodes so that each monitoring node can respectively send the monitoring tasks to the network nodes; the monitoring task comprises monitoring period information.
Specifically, in this embodiment, in order to improve monitoring accuracy, a plurality of monitoring nodes respectively connected to the network node are provided for the same network node. Each monitoring node monitors independently, so that result deviation caused by inaccurate results of one monitoring node is prevented.
In addition, the monitoring task further comprises monitoring period information, wherein the monitoring period information is used for indicating the network node to complete periodical feedback so as to prevent inaccurate phenomena caused by network jitter on the feedback value at a single time point. The method execution body in this embodiment may be a network device such as a central control server, and the network node to be monitored may be various nodes such as a DNS node, a cache node, and an HTTP server node.
Step S120: respectively acquiring node monitoring values, corresponding to monitoring tasks, of the network nodes reported by all the monitoring nodes; the node monitoring value of the network node corresponding to the monitoring task reported by each monitoring node is determined according to a plurality of periodic monitoring values corresponding to the monitoring period information contained in the monitoring task and returned by the network node.
Each monitoring node independently acquires a node monitoring value reported to the monitoring node by the network node. The node monitoring value is used for indicating a monitoring value of the network node monitored by the monitoring node. Specifically, in order to prevent the influence of network jitter, the network node needs to generate a plurality of periodic monitoring values corresponding to the monitoring period information for the monitoring task issued by each monitoring node. Each periodic monitoring value corresponds to a monitoring value in a time period, and the node monitoring value of the network node in a period of time can be accurately estimated through the periodic monitoring values corresponding to a plurality of periods.
Step S130: and determining the monitoring result of the network node corresponding to the monitoring task according to the node monitoring value of the network node corresponding to the monitoring task, which is reported by each monitoring node.
Specifically, each monitoring node reports the node monitoring values of the network node corresponding to the monitoring tasks, which are acquired by the node, so that the number of the node monitoring values is multiple, and the monitoring results of the network node corresponding to the monitoring tasks are determined by integrating the multiple node monitoring values, thereby remarkably improving the monitoring accuracy. The value range of the node monitoring value can be flexibly set according to the actual service scene. Correspondingly, when the monitoring results of the network node corresponding to the monitoring task are determined by integrating the plurality of node monitoring values, the value range of the node monitoring values and the actual service scene can be flexibly processed, and the invention is not limited to the above.
Therefore, in the network node monitoring method disclosed by the invention, on one hand, the same monitoring task aiming at the same network node can be respectively sent to a plurality of monitoring nodes, the plurality of monitoring nodes monitor in parallel, and the monitoring data of the plurality of monitoring nodes are synthesized to determine the final result, so that the monitoring accuracy is improved. On the other hand, each monitoring node can acquire a plurality of periodic monitoring values corresponding to a plurality of periods of the network node respectively, and the node monitoring values corresponding to the monitoring node of the network node are determined by integrating the plurality of periodic monitoring values, so that inaccurate results caused by abnormal factors such as network jitter and the like are prevented. Therefore, the accuracy of the monitoring result can be greatly improved, and the interference of external factors can be prevented.
Fig. 2 shows a flow chart of a method for monitoring a network node according to another embodiment of the invention. In the present embodiment, the network node monitoring in the content delivery network (Content Delivery Network, CDN) system is exemplified. The network nodes to be monitored may be (Domain Name System, DNS) domain name system nodes in the CDN system, hypertext transfer protocol (HyperText Transfer Protocol, HTTP) server nodes and/or cache nodes, etc. In this embodiment, in order to facilitate the implementation of the monitoring function, the CDN system specifically includes: the system comprises a central control server, a WEB server (website server), a monitoring database and a plurality of monitoring nodes. The WEB server and the central control server are respectively connected with the monitoring database, and the central control server is further connected with a plurality of monitoring nodes. The WEB server is used for dynamically configuring the monitoring tasks to be executed in the monitoring database according to actual demands, and the central control server is used for dynamically reading the configured monitoring tasks to be executed in the monitoring database and distributing the monitoring tasks to a plurality of monitoring nodes so that each monitoring node can respectively distribute the monitoring tasks to corresponding network nodes. In addition, in this embodiment, the plurality of monitoring nodes are simultaneously connected to one network node, so that the plurality of monitoring nodes can complete the monitoring operation for the same network node independently, so as to avoid the influence caused by network jitter. As shown in fig. 2, the method includes:
Step S200: the central control server acquires each original task pre-configured in the monitoring database and determines a network node corresponding to each original task; and generating a monitoring task to be executed according to the network node corresponding to the original task.
Wherein the WEB server dynamically configures monitoring tasks (i.e., raw tasks) into the monitoring database, each raw task being for testing at least one preset function of at least one network node. Accordingly, each original task at least comprises the following information: network node to be monitored, function identification of preset function to be monitored.
The network node to be monitored is the network node corresponding to the original task, and the specific number of the network nodes can be one or more. Optionally, when the number of network nodes to be monitored included in one original task is multiple, the central control server splits the original task into multiple monitoring tasks according to the number of network nodes, and each split monitoring task corresponds to one network node respectively. In addition, the preset function to be monitored corresponds to the task type of the monitoring task, and specifically includes: the type of monitoring whether the port survives (e.g., detecting 80 a port failed function), and/or the type of detecting whether HTTP service is normal, etc. When the number of the preset functions to be monitored included in one monitoring task is multiple, optionally, the central control server splits the original task into multiple monitoring tasks according to the number of the preset functions, and each split monitoring task corresponds to one preset function respectively. For example, assuming that one original task is used to monitor a preset function in M of N network nodes, the central control server may split the original task into n×m monitoring tasks, so that each monitoring task corresponds to a preset function of one network node, respectively. Wherein N, M is a natural number.
Step S210: the central control server respectively sends the monitoring tasks corresponding to the network nodes to a plurality of monitoring nodes respectively connected with the network nodes so that each monitoring node respectively sends the monitoring tasks to the network nodes; the monitoring task comprises monitoring period information.
In essence, in step S200, the central control server determines a plurality of monitoring tasks to be executed according to the monitoring database, and in order to facilitate execution, each monitoring task corresponds to a preset function of a network node in this embodiment. Accordingly, in this step and the subsequent steps, for convenience of description, only one monitoring task corresponding to a preset function of one network node is taken as an example, and in practical cases, the number of monitoring tasks and network nodes are multiple.
In addition, in order to improve the monitoring accuracy, a plurality of monitoring nodes which are respectively connected with the network nodes are preset for each network node, and each function of the network node is monitored by the plurality of monitoring nodes which are mutually independent, so that the accuracy is improved. Of course, besides the fact that the same network node needs to be connected with a plurality of monitoring nodes, the same monitoring node may also be connected with a plurality of network nodes respectively.
Specifically, for a monitoring task, the central control server first determines a network node corresponding to the monitoring task and a preset function to be tested. For example, assume that a network node corresponding to the monitoring task is a cache node in beijing, and in order to test the cache node, three monitoring nodes, such as a monitoring node a, a monitoring node B and a monitoring node C, respectively connected to the cache node are deployed in advance. Correspondingly, the central control server respectively transmits the monitoring tasks to the monitoring node A, the monitoring node B and the monitoring node C. The monitoring tasks received by each monitoring node are the same. Each monitoring task at least comprises the following information: node identification of a network node to be monitored, function identification of a preset function to be monitored, and monitoring period information. Wherein the monitoring period information includes: the period duration and the period number are used for indicating the network node to feed back the periodic monitoring values corresponding to the periods, so that the problem that the monitoring value at a single time point is affected by network jitter and is inaccurate is solved. For example, the period duration in this embodiment is 1 second, and the number of periods is 5, where the period duration refers to the duration of a single period, and accordingly, the network node needs to acquire the monitoring value every 1 second within 5 seconds, so as to acquire 5 periodic monitoring values.
Step S220: after each monitoring node issues the monitoring task to the network node, a plurality of periodic monitoring values corresponding to the monitoring period information contained in the monitoring task and returned to the monitoring node by the network node are obtained.
Specifically, after the monitoring node a, the monitoring node B, and the monitoring node C send the monitoring tasks to the network node respectively, the network node will feed back a plurality of periodic monitoring values to the monitoring node a, the monitoring node B, and the monitoring node C respectively.
For example, taking the monitoring node a as an example, after the monitoring node a sends a monitoring task for detecting whether the 80 ports are unobstructed to the network node, the network node determines the number of periods to be monitored and the time interval during each period according to the monitoring period information contained in the monitoring task to obtain a plurality of periodic monitoring values. Specifically, the plurality of periodic monitoring values corresponding to the monitoring period information contained in the monitoring task, which are returned by the network node to the monitoring node a, are determined by: firstly, after receiving a monitoring task issued by the monitoring node, the network node acquires the period duration and the period number in monitoring period information contained in the monitoring task; and then, the network node acquires the periodic monitoring values corresponding to the monitoring tasks once every other period time, and when the number of the acquired periodic monitoring values reaches the number of the periods, the network node sends the plurality of periodic monitoring values corresponding to the number of the periods to the monitoring node. For example, in this example, the network node acquires the periodic monitoring values corresponding to the monitoring task once every 1 second, and when the number of acquired periodic monitoring values reaches 5, sends the 5 periodic monitoring values to the monitoring node. Accordingly, monitoring node a will receive 5 periodic monitoring values from the network node. Similarly, the monitoring node B, C will also receive 5 periodic monitoring values from the network node. Of course, the specific values of the 5 periodic monitoring values received by each monitoring node may be different.
Step S230: and each monitoring node calculates a node monitoring value of the network node corresponding to the monitoring task according to a plurality of periodic monitoring values which are returned to the monitoring node by the network node and correspond to the monitoring period information contained in the monitoring task and a preset node operation rule.
The specific value range of the periodic monitoring value fed back by the network node is determined by the actual application scene, and the value range can be a numerical value or other types, and the invention is not limited to the numerical value. In a specific example, the specific value range of the periodic monitoring value fed back by the network node is 0 and 1, and the abnormal function is indicated when the value is 0, and the normal function is indicated when the value is 1. In order to ensure the accuracy of the result, the node monitoring value of the network node corresponding to the monitoring task needs to be calculated according to a preset node operation rule. The node monitoring value is used for reflecting the monitoring value of the network node corresponding to the monitoring task, which is monitored by the monitoring node.
In this embodiment, the preset node operation rule includes: according to the monitoring time of each periodic monitoring value, giving corresponding weight to each periodic monitoring value, and executing weighting operation on each periodic monitoring value to obtain a node monitoring value of the network node corresponding to a monitoring task; wherein, the later the monitoring time is, the higher the corresponding weight of the periodic monitoring value is. For example, assume that the 5 periodic monitoring values received by the monitoring node a are in order of the monitoring time: 11011, giving the highest weight to the monitoring value with the last monitoring time and giving the smallest weight to the monitoring value with the last monitoring time, thereby obtaining the node monitoring value of 1 on the monitoring node A. The node monitoring values of other monitoring nodes are determined in a similar manner, and are not described in detail herein. Of course, the preset node operation rule may be an average value calculation rule, and the present invention is not limited thereto, as long as an error caused by fluctuation of a single monitor value can be prevented.
Step S240: the central control server respectively acquires node monitoring values, corresponding to the monitoring tasks, of the network nodes reported by the monitoring nodes; the node monitoring value of the network node corresponding to the monitoring task reported by each monitoring node is determined according to a plurality of periodic monitoring values corresponding to the monitoring period information contained in the monitoring task and returned by the network node.
For example, in the above example, the monitoring node a, the monitoring node B, and the monitoring node C acquire the node monitoring values reported to the monitoring node by the network node independently of each other. For example, in the above example, if the monitoring node a determines that the node monitoring value on the monitoring node a is 1 according to the received 5 periodic monitoring values 11011, the monitoring node a reports the node monitoring value 1 to the central control server. It is assumed that the node monitoring value reported by the monitoring node B is also 1, and the node monitoring value reported by the monitoring node C is 0. Correspondingly, the central control server acquires three node monitoring values, namely 1, 1 and 0.
Step S250: and the central control server determines the monitoring result of the network node corresponding to the monitoring task according to the node monitoring value of the network node corresponding to the monitoring task, which is reported by each monitoring node.
Specifically, the central control server determines a monitoring result of the network node corresponding to the monitoring task according to the monitoring value of each node and a preset result operation rule. The preset result operation rule can be flexibly set, for example, specific values of monitoring values of each node can be respectively determined, the occurrence number of each specific value is determined, and the value with the largest occurrence number is determined as the monitoring result of the network node corresponding to the monitoring task. For example, in this example, since the three node monitoring values are 1, and 0, respectively, where the number of occurrences of the value 1 is the largest, the monitoring result of the network node corresponding to the monitoring task is determined to be 1. The meaning of the monitoring result is as follows: the 80 ports of the network node are in a clear state.
Step S260: the central control server stores the monitoring results of each network node corresponding to each monitoring task into a preset monitoring result table respectively; and displaying the monitoring result table, and/or realizing scheduling for each network node according to the monitoring result table.
In practical situations, the central control server may acquire the monitoring results of each network node corresponding to each monitoring task, so in order to facilitate the utilization of the monitoring results, in this embodiment, each obtained monitoring result is further stored in a preset monitoring result table.
For the content in the monitoring result table, the following two utilization modes can be adopted: the first way is: and displaying the monitoring result table so that a system manager can perform operations such as system maintenance and the like according to the display result. The second mode is as follows: and according to the monitoring result table, scheduling for each network node is realized. For example, when a client request is received, a network node with normal function is selected for the client request according to the type of the client request, and the network node with abnormal function is avoided, so that the problem of access failure caused by the abnormal function of the network node is prevented.
In summary, by means of the method in this embodiment, the same monitoring task aimed at the same network node can be sent to multiple monitoring nodes, the multiple monitoring nodes monitor in parallel, and the final result is determined by integrating the monitoring data of the multiple monitoring nodes, so that the monitoring accuracy is improved. And each monitoring node can acquire a plurality of periodic monitoring values corresponding to a plurality of periods of the network node respectively, and the node monitoring values corresponding to the monitoring node of the network node are determined by integrating the plurality of periodic monitoring values, so that inaccurate results caused by abnormal factors such as network jitter and the like are prevented. Therefore, the accuracy of the monitoring result can be greatly improved, and the interference of external factors can be prevented. This way it can be monitored whether the DNS node or HTTP server in the CDN system is properly served.
Fig. 3 is a device structure diagram of a monitoring device for a network node according to still another embodiment of the present invention. As shown in fig. 3, the present apparatus includes:
the task sending module 31 is adapted to send the monitoring tasks corresponding to the network nodes to a plurality of monitoring nodes respectively connected with the network nodes, so that each monitoring node can respectively send the monitoring tasks to the network nodes; wherein, the monitoring task comprises monitoring period information;
the acquiring module 32 is adapted to acquire node monitoring values corresponding to the monitoring tasks of the network node reported by each monitoring node; the node monitoring value of the network node corresponding to the monitoring task reported by each monitoring node is determined according to a plurality of periodic monitoring values corresponding to monitoring period information contained in the monitoring task and returned by the network node;
the result determining module 33 is adapted to determine the monitoring result of the network node corresponding to the monitoring task according to the node monitoring value of the network node corresponding to the monitoring task reported by each monitoring node.
Optionally, after each monitoring node issues the monitoring task to the network node, acquiring a plurality of periodic monitoring values corresponding to monitoring period information contained in the monitoring task and returned to the monitoring node by the network node;
And, a plurality of periodic monitoring values corresponding to the monitoring period information included in the monitoring task, which are returned to the monitoring node by the network node, are determined by the following modes:
after receiving a monitoring task issued by the monitoring node, the network node acquires the period duration and the period number in monitoring period information contained in the monitoring task;
the network node acquires periodic monitoring values corresponding to the monitoring tasks once every the period duration, and when the number of the acquired periodic monitoring values reaches the period number, the network node sends a plurality of periodic monitoring values corresponding to the period number to the monitoring node.
Optionally, each monitoring node calculates a node monitoring value of the network node corresponding to the monitoring task according to a plurality of periodic monitoring values corresponding to the monitoring period information contained in the monitoring task and a preset node operation rule, wherein the periodic monitoring values are returned to the monitoring node by the network node.
Optionally, the preset node operation rule includes:
according to the monitoring time of each periodic monitoring value, giving corresponding weight to each periodic monitoring value, and executing weighting operation on each periodic monitoring value to obtain a node monitoring value of the network node corresponding to the monitoring task;
Wherein, the later the monitoring time is, the higher the corresponding weight of the periodic monitoring value is.
Optionally, the result determination module is specifically adapted to:
and determining the monitoring result of the network node corresponding to the monitoring task according to the monitoring value of each node and a preset result operation rule.
Optionally, the network node includes: DNS nodes in the CDN system and/or cache nodes; the task types of the monitoring task include: monitoring whether the port survives and/or detecting whether the HTTP service is normal;
and, the task sending module is further adapted to:
acquiring each original task pre-configured in a monitoring database, and determining a network node corresponding to each original task;
and generating a monitoring task to be executed according to the network node corresponding to the original task.
Optionally, the result determination module is further adapted to:
respectively storing the monitoring results of each network node corresponding to each monitoring task into a preset monitoring result table;
and displaying the monitoring result table, and/or realizing scheduling for each network node according to the monitoring result table.
The specific structure and working principle of each module may refer to the description of corresponding steps in the method embodiment, and are not repeated herein.
The monitoring device may be a device such as the central control server mentioned above, which is capable of implementing a monitoring function.
Fig. 5 is a schematic structural diagram of a monitoring system of a network node according to another embodiment of the present application, as shown in fig. 5, where the system includes: such as the monitoring device 50 of fig. 3, and a plurality of monitoring nodes 51 each connected to the monitoring device 50.
Optionally, the monitoring system may further include the WEB server (website server) mentioned above and a monitoring database. Wherein the monitoring database is connected with the monitoring device 50, and the WEB server is connected with the monitoring database.
The specific working principle of each device in the system can refer to the description of corresponding parts in the method embodiment, and the description is omitted here.
The embodiment of the application provides a non-volatile computer storage medium, which stores at least one executable instruction, and the computer executable instruction can execute the method for monitoring the network node in any of the method embodiments.
Fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present application, and the specific embodiment of the present application is not limited to the specific implementation of the electronic device.
As shown in fig. 4, the electronic device may include: a processor 402, a communication interface (Communications Interface) 404, a memory 406, and a communication bus 408.
Wherein:
processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically perform relevant steps in the above-mentioned network node monitoring method embodiment.
In particular, program 410 may include program code including computer-operating instructions.
The processor 402 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 406 for storing programs 410. Memory 406 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Program 410 may be specifically operative to cause processor 402 to perform the operations in the method embodiments described above.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components in a monitoring device of a network node according to an embodiment of the invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (15)

1. A method of monitoring a network node, comprising:
acquiring each original task pre-configured in a monitoring database, and determining a network node corresponding to each original task;
when a plurality of network nodes to be monitored are included in an original task, splitting the original task into a plurality of monitoring tasks according to the number of the network nodes, wherein each split monitoring task corresponds to one network node respectively, and each network node is provided with a plurality of monitoring nodes which are connected with the network node respectively in advance;
respectively sending monitoring tasks corresponding to the network nodes to a plurality of monitoring nodes respectively connected with the network nodes so that each monitoring node can respectively send the monitoring tasks to the network nodes; the monitoring task comprises monitoring period information, wherein the monitoring period information is used for indicating a network node to complete periodic feedback;
respectively acquiring node monitoring values, corresponding to the monitoring tasks, of the network nodes reported by the monitoring nodes; the node monitoring value of the network node corresponding to the monitoring task reported by each monitoring node is determined according to a plurality of periodic monitoring values corresponding to monitoring period information contained in the monitoring task and returned by the network node;
According to the monitoring time of each periodic monitoring value, giving corresponding weight to each periodic monitoring value, and performing weighting operation on each periodic monitoring value to obtain a node monitoring value of the network node corresponding to the monitoring task, wherein the weight corresponding to the periodic monitoring value with the later monitoring time is higher;
and determining the monitoring result of the network node corresponding to the monitoring task according to the node monitoring value of the network node corresponding to the monitoring task, which is reported by each monitoring node.
2. The method of claim 1, wherein before the network node reported by each monitoring node is obtained respectively and corresponds to the node monitoring value of the monitoring task, further comprising:
after each monitoring node issues the monitoring task to the network node, acquiring a plurality of periodic monitoring values corresponding to monitoring period information contained in the monitoring task and returned to the monitoring node by the network node;
and, a plurality of periodic monitoring values corresponding to the monitoring period information included in the monitoring task, which are returned to the monitoring node by the network node, are determined by the following modes:
After receiving a monitoring task issued by the monitoring node, the network node acquires the period duration and the period number in monitoring period information contained in the monitoring task;
the network node acquires periodic monitoring values corresponding to the monitoring tasks once every the period duration, and when the number of the acquired periodic monitoring values reaches the period number, the network node sends a plurality of periodic monitoring values corresponding to the period number to the monitoring node.
3. The method of claim 2, wherein after each monitoring node issues the monitoring task to the network node and obtains a plurality of periodic monitoring values corresponding to monitoring period information included in the monitoring task and returned by the network node to the monitoring node, the method further comprises:
and each monitoring node calculates a node monitoring value of the network node corresponding to the monitoring task according to a plurality of periodic monitoring values corresponding to the monitoring period information contained in the monitoring task and a preset node operation rule, wherein the periodic monitoring values are returned to the monitoring node by the network node.
4. A method according to any one of claims 1 to 3, wherein the determining, according to the node monitoring values of the network nodes corresponding to the monitoring tasks reported by the respective monitoring nodes, the monitoring results of the network nodes corresponding to the monitoring tasks includes:
And determining the monitoring result of the network node corresponding to the monitoring task according to the monitoring value of each node and a preset result operation rule.
5. A method according to any of claims 1-3, wherein the network node comprises: DNS nodes in the CDN system and/or cache nodes; the task types of the monitoring task include: monitoring whether the port survives and/or detecting whether the HTTP service is normal;
before the monitoring tasks corresponding to the network nodes are respectively sent to the plurality of monitoring nodes respectively connected with the network nodes, the method further comprises the steps of:
acquiring each original task pre-configured in a monitoring database, and determining a network node corresponding to each original task;
and generating a monitoring task to be executed according to the network node corresponding to the original task.
6. A method according to any of claims 1-3, wherein after said determining that the network node corresponds to the monitoring result of the monitoring task, further comprising:
respectively storing the monitoring results of each network node corresponding to each monitoring task into a preset monitoring result table;
and displaying the monitoring result table, and/or realizing scheduling for each network node according to the monitoring result table.
7. A monitoring device of a network node, comprising:
the task sending module is suitable for acquiring each original task pre-configured in the monitoring database and determining a network node corresponding to each original task; when a plurality of network nodes to be monitored are included in an original task, splitting the original task into a plurality of monitoring tasks according to the number of the network nodes, wherein each split monitoring task corresponds to one network node, each network node is provided with a plurality of monitoring nodes connected with the network node in advance, and the monitoring tasks corresponding to the network nodes are respectively sent to the plurality of monitoring nodes connected with the network nodes so that each monitoring node can respectively send the monitoring tasks to the network node; the monitoring task comprises monitoring period information, wherein the monitoring period information is used for indicating a network node to complete periodic feedback;
the acquisition module is suitable for respectively acquiring node monitoring values, corresponding to the monitoring tasks, of the network nodes reported by the monitoring nodes; the node monitoring value of the network node corresponding to the monitoring task reported by each monitoring node is determined according to a plurality of periodic monitoring values corresponding to monitoring period information contained in the monitoring task and returned by the network node;
The acquisition module is suitable for giving corresponding weights to the periodic monitoring values according to the monitoring time of the periodic monitoring values and executing weighting operation on the periodic monitoring values to obtain node monitoring values of the network node corresponding to the monitoring task, wherein the weights corresponding to the periodic monitoring values with the later monitoring time are higher;
and the result determining module is suitable for determining the monitoring result of the network node corresponding to the monitoring task according to the node monitoring value of the network node corresponding to the monitoring task, which is reported by each monitoring node.
8. The apparatus of claim 7, wherein each monitoring node obtains a plurality of periodic monitoring values corresponding to monitoring period information included in the monitoring task returned by the network node to the monitoring node after issuing the monitoring task to the network node;
and, a plurality of periodic monitoring values corresponding to the monitoring period information included in the monitoring task, which are returned to the monitoring node by the network node, are determined by the following modes:
after receiving a monitoring task issued by the monitoring node, the network node acquires the period duration and the period number in monitoring period information contained in the monitoring task;
The network node acquires periodic monitoring values corresponding to the monitoring tasks once every the period duration, and when the number of the acquired periodic monitoring values reaches the period number, the network node sends a plurality of periodic monitoring values corresponding to the period number to the monitoring node.
9. The apparatus of claim 8, wherein each monitoring node calculates a node monitoring value of the network node corresponding to the monitoring task according to a plurality of periodic monitoring values corresponding to monitoring period information included in the monitoring task and a preset node operation rule returned to the monitoring node by the network node.
10. The apparatus according to any of claims 7-9, wherein the result determination module is specifically adapted to:
and determining the monitoring result of the network node corresponding to the monitoring task according to the monitoring value of each node and a preset result operation rule.
11. The apparatus according to any of claims 7-9, wherein the network node comprises: DNS nodes in the CDN system and/or cache nodes; the task types of the monitoring task include: monitoring whether the port survives and/or detecting whether the HTTP service is normal;
And, the task sending module is further adapted to:
acquiring each original task pre-configured in a monitoring database, and determining a network node corresponding to each original task;
and generating a monitoring task to be executed according to the network node corresponding to the original task.
12. The apparatus of any of claims 7-9, wherein the result determination module is further adapted to:
respectively storing the monitoring results of each network node corresponding to each monitoring task into a preset monitoring result table;
and displaying the monitoring result table, and/or realizing scheduling for each network node according to the monitoring result table.
13. A monitoring system of a network node, comprising: a monitoring device of a network node according to any of claims 7-12, and a plurality of monitoring nodes each connected to said monitoring device.
14. An electronic device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform operations corresponding to the method for monitoring a network node according to any one of claims 1-6.
15. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method of monitoring a network node according to any of claims 1-6.
CN201811605140.6A 2018-12-26 2018-12-26 Network node monitoring method, device and system Active CN111371635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811605140.6A CN111371635B (en) 2018-12-26 2018-12-26 Network node monitoring method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811605140.6A CN111371635B (en) 2018-12-26 2018-12-26 Network node monitoring method, device and system

Publications (2)

Publication Number Publication Date
CN111371635A CN111371635A (en) 2020-07-03
CN111371635B true CN111371635B (en) 2023-09-01

Family

ID=71209850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811605140.6A Active CN111371635B (en) 2018-12-26 2018-12-26 Network node monitoring method, device and system

Country Status (1)

Country Link
CN (1) CN111371635B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112800107B (en) * 2021-01-18 2023-02-03 湖北宸威玺链信息技术有限公司 Data source security authentication method, system, device and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064975A (en) * 2009-11-17 2011-05-18 中国移动通信集团公司 Network equipment supervision method and system
CN102546256A (en) * 2012-01-12 2012-07-04 易云捷讯科技(北京)有限公司 System and method used for monitoring cloud computation service
CN104734902A (en) * 2013-12-23 2015-06-24 展讯通信(上海)有限公司 Testing system and server end thereof
CN107341081A (en) * 2017-07-07 2017-11-10 北京奇虎科技有限公司 Test system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK3008717T3 (en) * 2013-06-10 2017-11-06 Sonova Ag WIRELESS SOUND TRANSMISSION SYSTEM AND METHOD / WIRELESS SOUND TRANSMISSION SYSTEM AND METHOD
US10255114B2 (en) * 2013-06-28 2019-04-09 Nec Corporation Abnormality detection apparatus, control method, and program
CN106767852B (en) * 2016-12-30 2019-10-11 东软集团股份有限公司 A kind of method, apparatus and equipment generating detection target information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064975A (en) * 2009-11-17 2011-05-18 中国移动通信集团公司 Network equipment supervision method and system
CN102546256A (en) * 2012-01-12 2012-07-04 易云捷讯科技(北京)有限公司 System and method used for monitoring cloud computation service
CN104734902A (en) * 2013-12-23 2015-06-24 展讯通信(上海)有限公司 Testing system and server end thereof
CN107341081A (en) * 2017-07-07 2017-11-10 北京奇虎科技有限公司 Test system and method

Also Published As

Publication number Publication date
CN111371635A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN111913818B (en) Method for determining dependency relationship between services and related device
EP3335120B1 (en) Method and system for resource scheduling
CN104993953B (en) The method and apparatus for detecting network service state
US20170171344A1 (en) Scheduling method and server for content delivery network service node
CN111327647B (en) Method and device for providing service to outside by container and electronic equipment
CN103607424B (en) Server connection method and server system
CN108933829A (en) A kind of load-balancing method and device
CN107404540B (en) Data synchronization method and device
US9104486B2 (en) Apparatuses, systems, and methods for distributed workload serialization
US20130204926A1 (en) Information processing system, information processing device, client terminal, and computer readable medium
Qu et al. Mitigating impact of short‐term overload on multi‐cloud web applications through geographical load balancing
CN113067875B (en) Access method, device and equipment based on dynamic flow control of micro-service gateway
CN112241350B (en) Micro-service evaluation method and device, computing device and micro-service detection system
US9386087B2 (en) Workload placement in a computer system
CN111078516A (en) Distributed performance test method and device and electronic equipment
CN111371635B (en) Network node monitoring method, device and system
CN109474484B (en) CDN (content delivery network) checking method, device and system
CN107294911B (en) Data packet monitoring method and device, remote procedure call system and equipment
CN113179295B (en) Message processing method and device
CN110912779A (en) Cluster host health detection method, system, equipment and readable storage medium
US11570189B2 (en) Simultaneously testing whether a plurality of electronic devices connected via a communication network correctly handle exceptions
CN104954320B (en) method, device and system for establishing connection
CN112988405B (en) Automatic degradation method and device for micro-service and computing equipment
Carella et al. Elasticity as a service for federated cloud testbeds
CN112367386A (en) Ignite-based automatic operation and maintenance method, apparatus and computer equipment

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