A method and device for topology discovery and network asset association of a network operation and maintenance system

Through SNMP protocol and deep scanning technology, network topology maps are generated, which solves the problem of low efficiency of traditional network asset discovery, realizes automated asset discovery and real-time monitoring, and improves network management efficiency.

CN117579492BActive Publication Date: 2024-12-03ANHUI GAOYI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311531017.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-16
Publication Date
2024-12-03
Estimated Expiration
2043-11-16

AI Technical Summary

Technical Problem

The traditional method of discovering network assets is based on manual statistics, which is inefficient and difficult to meet the needs of complex network environments, making it difficult to achieve fast and accurate asset surveys.

Method used

Receive network scanning requests through SNMP protocol, obtain device information of network devices, generate connection relationship tables, and associate them with monitoring status data in MonitorWay intelligent operation and maintenance platform, draw network topology diagrams, and use deep scanning and machine learning technologies to automate tags and optimization.

Benefits of technology

It realizes automated discovery and real-time monitoring of network assets, dynamically reflects the operating status of equipment, reduces the time cost of operation and maintenance personnel, and improves network management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117579492B_ABST
    Figure CN117579492B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for associating topology discovery and network assets of a network operation and maintenance system, and relates to the technical field of network operation and maintenance. The device information of the network device is obtained through the SNMP protocol; the IP address information and SNMPCommunity information of the network device are obtained according to the device information; the basic data table of the connection relationship is scanned and obtained, and the connection relationship table is generated according to the basic data table of the connection relationship; the network asset database is associated with the monitoring status data, and a network topology diagram is drawn. Based on the SNMP protocol, batch discovery and automatic topology generation are performed for devices in the same network segment, and network operation and maintenance are performed in the dimensions of network and link. Automatic asset discovery can be realized, and the operating status of the equipment in the topology diagram can be dynamically and real-time reflected, etc., to help users control the real-time operation of the entire network. The time cost of operation and maintenance personnel is reduced, so that they can pay more attention to business security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network operation and maintenance, and in particular to a method and device for associating topology discovery and network assets of a network operation and maintenance system. Background Art

[0002] In recent years, with the diversification of corporate business and the increase in various supporting platforms and information management systems, the scale of the network has continued to expand, network equipment, hosts, security equipment, etc. have become more and more complex, and the difficulty of coordination between information security management departments and business departments has become increasingly prominent. The traditional network detection method supported by probes can no longer meet the needs of real-world situations. Some new network asset discovery technologies based on network scanning, network traffic analysis, search engines and other technologies have received attention.

[0003] Sometimes it is often necessary to survey hosts or application systems within a certain range. Traditional asset discovery is based on manual statistics and client implementation, which is very difficult and inefficient. Summary of the invention

[0004] The purpose of the present invention is to solve the above-mentioned background technical problems and to propose a method and device for topology discovery and network asset association of a network operation and maintenance system.

[0005] The purpose of the present invention can be achieved through the following technical solutions:

[0006] An embodiment of the present invention provides a method for topology discovery and network asset association of a network operation and maintenance system, the method comprising:

[0007] Receiving a network scan request for a target area, and obtaining device information of network devices in the target area through the SNMP protocol;

[0008] In the network asset database of the Monitorway intelligent operation and maintenance platform, the IP address information and SNMP Community information of the discovered network device are obtained according to the device information;

[0009] Scan and obtain a connection relationship basic data table through the SNMP protocol, and generate a connection relationship table of the network device according to the connection relationship basic data table;

[0010] According to the connection relationship table, the network asset database of the MonitorWay intelligent operation and maintenance platform is associated with the monitoring status data, and a network topology diagram is drawn.

[0011] In one embodiment, receiving a network scan request for a target area, and obtaining device information of network devices in the target area through the SNMP protocol includes:

[0012] Receiving a network scan request for a target area, parsing and verifying request parameters in the network scan request;

[0013] If the request parameter includes an asset ID, query the snmp information of the corresponding network device according to the asset ID;

[0014] If the request parameter does not include the asset ID, query the SNMP information of the corresponding network device for all SNMP type network devices;

