Display method, device and equipment of topology information and computer readable storage medium

By acquiring and distinguishing the topology information of public subnets in the network topology, the problem of information redundancy and fragmentation in complex networks is solved, achieving accurate focusing and efficient display of network resources and improving user experience.

CN119232591BActive Publication Date: 2026-03-27HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In complex network topologies, existing technologies struggle to accurately and efficiently display network resources and their connections, leading to information redundancy and fragmentation, which impacts business operations and maintenance personnel's tasks such as path calculation and fault location.

Method used

By acquiring the topology information of the public subnet, the system distinguishes and displays the first network resource from other network resources, including identifying the public subnet as the one containing the fewest network elements and/or the lowest level, and displaying related information to ensure the integrity and visualization of the information.

Benefits of technology

It enables accurate focusing and display of network resources, reduces information redundancy, improves display integrity and visualization effects, and enhances the efficiency of users in obtaining information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232591B_ABST
    Figure CN119232591B_ABST
Patent Text Reader

Abstract

The application discloses a display method and device of topology information, equipment and computer readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: acquiring topology information of a public subnet corresponding to a display request for a first network resource, wherein the public subnet comprises a first subnet and a second subnet, the first subnet is a subnet comprising the first network resource, the second subnet is a subnet other than the first subnet, the topology information comprises 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; and on the basis of displaying the topology information, the first network resource is displayed differently. By displaying the topology information comprising the information of at least one network resource of the first subnet and the second subnet and the connection relationship between the at least one network resource, the displayed topology information is more comprehensive, the first network resource is displayed differently in the topology information, and the first network resource is displayed with a better visual effect.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of communication technology, in particular to a method and apparatus for displaying topology information, and a computer readable storage medium. BACKGROUND

[0002] With the development of communication technology, the information involved in the communication process is more and more diversified and the quantity is more and more large. For example, topology information can be presented by network topology, so that 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

[0003] The present application provides a method and apparatus for displaying topology information, and a computer readable storage medium, to display more comprehensive topology information. The technical solutions are as follows:

[0004] In a first aspect, a method for displaying topology information is provided. The method includes: obtaining topology information of a public subnet corresponding to a display request for a first network resource, the public subnet including a first subnet and a second subnet, the first subnet being a subnet including the first network resource, and the second subnet being a subnet other than the first subnet, the topology information including 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; and displaying the first network resource based on the topology information.

[0005] By displaying the topology information including the information of at least one network resource of the first subnet and the second subnet and the connection relationship between the at least one network resource, the displayed topology information is more comprehensive, and the first network resource is displayed differently in the topology information, thereby achieving displaying the first network resource with a better visual effect.

[0006] In a possible implementation, the public subnet is a subnet in a network topology that includes the first network resource and has the least number of network elements and / or the lowest level. According to this method, the completeness of the first network resource in the public subnet is ensured, and the public subnet with a large range is avoided to be determined as the public subnet, thereby avoiding redundancy of the topology information of the public subnet.

[0007] In a possible implementation, 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 any one of the network elements and has the least number of included network elements and / or the lowest level. The common subnet is a subnet in the network topology that includes a plurality of reference subnets corresponding to the plurality of network elements and has the least number of included network elements and / or the lowest level. In the case where the first network resource includes a plurality of network elements, the plurality of reference subnets are determined first, and then the common subnet including the plurality of reference subnets is determined, which can ensure the accuracy of the determined common subnet, and further ensure the integrity of the first network resource in the common subnet, and reduce the redundancy that can be caused by the topology information of the common subnet.

[0008] In a possible implementation, 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. The at least one network resource of the first subnet and the second subnet is different, and the content corresponding to the at least one network resource is different, so that the way 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 common subnet, the association information including information of a second network resource connected to the common subnet and a connection relationship between the second network resource and the at least one network resource of the first subnet and the second subnet; and displaying the association information of the common subnet on the basis of displaying the topology information. In addition to displaying the topology information of the common subnet, the association information of the common subnet can also be displayed, so that the displayed information is more comprehensive, the connection between the common subnet and other network resources in the network topology is avoided from being fragmented, and the completeness of the displayed topology information of the common subnet is improved.

[0010] In a possible implementation, the obtaining of the association information of the common subnet includes: determining, in a third subnet, a second network resource connected to the common subnet based on the topology information of the common subnet and subnet parameters of the third subnet connected to the common 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 level of the third subnet and a reference level; and determining the association information of the common subnet based on the second network resource. According to the subnet parameters, the second network resource is determined in the third subnet connected to the common subnet, which can make the determined second network resource better meet the display requirements.

[0011] In a possible implementation, the acquiring the topology information of the public subnet corresponding to the display request for the first network resource comprises: acquiring the identifier of the first network resource carried by 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. The topology information of the public subnet is determined according to the identifier of the first network resource, which can ensure the accuracy of the determined public subnet, and further ensure the accuracy of the topology information of the public subnet.

[0012] In a second aspect, a display device of topology information is provided, which comprises: an acquiring 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, and the second subnet being a subnet other than the first subnet, and 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; and a display module, configured to display the first network resource based on the display of the topology information.

[0013] In a possible implementation, the public subnet is a subnet in the network topology that comprises the first network resource and has the least number of network elements and / or the lowest level.

[0014] In a possible implementation, the first network resource comprises a plurality of network elements, any one of the plurality of network elements corresponding to a reference subnet, the reference subnet being a subnet in the network topology that comprises any one of the network elements and has the least number of network elements and / or the lowest level, and the public subnet being a subnet in the network topology that comprises a plurality of reference subnets corresponding to the plurality of network elements and has the least number of network elements and / or the lowest level.

[0015] In a possible implementation, the at least one network resource of the first subnet and the second subnet comprises 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.

[0016] In a possible implementation, the acquiring module is further configured to acquire association information of the public subnet, the association information comprising information of a second network resource connected to the public subnet and a connection relationship between the second network resource and the at least one network resource of the first subnet and the second subnet; and the display module is further configured to display the association information of the public subnet based on the display of the topology information.

[0017] In a possible implementation, the acquisition module is configured to determine, in the third subnet, a second network resource connected to the public subnet based on the topology information of the public subnet and subnet parameters of the third subnet connected to the public subnet, the subnet parameters including at least one of subnet density and subnet depth, the subnet density indicating a density of network elements in the third subnet, and the subnet depth indicating a relative size of a hierarchy of the third subnet and a reference hierarchy; and determine the association information of the public subnet based on the second network resource.

