Network topology data analysis method, device, system and equipment and storage medium
By constructing a network topology diagram based on physical device data and association relationships, the problem that network topology diagram in the prior art cannot accurately describe the physical network and flexible analysis is solved, and a more intuitive and flexible data analysis effect is achieved.
Patent Information
- Application Number
- CN202411520828.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-10-28
AI Technical Summary
In the prior art, the network topology diagram can only simply present device granular data, cannot accurately describe the physical network, and is also very scarce to implement data analysis through network topology flexibly and effectively.
By obtaining physical device data in the physical network, and building a network topology diagram based on the device data and its association relationship, including multiple nodes and connections. The nodes represent physical device data, and connections represent relationships between devices. Then receive the user's data analysis request, select the target node and connection from the topology diagram, select the target associated data, and obtain the analysis results by comparing the target data with the preset data, and finally display the analysis results in the topology diagram.
It realizes the flexibility and effectiveness of data analysis through network topology map, can represent physical network data more intuitively, and improves the flexibility and accuracy of data analysis.
Smart Images

Figure CN119402364A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data analysis, and in particular, relates to a method, apparatus, device, computer-readable storage medium, and computer program product for analyzing network topology data. Background Art
[0002] With the rapid development of communication technology and the increasing diversity of user needs, the business scenarios that provide services to users and the network architecture used to support the business scenarios are becoming more and more complex. Accordingly, how to accurately and effectively master the network architecture to provide good services to users is becoming more and more important.
[0003] In the prior art, network topology diagrams are often used to present and analyze physical networks. However, they are simply presented on topology diagrams based on device-level data. The topology and data are tightly coupled and cannot accurately describe the physical network. In addition, the application of topology diagrams is very scarce, and there is a problem that data analysis cannot be flexibly and effectively implemented through network topology. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, device, computer-readable storage medium, and computer program product for network topology data analysis, which can flexibly and effectively implement data analysis through network topology.
[0005] In a first aspect, an embodiment of the present application provides a method for analyzing network topology data, the method comprising:
[0006] Get physical device data in the physical network;
[0007] According to the association relationship between the physical device data and the physical device data, a network topology diagram is constructed, the network topology diagram includes multiple nodes and lines between the multiple nodes, the nodes represent the physical device data, the physical device data includes the device identification of the physical device and the associated data of the physical device, the associated data includes the data associated with the physical device itself and the data associated with the physical device and other physical devices, and the lines between the nodes represent the relationship between the physical device data and the physical device data;
[0008] Receiving a data analysis request from a user, where the data analysis request includes information about an analysis event;
[0009] Selecting a target node set for analyzing an event and connections between sub-nodes of the target node set from the network topology diagram;
[0010] Selecting target node sets of analysis events in the network topology diagram and selecting target associated data from physical device data corresponding to the connections between subnodes of the target node sets;
[0011] By comparing the target-related data with the preset data, the analysis results of the analysis event are obtained;
[0012] In the network topology diagram, the target node set, the lines between the sub-nodes of the target node set, the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, and the analysis results are displayed according to the target topology attributes. The target topology attributes are the topology attributes of the target physical device data.
[0013] In one possible implementation, the associated data of the physical device includes device attribute data, static configuration data, device performance data, capacity data, and alarm complaint data;
[0014] Based on the physical device data and the association relationship between the physical device data, a network topology diagram is constructed, including:
[0015] Construct a network topology diagram based on the relationship between device attribute data, static configuration data, device performance data, capacity data, alarm complaint data and physical device data.
[0016] In an achievable implementation, the association relationship between physical device data includes the relationship between devices, the matching relationship between device type and indicator data and database table, the data aggregation relationship and the relationship between ports and bearer service flows;
[0017] Based on the physical device data and the association relationship between the physical device data, a network topology diagram is constructed, including:
[0018] Construct a network topology diagram based on the relationship between physical device data and devices, the matching relationship between device type and indicator data and database tables, the data aggregation relationship, and the relationship between ports and bearer service flows.
[0019] In one possible implementation, the target-related data includes target attribute data, target indicator data, and target collection and distribution data;
[0020] By comparing the target-related data with the preset data, the analysis results of the analysis event are obtained, including:
[0021] By comparing the target attribute data, target indicator data, target distribution data and corresponding preset data, the analysis result of the analysis event is obtained.
[0022] In an achievable implementation, the topology attributes include a topology presentation identifier, a topology presentation font, and a topology presentation position;
[0023] In the network topology diagram, the target node set, the connection between the sub-nodes of the target node set, the target physical device data corresponding to the connection between the target node set and the sub-nodes of the target node set, and the analysis results are displayed according to the target topology attributes, including:
[0024] In the network topology diagram, the target node set, the lines between the sub-nodes of the target node set, the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, and the analysis results are displayed according to the target topology presentation identifier, the target topology presentation font and the target topology presentation position.
[0025] In an achievable implementation, before displaying the target node set, the connection between the sub-nodes of the target node set, and the target physical device data corresponding to the connection between the target node set and the sub-nodes of the target node set according to the target topology attributes in the network topology map, and the analysis result, the method further includes:
[0026] Receive modification information of topological attributes of target associated data by the user;
[0027] The topological attributes of the target associated data are modified based on the modification information.
[0028] In one possible implementation, the method further includes:
[0029] Receive user update data on physical device data;
[0030] Based on the updated data, the topology map is updated according to the physical device data and the association relationship between the physical device data.
[0031] In one possible implementation, after receiving the data analysis request from the user, the method further includes:
[0032] The analysis component is called to select the target node set of the analysis event and the connections between the sub-nodes of the target node set from the network topology diagram; the target node set of the analysis event and the connections between the sub-nodes of the target node set are selected from the physical device data corresponding to the connections between the sub-nodes of the target node set in the network topology diagram; and the analysis result of the analysis event is obtained by comparing the target association data with the preset data.
[0033] In one possible implementation, the method further includes:
[0034] Receive the user's newly added component data for the component library, which is used to store and analyze components;
[0035] Based on the newly added data of the component, an analysis component corresponding to the newly added data of the component is added to the component library. In a second aspect, an embodiment of the present application provides a device for analyzing network topology data, the device comprising:
[0036] An acquisition module, used to acquire physical device data in a physical network;
[0037] A construction module is used to construct a network topology diagram according to the association relationship between the physical device data and the physical device data, wherein the network topology diagram includes a plurality of nodes and lines between the plurality of nodes, wherein the nodes represent the physical device data, the physical device data includes the device identification of the physical device and the associated data of the physical device, the associated data includes the data associated with the physical device itself and the data associated with the physical device and other physical devices, and the lines between the nodes represent the relationship between the physical device data and the physical device data;
[0038] A receiving module, used to receive a data analysis request from a user, where the data analysis request includes information about an analysis event;
[0039] A selection module is used to select a target node set for analyzing events and connections between subnodes of the target node set from the network topology diagram;
[0040] The selection module is also used to select a target node set for analyzing events in the network topology diagram and select target associated data from physical device data corresponding to the connection between subnodes of the target node set;
[0041] A comparison module is used to obtain the analysis result of the analysis event by comparing the target associated data with the preset data;
[0042] A display module is used to display the target node set, the connections between the sub-nodes of the target node set, the target physical device data corresponding to the connections between the target node set and the sub-nodes of the target node set, and the analysis results in the network topology diagram according to the target topology attributes. The target topology attributes are the topology attributes of the target physical device data.
[0043] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement a method for analyzing network topology data as in any one of the implementations of the first aspect.
[0044] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, a method for analyzing network topology data as in any one of the embodiments of the first aspect is implemented.
[0045] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes a method for analyzing network topology data as described in any one of the embodiments of the first aspect.
[0046] The method, apparatus, device, computer-readable storage medium and computer program product for analyzing network topology data of the embodiment of the present application, the embodiment acquires physical device data in a physical network, and constructs a network topology diagram according to the association relationship between the physical device data and the physical device data, the network topology diagram includes multiple nodes and lines between the multiple nodes, the nodes represent the physical device data, the physical device data includes the device identification of the physical device and the associated data of the physical device, the associated data includes the data associated with the physical device itself and the data associated with the physical device and other physical devices, and the lines between the nodes represent the relationship between the physical device data and the physical device data; by constructing a network topology diagram according to the physical device data in the physical network and the association relationship between them, an operation platform is provided for topological operations, data acquisition processing is separated from data topology analysis to improve the freedom of topological operations, and the data of the physical network can be more intuitively represented; then a user's data analysis request is received, the data analysis request includes information about the analysis event; a target node set for the analysis event and the lines between the subnodes of the target node set are selected from the network topology diagram; Select the target node set of the analysis event and the connection between the child nodes of the target node set in the network topology diagram, and select the target associated data from the physical device data corresponding to the connection; select the target node set of the analysis event, the connection between its child nodes and the corresponding associated data on the network topology diagram according to the data analysis request, and complex and various topological operations can be performed on the network topology diagram without considering the association of the underlying physical network data, thereby improving the flexibility of using the network topology for data analysis; finally, by comparing the target associated data with the preset data, the analysis result of the analysis event is obtained, and the target node set, the connection between the child nodes of the target node set, and the target physical device data corresponding to the connection between the target node set and the child nodes of the target node set, as well as the analysis result are displayed in the network topology diagram according to the target topological attributes, and the target topological attributes are the topological attributes of the target physical device data; adding topological presentation attributes to the physical device data can synchronously display all data such as the analysis process and analysis results in the data analysis process in real time, expand the application of the network topology diagram, and can flexibly and effectively implement data analysis through the network topology. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0048] Figure 1 It is a flowchart of a method for analyzing network topology data provided by an embodiment of the present application;
[0049] Figure 2 It is a schematic diagram of the processing flow of a newly added device provided in one embodiment of the present application;
[0050] Figure 3 This is a schematic diagram of the processing flow of newly added indicator data provided by an embodiment of the present application;
[0051] Figure 4 It is a schematic diagram of the processing flow of a newly added analysis component provided in one embodiment of the present application;
[0052] Figure 5 It is a flowchart of a method for analyzing network rate provided by an embodiment of the present application;
[0053] Figure 6 It is a structural block diagram of a device for analyzing network topology data provided by an embodiment of the present application;
[0054] Figure 7 This is an architecture diagram of network topology data analysis provided by an embodiment of the present application;
[0055] Figure 8 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0056] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0057] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0058] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0059] With the rapid development of communication technology and the increasing diversity of user needs, the business scenarios that provide services to users and the network architecture used to support the business scenarios are becoming more and more complex. Accordingly, how to accurately and effectively master the network architecture to provide good services to users is becoming more and more important.
[0060] In the prior art, network topology diagrams are often used to present and analyze physical networks. However, they are simply presented on topology diagrams based on device-level data. The topology and data are tightly coupled and cannot accurately describe the physical network. In addition, the application of topology diagrams is very scarce, and there is a problem that data analysis cannot be flexibly and effectively implemented through network topology.
[0061] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment, computer storage medium and computer program product for analyzing network topology data. The method for analyzing network topology data provided by the embodiments of the present application is first introduced below.
[0062] Figure 1 FIG. 1 is a flow chart showing a method for analyzing network topology data provided by an embodiment of the present application. Figure 1 As shown, the method for analyzing network topology data provided in the embodiment of the present application includes steps S110 to S160.
[0063] S110: Acquire physical device data in the physical network.
[0064] Collect physical device data in the physical network. Physical device data can also be directly extracted from the data sharing platform. The physical network is formed by connecting various physical devices and media in the network. It is the lowest-level network carried by the Internet. Among them, physical devices can include hosts, routers, switches, etc., and media can include optical cables, cables, twisted pairs, etc. Physical device data is data that describes information such as the status, performance, configuration, and connection relationship of physical devices. These data are crucial for network management and optimization because they provide real-time information about network health, performance bottlenecks, and security risks.
[0065] S120: Construct a network topology diagram based on the association relationship between physical device data and physical device data. The network topology diagram includes multiple nodes and connections between the multiple nodes. The nodes represent physical device data. The physical device data includes a device identifier of the physical device and associated data of the physical device. The associated data includes data associated with the physical device itself and data associated with the physical device and other physical devices. The connections between nodes represent the relationship between physical device data and physical device data.
[0066] A network topology diagram is constructed based on the association relationship between physical device data and physical device data. The association relationship between physical device data may include the association relationship between network device connections, device types and performance indicators, data aggregation methods, and the association between ports and business flows. These association relationships may be represented and stored in the form of a mapping table. The network topology diagram may represent the mapping relationship between the topology structure and the physical network. The network topology diagram includes multiple nodes and lines between multiple nodes. The nodes represent physical device data. The physical device data includes the device identification of the physical device and the associated data of the physical device. That is, the physical device data represented by the nodes may be physical devices such as computers, routers, switches, and the identification information of these physical devices and the associated data of the physical devices. The associated data of the physical device includes the data associated with the physical device itself, such as the current operating status of the device, IP address, number of network sessions, etc. The associated data of the physical device may also include the data associated with the physical device and other physical devices, such as connection status, subordinate relationship, etc. The lines between nodes represent the relationship between physical device data and physical device data. The lines between nodes represent the relationship between physical device data and physical device data, which may be a physical or logical relationship such as a data link, spatial position, and subordinate category between physical devices. The corresponding underlying physical network data can be queried through the network topology diagram.
[0067] S130: Receive a data analysis request from a user, where the data analysis request includes information about an analysis event.
[0068] A data analysis request from a user is received, the data analysis request including relevant information of an event that the user wants to analyze data on. For example, the analysis event may be a network rate analysis event proposed by the user to inquire about the reasons for the slow network speed and video freeze on some cards using APN1.
[0069] S140: Selecting a target node set for analyzing an event and connections between sub-nodes of the target node set from the network topology diagram.
[0070] In response to the data analysis request input by the user, the nodes related to the analysis event and the connections between the subnodes of these nodes are selected on the network topology map through topological operations, that is, the physical devices related to the analysis event and the connection relationship between the physical devices are selected on the network topology map, that is, the business path of the business data flow related to the analysis event is selected on the topology map. Several associated node operations can be pre-defined, such as business path identification, by selecting the source and destination nodes on the topology, and associating the continuous nodes / connections between the source and destination nodes to form a business path. Through topological operations, a single / multiple nodes and / or a business path composed of multiple nodes and connections between nodes can be selected on the network topology map. Among them, the node can be a logical node displayed as a node including nodes of the same device type. Through the network topology map, that is, the mapping relationship between the topological structure and the physical network, the underlying physical network data corresponding to the topological operation can be queried.
[0071] S150: Selecting a target node set for analyzing an event in a network topology diagram and selecting target associated data from physical device data corresponding to connections between subnodes of the target node set.
[0072] After selecting nodes related to the analysis event and the connections between the subnodes of these nodes on the network topology map, that is, selecting the business path of the business data flow related to the analysis event on the topology map, select the associated data corresponding to the nodes and the connections between the subnodes of these nodes, that is, select the target associated data on the associated data corresponding to the selected business path. The target associated data may be the associated data corresponding to the topological operation related to the analysis event. Exemplarily, the associated data may include channel indicator data such as bandwidth utilization, TCP connection success rate, TCP connection delay, and also include Ping success rate and Ping delay of the business path continuity test.
[0073] S160: Obtain analysis results of the analysis event by comparing the target associated data with the preset data.
[0074] After obtaining the target-associated data corresponding to the topological operation related to the analysis event, these data are compared with the preset data corresponding to the analysis event. The preset data may be a preset threshold, a preset condition, a preset event, etc. The analysis result of the analysis event is obtained by comparing the target-associated data corresponding to the topological operation related to the analysis event with the preset data. Exemplarily, when the value corresponding to the target-associated data corresponding to the topological operation related to the analysis event is greater than the preset threshold, the analysis result of the analysis event is abnormal, and the target-associated data corresponding to the topological operation related to the analysis event is abnormal data.
[0075] S170: Display the target node set, the lines between the sub-nodes of the target node set, the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, and the analysis results in the network topology diagram according to the target topology attributes, where the target topology attributes are the topology attributes of the target physical device data.
[0076] The physical device data includes topological attributes, and the topological attributes are used to present the corresponding physical device data on the network topology diagram. In the network topology diagram, the corresponding multiple nodes of the topological operation of the analysis event and the lines between these nodes, that is, the corresponding business path of the topological operation of the analysis event are displayed according to the topological attributes of the relevant physical device data. The target physical device data corresponding to the lines between the target node set and the child nodes of the target node set, that is, the corresponding physical device data between these nodes, between nodes and lines, and between lines, that is, all the relevant physical device data on the corresponding business path of the topological operation of the analysis event according to the topological attributes are displayed, and the final analysis result, that is, the abnormal data corresponding to the analysis result of the analysis event is displayed.
[0077] Exemplarily, according to the network rate analysis event input by the user, the network element devices and service paths that the Internet access process of the Internet access number corresponding to the event passes through during the target time period are obtained on the network topology map, that is, a topological operation is performed, wherein the service path is obtained by querying the association relationship between the physical device data, which can be the association relationship between the network element devices, and the index data related to the network rate can be selected from the network element devices and the service path, such as memory utilization, port utilization, firewall concurrent session number, etc. Through the network topology map, that is, the mapping relationship between the topological structure and the physical network, the underlying physical network data corresponding to the index data selected on the network topology map can be queried, and based on the topological attributes of the physical device data corresponding to the above topological operation, the network element devices and service paths that the Internet access process passes through, as well as the physical device data of the related index data are displayed in real time on the network topology map. By comparing the index data with the preset index threshold, it is determined whether the index data is abnormal. If the index data is abnormal, the corresponding analysis result is obtained, and the analysis result is displayed on the topology map in combination with the topological attributes of the physical device data of the index data.
[0078] The method, apparatus, device, computer-readable storage medium and computer program product for analyzing network topology data of the embodiment of the present application, the method, apparatus, device, computer-readable storage medium and computer program product for analyzing network topology data of the embodiment of the present application, the embodiment acquires physical device data in the physical network, and constructs a network topology map according to the association relationship between the physical device data and the physical device data. The network topology map includes multiple nodes and lines between multiple nodes. The nodes represent physical device data. The physical device data includes the device identification of the physical device and the associated data of the physical device. The associated data includes the data associated with the physical device itself and the data associated with the physical device and other physical devices. The lines between nodes represent the relationship between the physical device data and the physical device data. By constructing a network topology map according to the physical device data in the physical network and the association relationship between them, an operation platform is provided for topology operations, and data acquisition processing is separated from data topology analysis to improve the freedom of topology operations and to more intuitively represent physical device data. Then, a data analysis request from the user is received, and the data analysis request includes information about the analysis event. The target node for the analysis event is selected from the network topology map. A target node set and the lines between the sub-nodes of the target node set are selected in the network topology diagram, and the target associated data are selected from the physical device data corresponding to the lines between the sub-nodes of the target node set; the target node set of the analysis event, the lines between its sub-nodes and the corresponding associated data are selected on the network topology diagram according to the data analysis request, and complex and various topological operations can be performed on the network topology diagram without considering the association of the underlying physical network data, thereby improving the flexibility of using the network topology for data analysis; finally, by comparing the target associated data with the preset data, the analysis result of the analysis event is obtained, and the target node set, the lines between the sub-nodes of the target node set, and the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, as well as the analysis result are displayed in the network topology diagram according to the target topological attributes, and the target topological attributes are the topological attributes of the target physical device data; adding topological presentation attributes to the physical device data can synchronously display all data such as the analysis process and analysis results in the data analysis process in real time, expand the application of the network topology diagram, and can flexibly and effectively implement data analysis through the network topology.
[0079] As another implementation method of the present application, the associated data of the physical device includes device attribute data, static configuration data, device performance data, capacity data and alarm complaint data; step S120: construct a network topology diagram based on the association relationship between the device attribute data, static configuration data, device performance data, capacity data, alarm complaint data and physical device data.
[0080] The associated data of physical devices include device attribute data, static configuration data, device performance data, capacity data and alarm complaint data.
[0081] Among them, the device attribute data may include the device name, manufacturer, device type, computer room and other attribute information. These data can be displayed in the topology and can also support the clustering multi-device analysis of the same computer room, the same manufacturer, etc. in the topology analysis; static configuration data may include routing configuration, interface configuration, terminal address pool configuration, tunnel configuration, etc. These data are used to generate the topology and map the relationship between the physical port and the bearer service. They can also be used to support the analysis functions such as business process failure delimitation and tunnel connection and disconnection test in the topology analysis; performance data may include CPU load, memory utilization, registration success rate, session establishment success rate, paging success rate, etc. These data are used to display the performance of network element devices and service paths in the topology and support the complaint delimitation analysis of the topology analysis; capacity data may include the number of registered users, the number of online users, the number of concurrent sessions, port bandwidth, etc. These data can be used to display the equipment capacity utilization analysis and support the disaster recovery analysis in the topology analysis; alarm complaint data may include alarm level, alarm content, complaint number, complaint content, etc. These data show the alarm status of the equipment / line and the distribution of complaint numbers on the equipment, and support the alarm complaint analysis in the topology analysis. A network topology diagram is constructed based on the physical device data and the association relationship between the physical device data. The network topology diagram can represent the mapping relationship between the topology structure and the physical network.
[0082] This embodiment integrates the device attributes, static configuration, performance, capacity, alarm and complaint data of the physical network, so as to more intuitively and accurately display the network structure and status in the topology map, provide data support for topology analysis, and improve the effectiveness and flexibility of network topology data analysis.
[0083] As another implementation method of the present application, the association relationship between physical device data includes the relationship between devices, the matching relationship between device type and indicator data and database tables, the data aggregation relationship and the relationship between ports and bearer service flows; step S120: constructing a network topology diagram based on the association relationship between physical device data and physical device data, including: constructing a network topology diagram based on the relationship between physical device data and devices, the matching relationship between device type and indicator data and database tables, the data aggregation relationship and the relationship between ports and bearer service flows.
[0084] The associations between physical device data include the relationship between devices, the matching relationship between device types and indicator data and database tables, the data aggregation relationship, and the relationship between ports and service flows. These associations can be represented and stored in the form of mapping tables, and the network topology diagram can represent the mapping relationship between the topology structure and the physical network.
[0085] Among them, the relationship between devices can include the core network mobility management device AMF01, and the fields contained in its device mapping table include manufacturer, computer room, left neighbor device, left neighbor port, right neighbor device 1, right neighbor port 1, right neighbor device 2, right neighbor port 2, standby device, belonging to POOL, etc. This mapping relationship is the basis for drawing topology and analyzing service paths, and supports upper-level analysis of equipment with the same manufacturer and computer room disaster recovery; the matching relationship between device type and indicator data and database table can include, for example, the corresponding indicators of AMF type devices include registration success rate, paging success rate, CPU load, etc.; the corresponding indicators of firewall devices include: memory utilization, number of concurrent sessions, etc.; this mapping relationship can support the indicators selected by the upper layer, and specific data can be queried. The data aggregation relationship can include that after multiple AMFs in the POOL are aggregated to the AMF pool, the number of registered users is cumulative, the registration success rate is the numerator and denominator are accumulated separately, the firewall active and standby concurrent session load, the port bandwidth load is the maximum, etc.; this mapping relationship supports the expansion / aggregation of the active and standby devices, the same POOL devices, the transmission line diagram and the actual connection diagram at the topology analysis layer, and displays the corresponding data according to the topology status. The relationship between the port and the bearer service flow can include that after the core network is service-oriented, the service-oriented interfaces such as N4 / N8 / N10 are the same interface from the physical connection point of view. If the logical protocol interface is not marked in the topology, the carried service cannot be distinguished, so it is necessary to establish a mapping relationship between the port and the carried service; such as the physical port interface xgei-2 / 0 / 7 / 1, its sub-interface .1 carries the N6 interface, and the sub-interface .3 carries the N3 interface, etc.; this mapping relationship can support the upper-layer alarm and service flow topology analysis functions.
[0086] This embodiment can construct a more detailed and accurate network topology map by integrating the relationship between devices, the matching relationship between device types and indicator data and database tables, and the data aggregation relationship and other physical device data relationships. It can more intuitively understand the network structure and its operating status, and provide data support for topology analysis, thereby improving the effectiveness and flexibility of network topology data analysis.
[0087] As another implementation method of the present application, the target-related data includes target attribute data, target indicator data and target collection and distribution data; step S160: obtaining the analysis result of the analysis event by comparing the target-related data with the preset data, including: obtaining the analysis result of the analysis event by comparing the target attribute data, target indicator data with the target collection and distribution data and the corresponding preset data.
[0088] After analyzing the business path of the business data flow related to the event, the associated data corresponding to the connection between the nodes and the sub-nodes of these nodes may include attribute data, indicator data and distributed data. Among them, attribute data may include computer room, manufacturer, etc.; indicator data may include the number of users, success rate, Ping delay, port utilization, etc.; distributed data may include similar attribute data or indicator data that can be displayed in aggregate or dispersed form, such as the number of concurrent sessions, etc.
[0089] The topological operations related to the analysis event can include single / multiple nodes, such as selecting the attribute data of the computer room, manufacturer, etc. of a single node, or selecting the data analysis of indicator data such as the number of users and success rate, or the number of users, load, success rate, etc. of multiple nodes in the same computer room of a certain node. The topological operations related to the analysis event can also include data analysis of the service path, such as clicking two nodes in succession to select a continuous topological path, selecting indicator data such as Ping delay and port utilization on the path, or selecting the path of a certain user's Internet service to perform data analysis on the service path. The topological operations related to the analysis event can also include node expansion / aggregation analysis, such as double-clicking on the logical node of the firewall to expand it into the actual active and standby firewall devices. If the logical node shows that the number of concurrent sessions is 1000, after expansion, the number of concurrent sessions on the active and standby devices will be 550 and 450 respectively. The topological operations related to the analysis event can also include node calling analysis components, such as calling the dialing task of other systems on the node, or starting the analysis component of "session establishment success rate degradation location" on the node.
[0090] After obtaining target associated data such as attribute data, indicator data or collection and distribution data corresponding to the topological operation related to the analysis event, these data are compared with the preset data corresponding to the analysis event. The preset data can be preset thresholds, preset conditions and preset events, etc. The analysis result of the analysis event is obtained by comparing the associated data corresponding to the topological operation related to the analysis event with the preset data.
[0091] This embodiment performs topological operations on the network topology map and obtains corresponding associated data for further comparative analysis with preset data, wherein the physical device data corresponding to the topological operation includes attribute data, indicator data, and distribution data, thereby providing a rich variety of deep-level topological operation methods and increasing the flexibility of network topology analysis.
[0092] As another implementation method of the present application, the topology attributes include a topology presentation identifier, a topology presentation font, and a topology presentation position; step S160: displaying the target node set, the lines between the sub-nodes of the target node set, and the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, as well as the analysis results in the network topology map according to the target topology attributes, including: displaying the target node set, the lines between the sub-nodes of the target node set, and the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, as well as the analysis results in the network topology map according to the target topology presentation identifier, the target topology presentation font, and the target topology presentation position.
[0093] The topological properties of the data may include topological presentation identifier, font, font color, relative node / line position, etc. The topological attribute values and presentation methods of the corresponding data are different for different topological operations. For example, normal data presentation = (1, Msyh, black, 2), that is, the data is to be presented in the topology, the font is Microsoft YaHei, the color is black, and the relative position is 2. Abnormal data presentation, DataShowProp = (1, Msyh, red, 2), that is, when the indicator data is judged to be abnormal data, the topological operation is called to implement, and the data is presented in the topology, the font is Microsoft YaHei, the color is red, and the relative position is 2. The topological operation is to clear the current data display with one click AllClear(), and set the data with the topological presentation identifier of 1 in the data topological properties to 0.
[0094] Topological operations involve associating nodes and the lines between nodes, such as business path identification. By selecting the source and destination nodes in the topology, the continuous nodes / lines between the source and destination nodes are associated. The data related to the business path includes channel indicator data such as bandwidth utilization, TCP connection success rate, TCP connection delay, etc., and also includes the Ping success rate and Ping delay of the business path connection test. Selecting data presentation on the business path is also to modify the topological properties of the above channel indicator data, but the display position is different from that of a single node, and can be the middle position of the long side above the smallest ellipse outside the business path.
[0095] Topological operations involve analysis processes. Data in the analysis process is synchronously presented in the topology. Whether to present the data can be set by adding topological attributes of the data. At the same time, it is necessary to identify whether it is single network data or associated network data, so as to select reasonable location parameters in the data topological attributes. The analysis process carrier here is an independent data analysis component. The input parameter of the analysis component belongs to the device, that is, the device type associated with the analysis component.
[0096] In the network topology diagram, multiple nodes corresponding to the topological operation of the analysis event and the connections between these nodes, that is, the corresponding business path of the topological operation of the analysis event are displayed according to the topological attributes of the relevant physical device data. The target physical device data corresponding to the connections between the target node set and the child nodes of the target node set are also displayed, that is, the physical device data corresponding to these nodes, between nodes and connections, and between connections. In other words, all relevant physical device data on the corresponding business path of the topological operation of the analysis event according to the topological attributes are displayed. The final analysis result is also displayed, that is, the abnormal data corresponding to the analysis result of the analysis event is displayed.
[0097] This embodiment adds topology presentation attributes to the data to identify whether the data is presented in the topology and how it is presented, thereby rendering and displaying the data analysis process and data analysis results on the topology map, thereby improving the effectiveness and flexibility of network topology data analysis.
[0098] As another implementation of the present application, in step S170: displaying the target node set, the connections between the sub-nodes of the target node set, and the target physical device data corresponding to the connections between the target node set and the sub-nodes of the target node set in the network topology diagram according to the target topology attributes, and before analyzing the results, the method also includes: receiving modification information of the topological attributes of the target-associated data target from the user; and modifying the topological attributes of the target-associated data based on the modification information.
[0099] After obtaining the analysis result of the analysis event, the user's modification information on the topological attributes of the target associated data of the physical device data related to the analysis result is received, and the topological attributes of the target associated data of the physical device data related to the analysis result are modified so that they can be displayed synchronously in real time on the topology.
[0100] This embodiment realizes real-time synchronization of data analysis and topology rendering by timely adjusting data topology attributes during the data analysis process, thereby improving the effectiveness and flexibility of network topology data analysis.
[0101] As another implementation of the present application, the method further includes: receiving update data of the user on the physical device data; and updating the topology map based on the update data and the association relationship between the physical device data.
[0102] In actual communication networks, as networks and services evolve, network devices will increase or decrease accordingly. Similarly, indicator data will also increase or decrease. To adapt to changes in the existing network, we have designed some change mechanisms. Figure 2 A schematic diagram of the processing flow of a newly added device provided in one embodiment of the present application is shown. Figure 2As shown, the processing flow of adding a new device includes steps S210 to S240.
[0103] Step S210: receiving device update data.
[0104] Receive user update data for physical device data, where the update data may include device update data.
[0105] Step S220: Determine whether the device type exists.
[0106] Determine whether the device type of the newly added device in the device update data already exists in the existing mapping relationship.
[0107] Step S230: updating the device mapping table and the port mapping table.
[0108] If the device type of the newly added device already exists, update it in the device mapping table and port mapping table. In the device mapping table, a row is automatically added, and each field is automatically obtained by reading the master and backup and POOL configurations. A row is automatically added in the port mapping table, and each field is automatically obtained by reading the port configuration of the newly added device.
[0109] Step S240: updating the device mapping table, port mapping table, and device type and indicator data.
[0110] If the device type of the newly added device does not exist, update the device mapping table, port mapping table, and device type and indicator data. In the device mapping table, a row is automatically added, and each field is automatically obtained by reading the master and backup and POOL configurations. A row is automatically added to the port mapping table, and each field is automatically obtained by reading the port configuration of the newly added device. A row is automatically added to the device type and indicator data, and each field is automatically obtained by reading the data sharing table header of the newly added device.
[0111] Regarding the increase or decrease of equipment and indicator data, Figure 3 FIG. 1 shows a schematic diagram of a processing flow of newly added indicator data provided by an embodiment of the present application. Figure 3 As shown, the processing flow of the newly added indicator data includes steps S310 to S330.
[0112] Step S310: receiving indicator data update data.
[0113] Receive user update data for physical device data, where the update data may include label data update data.
[0114] Step S320: Find the device and device type where the newly added indicator data is located.
[0115] Find the device and device type where the newly added indicator data is located, and determine the corresponding device type and indicator data mapping table.
[0116] Step S330: Update the device type and indicator data mapping table.
[0117] Updates are made in the device type and indicator data mapping table, and a row is automatically added to the device type and indicator data. Each field is derived from the newly added data and its device type.
[0118] Receive device update data and / or indicator data of the user for physical device data; based on the update data, according to the association relationship between the physical device data and the physical device data, update the mapping table stored for representing the association relationship between the physical device data, and update the topology map based on the updated mapping table.
[0119] This embodiment receives user update data on physical device data and dynamically adjusts the topology map based on the update data, thereby ensuring that the network topology map always reflects the latest network status and improving data analysis accuracy.
[0120] As another implementation of the present application, the method also includes: after receiving the user's data analysis request in step S130, the method also includes: calling the analysis component to select a target node set for the analysis event and the connections between the sub-nodes of the target node set from the network topology map; selecting target-related data from the physical device data corresponding to the target node set for the analysis event and the connections between the sub-nodes of the target node set in the network topology map; and obtaining the analysis result of the analysis event by comparing the target-related data with the preset data.
[0121] By calling the preset analysis component corresponding to the analysis event, the nodes related to the analysis event and the connection between the sub-nodes of these nodes are selected on the network topology map, that is, the physical devices related to the analysis event and the connection relationship between the physical devices are selected on the network topology map, that is, the service path of the service data flow related to the analysis event is selected on the topology map, and the associated data corresponding to the connection between the nodes and the sub-nodes of these nodes, that is, the target associated data is selected on the associated data corresponding to the selected service path, and these data are compared with the preset data corresponding to the analysis event. The preset data can be a preset threshold, preset conditions, and preset events, etc. The target associated data corresponding to the topological operation related to the analysis event is compared with the preset data to obtain the analysis result of the analysis event. Exemplarily, the analysis component can be a rate analysis component, which includes a user contract rate query, a user plane device UPF current effective rate query, and a billing and policy device PCF speed limit policy query, and the output results are compared and analyzed. The functions of data query, data mapping, and data management are completed in the analysis component.
[0122] This embodiment completes the selection of the business path of the business data flow related to the analysis event from the network topology diagram through calling, and selects the target associated data from the associated data corresponding to the business path. By comparing the target associated data with the preset data, the analysis result of the analysis event is obtained, thereby improving the analysis efficiency and accuracy of the network topology data analysis.
[0123] As another implementation of the present application, the method also includes: receiving new component data from a user for a component library, the component library being used to store analysis components; and based on the new component data, adding an analysis component corresponding to the new component data to the component library.
[0124] In topological data analysis, in addition to basic data selection and presentation, another important analysis capability is the real-time synchronous presentation of analysis components and topological presentation. Of course, according to the needs of data analysis such as fault and complaint demarcation, the analysis components that complete specific analysis tasks are also a gradual increase process. Then, after the analysis components are added, in order to ensure that they can be synchronized with the real-time data of the network connection topology, the system adds a component registration process to complete the review and registration of new components. For example, the newly added analysis components can be downtime status analysis components, contract status analysis components, whitelist analysis components, segmented Ping test components, computer room disaster recovery analysis components, etc.
[0125] Figure 4 A schematic diagram of the processing flow of a newly added analysis component provided in one embodiment of the present application is shown. Figure 4 As shown, the processing flow of the newly added analysis component includes steps S410 to S470.
[0126] S410: Data analysis component registration.
[0127] S420: View all components running all devices of the design.
[0128] S430: Searching for a device mapping table associated with the component in the mapping table.
[0129] S430: View the first device involved in the component operation, and associate the component with a topological node of the device type.
[0130] S450: Check whether the data in the component is marked with topology presentation parameters.
[0131] S460: Add to the component library and associated device call list.
[0132] The data in the component has been annotated with topology presentation parameters and added to the component library and associated device call list.
[0133] S470: Prompt to improve the component topology presentation configuration.
[0134] The data in the component does not have topology presentation parameters marked, prompting you to improve the component topology presentation configuration.
[0135] This embodiment receives the component newly added data of the component library by the user, and adds the analysis component corresponding to the component newly added data in the component library, so as to improve the analysis efficiency and accuracy of the network topology data analysis.
[0136] In one embodiment, Figure 5 FIG. 1 shows a flow chart of a method for analyzing network rate provided by an embodiment of the present application. Figure 5 As shown, the method includes steps S510 to S540.
[0137] S510: Obtain a service path and display the service path.
[0138] Based on the complaint card number input by the user, the network element devices that the number passes through during the Internet access process are queried in the network topology map; by querying the mapping relationship between the data type and the data table, the name of the user service path table that needs to be queried is returned; the user service path table is queried to obtain the network element device where the user is currently located, and the service path display is completed in the topology.
[0139] S520: Key indicator analysis of business paths.
[0140] In the network topology diagram, select the indicator data that may affect the data transmission performance during the complaint time, such as memory utilization, port utilization, and the number of concurrent firewall sessions; query the associated node data based on the indicator selection results, and return the performance data table name to be queried based on the mapping relationship between the data type and the data table, and then read the data from the corresponding performance data table, modify the topological attribute values of these data, and complete the data display on the business path on the network topology diagram. If the indicator of a certain device is abnormal at this time, it is initially delimited to the problem of the device, and then other data analysis for the device is continued.
[0141] S530: Invoke a user rate analysis component.
[0142] At the user node of the service path in the network topology diagram, start the user rate analysis component. The analysis component includes querying the user's contracted rate, querying the current effective rate of the user plane device UPF, and querying the speed limit policy of the billing and policy device PCF, and compares and analyzes the output results. The analysis component completes the three-layer functions of data management, data mapping, and data query. The data returned by the analysis component is displayed on the network topology diagram to complete the data and analysis conclusions. If the user's contracted rate is similar to the current effective policy, it means that the user's contracted rate is too low; if the user has an effective speed limit policy, the reason for triggering the policy is the reason for the user's slow Internet access.
[0143] S540: Segmented Ping test of the service path.
[0144] The segmented Ping test component is triggered on the service path in the network topology diagram. The component includes the ping test process of multiple service paths such as UPF to base station, UPF to customer, UPF to core network exit firewall, etc. The real-time data collection is completed in the component. This is different from other historical data analysis. The device command is called to initiate the ping test and data collection in real time. According to the returned data such as delay and packet loss rate, the data mapping relationship and data management layer function of the ping source and destination devices are queried, and finally the data is returned to the network topology diagram. The segmented display of the topology is completed in the network topology diagram, such as the delay and packet loss rate of each segment. According to the delay and packet loss rate of the segment, it can be determined which segment has a problem, and further analysis of the equipment involved in the segment can be continued. According to the designed delimitation ideas and analysis process, each analysis component can be called in turn, and the calling method is similar to step 530.
[0145] Based on the same concept, the present application embodiment provides a device for analyzing network topology data. Figure 6 The device for analyzing network topology data provided in the embodiment of the present application is described in detail.
[0146] Figure 6 1 is a structural block diagram of a device for analyzing network topology data shown in an embodiment of the present application. Figure 6 As shown, the network topology data analysis device may include:
[0147] An acquisition module 610 is used to acquire physical device data in a physical network;
[0148] A construction module 620 is used to construct a network topology diagram according to the association relationship between the physical device data and the physical device data, wherein the network topology diagram includes a plurality of nodes and lines between the plurality of nodes, wherein the nodes represent the physical device data, the physical device data includes the device identification of the physical device and the associated data of the physical device, the associated data includes the data associated with the physical device itself and the data associated with the physical device and other physical devices, and the lines between the nodes represent the relationship between the physical device data and the physical device data;
[0149] The receiving module 630 is used to receive a data analysis request from a user, where the data analysis request includes information about an analysis event;
[0150] A selection module 640 is used to select a target node set for analyzing an event and connections between subnodes of the target node set from the network topology diagram;
[0151] The selection module 640 is further used to select a target node set of the analysis event in the network topology diagram and select target associated data from the physical device data corresponding to the connection between the subnodes of the target node set;
[0152] The comparison module 650 is used to obtain the analysis result of the analysis event by comparing the target associated data with the preset data;
[0153] Display module 660 is used to display the target node set, the connections between the sub-nodes of the target node set, the target physical device data corresponding to the connections between the target node set and the sub-nodes of the target node set, and the analysis results in the network topology diagram according to the target topology attributes. The target topology attributes are the topology attributes of the target physical device data.
[0154] In one embodiment, the associated data of the physical device includes device attribute data, static configuration data, device performance data, capacity data and alarm complaint data; the construction module 620 is specifically used to construct a network topology diagram based on the association relationship between the device attribute data, static configuration data, device performance data, capacity data, alarm complaint data and physical device data.
[0155] In one embodiment, the association relationship between physical device data includes the relationship between devices, the matching relationship between device type and indicator data and database tables, the data aggregation relationship and the relationship between ports and bearer service flows; the construction module 620 is specifically used to construct a network topology diagram based on the physical device data and the relationship between devices, the matching relationship between device type and indicator data and database tables, the data aggregation relationship and the relationship between ports and bearer service flows.
[0156] In one embodiment, the target associated data includes target attribute data, target indicator data and target collection and distribution data; the comparison module 650 is specifically used to obtain the analysis result of the analysis event by comparing the target attribute data, target indicator data with the target collection and distribution data and the corresponding preset data.
[0157] In one embodiment, the topology attributes include a topology presentation identifier, a topology presentation font, and a topology presentation position; the display module 660 is specifically used to display the target node set, the lines between the sub-nodes of the target node set, and the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, as well as the analysis results in the network topology diagram according to the target topology presentation identifier, the target topology presentation font, and the target topology presentation position.
[0158] In one embodiment, before displaying the target node set, the lines between the sub-nodes of the target node set, and the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set in accordance with the target topological attributes in the network topology diagram, and analyzing the results, the display module 660 is specifically used to receive modification information of the topological attributes of the target associated data from the user; and modify the topological attributes of the target associated data based on the modification information.
[0159] In one embodiment, the construction module 620 is further used to receive update data of the physical device data from the user; based on the update data, according to the association relationship between the physical device data and the physical device data, update the topology map.
[0160] In one embodiment, after receiving the user's data analysis request, the selection module 640 is also used to call the analysis component to select the target node set of the analysis event and the connections between the sub-nodes of the target node set from the network topology map; select the target node set of the analysis event and the connections between the sub-nodes of the target node set in the network topology map to select target associated data from the physical device data corresponding to the connection between the sub-nodes of the target node set; and obtain the analysis result of the analysis event by comparing the target associated data with the preset data.
[0161] In one embodiment, the construction module 620 is also used to receive the component newly added data from the user to the component library, and the component library is used to store analysis components; based on the component newly added data, an analysis component corresponding to the component newly added data is added to the component library.
[0162] Figure 6 Each module in the device shown has the function of realizing Figure 1 and Figure 5 The functions of each step in the process can achieve the corresponding technical effects, which will not be described in detail here for the sake of brevity.
[0163] The present application embodiment provides a network topology data analysis architecture. Figure 7 The architecture of network topology data analysis provided in the embodiments of the present application is described in detail. Figure 7 1 is an architecture diagram of a network topology data analysis shown in an embodiment of the present application. Figure 7 As shown in Figure 1, the network topology data analysis architecture is divided into four layers: data sharing layer, data mapping layer, data management layer, and topology analysis layer.
[0164] 1. The data sharing layer mainly completes the data collection and processing of the physical network, and does not consider how the data is used. The data sharing layer can be designed independently or shared with the enterprise-level data sharing platform. The commonly used data in topology analysis include the following categories:
[0165] 1. Equipment attribute data: such as the name, manufacturer, type, and computer room of the equipment. These data can be displayed in the topology and can also support cluster analysis of multiple devices in the same computer room and manufacturer in topology analysis.
[0166] 2. Static configuration data: routing configuration, interface configuration, terminal address pool configuration, tunnel configuration, etc. These data are used to generate topology and map the relationship between physical ports and bearer services. They can also be used to support analysis functions such as business process failure demarcation and tunnel connectivity testing in topology analysis.
[0167] 3. Performance data: CPU load, memory utilization, registration success rate, session establishment success rate, paging success rate, etc. These data are used to display the performance of network element devices and service paths in the topology, and support complaint demarcation analysis of topology analysis, etc.
[0168] 4. Capacity data: number of registered users, online user capacity, number of concurrent sessions, port bandwidth, etc.; these data can be used to display equipment capacity utilization analysis and support disaster recovery analysis in topology analysis;
[0169] 5. Alarm complaint data: alarm level, alarm content, complaint number, complaint content, etc. These data show the alarm status of the device / line and the distribution of complaint numbers on the device, supporting alarm complaint analysis in topology analysis.
[0170] 2. The data mapping layer mainly maintains the mapping relationship between topology and physical network. There are mainly four types of mapping relationships:
[0171] 1. Relationship between devices: For example, the core network mobility management device AMF01, its device mapping table contains fields such as manufacturer, computer room, left neighbor device, left neighbor port, right neighbor device 1, right neighbor port 1, right neighbor device 2, right neighbor port 2, standby device, belonging to POOL, etc. This table is the basis for drawing topology and analyzing service paths, and supports upper-layer analysis such as same-manufacturer equipment and computer room disaster recovery.
[0172] 2. The matching relationship between device type, indicator data and database table: For example, the corresponding indicators of AMF devices include registration success rate, paging success rate, CPU load, etc.; the corresponding indicators of firewall devices include: memory utilization, number of concurrent sessions, etc.; this mapping relationship can support the indicators selected by the upper layer, and specific data can be queried.
[0173] 3. Data aggregation relationship: For example, after multiple AMFs in the POOL are aggregated to the AMF pool, the number of registered users is cumulative, the registration success rate is accumulated in the numerator and denominator respectively, the number of concurrent sessions of the active and standby firewalls, the port bandwidth load are the maximum, etc.; this data mapping relationship supports the expansion / aggregation of the active and standby devices, devices in the same POOL, transmission line diagrams, and actual connection diagrams in the topology analysis layer, and displays the corresponding data according to the topology status.
[0174] 4. Relationship between ports and service flows: After the core network is service-oriented, service-oriented interfaces such as N4 / N8 / N10 are the same interface in terms of physical connection. If the logical protocol interface is not marked in the topology, the services carried cannot be distinguished. Therefore, it is necessary to establish a mapping relationship between ports and services carried. For example, the physical port interface xgei-2 / 0 / 7 / 1, its sub-interface .1 carries the N6 interface, and the sub-interface .3 carries the N3 interface. This mapping relationship can support the topology analysis functions of upper-layer alarms and service flows.
[0175] 3. The data management layer mainly manages the topological attributes of static data associated with devices or intermediate data in the analysis process in order to support various operations of topological analysis. Three basic management scenarios are defined here.
[0176] 1. Topological attribute management of data, define the topological attribute values of several data, including at least 4 attributes: topological presentation identifier, font, font color, relative node / line position, etc. Define several topological operations for data presentation, such as normal data presentation, = (1, Msyh, black, 2), that is, this data is to be presented in the topology, the font is Microsoft YaHei, the color is black, and the relative position is 2. Abnormal data presentation, DataShowProp = (1, Msyh, red, 2), that is, when the indicator data is judged to be abnormal data, call this topological operation to implement, the data is presented in the topology, the font is Microsoft YaHei, the color is red, and the relative position is 2. You can also define an operation to clear the current data display with one click, such as AllClear(), to set all data with the topological presentation identifier of 1 in the data topological attributes to 0.
[0177] 2. Data management of associated nodes. In order to achieve data management of nodes / links with associated relationships, several associated node operations are defined, such as business path identification. By selecting the source and destination nodes in the topology, the continuous nodes / links between the source and destination nodes are associated. The data related to the business path includes channel indicator data such as bandwidth utilization, TCP connection success rate, TCP connection delay, etc., and also includes the Ping success rate and Ping delay of the business path connection test. Selecting data presentation on the business path is also to modify the topological properties of the above channel indicator data, but the display position is different from that of a single node, and can be the middle position of the long side above the smallest ellipse outside the business path.
[0178] 3. Data management of the analysis process is the core function of the topology analysis of this proposal. In the data analysis process, you can set whether to present by adding the topological attributes of the data. At the same time, you need to identify whether it is single network data or associated network data, so as to select reasonable location parameters in the data topology attributes. The analysis process carrier here is an independent data analysis component. The device to which the input parameters of the analysis component belong is the device type associated with the analysis component.
[0179] Fourth, the topology analysis layer defines several corresponding topology operations based on conventional topology operations and user-oriented data analysis scenarios to meet user analysis needs.
[0180] First, single / multi-node data analysis, such as selecting attribute data such as the computer room and manufacturer of a single node, or selecting indicator data such as the number of users and success rate, or analyzing the number of users, load, success rate, etc. of multiple nodes in the same computer room of a certain node; second, data analysis of business paths, such as clicking two nodes in succession, selecting a continuous topology path, selecting indicator data such as Ping delay and port utilization on the path, or selecting a path for a certain user's Internet service, and performing data analysis on the business path; third, node expansion / aggregation analysis, such as double-clicking on the logical node of the firewall to expand it into the actual active and standby firewall devices. If the logical node shows that the number of concurrent sessions is 1000, after expansion, the number of concurrent sessions on the active and standby devices will be 550 and 450 respectively. Fourth, node call analysis components, such as calling the dial test task of other systems on the node, or starting the "session establishment success rate degradation location" analysis component on the node.
[0181] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application is shown.
[0182] The electronic device may include a processor 810 and a memory 820 storing computer program instructions.
[0183] Specifically, the processor 810 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0184] The memory 820 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 820 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 820 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 820 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 820 is a non-volatile solid-state memory.
[0185] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of the present disclosure.
[0186] The processor 810 implements any one of the network topology data analysis methods in the above embodiments by reading and executing computer program instructions stored in the memory 820 .
[0187] In one example, the electronic device may further include a communication interface 830 and a bus 840. Figure 8 As shown, the processor 810, the memory 820, and the communication interface 830 are connected via a bus 840 and communicate with each other.
[0188] The communication interface 830 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0189] Bus 840 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 840 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0190] The electronic device can execute the network topology data analysis method in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 6 Describes a method for analyzing network topology data.
[0191] In addition, in combination with the network topology data analysis method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the network topology data analysis methods in the above embodiment is implemented.
[0192] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, implements any one of the network topology data analysis methods in the above embodiments.
[0193] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0194] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0195] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0196] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0197] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for analyzing network topology data, characterized in that: The method comprises: Get physical device data in the physical network; According to the association relationship between the physical device data and the physical device data, a network topology diagram is constructed, wherein the network topology diagram includes a plurality of nodes and lines between the plurality of nodes, wherein the nodes represent the physical device data, the physical device data includes a device identifier of the physical device and associated data of the physical device, the associated data includes data associated with the physical device itself and data associated with the physical device and other physical devices, and the lines between the nodes represent the relationship between the physical device data and the physical device data; Receiving a data analysis request from a user, wherein the data analysis request includes information of an analysis event; Selecting a target node set of the analysis event and connections between subnodes of the target node set from the network topology diagram; Selecting target associated data from the target node set of the analysis event and physical device data corresponding to the connection between subnodes of the target node set in the network topology diagram; Obtaining an analysis result of the analysis event by comparing the target-related data with preset data; In the network topology diagram, the target node set, the connections between the sub-nodes of the target node set, the target physical device data corresponding to the connections between the target node set and the sub-nodes of the target node set, and the analysis results are displayed according to the target topology attributes, and the target topology attributes are the topology attributes of the target physical device data.
2. The method according to claim 1, characterized in that The associated data of the physical device includes device attribute data, static configuration data, device performance data, capacity data and alarm complaint data; The constructing a network topology diagram according to the physical device data and the association relationship between the physical device data includes: A network topology diagram is constructed based on the association between the device attribute data, the static configuration data, the device performance data, the capacity data, the alarm complaint data and the physical device data.
3. The method according to claim 1, characterized in that The association relationship between the physical device data includes the relationship between devices, the matching relationship between device type and indicator data and database table, the data aggregation relationship and the relationship between ports and bearer service flows; The constructing a network topology diagram according to the physical device data and the association relationship between the physical device data includes: A network topology diagram is constructed based on the relationship between the physical device data and the devices, the matching relationship between the device type and the indicator data and the database table, the data aggregation relationship, and the relationship between the port and the bearer service flow.
4. The method according to claim 1, characterized in that: The target-related data includes target attribute data, target indicator data and target collection and distribution data; The obtaining of the analysis result of the analysis event by comparing the target associated data with the preset data includes: The analysis result of the analysis event is obtained by comparing the target attribute data, the target indicator data, the target distribution data and the corresponding preset data.
5. The method according to claim 1, characterized in that The topology attributes include a topology presentation identifier, a topology presentation font, and a topology presentation position; Displaying the target node set, the connection between the sub-nodes of the target node set, the target physical device data corresponding to the connection between the target node set and the sub-nodes of the target node set, and the analysis result in the network topology map according to the target topology attributes, including: In the network topology diagram, the target node set, the lines between the sub-nodes of the target node set, the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, and the analysis results are displayed according to the target topology presentation identifier, the target topology presentation font and the target topology presentation position.
6. The method according to claim 1, characterized in that Before displaying the target node set, the lines between the sub-nodes of the target node set, the target physical device data corresponding to the lines between the target node set and the sub-nodes of the target node set, and the analysis result in the network topology map according to the target topology attributes, the method further includes: Receiving modification information of the topological attribute of the target association data by the user; The topological attribute of the target association data is modified based on the modification information.
7. The method according to claim 1, characterized in that The method further comprises: Receiving update data of the physical device data by a user; Based on the update data, the topology map is updated according to the physical device data and the association relationship between the physical device data.
8. The method according to claim 1, characterized in that: After receiving the data analysis request from the user, the method further includes: Call the analysis component to select the target node set of the analysis event and the connections between the sub-nodes of the target node set from the network topology diagram; select target-related data from the physical device data corresponding to the target node set of the analysis event and the connections between the sub-nodes of the target node set in the network topology diagram; and obtain the analysis result of the analysis event by comparing the target-related data with preset data.
9. The method according to claim 1, characterized in that: The method further comprises: receiving component newly added data from a user to a component library, wherein the component library is used to store analysis components; Based on the component newly added data, an analysis component corresponding to the component newly added data is added to the component library.
10. A device for analyzing network topology data, characterized in that: The device comprises: An acquisition module, used to acquire physical device data in a physical network; A construction module, used to construct a network topology diagram according to the association relationship between the physical device data and the physical device data, wherein the network topology diagram includes a plurality of nodes and lines between the plurality of nodes, wherein the nodes represent the physical device data, the physical device data includes a device identifier of the physical device and associated data of the physical device, the associated data includes data associated with the physical device itself and data associated with the physical device and other physical devices, and the lines between the nodes represent the relationship between the physical device data and the physical device data; A receiving module, configured to receive a data analysis request from a user, wherein the data analysis request includes information about an analysis event; A selection module, used to select a target node set of the analysis event and connections between subnodes of the target node set from the network topology diagram; The selection module is further used to select the target node set of the analysis event in the network topology diagram and select target associated data from the physical device data corresponding to the connection between the sub-nodes of the target node set; A comparison module, used for obtaining the analysis result of the analysis event by comparing the target-related data with preset data; A display module is used to display the target node set, the connections between the sub-nodes of the target node set, the target physical device data corresponding to the connections between the target node set and the sub-nodes of the target node set, and the analysis results in the network topology diagram according to the target topology attributes, and the target topology attributes are the topology attributes of the target physical device data.
11. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for analyzing network topology data as described in any one of claims 1-9 is implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for analyzing network topology data as described in any one of claims 1 to 9 is implemented.
13. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method for analyzing network topology data as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Network topology graphical display methods and systems
CN102281154A
Network link analysis method based on network topological graph
CN110912746A
Fault positioning system visualization method based on simulation topological structure
CN111988176A
Power grid data analysis method, device and equipment and storage medium
CN118394835A
Method and system for checking network physical topology, processing equipment, program product and storage medium
CN118827346A