[0015] Use the general scanning component to perform a segmented full scan of the network space in the target area based on the SNMP information, obtain the benchmark data of the network devices, and classify each network device based on the benchmark data;

[0016] Using a dedicated scanning component to perform a deep scan on different types of network devices to obtain relevant detailed data including operating system, network service and application type;

[0017] Generate device information of network devices in the target area based on the baseline data and detailed data.

[0018] In one embodiment, the snmp information includes vlan information, interface information, arp table information, mac table information, routing table information and lldp information of the network device; querying the snmp information of the corresponding network device includes:

[0019] Extract the scanned SNMPv1, SNMV2 or SNMPv3 device connection information from the asset information, and obtain the agent information;

[0020] If the agent information is yes, then execute the snmp information acquisition subroutine on the agent to acquire the snmp information;

[0021] If the agent information is no, obtain basic system information, set the brand of the device according to the description information, and obtain the snmp information of network devices of different brands.

[0022] In one embodiment, associating the network asset database of the MonitorWay intelligent operation and maintenance platform with the monitoring status data according to the connection relationship table and drawing a network topology diagram includes:

[0023] Associating the asset ID in the asset management database of the MonitorWay intelligent operation and maintenance management platform with the monitoring status data according to the connection relationship table;

[0024] Calculate the center point data of all connection information in the connection relationship table in a recursive algorithm;

[0025] Determine all interface MAC information of each network device according to the central point data to generate IDCode, and filter duplicate network devices according to IDCode;

[0026] Initialize the mapping relationship macAndIpDeviceInfoMap between ip, mac and network devices, and filter out the network devices of LldpEntry;

[0027] Initialize each network device as a topology node, create a topology connection based on the lldp information, and set the connection type to lldp;

[0028] Binary encode each node, analyze the child nodes of each node according to the preset direct connection algorithm, and return the root node list;

[0029] If there are multiple root nodes returned, create a virtual root node and a virtual connection;

[0030] Starting from the root node, find the connection with the node as the starting point among the discovered connections, then take the end point of the connection as the starting point, and traverse all connections to generate a topology tree as the network topology diagram.

[0031] In one embodiment, the steps of executing the preset direct connection algorithm include:

[0032] (1) Initialize the nodeMap of each node port;

[0033] (2) Clear the newly discovered connection set;

[0034] (3) Traverse all nodes. For each node, if the node has a candidate connection node, or the current node contains other nodes, traverse the candidate connection nodes and other nodes to determine the target node to return; otherwise, return the node as the target node;

[0035] (4) Add connection information to the connection set, merge the newly discovered connections, create a new node, add the associated nodes of the merged connection to the nodelist of the new node, and set the node information of the new node;

[0036] (5) If no new connection is found, end the algorithm; otherwise, return to step (2).

[0037] In one embodiment, the process of performing a deep scan on a network device to obtain detailed data includes:

[0038] Performing a deep scan on the network device to obtain asset information, cleaning the asset information to a unified data format, and adding data tags to the data to generate metadata for the network device;

[0039] According to the business type of the network device, the metadata of the asset information is classified, graded, labeled, status monitored and updated to obtain detailed data.

[0040] In one embodiment, the method further comprises:

[0041] Using an automated method, batch labeling of information that can be directly identified and confirmed by the network device;

[0042] Label the network equipment’s priority, location, department, and responsible person information;

[0043] Use machine learning technology to iteratively optimize asset tag management.

[0044] In one embodiment, generating a connection relationship table according to the connection relationship basic data table includes:

[0045] Based on the SNMP protocol, logical analysis is performed according to the ARP table, interface information table and MAC address forwarding table, and batch discovery and automatic topology generation are performed on devices in the same network segment. Network operation and maintenance are performed in the dimensions of network and link to generate a connection relationship table for the network devices.

[0046] In one embodiment, the method further comprises:

[0047] The detected network devices are drawn and analyzed according to the network topology diagram; the drawing and analysis method includes horizontal drawing and analysis based on the time dimension and vertical drawing and analysis based on the protocol layered display.

[0048] An embodiment of the present invention further provides a topology discovery and network asset association device for a network operation and maintenance system, the device comprising:

[0049] A topology discovery module is used to receive a network scan request about a target area and obtain device information of network devices in the target area through the SNMP protocol;

[0050] The asset information query module is used to obtain the IP address information and SNMP Community information of the discovered network devices in the network device database of the Monitorway intelligent operation and maintenance platform according to the device information;

[0051] A scanning module, used for scanning and obtaining a connection relationship basic data table through the SNMP protocol, and generating a connection relationship table of the network device according to the connection relationship basic data table;

[0052] The association module is used to associate the network device database of the MonitorWay intelligent operation and maintenance platform with the monitoring status data according to the connection relationship table, and draw a network topology diagram.

[0053] Beneficial effects of the present invention:

[0054] The embodiment of the present invention provides a method for associating topology discovery and network assets of a network operation and maintenance system, which receives a network scanning request for a target area, obtains device information of network devices in the target area through the SNMP protocol; obtains IP address information and SNMP Community information of discovered network devices according to the device information in the network asset database of the Monitorway intelligent operation and maintenance platform; scans and obtains a connection relationship basic data table through the SNMP protocol, generates a connection relationship table of network devices according to the connection relationship basic data table; associates the network asset database of the MonitorWay intelligent operation and maintenance platform with monitoring status data according to the connection relationship table, and draws a network topology diagram. Based on the SNMP protocol, batch discovery and automatic topology generation are performed for devices in the same network segment, and network operation and maintenance are performed in the dimensions of network and link. Automatic asset discovery can be realized, and the operating status of devices in the topology diagram can be dynamically and real-time reflected, etc., to help users control the real-time operation of the entire network. The time cost of operation and maintenance personnel is reduced, allowing them to pay more attention to business security. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The present invention will be further described below in conjunction with the accompanying drawings.

[0056] Figure 1 A flowchart of a method for associating topology discovery and network assets of a network operation and maintenance system provided by an embodiment of the present invention;

[0057] Figure 2 A structural diagram of a topology discovery and network asset association device for a network operation and maintenance system provided in an embodiment of the invention. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] A comprehensive operation and maintenance system should include five elements: efficiency, stability, security, experience and cost. Efficiency here mainly refers to the efficiency of daily routine operation and maintenance work, which refers to the most basic operation and maintenance work: resource allocation and recovery, domain name configuration, VIP configuration, continuous integration and release, application deployment, application expansion and reduction, etc. The operation and maintenance automation we mentioned is mostly focused on these tasks because these tasks are routine and repetitive.

[0060] Stability (quality) can be achieved through monitoring, full links, strong and weak dependencies, flow limiting and degradation, capacity assessment, and emergency plan platforms, making business operations more stable. To do this well, a relatively independent and professional monitoring and stability platform is needed to support it.

[0061] The goal of this part is to ensure the stability and operation quality of the system to the greatest extent possible. Even if problems occur, they can be discovered, responded to, and restored quickly (automatically).

[0062] Security is a professional field that is equally or even more important than operation and maintenance. But it is also closely related to operation and maintenance. Operation and maintenance should also pay attention to security, because problems caused by security problems often bring heavy protection and repair costs to operation and maintenance. The security keywords we often mention include various host security, DB security, Web security, application security, etc., and related to this are vulnerabilities, DDos, CC, etc.

[0063] Experience refers to the access experience of end users. For non-functional or non-product usage experience, the most important thing that operations and maintenance needs to pay attention to is access speed. Developers may pay more attention to the code they are responsible for and the performance issues of that part, and will not pay attention to the performance and experience of the end-to-end full process. Operations and maintenance can examine and manage the performance of the entire end-to-end link from a global perspective and provide corresponding performance optimization suggestions.

[0064] The cost issue is also the issue of technology ROI (return on investment). When the system scale and volume increase, the various resources controlled by the operation and maintenance will become the main proportion of the entire R&D team's expenditure. If there is no good cost control awareness and strategy, the volume of resources will continue to increase, even double or grow exponentially, which will be a huge burden and pressure on the company's costs.

[0065] Establishing an operation and maintenance system further includes: establishing a tree-shaped organizational model based on the organizational structure. If an enterprise adopts a tree-shaped organizational model with clear hierarchy and strict management of efficiency, stability, security, experience and cost, the operation and maintenance difficulty will be low and the operation and maintenance efficiency will be high.

