Resource display method and device, equipment and storage medium

By providing a multi-level interface to display the connection relationship between physical and virtual devices in network resource display, the problem that traditional network topology maps cannot effectively display complex network resources is solved, and user experience and management efficiency are improved.

CN118939149APending Publication Date: 2024-11-12CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411003371.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Traditional network topology diagrams cannot effectively display complex network resource connection relationships, making it difficult for users to quickly obtain key information in network management and troubleshooting, affecting work efficiency.

Method used

Provide a resource display method and device, by receiving network resource display requests, displaying the cluster resource display interface, displaying the connection relationship between physical devices and virtual devices, and jumping to the host resource display when the trigger operation of the target host component is detected. The interface shows the relationship between the target host and the physical and virtual devices it is connected to, allowing users to freely switch the interface to display different levels of network resources.

Benefits of technology

Different types of network resources and connection relationships are displayed through multi-level interfaces to avoid visual confusion, facilitate users to quickly obtain information, improve user experience and management efficiency, and intuitively reflect the network hierarchy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939149A_ABST
    Figure CN118939149A_ABST
Patent Text Reader

Abstract

The invention relates to a resource display method and device, equipment and a storage medium. The method comprises the following steps: receiving a network resource display request; displaying a cluster resource display interface corresponding to the network resource display request, wherein the cluster resource display interface is used for displaying equipment components corresponding to physical equipment in a cluster and a connection relationship; in response to a first trigger operation detected on a target host component on the cluster resource display interface, controlling the interface to jump to a host resource display interface associated with the target host component, the host resource display interface is used for displaying the target host component, the physical device connected with the target host, the device component corresponding to the virtual device and the connection relation. By setting a plurality of resource display interfaces and allowing the user to freely switch, network resources of different hierarchical types and connection relationships can be displayed in different interfaces, visual disorder caused by simultaneous presentation of excessive information is avoided, the user can conveniently and quickly acquire information, and thus user experience and management efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a resource display method, device, equipment and storage medium. Background Art

[0002] With the rapid development of virtualization and distributed technology, the connection relationship of network resources (such as switches, network cards, hosts, virtual machines, etc.) is becoming increasingly complex. When it is necessary to display the information and connection relationship of a large number of network resources, the traditional network topology map cannot cope with the complexity, which makes it difficult for users to quickly obtain key information during network management and troubleshooting, affecting work efficiency. Therefore, how to innovatively display network resources to enhance information visualization, improve user experience and management efficiency is a technical problem that needs to be solved urgently. Summary of the invention

[0003] In order to solve the above technical problems, the present disclosure provides a resource display method, device, equipment and storage medium.

[0004] A first aspect of an embodiment of the present disclosure provides a resource display method, the method comprising:

[0005] Receive network resource display request;

[0006] Displaying a cluster resource display interface corresponding to the network resource display request, wherein the cluster resource display interface is used to display device components corresponding to physical devices in the cluster and connection relationships between the various device components, wherein the physical devices include physical switches, physical network cards, and hosts;

[0007] In response to detecting a first trigger operation on a target host component among multiple device components in the cluster resource display interface, the control interface jumps to the host resource display interface associated with the target host component. The host resource display interface is used to display the target host component, the physical devices connected to the target host, the device components corresponding to the virtual devices, and the connection relationship between each device component. The virtual device includes a virtual switch, a port group, a virtual network card, and a virtual machine.

[0008] A second aspect of an embodiment of the present disclosure provides a resource display device, the device comprising:

[0009] A receiving module, used for receiving a network resource display request;

[0010] A first display module, used to display a cluster resource display interface corresponding to the network resource display request, wherein the cluster resource display interface is used to display device components corresponding to physical devices in the cluster and connection relationships between the various device components, wherein the physical devices include physical switches, physical network cards, and hosts;

[0011] The first jump module is used to control the interface to jump to the host resource display interface associated with the target host component in response to detecting a first trigger operation on the target host component among multiple device components in the cluster resource display interface. The host resource display interface is used to display the target host component, the physical devices connected to the target host, the device components corresponding to the virtual devices, and the connection relationship between the various device components. The virtual devices include virtual switches, port groups, virtual network cards, and virtual machines.

[0012] A third aspect of an embodiment of the present disclosure provides a computer device, including a memory, a processor, and a computer program, wherein the computer program is stored in the memory, and when the computer program is executed by the processor, the resource display method as described in the first aspect above is implemented.

[0013] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the resource display method as described in the first aspect above is implemented.