[0018] In a possible implementation, the display module is configured to acquire an 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.

[0019] In a third aspect, another communication apparatus is provided, which includes a network interface, a memory, and a processor. The network interface, the memory, and the processor are in communication with each other through an internal connection path. The memory is configured to store instructions. The processor is configured to execute the instructions stored in the memory to control the network interface to receive a signal and control the network interface to send a signal. When the processor executes the instructions stored in the memory, the processor is caused to perform the method in the first aspect or any possible implementation of the first aspect.

[0020] Optionally, the processor is one or more, and the memory is one or more.

[0021] Optionally, the memory can be integrated with the processor, or the memory and the processor are arranged separately.

[0022] In a fourth aspect, a computer program (product) is provided, which includes computer program code. When the computer program code is run on a computer, the computer program code causes the computer to perform the method in the first aspect or any possible implementation of the first aspect.

[0023] In a fifth aspect, a computer-readable storage medium is provided, which stores a program or instructions. When the program or instructions are run on a computer, the method in the first aspect or any possible implementation of the first aspect is performed.

[0024] In a sixth aspect, a chip is provided, which includes a processor configured to invoke and run instructions stored in a memory, so that a computer installed with the chip performs the method in the first aspect or any possible implementation of the first aspect.

[0025] In a seventh aspect, another chip is provided, comprising: an input interface, an output interface, a processor and a memory, the input interface, the output interface, the processor and the memory being connected through internal connection paths, the processor being configured to execute codes in the memory, when the codes are executed, a computer installed with the chip executes the method in the first aspect or any possible implementation manner of the first aspect.

[0026] It should be understood that the technical solutions of the second aspect to the seventh aspect of the present application and the corresponding possible implementation manners have the beneficial effects as described above for the first aspect and its corresponding possible implementation manners, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0027] Figure 1 A structure diagram of a sub-network provided by an embodiment of the present application is shown in FIG. 1;

[0028] Figure 2 A diagram of an implementation scenario provided by an embodiment of the present application is shown in FIG. 2;

[0029] Figure 3 A flow diagram of a display method of topology information provided by an embodiment of the present application is shown in FIG. 3;

[0030] Figure 4 A topology structure diagram of a multi-level multi-sub-network physical network model provided by an embodiment of the present application is shown in FIG. 4;

[0031] Figure 5 A diagram of a display result of topology information provided by an embodiment of the present application is shown in FIG. 5;

[0032] Figure 6 A diagram of another display result of topology information provided by an embodiment of the present application is shown in FIG. 6;

[0033] Figure 7 A diagram of yet another display result of topology information provided by an embodiment of the present application is shown in FIG. 7;

[0034] Figure 8 A diagram of still another display result of topology information provided by an embodiment of the present application is shown in FIG. 8;

[0035] Figure 9 A diagram of a region to be displayed provided by an embodiment of the present application is shown in FIG. 9;

[0036] Figure 10 A structure diagram of a display device of topology information provided by an embodiment of the present application is shown in FIG. 10;

[0037] Figure 11 A structure diagram of a display device of topology information provided by an embodiment of the present application is shown in FIG. 10; DETAILED DESCRIPTION

[0038] The terms used in the embodiments of the present application are used only to explain specific embodiments of the present application, and are not intended to limit the present application.

[0039] With the continuous development of information and communications technology (ICT) networks, the network scale gradually expands, the number of network elements (NEs) in the network gradually increases, and the connection relationship between each network element becomes more complex. Among them, the network element is the general term of various devices in the network, and one 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, and a link can be formed. The two endpoints of the link are two network elements. A plurality of adjacent links connected end to end can form a path. A plurality of 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, referring to Figure 1 , a structural diagram of a subnet is shown. The 1-layer subnet is Figure 1 the highest level in the hierarchy, and the 1-layer subnet includes the 2-layer subnet A, the 2-layer subnet B and the 2-layer subnet C, or in other words, the 2-layer subnet A, the 2-layer subnet B and the 2-layer subnet C belong to the 1-layer subnet. Correspondingly, the 2-layer subnet includes the 3-layer subnet. For example, Figure 1 The 2-layer subnet A includes the 3-layer subnet A, the 3-layer subnet B and the 3-layer 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 the connection between any two network elements represents that the two network elements can be connected 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 any level of subnet. For example, Figure 1 The two network elements represented by the two black circles in the 3-layer subnet A belong to the 3-layer subnet A, and the two network elements can be used as two endpoints of a link to form a link. The network element represented by the black circle in the three-layer subnet C and the network element 4 represented by the black circle in the three-layer subnet D belong to the 1-layer subnet 11, and the two network elements can also be used as two endpoints of a link to form a link.

[0042] Based on the description of Figure 1 , it can be seen that the excessive number of network elements in the network and the complex connection between each network element makes it necessary to display each network element in the network and the connection relationship between each network element based on a structure similar to Figure 1The network topology is organized in a multi-level multi-subnet manner, and a body multi-ary tree structure is constructed to clearly show the structure of the network. For business production and operation personnel, in the process of path calculation, fault positioning, business performance measurement and resource search, the network resources required in the large network topology need to be searched, and the information of the network resources is accurately obtained in the displayed local topology view.

[0043] The embodiment of the present application provides a display method of topology information, which can accurately focus on network resources and display the topology information corresponding to the network resources. Referring to Figure 2 , a schematic diagram of an implementation scenario of the method is shown. 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 can be 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 is integrated in another device. Regardless of the integration of the input device, the network management device and the display device, the devices can communicate through wired or wireless connection.

[0044] The network management device is installed with a network management system, 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 the display request sent by the input device, and the network management device obtains the display request of the network resources by the user, and then can determine the topology information corresponding to the network resources 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. The topology view is a view including the topology information to be displayed, and the display device can display the received topology view to realize the display of the topology information.

[0045] The embodiment of the present application provides a display method of topology information, which can be applied to Figure 2 the implementation scenario shown in the figure. Referring to Figure 3 , a flowchart of a display method of topology information is shown, and the method includes but is not limited to the following S301 to S302.