[0066] The embodiment of the present invention provides a method for topology discovery and network asset association of a network operation and maintenance system, see Figure 1 , Figure 1 A flowchart of a method for associating topology discovery and network assets of a network operation and maintenance system provided by an embodiment of the present invention. The method includes:

[0067] S101, receiving a network scanning request for a target area, and obtaining device information of network devices in the target area through SNMP protocol.

[0068] S102, in the network asset database of the Monitorway intelligent operation and maintenance platform, obtain IP address information and SNMP Community information of the discovered network device according to the device information.

[0069] S103, scanning and acquiring a connection relationship basic data table through the SNMP protocol, and generating a connection relationship table of the network device according to the connection relationship basic data table.

[0070] S104: Associating the network asset database of the MonitorWay intelligent operation and maintenance platform with the monitoring status data according to the connection relationship table, and drawing a network topology diagram.

[0071] Based on the embodiment of the present invention, a method for topology discovery and network asset association of a network operation and maintenance system is provided. Based on the SNMP protocol, batch discovery and automatic topology generation of devices in the same network segment are performed to perform network operation and maintenance in the dimensions of network and link. Automatic asset discovery can be realized, and the operating status of devices in the topology diagram can be dynamically and real-time reflected, etc., to help users control the real-time operation of the entire network. The time cost of operation and maintenance personnel is reduced, allowing them to pay more attention to business security.

[0072] In one implementation, the above can provide a network topology function and provide an automatic topology discovery function based on an intelligent operation and maintenance system. Further, based on the drawn network topology, multiple topology maps can be classified and newly created in levels, supporting customized configuration of topology maps and segmentation by business. The provided topology map can dynamically and in real time reflect the operating status of devices and links in the topology map. Provide a quick access and display function for the core information of devices and links in the topology map, including name, IP, status, alarm, rate and other information. When a monitored object fails, you can click the object icon to jump to the alarm object details interface, so as to quickly check the performance and alarm data. Support manual addition of objects and automatic discovery of topology maps. The automatic discovery function includes static discovery and dynamic discovery. The discovery operation can be stopped during the dynamic discovery process.

[0073] In one implementation, the network device includes at least one of a host, a network device, a security device, a database, a middleware, an application component, a database, and an Internet of Things device.

[0074] In one embodiment, step S101 includes:

[0075] Receiving a network scan request for a target area, parsing and verifying request parameters in the network scan request;

[0076] If the request parameter includes an asset ID, query the snmp information of the corresponding network device according to the asset ID;

[0077] If the request parameter does not include the asset ID, query the SNMP information of the corresponding network device for all SNMP type network devices;

[0078] Use the general scanning component to perform a segmented full scan of the network space in the target area based on the SNMP information, obtain the benchmark data of the network devices, and classify each network device based on the benchmark data;

[0079] Using a dedicated scanning component to perform a deep scan on different types of network devices to obtain relevant detailed data including operating system, network service and application type;

[0080] Generate device information of network devices in the target area based on the baseline data and detailed data.

[0081] In one embodiment, querying the snmp information of the corresponding network device includes:

[0082] Step 1: Extract the scanned snmpv1, snmpv2 or snmpv3 device connection information from the asset information, and obtain the agent information;

[0083] Step 2: If the agent information is yes, execute the snmp information acquisition subroutine on the agent to acquire the snmp information;

[0084] Step three: if the agent information is no, obtain basic system information, set the brand of the device according to the description information, and obtain the snmp information of network devices of different brands.

[0085] Step 4: SNMP information includes VLAN information, interface information, ARP table information, MAC table information, routing table information and LLDP information of network devices.

[0086] In one embodiment, step S104 includes:

[0087] Step 1: Associating the asset ID in the asset management database of the MonitorWay intelligent operation and maintenance management platform with the monitoring status data according to the connection relationship table;

[0088] Step 2: Calculate the center point data of all connection information in the connection relationship table in a recursive algorithm;

[0089] Step 3, determine all interface MAC information of each network device according to the central point data to generate IDcode, and filter duplicate network devices according to IDcode;

