Topology information display method and apparatus, device, and computer readable storage medium
By acquiring and distinguishing the topology information of network resources, the problem of incomplete display of network resources in multi-level and multi-subnet network topologies is solved, realizing automatic focus display and multi-resource search, and improving the visualization and search reliability of network resources.
Patent Information
- Application Number
- PCT/CN2024/076395
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-30
- Filing Date
- 2024-02-06
- Publication Date
- 2025-01-02
AI Technical Summary
Existing technologies cannot effectively display multi-level, multi-subnet network resources in network topology demonstrations, resulting in incomplete network resource display, severing the relationship between network resources and other subnets, and limiting the availability and visualization effect of network management and control systems.
By acquiring the topology information of the public subnet, the system distinguishes and displays information about the first network resource and the second subnet, including the connection relationships of the network resources. It also determines the associated information based on the subnet parameters, enabling automatic focus display and supporting the search of single and multiple network resources.
It enables automatic focus display of the first network resource in a multi-level, multi-subnet network topology, improving the comprehensiveness and visualization effect of network resource display, supporting the search of single and multiple network resources, and enhancing the reliability of search results.
Smart Images

Figure CN2024076395_02012025_PF_FP_ABST
Abstract
Description
Method, device, equipment and computer-readable storage medium for displaying topology information
[0001] This application claims priority to Chinese patent application No. 202310798719.3, filed on June 30, 2023, entitled “Method, device, apparatus and computer-readable storage medium for displaying topological information,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a method, apparatus, device, and computer-readable storage medium for displaying topology information. Background Art
[0003] With the development of communication technology, the information involved in the communication process is becoming more and more diverse and the amount of information is also increasing. For example, topology information can be presented through network topology. Therefore, it is possible to determine the topology information that needs to be displayed and display it accordingly to meet the user's need for obtaining topology information.
[0004] Summary of the Invention
[0005] This 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:
[0006] 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; and distinguishing and displaying the first network resource based on the displayed topology information.
[0007] 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 made more comprehensive, the first network resource is displayed distinctively in the topology information, and the first network resource is displayed with better visualization effect.
[0008] In one possible implementation, a public subnet is a subnet in the network topology that includes the first network resource and has the fewest number of network elements and / or the lowest hierarchy. Determining a public subnet using this method ensures the integrity of the first network resource in the public subnet while avoiding designating overly large subnets as public subnets, which could lead to redundant topological information for the public subnet.
[0009] 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 in the network topology that includes any one network element and includes the fewest number of network elements and / or has the lowest level; the public subnet is a subnet in the network topology that includes multiple reference subnets corresponding to multiple network elements and includes the fewest number of network elements and / or has the lowest level. When the first network resource includes multiple network elements, first determining multiple reference subnets and then determining the public subnet that includes the multiple reference subnets can ensure the accuracy of the determined public subnet, further ensure the integrity of the first network resource in the public subnet, and reduce redundancy that may be caused by the topological information of the public subnet.
[0010] In one 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 individual network elements within the first subnet and the second subnet; or individual network elements within the first subnet and the second subnet. The at least one network resource of the first subnet and the second subnet is different, and accordingly, different content is displayed for the at least one network resource, making the display of the at least one network resource more flexible.
[0011] In one possible implementation, the method further includes: obtaining association information of the public subnet, the association information including information about a second network resource connected to the public subnet and a connection relationship between the second network resource and at least one of the first and second subnets; and displaying the association information of the public subnet based on the displayed topology information. In addition to displaying the topology information of the public subnet, the association information of the public subnet can also be displayed, making the displayed information more comprehensive, avoiding severing 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.
[0012] In one possible implementation, obtaining association information for a public subnet includes: determining, in the third subnet, a second network resource connected to the public subnet based on topological information of the public subnet and subnet parameters of a third subnet connected to the public subnet, wherein the subnet parameters include at least one of subnet coarseness and subnet depth, wherein the subnet coarseness indicates the density of network elements in the third subnet, and the subnet depth indicates the relative size of the third subnet's hierarchy to a reference hierarchy; and determining the association information for the public subnet based on the second network resource. Determining the second network resource in the third subnet connected to the public subnet based on the subnet parameters can ensure that the determined second network resource better meets display requirements.
[0013] In one 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 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.
[0014] In a second aspect, a device for displaying topology information is provided, the device including: an acquisition module for acquiring 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 at least one network resource; a display module for distinguishing and displaying the first network resource based on the displayed topology information.
[0015] In a possible implementation manner, 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.
[0016] 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 in the network topology that includes 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 multiple network elements and includes the least number of network elements and / or the lowest level.
[0017] In one 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 the second subnet.
[0018] In one possible implementation, the acquisition module is further used to obtain association information of the public subnet, where 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 the topology information.
[0019] In one possible implementation, an acquisition module is configured to determine, in a third subnet, a second network resource connected to the public subnet based on topological 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 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 a reference hierarchy; and determine association information of the public subnet based on the second network resource.
[0020] In a possible implementation, the display module is configured to obtain an identifier of a first network resource carried in a display request; and determine topology information of the public subnet based on the identifier of the first network resource and the network topology.
[0021] In a third aspect, another communication device is provided, comprising: a network interface, a memory, and a processor. The network interface, the memory, and the processor communicate with each other via an internal connection path. The memory is configured to store instructions, and the processor is configured to execute the instructions stored in the memory to control the network interface to receive signals and to control the network interface to send signals. When the processor executes the instructions stored in the memory, the processor performs the method of the first aspect or any possible implementation of the first aspect.
[0022] Optionally, there are one or more processors and one or more memories.
[0023] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
[0024] 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 of the first aspect.
[0025] In a fifth aspect, a computer-readable storage medium is provided, which 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.
[0026] In a sixth aspect, a chip is provided, comprising a processor for calling and executing instructions stored in a memory from 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.
[0027] 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 through 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.
[0028] It should be understood that the beneficial effects achieved by the technical solutions of the second to seventh aspects of this 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
[0029] FIG1 is a schematic diagram of the structure of a subnet provided in an embodiment of the present application;
[0030] FIG2 is a schematic diagram of an implementation scenario provided by an embodiment of the present application;
[0031] FIG3 is a schematic diagram of a flow chart of a method for displaying topology information provided in an embodiment of the present application;
[0032] FIG4 is a schematic diagram of the topological structure of a multi-level multi-subnet physical network model provided in an embodiment of the present application;
[0033] FIG5 is a schematic diagram of a display result of topology information provided in an embodiment of the present application;
[0034] FIG6 is a schematic diagram of another display result of topology information provided in an embodiment of the present application;
[0035] FIG7 is a schematic diagram of another display result of topology information provided in an embodiment of the present application;
[0036] FIG8 is a schematic diagram of a display result of another topology information provided in an embodiment of the present application;
[0037] FIG9 is a schematic diagram of an area to be displayed provided in an embodiment of the present application;
[0038] FIG10 is a schematic structural diagram of a device for displaying topological information provided in an embodiment of the present application;
[0039] FIG11 is a schematic structural diagram of a topology information display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] 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.
[0041] 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 relationships between various network elements have 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.
[0042] For example, referring to Figure 1, a schematic diagram of the structure of a subnet is shown. The layer 1 subnet is the highest-level subnet in Figure 1. The layer 1 subnet includes layer 2 subnet A, layer 2 subnet B, and layer 2 subnet C. In other words, layer 2 subnet A, layer 2 subnet B, and layer 2 subnet C belong to the layer 1 subnet. Correspondingly, the layer 2 subnet includes layer 3 subnets. For example, layer 2 subnet A in Figure 1 includes layer 3 subnet A, layer 3 subnet B, and layer 3 subnet C. The circles in Figure 1 represent network elements, such as network element 21, network element 22, and network element 1, and the line between any two network elements represents that the two network elements can achieve communication connection through wired or wireless communication.
[0043] Any two network elements connected together form a link. The two network elements on a link can be both network elements belonging to a subnet at any layer. For example, the two network elements represented by the black circles in Layer 3 subnet A in Figure 1 belong to both Layer 3 subnet A. These two network elements can serve as the two endpoints of a link, connected to form a link. The network element represented by the black circle in Layer 3 subnet C and the network element 4 represented by the black circle in Layer 3 subnet D both belong to Layer 1 subnet 11. These two network elements can also serve as the two endpoints of a link, connected to form a link.
[0044] As shown in Figure 1, the excessive number of network elements (NEs) and the complex connections between them necessitate organizing the network topology using a multi-level, multi-subnet approach similar to that shown in Figure 1 to clearly display the network structure. This constructs a three-dimensional, multi-branch tree structure. For production and maintenance personnel, tasks such as path calculation, fault location, service performance measurement, and resource search require searching for required network resources within the large network topology and accurately obtaining network resource information within the displayed local topology view.
[0045] An 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. Referring to Figure 2, a schematic diagram of an implementation scenario of this 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 into different devices, or integrated into the same device, or any two of the input device, the network management device, and the display device can be integrated into the same device, and the other device can be integrated into another device. Regardless of the integration status of the input device, the network management device, and the display device, communication between the devices can be achieved through wired or wireless connections.
[0046] A network management system is installed on a network management device, which includes a display request receiving interface, a conversion module, and a topology view sending interface. The display request receiving interface is capable of receiving display requests sent by an input device, thereby allowing the network management device to obtain a user's request to display network resources. The network management device can then determine the topology information corresponding to the network resources to be displayed in the network topology based on the display request. For example, the conversion module in the network management device determines the topology view corresponding to the display request based on the display request, and sends the topology view to the display device via the topology view sending interface. The topology view is a view that includes the topology information to be displayed, and the display device can display the received topology view to achieve the display of the topology information.
[0047] The embodiment of the present application provides a method for displaying topology information, which can be applied to the implementation scenario shown in Figure 2. Referring to Figure 3, a schematic flow chart of a method for displaying topology information is shown, which includes but is not limited to the following S301 to S302.
[0048] S301, obtain 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.
[0049] In one 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.
[0050] Exemplarily, the input device shown in FIG2 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. The highlighting can be a highlight display, an enlarged display, or a stereoscopic display through a 3D projection, etc. 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 in 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 can include one or more network elements, subnets, links and paths.
[0051] The following describes 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 resource identifier. The correspondence between the network resource and the resource identifier can be manually statically configured at the input device, or 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 in a fixed focus manner, that is, 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.
[0052] An application with a search function can also be deployed in the input device. If the user's demand is to focus on displaying one or more uncertain network resources, the application can perform a fuzzy search based on the user's demand 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. The identifier of the first network resource can then be determined based on the correspondence between the network resources and the identifiers of the resources. 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 identifiers of the resources.
[0053] Exemplarily, the identifier 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 identifier of the resource. The identifier of a resource can be divided into a single resource identifier for a single network resource and a group resource identifier for multiple network resources. For example, an identifier that can identify a single network element, a single subnet, a single link, or a single path is a single resource identifier. 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 can include multiple network elements, or can include both multiple network elements and multiple links, multiple paths, or multiple subnets. A group of network resources corresponds to a group resource identifier, and a group resource identifier corresponding to a group of network resources can be the sum of the identifiers of each network resource in a group of network resources, or can be a separate identifier that can identify this group of network resources.
[0054] For example, the single resource identifier of a single network element 63 may be the number 1863 of network element 63, or the physical address of network element 63, location xx in District C, City B, Province A, or the IP address xxx.xxx.xx.63 of network element 63. Network resource 3 is a group of network resources, including network element 31 and link 32. The group resource identifier corresponding to network resource 3 may include the identifiers of network element 31 and link 32, or may be an independent identifier that can identify this group of network resources.
[0055] 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 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 via 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 performing the search controlling the input device after the search.
[0056] 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 has the least number of network elements and / or the lowest level.
[0057] Among them, the hierarchy of the subnet can be divided manually 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 the geographical location or the importance of the network element. In one possible implementation, the first-level subnet can correspond to the national backbone network, the second-level subnet can correspond to the provincial backbone network, the third-level subnet can correspond to the municipal network, and the fourth-level subnet can correspond to the regional network. For example, referring to Figure 4, a schematic diagram of the topological structure of a multi-level and multi-subnet physical network model is shown. The subnet 11 composed of network resources represented by the diamond is a first-level subnet, and the subnet composed of network resources represented by the pentagon is a second-level subnet, such as subnet 21. The subnet composed of network resources represented by the triangle is a third-level subnet, such as subnet 31. The subnet composed of network resources represented by the circle is a fourth-level subnet, such as the single-network element subnet composed of network element 41. Higher-level subnets correspond to or contain lower-level subnets. For example, subnet 11 is the highest-level subnet shown in Figure 4 and contains subnet 21 and other Layer 2 subnets. Subnet 21 contains subnet 31, shown in the upper left corner of Figure 4, and three Layer 3 subnets connected to subnet 31. Subnet 31 contains a single Layer 4 subnet, consisting of network element 41, shown in the upper left corner of Figure 4, and three Layer 4 subnets connected to network element 41.
[0058] If the first network resource is a network element, the public subnet can be a subnet of a single network element in the network topology, which includes both the network element itself and the smallest subnet that includes at least one other subnet. For example, referring to Figure 1 , the first network resource includes network element 1, represented by a black circle, in Layer-3 subnet A. As shown in Figure 1 , network element 1 belongs to both Layer-3 subnet A and Layer-2 subnet A. Since Layer-3 subnet A includes network element 1 and has the lowest level and the fewest 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.
[0059] When the first network resource is a network element, 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, and the second subnet included in the public subnet can be a subnet in the public subnet except the first network resource.
[0060] 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 in the network topology that includes any one network element and includes the least number of network elements and / or the lowest level. The public subnet can be a subnet in the network topology that includes multiple reference subnets corresponding to multiple network elements and includes the least number of network elements and / or the lowest level.
[0061] If the reference subnets corresponding to multiple network elements included in 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 includes network elements 1 and 2, represented by black circles in Layer 3 subnet A. If the reference subnets corresponding to both network elements 1 and 2 are Layer 3 subnet A, Layer 3 subnet A can be determined as the common subnet of the first network resource.
[0062] If the reference subnets corresponding to the multiple network elements included in the first network resource are different subnets, the smallest subnet that includes each reference subnet can be determined as the public subnet corresponding to the first network resource. For example, referring to Figure 1 again, taking the example of a first network resource including two network elements, the two network elements are network element 1 represented by the black circle in layer-3 subnet A and network element 3 represented by the black circle in layer-3 subnet C. The reference subnet corresponding to network element 1 can be layer-3 subnet A, and the reference subnet corresponding to network element 3 can be layer-3 subnet C. If both layer-2 subnet A and layer-1 subnet are subnets that include layer-3 subnet A and layer-3 subnet C, layer-2 subnet A, which includes the fewest network elements and has the lowest level, can be determined as the public subnet corresponding to the first network resource.
[0063] For another example, referring again to Figure 1 , assuming that 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. In Figure 1 , only layer-1 subnets are included in layer-3 subnets A, C, and D. In this case, layer-1 subnets can be determined as the public subnet corresponding to the first network resource.
[0064] 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.
[0065] After determining the public subnet corresponding to the first network resource, topology information of the public subnet can be determined in the network topology. The topology information of the public subnet can include information about 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 embodiments of the present application do not limit the network resource information. For example, the network resource information can include at least one of the network resource number, the physical location of the network resource, the network resource's operating status, and the network resource's attributes. The network resource's operating status can include a state such as engineering or engineering debugging. If a network resource's operating status is engineering, it means that the network resource is already being used in a project. If a network resource's operating status is engineering debugging, it means that the network resource is still in the debugging phase and is not being used in the project. The attributes of the network resource can be, for example, an intelligent optical transport network (OTN) or a router. The connection relationship between two network resources can be represented by a line. The embodiments of the present application do 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, and the type of the line can be a single line, a double line, a solid line, or a dashed line.
[0066] S302: Based on the displayed topology information, differentiate and display the first network resources.
[0067] 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.
[0068] 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.
[0069] In case A1, the at least one network resource of the first subnet and the second subnet includes the first subnet and the second subnet.
[0070] 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, can be displayed. The first subnet can be a subnet consisting of a single network element or a subnet including multiple network elements.
[0071] For example, see Figure 5, which shows a schematic diagram of a topology information display result. 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 and second subnets, but also shows the connection relationship between the first and second subnets, represented by a solid line segment. Furthermore, the display result also includes information about the first and second subnets, which is not shown in Figure 5.
[0072] 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.
[0073] 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.
[0074] For example, see Figure 6, which shows a schematic diagram of another display result of topology information. The right side of Figure 6 shows the composition of a public subnet, including subnets 1 to 8. The first network resource is the path shown on the left side of Figure 6, including 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 resources, are displayed in an expanded manner, that is, each network element within the first subnet and the connection relationships between each network element are displayed. Among them, subnets 5, 6, and 7 are multi-network element subnets, each including five different network elements, while subnets 1, 2, 3, and 4 are subnets composed of a single network element. The second subnet, subnet 8, which does not include the first network resources, is roughly displayed, that is, only subnet 8 is displayed, without the information of each network element included in subnet 8 and the connection relationships between each network element in subnet 8 (represented by dashed lines). In addition, the display result also includes information of each network element of the first subnet and information of the second subnet, which are not shown in FIG. 6 .
[0075] 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.
[0076] 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, as well as 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.
[0077] For example, referring to Figure 6 again, if the first network resource is a link consisting of network element 53 and network element 63, then 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 expands not only subnet 5 and subnet 6, but also subnet 1, subnet 2, subnet 3, subnet 4, subnet 7, and subnet 8.
[0078] 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 displayed topology information. For example, the first network resource is displayed in focus, and the other network resources in the topology information of the public subnet are displayed in a non-focused manner, so that the 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 the 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 the 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 magnified and displayed, so that the display size of the 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 the other network resources in the topology information of the public subnet.
[0079] For example, referring to Figure 5, the first network resource is the network resource represented by the black circle in area I in Figure 5, 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 the network resources other than the first network resource in at least one network resource of the first subnet and the second subnet.
[0080] FIG7 is a schematic diagram illustrating another display result of topology information. The first network resource includes two network elements. For example, the first network resource is a link formed by the network element represented by the black circle in area B and the network element represented by the black circle in area I in FIG7 . 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 of the first and second subnets.
[0081] FIG8 is a schematic diagram illustrating 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 the network elements represented by black circles in areas A, B, I, J, and F, and the network element represented by a black circle in area L. The network resources represented by white circles connecting the path and the network element are network resources other than the first network resource in at least one of the first and second subnets.
[0082] 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, the network element represented by the cross circle in Figure 8 is the previous hop of the path in Figure 8.
[0083] In addition, the user can also click on the first network resource in the topology view displayed on the display device to realize differentiated display of the first network resource.
[0084] In one 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. The 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 on the button to expand the subnet to input the user needs. After obtaining the user demand to expand the display of the first subnet, the first subnet can be expanded and displayed, and the display of the information of the first subnet is converted to the display of the information of each network element included in the first subnet and the connection relationship between the network elements included in the first subnet.
[0085] For another example, in a topology view displaying topology information, a user can click to expand the second subnet, and then click to collapse the subnet to input user requirements. After obtaining the user's requirement to roughly display the second subnet, the second subnet can be roughly displayed, switching from displaying information about each network element included in the second subnet and the connection relationships between the network elements included in the second subnet to displaying information about the second subnet.
[0086] Alternatively, the user requirement may also be a zoom ratio, and the embodiments of the present application can implement automatic zooming of the topology information based on the zoom ratio. Optionally, the user can adjust the zoom ratio of the topology view by sliding the mouse wheel. The zoom ratio can be determined based on the distance and direction of the wheel sliding. For example, sliding the wheel upward can represent a zoom ratio increase, and sliding the wheel downward can represent a zoom ratio decrease. 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.
[0087] If the user requires a smaller zoom ratio, the already expanded first or second subnet can be roughly displayed, switching from displaying information about each network element of the first subnet and the connection relationships between the network elements of the first subnet to displaying information about the first subnet. Alternatively, switching from displaying information about each network element of the second subnet and the connection relationships between the network elements of the second subnet to displaying information about the second subnet. Alternatively, switching from displaying information about each network element of the first and second subnets and the connection relationships between the network elements of the first and second subnets to displaying information about the first and second subnets and the connection relationships between the first and second subnets.
[0088] If the user requires a larger zoom ratio, the roughly displayed first subnet or second subnet can be expanded and displayed, switching from displaying the information of the first subnet to displaying the information of each network element of the first subnet and the connection relationship between the network elements of the first subnet.
[0089] Optionally, when automatically zooming, subnets can be expanded or collapsed hierarchically to achieve automatic multi-level zoom display, which can 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, referring to Figure 1, if the first subnet is a 2-layer subnet, the first subnet includes 3-layer subnet A and 3-layer subnet B, and 3-layer subnet A can also include 4-layer subnet A and 4-layer subnet B not shown in Figure 1, and 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 request to increase the zoom ratio for the first time, the first subnet can be expanded and displayed to display the information of 3-layer subnet A and 3-layer subnet B within the first subnet, as well as the connection relationship between 3-layer subnet A and 3-layer subnet B. Then, if a user request to enlarge the zoom ratio is received for the second time, the 3-layer subnet A can be expanded to display the information of the 4-layer subnet A and the 4-layer subnet B, as well as the connection relationship between the 4-layer subnet A and the 4-layer subnet B, to achieve multi-level zoom display of the first subnet.
[0090] As shown in Figure 6, the minimum common subnet of the link formed by NE 53 and NE 63 is the subnet to which subnet 6 and subnet 5 belong, that is, the subnet consisting of subnets 1 to 8. When displaying this link, the link connecting subnet 6 and subnet 5 can be displayed. The automatic scaling function can also be used to achieve automatic multi-level scaling, automatically expanding the reference subnets to which the NEs at both ends of the link belong, that is, automatically expanding subnet 5 and subnet 6, and displaying the link as the precise connection between NE 63 and NE 53, allowing the complete end-to-end (E2E) path of the link to be viewed in the zoomed topology.
[0091] In one possible implementation, the embodiment of the present application can also obtain 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; on the basis of displaying the topology information, the association information of the public subnet is displayed.
[0092] For example, referring to Figure 5 , each network element connected by solid lines in Figure 5 represents at least one network resource included in the public subnet. The dashed circles in Areas A, D, E, and L connected to at least one network resource in the public subnet by dashed lines represent second network resources. The dashed lines in the figure represent the connection between the second network resource and the at least one network resource. Furthermore, the displayed result also includes information about the second network resource, not shown in Figure 5 .
[0093] Optionally, obtaining the association information of the public subnet may include determining a second network resource connected to the public subnet in the third subnet based on the 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 and the reference hierarchy; determining the association information of the public subnet based on the second network resource.
[0094] 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, and the subnet depth may be the difference between the level of the third subnet and the level of the reference subnet. The reference level may be a statically set level or may be dynamically adjusted according to display requirements.
[0095] For example, the topology information of the public subnet can be determined as the center of the area to be displayed, and the range of the area to be displayed can be calculated based on the range of the center area. Furthermore, 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 can be determined. The area to be displayed is the user's visible area.
[0096] 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.
[0097] For example, see Figure 9, which shows a schematic diagram of an area to be displayed. The solid rectangle represents the area to be displayed, calculated in the network topology. The dashed-line area represents the public subnet. Subnets 10, 12, 13, and 15 are the third subnets in the area to be displayed that are connected to the public subnet. Subnets 9, 11, 14, and 16 are subnets in the network topology that are not included in the area to be displayed.
[0098] After determining the area to be displayed, the third subnet connected to the public subnet within the area to be displayed at the current zoom level can be determined based on the zoom scale. Furthermore, the second network resource can be determined based on at least one of the subnet density and subnet depth of the third subnet. Taking the determination of the second network resource based on 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 coarse 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 expanded display, that is, each or part of the network elements included in the third subnet is determined as the second network resource.
[0099] Accordingly, taking the example of determining the second network resource based on the subnet depth of the third subnet, if the reference level is the level of the public subnet, the depth of the third subnet is large, that is, the difference between the level of the third subnet and the level of the public subnet is 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 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 small, that is, the difference between the level of the third subnet and the level of the public subnet is 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 large, then the display mode of the third subnet can be determined as an expanded display, that is, the various network elements or some network elements included in the third subnet are determined as the second network resource.
[0100] In one possible implementation, the reference level is the lowest level in the network topology. A greater depth of the third subnet indicates a larger range of the third subnet, making it less likely that the third subnet will be expanded and displayed. A smaller depth of the third subnet indicates a smaller range of the third subnet, making it more likely that the third subnet will be expanded and displayed. Furthermore, the second network resource can be determined by combining the subnet density and subnet depth of the third subnet.
[0101] Related technologies only support searching for individual network resources and fail to support searching for a group of network resources, such as complete forwarding paths or fuzzy searches. After searching for a network resource, the network resource is determined to be located within a specific subnet, and the subnet topology of that subnet is displayed to locate the network resource. For example, when searching for multiple network elements distributed across multiple subnets, related technologies typically use the lowest-level subnet to which each network element in the path belongs to view the local forwarding path within each subnet. For example, in Figure 6, the two endpoints of link C are network element 63 and network element 53, respectively. When displaying link C, related technologies will separately display subnet 6 to which network element 63 belongs and subnet 5 to which network element 53 belongs, without displaying the connection between subnet 6 and subnet 5. This network resource display method in related technologies separates the network relationship or connection between the subnet to which the network resource belongs and other subnets, limiting the usability of the network management and control system and resulting in poor visualization of network resources.
[0102] 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 distinguishes the first network resource in the topology information to display the first network resource with better visualization effect.
[0103] In summary, the embodiment of the present application can display the first network resource of the multi-level subnet 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 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 based on the position of the public subnet in the network topology and the comprehensive calculation of the subnet parameters, and the topology 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 by 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.
[0104] The above describes the method for displaying topology information provided by an embodiment of the present application. Corresponding to the above method, an embodiment of the present application also provides a device for displaying topology information. This device is used to execute the method for displaying topology information shown in FIG. 3 above through the various modules shown in FIG. As shown in FIG. 10 , the device for displaying topology information provided by an embodiment of the present application includes the following modules.
[0105] 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 a first subnet and a 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, 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; the display module 1002 is used to distinguish and display the first network resource based on the displayed topology information.
[0106] In a possible implementation manner, 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.
[0107] 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 in the network topology that includes 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 multiple network elements and includes the least number of network elements and / or the lowest level.
[0108] In one 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 the second subnet.
[0109] In one 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.
[0110] In one possible implementation, an acquisition module 1001 is used 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, where the subnet parameters include 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 and the reference hierarchy; and determine association information of the public subnet based on the second network resource.
[0111] 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 the public subnet based on the identifier of the first network resource and the network topology.
[0112] It should be understood that the beneficial effects of the device provided in FIG10 when implementing its functions are the same as the beneficial effects of the method for displaying topological information provided in FIG3, and will not be described in detail here. In addition, when implementing its functions, the device provided in FIG10 is only illustrated by the division of the above-mentioned functional modules. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be 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. The specific implementation process is detailed in the method embodiment, and will not be described in detail here.
[0113] 11 , which shows a schematic structural diagram of an exemplary topology information display device 1100 of the present application. 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 .
[0114] The 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 unit (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. 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 may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor that supports the advanced reduced instruction set machine (ARM) architecture. It can implement or execute various logic blocks, modules and circuits described in conjunction with the disclosure of this application. A 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.
[0115] Optionally, topology information display device 1100 further includes a bus 1102. Bus 1102 is used to transmit information between the various components of topology information display device 1100. Bus 1102 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, for example. Bus 1102 may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, FIG11 shows only one line, but this does not imply that there is only one bus or only one type of bus.
[0116] The memory 1103 may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache.
[0117] By way of example and 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 random access memory (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).
[0118] 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 compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this. The memory 1103 is, for example, independent and connected to the processor 1101 via the bus 1102. The memory 1103 may also be integrated with the processor 1101.
[0119] The network interface 1104 uses any transceiver-like device for communicating with other devices or communication networks, and the communication network can be Ethernet, a radio access network (RAN), or a wireless local area network (WLAN). The network interface 1104 can include a wired network interface and a wireless network interface. Specifically, the network interface 1104 can 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 can be an optical interface, an electrical interface, or a combination thereof. In some embodiments of the present application, the network interface 1104 can be used for the display device 1100 of topology information to communicate with other devices.
[0120] In a specific implementation, as some embodiments, the processor 1101 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG11 . Each of these processors may be a single-core processor or a multi-core processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0121] In specific implementations, as some embodiments, the topology information display device 1100 may include multiple processors, such as processor 1101 and processor 1105 shown in FIG11 . Each of these processors may be a single-core processor or a multi-core processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0122] In some embodiments, the memory 1103 is used to store program instructions 1110 and an operating system 1111 for executing the solution of the present application. The processor 1101 can execute the program instructions 1110 stored in the memory 1103. In other words, the topology information display device 1100 can implement the method provided in the method embodiment, i.e., the method shown in FIG3 , through the processor 1101 and the program instructions 1110 in the memory 1103. The program instructions 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.
[0123] During the 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. The processor 1101 in the topology information display device 1100 reads the instructions in the memory 1103, so that the topology information display device 1100 shown in Figure 11 can execute all or part of the steps in the method embodiment.
[0124] The topology information display device 1100 may also correspond to the apparatus shown in FIG10 , and each functional module in the apparatus shown in FIG10 is implemented using software of the topology information display device 1100. In other words, the functional modules included in the apparatus shown in FIG10 are generated by the processor 1101 of the topology information display device 1100 after reading the program instructions 1110 stored in the memory 1103.
[0125] Among them, each step of the method shown in Figure 3 is completed by the hardware integrated logic circuit or software instructions in the processor of the topology information display device 1100. The steps of the method embodiment disclosed in this 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 field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register, etc. The storage medium is located in the 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 will not be described in detail here.
[0126] In an exemplary embodiment, a computer program (product) is provided. The computer program (product) includes: computer program code. When the computer program code is executed by a computer, the computer is caused to perform the method shown in FIG. 3 .
[0127] In an exemplary embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a program or instruction. When the program or instruction is executed on a computer, the computer executes the method shown in FIG. 3 .
[0128] 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 the method shown in FIG. 3 .
[0129] In an exemplary embodiment, another chip is provided, including: an input interface, an output interface, a processor and a memory. The input interface, the output interface, the processor and the memory are connected through an internal connection path. The processor is used to execute the code in the memory. When the code is executed, the computer equipped with the chip executes the method shown in Figure 3.
[0130] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may 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 herein are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may 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 integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive).
[0131] In this application, the terms "first," "second," and the like are used to distinguish between identical or similar items having substantially the same function or effect. It should be understood that "first," "second," and "nth" do not have a logical or temporal dependency, nor do they limit the quantity or order of execution. 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 these terms. These terms are simply used to distinguish one element from another.
[0132] 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.
[0133] In this application, the term "at least one" means one or more, and the term "plurality" means two or more. For example, "plurality of second devices" means two or more second devices. The terms "system" and "network" are often used interchangeably herein.
[0134] It should be understood that the terminology used in the description of the various examples herein is for the purpose of describing particular examples only and is 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.
[0135] 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 listed items. The term "and / or" describes an association between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this application generally indicates that the associated objects are in an "or" relationship.
[0136] 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 [stated condition or event] is detected” may be interpreted to mean “upon determining ” or “in response to determining ” or “upon detecting [stated condition or event]” or “in response to detecting [stated condition or event],” depending on the context.
[0137] The above description is merely an embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection 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
Display method, device and equipment of topology information and computer readable storage medium
CN119232591B
Network link state display method and network link state display device
CN103298010A
Network topology display method and communication device
CN115426270A
Visualization of large information networks
US20050120030A1
System and Method for Network Topology and Flow Visualization
US20090327903A1