[0046] S301, the topology information of the public subnet corresponding to the display request for the first network resource is obtained, the public subnet includes the first subnet and the second subnet, the first subnet is a subnet including the first network resource, the second subnet is a subnet other than the first subnet, and 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 the at least one network resource.

[0047] In one 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.

[0048] For example, such as Figure 2 The input device shown can determine the network resource that needs to be displayed in focus according to the user's needs, that is, determine the first network resource, and thus determine the identifier of the first network resource to generate a display request. This application embodiment does not limit the method of focus display. For example, focus display can be to highlight the network resource to be displayed at the center of the display interface or topology view. Highlighting can be through highlighting, magnification, or stereoscopic display via 3D projection. Displaying the network resource required by the user in focus makes the display effect of the network resource more intuitive and improves the efficiency of the user obtaining information about the displayed network resource through the display interface or topology view. Furthermore, this application embodiment does not limit the number and type of network resources; network resources can include one or more network elements, subnets, links, and paths.

[0049] The process of determining the identifier of the first network resource is described below. 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 resource identifier. The correspondence between the network resource and the resource identifier can be statically configured manually at the input device, or it can be dynamically learned by the input device based on the network. For example, if the user's requirement is to display network element 63 with a fixed focus, that is, if the first network resource is network element 63, the identifier of network element 63 can be determined based on the network resource and the resource identifier.

[0050] The input device can also be equipped with an application that has a search function. If the user's requirement is to display one or more uncertain network resources with a fixed focus, the application can perform a fuzzy search based on the user's needs to determine the search results. The search results can include one or more network resources, and the search results are the first network resources. Then, based on the correspondence between network resources and resource identifiers, the identifier of the first network resource can be determined. For example, if the input device obtains that the user's requirement is to display network elements in area A with a fixed focus, the input device can identify each network element in the ICT network belonging to area A, determine each network element in area A as the first network resource, and determine the identifier of the first network resource based on the stored correspondence between network resources and resource identifiers.

[0051] Exemplarily, the identifier of the resource can be a number, a physical address, or an internet protocol (IP) address, etc. capable of identifying the network resource in the ICT network. The type and form of the identifier of the resource are not limited in the embodiments of the present application. The identifier of the resource can be divided into a single-resource identifier of a single network resource and a group-resource identifier of a plurality of network resources. For example, the identifier capable of identifying a single network element, a single subnetwork, a single link, or a single path is a single-resource identifier. The plurality of network resources can be a group of network resources. The plurality of network resources included in the group of network resources can be network resources of the same type or network resources of different types. For example, the group of network resources can include a plurality of network elements, or a plurality of network elements, a plurality of links, a plurality of paths, or a plurality of subnetworks. The group of network resources corresponds to a group-resource identifier. The group-resource identifier corresponding to the group of network resources can be the sum of the identifiers of the network resources in the group of network resources, or an independent identifier capable of identifying the group of network resources.

[0052] Exemplarily, the single-resource identifier of the single network element 63 can be the number 1863 of the network element 63, the physical address A province B city C district xx of the network element 63, or 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 can include the identifiers of the network element 31 and the link 32, or an independent identifier capable of identifying the group of network resources.

[0053] After the identifier of the first network resource is determined, the identifier of the first network resource can be used as a request parameter to generate a display request for requesting the focused display of the first network resource, i.e., 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 by the user controlling the input device to the network management device, or can be sent by the application performing the search to the network management device after the search.

[0054] After the network management device receives the display request carrying the identifier of the first network resource, the public subnetwork to which the first network resource belongs can be determined in the network topology. Optionally, the public subnetwork can be a subnetwork including the first network resource and having the least number of network elements and / or the lowest level in the network topology.

[0055] The hierarchy of the subnets can be manually divided or automatically generated according to the content of the network topology, and the embodiments of the present application do not limit this. For example, the network elements in the network topology can be divided into subnets of different levels according to geographical location or importance of the network elements. In a possible implementation manner, a one-level subnet can correspond to a national backbone network, a two-level subnet can correspond to a provincial backbone network, a three-level subnet can correspond to a city network, and a four-level subnet can correspond to a regional network. For example, refer to Figure 4 , which shows a topological structure diagram of a multi-level multi-subnet physical network model. The subnet 11 composed of the network resources represented by the rhombus is a one-level subnet, the subnet composed of the network resources represented by the pentagon is a two-level subnet, for example, the subnet 21. The subnet composed of the network resources represented by the triangle is a three-level subnet, for example, the subnet 31. The subnet composed of the network resources represented by the circle is a four-level subnet, for example, the single-network-element subnet composed of the network element 41. The high-level subnet and the low-level subnet have a corresponding or containing relationship. For example, the subnet 11 is the highest-level subnet in the subnets shown in Figure 4 , and contains the subnet 21 and other two-level subnets. The subnet 21 contains the subnet 31 shown in the upper left corner of Figure 4 , and the three three-level subnets connected with the subnet 31. The subnet 31 contains the four-level single subnet composed of the network element 41 in the upper left corner of Figure 4 , and the three four-level subnets connected with the network element 41.

[0056] If the first network resource is a network element, the common subnet can be a single-network-element subnet composed of the network element itself in the network topology, and also include the minimum subnet of at least one other subnet. For example, refer to Figure 1 , the first network resource includes the network element 1 represented by the black circle in the three-level subnet A. According to Figure 1 , the network element 1 belongs to both the three-level subnet A and the two-level subnet A. Since the three-level subnet A is the subnet that includes the network element 1 and has the lowest level and the least number of included network elements in the subnet including the network element 1, the common subnet corresponding to the network element 1 can be the three-level subnet A.

[0057] In the case where the first network resource is a network element, the first subnet included in the common subnet corresponding to the first network resource can be a single-network-element subnet composed of the first network resource itself, and the second subnet included in the common subnet can be a subnet in the common subnet except the first network resource.

[0058] In a possible implementation, the first network resource comprises a plurality of network elements, any one of the plurality of network elements corresponds to a reference subnet, the reference subnet is a subnet in the network topology which comprises any one of the network elements and has the least number of network elements and / or the lowest level, and the common subnet can be a subnet in the network topology which comprises a plurality of reference subnets corresponding to the plurality of network elements of the first network resource and has the least number of network elements and / or the lowest level.