[0090] Step 4: Initialize the mapping relationship macAndIpDeviceInfoMap between ip, mac and network devices, and filter out the network devices of LldpEntry;

[0091] Step 5: Initialize each network device as a topology node, create a topology connection based on the lldp information, and set the connection type to lldp;

[0092] Step 6: Binary encode each node, analyze the child nodes of each node according to the preset direct connection algorithm, and return the root node list;

[0093] Step 7: If there are multiple root nodes returned, create a virtual root node and a virtual connection;

[0094] Step 8, starting from the root node, find the connection with the node as the starting point among the discovered connections, then take the end point of the connection as the starting point, and traverse all connections to generate a topology tree as the network topology diagram.

[0095] In one implementation, if the corresponding network device cannot be obtained through macAndIpDeviceInfoMap, it means that the network device is not in the required network device range.

[0096] In one implementation, each node is binary-encoded and a serial number is set for each node starting from 1. The largest serial number is the length of the code. Each serial number i represents that the i-th bit of the code is 1 and the other bits are 0.

[0097] In one embodiment, the steps of executing the preset direct connection algorithm include:

[0098] (1) Initialize the nodeMap of each node port;

[0099] (2) Clear the newly discovered connection set;

[0100] (3) Traverse all nodes. For each node, if the node has a candidate connection node, or the current node contains other nodes, traverse the candidate connection nodes and other nodes to determine the target node to return; otherwise, return the node as the target node;

[0101] (4) Add connection information to the connection set, merge the newly discovered connections, create a new node, add the associated nodes of the merged connection to the nodelist of the new node, and set the node information of the new node;

[0102] (5) If no new connection is found, end the algorithm; otherwise, return to step (2).

[0103] In one implementation, the nodeMap of each node port is initialized. The value of nodeMap represents which nodes this port is connected to. The ports of each node are sorted, with physical ports first and VLAN ports second. Finally, each port of all nodes is traversed to determine whether the MAC address table of each port contains the node MAC address. The node code information is added to the nodeMap of the port.

[0104] In one implementation, the traversal of candidate connection nodes and other nodes to determine the target node in step (3) is specifically as follows:

[0105] 1. Get the starting node, target node set, and existing connection set;

[0106] 2. Traverse the target node set. If the port of the target node only contains the current target node, add the current node to the candidate connection node;

[0107] 3. Traverse the existing connection set. If the target node set contains both the start and end nodes of the current connection, add the start node of the current connection to the candidate connection node.

[0108] 4. Sort candidate connection nodes according to IP addresses;

[0109] 5. Return the first candidate connection node as the target node.

[0110] In one embodiment, the process of performing a deep scan on a network device to obtain detailed data includes: performing a deep scan on the network device to obtain asset information, cleaning the asset information to a uniform data format, and labeling the data to generate metadata for the network device;

[0111] According to the business type of the network equipment, the metadata of the asset information is classified, graded, labeled, monitored and updated to obtain detailed data.

[0112] In one implementation, the asset information discovered by network devices is complex and irregular, and needs to be cleaned to unify the data format, and then classified, labeled, monitored and updated to make it more valuable asset data. In this process, the logical relationship between different assets can be further associated and drawn to form an overall network device situation map.

[0113] In one embodiment, the method further comprises:

[0114] Use automated methods to batch label information that can be directly identified and confirmed by network devices;

[0115] Label the network equipment’s priority, location, department, and responsible person information;

[0116] Use machine learning technology to iteratively optimize asset tag management.

[0117] In one embodiment, the connection relationship basic data table includes: a MAC address forwarding table, an ARP table, and an interface information table.

[0118] In one implementation, a MAC address forwarding table (see Table 1): This table records the physical address information of the current device responsible for connection and forwarding, and associates the physical address information with the network interface.

[0119] Table 1