[0014] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0015] In the resource display method, apparatus, device and storage medium provided in the embodiments of the present disclosure, a cluster resource display interface corresponding to the network resource display request is displayed by receiving a network resource display request, the cluster resource display interface is used to display device components corresponding to physical devices in the cluster and the connection relationship between each device component, the physical device includes a physical switch, a physical network card and a host, in response to detecting a first trigger operation on a target host component among multiple device components in the cluster resource display interface, the control interface jumps to the host resource display interface associated with the target host component, the host resource display interface is used to display the target host component, the physical device connected to the target host and the device components corresponding to the virtual device and the connection relationship between each device component, the virtual device includes a virtual switch, a port group, a virtual network card, and a virtual machine, and multiple resource display interfaces can be set and users are allowed to switch freely, so as to display network resources and connection relationships of different levels and types in different interfaces, avoid visual confusion caused by presenting too much information at the same time, facilitate users to quickly obtain information, and thus improve user experience and management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 is a flow chart of a resource display method provided by an embodiment of the present disclosure;

[0019] Figure 2 is a schematic diagram of an interface of a cluster resource display interface provided by an embodiment of the present disclosure;

[0020] Figure 3 is a schematic diagram of a host resource display interface provided by an embodiment of the present disclosure;

[0021] Figure 4 This is a schematic diagram of a virtual switch resource display interface provided by an embodiment of the present disclosure;

[0022] Figure 5 It is a schematic diagram of another interface of a virtual switch resource display interface provided by an embodiment of the present disclosure;

[0023] Figure 6 This is a schematic diagram of another virtual switch resource display interface provided by an embodiment of the present disclosure;

[0024] Figure 7 is a schematic diagram of another interface of a host resource display interface provided by an embodiment of the present disclosure;

[0025] Figure 8 This is a schematic diagram of another host resource display interface provided by an embodiment of the present disclosure;

[0026] Fig. 9 is a schematic diagram of another host resource display interface provided by an embodiment of the present disclosure;

[0027] Fig.10 is a schematic diagram of another host resource display interface provided by an embodiment of the present disclosure;

[0028] Fig.11 is a schematic diagram of another host resource display interface provided by an embodiment of the present disclosure;

[0029] Fig.12 is a structural schematic diagram of a resource display device provided by an embodiment of the present disclosure;

[0030] Fig.13 It is a structural diagram of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0032] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0033] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0034] Figure 1 1 is a flow chart of a resource display method provided by an embodiment of the present disclosure. The method can be executed by a resource display device. The resource display device can be implemented in software and / or hardware. The resource display device can be configured in an electronic device, such as a server or a terminal, wherein the terminal specifically includes a mobile phone, a computer or a tablet computer, etc. Figure 1 As shown, the resource display method provided in this embodiment includes the following steps:

[0035] S101: Receive a network resource display request.

[0036] The network resources in the embodiments of the present disclosure can be understood as available resource objects in the network environment. For example, the network resources may include physical devices in the network, such as physical switches, physical network cards, and hosts, and may also include virtual devices, such as virtual switches, port groups, virtual network cards, virtual machines, etc., which are not limited here.

[0037] In the disclosed embodiment, the resource display device may receive the network resource request when a user wishes to obtain information about network resources in a cluster, triggering generation of a network resource display request. For example, the network resource display request may include cluster information (such as the name of the cluster, the identifier of the cluster, etc.). After receiving the network resource display request, the resource display device may parse the network resource display request and extract the cluster information therefrom.

[0038] S102: Display a cluster resource display interface corresponding to the network resource display request, wherein the cluster resource display interface is used to display device components corresponding to physical devices in the cluster and connection relationships between the device components, wherein the physical devices include physical switches, physical network cards, and hosts.

[0039] The cluster resource display interface in the embodiment of the present disclosure may be understood as an interface for displaying the resource distribution in a network cluster, including device components corresponding to each physical device in the same network cluster and connection lines between the device components.

[0040] In the disclosed embodiment, the resource display device can determine the cluster corresponding to the request after receiving a network resource display request, and then determine the cluster resource display interface associated with the cluster corresponding to the request as the cluster resource display interface corresponding to the request, and display the cluster resource display interface, wherein the cluster resource display interface includes device components corresponding to each physical device in the cluster corresponding to the request and the connection relationship between each device component.

[0041] Optionally, the device components in the cluster resource display interface may be three-dimensional components, the connection relationship may be represented by connection lines, and the device components corresponding to the physical network card and the device components corresponding to the host may be displayed in a superimposed manner.