[0059] If the reference subnets corresponding to the plurality of network elements comprised by the first network resource are the same subnet, the reference subnet can be determined as the common subnet corresponding to the first network resource. For example, referring to Figure 1 , the first network resource comprises network element 1 and network element 2 represented by the black circles in the 3-layer subnet A, and the reference subnets corresponding to the network element 1 and the network element 2 are both the 3-layer subnet A, and the 3-layer subnet A can be determined as the common subnet of the first network resource.

[0060] If the reference subnets corresponding to the plurality of network elements comprised by the first network resource are different subnets, the smallest subnet comprising each reference subnet can be determined as the common subnet corresponding to the first network resource. For example, continuing to refer to Figure 1 , the first network resource comprises two network elements, which are network element 1 represented by the black circles in the 3-layer subnet A and network element 3 represented by the black circles in the 3-layer subnet C. The reference subnet corresponding to the network element 1 can be the 3-layer subnet A, and the reference subnet corresponding to the network element 3 can be the 3-layer subnet C. The 2-layer subnet A and the 1-layer subnet are both subnets comprising the 3-layer subnet A and the 3-layer subnet C, and the 2-layer subnet A having the least number of network elements and the lowest level can be determined as the common subnet corresponding to the first network resource.

[0061] For another example, continuing to refer to Figure 1 , the first network resource comprises three network elements, which are network element 1 represented by the black circles in the 3-layer subnet A, network element 3 represented by the black circles in the 3-layer subnet C, and network element 4 represented by the black circles in the 3-layer subnet D. The reference subnet corresponding to the network element 1 can be the 3-layer subnet A, the reference subnet corresponding to the network element 3 can be the 3-layer subnet C, and the reference subnet corresponding to the network element 4 can be the 3-layer subnet D. In Figure 1 , only the 1-layer subnet is a subnet comprising the 3-layer subnet A, the 3-layer subnet C and the 3-layer subnet D, and the 1-layer subnet can be determined as the common subnet corresponding to the first network resource.

[0062] In a case where the first network resource includes a plurality of network elements, the first subnet included in the common subnet corresponding to the first network resource can be a subnet of a single network element formed 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 common subnet can be a subnet of a single network element formed by other network elements except the first subnet in the common subnet or a subnet of multiple network elements.

[0063] After the common subnet corresponding to the first network resource is determined, the topology information of the common subnet can be determined in the network topology, and the topology information of the common subnet can include 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 information of the network resource is not limited in the embodiments of the present application, and exemplarily, the information of the network resource can include at least one of a number of the network resource, a physical location to which the network resource belongs, an operating state of the network resource, and an attribute of the network resource. The operating state of the network resource can include an engineering state or an engineering debugging state. If the operating state of a network resource is the engineering state, it means that the network resource has been used in an engineering, and if the operating state of a network resource is the engineering debugging state, it means that the network resource is still in a debugging stage and has not been used in the engineering. 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, and the shape and type of the line are not limited in the embodiments of the present application, for example, the shape of the line can be a line segment, an arc or a broken line, and the type of the line can be a single line, a double line, a solid line or a dashed line, etc.

[0064] S302, on the basis of displaying the topology information, the first network resource is displayed.

[0065] After the network management device completes the acquisition of the topology information of the common subnet according to the display request, the network management device can convert the topology information of the common subnet into a topology view, and send the topology view to the display device through a topology view sending interface, and the display device displays the topology view to realize the display of the topology information of the common subnet.

[0066] The embodiments of the present application can divide the method of displaying the topology information into different cases according to the difference of the at least one network resource of the first subnet and the second subnet, including but not limited to the following cases A1 to A3.

[0067] Case A1, the at least one network resource of the first subnet and the second subnet includes the first subnet and the second subnet.

[0068] In one possible implementation, information about the first subnet and the second subnet, as well as the connection relationship between them, can be displayed. The first subnet can be a subnet consisting of a single network element or a subnet including multiple network elements.

[0069] For example, see Figure 5 This diagram illustrates the display of topology information. Black circles represent the first subnet, and solid white circles connected to the black circles represent the second subnet. The display shows not only the first and second subnets but also their connection relationships, represented by solid line segments. Furthermore, the display includes... Figure 5 Information about the first and second subnets is not shown in the diagram.

[0070] In case A2, at least one network resource of the first subnet and the second subnet includes the various network elements within the first subnet and the second subnet.

[0071] In one possible implementation, since the first subnet is the subnet where the first network resource is located, and the second subnet does not include the first network resource being queried, the first subnet can be expanded and displayed, while the second subnet can be displayed in a coarse manner.

[0072] For example, see Figure 6 This shows a schematic diagram of the display results for another type of topology information. Figure 6 The right side shows the composition of the public subnet, including subnets 1 to 8. The first network resource is... Figure 6 The path shown on the left 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. Subnets 1 to 7, which include the first network resource, are displayed in expanded form, showing each network element within the first subnet and the connections between them. Subnets 5, 6, and 7 are multi-element subnets, each containing five different network elements, while subnets 1, 2, 3, and 4 are single-element subnets. The second subnet, excluding the first network resource (subnet 8), is displayed coarsely, showing only subnet 8 without showing the information about its individual network elements (represented by the dashed line) and the connections between them. Furthermore, the display results also include... Figure 6 Information about each element of the first subnet (not shown) and information about the second subnet.