[0120] dot1dTpFdbAddress dot1dTpFdbPort dot1dTpFdbStatus IndexValue 00-23-24-A0-9A-6C 49 learned 0.35.36.160.154.108 00-23-24-A0-9B-FE 49 learned 0.35.36.160.155.254 00-23-24-A0-A7-CA 49 learned 0.35.36.160.167.202 00-CF-E0-3E-BA-63 49 learned 0.207.224.62.186.99 00-CF-E0-3E-BC-04 49 learned 0.207.224.62.188.4 00-CF-E0-4A-02-6D 49 learned 0.207.224.74.2.109 00-E0-4C-70-44-3B 49 learned 0.224.76.112.68.59

[0121] ARP table (see Table 2): This table records the association between the physical address, interface, and IP address of the current device interconnection.

[0122] Table 2

[0123]

[0124] Interface information table (see Table 3): This table records the current interface ID, interface name, interface type, physical address, interface status and other information.

[0125] Table 3

[0126]

[0127] In one embodiment, generating a connection relationship table according to the connection relationship basic data table in step S103 includes:

[0128] Based on the SNMP protocol, logical analysis is performed according to the ARP table, interface information table and MAC address forwarding table, and batch discovery and automatic topology generation are performed on devices in the same network segment. Network operation and maintenance are performed based on the network and link dimensions to generate a connection relationship table for network devices.

[0129] In one implementation, the generated connection relationship tables are shown in Table 4 and Table 5.

[0130] Table 4 Local device information

[0131]

[0132] Table 5 Connecting to the peer device

[0133]

[0134] In one embodiment, the method further comprises:

[0135] The detected network devices are drawn and analyzed according to the network topology diagram; the drawing and analysis methods include horizontal drawing and analysis based on the time dimension and vertical drawing and analysis based on the protocol layered display.

[0136] In one implementation, vertical drawing based on protocol layering can provide administrators with the impact range of risky assets and give corresponding security handling opinions. It also supports the flexible use of various charts, scatter plots, logical topologies, and security situation large screens to provide intuitive and efficient presentation methods.

[0137] Based on the same inventive concept, the embodiment of the present invention provides a topology discovery and network asset association device for a network operation and maintenance system. Figure 2 , Figure 2 A structural diagram of a topology discovery and network asset association device for a network operation and maintenance system provided in an embodiment of the invention. The device includes:

[0138] A topology discovery module is used to receive a network scan request about a target area and obtain device information of network devices in the target area through the SNMP protocol;

[0139] The asset information query module is used to obtain the IP address information and SNMP Community information of the discovered network devices in the network device database of the Monitorway intelligent operation and maintenance platform according to the device information;

[0140] A scanning module, used for scanning and obtaining a connection relationship basic data table through the SNMP protocol, and generating a connection relationship table of the network device according to the connection relationship basic data table;

[0141] The association module is used to associate the network device database of the MonitorWay intelligent operation and maintenance platform with the monitoring status data according to the connection relationship table, and draw a network topology diagram.