[0042] Figure 2 FIG. 1 is a schematic diagram of a cluster resource display interface provided by an embodiment of the present disclosure. Figure 2 As shown, the cluster resource display interface includes a physical switch component 201, a host component 202, a physical network card component 203, a host component 204 and a physical network card component 205, as well as connection lines 206 between the various device components, wherein the physical network card component 205 is displayed in a highlighted manner, indicating that the physical network card corresponding to the physical network card component 205 is in an abnormal working state.

[0043] S103. In response to detecting a first trigger operation on a target host component among multiple device components in the cluster resource display interface, the control interface jumps to a host resource display interface associated with the target host component, wherein the host resource display interface is used to display the target host component, the physical devices connected to the target host, the device components corresponding to the virtual devices, and the connection relationship between the various device components, wherein the virtual devices include virtual switches, port groups, virtual network cards, and virtual machines.

[0044] The target host component in the embodiment of the present disclosure can be understood as a device component corresponding to the target host in the cluster, and the first trigger operation can be understood as any one of operations such as clicking, hovering, and long pressing.

[0045] The host resource display interface in the embodiment of the present disclosure can be understood as an interface used to display the connection status of a host with other upstream and downstream network resources, including the device components corresponding to the host, the device components corresponding to other physical devices and virtual devices connected to the host, and the connection relationship between the device components.

[0046] In an embodiment of the present disclosure, the resource display device can obtain a host resource display interface associated with the target host component when detecting a first trigger operation of a user on a target host component in a cluster resource display interface, and control the current display interface to jump from the cluster resource display interface to the host resource display interface associated with the target host component, wherein the host resource display interface includes the target host component, device components corresponding to other physical devices and virtual devices connected to the target host, and the connection relationship between each device component.

[0047] Optionally, when detecting the user's first trigger operation on the target host component in the cluster resource display interface, the resource display device can obtain the target host information (such as host name, host ID, etc.) corresponding to the target host component, and then determine the information of other physical devices and virtual devices connected to the target host, as well as the connection relationship between the other physical devices and virtual devices and the target host based on the target host information, and then generate a host resource display interface associated with the target host component.

[0048] Optionally, the device components in the host resource display interface can be three-dimensional components, and the connection relationship can be represented by connecting lines. The device components corresponding to the physical network card and the device components corresponding to the host, the device components corresponding to the virtual switch and the device components corresponding to the port group, and the device components corresponding to the virtual network card and the device components corresponding to the virtual machine can be displayed in superposition.

[0049] Figure 3 FIG. 1 is a schematic diagram of a host resource display interface provided by an embodiment of the present disclosure. Figure 3 As shown, the host resource display interface includes a physical switch component 301, a target host component 302, a physical network card component 303 superimposed on the target host component 302, a target virtual switch component 304, port group components 305 and 306 superimposed on the target virtual switch component 304, a virtual machine component 307 connected to the port group component 306, and a virtual network card component 308 superimposed on the virtual machine component 307.

[0050] Specifically, the resource display device can be Figure 2 When the first trigger operation for the target host component 202 is detected in the cluster resource display interface shown, the control interface jumps to Figure 3 The host resource display interface associated with the target host component 202 is shown.

[0051] Optionally, when the number of virtual machines connected to the same port group of the virtual switch is less than or equal to the target number, the virtual machine components corresponding to each virtual machine connected to the same port group can be displayed in a single column. When the number of virtual machines connected to the same port group of the virtual switch is greater than the target number, the number of columns is first determined according to the number of virtual machines, and then the virtual machine components are displayed in multiple columns according to the number of columns, so that the number of virtual machine components displayed in each column is the same or as close as possible. For example, when the target number is 5, port group 1 is connected to 4 virtual machines, port group 2 is connected to 9 virtual machines, and port group 3 is connected to 12 virtual machines. In the host resource display interface, the 4 virtual machine components corresponding to the 4 virtual machines connected to port group 1 are displayed in a single column, the 9 virtual machine components corresponding to the 9 virtual machines connected to port group 2 are displayed in two columns, one column contains 5 virtual machine components, and the other column contains 4 virtual machine components. The 12 virtual machine components corresponding to the 12 virtual machines connected to port group 3 are displayed in three columns, each column contains 4 virtual machine components.