[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, the first subnet and the second subnet are both displayed in an expanded manner, i.e., each network element included in the first subnet and the second subnet and the connection relationship between each network element included in the first subnet and the connection relationship between each network element included in the second subnet are displayed.

[0075] For example, continuing to refer to Figure 6 If the first network resource is the link composed of the network element 53 and the network element 63, the first subnet is the subnet 5 and the subnet 6, and the subnet 1, the subnet 2, the subnet 3, the subnet 4, the subnet 7 and the subnet 8 are all the second subnet. Figure 6 Not only the subnet 5 and the subnet 6 are displayed in an expanded manner, but also the subnet 1, the subnet 2, the subnet 3, the subnet 4, the subnet 7 and the subnet 8 are displayed in an expanded manner.

[0076] No matter which case the content included in the at least one network resource of the first subnet and the second subnet corresponds to, the first network resource can be automatically displayed in a distinguished manner on the basis of displaying the topology information, for example, the first network resource is displayed in a focused manner and other network resources in the topology information of the common subnet are displayed in a non-focused manner, so that the other network resources in the topology information of the common subnet are easily distinguished from the first network resource. For example, the information of the first network resource and the connection relationship between the first network resources can be highlighted, and the other network resources in the topology information of the common subnet are displayed in a non-highlighted manner, so that the display brightness of the other network resources in the topology information of the common subnet is lower than the display brightness of the first network resource. Or, 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 the other network resources in the topology information of the common subnet is relatively smaller than the display size of the first network resource. Or, the first network resource and the other network resources in the topology information of the common subnet can be represented by different colors.

[0077] For example, refer to Figure 5 The first network resource is Figure 5 the network resource represented by the black circle in the I region and the network resource represented by the white circle connected by the black solid line in the B region, the C region, the F region, the G region, the J region, the K region and the L region are the network resources other than the first network resource in the at least one network resource of the first subnet and the second subnet.

[0078] Refer to Figure 7 Another schematic diagram showing a display result of topology information is shown. The first network resource includes two network elements, for example, the first network resource is Figure 7The link is composed of the network element represented by the black circle in the B area and the network element represented by the black circle in the I area. The network resource represented by the white circle connected to the link is the network resource other than the first network resource in at least one of the first subnetwork and the second subnetwork.

[0079] Referring to Figure 8 , another schematic diagram of a display result of topology information is shown. The first network resource includes six network elements, for example, the first network resource is a path composed of the network elements represented by the black circles in the A area, the B area, the I area, the J area and the F area, and the network element represented by the black circle in the L area. The network resource represented by the white circle connected to the path and the network element is the network resource other than the first network resource in at least one of the first subnetwork and the second subnetwork.

[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. For example Figure 8 The network element represented by the plus cross circle inis the previous hop of the path in . Figure 8

[0081] In addition, the user can also distinguish the display of the first network resource by clicking the first network resource in the topology view displayed in the display device.

[0082] In a possible implementation, in the embodiment of the present application, the display state of the first subnetwork and the second subnetwork can be adjusted according to the user demand, that is, the expansion degree of the first subnetwork and the second subnetwork can be adjusted according to the user demand. The user demand can be sent to the network management device through the input device, for example, the user can click the first subnetwork displayed roughly in the topology view displaying the topology information, and input the user demand by clicking the button of expanding the subnetwork. After obtaining the user demand of expanding the display of the first subnetwork, the display of the first subnetwork is expanded, and the information of the first subnetwork is converted into the information of each network element included in the first subnetwork and the connection relationship between each network element included in the first subnetwork.

[0083] For another example, the user can click the second subnetwork displayed expanded in the topology view displaying the topology information, and input the user demand by clicking the button of folding the subnetwork. After obtaining the user demand of displaying the second subnetwork roughly, the second subnetwork is displayed roughly, and the information of each network element included in the second subnetwork and the connection relationship between each network element included in the second subnetwork are converted into the information of the second subnetwork.

[0084] Alternatively, the user's requirement may also be a zoom level, in which case the embodiments of this application can automatically zoom the topology information according to the zoom level. Optionally, the user can adjust the zoom level of the topology view by sliding the mouse wheel. The zoom level can be determined based on the distance and direction of the wheel's movement. For example, sliding the wheel upwards can represent increasing the zoom level, and sliding the wheel downwards can represent decreasing the zoom level. The greater the distance the wheel moves, the greater the degree of adjustment to the zoom level; the smaller the distance the wheel moves, the smaller the degree of adjustment to the zoom level.

[0085] If the user requires a reduced zoom level, the already expanded first or second subnet can be displayed in a coarse manner. This can be achieved by converting the information of each network element in the first subnet and the connections between them into the displayed information of the first subnet. Similarly, the same logic can be applied, converting the information of each network element in the second subnet and the connections between them into the displayed information of both the first and second subnets.

[0086] If the user requires a zoom level, the roughly displayed first or second subnet can be expanded to display information from the first subnet, and the display can be changed to display information about each element of the first subnet and the connection relationships between the elements of the first subnet.

[0087] Optionally, during automatic scaling, subnets can be expanded or collapsed hierarchically to achieve automatic multi-level scaling display. This process 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 subnets on the hierarchical path layer by layer in situ. For example, see... Figure 1 If the first subnet is a Layer 2 subnet, then the first subnet includes Layer 3 subnet A and Layer 3 subnet B. Layer 3 subnet A may also include... Figure 1 Subnets A and B (not shown) are layer 4. Subnet A is the reference subnet for the first network resource. When the first subnet is displayed in a rough manner, upon receiving a user request to zoom in for the first time, the first subnet can be expanded to display information about subnets A and B (layer 3) within it, as well as the connections between them. Subsequently, if a second user request to zoom in is received, subnet A (layer 3) can be expanded to display information about subnets A and B (layer 4), as well as the connections between them, thus achieving multi-level scaling display of the first subnet.

[0088] likeFigure 6 The minimum common subnet of the link composed of the network element 53 and the network element 63 is the subnet to which the subnet 6 and the subnet 5 belong, that is, the subnet composed of the subnets 1 to 8. When the link is displayed, the link connecting the subnet 6 and the subnet 5 can be displayed. According to the automatic scaling function, the reference subnet to which the network elements at both ends of the link belong can be automatically expanded, that is, the subnet 5 and the subnet 6 are automatically expanded, and the link is displayed as the accurate connection of the network element 63 and the network element 53, so that the complete end-to-end (E2E) path of the link penetration is viewed in the scaled topology.

[0089] In a possible implementation, the embodiment of the application can further acquire the association information of the common subnet, the association information including the information of the second network resource connected to the common subnet and the connection relationship between the second network resource and at least one network resource of the first subnet and the second subnet; and display the association information of the common subnet on the basis of the displayed topology information.

[0090] Exemplarily, referring to FIG. 1, Figure 5 , Figure 5 The network elements connected by solid lines in FIG. 1 are at least one network resource included in the common subnet, and the dotted circles connected to the at least one network resource of the common subnet in the A area, the D area, the E area and the L area are second network resources. The dotted lines in the figure represent the connection relationship between the second network resource and the at least one network resource. In addition, the display result further includes the information of the second network resource which is not shown in FIG. 1. Figure 5

[0091] Optionally, acquiring the association information of the common subnet can include determining the second network resource connected to the common subnet in a third subnet based on the topology information of the common subnet and the subnet parameters of the third subnet connected to the common subnet, the subnet parameters including at least one of subnet density and subnet depth, the subnet density indicating the density of the network elements in the third subnet, and the subnet depth indicating the relative size of the level of the third subnet and the reference level; and determining the association information of the common subnet based on the second network resource.

[0092] In a possible implementation, the subnet density can be the ratio of the number of network elements included in the third subnet to the range of the third subnet, and the subnet depth can be the difference between the level of the third subnet and the level of the reference subnet. The reference level can be a statically set level or dynamically adjusted according to the display requirement.

[0093] ​Exemplarily, the topology information of the common subnet can be determined as a central region of the region to be displayed, the range of the region to be displayed is calculated according to the range of the central region. And the second network resource in the range of the region to be displayed and the zooming degree is determined according to the third subnet included in the topology tree in the network topology, the zooming scale and the subnet parameter of the third subnet. Wherein, the region to be displayed is the visual region of the user.

[0094] The calculation method and the representation method of the range of the region to be displayed are not limited in the embodiments of the present application. For example, the range of N times of the range of the common subnet can be determined as the region to be displayed, N can be greater than or equal to 1. The range of the region to be displayed can be represented by coordinates. For example, if the region to be displayed is a rectangle, two opposite corners of the region to be displayed can be represented by two-dimensional coordinates (x0y0, x1y1), and the range of the region to be displayed is represented.

[0095] Exemplarily, refer to Figure 9 , a schematic diagram of a region to be displayed is shown. The solid rectangle represents the region to be displayed calculated in the network topology, and the dashed box selected part is the common subnet. The subnet 10, the subnet 12, the subnet 13 and the subnet 15 are the third subnets connected with the common subnet in the region to be displayed. The subnet 9, the subnet 11, the subnet 14 and the subnet 16 are the subnets not entering the region to be displayed in the network topology.

[0096] After the region to be displayed is determined, the third subnet connected with the common subnet in the region to be displayed can be determined according to the zooming scale under the current zooming degree. And 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, the display mode of the third subnet can be determined as rough display, that is, the third subnet is determined as the second network resource. Or, 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, the display mode of the third subnet can be determined as 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 second network resource determined 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 larger, that is, the difference between the level of the third subnet and the level of the public subnet is larger, which means that the association between each network resource included in the third subnet and at least one network resource in the public subnet is smaller, and then the display mode of the third subnet can be determined as rough display, that is, the third subnet is determined as the second network resource. If the depth of the third subnet is smaller, that is, the difference between the level of the third subnet and the level of the public subnet is smaller, which means that the association between each network resource included in the third subnet and at least one network resource in the public subnet is larger, and then the display mode of the third subnet can be determined as expanded display, that is, each network element or part of the network element included in the third subnet is determined as the second network resource.

[0098] In a possible implementation, the reference level is the lowest level in the network topology, and then the larger the depth of the third subnet is, the larger the range of the third subnet is, and the smaller the possibility of expanded display of the third subnet is, and the smaller the depth of the third subnet is, the smaller the range of the third subnet is, and the larger the possibility of expanded display of the third subnet is. In addition, the subnet density and the subnet depth of the third subnet can be comprehensively determined to determine the second network resource.

[0099] In the related art, only the search of a single network resource is supported, and the search of a group of network resources such as a complete forwarding path or a fuzzy search cannot be supported. After the network resource is searched, the network resource is determined to be under a certain subnet, and the single-subnet topology of the subnet is displayed to realize the positioning of the network resource. For example, when a plurality of network elements searched are distributed in a plurality of different subnets, the related art usually views the local forwarding path in each single subnet by taking each network element in the path as belonging to the lowest single subnet. For example, Figure 6 In the related art, the two end points of the link C are network element 63 and network element 53 respectively, and the related art separately displays the subnet 6 to which the network element 63 belongs and the subnet 5 to which the network element 53 belongs when displaying the link C, and does not display the connection relationship between the subnet 6 and the subnet 5. The display method of the network resource in the related art breaks the network relationship or the connection relationship between the subnet to which the network resource belongs and other subnets, and limits the usability of the network management and control system, and the visual effect of displaying the network resource is poor.

[0100] The embodiments of the present application display the topology information including the information of at least one network resource including the first subnet and the second subnet and the connection relationship between the at least one network resource, so that the displayed topology information is more comprehensive, the first network resource is distinguished in the topology information, and the first network resource is displayed with a better visual effect.

[0101] In summary, the embodiment of the present application can display the first network resource implementation of the string-through multi-level subnet in a multi-level multi-subnet network topology in an automatic focusing manner. The automatic focusing of the first network resource enables the topology 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 according to the position of the public subnet in the network topology and the comprehensive calculation of the subnet parameters. The topology information of the displayed network resource can be presented according to the scaling ratio and the area to be displayed. In addition, the method provided by the embodiment of the present application not only supports the search of a single network resource, but also supports the search and fuzzy search of multiple network resources, thereby improving the reliability of the search result.

[0102] The display method of topology information provided by the embodiment of the present application is introduced above. Corresponding to the above method, the embodiment of the present application further provides a display device of topology information. The device is used for executing the display method of topology information shown in the above method by each module shown in the device. Figure 10 The display device of topology information provided by the embodiment of the present application includes the following modules. Figure 3 The display device of topology information provided by the embodiment of the present application includes the following modules. Figure 10 The display device of topology information provided by the embodiment of the present application includes the following modules.

[0103] The acquisition module 1001 is used for acquiring the topology information of the public subnet corresponding to the display request of the first network resource. The public subnet includes the first subnet and the second subnet. The first subnet is a subnet including the first network resource, and the second subnet is a 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 the at least one network resource. The display module 1002 is used for displaying the first network resource on the basis of displaying the topology information.

[0104] In a possible implementation manner, the public subnet is a subnet including the first network resource and having the least number of network elements and / or the lowest level in the network topology.

[0105] In a possible implementation manner, the first network resource includes a plurality of network elements. Any one of the plurality of network elements corresponds to a reference subnet. The reference subnet is a subnet including any one of the network elements and having the least number of network elements and / or the lowest level in the network topology. The public subnet is a subnet including a plurality of reference subnets corresponding to the plurality of network elements and having the least number of network elements and / or the lowest level in the network topology.

[0106] In a possible implementation manner, 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.

[0107] In a possible implementation, the acquisition module 1001 is further configured to acquire the 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 the display module 1002 is further configured to display the association information of the public subnet based on the display of the topology information.

[0108] In a possible implementation, the acquisition module 1001 is configured to determine, in a third subnet, a second network resource connected to a public subnet based on topology information of the public subnet and subnet parameters of the third subnet connected to the public subnet, the subnet parameters including at least one of subnet density and subnet depth, the subnet density indicating a density of network elements in the third subnet, and the subnet depth indicating a relative size of a level of the third subnet and a reference level; 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 acquire an identifier of a first network resource carried in a display request; and determine the topology information of the public subnet based on the identifier of the first network resource and the network topology.

[0110] It should be understood that the above Figure 10 The apparatus provided in the present application has the same beneficial effects as the topology information display method provided in the present application when implementing the functions thereof, and thus the details are not repeated here. In addition, Figure 3 The apparatus provided in the present application has the same beneficial effects as the topology information display method provided in the present application when implementing the functions thereof, and thus the details are not repeated here. In addition, Figure 10 The apparatus provided in the present application has the same beneficial effects as the topology information display method provided in the present application when implementing the functions thereof, and thus the details are not repeated here. In addition,

[0111] Referring to Figure 11 , Figure 11 FIG. 11 shows a structural schematic diagram of an example topology information display device 1100 provided in the present application, which includes at least one processor 1101, a memory 1103, an input interface 1107, and at least one network interface 1104.

[0112] The processor 1101 is, for example, a 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), programmable logic devices (PLDs), other general purpose processors, or other programmable logic devices, discrete gates or transistor logic, discrete hardware components, or any combination thereof, which are used to implement the schemes of the present application. The 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. The general purpose processor can be a microprocessor or any conventional processor, etc. It is worth noting that the processor can be an advanced RISC machines (ARM) architecture processor. It can implement or execute various logical blocks, modules, and circuits described in connection with the disclosure of the present application. The processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0113] Optionally, the topology information display device 1100 further includes a bus 1102. The bus 1102 is used to transmit information between the components of the topology information display device 1100. The bus 1102 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 1102 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 11 Only one line is used in the figure, but it 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 non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM) used as an external cache.

