Topological information display method, device and equipment and computer readable storage medium
By obtaining and displaying the public subnet topology information of multi-level multi-subnet network resources, the problem of insufficient comprehensive network resource display in the existing technology is solved, the fixed-focus display and automatic scaling of network resources are realized, and the network management and control system is improved Usability and visualization.
Patent Information
- Application Number
- CN202310798719.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2043-06-30
AI Technical Summary
In the network topology of multi-level multi-subnets, the existing technology is difficult to effectively display network resources and their connection relationships, resulting in insufficient display of comprehensive enough to meet users' fixed-focus display needs for network resources. The existing technology separates the network resources from The relationship between the subnet and other subnets limits the availability and visualization of the network management system.
By obtaining the topological information of the public subnet corresponding to the display request for the first network resource, including the network resource information and connection relationship of the first subnet and the second subnet, and on the basis of displaying the topological information, the first network is subject to the first network. The resources are displayed separately to ensure that the topological information displayed is more comprehensive, avoids redundancy, and supports fixed-focus display and multi-level scaling.
It realizes accurate focus display and automatic scaling of network resources in multi-level multi-subnet network topology, improves the efficiency of users to obtain network resource information, supports search for single and multiple network resources, and enhances the reliability of search results. and visualization.
Smart Images

Figure CN119232591A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device, equipment and computer-readable storage medium for displaying topology information. Background Art
[0002] With the development of communication technology, the information involved in the communication process is becoming more and more diversified and the amount is increasing. For example, topology information can be presented through network topology. Therefore, the topology information to be displayed can be determined and the determined topology information can be displayed accordingly to meet the user's demand for obtaining topology information. Summary of the invention
[0003] The present application provides a method, apparatus, device and computer-readable storage medium for displaying topology information to display more comprehensive topology information. The technical solution is as follows:
[0004] In a first aspect, a method for displaying topology information is provided, the method comprising: obtaining topology information of a public subnet corresponding to a display request for a first network resource, the public subnet comprising a first subnet and a second subnet, the first subnet being a subnet comprising the first network resource, the second subnet being a subnet other than the first subnet, the topology information comprising information of at least one network resource of the first subnet and the second subnet and a connection relationship between at least one network resource; based on displaying the topology information, distinguishing and displaying the first network resource.
[0005] By displaying the information of at least one network resource including the first subnet and the second subnet and the topology information of the connection relationship between at least one network resource, the displayed topology information is made more comprehensive, and the first network resource is displayed distinctively in the topology information, so as to display the first network resource with better visualization effect.
[0006] In a possible implementation, the public subnet is a subnet in the network topology that includes the first network resource and includes the least number of network elements and / or the lowest level. The public subnet determined in this way can ensure the integrity of the first network resource in the public subnet and avoid determining a subnet with too large a scope as a public subnet, which causes redundancy in the topology information of the public subnet.
[0007] In a possible implementation, the first network resource includes multiple network elements, any one of the multiple network elements corresponds to a reference subnet, and the reference subnet is a subnet that includes any one network element in the network topology and includes the least number of network elements and / or the lowest level; the public subnet is a subnet that includes multiple reference subnets corresponding to multiple network elements in the network topology and includes the least number of network elements and / or the lowest level. In the case where the first network resource includes multiple network elements, first determine multiple reference subnets, and then determine the public subnet that includes multiple reference subnets, which can ensure the accuracy of the determined public subnet, and further ensure the integrity of the first network resource in the public subnet, and reduce the redundancy that may be caused by the topological information of the public subnet.
[0008] In a possible implementation, at least one network resource of the first subnet and the second subnet includes any one of the following: the first subnet and the second subnet; or each network element in the first subnet and the second subnet; or each network element in the first subnet and each network element in the second subnet. The at least one network resource of the first subnet and the second subnet is different, and the corresponding content of displaying the at least one network resource is different, so that the method of displaying the at least one network resource is more flexible.
[0009] In a possible implementation, the method further includes: obtaining association information of the public subnet, the association information including information of a second network resource connected to the public subnet and a connection relationship between the second network resource and at least one network resource of the first subnet and the second subnet; and displaying the association information of the public subnet on the basis of displaying the topology information. In addition to displaying the topology information of the public subnet, the association information of the public subnet can also be displayed, so that the displayed information is more comprehensive, avoiding the severance of the connection between the public subnet and other network resources in the network topology, and improving the integrity of the displayed topology information of the public subnet.
[0010] In a possible implementation, obtaining the association information of the public subnet includes: determining the second network resource connected to the public subnet in the third subnet based on the topological information of the public subnet and the subnet parameters of the third subnet connected to the public subnet, wherein the subnet parameters include at least one of the subnet density and the subnet depth, the subnet density indicates the density of network elements in the third subnet, and the subnet depth indicates the relative size of the hierarchy of the third subnet to the reference hierarchy; determining the association information of the public subnet based on the second network resource. Determining the second network resource in the third subnet connected to the public subnet according to the subnet parameters can make the determined second network resource better meet the display requirements.
[0011] In a possible implementation, obtaining the topology information of the public subnet corresponding to the display request for the first network resource includes: obtaining the identifier of the first network resource carried in the display request; and determining the topology information of the public subnet based on the identifier of the first network resource and the network topology. Determining the topology information of the public subnet based on the identifier of the first network resource can ensure the accuracy of the determined public subnet, thereby ensuring the accuracy of the topology information of the public subnet.
[0012] In a second aspect, a device for displaying topology information is provided, the device comprising: an acquisition module, used to obtain topology information of a public subnet corresponding to a display request for a first network resource, the public subnet comprising a first subnet and a second subnet, the first subnet being a subnet comprising the first network resource, the second subnet being a subnet other than the first subnet, the topology information comprising information of at least one network resource of the first subnet and the second subnet and a connection relationship between at least one network resource; a display module, used to distinguish and display the first network resource based on the displayed topology information.
[0013] In a possible implementation manner, the public subnet is a subnet that includes the first network resource and includes the least number of network elements and / or the lowest level in the network topology.
[0014] In one possible implementation, the first network resource includes multiple network elements, any one of the multiple network elements corresponds to a reference subnet, and the reference subnet is a subnet that includes any one network element in the network topology and includes the least number of network elements and / or the lowest level; the public subnet is a subnet that includes multiple reference subnets corresponding to multiple network elements in the network topology and includes the least number of network elements and / or the lowest level.
[0015] In a possible implementation, at least one network resource of the first subnet and the second subnet includes any one of the following: the first subnet and the second subnet; or, each network element within the first subnet and the second subnet; or, each network element within the first subnet and each network element within the second subnet.
[0016] In one possible implementation, the acquisition module is also used to obtain association information of the public subnet, the association information including information of a second network resource connected to the public subnet and a connection relationship between the second network resource and at least one network resource of the first subnet and the second subnet; the display module is also used to display the association information of the public subnet based on the display of topology information.
[0017] In one possible implementation, an acquisition module is used to determine a second network resource connected to the public subnet in the third subnet based on the topological information of the public subnet and the subnet parameters of the third subnet connected to the public subnet, the subnet parameters including at least one of a subnet density and a subnet depth, the subnet density indicating the density of network elements in the third subnet, and the subnet depth indicating the relative size of the hierarchy of the third subnet to the reference hierarchy; and determine association information of the public subnet based on the second network resource.
[0018] In a possible implementation, the display module is used to obtain an identifier of a first network resource carried in a display request; and determine topology information of a public subnet based on the identifier of the first network resource and a network topology.
[0019] In a third aspect, another communication device is provided, the device comprising: a network interface, a memory, and a processor. The network interface, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control the network interface to receive signals and control the network interface to send signals, and when the processor executes the instructions stored in the memory, the processor executes the method in the first aspect or any possible implementation of the first aspect.
[0020] Optionally, there are one or more processors and one or more memories.
[0021] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
[0022] In a fourth aspect, a computer program (product) is provided, which includes: computer program code, which, when executed by a computer, enables the computer to execute the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0023] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a program or instruction. When the program or instruction runs on a computer, the method in the above-mentioned first aspect or any possible implementation of the first aspect is executed.
[0024] In a sixth aspect, a chip is provided, comprising a processor for calling and executing instructions stored in a memory, so that a computer equipped with the chip executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0025] In the seventh aspect, another chip is provided, comprising: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, a computer equipped with the chip executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0026] It should be understood that the beneficial effects achieved by the technical solutions of the second to seventh aspects of the present application and the corresponding possible implementation methods can be found in the above-mentioned technical effects of the first aspect and its corresponding possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of the structure of a subnet provided in an embodiment of the present application;
[0028] Figure 2 A schematic diagram of an implementation scenario provided for an embodiment of the present application;
[0029] Figure 3 A schematic diagram of a flow chart of a method for displaying topology information provided in an embodiment of the present application;
[0030] Figure 4 A schematic diagram of the topological structure of a multi-level and multi-subnet physical network model provided in an embodiment of the present application;
[0031] Figure 5 A schematic diagram of a display result of topology information provided in an embodiment of the present application;
[0032] Figure 6 A schematic diagram of another display result of topology information provided in an embodiment of the present application;
[0033] Figure 7 A schematic diagram of a display result of another topology information provided in an embodiment of the present application;
[0034] Figure 8 A schematic diagram of a display result of another topology information provided in an embodiment of the present application;
[0035] Fig. 9 A schematic diagram of an area to be displayed provided in an embodiment of the present application;
[0036] Fig.10 A schematic diagram of the structure of a device for displaying topological information provided in an embodiment of the present application;
[0037] Fig.11 A schematic diagram of the structure of a topology information display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0039] With the continuous development of information and communications technology (ICT) networks, the scale of networks has gradually expanded, the number of network elements (NEs) in the network has gradually increased, and the connection relationship between each network element has become more and more complex. Among them, network element is a general term for various types of equipment in the network. A device in the network can be a network element. For example, a server, a base station or a computer room can be a network element. Two network elements are connected to form a link, and the two endpoints of the link are two network elements. Multiple adjacent links are connected end to end to form a path. Multiple interconnected network elements can form a subnet. A subnet can include one or more network elements, and can also include one or more subnets.
[0040] For example, see Figure 1 , shows a schematic diagram of the structure of a subnet. The 1st layer subnet is Figure 1 The highest level subnet, layer 1 subnet includes layer 2 subnet A, layer 2 subnet B and layer 2 subnet C, or in other words, layer 2 subnet A, layer 2 subnet B and layer 2 subnet C belong to layer 1 subnet. Correspondingly, layer 2 subnet includes layer 3 subnet. For example, Figure 1 The middle layer 2 subnet A includes layer 3 subnet A, layer 3 subnet B and layer 3 subnet C. Figure 1 The circles in the figure represent network elements, such as network element 21, network element 22 and network element 1, and a line between any two network elements represents that the two network elements can achieve communication connection through wired or wireless communication.
[0041] Any two network elements are connected to form a link, and the two network elements on a link can be two network elements that belong to the same subnet at any level. For example, Figure 1 The network elements represented by the two black circles in the 3-layer subnet A belong to the 3-layer subnet A. The two network elements can be used as the two endpoints of a link and connected to form a link. The network element represented by the black circle in the 3-layer subnet C and the network element 4 represented by the black circle in the 3-layer subnet D belong to the 1-layer subnet 11. The two network elements can also be used as the two endpoints of a link and connected to form a link.
[0042] Based on Figure 1 As can be seen from the description, the excessive number of network elements in the network and the complex connections between the network elements make it necessary to display the network elements and the connection relationships between the network elements based on similar Figure 1The network topology is organized in a multi-level and multi-subnet manner to construct a three-dimensional multi-branch tree structure to clearly display the network structure. For business production and operation and maintenance personnel, when performing operations such as path calculation, fault location, business performance measurement and resource search, they need to search for the required network resources in the large network topology and accurately obtain network resource information in the displayed local topology view.
[0043] The embodiment of the present application provides a method for displaying topology information, which can accurately focus on network resources and display the topology information corresponding to the network resources. Figure 2 , showing a schematic diagram of an implementation scenario of the method. The implementation scenario includes an input device, a network management device and a display device. The input device, the network management device and the display device can be integrated in different devices, or integrated in the same device, or any two of the input device, the network management device and the display device can be integrated in the same device, and the other device can be integrated in another device. Regardless of the integration of the input device, the network management device and the display device, the devices can communicate with each other through a wired or wireless connection.
[0044] A network management system is installed on the network management device, and the network management device includes a display request receiving interface, a conversion module, and a topology view sending interface. The display request receiving interface can receive a display request sent by an input device, and the network management device thereby obtains a user's display request for network resources, and can then determine the topology information corresponding to the network resources that need to be displayed in the network topology according to the display request. For example, the conversion module in the network management device determines the topology view corresponding to the display request according to the display request, and sends the topology view to the display device through the topology view sending interface. Among them, the topology view is a view that includes topology information that needs to be displayed, and the display device can display the received topology view to realize the display of topology information.
[0045] The present invention provides a method for displaying topology information. Figure 2 See the implementation scenario shown in Figure 3 , shows a schematic flow chart of a method for displaying topology information, which includes but is not limited to the following S301 to S302.
[0046] S301, obtaining topology information of a public subnet corresponding to a display request for a first network resource, where the public subnet includes a first subnet and a second subnet, where the first subnet is a subnet including the first network resource, and the second subnet is a subnet other than the first subnet, and the topology information includes information of at least one network resource of the first subnet and the second subnet and a connection relationship between at least one network resource.
[0047] In a possible implementation, obtaining topology information of a public subnet corresponding to a display request for a first network resource includes: obtaining an identifier of the first network resource carried in the display request; and determining topology information of the public subnet based on the identifier of the first network resource and the network topology.
[0048] For example, Figure 2 The input device shown can determine the network resources that need to be displayed in focus according to the needs of the user, that is, determine the first network resource, thereby determining the identifier of the first network resource to generate a display request. The embodiment of the present application does not limit the method of fixed-focus display. For example, the fixed-focus display can be to highlight the network resources that need to be displayed at the center of the display interface or topology view. Among them, the highlighting can be a highlight display, an enlarged display, or a stereoscopic display through a 3D projection. The network resources required by the user are displayed in focus, so that the display effect of the network resources is more intuitive, and the efficiency of the user obtaining the information of the displayed network resources through the display interface or topology view is improved. In addition, the embodiment of the present application does not limit the number and type of network resources. Network resources may include one or more network elements, subnets, links, and paths.
[0049] The following is an explanation of the process of determining the identifier of the first network resource. Optionally, if the first network resource is one or more network resources, the identifier of the first network resource can be determined based on the correspondence between the network resource and the identifier of the resource. The correspondence between the network resource and the resource identifier can be manually statically configured at the input device, or can be obtained by the input device based on network dynamic learning. For example, if the user's demand is to display the network element 63 in a fixed focus, that is, the first network resource is the network element 63, the identifier of the network element 63 can be determined based on the network resource and the identifier of the resource.
[0050] An application with a search function can also be deployed in the input device. If the user's demand is to focus on one or more uncertain network resources, a fuzzy search can be performed according to the user's demand through the application to determine the search results of the fuzzy search. The search results may include one or more network resources, and the search results are the first network resources. Then, the identifier of the first network resource can be determined based on the correspondence between the network resources and the resource identifiers. For example, if the input device obtains that the user's demand is to focus on displaying the network elements in area A, the input device can determine the various network elements in area A in the ICT network, determine the various network elements in area A as the first network resource, and determine the identifier of the first network resource based on the correspondence between the stored network resources and the resource identifiers.
[0051] Exemplarily, the identification of a resource may be a number, a physical address, or an Internet Protocol (IP) address that can identify a network resource in an ICT network. The embodiment of the present application does not limit the type and form of the identification of the resource. The identification of a resource can be divided into a single resource identification of a single network resource, and a group resource identification of multiple network resources. For example, an identification that can identify a single network element, a single subnet, a single link, or a single path is a single resource identification. Multiple network resources can be used as a group of network resources, and the multiple network resources included in a group of network resources can be network resources of the same type or network resources of different types. For example, a group of network resources may include multiple network elements, or may include both multiple network elements and multiple links, multiple paths, or multiple subnets. A group of network resources corresponds to a group resource identification, and a group resource identification corresponding to a group of network resources may be the sum of the identifications of each network resource in a group of network resources, or may be a separate identification that can identify the group of network resources.
[0052] Exemplarily, the single resource identifier of a single network element 63 may be the number 1863 of the network element 63, or may be the physical address of the network element 63 at xx in the district C of the city B of the province A, or may be the IP address xxx.xxx.xx.63 of the network element 63. The network resource 3 is a group of network resources, including the network element 31 and the link 32. The group resource identifier corresponding to the network resource 3 may include the identifiers of the network element 31 and the link 32, or may be an independent identifier that can identify the group of network resources.
[0053] After determining the identifier of the first network resource, the identifier of the first network resource can be used as a request parameter to generate a display request for requesting a fixed-focus display of the first network resource, that is, a display request for the first network resource. The input device sends the generated display request to the network management device through the display request receiving interface. The display request can be sent to the network management device by the user controlling the input device, or by the application that performs the search controlling the input device after the search.
[0054] After receiving the display request carrying the identifier of the first network resource, the network management device can determine the public subnet to which the first network resource belongs in the network topology. Optionally, the public subnet can be the subnet in the network topology that includes the first network resource and includes the least number of network elements and / or the lowest level.
[0055] The subnet hierarchy can be manually divided or automatically generated according to the content of the network topology, which is not limited in the embodiments of the present application. For example, the network elements in the network topology can be divided into subnets of different levels according to the geographical location or the importance of the network element. In one possible implementation, the first-layer subnet can correspond to the national backbone network, the second-layer subnet can correspond to the provincial backbone network, the third-layer subnet can correspond to the municipal network, and the fourth-layer subnet can correspond to the regional network. For example, see Figure 4 , shows a schematic diagram of the topological structure of a multi-level and multi-subnet physical network model. The network resources represented by the diamond are composed of subnet 11, which is a first-layer subnet. The network resources represented by the pentagon are composed of subnets of two layers, such as subnet 21. The network resources represented by the triangle are composed of subnets of three layers, such as subnet 31. The network resources represented by the circle are composed of subnets of four layers, such as the single network element subnet composed of network element 41. The high-level subnets and low-level subnets have a corresponding or inclusive relationship. For example, subnet 11 is Figure 4 The highest level subnet among the subnets shown in the figure includes subnet 21 and other layer 2 subnets. Subnet 21 includes Figure 4 The upper left corner shows subnet 31 and three layer 3 subnets connected to subnet 31. Subnet 31 contains Figure 4 The four-layer single subnet composed of the network element 41 in the upper left corner and the three four-layer subnets connected to the network element 41.
[0056] If the first network resource is a network element, the public subnet may be a subnet of a single network element in the network topology, which is composed of the network element itself, and a minimum subnet including at least one other subnet. Figure 1 , the first network resource includes the network element 1 represented by the black circle in the 3-layer subnet A. Figure 1 It can be seen that network element 1 belongs to both layer 3 subnet A and layer 2 subnet A. Since layer 3 subnet A is the subnet that includes network element 1 and has the lowest level and the least number of network elements among the subnets that include network element 1, the public subnet corresponding to network element 1 can be layer 3 subnet A.
[0057] When the first network resource is a network element, the first subnet included in the public subnet corresponding to the first network resource may be a subnet of a single network element constituted by the first network resource itself, and the second subnet included in the public subnet may be a subnet in the public subnet excluding the first network resource.
[0058] In one possible implementation, the first network resource includes multiple network elements, any one of the multiple network elements corresponds to a reference subnet, the reference subnet is a subnet that includes any one network element in the network topology and includes the least number of network elements and / or the lowest level, then the public subnet may be a subnet that includes multiple reference subnets corresponding to the multiple network elements in the network topology and includes the least number of network elements and / or the lowest level.
[0059] If the reference subnets corresponding to the multiple network elements included in the first network resource are the same subnet, the reference subnet may be determined as the public subnet corresponding to the first network resource. Figure 1 The first network resource includes network element 1 and network element 2 represented by black circles in layer 3 subnet A. The reference subnets corresponding to network element 1 and network element 2 are both layer 3 network A. Layer 3 subnet A can be determined as the public subnet of the first network resource.
[0060] If the reference subnets corresponding to the multiple network elements included in the first network resource are different subnets, the minimum subnet including each reference subnet can be determined as the common subnet corresponding to the first network resource. Figure 1 , taking the first network resource including two network elements as an example, the two network elements are network element 1 represented by a black circle in layer 3 subnet A and network element 3 represented by a black circle in layer 3 subnet C. The reference subnet corresponding to network element 1 may be layer 3 subnet A, and the reference subnet corresponding to network element 3 may be layer 3 subnet C. If layer 2 subnet A and layer 1 subnet are both subnets including layer 3 subnet A and layer 3 subnet C, then layer 2 subnet A, which includes the least number of network elements and has the lowest level, may be determined as the public subnet corresponding to the first network resource.
[0061] For example, continue to see Figure 1 For example, the first network resource includes three network elements, the three network elements are network element 1 represented by a black circle in layer 3 subnet A, network element 3 represented by a black circle in layer 3 subnet C, and network element 4 represented by a black circle in layer 3 subnet D. The reference subnet corresponding to network element 1 can be layer 3 subnet A, the reference subnet corresponding to network element 3 can be layer 3 subnet C, and the reference subnet corresponding to network element 4 can be layer 3 subnet D. Figure 1 In the example, only the 1st layer subnet is a subnet including the 3rd layer subnet A, the 3rd layer subnet C and the 3rd layer subnet D, then the 1st layer subnet can be determined as the public subnet corresponding to the first network resource.
[0062] In the case where the first network resource includes multiple network elements, the first subnet included in the public subnet corresponding to the first network resource can be a subnet of a single network element constituted by the first network resource itself or a reference subnet corresponding to each network element in the first network resource, and the second subnet included in the public subnet can be a subnet of a single network element or a subnet of multiple network elements constituted by other network elements in the public subnet except the first subnet.
[0063] After determining the public subnet corresponding to the first network resource, the topological information of the public subnet can be determined in the network topology, and the topological information of the public subnet can include information of at least one network resource of the first subnet and the second subnet, and the connection relationship between at least one network resource. The embodiment of the present application does not limit the information of the network resource. For example, the information of the network resource can include at least one of the number of the network resource, the physical location to which the network resource belongs, the running state of the network resource, and the attribute of the network resource. Among them, the running state of the network resource can include a state such as an engineering state or an engineering debugging state. If the running state of a network resource is an engineering state, it means that the network resource has been used in a certain project. If the running state of a network resource is in engineering debugging, it means that the network resource is still in the debugging stage and has not been used by the project. The attribute of the network resource can be an intelligent optical transport network (OTN) or a router, etc. The connection relationship between two network resources can be represented by a line. The embodiment of the present application does not limit the shape and type of the line. For example, the shape of the line can be a line segment, an arc or a broken line, etc., and the type of the line can be a single line, a double line, a solid line or a dotted line, etc.
[0064] S302: Based on the displayed topology information, the first network resources are displayed in a differentiated manner.
[0065] After the network management device completes the acquisition of the topology information of the public subnet according to the display request, it can convert the topology information of the public subnet into a topology view, and send the topology view to the display device through the topology view sending interface. The display device displays the topology view to realize the display of the topology information of the public subnet.
[0066] In the embodiment of the present application, the method of displaying topology information can be divided into different situations according to the difference in at least one network resource between the first subnet and the second subnet, including but not limited to the following situations A1 to A3.
[0067] In case A1, at least one network resource of the first subnet and the second subnet includes the first subnet and the second subnet.
[0068] In a possible implementation, information of the first subnet and the second subnet, as well as the connection relationship between the first subnet and the second subnet may be displayed. The first subnet may be a subnet composed of a single network element, or may be a subnet including multiple network elements.
[0069] For example, see Figure 5 , shows a schematic diagram of the display result of topology information. The black circle represents the first subnet, and the solid white circle connected to the black circle represents the second subnet. The display result not only shows the first subnet and the second subnet, but also shows the connection relationship between the first subnet and the second subnet represented by the solid line segment. In addition, the display result also includes Figure 5 The information of the first subnet and the second subnet is not shown.
[0070] In case A2, at least one network resource of the first subnet and the second subnet includes each network element in the first subnet and the second subnet.
[0071] In a possible implementation, since the first subnet is the subnet where the first network resource is located and the second subnet does not include the queried first network resource, the first subnet may be displayed in an expanded manner and the second subnet may be displayed roughly.
[0072] For example, see Figure 6 , showing a schematic diagram of another display result of topology information. Figure 6 The right side shows the composition of the public subnet, including subnet 1 to subnet 8. The first network resource is Figure 6 The path shown on the left side includes network element 64-network element 63-network element 53-network element 1-network element 3-network element 4-network element 2-network element 73-network element 72. The subnets 1 to 7 including the first network resources are expanded and displayed, that is, the network elements in the first subnet and the connection relationship between the network elements are displayed, among which subnet 5, subnet 6 and subnet 7 are multi-network element subnets, each including 5 different network elements, while subnet 1, subnet 2, subnet 3 and subnet 4 are subnets composed of a single network element. The second subnet that does not include the first network resources, that is, subnet 8, is roughly displayed, that is, only subnet 8 is displayed, and the information of the network elements included in subnet 8 represented by dotted lines and the connection relationship between the network elements included in subnet 8 are not displayed. In addition, the display results also include Figure 6 The information of each network element of the first subnet and the information of the second subnet are not shown.
[0073] In case A3, at least one network resource of the first subnet and the second subnet includes each network element in the first subnet and each network element in the second subnet.
[0074] In this case, both the first subnet and the second subnet are expanded and displayed, that is, the network elements included in the first subnet and the second subnet and the connection relationship between the network elements included in the first subnet and the connection relationship between the network elements included in the second subnet are displayed.
[0075] For example, see Figure 6 If the first network resource is a link composed of network element 53 and network element 63, the first subnet is subnet 5 and subnet 6, and subnet 1, subnet 2, subnet 3, subnet 4, subnet 7 and subnet 8 are all second subnets. Figure 6 Not only subnet 5 and subnet 6 are expanded and displayed, but also subnet 1, subnet 2, subnet 3, subnet 4, subnet 7, and subnet 8 are expanded and displayed.
[0076] Regardless of which situation the content included in at least one network resource of the first subnet and the second subnet corresponds to, the first network resource can be automatically distinguished and displayed based on the display of the topology information. For example, the first network resource is displayed in a fixed focus, and other network resources in the topology information of the public subnet are displayed in a non-fixed focus manner, so that other network resources in the topology information of the public subnet are easily distinguished from the first network resource. Exemplarily, the information of the first network resource and the connection relationship between the first network resources can be highlighted, and other network resources in the topology information of the public subnet can be displayed in a non-highlighted manner, so that the display brightness of other network resources in the topology information of the public subnet is lower than the display brightness of the first network resource. Alternatively, the information of the first network resource and the connection relationship between the first network resources can be displayed in an enlarged manner, so that the display size of other network resources in the topology information of the public subnet is relatively smaller than the display size of the first network resource. Alternatively, different colors can be used to represent the first network resource and other network resources in the topology information of the public subnet.
[0077] For example, see Figure 5 , the first network resource is Figure 5 The network resources represented by the black circles in area I and the network resources represented by the white circles connected by black solid lines in areas B, C, F, G, J, K and L are network resources other than the first network resources in at least one network resource of the first subnet and the second subnet.
[0078] See also Figure 7 , showing a schematic diagram of a display result of another topology information. The first network resource includes two network elements, for example, the first network resource is Figure 7The network element represented by the black circle in area B and the network element represented by the black circle in area I form a link. The network resource represented by the white circle connected to the link is a network resource other than the first network resource in at least one network resource of the first subnet and the second subnet.
[0079] See also Figure 8 , shows a schematic diagram of another display result of topology information. The first network resource includes six network elements, for example, the first network resource is a path formed by connecting network elements represented by black circles in areas A, B, I, J, and F, and network elements represented by black circles in area L. The network resources represented by white circles connected to the path and the network elements are network resources other than the first network resource in at least one network resource of the first subnet and the second subnet.
[0080] Optionally, if the first network resource includes a path, the embodiment of the present application can automatically focus and display the previous hop of the path when displaying the path. Figure 8 The network element represented by the cross circle is Figure 8 The previous hop in the path.
[0081] In addition, the user can also click on the first network resource in the topology view displayed in the display device to realize differentiated display of the first network resource.
[0082] In a possible implementation, in an embodiment of the present application, the display status of the first subnet and the second subnet can be adjusted according to user needs, that is, the expansion degree of the first subnet and the second subnet can be adjusted according to user needs. User needs can be sent to the network management device through an input device. For example, the user can click on the roughly displayed first subnet in the topology view that displays the topology information, and click the button to expand the subnet to input the user needs. After obtaining the user demand to expand and display the first subnet, the first subnet can be expanded and displayed, and the information of the first subnet is converted into information of each network element included in the first subnet and the connection relationship between the network elements included in the first subnet.
[0083] For another example, the user can click to expand the displayed second subnet in the topology view that displays the topology information, and click a button to collapse the subnet to input the user's needs. After obtaining the user's need to roughly display the second subnet, the second subnet can be roughly displayed, and the information of each network element included in the second subnet and the connection relationship between each network element included in the second subnet can be converted to displaying the information of the second subnet.
[0084] Alternatively, the user demand may also be a zoom ratio, and the embodiment of the present application may implement automatic zooming of the topology information according to the zoom ratio. Optionally, the user may adjust the zoom ratio of the topology view by sliding the mouse wheel. The zoom ratio may be determined based on the distance and direction of the wheel sliding. For example, sliding the wheel upward may represent enlarging the zoom ratio, and sliding the wheel downward may represent reducing the zoom ratio. The greater the distance the wheel slides, the greater the degree of adjustment to the zoom ratio, and the smaller the distance the wheel slides, the smaller the degree of adjustment to the zoom ratio.
[0085] If the user needs to reduce the zoom ratio, the first subnet or the second subnet that has been expanded can be roughly displayed, and the information of each network element of the first subnet and the connection relationship between each network element of the first subnet can be converted to the information of the first subnet. Or the information of each network element of the second subnet and the connection relationship between each network element of the second subnet can be converted to the information of the second subnet. Or the information of each network element of the first subnet and the second subnet and the connection relationship between each network element of the first subnet and each network element of the second subnet can be converted to the information of the first subnet and the second subnet and the connection relationship between the first subnet and the second subnet.
[0086] If the user needs to enlarge the zoom ratio, the roughly displayed first subnet or second subnet can be expanded and displayed, and the information of the first subnet can be converted to display the information of each network element of the first subnet and the connection relationship between the network elements of the first subnet.
[0087] Optionally, during automatic zooming, subnets may be expanded or collapsed hierarchically, and the process of realizing automatic multi-level zooming display may include: calculating the reference subnet hierarchy of the first subnet and the first network resource, determining the hierarchical path from the first subnet to the reference subnet of the first network resource, and opening the subnets on the hierarchical path layer by layer and in situ. For example, see Figure 1 , if the first subnet is a layer 2 subnet, the first subnet includes layer 3 subnet A and layer 3 subnet B, and layer 3 subnet A can also include Figure 1 In the example of the 4-layer subnet A and the 4-layer subnet B not shown in the figure, the 4-layer subnet A is the reference subnet of the first network resource. Then, when the first subnet is roughly displayed, after receiving the user's demand for enlarging the zoom ratio for the first time, the first subnet can be expanded and displayed to display the information of the 3-layer subnet A and the 3-layer subnet B in the first subnet, and the connection relationship between the 3-layer subnet A and the 3-layer subnet B. Then, if the user's demand for enlarging the zoom ratio is received for the second time, the 3-layer subnet A can be expanded and displayed to display the information of the 4-layer subnet A and the 4-layer subnet B, and the connection relationship between the 4-layer subnet A and the 4-layer subnet B, so as to realize the multi-level zoom display of the first subnet.
[0088] like Figure 6 , the minimum common subnet of the link composed of network element 53 and network element 63 is the subnet to which subnet 6 and subnet 5 belong, that is, the subnet composed of subnet 1 to subnet 8. When displaying the link, the link connecting subnet 6 and subnet 5 can be displayed. It is also possible to realize automatic multi-level scaling according to the automatic scaling function, automatically expand the reference subnets to which the network elements at both ends of the link belong, that is, automatically expand subnet 5 and subnet 6, and display the link as the precise connection between network element 63 and network element 53, so as to realize viewing the complete end-to-end (E2E) path of the link penetration in the topology in the zoom mode.
[0089] In a possible implementation, the embodiment of the present application can also obtain association information of the public subnet, the association information includes information of a second network resource connected to the public subnet and a connection relationship between the second network resource and at least one network resource of the first subnet and the second subnet; on the basis of displaying the topology information, the association information of the public subnet is displayed.
[0090] For example, see Figure 5 , Figure 5 Each network element connected by a solid line is at least one network resource included in the public subnet, and the dotted circles in areas A, D, E, and L connected to at least one network resource of the public subnet by a dotted line are second network resources. The dotted lines in the figure represent the connection relationship between the second network resource and at least one network resource. In addition, the display result also includes Figure 5 Information of the second network resource not shown in FIG.
[0091] Optionally, obtaining association information of the public subnet may include determining a second network resource connected to the public subnet in the third subnet based on topological information of the public subnet and subnet parameters of a third subnet connected to the public subnet, the subnet parameters including at least one of subnet density and subnet depth, the subnet density indicating the density of network elements in the third subnet, and the subnet depth indicating the relative size of the hierarchy of the third subnet to the reference hierarchy; determining association information of the public subnet based on the second network resource.
[0092] In one possible implementation, the subnet density may be the ratio of the number of network elements included in the third subnet to the range of the third subnet, the subnet depth may be the difference between the level of the third subnet and the level of the reference subnet, and the reference level may be a statically set level or may be dynamically adjusted according to display requirements.
[0093] Exemplarily, the topology information of the public subnet can be determined as the central area of the area to be displayed, and the range of the area to be displayed is calculated based on the range of the central area. And based on the third subnet included in the topology tree in the network topology, the zoom scale and the subnet parameters of the third subnet, the range of the area to be displayed and the second network resources within the zoom level are determined. The area to be displayed is the visible area of the user.
[0094] The embodiments of the present application do not limit the calculation method and representation method of the range of the area to be displayed. For example, a range of N times the range of the public subnet can be determined as the area to be displayed, N can be greater than or equal to 1, and the range of the area to be displayed can be represented by coordinates. For example, if the area to be displayed is a rectangle, the two diagonals of the area to be displayed can be represented by two-dimensional coordinates (x0y0, x1y1), thereby representing the range of the area to be displayed.
[0095] For example, see Fig. 9 , showing a schematic diagram of an area to be displayed. The solid rectangle represents the area to be displayed calculated in the network topology, the dotted box portion is the public subnet, subnet 10, subnet 12, subnet 13 and subnet 15 are the third subnets connected to the public subnet in the area to be displayed, and subnet 9, subnet 11, subnet 14 and subnet 16 are subnets in the network topology that do not enter the area to be displayed.
[0096] After determining the area to be displayed, the third subnet connected to the public subnet in the area to be displayed under the current zoom level can be determined according to the zoom scale. Then, the second network resource can be determined according to at least one of the subnet density and the subnet depth of the third subnet. Taking the determination of the second network resource according to the subnet density of the third subnet as an example, if the determined subnet density of the third subnet is greater than the density threshold, that is, the number of network elements included in the third subnet is small but the range corresponding to the third subnet is large, then the display mode of the third subnet can be determined as a rough display, that is, the third subnet is determined as the second network resource. Alternatively, if the subnet density of the third subnet is less than or equal to the density threshold, that is, the number of network elements included in the third subnet is large but the range corresponding to the third subnet is small, then the display mode of the third subnet can be determined as an expanded display, that is, each or part of the network elements included in the third subnet is determined as the second network resource.
[0097] Correspondingly, taking the determination of the second network resource according to the subnet depth of the third subnet as an example, if the reference level is the level of the public subnet, the depth of the third subnet is relatively large, that is, the difference between the level of the third subnet and the level of the public subnet is relatively large, which means that the correlation between the various network resources included in the third subnet and at least one network resource in the public subnet is relatively small, then the display mode of the third subnet can be determined as a rough display, that is, the third subnet is determined as the second network resource. If the depth of the third subnet is relatively small, that is, the difference between the level of the third subnet and the level of the public subnet is relatively small, which means that the correlation between the various network resources included in the third subnet and at least one network resource in the public subnet is relatively large, then the display mode of the third subnet can be determined as an expanded display, that is, the various network elements or part of the network elements included in the third subnet are determined as the second network resource.
[0098] In a possible implementation, the reference level is the lowest level in the network topology. If the depth of the third subnet is greater, the scope of the third subnet is larger, and the possibility of expanding and displaying the third subnet is smaller. If the depth of the third subnet is smaller, the scope of the third subnet is smaller, and the possibility of expanding and displaying the third subnet is greater. In addition, the second network resource can also be determined by combining the subnet density and subnet depth of the third subnet.
[0099] In the related technology, only the search for a single network resource is supported, and the search for a group of network resources such as a complete forwarding path or fuzzy search cannot be supported. After searching for network resources, it will be determined that the network resource is under a certain subnet, and the single subnet topology of the subnet will be displayed to locate the network resource. For example, when the multiple network elements to be searched are distributed in multiple different subnets, the related technology usually uses the bottom-level single subnet to which each network element in the path belongs to view the local forwarding path within each single subnet. For example, Figure 6 In the figure, the two endpoints of link C are network element 63 and network element 53 respectively. When displaying link C, the related art will separately display subnet 6 to which network element 63 belongs and subnet 5 to which network element 53 belongs, but will not display the connection relationship between subnet 6 and subnet 5. This method of displaying network resources in the related art breaks the network relationship or connection relationship between the subnet to which the network resource belongs and other subnets, limits the availability of the network management and control system, and has a poor visualization effect when displaying network resources.
[0100] The embodiment of the present application makes the displayed topology information more comprehensive by displaying information of at least one network resource including the first subnet and the second subnet and topology information of the connection relationship between at least one network resource, and displays the first network resource distinctively in the topology information, so as to display the first network resource with better visualization effect.
[0101] In summary, the embodiment of the present application can display the first network resource that connects multiple subnets in a multi-level and multi-subnet network topology in an automatic focusing manner, and the automatic focusing of the first network resource enables the topological information of the public subnet corresponding to the first network resource to be adaptively presented. The display area of the public subnet in the network topology can be determined based on the position of the public subnet in the network topology and the comprehensive calculation of the subnet parameters, and the topological information of the displayed network resources can be presented according to the zoom ratio and the area to be displayed. In addition, the method provided in the embodiment of the present application not only supports the search of a single network resource, but also supports the search of multiple network resources and fuzzy search, thereby improving the reliability of the search results.
[0102] The above describes the method for displaying topology information provided by the embodiment of the present application. Corresponding to the above method, the embodiment of the present application also provides a device for displaying topology information. The device is used to display the topology information by Fig.10 The modules shown above perform the Figure 3 The topology information is displayed as shown in . Fig.10 As shown, the topology information display device provided in the embodiment of the present application includes the following modules.
[0103] The acquisition module 1001 is used to obtain the topology information of the public subnet corresponding to the display request for the first network resource, the public subnet includes the first subnet and the second subnet, the first subnet is the subnet including the first network resource, and the second subnet is the subnet other than the first subnet, the topology information includes the information of at least one network resource of the first subnet and the second subnet and the connection relationship between at least one network resource; the display module 1002 is used to distinguish and display the first network resource based on the displayed topology information.
[0104] In a possible implementation manner, the public subnet is a subnet that includes the first network resource and includes the least number of network elements and / or the lowest level in the network topology.
[0105] In one possible implementation, the first network resource includes multiple network elements, any one of the multiple network elements corresponds to a reference subnet, and the reference subnet is a subnet that includes any one network element in the network topology and includes the least number of network elements and / or the lowest level; the public subnet is a subnet that includes multiple reference subnets corresponding to multiple network elements in the network topology and includes the least number of network elements and / or the lowest level.
[0106] In a possible implementation, at least one network resource of the first subnet and the second subnet includes any one of the following: the first subnet and the second subnet; or, each network element within the first subnet and the second subnet; or, each network element within the first subnet and each network element within the second subnet.
[0107] In a possible implementation, the acquisition module 1001 is also used to obtain association information of the public subnet, the association information including information of a second network resource connected to the public subnet and a connection relationship between the second network resource and at least one network resource of the first subnet and the second subnet; the display module 1002 is also used to display the association information of the public subnet based on the display of topology information.
[0108] In one possible implementation, the acquisition module 1001 is used to determine, in the third subnet, a second network resource connected to the public subnet based on the topological information of the public subnet and the subnet parameters of the third subnet connected to the public subnet, the subnet parameters including at least one of a subnet density and a subnet depth, the subnet density indicating the density of network elements in the third subnet, and the subnet depth indicating the relative size of the hierarchy of the third subnet to the reference hierarchy; and determine the association information of the public subnet based on the second network resource.
[0109] In a possible implementation, the display module 1002 is configured to obtain an identifier of a first network resource carried in a display request; and determine topology information of a public subnet based on the identifier of the first network resource and the network topology.
[0110] It should be understood that the above Fig.10 The device provided has the following beneficial effects when achieving its function: Figure 3 The beneficial effects of the method for displaying topological information provided are the same and will not be described in detail here. Fig.10 When the device provided realizes its functions, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0111] See also Fig.11 , Fig.11 A schematic structural diagram of an exemplary topology information display device 1100 of the present application is shown. The topology information display device 1100 includes at least one processor 1101 , a memory 1103 , an input interface 1107 , and at least one network interface 1104 .
[0112] Processor 1101 is, for example, a general-purpose central processing unit (CPU), a digital signal processor (DSP), a network processor (NP), a graphics processing unit (GPU), a neural-network processing units (NPU), a data processing unit (DPU), a microprocessor or one or more integrated circuits or application-specific integrated circuits (ASICs) for implementing the solution of the present application, a programmable logic device (PLD), other general-purpose processors or other programmable logic devices, discrete gates, transistor logic devices, discrete hardware components or any combination thereof. PLD is, for example, a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting an advanced RISC machines (ARM) architecture. It can implement or execute various logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0113] Optionally, the topology information display device 1100 further includes a bus 1102. The bus 1102 is used to transmit information between components of the topology information display device 1100. The bus 1102 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus 1102 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 The fact that only one line is used in the diagram does not mean that there is only one bus or only one type of bus.
[0114] The memory 1103 is, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache.
[0115] By way of example but not limitation, many forms of ROM and RAM are available. For example, ROM is a compact disc read-only memory (CD-ROM). RAM includes, but is not limited to, static RAM (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).
[0116] The memory 1103 may also be other types of storage devices that can store static information and instructions. Or it may be other types of dynamic storage devices that can store information and instructions. Or it may be other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, blue-ray disk, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by the computer, but is not limited to this. The memory 1103, for example, exists independently and is connected to the processor 1101 through the bus 1102. The memory 1103 may also be integrated with the processor 1101.
[0117] The network interface 1104 uses any transceiver-like device to communicate with other devices or communication networks, and the communication network can be Ethernet, radio access network (RAN) or wireless local area network (WLAN), etc. The network interface 1104 may include a wired network interface and may also include a wireless network interface. Specifically, the network interface 1104 may be an Ethernet interface, such as a fast Ethernet (FE) interface, a gigabit Ethernet (GE) interface, an asynchronous transfer mode (ATM) interface, a WLAN interface, a cellular network interface or a combination thereof. The Ethernet interface may be an optical interface, an electrical interface or a combination thereof. In some embodiments of the present application, the network interface 1104 may be used for the display device 1100 of topology information to communicate with other devices.
[0118] In a specific implementation, as some embodiments, the processor 1101 may include one or more CPUs, such as Fig.11 0 and CPU1 shown in FIG. Each of these processors may be a single-core processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0119] In a specific implementation, as some embodiments, the topology information display device 1100 may include multiple processors, such as Fig.11 1 and 1105. Each of these processors may be a single-core processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0120] In some implementations, the memory 1103 is used to store program instructions 1110 and an operating system 1111 for executing the solution of the present application, and the processor 1101 can execute the program instructions 1110 stored in the memory 1103. That is, the topology information display device 1100 can implement the method provided in the method embodiment through the processor 1101 and the program instructions 1110 in the memory 1103, that is, Figure 3 The method shown. The program instruction 1110 may include one or more software modules. Optionally, the processor 1101 itself may also store program instructions for executing the solution of the present application.
[0121] In a specific implementation process, the topology information display device 1100 of the present application may correspond to a first network element device for executing the above method, and the processor 1101 in the topology information display device 1100 reads the instruction in the memory 1103, so that Fig.11 The topology information display device 1100 shown can execute all or part of the steps in the method embodiment.
[0122] The topology information display device 1100 may also correspond to the above Fig.10 The device shown, Fig.10 Each functional module in the device shown is implemented using software of the topology information display device 1100. In other words, Fig.10 The functional modules included in the apparatus shown are generated after the processor 1101 of the topology information display device 1100 reads the program instructions 1110 stored in the memory 1103 .
[0123] in, Figure 3 Each step of the method shown is completed by an integrated logic circuit of hardware or software instructions in the processor of the topological information display device 1100. The steps of the method embodiment disclosed in the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps of the above method embodiment in combination with its hardware. To avoid repetition, it is not described in detail here.
[0124] In an exemplary embodiment, a computer program (product) is provided, the computer program (product) comprising: a computer program code, when the computer program code is executed by a computer, the computer executes Figure 3 The method shown.
[0125] In an exemplary embodiment, a computer-readable storage medium is provided, the computer-readable storage medium storing a program or instruction, when the program or instruction is executed on a computer, the computer executes the above Figure 3 The method shown.
[0126] In an exemplary embodiment, a chip is provided, including a processor for calling and executing instructions stored in a memory, so that a computer equipped with the chip executes Figure 3 The method shown.
[0127] In an exemplary embodiment, another chip is provided, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected through an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the computer equipped with the chip executes Figure 3 The method shown.
[0128] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.
[0129] In this application, the terms "first", "second", etc. are used to distinguish between identical or similar items with substantially the same effects and functions. It should be understood that there is no logical or temporal dependency between "first", "second", and "nth", nor is there a limitation on the quantity and execution order. It should also be understood that although the following description uses the terms first, second, etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another element.
[0130] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0131] The term "at least one" in this application means one or more, and the term "multiple" in this application means two or more, for example, multiple second devices means two or more second devices. The terms "system" and "network" are often used interchangeably herein.
[0132] It should be understood that the terms used in the description of the various examples herein are only for describing specific examples and are not intended to be limiting. As used in the description of the various examples and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0133] It should also be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The term "and / or" is a description of the association relationship of associated objects, indicating that three relationships may exist. 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 application generally indicates that the associated objects before and after are in an "or" relationship.
[0134] It should also be understood that the terms "if" and "if" may be interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the phrases "if it is determined that ..." or "if [a stated condition or event] is detected" may be interpreted to mean "upon determining that ..." or "in response to determining that ..." or "upon detecting [a stated condition or event]" or "in response to detecting [a stated condition or event]," depending on the context.
[0135] The above description is only an embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for displaying topological information, characterized in that: The method comprises: Acquire topology information of a public subnet corresponding to a display request for a first network resource, the public subnet comprising a first subnet and a second subnet, the first subnet being a subnet comprising the first network resource, the second subnet being a subnet other than the first subnet, the topology information comprising information of at least one network resource of the first subnet and the second subnet and a connection relationship between the at least one network resource; On the basis of displaying the topology information, the first network resources are displayed in a differentiated manner.
2. The method according to claim 1, characterized in that The public subnet is a subnet in the network topology that includes the first network resource and includes the least number of network elements and / or the lowest level.
3. The method according to claim 2, characterized in that The first network resource includes a plurality of network elements, any one of the plurality of network elements corresponds to a reference subnet, and the reference subnet is a subnet in the network topology that includes the any one network element and includes the least number of network elements and / or the lowest level; The public subnet is a subnet in the network topology that includes multiple reference subnets corresponding to the multiple network elements and includes the least number of network elements and / or the lowest level.
4. The method according to any one of claims 1 to 3, characterized in that: At least one network resource of the first subnet and the second subnet includes any one of the following: the first subnet and the second subnet; Or, each network element in the first subnet and the second subnet; Alternatively, each network element in the first subnet and each network element in the second subnet.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Acquire association information of the public subnet, the association information including information of a second network resource connected to the public subnet and a connection relationship between the second network resource and at least one network resource of the first subnet and the second subnet; On the basis of displaying the topology information, the association information of the public subnet is displayed.
6. The method according to claim 5, characterized in that The obtaining the association information of the public subnet includes: Determine, in the third subnet, the second network resource connected to the public subnet based on the topology information of the public subnet and the subnet parameters of the third subnet connected to the public subnet, wherein the subnet parameters include at least one of a subnet density and a subnet depth, wherein the subnet density indicates the density of network elements in the third subnet, and the subnet depth indicates the relative size of the hierarchy of the third subnet to the reference hierarchy; The association information of the public subnet is determined based on the second network resource.
7. The method according to any one of claims 1 to 6, characterized in that: The obtaining of topology information of a public subnet corresponding to a display request for a first network resource includes: Obtaining an identifier of the first network resource carried in the display request; Based on the identifier of the first network resource and the network topology, topology information of the public subnet is determined.
8. A device for displaying topological information, characterized in that: The device comprises: an acquisition module, configured to acquire topology information of a public subnet corresponding to a display request for a first network resource, the public subnet comprising a first subnet and a second subnet, the first subnet being a subnet comprising the first network resource, the second subnet being a subnet other than the first subnet, the topology information comprising information of at least one network resource of the first subnet and the second subnet and a connection relationship between the at least one network resource; The display module is used to differentiate and display the first network resources based on displaying the topology information.
9. The device according to claim 8, characterized in that The public subnet is a subnet in the network topology that includes the first network resource and includes the least number of network elements and / or the lowest level.
10. The device according to claim 9, characterized in that The first network resource includes multiple network elements, any one of the multiple network elements corresponds to a reference subnet, and the reference subnet is a subnet in the network topology that includes the any one network element and includes the least number of network elements and / or the lowest level; the public subnet is a subnet in the network topology that includes multiple reference subnets corresponding to the multiple network elements and includes the least number of network elements and / or the lowest level.
11. The device according to any one of claims 8 to 10, characterized in that: The at least one network resource of the first subnet and the second subnet includes any one of the following: the first subnet and the second subnet; or, each network element in the first subnet and the second subnet; or, each network element in the first subnet and each network element in the second subnet.
12. The device according to any one of claims 8 to 11, characterized in that: The acquisition module is further used to acquire association information of the public subnet, wherein the association information includes information of a second network resource connected to the public subnet and a connection relationship between the second network resource and at least one network resource of the first subnet and the second subnet; the display module is further used to display the association information of the public subnet based on displaying the topology information.
13. The device according to claim 12, characterized in that The acquisition module is configured to determine the second network resource connected to the public subnet in the third subnet based on the topology information of the public subnet and the subnet parameters of the third subnet connected to the public subnet, wherein the subnet parameters include at least one of a subnet density and a subnet depth, wherein the subnet density indicates the density of network elements in the third subnet, and the subnet depth indicates the relative size of the hierarchy of the third subnet to the reference hierarchy; The association information of the public subnet is determined based on the second network resource.
14. The device according to any one of claims 8 to 13, characterized in that: The acquisition module is used to acquire the identifier of the first network resource carried in the display request; and determine the topology information of the public subnet based on the identifier of the first network resource and the network topology.
15. A topology information display device, characterized in that: The device includes a processor coupled to a memory; the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor, so that the topology information display device implements the topology information display method described in any one of claims 1-7.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method for displaying topology information according to any one of claims 1 to 7.
17. A computer program product, characterized in that The computer program product includes a computer program / instruction, and the computer program / instruction is executed by a processor to enable a computer to implement the method for displaying topology information according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for processing network element object information in three-dimensional (3D) topology view
CN102638455A
Topological structure chart display method and device, equipment and storage medium
CN112115390A
Network topology division method and device and network topology management equipment
CN113595750A
Network topology display method and communication device
CN115426270A
Visualization of large information networks
US20050120030A1