[0052] The embodiment of the present disclosure receives a network resource display request and displays a cluster resource display interface corresponding to the network resource display request. The cluster resource display interface is used to display device components corresponding to physical devices in the cluster and connection relationships between the device components. The physical devices include physical switches, physical network cards, and hosts. In response to detecting a first trigger operation on a target host component among multiple device components in the cluster resource display interface, the control interface jumps to a host resource display interface associated with the target host component. The host resource display interface is used to display the target host component, the physical devices connected to the target host, and the device components corresponding to virtual devices, as well as connection relationships between the device components. The virtual devices include virtual switches, port groups, virtual network cards, and virtual machines. Multiple resource display interfaces can be set and users can be allowed to switch freely, so that network resources and connection relationships of different hierarchical types are displayed in different interfaces, avoiding visual confusion caused by too much information being presented at the same time, facilitating users to quickly obtain information, and thus improving user experience and management efficiency. At the same time, the device components corresponding to the network resources are presented in a three-dimensional manner, and some device components are superimposed and displayed, which can more intuitively reflect the hierarchical structure of network resources, enable users to more easily understand the logical relationship between devices in a complex network, and display more device and connection information without sacrificing readability, further improving user experience.

[0053] In some embodiments, the resource display device can, in response to detecting a first trigger operation on a target host component on the host resource display interface, control the interface to jump to the cluster resource display interface; in response to detecting a first trigger operation on a target virtual switch component among multiple device components on the host resource display interface, control the interface to jump to the virtual switch resource display interface associated with the target virtual switch component, and the virtual switch resource display interface is used to display the target virtual switch component, the physical devices connected to the target virtual switch, the device components corresponding to the virtual devices, and the connection relationship between each device component.

[0054] The target virtual switch component in the embodiment of the present disclosure may be understood as a device component corresponding to the target virtual switch.

[0055] The virtual switch resource display interface in the embodiment of the present disclosure can be understood as an interface used to display the connection status of a virtual switch and other upstream and downstream network resources, including the device components corresponding to the virtual switch, the physical devices connected to the virtual switch and the device components corresponding to other virtual devices, and the connection relationship between the device components.

[0056] In the disclosed embodiment, the resource display device can, upon detecting a first trigger operation by a user on a target host component in a host resource display interface, control the interface to return from the host resource display interface to the cluster resource display interface before the jump; upon detecting a first trigger operation by a user on a target virtual switch component in the host resource display interface, obtain a virtual switch resource display interface associated with the target virtual switch component, and control the current display interface to jump from the host resource display interface to the virtual switch resource display interface associated with the target virtual switch component, wherein the virtual switch resource display interface includes the target virtual switch component, device components corresponding to other virtual devices and physical devices connected to the target virtual switch, and the connection relationship between each device component.

[0057] Optionally, the device components in the virtual switch resource display interface can be three-dimensional components, and the connection relationship can be represented by connecting lines. The device components corresponding to the physical network card and the device components corresponding to the host, the device components corresponding to the virtual switch and the device components corresponding to the port group, and the device components corresponding to the virtual network card and the device components corresponding to the virtual machine can be displayed in superposition.

[0058] Figure 4 FIG. 1 is a schematic diagram of a virtual switch resource display interface provided by an embodiment of the present disclosure. Figure 4As shown, the virtual switch resource display interface includes a physical switch component 401, a target host component 402, a host component 403 and their respective corresponding host names node1 and node2. The physical network card component is superimposed on the target host component 402 and the host component 403. The virtual switch resource display interface also includes a target virtual switch component 404. The target virtual switch component 404 is connected to four port group components, which correspond to port group A, port group B, port group C and port group D respectively, wherein the first port group component 405 corresponds to port group A, and the downstream of the first port group component 405 is connected to virtual machine components 406, 407 and 408 and virtual network card components. The virtual machines corresponding to the virtual machine components 406 and 407 are virtual machines managed by the target host node1, and the virtual machine corresponding to the virtual machine component 408 is a virtual machine managed by the host node2.

[0059] Specifically, the resource display device can be Figure 3 When the first trigger operation for the target host component 302 is detected in the host resource display interface shown, the control interface jumps to Figure 2 The cluster resource display interface shown in the figure can also be Figure 3 When the first trigger operation for the target virtual switch component 304 is detected in the host resource display interface shown, the control interface jumps to Figure 4 The virtual switch resource display interface shown.

[0060] The disclosed embodiment sets a virtual switch resource display interface with the virtual switch as the core, which can facilitate users to view the network resource connection status of the target virtual switch, quickly obtain relevant information of the target virtual switch, and further improve user experience and management efficiency.

