A display method, device and medium for device panel
By obtaining the device panel as background image and configuring files to obtain port information, the convolutional neural network is used to identify the device type and port status, and the problem of not being able to display the port online status and type in the existing technology is solved, and the automatic display of the device panel is realized. Efficient management.
Patent Information
- Application Number
- CN202210845390.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-19
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-07-19
AI Technical Summary
The prior art cannot visually display the port online status and port type in the device panel in real time, and requires manual editing.
By determining the device type, obtaining the device panel as the background image, the configuration file obtains the port name and type, using the convolutional neural network to identify the device type, and displaying the online status and type of the port on the background image based on the port status information.
It realizes the automated display of the equipment panel, saves human resources, improves data readability and maintenance efficiency, and improves equipment management capabilities.
Smart Images

Figure CN115277865B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network management technology, and in particular to a display method, device and medium for a device panel. Background Art
[0002] A gateway or controller often includes multiple devices. In IT operation and maintenance management and network management systems, real-time display of device status information is very important. It is often necessary to display device panel information in detail in the form of charts to achieve real-time display of device information in the topology.
[0003] The existing technology requires manual editing of the device panel, which cannot intuitively display whether the device port is online in real time, and cannot distinguish between various ports and port types. Summary of the invention
[0004] The embodiments of the present application provide a method, device and medium for displaying a device panel, so as to solve the technical problem that the prior art manually performs editing operations on the device panel and fails to display the online status, port name and port type of the port.
[0005] On the one hand, an embodiment of the present application provides a method for displaying a device panel, including:
[0006] Determine the device type corresponding to each device, and obtain the device panel corresponding to the device type of the target device according to a preset method, so as to use the corresponding device panel as the background image of the target device;
[0007] Configuring a corresponding configuration file for each of the devices respectively, and naming the configuration files corresponding to the devices respectively according to the device types corresponding to the devices;
[0008] Reading a correspondingly named configuration file according to the device type of the target device to obtain a port name corresponding to each port in the configuration file of the target device, and determining a port type corresponding to the port according to the port name corresponding to the port; wherein the port type includes an optical port type and an electrical port type;
[0009] The status information of the port in the target device is obtained according to the port type, and the port is displayed on the background image of the target device based on the relative coordinates and size of the port in the target device configuration file according to the port status information; wherein the port status information includes an online status and an offline status.
[0010] In one implementation of the present application, determining the device type corresponding to each device and acquiring the device panel corresponding to the device type of the target device according to a preset method, so as to use the corresponding device panel as the background image of the target device, specifically includes:
[0011] Obtaining a device image corresponding to each device, and inputting the device image into a pre-trained type recognition model to output the device type of the device corresponding to the device image;
[0012] According to the device type corresponding to the target device, determine the panel acquisition method corresponding to the device type from a preset method, and obtain the device panel corresponding to the device type of the target device from a gateway or a controller according to the corresponding panel acquisition method;
[0013] The device panel corresponding to the target device is used as the background image of the target device.
[0014] In one implementation of the present application, before inputting the device image into a pre-trained type recognition model to output the device type of the device corresponding to the device image, the method further includes:
[0015] Inputting a device image of a predetermined device type into a convolutional neural network for training, and obtaining multiple attribute features of the device from the device image through a convolutional layer, a pooling layer, and a fully connected layer of the convolutional neural network;
[0016] According to the multiple attribute features of the device, the device type corresponding to the device image is output, and when the device type output by the convolutional neural network is the same as the device type predetermined by the device image, the training of the type recognition model is completed.
[0017] In an implementation of the present application, after configuring the corresponding configuration files for each of the devices, the method further includes:
[0018] Acquire a trademark corresponding to the target device and a port number corresponding to each port in the target device, so as to add the trademark corresponding to the target device to a background image corresponding to the target device;
[0019] According to the port numbers corresponding to the ports in the target device, the ports corresponding to the port numbers are determined respectively, and the relative coordinates between the ports and the target device are obtained, so as to add the relative coordinates of the ports to the configuration file corresponding to the target device.
[0020] In one implementation of the present application, reading a correspondingly named configuration file according to the device type of the target device to obtain a port name corresponding to each port in the configuration file of the target device, and determining a port type corresponding to the port according to the port name corresponding to the port, specifically includes:
[0021] According to the device type of the target device, a configuration file named corresponding to the device type is obtained from a configuration file library, and according to the identification information of the target device, a plurality of ports corresponding to the identification information are obtained from the configuration file;
[0022] According to the multiple ports corresponding to the obtained identification information, respectively obtain the port name corresponding to each of the ports from the configuration file, and query each port name in the port type table according to the port name corresponding to the port;
[0023] When the port name corresponding to the port matches the port name in the port type table, the port type corresponding to the port is determined according to the port type of the matching port name in the port type table.
[0024] In one implementation of the present application, the acquiring of the status information of the port in the target device according to the port type, and displaying the port corresponding to the port status information on the background image of the target device based on the relative coordinates and size of the port in the target device configuration file according to the port status information, specifically includes:
[0025] Determine, according to the device type of the target device, a status information table corresponding to the device type, and obtain, from the status information table, status information corresponding to a port in the target device according to the port type and identification information of the target device;
[0026] According to the status information of the port, from the configuration file corresponding to the target device, a resource path of the port image corresponding to the status information is obtained, and according to the resource path of the port image, the port image corresponding to the status information is obtained;
[0027] According to the port name of the port, the relative coordinates and size of the port and the target device are determined from the configuration file corresponding to the target device, and based on the relative coordinates and size of the port, the port image corresponding to the status information of the port is displayed on the background image of the target device.
[0028] In one implementation of the present application, after displaying the port on the background image of the target device based on the relative coordinates and size of the port in the target device configuration file according to the status information of the port, the method further includes:
[0029] Determine whether the status information of the port is online through the port image displayed on the background image, and determine the port type corresponding to the port according to the port name corresponding to the port on the background image;
[0030] According to the port type corresponding to the port, the port rate corresponding to the port is determined, and the port type and port rate corresponding to the port are sent to the background image of the target device for display, so as to obtain the device panel corresponding to the target device.
[0031] In one implementation of the present application, the configuration file includes at least one or more of the following: a resource path of a background image, a port name, a resource path of a port image, and relative coordinates and sizes of ports.
[0032] On the other hand, an embodiment of the present application further provides a display device for a device panel, the device comprising:
[0033] at least one processor;
[0034] and, a memory communicatively coupled to the at least one processor;
[0035] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a device panel display method as described above.
[0036] On the other hand, an embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0037] A method for displaying a device panel as described above.
[0038] The present application provides a method, device and medium for displaying a device panel, which at least have the following beneficial effects:
[0039] The device panel corresponding to the target device is obtained through the device type of the target device, and is used as the background image of the target device, so that the device panel can be displayed on the basis of the background image; the configuration file corresponding to the target device is obtained and named according to the device type of the target device, so that the configuration file of the target device can be determined according to the device type in the future; the port name of each port is obtained from the configuration file corresponding to the target device, and the port type is determined whether it is an optical port type or an electrical port type according to the port name; the status information of each port in the target device is obtained, and the port picture showing whether the port is online can be intuitively displayed on the background image according to the port status information and the relative coordinates and size of the port, thereby realizing the visual configuration of the device panel, enabling users to intuitively obtain device data, increasing data readability, improving user experience, improving the resource management capability of the device, saving maintenance time, and improving maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0041] Figure 1 A schematic diagram of a flow chart of a device panel display method provided in an embodiment of the present application;
[0042] Figure 2 A schematic diagram of the internal structure of a display device for a device panel provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0044] The embodiment of the present application provides a method, device and medium for displaying a device panel. The device panel corresponding to the target device is obtained through the device type of the target device, and the device panel is used as the background image of the target device, so that the device panel can be displayed on the basis of the background image; the configuration file corresponding to the target device is obtained, and the configuration file corresponding to the target device is named according to the device type of the target device, so as to determine the configuration file of the target device according to the device type in the future; the port name of each port is obtained from the configuration file corresponding to the target device, and the port type is determined to be an optical port type or an electrical port type according to the port name; the status information of each port in the target device is obtained, and the port picture showing whether the port is online can be intuitively displayed on the background image according to the status information of the port and the relative coordinates and size of the port. The technical problem that the online status, port name and port type of the port cannot be displayed by manually editing the device panel in the prior art is solved.
[0045] Figure 1 The following is a flow chart of a method for displaying a device panel provided in an embodiment of the present application. Figure 1 As shown, a device panel display method provided in an embodiment of the present application mainly includes the following steps:
[0046] Step 101: determine the device type corresponding to each device, and obtain the device panel corresponding to the device type of the target device according to a preset method, so as to use the corresponding device panel as the background image of the target device.
[0047] In a gateway or controller, there are often multiple types of network devices from multiple manufacturers, so it is necessary to manage multiple types of network devices from multiple manufacturers in a unified manner. Since different types of devices correspond to different device compositions, when managing multiple devices in a gateway or controller in a unified manner, it is necessary to manage the devices separately according to their device types.
[0048] The server first determines the device type corresponding to each device in the gateway or controller, and then obtains the device panel corresponding to the device type of the target device in a preset manner according to the device type corresponding to the target device, and then uses the obtained device panel as the background image of the device type corresponding to the target device, so as to facilitate the subsequent addition of other data information of the device to the background image.
[0049] Specifically, the server determines a device image corresponding to the device from multiple device images in the gateway or controller, and then inputs the device image corresponding to the device into a pre-trained type recognition model to output the device type of the device corresponding to the device image, and then determines a panel acquisition method corresponding to the device type from a preset method based on the device type corresponding to the device, and acquires the device panel corresponding to the device type of the target device from the gateway or controller based on the panel acquisition method corresponding to the target device, thereby using the device panel corresponding to the device type of the target device as the background image corresponding to the target device.
[0050] In one embodiment of the present application, before the server inputs the device image into a pre-trained type recognition model to output the device type of the device corresponding to the device image, the server inputs the device image of a predetermined device type into a convolutional neural network for training, and obtains multiple attribute features of the device from the device image through the convolutional layer, pooling layer and fully connected layer in the convolutional neural network, and then outputs the device type corresponding to the device image based on the multiple attribute features of the device, and completes the training of the type recognition model when the device type output by the convolutional neural network is the same as the device type predetermined by the device image.
[0051] Step 102: configure a corresponding configuration file for each device, and name the configuration files corresponding to the devices according to the device types corresponding to the devices.
[0052] By configuring corresponding configuration files for each device, the server can display the data information of the target device in the background image of the target device according to the specific configuration information of the target device in the configuration file. The server names the configuration files corresponding to each device according to the device type corresponding to each device, so that users can find the configuration files corresponding to each device according to the device type that reads the configuration file, saving the time of obtaining the configuration files corresponding to the device, improving the execution efficiency of the system, and thus improving the user experience.
[0053] It should be noted that the configuration file in the embodiment of the present application includes at least one or more of the following: the resource path of the background image, the port name, the resource path of the port image, and the relative coordinates and size of the port. The server can obtain the port name of the target device and the resource path of the port image from the configuration file, and then obtain the port image corresponding to the port in the target device according to the resource path of the port image. In addition, other contents of the corresponding device can also be configured in the configuration file, for example: the port number corresponding to each port in the device and other contents, and the contents in the configuration file corresponding to the device can be configured according to actual needs, and this application does not make specific restrictions on this.
[0054] In one embodiment of the present application, after configuring the corresponding configuration files for each device, the server obtains the trademark corresponding to the target device from the device image corresponding to the target device, and obtains the port number corresponding to each port in the target device from the configuration file corresponding to the target device, thereby adding the trademark corresponding to the target device to the background image corresponding to the target device, and then determines each port in the target device according to the port number corresponding to each port in the target device, and determines the relative coordinates between each port and the target device, thereby adding the relative coordinates of the port to the configuration file corresponding to the target device.
[0055] Step 103: read a correspondingly named configuration file according to the device type of the target device to obtain a port name corresponding to each port in the configuration file of the target device, and determine a port type corresponding to the port according to the port name corresponding to the port.
[0056] The server finds the configuration file named corresponding to the device type of the target device from the configuration files corresponding to multiple devices according to the device type corresponding to the target device, and obtains the port name corresponding to each port from the configuration file corresponding to the target device. Then, according to the port name corresponding to the port, the server can determine the port type corresponding to the current port name, so that subsequent users can intuitively obtain the type of each port in the device.
[0057] Specifically, the server obtains the configuration file corresponding to the device type of the target device from the configuration file library according to the device type of the target device, and then obtains multiple ports corresponding to the identification information of the target device from the configuration file according to the identification information of the target device, and then obtains the port name corresponding to each port from the configuration file according to the multiple ports corresponding to the obtained identification information, and queries each port name in the port type table according to the port name corresponding to the port. When the port name corresponding to the port matches the port name in the port type table, the server determines the port type corresponding to the port according to the port type of the matching port name in the port type table.
[0058] Step 104: Acquire status information of each port in the target device, and display the port on the background image of the target device according to the status information of the port based on the relative coordinates and size of the port in the target device configuration file.
[0059] The server obtains the status information corresponding to the port in the target device according to the port type corresponding to the port and at a preset time through the status acquisition device set in the target device, and then displays the port on the background map of the target device based on the relative coordinates and size of the port in the configuration file according to the status information of the port. It can display whether the device port is online in real time and intuitively, and enable users to intuitively distinguish between various ports and obtain the port type corresponding to each port in time.
[0060] It should be noted that the state information of the port in the embodiment of the present application includes two states: online state and offline state. The present application uses a highlighted image to indicate that the port of the device is online, and a dimmed image to indicate that the port of the device is offline.
[0061] Specifically, the server determines a status information table corresponding to the device type based on the device type of the target device, and obtains the status information corresponding to the port of the target device from the status information table based on the port type corresponding to the port and the identification information corresponding to the target device. Then, based on the status information of the port of the target device, the server obtains the resource path of the port image corresponding to the status information from the configuration file corresponding to the target device, and obtains the port image corresponding to the status information based on the resource path of the port image.
[0062] The server determines the relative coordinates and size of the port and the target device from the configuration file corresponding to the target device according to the port name of the port, and then displays the port image corresponding to the port status information on the background image of the target device based on the relative coordinates and size of the port, thereby realizing the automatic display of the device panel, saving human resources, avoiding operational errors during manual operation, realizing the visual configuration of the device panel, and improving work efficiency.
[0063] In one embodiment of the present application, after the server displays the port on the background image of the target device based on the relative coordinates and size of the port in the target device configuration file according to the port status information, the server determines whether the status information of the port is online through the port image displayed on the background image, and then determines the port type corresponding to the port according to the port name corresponding to the port on the background image, and then determines the port rate corresponding to the port according to the port type corresponding to the port, and sends the port type and port rate corresponding to the port to the background image of the target device for display, so that the device panel corresponding to the target device can be obtained.
[0064] The above is an embodiment of the method proposed in this application. Based on the same inventive concept, the embodiment of this application also provides a display device for a device panel, whose structure is as follows: Figure 2 shown.
[0065] Figure 2 This is a schematic diagram of the internal structure of a display device for a device panel provided in an embodiment of the present application. Figure 2 As shown, the device includes:
[0066] at least one processor;
[0067] and, a memory communicatively coupled to the at least one processor;
[0068] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the at least one processor to:
[0069] Determine the device type corresponding to each device, and obtain the device panel corresponding to the device type of the target device according to a preset method, so as to use the corresponding device panel as the background image of the target device;
[0070] Determine the configuration file corresponding to the target device, and name the configuration file corresponding to the target device according to the device type corresponding to the target device;
[0071] Reading a correspondingly named configuration file according to the device type of the target device to obtain a port name corresponding to each port in the configuration file of the target device, and determining a port type corresponding to the port according to the port name corresponding to the port; wherein the port type includes an optical port type and an electrical port type;
[0072] The status information of the port in the target device is obtained according to the port type, and the port is displayed on the background image of the target device based on the relative coordinates and size of the port in the target device configuration file according to the port status information; wherein the port status information includes online status and offline status.
[0073] The embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0074] Determine the device type corresponding to each device, and obtain the device panel corresponding to the device type of the target device according to a preset method, so as to use the corresponding device panel as the background image of the target device;
[0075] Determine the configuration file corresponding to the target device, and name the configuration file corresponding to the target device according to the device type corresponding to the target device;
[0076] Reading a correspondingly named configuration file according to the device type of the target device to obtain a port name corresponding to each port in the configuration file of the target device, and determining a port type corresponding to the port according to the port name corresponding to the port; wherein the port type includes an optical port type and an electrical port type;
[0077] The status information of the port in the target device is obtained according to the port type, and the port is displayed on the background image of the target device based on the relative coordinates and size of the port in the target device configuration file according to the port status information; wherein the port status information includes online status and offline status.
[0078] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0079] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0080] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0081] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0082] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0083] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0084] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0085] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0086] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0087] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0088] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for displaying a device panel, characterized in that: The method comprises: Determine the device type corresponding to each device, and obtain the device panel corresponding to the device type of the target device according to a preset method, so as to use the corresponding device panel as the background image of the target device; Configuring a corresponding configuration file for each of the devices respectively, and naming the configuration files corresponding to the devices respectively according to the device types corresponding to the devices; Reading a correspondingly named configuration file according to the device type of the target device to obtain a port name corresponding to each port in the configuration file of the target device, and determining a port type corresponding to the port according to the port name corresponding to the port; wherein the port type includes an optical port type and an electrical port type; Acquire the status information of the port in the target device according to the port type, and display the port on the background image of the target device according to the relative coordinates and size of the port in the target device configuration file according to the port status information; wherein the port status information includes an online state and an offline state; The determining of the device type corresponding to each device and obtaining the device panel corresponding to the device type of the target device according to a preset method, so as to use the corresponding device panel as the background image of the target device, specifically includes: Obtaining a device image corresponding to each device, and inputting the device image into a pre-trained type recognition model to output the device type of the device corresponding to the device image; According to the device type corresponding to the target device, determine the panel acquisition method corresponding to the device type from a preset method, and obtain the device panel corresponding to the device type of the target device from a gateway or a controller according to the corresponding panel acquisition method; Using the device panel corresponding to the target device as the background image of the target device; Before inputting the device image into a pre-trained type recognition model to output the device type of the device corresponding to the device image, the method further includes: Inputting a device image of a predetermined device type into a convolutional neural network for training, and obtaining multiple attribute features of the device from the device image through a convolutional layer, a pooling layer, and a fully connected layer of the convolutional neural network; Outputting a device type corresponding to the device image according to a plurality of attribute features of the device, and completing the training of the type recognition model when the device type output by the convolutional neural network is the same as the device type predetermined by the device image; The step of reading a correspondingly named configuration file according to the device type of the target device to obtain a port name corresponding to each port in the configuration file of the target device, and determining a port type corresponding to the port according to the port name corresponding to the port, specifically includes: According to the device type of the target device, a configuration file named corresponding to the device type is obtained from a configuration file library, and according to the identification information of the target device, a plurality of ports corresponding to the identification information are obtained from the configuration file; According to the multiple ports corresponding to the obtained identification information, respectively obtain the port name corresponding to each of the ports from the configuration file, and query each port name in the port type table according to the port name corresponding to the port; When the port name corresponding to the port matches the port name in the port type table, determining the port type corresponding to the port according to the port type of the matching port name in the port type table; The acquiring, according to the port type, the status information of the port in the target device, and displaying, according to the port status information and based on the relative coordinates and sizes of the ports in the target device configuration file, the ports corresponding to the port status information on the background image of the target device, specifically includes: Determine, according to the device type of the target device, a status information table corresponding to the device type, and obtain, from the status information table, status information corresponding to a port in the target device according to the port type and identification information of the target device; According to the status information of the port, from the configuration file corresponding to the target device, a resource path of the port image corresponding to the status information is obtained, and according to the resource path of the port image, the port image corresponding to the status information is obtained; According to the port name of the port, the relative coordinates and size of the port and the target device are determined from the configuration file corresponding to the target device, and based on the relative coordinates and size of the port, the port image corresponding to the status information of the port is displayed on the background image of the target device.
2. A device panel display method according to claim 1, characterized in that: After configuring the corresponding configuration files for each of the devices, the method further includes: Acquire a trademark corresponding to the target device and a port number corresponding to each port in the target device, so as to add the trademark corresponding to the target device to a background image corresponding to the target device; According to the port numbers corresponding to the ports in the target device, the ports corresponding to the port numbers are determined respectively, and the relative coordinates between the ports and the target device are obtained, so as to add the relative coordinates of the ports to the configuration file corresponding to the target device.
3. A method for displaying a device panel according to claim 1, characterized in that: After displaying the port on the background image of the target device based on the relative coordinates and size of the port in the target device configuration file according to the status information of the port, the method further includes: Determine whether the status information of the port is online through the port image displayed on the background image, and determine the port type corresponding to the port according to the port name corresponding to the port on the background image; According to the port type corresponding to the port, the port rate corresponding to the port is determined, and the port type and port rate corresponding to the port are sent to the background image of the target device for display, so as to obtain the device panel corresponding to the target device.
4. A method for displaying a device panel according to claim 1, characterized in that: The configuration file includes at least one or more of the following: a resource path of a background image, a port name, a resource path of a port image, and relative coordinates and size of the port.
5. A display device for a device panel, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; Wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a device panel display method as described in any one of claims 1-4.
6. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: A method for displaying a device panel as described in any one of claims 1 to 4.