[0142] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A method for topology discovery and network asset association in a network operation and maintenance system. It is characterized in that The method comprises: Receiving a network scan request for a target area, and obtaining device information of network devices in the target area through the SNMP protocol; In the network asset database of the Monitorway intelligent operation and maintenance platform, the IP address information and SNMP Community information of the discovered network device are obtained according to the device information; Scan and obtain a connection relationship basic data table through the SNMP protocol, and generate a connection relationship table of the network device according to the connection relationship basic data table; According to the connection relationship table, the network asset database of the MonitorWay intelligent operation and maintenance platform is associated with the monitoring status data, and a network topology diagram is drawn; Receiving a network scan request for a target area, and obtaining device information of network devices in the target area through the SNMP protocol includes: Receiving a network scan request for a target area, parsing and verifying request parameters in the network scan request; If the request parameter includes an asset ID, query the snmp information of the corresponding network device according to the asset ID; If the request parameter does not include the asset ID, query the SNMP information of the corresponding network device for all SNMP type network devices; Use the general scanning component to perform a segmented full scan of the network space in the target area based on the SNMP information, obtain the benchmark data of the network devices, and classify each network device based on the benchmark data; Using a dedicated scanning component to perform a deep scan on different types of network devices to obtain relevant detailed data including operating system, network service and application type; Generate device information of network devices in the target area based on the baseline data and the detailed data; SNMP information includes VLAN information, interface information, ARP table information, MAC table information, routing table information and LLDP information of network devices; querying the SNMP information of the corresponding network device includes: Extract the scanned SNMPv1, SNMV2 or SNMPv3 device connection information from the asset information, and obtain the agent information; If the agent information is yes, then execute the snmp information acquisition subroutine on the agent to acquire the snmp information; If the agent information is no, obtain basic system information, set the brand of the device according to the description information, and obtain the snmp information of network devices of different brands; According to the connection relationship table, the network asset database of the MonitorWay intelligent operation and maintenance platform is associated with the monitoring status data, and a network topology diagram is drawn, including: Associating the asset ID in the asset management database of the MonitorWay intelligent operation and maintenance management platform with the monitoring status data according to the connection relationship table; Calculate the center point data of all connection information in the connection relationship table in a recursive algorithm; Determine all interface MAC information of each network device according to the central point data to generate IDCode, and filter duplicate network devices according to IDCode; Initialize the mapping relationship macAndIpDeviceInfoMap between ip, mac and network devices, and filter out the network devices of LldpEntry; Initialize each network device as a topology node, create a topology connection based on the lldp information, and set the connection type to lldp; Binary encode each node according to Preset direct connection algorithm Analyze the child nodes of each node and return the root node list; If there are multiple root nodes returned, create a virtual root node and a virtual connection; Starting from the root node, find the connection with the node as the starting point in the discovered connections, then take the end point of the connection as the starting point, and traverse all connections to generate a topology tree as the network topology graph; The execution steps of the preset direct connection algorithm include: (1) Initialize each node port nodeMap ; The value of nodeMap represents which nodes this port is connected to. Sort the ports of each node, with physical ports first and VLAN ports last. Traverse each port of all nodes to determine whether the mac address table of each port contains the node mac address. Add the node code information to the nodeMap of the port. (2) Clear the newly discovered connection set; (3) Traverse all nodes. For each node, if the node has a candidate connection node, or the current node contains other nodes, traverse the candidate connection nodes and other nodes to determine the target node to return; otherwise, return the node as the target node; In step (3), the candidate connection nodes and other nodes are traversed to determine the target node: Get the starting node, target node set, and existing connection set; Traverse the target node set. If the port of the target node only contains the current target node, add the current node to the candidate connection node. Traverse the existing connection set. If the target node set contains both the start and end nodes of the current connection, add the start node of the current connection to the candidate connection node. Sort candidate connection nodes by IP address; Return the first candidate connection node as the target node; (4) Add connection information to the connection set, merge the newly discovered connections, create a new node, add the associated nodes of the merged connection to the nodelist of the new node, and set the node information of the new node; (5) If no new connection is found, the algorithm ends; otherwise, return to step (2).

2. A method for topology discovery and network asset association of a network operation and maintenance system according to claim 1, It is characterized in that The process of performing a deep scan of network devices to obtain detailed data includes: Performing a deep scan on the network device to obtain asset information, cleaning the asset information to a unified data format, and adding data tags to the data to generate metadata for the network device; According to the business type of the network device, the metadata of the asset information is classified, graded, labeled, status monitored and updated to obtain detailed data.

3. The method for topology discovery and network asset association of a network operation and maintenance system according to claim 1, It is characterized in that The method further comprises: Using an automated method, batch labeling of information that can be directly identified and confirmed by the network device; Label the network equipment’s priority, location, department, and responsible person information; Use machine learning technology to iteratively optimize asset tag management.

4. A method for topology discovery and network asset association of a network operation and maintenance system according to claim 3, It is characterized in that Generating a connection relationship table based on the connection relationship basic data table includes: Based on the SNMP protocol, logical analysis is performed according to the ARP table, interface information table and MAC address forwarding table, and batch discovery and automatic topology generation are performed on devices in the same network segment. Network operation and maintenance are performed in the dimensions of network and link to generate a connection relationship table for the network devices.

5. The method for topology discovery and network asset association of a network operation and maintenance system according to claim 1, It is characterized in that The method further comprises: The detected network devices are drawn and analyzed according to the network topology diagram; the drawing and analysis method includes horizontal drawing and analysis based on the time dimension and vertical drawing and analysis based on the protocol layered display.