[0061] In some embodiments, the resource display device can, in response to detecting a second trigger operation on the target host component in the virtual switch resource display interface, display the network information of the target host in the first display area corresponding to the target host component, and highlight the first virtual machine component and the first virtual network card component associated with the target host component; and / or: in response to detecting a second trigger operation on the first target port group component among multiple device components in the virtual switch resource display interface, highlight the second virtual machine component and the second virtual network card component connected to the first target port group component.

[0062] The second trigger operation in the disclosed embodiment can be understood as any operation different from the first trigger operation, such as clicking, hovering, and long pressing. The first display area can be understood as the information display area near the target host component pre-set in the virtual switch resource display interface. The network information may include network card information, IP address, etc., which is not limited here.

[0063] The first virtual machine component and the first virtual network card component in the disclosed embodiment can be understood as the device components corresponding to the virtual machines and virtual network cards managed by the target host in the virtual switch resource display interface, and the second virtual machine component and the second virtual network card component can be understood as the device components corresponding to the virtual machines and virtual network cards connected to the first target port group in the virtual switch resource display interface.

[0064] Figure 5 FIG. 1 is a schematic diagram of another virtual switch resource display interface provided by an embodiment of the present disclosure. Figure 5 As shown, when the resource display device detects the second trigger operation for the target host component 501 in the virtual switch resource display interface, the network information 502 of the target host can be displayed in the first display area corresponding to the target host component 501, and the first virtual machine components 503, 504, 505 and the first virtual network card components 506, 507, 508 connected to the target host component 501 are highlighted.

[0065] Figure 6 FIG. 1 is a schematic diagram of another virtual switch resource display interface provided by an embodiment of the present disclosure. Figure 6 As shown, when the resource display device detects the second trigger operation for the first target port group component 601 in the virtual switch resource display interface, the second virtual machine components 602, 603, 604 and the second virtual network card components 605, 606, 607 connected to the first target port group component 601 can be highlighted, and the network connection line 608 associated with the first target port group component 601 can also be highlighted.

[0066] In some embodiments, the resource display device can, in response to detecting a second trigger operation on the target host component in the host resource display interface, display the network information of the target host in a second display area corresponding to the target host component; and / or: in response to detecting a second trigger operation on the target virtual machine component among multiple device components in the host resource display interface, display the network information of the target virtual machine in a third display area corresponding to the target virtual machine component, and highlight the network connection line associated with the target virtual machine component.

[0067] The second display area in the embodiment of the present disclosure can be understood as an information display area near the target host component pre-set in the host resource display interface, and the third display area can be understood as an information display area near the target virtual machine component pre-set in the host resource display interface.

[0068] Figure 7 FIG. 1 is a schematic diagram of another host resource display interface provided by an embodiment of the present disclosure. Figure 7As shown, when the resource display device detects a second trigger operation on the target host component 701 in the host resource display interface, the target host network information 702 can be displayed in the second display area corresponding to the target host component 701 .

[0069] Figure 8 FIG. 1 is a schematic diagram of another host resource display interface provided by an embodiment of the present disclosure. Figure 8 As shown, when the resource display device detects a second trigger operation for the target virtual machine component 801 in the host resource display interface, the network information 802 of the target virtual machine can be displayed in the third display area corresponding to the target virtual machine component 801, and the network connection lines 803, 804, and 805 associated with the target virtual machine component 801 can be highlighted.

[0070] In some embodiments, the resource display device can highlight the third virtual machine component and the third virtual network card component connected to the target virtual switch component in response to detecting a second trigger operation on the target virtual switch component in the host resource display interface; and / or: in response to detecting a second trigger operation on the second target port group component among multiple device components in the host resource display interface, highlight the fourth virtual machine component and the fourth virtual network card component connected to the second target port group component.

[0071] The third virtual machine component and the third virtual network card component in the embodiment of the present disclosure can be understood as the device components corresponding to the virtual machine and the virtual network card connected to the target virtual switch in the host resource display interface, and the fourth virtual machine component and the fourth virtual network card component can be understood as the device components corresponding to the virtual machine and the virtual network card connected to the second target port group in the host resource display interface.

[0072] Fig. 9 FIG. 1 is a schematic diagram of another host resource display interface provided by an embodiment of the present disclosure. Fig. 9 As shown, when the resource display device detects the second trigger operation on the target virtual switch component 901 in the host resource display interface, the third virtual machine components 902, 903, 904 and the third virtual network card components 905, 906, 907 connected to the target virtual switch component 901 are highlighted.

