[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115118619B - Network monitoring method, device, electronic equipment, medium and program product - Google Patents

Network monitoring method, device, electronic equipment, medium and program product Download PDF

Info

Publication number
CN115118619B
CN115118619B CN202210708535.9A CN202210708535A CN115118619B CN 115118619 B CN115118619 B CN 115118619B CN 202210708535 A CN202210708535 A CN 202210708535A CN 115118619 B CN115118619 B CN 115118619B
Authority
CN
China
Prior art keywords
network
monitoring data
data
equipment
access gateway
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
CN202210708535.9A
Other languages
Chinese (zh)
Other versions
CN115118619A (en
Inventor
黄震
易鹏飞
任伟
文荣
揭京达
刘平
王绍强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Cloud Computing Ltd
Original Assignee
Alibaba Cloud Computing Ltd
Filing date
Publication date
Application filed by Alibaba Cloud Computing Ltd filed Critical Alibaba Cloud Computing Ltd
Priority to CN202210708535.9A priority Critical patent/CN115118619B/en
Publication of CN115118619A publication Critical patent/CN115118619A/en
Application granted granted Critical
Publication of CN115118619B publication Critical patent/CN115118619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the disclosure discloses a network monitoring method, a device, an electronic device, a medium and a program product, wherein the method comprises the following steps: acquiring monitoring data of equipment in the network through an access gateway of the network, wherein the equipment in the network comprises the access gateway and other equipment in the network; the monitoring data is sent to a management platform server through the access gateway; and determining, by the management platform server, a quality score of the network based on the monitoring data, the quality score reflecting an operational state of the network.

Description

Network monitoring method, device, electronic equipment, medium and program product
Technical Field
The disclosure relates to the technical field of network monitoring, and in particular relates to a network monitoring method, a network monitoring device, electronic equipment, a medium and a program product.
Background
In a headquarter-branch networking architecture, a headquarter central network is connected to one or more branch networks through a virtual private network (Virtual Private Network, VPN). The headquarter network or the branch network can access the server on the cloud through the VPN, and can also access the public network respectively. In order to achieve stable operation of the branch network, it is generally necessary to monitor the operation condition of the branch network so as to find out and process anomalies in operation in time.
Disclosure of Invention
To solve the problems in the related art, embodiments of the present disclosure provide a network monitoring method, apparatus, electronic device, medium, and program product.
In a first aspect, an embodiment of the present disclosure provides a network monitoring method, including:
Acquiring monitoring data of equipment in the network through an access gateway of the network, wherein the equipment in the network comprises the access gateway and other equipment in the network;
The monitoring data is sent to a management platform server through the access gateway;
and determining, by the management platform server, a quality score of the network based on the monitoring data, the quality score reflecting an operational state of the network.
According to an embodiment of the present disclosure, the method further comprises processing the monitoring data by one or more of:
Supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
and according to a preset arbitration strategy, the trusted monitoring data in the similar monitoring data are reserved, and the untrusted monitoring data are discarded.
According to an embodiment of the present disclosure, wherein:
The supplementing missing monitoring data of a second device connected with the first device in the network according to the monitoring data of the first device in the network sent to the management platform server comprises the following steps:
According to the monitoring data of the first equipment, equipment type information of third equipment connected with the second equipment is determined, and the equipment type information of the third equipment is associated with corresponding monitoring data of the second equipment; and/or determining interface flow information of the second device according to the interface flow information of the first device;
The preset arbitration policy includes: when the network distance between the fourth device and the monitored object is smaller than that between the fifth device and the monitored object, the reliability of the monitoring data of the fourth device on the monitored object is higher than that of the monitoring data of the fifth device on the monitored object.
According to an embodiment of the present disclosure, wherein:
other devices in the network include switches and/or wireless access points;
The monitoring data includes at least one of: performance data, log data, device type information;
The performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment;
the log data includes error messages describing abnormal events;
The device type information includes a hardware type and/or an operating system type.
According to an embodiment of the disclosure, wherein the determining the quality score of the network based on the monitoring data comprises:
And determining the quality score of the network according to the weighted sum of the scores of the performance data and/or the scores of the error messages, wherein the respective weights of the performance data and/or the error messages are determined according to the influence degree of the respective performance data and/or the respective error messages on a user.
According to an embodiment of the present disclosure, wherein:
Determining the score of the performance data according to the comparison result of the performance data and the corresponding performance threshold;
Determining a score for the error message according to the type and/or severity of the error message;
And determining the influence degree of the performance data and/or the error message on the user according to the performance data and/or the equipment type corresponding to the error message.
In a second aspect, an embodiment of the present disclosure provides a network monitoring method, including:
Acquiring monitoring data of equipment in the network through an access gateway of the network, wherein the equipment in the network comprises the access gateway and other equipment in the network;
and sending the monitoring data to a management platform server through the access gateway, wherein the monitoring data is used for determining the quality score of the network by the management platform server, and the quality score reflects the running state of the network.
According to an embodiment of the present disclosure, wherein:
The acquiring, by the access gateway of the network, monitoring data of devices in the network includes:
Acquiring monitoring data of the access gateway through an acquisition probe program arranged on the access gateway;
And acquiring monitoring data of the other equipment according to the corresponding network transmission protocol supported by the other equipment through the acquisition probe program.
In a third aspect, an embodiment of the present disclosure provides a network monitoring method, including:
Receiving monitoring data of devices in the network from an access gateway of the network, the devices in the network including the access gateway and other devices in the network;
and determining a quality score of the network based on the monitoring data, wherein the quality score reflects the running state of the network.
According to an embodiment of the present disclosure, the method further comprises processing the monitoring data by one or more of:
Supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
and according to a preset arbitration strategy, the trusted monitoring data in the similar monitoring data are reserved, and the untrusted monitoring data are discarded.
According to an embodiment of the present disclosure, wherein:
other devices in the network include switches and/or wireless access points;
The monitoring data includes at least one of: performance data, log data, device type information;
The performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment;
the log data includes error messages describing abnormal events;
the device type information comprises a hardware type and/or an operating system type;
The determining the quality of the network based on the monitoring data includes: and determining the quality score of the network according to the weighted sum of the scores of the performance data and/or the scores of the error messages, wherein the respective weights of the performance data and/or the error messages are determined according to the influence degree of the respective performance data and/or the respective error messages on a user.
According to an embodiment of the present disclosure, wherein:
Determining the score of the performance data according to the comparison result of the performance data and the corresponding performance threshold;
Determining a score for the error message according to the type and/or severity of the error message;
And determining the influence degree of the performance data and/or the error message on the user according to the performance data and/or the equipment type corresponding to the error message.
In a fourth aspect, an embodiment of the present disclosure provides a network monitoring apparatus, including:
An acquisition module configured to acquire monitoring data of devices in the network through an access gateway of the network, the devices in the network including the access gateway and other devices in the network;
And the sending module is configured to send the monitoring data to a management platform server through the access gateway, wherein the monitoring data is used for determining the quality score of the network by the management platform server, and the quality score reflects the running state of the network.
In a fifth aspect, embodiments of the present disclosure provide a network monitoring apparatus, including:
A receiving module configured to receive monitoring data of devices in the network from an access gateway of the network, the devices in the network including the access gateway and other devices in the network;
A determination module configured to determine a quality score of the network based on the monitoring data, the quality score reflecting an operational status of the network.
According to an embodiment of the disclosure, the apparatus further comprises a processing module configured to process the monitoring data by one or more of:
Supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
and according to a preset arbitration strategy, the trusted monitoring data in the similar monitoring data are reserved, and the untrusted monitoring data are discarded.
In a sixth aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor, wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method of any one of the second and third aspects.
In a seventh aspect, embodiments of the present disclosure provide a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the methods of the second and third aspects.
In an eighth aspect, embodiments of the present disclosure provide a computer program product comprising computer instructions which, when executed by a processor, implement the method steps as described in the second and third aspects.
According to the technical scheme provided by the embodiment of the disclosure, the access gateway of the monitored network is used for acquiring the monitoring data of the access gateway and the monitoring data of other devices in the network and uploading the monitoring data to the management platform server, so that the influence on the performance of the service provided by the other devices in the monitored network is reduced, and meanwhile, unified monitoring capability can be provided for a user through the management platform of the cloud, and the cost of learning network management by the user is reduced. In addition, by collecting monitoring data of the access gateway and other devices in the network, determining the quality score of the network based on the monitoring data, the network quality of the entire network can be perceived more macroscopically and accurately as a whole.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the drawings:
Fig. 1 illustrates a headquarter-branch networking architecture according to an embodiment of the present disclosure.
Fig. 2 shows a schematic diagram of a branched network architecture according to an embodiment of the present disclosure.
Fig. 3 shows a flow chart of a network monitoring method according to an embodiment of the present disclosure.
Fig. 4 shows a system block diagram of a network monitoring method according to an embodiment of the present disclosure.
Fig. 5 shows a flowchart of a network monitoring method according to an embodiment of the present disclosure.
Fig. 6 shows a flowchart of a network monitoring method according to an embodiment of the present disclosure.
Fig. 7A shows a block diagram of a network monitoring device according to an embodiment of the present disclosure.
Fig. 7B shows a block diagram of a network monitoring device according to an embodiment of the present disclosure.
Fig. 8 shows a block diagram of an electronic device according to an embodiment of the disclosure.
Fig. 9 shows a schematic diagram of a computer system suitable for use in implementing methods according to embodiments of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, portions irrelevant to description of the exemplary embodiments are omitted in the drawings.
In this disclosure, it should be understood that terms such as "comprises" or "comprising," etc., are intended to indicate the presence of features, numbers, steps, acts, components, portions, or combinations thereof disclosed in this specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, acts, components, portions, or combinations thereof are present or added.
In addition, it should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In the present disclosure, the acquisition of user information or user data is an operation that is authorized, confirmed, or actively selected by the user.
As described above, in the headquarter-branch networking architecture, the headquarter central network is connected to one or more branch networks through a virtual private network (Virtual Private Network, VPN). In order to achieve stable operation of the branch network, it is generally necessary to monitor the operation condition of the branch network so as to find out and process anomalies in operation in time.
Fig. 1 illustrates a headquarter-branch networking architecture according to an embodiment of the present disclosure.
As shown in fig. 1, the branch network 1 and the branch network 2 … … are connected to and communicate with a headquarter central network through VPN1, VPN2, … … VPNn, respectively, and in order to realize stable operation of the branch networks, it is generally necessary to monitor the operation conditions of the branch networks so as to timely find out and process an abnormality in operation.
In order to monitor the operation condition of the branch network, each device in the branch network needs to be monitored. Devices in a branch network typically include access gateways, switches, wireless Access Points (APs), etc., wherein other devices in the branch network are connected to an external network, such as a headquarter central network, through the access network.
An access gateway refers to a gateway device at the edge of a network for connecting a local network to an external network. A switch is a piece of network hardware that is capable of connecting different devices over a computer network by exchanging messages to receive and forward data. The wireless AP is a wireless switch for a wireless network and is also the core of the wireless network. Wireless APs are access points where mobile computer users connect to a wired network, and can be used in broadband homes, buildings, and parks, covering areas ranging from tens to hundreds of meters.
Fig. 2 shows a schematic diagram of a branched network architecture according to an embodiment of the present disclosure.
As shown in fig. 2, in the branched network, one or more APs (e.g., AP1, AP2 … …) are connected to a switch, one or more switches (e.g., switch a, switch B … …) are connected to an access gateway, and the access gateway is connected to an external network. The wireless device may communicate with the AP and, in turn, with an external network through a switch and an access gateway. The switch may be connected to one or more devices, such as a personal computer PC, a server, etc., in addition to the AP.
An existing branch network monitoring method provides independent management platforms for all devices in a branch network, and all the devices respectively collect and calculate own monitoring data and upload the monitoring data to the corresponding management platforms to generate monitoring device indexes and exception logs. The method has the defects that a user needs to manage and monitor different devices on different management platforms, the use method of each management platform needs to be learned, the learning and management cost is high, and the calculation is placed at the device end, the performance cost of the device end is high, and the network forwarding performance of the core of the device is influenced. In addition, the monitoring index and the log can only be used for the condition of a single device, so that the quality of the whole branch network can not be accurately perceived, and a user can intuitively grasp the running condition of the whole branch network.
The embodiment of the disclosure provides a network monitoring method, which comprises the following steps: acquiring monitoring data of equipment in the network through an access gateway of the network, wherein the equipment in the network comprises the access gateway and other equipment in the network; the monitoring data is sent to a management platform server through the access gateway; and determining, by the management platform server, a quality score of the network based on the monitoring data, the quality score reflecting an operational state of the network.
According to embodiments of the present disclosure, the monitored network may be a branch network, or any other network that communicates with the outside through an access gateway, such as a headquarter network that accesses a public network through the access gateway, or a local area network that accesses a cloud server through a VPN through the access gateway, and so on. By collecting monitoring data of the access gateway and other devices in the network, the quality of the network is determined based on the monitoring data, and the network quality of the whole network can be perceived more macroscopically and accurately as a whole.
Fig. 3 shows a flow chart of a network monitoring method according to an embodiment of the present disclosure. As shown in fig. 3, the network monitoring method includes the following steps S201 to S203:
in step S201, monitoring data of devices in the network are acquired through an access gateway of the network, where the devices in the network include the access gateway and other devices in the network;
in step S202, the monitoring data is sent to a management platform server through the access gateway;
in step S203, a quality score of the network is determined based on the monitoring data by the management platform server, the quality score reflecting an operation state of the network.
According to the embodiment of the disclosure, the access gateway of the monitored network is used for acquiring the monitoring data of the access gateway and the monitoring data of other devices in the network and uploading the monitoring data to the management platform server, so that the influence on the performance of the service provided by the other devices in the monitored network is reduced, and meanwhile, unified monitoring capability can be provided for a user through the management platform of the cloud, and the cost of learning network management by the user is reduced. In addition, by collecting monitoring data of the access gateway and other devices in the network, determining the quality score of the network based on the monitoring data, the network quality of the entire network can be perceived more macroscopically and accurately as a whole.
Fig. 4 shows a system block diagram of a network monitoring method according to an embodiment of the present disclosure.
The monitored network (hereinafter referred to as "network") shown in fig. 4 may be a branched network or any local area network or wide area network connected to an external network (e.g., the internet or headquarters network) through an access network.
In the example of fig. 4, the network includes an access gateway, one or more switches connected to the access gateway, and one or more APs connected to the switches.
The acquisition probes can be deployed on the access gateway and acquire various monitoring data on the access gateway through SNMP protocol, and also acquire various monitoring data on the switch and the AP by adopting different protocols such as SNMP, SSH or TELNET correspondingly according to different manufacturers and models of the switch and the AP.
According to embodiments of the present disclosure, the acquisition probe may be implemented in software, hardware, or firmware.
According to an embodiment of the present disclosure, the monitoring data includes at least one of: performance data, log data, device type information, the performance data being one or more of: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate, the signal-to-noise ratio of the terminal equipment and the like; the log data comprises error messages and the like, wherein the error messages are used for describing abnormal events; the device type information includes a hardware type and/or an operating system type.
SNMP refers to a simple network management protocol (Simple Network Management Protocol) that can support a network management system that can be used to obtain monitoring data for network devices including any one or more of the following: routers, switches, servers, printers, and other devices that provide services over a network.
SSH refers to Secure Shell protocol (Secure Shell), which is an encrypted network transport protocol that provides a Secure transport environment for network services in an unsecure network. The SSH enables a connection between the SSH client and the server by establishing a secure tunnel in the network. The most common use of SSHs is in telnet systems, which can typically be used to transmit command line interfaces and remotely execute commands.
Telnet is a standard protocol and primary way of internet Telnet services that provides users with the ability to do remote host work on a local computer.
And the acquisition probes of the access gateway compress and package the monitoring data acquired from the acquisition probes and the devices, and upload the monitoring data to the cloud database through the https protocol.
The management platform server implemented at the cloud end adopts a streaming computing method for monitoring data with high real-time requirements (such as real-time quality score data) and adopts a batch computing method for class data with low real-time requirements (such as quality score report data) to respectively compute. According to embodiments of the present disclosure, streaming computing is the computation and processing of data streams in real time. Batch computing is a data computing method for performing batch processing on data.
According to embodiments of the present disclosure, the cloud may also store network metadata for each network, such as network name, geographic location, etc., in order for the management platform server to obtain the metadata locally as it generates real-time quality data and quality report data.
According to the embodiment of the disclosure, when the management platform server processes the monitoring data, firstly, analyzing and cleaning is carried out on the monitoring data uploaded by the access gateway, some incomplete or obviously erroneous dirty data are filtered, the monitoring data are formatted according to a specified data format, and formatted data in a standard format are output.
The management platform server then supplements and/or arbitrates the data. Specifically, the missing monitoring data of a second device connected with a first device in the network can be supplemented according to the monitoring data of the first device in the network sent to the management platform server; and/or according to a preset arbitration policy, the trusted monitoring data in the same kind of monitoring data is reserved, and the untrusted monitoring data is discarded. According to embodiments of the present disclosure, the second device may be any device in the monitored network that requires supplemental monitoring data.
According to an embodiment of the disclosure, the supplementing missing monitoring data of a second device connected to a first device in the network according to monitoring data of the first device in the network sent to the management platform server includes: according to the monitoring data of the first equipment, equipment type information of third equipment connected with the second equipment is determined, and the equipment type information of the third equipment is associated with corresponding monitoring data of the second equipment; and/or determining the interface flow information of the second device according to the interface flow information of the first device.
For example, the first device may be an access gateway, the second device may be a switch or an AP, and the third device may be a terminal device connected to the second device. The AP, the switch can only monitor and obtain the data of the Media Access Control (MAC) address, internet Protocol (IP) address, network speed, traffic, etc. of the terminal device, and the access gateway can obtain the information of the terminal type, such as the hardware type (POS, smart home, camera, tablet, mobile phone, etc.) of the terminal, and/or the operating system type (IOS system or android system) of the terminal, through traffic analysis. After determining the type of the third device, the third device type may be associated with corresponding monitoring data of the second device, e.g., the network speed of a specified port of the second device may be associated with the type of the third device to which the port is connected. Based on the third device type and the services used by the end user, a degree of impact of the corresponding monitoring data of the second device on the user may be determined. For example, assuming that the end user uses a live service, the user is more influenced by the second device's monitoring data about the cell phone or tablet computer than by the second device's monitoring data about the POS.
For another example, there are many fields in the monitoring data uploaded by the access gateway that cannot be collected due to the device type. For example, for data related to a terminal, the access gateway, the switch and the AP may collect the data such as the signal to noise ratio of the wireless terminal, but the access gateway and the switch cannot collect the data such as the signal to noise ratio of the wireless terminal, and the AP may collect the data such as the signal to noise ratio of the wireless terminal, so that the signal to noise ratio data of the wireless terminal of the access gateway and the switch may be supplemented based on the monitored data of the AP. In this case, the first device is an AP and the second device is an access gateway or switch.
According to embodiments of the present disclosure, the second device may be a device that does not have data acquisition capabilities, such as certain switches, etc., at which time the data of the corresponding port of the second device may be supplemented by the data of the first device that is either connected up or down to the second device. For example, traffic information of a designated port of the second device may be inferred from traffic information of a first device connected to the designated port of the second device. In this way, monitoring data for devices that do not themselves have data acquisition capabilities can be obtained.
According to the embodiment of the disclosure, in the monitoring data uploaded by the access gateway, different devices may acquire the same type of data and may have different values. For example, for the uplink and downlink traffic monitoring data of the terminal, the access gateway, the switch and the AP all collect the monitoring data, and use a preset arbitration policy to select the monitoring data, such as an arbitration policy considered to be more accurate based on the monitoring data of the device closer to the terminal. According to an embodiment of the present disclosure, the preset arbitration policy includes: when the network distance between the fourth device and the monitored object is smaller than that between the fifth device and the monitored object, the reliability of the monitoring data of the fourth device on the monitored object is higher than that of the monitoring data of the fifth device on the monitored object. Network distance refers to the minimum number of edges connected between two nodes in an interconnected network. For example, the network distance between the terminal connected to the AP1 of fig. 2 and the AP1 is 1, the network distance between the terminal and the switch a is 2, and the network distance between the terminal and the access gateway is 3. For example, if a wireless terminal is connected to an AP, the traffic monitoring data of the wireless terminal collected by the AP is preferentially used, if the traffic monitoring data of the wireless terminal is not collected by the AP, the traffic monitoring data of the wireless terminal collected by the switch is used, and if the traffic monitoring data of the wireless terminal is not collected by the switch, the traffic monitoring data of the wireless terminal collected by the access gateway is used. When the AP, the switch and the access gateway all collect the flow monitoring data of the wireless terminal, according to a preset arbitration policy, the reliability of the flow monitoring data of the terminal collected by the AP is considered to be higher than that of the terminal collected by the switch, and the reliability of the flow monitoring data of the terminal collected by the switch is considered to be higher than that of the terminal collected by the access gateway switch. In this way, the integrity and accuracy of the data can be effectively ensured.
And then, the management platform server carries out association calculation on the monitoring data, and besides various single basic indexes are produced, the quality score of the comprehensive network can be calculated to more macroscopically and accurately reflect the overall network quality of the branches. For example, the management platform server determines a quality score for the network based on a weighted sum of the scores of the performance data and/or the scores of the error messages. Determining the score of the performance data according to the comparison result of the performance data and the corresponding performance threshold; and determining the score of the error message according to the type and/or the severity of the error message.
For example, assuming that the performance data is central processing unit usage, and its corresponding performance threshold is 50%, the score for central processing unit usage may be (50% -actual central processing unit usage)/50%. Assuming that the performance data is memory usage and its corresponding performance threshold is 60%, the score for memory usage may be (60% -actual memory usage)/60%. Assuming that the performance data is bandwidth usage and its corresponding performance threshold is 55%, the score for bandwidth usage may be (55% -actual bandwidth usage)/55%. Assuming that the performance data is a packet loss rate, and the corresponding performance threshold is 10%, the score of the packet loss rate may be (10% -actual packet loss rate)/10%. Assuming that the performance data is the signal-to-noise ratio of the terminal device and its corresponding performance threshold is 8db, the signal-to-noise ratio of the terminal device may be scored as (actual signal-to-noise ratio-8)/8.
For log data, the error message may describe the abnormal event, for example, the type and/or severity of the abnormal event, different scores may be given for different types, different severity, or a combination of different types and severity, depending on the degree of impact it has on network quality.
After determining the score of the performance data and the score of the error message, different weights may be assigned to the corresponding performance data and the error message according to their degree of influence on the user, and then a weighted sum of the score of the performance data and the score of the error message is calculated as the quality score of the network. According to the embodiment of the disclosure, the influence degree of each performance data and/or each error message on the user is determined according to the corresponding equipment type of each performance data and/or each error message. For example, the performance data of the switch about the camera affects the live user to a greater extent than the performance data of the switch about the POS machine affects the live user, thus assigning a higher weight to the performance data of the switch about the camera than to the performance data of the switch about the POS machine. As another example, an AP error message with respect to a POS may have a greater impact on a retail user than an AP error message with respect to a camera, and thus the AP error message with respect to the POS may be assigned a higher weight than the AP error message with respect to the camera.
By determining the influence degree of the performance data and/or the error message on the user according to the equipment type corresponding to the performance data and/or the error message, and further distributing corresponding weights to the performance data and/or the error message according to the influence degree, the influence degree of corresponding monitoring data of different equipment types on the user can be considered when calculating the network quality according to different user types, and therefore the network quality score of the user can be calculated more pertinently.
According to the embodiment of the disclosure, the final data subjected to stream calculation and batch calculation are respectively written into a real-time quality database and a quality report database. For example, the quality score of the network is calculated on the monitoring data acquired in real time in a streaming calculation manner, so that the real-time quality score of the network can be obtained, and the monitoring data stored in the database for a period of time is calculated in a batch calculation manner, so that the quality report data of the network can be obtained.
The management platform database can open the data such as monitoring data, real-time quality scores, quality reports and the like to users for inquiring and using as required, and the data can be accessed into the alarm system to inform the users of network anomalies in real time.
Fig. 5 shows a flowchart of a network monitoring method according to an embodiment of the present disclosure.
According to embodiments of the present disclosure, the network monitoring method shown in fig. 5 may be performed by an access gateway of a monitored network.
As shown in fig. 5, a network monitoring method according to an embodiment of the present disclosure includes: acquiring monitoring data of equipment in the network through an access gateway of the network, wherein the equipment in the network comprises the access gateway and other equipment in the network; and sending the monitoring data to a management platform server through the access gateway, wherein the monitoring data is used for determining the quality score of the network by the management platform server, and the quality score reflects the running state of the network.
For example, the access gateway shown in fig. 4 obtains the monitoring data of each switch and each AP in the network and uploads the monitoring data to the cloud end, so that the management platform server of the cloud end determines the quality score of the network according to the monitoring data, and the quality score reflects the running state of the network.
According to embodiments of the present disclosure, other devices in the network include switches and/or wireless access points; the monitoring data includes at least one of: performance data, log data, device type information; the performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment; the log data includes error messages describing abnormal events; the device type information includes a hardware type and/or an operating system type. The determining the quality of the network based on the monitoring data includes: and determining the quality score of the network according to the weighted sum of the score of the performance data and/or the score of the error message, wherein the weight of each performance data and/or the error message is determined according to the influence degree of each performance data and/or the error message on a user, and the influence degree of each performance data and/or the error message on the user is determined according to the equipment type corresponding to each performance data and/or the error message.
According to an embodiment of the disclosure, the acquiring, by the access gateway of the network, monitoring data of the access gateway includes acquiring, by an acquisition probe program disposed on the access gateway, the monitoring data of the access gateway; acquiring monitoring data of other devices in the network through an access gateway of the network, wherein the acquiring of the monitoring data of the other devices is performed through the acquisition probe program according to corresponding network transmission protocols supported by the other devices.
For example, in fig. 4, the access gateway acquires monitoring data of the access gateway through an SNMP protocol, acquires monitoring data of the switch through an SNMP or SSH or TELNET protocol, acquires monitoring data of the AP through an SNMP or SSH or TELNET protocol, and then sends the monitoring data to the cloud.
Fig. 6 shows a flowchart of a network monitoring method according to an embodiment of the present disclosure.
As shown in fig. 6, a network monitoring method includes: receiving monitoring data of devices in the network from an access gateway of the network, the devices in the network including the access gateway and other devices in the network; and determining a quality score of the network based on the monitoring data, wherein the quality score reflects the running state of the network.
According to an embodiment of the present disclosure, the network monitoring method shown in fig. 6 may be performed by a management platform server in the cloud.
According to an embodiment of the present disclosure, the method further comprises processing the monitoring data by one or more of:
Supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
and according to a preset arbitration strategy, the trusted monitoring data in the similar monitoring data are reserved, and the untrusted monitoring data are discarded.
According to an embodiment of the present disclosure, wherein:
other devices in the network include switches and/or wireless access points;
The monitoring data includes at least one of: performance data, log data, device type information;
The performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment;
the log data includes error messages describing abnormal events;
the device type information comprises a hardware type and/or an operating system type;
The determining the quality of the network based on the monitoring data includes: and determining the quality score of the network according to the weighted sum of the scores of the performance data and/or the scores of the error messages, wherein the respective weights of the performance data and/or the error messages are determined according to the influence degree of the respective performance data and/or the respective error messages on a user.
According to an embodiment of the present disclosure, wherein:
Determining the score of the performance data according to the comparison result of the performance data and the corresponding performance threshold;
Determining a score for the error message according to the type and/or severity of the error message;
And determining the influence degree of the performance data and/or the error message on the user according to the performance data and/or the equipment type corresponding to the error message.
For example, the management platform server in fig. 4 receives, from an access gateway of a monitored network, monitoring data of the access gateway and monitoring data of other devices in the network through https protocol, and determines a quality score of the network based on the monitoring data, where the quality score reflects an operation state of the network.
Fig. 7A shows a block diagram of a network monitoring device according to an embodiment of the present disclosure. The apparatus may be implemented as part or all of an electronic device by software, hardware, or a combination of both.
As shown in fig. 7A, the network monitoring apparatus 710 includes an acquisition module 711 and a transmission module 712.
The acquisition module 711 is configured to acquire monitoring data of devices in the network, including the access gateway and other devices in the network, through the access gateway of the network;
the sending module 712 is configured to send the monitoring data to a management platform server through the access gateway, wherein the monitoring data is used by the management platform server to determine a quality score of the network, the quality score reflecting an operational status of the network.
According to embodiments of the present disclosure, other devices in the network include switches and/or wireless access points; the monitoring data includes at least one of: performance data, log data, device type information; the performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment; the log data includes error messages describing abnormal events; the device type information includes a hardware type and/or an operating system type.
According to an embodiment of the disclosure, the acquiring, by the access gateway of the network, monitoring data of the access gateway includes acquiring, by an acquisition probe program disposed on the access gateway, the monitoring data of the access gateway; acquiring monitoring data of other devices in the network through an access gateway of the network, wherein the acquiring of the monitoring data of the other devices is performed through the acquisition probe program according to corresponding network transmission protocols supported by the other devices.
Fig. 7B shows a block diagram of a network monitoring device according to an embodiment of the present disclosure. The apparatus may be implemented as part or all of an electronic device by software, hardware, or a combination of both.
As shown in fig. 7B, the network monitoring device 720 includes a receiving module 721 and a determining module 722.
The receiving module 721 is configured to receive monitoring data of devices in the network from an access gateway of the network, the devices in the network including the access gateway and other devices in the network;
The determination module 722 is configured to determine a quality score for the network based on the monitoring data, the quality score reflecting an operational status of the network.
According to an embodiment of the present disclosure, the apparatus 720 further comprises a processing module 723 configured to process the monitoring data by one or more of:
Supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
and according to a preset arbitration strategy, the trusted monitoring data in the similar monitoring data are reserved, and the untrusted monitoring data are discarded.
According to an embodiment of the present disclosure, wherein:
other devices in the network include switches and/or wireless access points;
The monitoring data includes at least one of: performance data, log data, device type information;
The performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment;
the log data includes error messages describing abnormal events;
the device type information comprises a hardware type and/or an operating system type;
The determining the quality of the network based on the monitoring data includes: and determining the quality score of the network according to the weighted sum of the scores of the performance data and/or the scores of the error messages, wherein the respective weights of the performance data and/or the error messages are determined according to the influence degree of the respective performance data and/or the respective error messages on a user.
According to an embodiment of the present disclosure, wherein:
Determining the score of the performance data according to the comparison result of the performance data and the corresponding performance threshold;
Determining a score for the error message according to the type and/or severity of the error message;
And determining the influence degree of the performance data and/or the error message on the user according to the performance data and/or the equipment type corresponding to the error message.
The present disclosure also discloses an electronic device, and fig. 8 shows a block diagram of the electronic device according to an embodiment of the present disclosure.
As shown in fig. 8, the electronic device 800 includes a memory 801 and a processor 802, wherein the memory 801 is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 802 to implement a method according to embodiments of the present disclosure. According to an embodiment of the disclosure, the electronic device may be a cloud server, the memory may be a cloud storage device, and the processor may be a logical processor implemented in the cloud.
The embodiment of the disclosure provides a network monitoring method, which comprises the following steps:
Acquiring monitoring data of equipment in the network through an access gateway of the network, wherein the equipment in the network comprises the access gateway and other equipment in the network;
and sending the monitoring data to a management platform server through the access gateway, wherein the monitoring data is used for determining the quality score of the network by the management platform server, and the quality score reflects the running state of the network.
According to an embodiment of the present disclosure, wherein:
The acquiring, by the access gateway of the network, monitoring data of devices in the network includes:
Acquiring monitoring data of the access gateway through an acquisition probe program arranged on the access gateway;
And acquiring monitoring data of the other equipment according to the corresponding network transmission protocol supported by the other equipment through the acquisition probe program.
In a third aspect, an embodiment of the present disclosure provides a network monitoring method, including:
Receiving monitoring data of devices in the network from an access gateway of the network, the devices in the network including the access gateway and other devices in the network;
and determining a quality score of the network based on the monitoring data, wherein the quality score reflects the running state of the network.
According to an embodiment of the present disclosure, the method further comprises processing the monitoring data by one or more of:
Supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
and according to a preset arbitration strategy, the trusted monitoring data in the similar monitoring data are reserved, and the untrusted monitoring data are discarded.
According to an embodiment of the present disclosure, wherein:
other devices in the network include switches and/or wireless access points;
The monitoring data includes at least one of: performance data, log data, device type information;
The performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment;
the log data includes error messages describing abnormal events;
the device type information comprises a hardware type and/or an operating system type;
The determining the quality of the network based on the monitoring data includes: and determining the quality score of the network according to the weighted sum of the scores of the performance data and/or the scores of the error messages, wherein the respective weights of the performance data and/or the error messages are determined according to the influence degree of the respective performance data and/or the respective error messages on a user.
According to an embodiment of the present disclosure, wherein:
Determining the score of the performance data according to the comparison result of the performance data and the corresponding performance threshold;
Determining a score for the error message according to the type and/or severity of the error message;
And determining the influence degree of the performance data and/or the error message on the user according to the performance data and/or the equipment type corresponding to the error message.
Fig. 9 shows a schematic diagram of a computer system suitable for use in implementing methods according to embodiments of the present disclosure.
As shown in fig. 9, the computer system 900 includes a processing unit 901 which can execute various processes in the above-described embodiments in accordance with a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the computer system 900 are also stored. The processing unit 901, the ROM 902, and the RAM 903 are connected to each other by a bus 904. An input/output (I/O) interface 905 is also connected to the bus 904.
The following components are connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output portion 907 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 908 including a hard disk or the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed into the storage section 908 as needed. The processing unit 901 may be implemented as a processing unit CPU, GPU, TPU, FPGA, NPU or the like.
In particular, according to embodiments of the present disclosure, the methods described above may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising computer instructions which, when executed by a processor, implement the method steps described above. In such an embodiment, the computer program product may be downloaded and installed from the network via the communication portion 909 and/or installed from the removable medium 911.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules referred to in the embodiments of the present disclosure may be implemented in software or in programmable hardware. The units or modules described may also be provided in a processor, the names of which in some cases do not constitute a limitation of the unit or module itself.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or the computer system in the above-described embodiments; or may be a computer-readable storage medium, alone, that is not assembled into a device. The computer-readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention referred to in this disclosure is not limited to the specific combination of features described above, but encompasses other embodiments in which any combination of features described above or their equivalents is contemplated without departing from the inventive concepts described. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (10)

1. A network monitoring method, comprising:
Acquiring monitoring data of equipment in the network through an acquisition probe program on an access gateway of the network, wherein the equipment in the network comprises the access gateway and other equipment in the network; other devices in the network include switches and/or wireless access points;
The monitoring data is sent to a management platform server through the access gateway;
Determining, by the management platform server, a quality score of the network based on the monitoring data, the quality score reflecting an operational state of the network, the quality being associated with a degree of impact of the monitoring data on a user, the degree of impact being associated with a device type;
the management platform server further includes processing the monitoring data by one or more of:
Supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
According to a preset arbitration policy, the trusted monitoring data in the similar monitoring data are reserved, and the untrusted monitoring data are discarded;
The method for supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to the management platform server comprises the following steps:
According to the monitoring data of the first equipment, equipment type information of third equipment connected with the second equipment is determined, and the equipment type information of the third equipment is associated with corresponding monitoring data of the second equipment; and/or determining interface flow information of the second device according to the interface flow information of the first device;
The preset arbitration policy includes: when the network distance between the fourth device and the monitored object is smaller than that between the fifth device and the monitored object, the reliability of the monitoring data of the fourth device on the monitored object is higher than that of the monitoring data of the fifth device on the monitored object.
2. The method according to claim 1, wherein:
The monitoring data includes at least one of: performance data, log data, device type information;
The performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment;
the log data includes error messages describing abnormal events;
The device type information includes a hardware type and/or an operating system type.
3. The method of claim 2, wherein the determining a quality score for the network based on the monitoring data comprises:
And determining the quality score of the network according to the weighted sum of the scores of the performance data and/or the scores of the error messages, wherein the respective weights of the performance data and/or the error messages are determined according to the influence degree of the respective performance data and/or the respective error messages on a user.
4. A method according to claim 3, wherein:
Determining the score of the performance data according to the comparison result of the performance data and the corresponding performance threshold;
Determining a score for the error message according to the type and/or severity of the error message;
And determining the influence degree of the performance data and/or the error message on the user according to the performance data and/or the equipment type corresponding to the error message.
5. The method according to claim 1, wherein:
the acquiring, by the acquisition probe program on the access gateway of the network, monitoring data of devices in the network includes:
Acquiring monitoring data of the access gateway through an acquisition probe program arranged on the access gateway;
And acquiring monitoring data of the other equipment according to the corresponding network transmission protocol supported by the other equipment through the acquisition probe program.
6. A network monitoring method, comprising:
receiving monitoring data of devices in the network from an access gateway of the network, wherein the devices in the network comprise the access gateway and other devices in the network, and the monitoring data are acquired through an acquisition probe program on the access gateway; other devices in the network include switches and/or wireless access points;
Determining a quality score of the network based on the monitoring data, the quality score reflecting an operating state of the network, the quality being associated with a degree of impact of the monitoring data on a user, the degree of impact being associated with a device type;
Further comprising processing the monitoring data by one or more of:
Supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to a management platform server;
According to a preset arbitration policy, the trusted monitoring data in the similar monitoring data are reserved, and the untrusted monitoring data are discarded;
The method for supplementing missing monitoring data of a second device connected with a first device in the network according to the monitoring data of the first device in the network sent to a management platform server comprises the following steps:
According to the monitoring data of the first equipment, equipment type information of third equipment connected with the second equipment is determined, and the equipment type information of the third equipment is associated with corresponding monitoring data of the second equipment; and/or determining interface flow information of the second device according to the interface flow information of the first device;
The preset arbitration policy includes: when the network distance between the fourth device and the monitored object is smaller than that between the fifth device and the monitored object, the reliability of the monitoring data of the fourth device on the monitored object is higher than that of the monitoring data of the fifth device on the monitored object.
7. The method according to claim 6, wherein:
The monitoring data includes at least one of: performance data, log data, device type information;
The performance data is one or more of the following: the central processing unit utilization rate, the memory utilization rate, the bandwidth utilization rate, the packet loss rate and the signal-to-noise ratio of the terminal equipment;
the log data includes error messages describing abnormal events;
the device type information comprises a hardware type and/or an operating system type;
The determining the quality of the network based on the monitoring data includes: and determining the quality score of the network according to the weighted sum of the scores of the performance data and/or the scores of the error messages, wherein the respective weights of the performance data and/or the error messages are determined according to the influence degree of the respective performance data and/or the respective error messages on a user.
8. The method of claim 7, wherein:
Determining the score of the performance data according to the comparison result of the performance data and the corresponding performance threshold;
Determining a score for the error message according to the type and/or severity of the error message;
And determining the influence degree of the performance data and/or the error message on the user according to the performance data and/or the equipment type corresponding to the error message.
9. An electronic device includes a memory and a processor; wherein the memory is for storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 6-8.
10. A computer program product comprising computer instructions which, when executed by a processor, implement the method steps of any of claims 6-8.
CN202210708535.9A 2022-06-21 Network monitoring method, device, electronic equipment, medium and program product Active CN115118619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210708535.9A CN115118619B (en) 2022-06-21 Network monitoring method, device, electronic equipment, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210708535.9A CN115118619B (en) 2022-06-21 Network monitoring method, device, electronic equipment, medium and program product

Publications (2)

Publication Number Publication Date
CN115118619A CN115118619A (en) 2022-09-27
CN115118619B true CN115118619B (en) 2024-11-12

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641674A (en) * 2020-04-24 2020-09-08 国网河北省电力有限公司雄安新区供电公司 Underground piping lane control wireless communication system
CN114253799A (en) * 2021-12-02 2022-03-29 中国联合网络通信集团有限公司 Fault processing system, method, server and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641674A (en) * 2020-04-24 2020-09-08 国网河北省电力有限公司雄安新区供电公司 Underground piping lane control wireless communication system
CN114253799A (en) * 2021-12-02 2022-03-29 中国联合网络通信集团有限公司 Fault processing system, method, server and readable storage medium

Similar Documents

Publication Publication Date Title
WO2018126645A1 (en) Communication network management method and apparatus therefor
US9065728B2 (en) Failure analysis device, and system and method for same
CN110659109B (en) System and method for monitoring openstack virtual machine
JP6078893B2 (en) Pan-tilt-zoom device identification method, pan-tilt-zoom device, camera, and pan-tilt-zoom device control system
US11659449B2 (en) Machine learning-based network analytics, troubleshoot, and self-healing holistic telemetry system incorporating modem-embedded machine analysis of multi-protocol stacks
CN104067599A (en) Network state monitoring system
CN113364624B (en) Mixed cloud flow acquisition method and system based on edge computing
KR20200014255A (en) Network failure monitoring server and operating method thereof
CN113079367A (en) State detection method and device for monitoring equipment
KR20220029142A (en) Sdn controller server and method for analysing sdn based network traffic usage thereof
JP7220231B2 (en) network diagnostics
CN115118619B (en) Network monitoring method, device, electronic equipment, medium and program product
CN115396529A (en) Multichannel communication method, device, terminal equipment and storage medium
CN110427297A (en) Diagnostic message acquisition methods, system and gateway and computer-readable medium
US7920560B2 (en) Method for detecting topology of computer systems
EP4285231A1 (en) System and method for network and computation performance probing for edge computing
CN112888007B (en) Method, device and storage medium for diagnosing offline reasons of device
CN117675871B (en) IPv6 network-based multi-channel water conservancy intelligent interaction front-end networking method and system based on Beidou No. three
CN117424638B (en) Network slice management method, device and storage medium based on satellite-ground fusion
CN113676723A (en) Non-homologous network video monitoring fault positioning method and device based on Internet of things
CN115118619A (en) Network monitoring method, network monitoring device, electronic device, network monitoring medium, and program product
CN117478582A (en) Oil field production equipment state monitoring and optimizing method based on intelligent link management system
CN114697319B (en) Tenant service management method and device for public cloud
CN116582465A (en) Link monitoring method, medium, device and computing equipment
US20210160310A1 (en) Link quality measurements and link status detection

Legal Events

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