Network monitoring method, device, electronic equipment, medium and program product
Through the access gateway, the monitoring data of network equipment is uploaded to the management platform, and the network status is reflected based on the quality segment, which solves the problems of management complexity and equipment performance impact in the prior art, and achieves unified monitoring and accurate perception of network quality.
Patent Information
- Application Number
- CN202210708535.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-21
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-06-21
AI Technical Summary
In the prior art, in the headquarters-branch network structure, the monitoring method of the branch network requires users to manage each device between different management platforms, resulting in high learning costs and large performance overhead on the device side, which makes it impossible to accurately perceive the quality of the entire network.
The monitoring data of network equipment is obtained through the access gateway and uploaded to the management platform server. The quality score of the network is determined based on the monitoring data. The preset arbitration strategy is used to supplement and filter the data to reduce the impact on the equipment performance and provide unified monitoring capabilities.
It reduces the cost of users learning network management, reduces the impact of device-side performance, and can perceive the quality of the entire network more macro and accurately.
Smart Images

Figure CN115118619B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of network monitoring, and in particular to a network monitoring method, device, electronic device, medium and program product. Background Art
[0002] In the headquarters-branch network structure, the headquarters network can be connected to one or more branch networks through a virtual private network (VPN). The headquarters network or branch network can access the cloud server through VPN, and can also access the public network separately. In order to achieve stable operation of the branch network, it is usually necessary to monitor the operation status of the branch network so as to detect and handle abnormalities in operation in a timely manner. Summary of the invention
[0003] In order to solve the problems in the related art, the embodiments of the present disclosure provide a network monitoring method, device, electronic device, medium and program product.
[0004] In a first aspect, an embodiment of the present disclosure provides a network monitoring method, including:
[0005] Acquiring monitoring data of devices in the network through an access gateway of the network, where the devices in the network include the access gateway and other devices in the network;
[0006] Sending the monitoring data to the management platform server through the access gateway;
[0007] The management platform server determines a quality score of the network based on the monitoring data, wherein the quality score reflects an operating status of the network.
[0008] According to an embodiment of the present disclosure, the method further includes processing the monitoring data by one or more of the following operations:
[0009] Supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
[0010] According to the preset arbitration strategy, the credible monitoring data among the same type of monitoring data is retained, and the untrustworthy monitoring data is discarded.
[0011] According to an embodiment of the present disclosure, wherein:
[0012] The method of supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server includes:
[0013] Determine, based on the monitoring data of the first device, device type information of a third device connected to the second device, and associate the device type information of the third device with the corresponding monitoring data of the second device; and / or determine, based on the interface traffic information of the first device, the interface traffic information of the second device;
[0014] The preset arbitration strategy includes: when the network distance between the fourth device and the monitored object is smaller than the network distance between the fifth device and the monitored object, the monitoring data of the fourth device on the monitored object is more credible than the monitoring data of the fifth device on the monitored object.
[0015] According to an embodiment of the present disclosure, wherein:
[0016] Other devices in the network include switches and / or wireless access points;
[0017] The monitoring data includes at least one of the following: performance data, log data, and device type information;
[0018] The performance data is one or more of the following: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, and signal-to-noise ratio of the terminal device;
[0019] The log data includes an error message, wherein the error message is used to describe an abnormal event;
[0020] The device type information includes hardware type and / or operating system type.
[0021] According to an embodiment of the present disclosure, the determining the quality score of the network based on the monitoring data includes:
[0022] The quality score of the network is determined based on a weighted sum of the scores of the performance data and / or the scores of the error messages, wherein the weights of the performance data and / or the error messages are determined based on the degree of impact of each of the performance data and / or the error messages on the user.
[0023] According to an embodiment of the present disclosure, wherein:
[0024] Determining a score for the performance data according to a comparison result between the performance data and a corresponding performance threshold;
[0025] Determining a score for the error message according to the type and / or severity of the error message;
[0026] The degree of impact of the performance data and / or the error message on the user is determined according to the device type to which the performance data and / or the error message respectively correspond.
[0027] In a second aspect, an embodiment of the present disclosure provides a network monitoring method, including:
[0028] Acquiring monitoring data of devices in the network through an access gateway of the network, where the devices in the network include the access gateway and other devices in the network;
[0029] The monitoring data is sent 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, and the quality score reflects an operating status of the network.
[0030] According to an embodiment of the present disclosure, wherein:
[0031] The acquiring the monitoring data of the device in the network through the access gateway of the network includes:
[0032] Acquiring monitoring data of the access gateway through a collection probe program set on the access gateway;
[0033] The monitoring data of the other devices are acquired through the acquisition probe program according to the corresponding network transmission protocol supported by the other devices.
[0034] In a third aspect, an embodiment of the present disclosure provides a network monitoring method, including:
[0035] receiving monitoring data of devices in the network from an access gateway of the network, wherein the devices in the network include the access gateway and other devices in the network;
[0036] A quality score of the network is determined based on the monitoring data, wherein the quality score reflects an operating status of the network.
[0037] According to an embodiment of the present disclosure, the method further includes processing the monitoring data by one or more of the following operations:
[0038] Supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
[0039] According to the preset arbitration strategy, the credible monitoring data among the same type of monitoring data is retained, and the untrustworthy monitoring data is discarded.
[0040] According to an embodiment of the present disclosure, wherein:
[0041] Other devices in the network include switches and / or wireless access points;
[0042] The monitoring data includes at least one of the following: performance data, log data, and device type information;
[0043] The performance data is one or more of the following: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, and signal-to-noise ratio of the terminal device;
[0044] The log data includes an error message, wherein the error message is used to describe an abnormal event;
[0045] The device type information includes hardware type and / or operating system type;
[0046] Determining the quality score of the network based on the monitoring data includes: determining the quality score of the network according to a weighted sum of the scores of the performance data and / or the scores of the error messages, wherein the weights of the performance data and / or the error messages are determined according to the degree of impact of each of the performance data and / or the error messages on the user.
[0047] According to an embodiment of the present disclosure, wherein:
[0048] Determining a score for the performance data according to a comparison result between the performance data and a corresponding performance threshold;
[0049] Determining a score for the error message according to the type and / or severity of the error message;
[0050] The degree of impact of the performance data and / or the error message on the user is determined according to the device type to which the performance data and / or the error message respectively correspond.
[0051] In a fourth aspect, an embodiment of the present disclosure provides a network monitoring device, including:
[0052] an acquisition module, configured to acquire monitoring data of devices in the network through an access gateway of the network, wherein the devices in the network include the access gateway and other devices in the network;
[0053] The sending module is configured to send the monitoring data to the management platform server through the access gateway, wherein the monitoring data is used by the management platform server to determine the quality score of the network, and the quality score reflects the operating status of the network.
[0054] In a fifth aspect, an embodiment of the present disclosure provides a network monitoring device, including:
[0055] A receiving module, configured to receive monitoring data of devices in the network from an access gateway of the network, where the devices in the network include the access gateway and other devices in the network;
[0056] The determination module is configured to determine a quality score of the network based on the monitoring data, wherein the quality score reflects an operating status of the network.
[0057] According to an embodiment of the present disclosure, the device further includes a processing module configured to process the monitoring data through one or more of the following operations:
[0058] Supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
[0059] According to the preset arbitration strategy, the credible monitoring data among the same type of monitoring data is retained, and the untrustworthy monitoring data is discarded.
[0060] In a sixth aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer instructions, and wherein the one or more computer instructions are executed by the processor to implement a method as described in any one of the second and third aspects.
[0061] In a seventh aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the methods described in the second and third aspects are implemented.
[0062] In an eighth aspect, a computer program product is provided in an embodiment of the present disclosure, comprising computer instructions, which, when executed by a processor, implement the method steps described in the second and third aspects.
[0063] According to the technical solution provided by the embodiment of the present disclosure, the monitoring data of the access gateway and the monitoring data of other devices in the network are obtained through the access gateway of the monitored network and uploaded to the management platform server, thereby reducing the impact on the performance of the services provided by other devices in the monitored network. At the same time, a unified monitoring capability can be provided to users through the cloud management platform, thereby reducing the cost of users learning network management. In addition, by collecting the monitoring data of the access gateway and other devices in the network and 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.
[0064] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:
[0066] Figure 1 A schematic diagram of a headquarters-branch type networking structure according to an embodiment of the present disclosure is shown.
[0067] Figure 2 A schematic diagram of a branch network structure according to an embodiment of the present disclosure is shown.
[0068] Figure 3 A flow chart of a network monitoring method according to an embodiment of the present disclosure is shown.
[0069] Figure 4 A system block diagram of a network monitoring method according to an embodiment of the present disclosure is shown.
[0070] Figure 5 A flow chart of a network monitoring method according to an embodiment of the present disclosure is shown.
[0071] Figure 6 A flow chart of a network monitoring method according to an embodiment of the present disclosure is shown.
[0072] Fig. 7A A structural block diagram of a network monitoring device according to an embodiment of the present disclosure is shown.
[0073] Figure 7B A structural block diagram of a network monitoring device according to an embodiment of the present disclosure is shown.
[0074] Figure 8 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0075] Fig. 9 A schematic diagram showing the structure of a computer system suitable for implementing the method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0076] 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, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0077] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.
[0078] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0079] In the present disclosure, the acquisition of user information or user data is an operation authorized and confirmed by the user, or actively selected by the user.
[0080] As mentioned above, in the headquarters-branch networking structure, the headquarters central network can be connected to one or more branch networks through a virtual private network (VPN). In order to achieve stable operation of the branch network, it is usually necessary to monitor the operation status of the branch network so as to promptly detect and handle abnormalities in operation.
[0081] Figure 1 A schematic diagram of a headquarters-branch type networking structure according to an embodiment of the present disclosure is shown.
[0082] like Figure 1 As shown, branch network 1, branch network 2, ... branch network n are connected to the headquarters central network through VPN1, VPN2, ... VPNn respectively and communicate with the headquarters central network. In order to achieve stable operation of the branch networks, it is usually necessary to monitor the operation status of the branch networks so as to promptly discover and handle abnormalities in operation.
[0083] In order to monitor the operation status of the branch network, it is necessary to monitor each device in the branch network. The devices in the branch network usually include access gateways, switches, wireless access points (APs), etc. Among them, other devices in the branch network are connected to the external network, such as the headquarters center network, through the access gateway.
[0084] Access gateway refers to a gateway device used to connect local networks and external networks at the edge of the network. A switch is a type of network hardware that receives and forwards data through message exchange and can connect different devices on a computer network. A wireless AP is a wireless switch used in wireless networks and is also the core of wireless networks. A wireless AP is an access point for mobile computer users to connect to a wired network. It can be used in broadband homes, inside buildings, and inside campuses, and can cover an area of tens to hundreds of meters.
[0085] Figure 2 A schematic diagram of a branch network structure according to an embodiment of the present disclosure is shown.
[0086] like Figure 2 As shown, in the branch 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. Wireless devices can communicate with APs, and then communicate with external networks through switches and access gateways. In addition to being connected to APs, switches can also be connected to one or more devices, such as personal computers, servers, and the like.
[0087] An existing branch network monitoring method is to provide an independent management platform for each device in the branch network. Each device collects and calculates its own monitoring data and uploads it to the corresponding management platform to generate monitoring device indicators and abnormal logs. The disadvantage of this method is that users need to manage and monitor different devices on different management platforms and need to learn how to use each management platform. The learning and management costs are high, and the calculation is performed on the device side. The performance overhead on the device side is large, which affects the core network forwarding performance of the device itself. In addition, the monitoring indicators and logs can only monitor the situation of a single device itself, and cannot accurately perceive the quality of the entire branch network, allowing users to intuitively grasp the operating status of the entire branch network.
[0088] An embodiment of the present disclosure provides a network monitoring method, comprising: obtaining monitoring data of devices in the network through an access gateway of the network, wherein the devices in the network include the access gateway and other devices in the network; sending the monitoring data to a management platform server through the access gateway; and determining a quality score of the network based on the monitoring data through the management platform server, wherein the quality score reflects the operating status of the network.
[0089] According to the 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 headquarters network that accesses the public network through an access gateway, or a local area network that accesses a cloud server through a VPN through an access gateway, etc. By collecting monitoring data of access gateways and other devices in the network and 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.
[0090] Figure 3 FIG. 1 is a flow chart showing a network monitoring method according to an embodiment of the present disclosure. Figure 3 As shown, the network monitoring method includes the following steps S201-S203:
[0091] In step S201, monitoring data of devices in the network are obtained through an access gateway of the network, where the devices in the network include the access gateway and other devices in the network;
[0092] In step S202, the monitoring data is sent to the management platform server through the access gateway;
[0093] In step S203, the management platform server determines the quality score of the network based on the monitoring data, where the quality score reflects the operating status of the network.
[0094] According to the embodiments of the present disclosure, the monitoring data of the access gateway and the monitoring data of other devices in the network are obtained through the access gateway of the monitored network and uploaded to the management platform server, thereby reducing the impact on the performance of the services provided by other devices in the monitored network. At the same time, the cloud-based management platform can provide users with unified monitoring capabilities, thereby reducing the cost of learning network management for users. In addition, by collecting the monitoring data of the access gateway and other devices in the network and 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.
[0095] Figure 4 A system block diagram of a network monitoring method according to an embodiment of the present disclosure is shown.
[0096] Figure 4 The monitored network shown (hereinafter referred to as "network") may be a branch network or any local area network or wide area network connected to an external network (eg, the Internet or a headquarters network) via an access gateway.
[0097] exist Figure 4 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 switch.
[0098] Collection probes can be deployed on the access gateway. The collection probes collect various monitoring data on the access gateway through the SNMP protocol. Depending on the switch and AP manufacturers and models, different protocols such as SNMP, SSH or TELNET are used to collect various monitoring data on the switch and AP.
[0099] According to an embodiment of the present disclosure, the acquisition probe may be implemented in the form of software, hardware or firmware.
[0100] According to an embodiment of the present disclosure, the monitoring data includes at least one of the following: performance data, log data, and device type information, wherein the performance data includes one or more of the following data: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, signal-to-noise ratio of the terminal device, etc.; the log data includes error messages, etc., and the error messages are used to describe abnormal events; the device type information includes hardware type and / or operating system type.
[0101] SNMP refers to the Simple Network Management Protocol, which can support network management systems and can be used to obtain monitoring data of network devices, including any one or more of the following: routers, switches, servers, printers, and other devices that provide services over the network.
[0102] SSH stands for Secure Shell, an encrypted network transmission protocol that provides a secure transmission environment for network services in an insecure network. SSH establishes a secure tunnel in the network to connect the SSH client and the server. The most common use of SSH is to log in to the system remotely. SSH can usually be used to transmit the command line interface and remotely execute commands.
[0103] Telnet is the standard protocol and main method of Internet remote login service, which provides users with the ability to complete remote host work on the local computer.
[0104] The collection probe connected to the gateway compresses and packages the monitoring data collected from itself and various devices, and uploads it to the cloud database through the https protocol.
[0105] The management platform server implemented in the cloud uses a streaming computing method for monitoring data with high real-time requirements (for example, real-time quality classification data), and a batch computing method for reporting data with low real-time requirements (for example, quality classification report data). According to an embodiment of the present disclosure, streaming computing is a real-time calculation and processing of data streams. Batch computing is a data computing method for batch processing of data.
[0106] According to an embodiment of the present disclosure, the cloud can also store network metadata of each network, such as network name, geographic location, etc., so that the management platform server can obtain these metadata locally when generating real-time quality data and quality report data.
[0107] According to an embodiment of the present disclosure, when the management platform server processes the monitoring data, it first parses and cleans the monitoring data uploaded by the access gateway, filters out some incomplete or obviously erroneous dirty data, formats the monitoring data according to the specified data format, and outputs the formatted data in a standard format.
[0108] Then, the management platform server supplements and / or arbitrates the data. Specifically, the missing monitoring data of the second device connected to the first device in the network can be supplemented based on the monitoring data of the first device in the network sent to the management platform server; and / or the trusted monitoring data in the same type of monitoring data can be retained and the untrusted monitoring data can be discarded according to a preset arbitration strategy. According to an embodiment of the present disclosure, the second device can be any device in the monitored network that needs to supplement monitoring data.
[0109] According to an embodiment of the present disclosure, the method of supplementing the missing monitoring data of the second device connected to the first device in the network based on the monitoring data of the first device in the network sent to the management platform server includes: determining the device type information of the third device connected to the second device based on the monitoring data of the first device, and associating the device type information of the third device with the corresponding monitoring data of the second device; and / or determining the interface traffic information of the second device based on the interface traffic information of the first device.
[0110] For example, the first device may be an access gateway, the second device may be a switch or AP, and the third device may be a terminal device connected to the second device. APs and switches can only monitor and obtain the media access control (MAC) address, Internet Protocol (IP) address, network speed, traffic and other data of the terminal device, while the access gateway can obtain terminal type information through traffic analysis, such as the hardware type of the terminal (POS machine, smart home appliance, camera, tablet computer, mobile phone, etc.), and / or the operating system type of the terminal (IOS system or Android system). After determining the type of the third device, the third device type can be associated with the corresponding monitoring data of the second device, for example, the network speed of the designated port of the second device is associated with the type of the third device connected to the port. According to the type of the third device and the service used by the terminal user, the degree of influence of the corresponding monitoring data of the second device on the user can be determined. For example, assuming that the terminal user is using a live broadcast service, the monitoring data of the second device on the mobile phone or tablet computer has a greater impact on the user than the monitoring data of the second device on the POS machine.
[0111] 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, the access gateway, switch, and AP will all collect terminal-related data, but the access gateway and switch cannot collect data such as the signal-to-noise ratio of the wireless terminal, while the AP can collect data such as the signal-to-noise ratio of the wireless terminal. Therefore, the signal-to-noise ratio data of the wireless terminal of the access gateway and switch can be supplemented based on the monitoring data of the AP. In this case, the first device is the AP, and the second device is the access gateway or switch.
[0112] According to the embodiments of the present disclosure, the second device may be a device without data collection capability, such as some switches, etc. In this case, the data of the corresponding port of the second device may be supplemented by the data of the first device connected to or from the second device. For example, the flow information of the designated port of the second device may be inferred by the flow information of the first device connected to the designated port of the second device. In this way, the monitoring data of the device that does not have data collection capability itself may be obtained.
[0113] According to an embodiment of the present disclosure, in the monitoring data uploaded by the access gateway, different devices may have different values for the same type of data collected. For example, for the monitoring data of the terminal's uplink and downlink traffic, the access gateway, switch, and AP will all collect it, and use a preset arbitration strategy to select the monitoring data, such as an arbitration strategy that believes that the monitoring data of the device closer to the terminal is more accurate. According to an embodiment of the present disclosure, the preset arbitration strategy includes: when the network distance between the fourth device and the monitored object is less than the network distance between the fifth device and the monitored object, the credibility of the monitoring data of the fourth device on the monitored object is higher than the monitoring data of the fifth device on the monitored object. Network distance refers to the minimum number of edges connecting two nodes in an interconnected network. For example, connected to Figure 2 The network distance between the terminal of AP1 and AP1 is 1, the network distance between the terminal and switch A is 2, and the network distance between the terminal and the access gateway is 3. For example, when a wireless terminal is connected to an AP, the traffic monitoring data of the wireless terminal collected by the AP is used first. If the AP does not collect the traffic monitoring data of the wireless terminal, the traffic monitoring data of the wireless terminal collected by the switch is used. If the switch does not collect the traffic monitoring data of the wireless terminal, 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 traffic monitoring data of the wireless terminal, according to the preset arbitration strategy, it is considered that the credibility of the traffic monitoring data of the terminal collected by the AP is higher than the traffic monitoring data of the terminal collected by the switch, and the credibility of the traffic monitoring data of the terminal collected by the switch is higher than the traffic monitoring data of the terminal collected by the access gateway switch. In this way, the integrity and accuracy of the data can be effectively guaranteed.
[0114] Next, the management platform server performs correlation calculations on the monitoring data. In addition to producing various single basic indicators, it can also calculate the quality score of the comprehensive network to more macroscopically and accurately reflect the overall network quality of the branch. For example, the management platform server determines the quality score of the network based on the weighted sum of the score of the performance data and / or the score of the error message. The score of the performance data is determined based on the comparison result of the performance data with the corresponding performance threshold; the score of the error message is determined based on the type and / or severity of the error message.
[0115] For example, assuming that the performance data is the central processing unit utilization rate, and its corresponding performance threshold is 50%, the score of the central processing unit utilization rate can be (50%-actual central processing unit utilization rate) / 50%. Assuming that the performance data is the memory utilization rate, and its corresponding performance threshold is 60%, the score of the memory utilization rate can be (60%-actual memory utilization rate) / 60%. Assuming that the performance data is the bandwidth utilization rate, and its corresponding performance threshold is 55%, the score of the bandwidth utilization rate can be (55%-actual bandwidth utilization rate) / 55%. Assuming that the performance data is the packet loss rate, and its corresponding performance threshold is 10%, the score of the packet loss rate can 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 score of the signal-to-noise ratio of the terminal device can be (actual signal-to-noise ratio-8) / 8.
[0116] For log data, its error message may describe the abnormal event, such as describing the type and / or severity of the abnormal event. Different types, different severities, or a combination of different types and severities may be given different scores according to their impact on network quality.
[0117] After determining the scores of the performance data and the scores of the error messages, different weights can be assigned to the corresponding performance data and error messages according to their impact on the user, and then the weighted sum of the scores of the performance data and the error messages is calculated as the quality score of the network. According to an embodiment of the present disclosure, the impact of the performance data and / or the error messages on the user is determined according to the device type to which the performance data and / or the error messages correspond. For example, the impact of the switch's performance data on the camera on the live broadcast user is greater than the impact of the switch's performance data on the POS machine on the live broadcast user, so the switch's performance data on the camera is assigned a higher weight than the switch's performance data on the POS machine. For another example, the impact of the AP's error message on the POS machine on the retail user is greater than the impact of the AP's error message on the camera on the retail user, so the AP's error message on the POS machine is assigned a higher weight than the AP's error message on the camera.
[0118] By determining the degree of impact of the performance data and / or the error message on the user according to the device type to which the performance data and / or the error message respectively correspond, and then assigning corresponding weights to the performance data and / or the error message according to the degree of impact, the degree of impact of the corresponding monitoring data of different device types on the user can be considered when calculating the network quality score for different user types, thereby calculating the user's network quality score in a more targeted manner.
[0119] According to the embodiments of the present disclosure, the final data after stream computing and batch computing are written into the real-time quality database and the quality report database respectively. For example, the quality score of the network can be calculated by streaming computing for the real-time acquired monitoring data, and the real-time quality score of the network can be obtained. The monitoring data stored in the database for a period of time can be calculated by batch computing to obtain the quality report data of the network.
[0120] The management platform database can make monitoring data, real-time quality scores, quality reports and other data available to users for query and use on demand. These data can be connected to the alarm system to notify users of network anomalies in real time.
[0121] Figure 5 A flow chart of a network monitoring method according to an embodiment of the present disclosure is shown.
[0122] According to an embodiment of the present disclosure, Figure 5 The network monitoring method shown may be executed by an access gateway of the monitored network.
[0123] like Figure 5 As shown, the network monitoring method according to an embodiment of the present disclosure includes: acquiring monitoring data of devices in the network through an access gateway of the network, wherein the devices in the network include the access gateway and other devices in the network; sending 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, and the quality score reflects the operating status of the network.
[0124] For example, Figure 4 The access gateway shown obtains monitoring data of itself and each switch and AP in the network, and uploads it to the cloud, so that the management platform server in the cloud determines the quality score of the network based on the monitoring data, and the quality score reflects the operating status of the network.
[0125] According to an embodiment of the present disclosure, other devices in the network include switches and / or wireless access points; the monitoring data includes at least one of the following: performance data, log data, device type information; the performance data includes one or more of the following data: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, signal-to-noise ratio of terminal devices; the log data includes error messages, and the error messages are used to describe abnormal events; the device type information includes hardware type and / or operating system type. Determining the quality score of the network based on the monitoring data includes: 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 weights of the performance data and / or the error messages are determined according to the degree of influence of the performance data and / or the error messages on the user, and the degree of influence of the performance data and / or the error messages on the user is determined according to the device types to which the performance data and / or the error messages correspond.
[0126] According to an embodiment of the present disclosure, obtaining the monitoring data of the access gateway through the access gateway of the network includes obtaining the monitoring data of the access gateway through a collection probe program set on the access gateway; obtaining the monitoring data of other devices in the network through the access gateway of the network includes obtaining the monitoring data of the other devices through the collection probe program according to the corresponding network transmission protocols supported by the other devices.
[0127] For example, Figure 4 The access gateway obtains the monitoring data of the access gateway through the collection probe set in the access gateway through the SNMP protocol, obtains the monitoring data of the switch through the SNMP or SSH or TELNET protocol, obtains the monitoring data of the AP through the SNMP or SSH or TELNET protocol, and then sends the monitoring data to the cloud.
[0128] Figure 6 A flow chart of a network monitoring method according to an embodiment of the present disclosure is shown.
[0129] like Figure 6 As shown, 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; determining a quality score of the network based on the monitoring data, the quality score reflecting the operating status of the network.
[0130] According to an embodiment of the present disclosure, Figure 6 The network monitoring method shown can be executed by a management platform server in the cloud.
[0131] According to an embodiment of the present disclosure, the method further includes processing the monitoring data by one or more of the following operations:
[0132] Supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
[0133] According to the preset arbitration strategy, the credible monitoring data among the same type of monitoring data is retained, and the untrustworthy monitoring data is discarded.
[0134] According to an embodiment of the present disclosure, wherein:
[0135] Other devices in the network include switches and / or wireless access points;
[0136] The monitoring data includes at least one of the following: performance data, log data, and device type information;
[0137] The performance data is one or more of the following: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, and signal-to-noise ratio of the terminal device;
[0138] The log data includes an error message, wherein the error message is used to describe an abnormal event;
[0139] The device type information includes hardware type and / or operating system type;
[0140] Determining the quality score of the network based on the monitoring data includes: determining the quality score of the network according to a weighted sum of the scores of the performance data and / or the scores of the error messages, wherein the weights of the performance data and / or the error messages are determined according to the degree of impact of each of the performance data and / or the error messages on the user.
[0141] According to an embodiment of the present disclosure, wherein:
[0142] Determining a score for the performance data according to a comparison result between the performance data and a corresponding performance threshold;
[0143] Determining a score for the error message according to the type and / or severity of the error message;
[0144] The degree of impact of the performance data and / or the error message on the user is determined according to the device type to which the performance data and / or the error message respectively correspond.
[0145] For example, Figure 4The management platform server receives monitoring data of the access gateway and monitoring data of other devices in the network from the access gateway of the monitored network through the https protocol, and determines the quality score of the network based on the monitoring data, and the quality score reflects the operating status of the network.
[0146] Fig. 7A The structural block diagram of the network monitoring device according to the embodiment of the present disclosure is shown. The device can be implemented as part or all of the electronic device through software, hardware or a combination of both.
[0147] like Fig. 7A As shown, the network monitoring device 710 includes an acquisition module 711 and a sending module 712 .
[0148] The acquisition module 711 is configured to acquire monitoring data of devices in the network through an access gateway of the network, where the devices in the network include the access gateway and other devices in the network;
[0149] The sending module 712 is configured to send the monitoring data to the management platform server through the access gateway, wherein the monitoring data is used by the management platform server to determine the quality score of the network, and the quality score reflects the operating status of the network.
[0150] According to an embodiment of the present disclosure, other devices in the network include switches and / or wireless access points; the monitoring data includes at least one of the following: performance data, log data, device type information; the performance data includes one or more of the following data: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, signal-to-noise ratio of the terminal device; the log data includes error messages, which are used to describe abnormal events; the device type information includes hardware type and / or operating system type.
[0151] According to an embodiment of the present disclosure, obtaining the monitoring data of the access gateway through the access gateway of the network includes obtaining the monitoring data of the access gateway through a collection probe program set on the access gateway; obtaining the monitoring data of other devices in the network through the access gateway of the network includes obtaining the monitoring data of the other devices through the collection probe program according to the corresponding network transmission protocols supported by the other devices.
[0152] Figure 7B The structural block diagram of the network monitoring device according to the embodiment of the present disclosure is shown. The device can be implemented as part or all of the electronic device through software, hardware or a combination of both.
[0153] like Figure 7BAs shown, the network monitoring device 720 includes a receiving module 721 and a determining module 722 .
[0154] The receiving module 721 is configured to receive monitoring data of devices in the network from an access gateway of the network, where the devices in the network include the access gateway and other devices in the network;
[0155] The determination module 722 is configured to determine a quality score of the network based on the monitoring data, where the quality score reflects an operating status of the network.
[0156] According to an embodiment of the present disclosure, the device 720 further includes a processing module 723 configured to process the monitoring data through one or more of the following operations:
[0157] Supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
[0158] According to the preset arbitration strategy, the credible monitoring data among the same type of monitoring data is retained, and the untrustworthy monitoring data is discarded.
[0159] According to an embodiment of the present disclosure, wherein:
[0160] Other devices in the network include switches and / or wireless access points;
[0161] The monitoring data includes at least one of the following: performance data, log data, and device type information;
[0162] The performance data is one or more of the following: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, and signal-to-noise ratio of the terminal device;
[0163] The log data includes an error message, wherein the error message is used to describe an abnormal event;
[0164] The device type information includes hardware type and / or operating system type;
[0165] Determining the quality score of the network based on the monitoring data includes: determining the quality score of the network according to a weighted sum of the scores of the performance data and / or the scores of the error messages, wherein the weights of the performance data and / or the error messages are determined according to the degree of impact of each of the performance data and / or the error messages on the user.
[0166] According to an embodiment of the present disclosure, wherein:
[0167] Determining a score for the performance data according to a comparison result between the performance data and a corresponding performance threshold;
[0168] Determining a score for the error message according to the type and / or severity of the error message;
[0169] The degree of impact of the performance data and / or the error message on the user is determined according to the device type to which the performance data and / or the error message respectively correspond.
[0170] The present disclosure also discloses an electronic device, Figure 8 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0171] like Figure 8 As shown, the electronic device 800 includes a memory 801 and a processor 802, wherein the memory 801 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 802 to implement the method according to the embodiment of the present disclosure. According to the embodiment of the present 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.
[0172] The present disclosure provides a network monitoring method, including:
[0173] Acquiring monitoring data of devices in the network through an access gateway of the network, where the devices in the network include the access gateway and other devices in the network;
[0174] The monitoring data is sent 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, and the quality score reflects an operating status of the network.
[0175] According to an embodiment of the present disclosure, wherein:
[0176] The acquiring the monitoring data of the device in the network through the access gateway of the network includes:
[0177] Acquiring monitoring data of the access gateway through a collection probe program set on the access gateway;
[0178] The monitoring data of the other devices are acquired through the acquisition probe program according to the corresponding network transmission protocol supported by the other devices.
[0179] In a third aspect, an embodiment of the present disclosure provides a network monitoring method, including:
[0180] receiving monitoring data of devices in the network from an access gateway of the network, wherein the devices in the network include the access gateway and other devices in the network;
[0181] A quality score of the network is determined based on the monitoring data, wherein the quality score reflects an operating status of the network.
[0182] According to an embodiment of the present disclosure, the method further includes processing the monitoring data by one or more of the following operations:
[0183] Supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server;
[0184] According to the preset arbitration strategy, the credible monitoring data among the same type of monitoring data is retained, and the untrustworthy monitoring data is discarded.
[0185] According to an embodiment of the present disclosure, wherein:
[0186] Other devices in the network include switches and / or wireless access points;
[0187] The monitoring data includes at least one of the following: performance data, log data, and device type information;
[0188] The performance data is one or more of the following: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, and signal-to-noise ratio of the terminal device;
[0189] The log data includes an error message, wherein the error message is used to describe an abnormal event;
[0190] The device type information includes hardware type and / or operating system type;
[0191] Determining the quality score of the network based on the monitoring data includes: determining the quality score of the network according to a weighted sum of the scores of the performance data and / or the scores of the error messages, wherein the weights of the performance data and / or the error messages are determined according to the degree of impact of each of the performance data and / or the error messages on the user.
[0192] According to an embodiment of the present disclosure, wherein:
[0193] Determining a score for the performance data according to a comparison result between the performance data and a corresponding performance threshold;
[0194] Determining a score for the error message according to the type and / or severity of the error message;
[0195] The degree of impact of the performance data and / or the error message on the user is determined according to the device type to which the performance data and / or the error message respectively correspond.
[0196] Fig. 9 A schematic diagram showing the structure of a computer system suitable for implementing the method according to an embodiment of the present disclosure is shown.
[0197] like Fig. 9 As shown, the computer system 900 includes a processing unit 901, which can perform various processes in the above-mentioned embodiments according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required 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 via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0198] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A 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, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed. Among them, the processing unit 901 can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.
[0199] In particular, according to an embodiment of the present disclosure, the method described above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes computer instructions, and the computer instructions are executed by a processor to implement the method steps described above. In such an embodiment, the computer program product can be downloaded and installed from a network through the communication part 909, and / or installed from a removable medium 911.
[0200] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0201] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or by programmable hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0202] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or computer system in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.
[0203] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.
Claims
1. A network monitoring method, include: Acquiring monitoring data of devices in the network through a collection probe program on an access gateway of the network, wherein the devices in the network include the access gateway and other devices in the network; the other devices in the network include switches and / or wireless access points; Sending the monitoring data to the 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 the operating status of the network, the quality score being associated with the degree of impact of the monitoring data on the user, and the degree of impact being associated with the device type; The management platform server processes the monitoring data by one or more of the following operations: Supplementing missing monitoring data of a second device connected to the 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 the preset arbitration strategy, the credible monitoring data among the same type of monitoring data is retained, and the untrustworthy monitoring data is discarded; The method of supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server includes: Determine, based on the monitoring data of the first device, device type information of a third device connected to the second device, and associate the device type information of the third device with the corresponding monitoring data of the second device; and / or determine, based on the interface traffic information of the first device, the interface traffic information of the second device; The preset arbitration strategy includes: when the network distance between the fourth device and the monitored object is smaller than the network distance between the fifth device and the monitored object, the monitoring data of the fourth device on the monitored object is more credible than the monitoring data of the fifth device on the monitored object.
2. The method according to claim 1, in: The monitoring data includes at least one of the following: performance data, log data, and device type information; The performance data is one or more of the following: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, and signal-to-noise ratio of the terminal device; The log data includes an error message, wherein the error message is used to describe an abnormal event; The device type information includes hardware type and / or operating system type.
3. The method according to claim 2, in, Determining the quality score of the network based on the monitoring data includes: The quality score of the network is determined based on a weighted sum of the scores of the performance data and / or the scores of the error messages, wherein the weights of the performance data and / or the error messages are determined based on the degree of impact of each of the performance data and / or the error messages on the user.
4. The method according to claim 3, in: Determining a score for the performance data based on a comparison result between the performance data and a corresponding performance threshold; Determining a score for the error message according to the type and / or severity of the error message; The degree of impact of the performance data and / or the error message on the user is determined according to the device type to which the performance data and / or the error message respectively correspond.
5. The method according to claim 1, in: The acquiring the monitoring data of the devices in the network through the collection probe program on the access gateway of the network includes: Acquiring monitoring data of the access gateway through a collection probe program set on the access gateway; The monitoring data of the other devices are acquired through the acquisition probe program according to the corresponding network transmission protocol supported by the other devices.
6. A network monitoring method, include: 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, the monitoring data being acquired through a collection probe program on the access gateway; the other devices in the network including switches and / or wireless access points; Determine a quality score of the network based on the monitoring data, the quality score reflecting an operating state of the network, the quality score being associated with a degree of impact of the monitoring data on a user, and the degree of impact being associated with a device type; It also includes processing the monitoring data by one or more of the following operations: Supplementing missing monitoring data of a second device connected to the 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 the preset arbitration strategy, the credible monitoring data among the same type of monitoring data is retained, and the untrustworthy monitoring data is discarded; The method of supplementing missing monitoring data of a second device connected to the first device in the network according to the monitoring data of the first device in the network sent to the management platform server includes: Determine, based on the monitoring data of the first device, device type information of a third device connected to the second device, and associate the device type information of the third device with the corresponding monitoring data of the second device; and / or determine, based on the interface traffic information of the first device, the interface traffic information of the second device; The preset arbitration strategy includes: when the network distance between the fourth device and the monitored object is smaller than the network distance between the fifth device and the monitored object, the monitoring data of the fourth device on the monitored object is more credible than the monitoring data of the fifth device on the monitored object.
7. The method according to claim 6, in: The monitoring data includes at least one of the following: performance data, log data, and device type information; The performance data is one or more of the following: central processing unit utilization, memory utilization, bandwidth utilization, packet loss rate, and signal-to-noise ratio of the terminal device; The log data includes an error message, wherein the error message is used to describe an abnormal event; The device type information includes hardware type and / or operating system type; Determining the quality score of the network based on the monitoring data includes: determining the quality score of the network according to a weighted sum of the scores of the performance data and / or the scores of the error messages, wherein the weights of the performance data and / or the error messages are determined according to the degree of impact of each of the performance data and / or the error messages on the user.
8. The method according to claim 7, in: Determining a score for the performance data based on a comparison result between the performance data and a corresponding performance threshold; Determining a score for the error message according to the type and / or severity of the error message; The degree of impact of the performance data and / or the error message on the user is determined according to the device type to which the performance data and / or the error message respectively correspond.
9. An electronic device comprising a memory and a processor; in, The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps described in any one of claims 6-8.
10. A computer program product, comprising computer instructions, which, when executed by a processor, implement the method steps of any one of claims 6 to 8.