[0073] Fig.10 FIG. 1 is a schematic diagram of another host resource display interface provided by an embodiment of the present disclosure. Fig.10As shown, the target virtual switch corresponding to the target virtual switch component 1001 includes two port groups, which correspond to the port group components 1002 and 1003 respectively. When the second trigger operation on the second target port group component 1002 is detected on the host resource display interface, the resource display device can highlight the fourth virtual machine components 1004, 1005 and the fourth virtual network card components 1007, 1008 connected to the second target port group component 1002. Optionally, when the second trigger operation on the second target port group component 1002 is detected, the resource display device can also weaken the display of other virtual machine components and virtual network card components (such as virtual machine component 1008 and virtual network card component 1009) other than the fourth virtual machine components 1004, 1005 and the fourth virtual network card components 1007, 1008.

[0074] In some embodiments, when the number of port groups connected to the target virtual switch is greater than a preset number, the device components corresponding to the port groups in the host resource display interface include a preset number of first port group components and one second port group component, each first port group component corresponds to a first port group, and the second port group component corresponds to at least two second port groups, and the second port groups are other port groups in the port groups connected to the target virtual switch except the first port group; the host resource display interface also includes an expansion control, and the resource display device can hide the second port group component and the expansion control in response to detecting a first trigger operation on the expansion control in the host resource display interface, and display at least two third port group components, and each third port group component corresponds to a second port group.

[0075] In the embodiment of the present disclosure, the preset number can be set according to user needs.

[0076] The disclosed embodiments display more detailed information or highlight related components of interest to the user based on the user's triggering operations on different device components in different interfaces, thereby further facilitating the user to quickly obtain information and improving user experience and management efficiency.

[0077] Fig.11 FIG. 1 is a schematic diagram of an interface of a host resource display interface provided by an embodiment of the present disclosure. Fig.11As shown, when the preset number is 2 and the target virtual switch is connected to 5 virtual port groups (i.e., port group A, port group B, port group C, port group D, and port group E), the host resource display interface shown in the above figure includes a target virtual switch component 1101, first port group components 1102 and 1103, a second port group component 1104, and an expansion control 1105, the first port group component 1102 is connected to a virtual machine component 1106, the first port group component 1103 is connected to a virtual machine component 1107, and the second port group component 1104 is connected to virtual machine components 1108, 1109, and 1110, wherein the first port group components 1102 and 1103 correspond to a first port group (i.e., port group A and port group B), respectively, and the second port group component 1104 corresponds to the other second port groups outside the first port group (i.e., port group C, port group D, and port group E). When the resource display device detects the first trigger operation on the expansion control 1105 in the host resource display interface, the second port group component 1104 and the expansion control 1105 shown in the above figure can be hidden, and the third port group components 1111, 1112, and 1113 corresponding to each second port group shown in the following figure can be displayed.

[0078] Fig.12 Schematic diagram of a resource display device provided by an embodiment of the present disclosure. Fig.12 As shown, the resource display device 1200 includes: a receiving module 1210, a first display module 1220, and a first jump module 1230, wherein the receiving module 1210 is used to receive a network resource display request; the first display module 1220 is used to display a cluster resource display interface corresponding to the network resource display request, the cluster resource display interface is used to display device components corresponding to physical devices in the cluster and the connection relationship between each device component, the physical device includes a physical switch, a physical network card and a host; the first jump module 1230 is used to control the interface to jump to the host resource display interface associated with the target host component in response to detecting a first trigger operation on a target host component among multiple device components on the cluster resource display interface, the host resource display interface is used to display the target host component, the physical device connected to the target host and the device components corresponding to the virtual device and the connection relationship between each device component, the virtual device includes a virtual switch, a port group, a virtual network card, and a virtual machine.

[0079] Optionally, the resource display device 1200 further includes: a second jump module, which is used to control the interface to jump to the cluster resource display interface in response to detecting a first trigger operation on the target host component in the host resource display interface; a third jump module, which is used to control the interface to jump to the virtual switch resource display interface associated with the target virtual switch component in response to detecting a first trigger operation on the target virtual switch component among the multiple device components in the host resource display interface, wherein the virtual switch resource display interface is used to display the target virtual switch component, the physical device connected to the target virtual switch, the device components corresponding to the virtual device, and the connection relationship between each device component. .

[0080] Optionally, the resource display device 1200 also includes: a second display module, used to respond to detecting a second trigger operation on the target host component in the virtual switch resource display interface, display the network information of the target host in the first display area corresponding to the target host component, and highlight the first virtual machine component and the first virtual network card component associated with the target host component; a third display module, used to respond to detecting a second trigger operation on the first target port group component among multiple device components in the virtual switch resource display interface, and highlight the second virtual machine component and the second virtual network card component connected to the first target port group component.