[0115] By way of example, and not limitation, a number of forms of ROM and RAM are possible. For example, the ROM is a compact disc read-only memory (CD-ROM). The RAM includes, but is not limited to, a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synchlink DRAM (SLDRAM), and a direct rambus RAM (DR RAM).

[0116] The memory 1103 can also be other types of storage devices capable of storing static and dynamic information and instructions. Alternatively, the memory 1103 can be other types of dynamic storage devices. Alternatively, the memory 1103 can be other types of optical disk storage, including a compact disc read-only memory (CD-ROM), a laser disc, an optical disc, a digital versatile disc (DVD), a Blu-ray disc, and the like, or other magnetic storage devices including a magnetic disk or other magnetic storage medium, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto. The memory 1103 is, for example, independently present and connected to the processor 1101 through the bus 1102. The memory 1103 can also be integrated with the processor 1101.

[0117] Network interface 1104 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), or wireless local area network (WLAN). Network interface 1104 can include wired network interfaces and wireless network interfaces. Specifically, network interface 1104 can be an Ethernet interface, such as Fast Ethernet (FE), Gigabit Ethernet (GE), Asynchronous Transfer Mode (ATM), WLAN, cellular network, or combinations thereof. The Ethernet interface can be an optical interface, an electrical interface, or a combination thereof. In some embodiments of this application, network interface 1104 can be used by the topology information display device 1100 to communicate with other devices.