[0081] Optionally, the resource display device 1200 also includes: a fourth display module, used to display the network information of the target host in the second display area corresponding to the target host component in response to detecting a second trigger operation on the target host component in the host resource display interface; a fifth display module, used to display the network information of the target virtual machine in the third display area corresponding to the target virtual machine component in response to detecting a second trigger operation on the target virtual machine component among the multiple device components in the host resource display interface, and highlight the network connection line associated with the target virtual machine component.

[0082] Optionally, the resource display device 1200 also includes: a sixth display module, used to highlight the third virtual machine component and the third virtual network card component connected to the target virtual switch component in response to detecting a second trigger operation on the target virtual switch component on the host resource display interface; a seventh display module, used to highlight the fourth virtual machine component and the fourth virtual network card component connected to the second target port group component in response to detecting a second trigger operation on the second target port group component among multiple device components on the host resource display interface.

[0083] Optionally, when the number of port groups connected to the target virtual switch is greater than a preset number, the device components corresponding to the port groups in the host resource display interface include a preset number of first port group components and one second port group component, each first port group component corresponds to a first port group, and the second port group component corresponds to at least two second port groups, and the second port groups are other port groups in the port groups connected to the target virtual switch except the first port group; the host resource display interface also includes an expansion control, and the resource display device 1200 also includes: an eighth display module, which is used to hide the second port group component and the expansion control in response to detecting a first trigger operation on the expansion control in the host resource display interface, and display at least two third port group components, each third port group component corresponds to a second port group.

[0084] Optionally, the device component is a three-dimensional component, the connection relationship is represented by a connecting line, and the display method of the device component includes at least one of the following display methods: the device component corresponding to the physical network card and the device component corresponding to the host are superimposed and displayed; the device component corresponding to the virtual switch and the device component corresponding to the port group are superimposed and displayed; the device component corresponding to the virtual network card and the device component corresponding to the virtual machine are superimposed and displayed.

[0085] The resource display device provided in this embodiment can execute the method described in any of the above embodiments. Its execution method and beneficial effects are similar and will not be described in detail here.

[0086] Fig.13 It is a structural diagram of a computer device provided in an embodiment of the present disclosure.

[0087] like Fig.13 As shown, the computer device may include a processor 1310 and a memory 1320 storing computer program instructions.

[0088] Specifically, the processor 1310 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0089] The memory 1320 may include a large capacity memory for information or instructions. By way of example and not limitation, the memory 1320 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 1320 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 1320 may be inside or outside the integrated gateway device. In a specific embodiment, the memory 1320 is a non-volatile solid-state memory. In a specific embodiment, the memory 1320 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM), an electrically alterable ROM (EAROM) or flash memory, or a combination of two or more of these.

[0090] The processor 1310 reads and executes the computer program instructions stored in the memory 1320 to perform the steps of the resource display method provided in the embodiment of the present disclosure.

[0091] In one example, the computer device may further include a transceiver 1330 and a bus 13130. Fig.13 As shown, the processor 1310, the memory 1320 and the transceiver 1330 are connected via a bus 1340 and communicate with each other.

[0092] The bus 1340 includes hardware, software, or both. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a Memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus 1340 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.

[0093] The embodiments of the present disclosure further provide a computer-readable storage medium, which may store a computer program. When the computer program is executed by a processor, the processor implements the resource display method provided by the embodiments of the present disclosure.

[0094] The above-mentioned storage medium may, for example, include a memory 1320 of computer program instructions, and the above-mentioned instructions may be executed by the processor 1310 of the resource display device to complete the resource display method provided by the embodiment of the present disclosure. Optionally, the storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, a random access memory (Random Access Memory, RAM), a compact disc read-only memory (Compact Disc ROM, CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc. The above-mentioned computer program may be written in any combination of one or more programming languages ​​to perform the program code for the operation of the embodiment of the present disclosure, and the programming language includes an object-oriented programming language, such as Java, C++, etc., and also includes a conventional procedural programming language, such as "C" language or similar programming language. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device, partially on the remote computing device, or completely on the remote computing device or server.

[0095] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0096] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A resource display method, characterized in that: The method comprises: Receive network resource display request; Displaying a cluster resource display interface corresponding to the network resource display request, wherein the cluster resource display interface is used to display device components corresponding to physical devices in the cluster and connection relationships between the various device components, wherein the physical devices include physical switches, physical network cards, and hosts; In response to detecting a first trigger operation on a target host component among multiple device components in the cluster resource display interface, the control interface jumps to the host resource display interface associated with the target host component. The host resource display interface is used to display the target host component, the physical devices connected to the target host, the device components corresponding to the virtual devices, and the connection relationship between each device component. The virtual device includes a virtual switch, a port group, a virtual network card, and a virtual machine.

2. The method according to claim 1, characterized in that After the control interface jumps to the host resource display interface associated with the target host component, the method further includes: In response to detecting a first trigger operation on the target host component in the host resource display interface, the control interface jumps to the cluster resource display interface; In response to detecting a first trigger operation on a target virtual switch component among multiple device components on the host resource display interface, the control interface jumps to the virtual switch resource display interface associated with the target virtual switch component, and the virtual switch resource display interface is used to display the target virtual switch component, the physical devices and virtual devices connected to the target virtual switch, and the device components corresponding to the connection relationship between each device component.

3. The method according to claim 2, characterized in that After the control interface jumps to the virtual switch resource display interface associated with the target virtual switch component, the method further includes: In response to detecting a second trigger operation on the target host component on the virtual switch resource display interface, displaying network information of the target host in a first display area corresponding to the target host component, and highlighting a first virtual machine component and a first virtual network card component associated with the target host component; and / or: In response to detecting a second trigger operation on a first target port group component among multiple device components on the virtual switch resource display interface, a second virtual machine component and a second virtual network card component connected to the first target port group component are highlighted.

4. The method according to claim 1, characterized in that After the control interface jumps to the host resource display interface associated with the target host component, the method further includes: In response to detecting a second trigger operation on the target host component in the host resource display interface, displaying network information of the target host in a second display area corresponding to the target host component; and / or: In response to detecting a second trigger operation on a target virtual machine component among multiple device components in the host resource display interface, network information of the target virtual machine is displayed in a third display area corresponding to the target virtual machine component, and a network connection line associated with the target virtual machine component is highlighted.

5. The method according to claim 1, characterized in that After the control interface jumps to the host resource display interface associated with the target host component, the method further includes: In response to detecting a second trigger operation on a target virtual switch component in the host resource display interface, highlighting a third virtual machine component and a third virtual network card component connected to the target virtual switch component; and / or: In response to detecting a second trigger operation on a second target port group component among the multiple device components on the host resource display interface, a fourth virtual machine component and a fourth virtual network card component connected to the second target port group component are highlighted.

6. The method according to claim 5, characterized in that When the number of port groups connected to the target virtual switch is greater than a preset number, the device components corresponding to the port groups in the host resource display interface include a preset number of first port group components and one second port group component, each first port group component corresponds to a first port group, the second port group component corresponds to at least two second port groups, and the second port groups are other port groups in the port groups connected to the target virtual switch except the first port group; The host resource display interface further includes an expansion control, and after the control interface jumps to the host resource display interface associated with the target host component, the method further includes: In response to detecting a first trigger operation on the expansion control in the host resource display interface, hiding the second port group component and the expansion control, and displaying at least two third port group components, each of which corresponds to a second port group.

7. The method according to claim 1, characterized in that The device component is a three-dimensional component, the connection relationship is represented by a connection line, and the display mode of the device component includes at least one of the following display modes: The device components corresponding to the physical network card and the device components corresponding to the host are displayed in a superimposed manner; The device components corresponding to the virtual switch and the device components corresponding to the port group are displayed in a superimposed manner; The device components corresponding to the virtual network card and the device components corresponding to the virtual machine are displayed superimposed.

8. A resource display device, characterized in that: include: A receiving module, used for receiving a network resource display request; A first display module, used to display a cluster resource display interface corresponding to the network resource display request, wherein the cluster resource display interface is used to display device components corresponding to physical devices in the cluster and connection relationships between the various device components, wherein the physical devices include physical switches, physical network cards, and hosts; The first jump module is used to control the interface to jump to the host resource display interface associated with the target host component in response to detecting a first trigger operation on the target host component among multiple device components in the cluster resource display interface. The host resource display interface is used to display the target host component, the physical devices connected to the target host, the device components corresponding to the virtual devices, and the connection relationship between the various device components. The virtual devices include virtual switches, port groups, virtual network cards, and virtual machines.

9. A computer device, characterized in that: include: Memory; processor; and a computer program; wherein the computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Three-dimensional display method and device of computing resources, electronic equipment and storage medium

    CN120070702A

  • Connection relationship configuration method and apparatus, electronic device, and storage medium

    WO2026170988A1