[0118] In specific implementations, as some embodiments, the processor 1101 may include one or more CPUs, such as Figure 11 The CPU0 and CPU1 shown are examples of processors. Each of these processors can be a single-core processor or a multi-core processor. A processor here can refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).

[0119] In specific implementations, as some embodiments, the topology information display device 1100 may include multiple processors, such as... Figure 11 The processors 1101 and 1105 shown are illustrated. Each of these processors may be a single-core processor or a multi-core processor. Here, "processor" may refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).

[0120] In some embodiments, memory 1103 is used to store program instructions 1110 and operating system 1111 for executing the scheme of this application, and processor 1101 can execute the program instructions 1110 stored in memory 1103. That is, the topology information display device 1100 can implement the method provided in the method embodiment through processor 1101 and program instructions 1110 in memory 1103, i.e. Figure 3 The method is shown. Program instructions 1110 may include one or more software modules. Optionally, processor 1101 itself may also store program instructions for executing the scheme of this application.

[0121] In a specific implementation process, the topology information display device 1100 of the present application can correspond to a first network element device for executing the above-mentioned method, and the processor 1101 in the topology information display device 1100 reads the instructions in the memory 1103, so that Figure 11 The topology information display device 1100 shown in the figure can execute all or part of the steps in the method embodiment.

[0122] The topology information display device 1100 can also correspond to the above-mentioned Figure 10 The device shown in the figure, Figure 10 Each functional module in the device shown in the figure is implemented by software of the topology information display device 1100. In other words, Figure 10 The functional modules included in the device shown in the figure are generated by the processor 1101 of the topology information display device 1100 after reading the program instructions 1110 stored in the memory 1103.

[0123] Among them, Figure 3 The steps of the method shown are completed by the integrated logic circuit of the hardware in the processor of the topology information display device 1100 or the instructions in the form of software. The steps of the method embodiment disclosed in the present application can be directly embodied as execution completed by the hardware processor, or executed by the combination of hardware and software modules in the processor. The software module can be located in the mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, register, etc. The storage medium is located in the memory, and the processor reads the information in the memory, and combines the hardware to complete the steps of the above-mentioned method embodiment. To avoid repetition, it will not be described in detail here.

[0124] In an exemplary embodiment, a computer program (product) is provided, which includes computer program code, which, when executed by a computer, causes the computer to perform Figure 3 The method shown.

[0125] In an exemplary embodiment, a computer readable storage medium is provided, which stores a program or instructions, which, when executed on a computer, causes the computer to perform the above-mentioned Figure 3 The method shown.

[0126] In an exemplary embodiment, a chip is provided, which includes a processor for calling and executing instructions stored in a memory, so that the computer installed with the chip performs the above-mentioned Figure 3 The method shown.

[0127] In an example embodiment, another chip is provided, comprising: an input interface, an output interface, a processor, and a memory, the input interface, the output interface, the processor, and the memory connected by internal connection paths, the processor configured to execute code in the memory, the code, when executed, causing a computer in which the chip is installed to perform Figure 3 the method shown.

[0128] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments can be implemented 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, all or part of the processes or functions described in the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. 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 one website, computer, server, or data center to another website, computer, server, or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes one or more available media sets. The available media can be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as DVDs), or semiconductor media (such as solid state disks), etc.

[0129] In this application, the terms "first", "second", and the like are used to distinguish between elements or items that have substantially the same function and are similar to each other, and it should be understood that there is no logical or chronological dependency between "first", "second", and "nth", and the number and execution order are not limited. It should also be understood that although the following description uses the terms first, second, and the like to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another.

[0130] It should also be understood that in various embodiments of the present application, the size of the serial number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0131] The term "at least one", as used herein, means one or more, the term "multiple", as used herein, means two or more, for example, a plurality of 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 various described examples herein are for the purpose of describing particular embodiments only and are not intended to be limiting. As used in the description of various described examples and the appended claims, the singular forms "a", "an" and "the" are intended to include plural forms as well, unless the context clearly indicates otherwise.

[0133] It should also be understood that the term "and / or" as 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 descriptive association relationship of associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist simultaneously, B exists alone. In addition, the character " / " in the present application generally represents that the associated objects before and after are in an "or" relationship.

[0134] It should also be understood that the terms "if' and "when" can be interpreted to mean "upon a determination" or "in response to a determination" or "upon detecting", or "in response to detecting". Similarly, the phrase "if determined", or "if [stated condition or event] is detected", can be interpreted to mean "upon a determination that" or "in response to a determination that" or "upon detecting" or "in response to detecting [stated condition or event]".

[0135] The above description is only examples of the present application, and is not intended to limit the present application. Any modification, equivalent replacement, improvement, 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 includes: Obtain the topology information of the public subnet corresponding to the display request for the first network resource. The public subnet is the subnet in the network topology that includes the first network resource and has the fewest number of network elements and / or the lowest level. The public subnet includes a first subnet and a second subnet. The first subnet is the subnet that includes the first network resource, and the second subnet is the subnet other than the first subnet. The topology information includes information on at least one network resource of the first subnet and the second subnet, as well as the connection relationship between the at least one network resource. Based on the displayed topology information, the first network resources are displayed separately.

2. The method according to claim 1, characterized in that, The first network resource includes multiple network elements, and any one of the multiple network elements corresponds to a reference subnet. The reference subnet is the subnet in the network topology that includes the given network element and has the fewest number of network elements and / or the lowest level. The public subnet is the subnet in the network topology that includes multiple reference subnets corresponding to the multiple network elements, and includes the fewest number of network elements and / or the lowest level.

3. The method according to claim 1 or 2, characterized in that, At least one network resource of the first subnet and the second subnet includes any of the following: The first subnet and the second subnet; Alternatively, each network element within the first subnet and the second subnet; Alternatively, each network element in the first subnet and each network element in the second subnet.

4. The method according to claim 1 or 2, characterized in that, The method further includes: Obtain the association information of the public subnet, the association information including information of the second network resource connected to the public subnet and the connection relationship between the second network resource and at least one network resource of the first subnet and the second subnet; Based on the displayed topology information, the associated information of the public subnet is also displayed.

5. The method according to claim 4, characterized in that, The step of obtaining the association information of the public subnet includes: Based on the topology information of the public subnet and the subnet parameters of the third subnet connected to the public subnet, the second network resource connected to the public subnet is determined in the third subnet. The subnet parameters include at least one of subnet density and 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. The association information of the public subnet is determined based on the second network resource.

6. The method according to claim 1 or 2, characterized in that, The step of obtaining the topology information of the public subnet corresponding to the display request for the first network resource includes: Obtain the identifier of the first network resource carried in the display request; Based on the identifier and network topology of the first network resource, the topology information of the public subnet is determined.

7. A display device for topology information, characterized in that, The device includes: The acquisition module is used to acquire the topology information of the public subnet corresponding to the display request for the first network resource. The public subnet is the subnet in the network topology that includes the first network resource and has the fewest number of network elements and / or the lowest level. The public subnet includes a first subnet and a second subnet. The first subnet is the subnet that includes the first network resource, and the second subnet is the subnet other than the first subnet. The topology information includes information on at least one network resource of the first subnet and the second subnet, as well as the connection relationship between the at least one network resource. The display module is used to differentiate and display the first network resources based on the displayed topology information.

8. The apparatus according to claim 7, characterized in that, The first network resource includes multiple network elements, and any one of the multiple network elements corresponds to a reference subnet. The reference subnet is the subnet in the network topology that includes the arbitrary network element and has the fewest number of network elements and / or the lowest level. The common subnet is the multiple reference subnets in the network topology that include the multiple network elements and have the fewest number of network elements and / or the lowest level.

9. The apparatus according to claim 7 or 8, 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; or, each network element in the first subnet and each network element in the second subnet.

10. The apparatus according to claim 7 or 8, characterized in that, The acquisition module is further configured to acquire the association information of the public subnet, the association information including information of a second network resource connected to the public subnet and the 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 configured to display the association information of the public subnet in addition to displaying the topology information.

11. The apparatus according to claim 10, characterized in that, The acquisition module is used 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. The subnet parameters include at least one of subnet density and 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. The association information of the public subnet is determined based on the second network resource.

12. The apparatus according to claim 7 or 8, characterized in that, The acquisition module is used to acquire the identifier of the first network resource carried in the display request; and to determine the topology information of the public subnet based on the identifier of the first network resource and the network topology.

13. A display device for topology information, characterized in that, The device includes a processor coupled to a memory; the memory stores at least one instruction, which is loaded and executed by the processor to enable the display device for the topology information to implement the display method for the topology information according to any one of claims 1-6.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one instruction, which is loaded and executed by a processor to implement the method for displaying topology information as described in any one of claims 1-6.

15. A computer program product, characterized in that, The computer program product includes a computer program / instruction that is executed by a processor to enable a computer to implement the method for displaying topology information as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Network topology display method and communication device

    CN115426270A

Cited By

  • Topology information display method and apparatus, device, and computer readable storage medium

    EP4718804A1